/* ===================================
   의정부 힐링치유상담센터 - 메인 스타일
=================================== */

@import url('https://fonts.googleapis.com/css2?family=Nanum+Myeongjo:wght@400;700;800&family=Noto+Sans+KR:wght@300;400;500;700&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --primary: #7a9e7e;        /* 세이지 그린 */
    --primary-light: #a8c5a4;
    --primary-dark: #4f7a55;
    --accent: #c8957a;         /* 따뜻한 테라코타 */
    --accent-light: #e8c4b0;
    --warm-bg: #fdf8f3;        /* 따뜻한 크림 배경 */
    --warm-bg2: #f5ece3;
    --text-dark: #3a3028;
    --text-mid: #6b5b4e;
    --text-light: #9c8c7e;
    --white: #ffffff;
    --shadow: 0 4px 24px rgba(90,60,40,0.08);
    --radius: 16px;
    --font-serif: 'Nanum Myeongjo', serif;
    --font-sans: 'Noto Sans KR', sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-sans);
    background: var(--warm-bg);
    color: var(--text-dark);
    line-height: 1.7;
    font-size: 16px;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

/* ===========================
   HEADER
=========================== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(200,180,160,0.2);
    box-shadow: 0 2px 20px rgba(90,60,40,0.06);
    transition: all 0.3s ease;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.logo-name {
    font-family: var(--font-serif);
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.logo-sub {
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 0.5px;
}

.gnb ul {
    display: flex;
    gap: 36px;
    align-items: center;
}

.gnb a {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--text-mid);
    padding: 6px 0;
    position: relative;
    transition: color 0.3s;
}

.gnb a::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s;
}

.gnb a:hover, .gnb a.active {
    color: var(--primary-dark);
}

.gnb a:hover::after, .gnb a.active::after {
    transform: scaleX(1);
}

.header-cta {
    background: var(--primary);
    color: white !important;
    padding: 10px 22px !important;
    border-radius: 50px;
    font-size: 13.5px !important;
    transition: background 0.3s !important;
}

.header-cta::after { display: none !important; }
.header-cta:hover { background: var(--primary-dark) !important; color: white !important; }

/* ===========================
   HERO
=========================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    padding-top: 72px;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0ede8 0%, #e8f0e9 40%, #f5ebe0 100%);
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(168,197,164,0.25) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200,149,122,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 32px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(122,158,126,0.12);
    color: var(--primary-dark);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    width: fit-content;
}

.hero-badge span { font-size: 16px; }

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.35;
}

.hero-title em {
    font-style: normal;
    color: var(--primary-dark);
}

.hero-desc {
    font-size: 16px;
    color: var(--text-mid);
    line-height: 1.9;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
    font-family: var(--font-sans);
}

.btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(79,122,85,0.3); }

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--primary-dark);
    padding: 14px 28px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid var(--primary-light);
    transition: all 0.3s;
    font-family: var(--font-sans);
}

.btn-outline:hover { background: var(--primary); color: white; border-color: var(--primary); }

.hero-photo {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-photo-frame {
    width: 420px;
    height: 480px;
    border-radius: 200px 200px 160px 160px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(90,60,40,0.15);
}

.hero-photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.hero-float-card {
    position: absolute;
    background: white;
    border-radius: 16px;
    padding: 16px 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 12px;
}

.hero-float-card.card1 {
    bottom: 60px;
    left: -30px;
}

.hero-float-card.card2 {
    top: 60px;
    right: -30px;
}

.float-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}

.float-icon.green { background: rgba(122,158,126,0.15); }
.float-icon.warm { background: rgba(200,149,122,0.15); }

.float-text strong {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--text-dark);
}

.float-text span {
    font-size: 12px;
    color: var(--text-light);
}

/* ===========================
   SECTION COMMON
=========================== */
section { padding: 96px 0; }

.section-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 15px;
    color: var(--text-mid);
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.8;
}

/* ===========================
   ABOUT / DIRECTOR
=========================== */
.about-section { background: var(--white); }

.about-grid {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 60px;
    align-items: start;
}

.about-photo-wrap {
    position: relative;
}

.about-photo-bg {
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: linear-gradient(135deg, rgba(122,158,126,0.12), rgba(200,149,122,0.08));
    border-radius: var(--radius);
    z-index: 0;
}

.about-photo {
    position: relative;
    z-index: 1;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #f0ede8;
}

.about-photo img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: var(--radius);
}

.about-name-tag {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(50,40,30,0.85) 0%, transparent 100%);
    padding: 40px 24px 20px;
    z-index: 2;
}

.about-name-tag h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: white;
    font-weight: 700;
}

.about-name-tag span {
    font-size: 13px;
    color: rgba(255,255,255,0.75);
}

.about-content {
    padding-top: 20px;
}

.about-quote {
    font-family: var(--font-serif);
    font-size: 22px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.6;
    margin-bottom: 32px;
    padding-left: 20px;
    border-left: 4px solid var(--primary);
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-text p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.95;
}

.about-text p strong {
    color: var(--text-dark);
    font-weight: 600;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
}

.about-tag {
    background: var(--warm-bg);
    border: 1px solid var(--accent-light);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

/* ===========================
   SERVICES
=========================== */
.services-section { background: var(--warm-bg); }

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.service-card {
    background: white;
    border-radius: var(--radius);
    padding: 36px 28px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-light), var(--accent-light));
    transform: scaleX(0);
    transition: transform 0.3s;
}

.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(90,60,40,0.12); }
.service-card:hover::before { transform: scaleX(1); }

.service-num {
    font-family: var(--font-serif);
    font-size: 42px;
    font-weight: 800;
    color: rgba(122,158,126,0.15);
    line-height: 1;
    margin-bottom: 16px;
}

.service-icon {
    font-size: 36px;
    margin-bottom: 16px;
}

.service-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 12px;
    line-height: 1.4;
}

.service-card p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.75;
}

/* ===========================
   SYMPTOM TAGS
=========================== */
.symptom-section { background: white; padding: 60px 0; }

.symptom-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
}

.symptom-header {
    text-align: center;
    margin-bottom: 36px;
}

.symptom-header h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 8px;
}

.symptom-header p {
    color: var(--text-light);
    font-size: 14px;
}

.symptom-tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.symptom-tag {
    background: var(--warm-bg);
    border: 1.5px solid var(--accent-light);
    color: var(--accent);
    padding: 10px 22px;
    border-radius: 50px;
    font-size: 14.5px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.symptom-tag:hover,
.symptom-tag.active {
    background: var(--accent);
    color: white;
    border-color: var(--accent);
    transform: translateY(-2px);
}

/* ===========================
   GALLERY
=========================== */
.gallery-section { background: var(--warm-bg2); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 260px 220px 220px;
    gap: 12px;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img { transform: scale(1.06); }

.gallery-item.main {
    grid-column: 1 / 3;
    grid-row: 1 / 2;
}

.gallery-item.tall {
    grid-row: 1 / 3;
    grid-column: 4;
}

/* ===========================
   HOURS INFO
=========================== */
.hours-section { background: white; }

.hours-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.hours-card {
    background: var(--warm-bg);
    border-radius: var(--radius);
    padding: 40px;
}

.hours-card h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.time-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.time-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    background: white;
    border-radius: 10px;
    font-size: 14.5px;
}

.time-item .day {
    font-weight: 600;
    color: var(--text-dark);
}

.time-item .time {
    color: var(--primary-dark);
    font-weight: 700;
}

.time-item .closed {
    color: #e57373;
    font-weight: 600;
}

.time-note {
    margin-top: 16px;
    padding: 14px 20px;
    background: rgba(122,158,126,0.08);
    border-left: 3px solid var(--primary);
    border-radius: 0 8px 8px 0;
    font-size: 13px;
    color: var(--primary-dark);
}

.location-card {
    background: var(--warm-bg);
    border-radius: var(--radius);
    padding: 40px;
}

.location-card h4 {
    font-family: var(--font-serif);
    font-size: 22px;
    color: var(--text-dark);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.location-info {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.location-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-size: 14.5px;
    color: var(--text-mid);
}

.location-item .label {
    font-weight: 600;
    color: var(--text-dark);
    min-width: 60px;
    flex-shrink: 0;
}

/* ===========================
   MAP
=========================== */
.map-wrap {
    margin-top: 40px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid rgba(200,180,160,0.2);
}

.map-btn-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.map-btn.naver {
    background: #03C75A;
    color: white;
}

.map-btn.naver:hover { background: #02a84b; }

.map-btn.google {
    background: #f5f5f5;
    color: #444;
    border: 1px solid #ddd;
}

.map-btn.google:hover { background: #e8e8e8; }

.map-wrap iframe {
    display: block;
    width: 100%;
    height: 420px;
}

/* ===========================
   SELF TEST
=========================== */
.test-section { background: var(--warm-bg); }

.test-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.test-tab-btn {
    padding: 12px 28px;
    border: 2px solid var(--primary-light);
    background: white;
    color: var(--primary-dark);
    border-radius: 50px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: var(--font-sans);
}

.test-tab-btn:hover, .test-tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 6px 20px rgba(79,122,85,0.25);
}

.test-content {
    display: none;
    background: white;
    border-radius: var(--radius);
    padding: 48px;
    box-shadow: var(--shadow);
}

.test-content.active { display: block; }

.test-content h3 {
    font-family: var(--font-serif);
    font-size: 24px;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.test-content .test-desc {
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--warm-bg2);
}

.test-table-wrap {
    overflow-x: auto;
    margin-bottom: 28px;
}

.test-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.test-table th {
    background: var(--warm-bg);
    color: var(--text-mid);
    font-weight: 600;
    padding: 12px 16px;
    text-align: center;
    border-bottom: 2px solid var(--warm-bg2);
    white-space: nowrap;
    font-size: 13px;
}

.test-table th:first-child { text-align: left; min-width: 280px; }

.test-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--warm-bg);
    text-align: center;
    vertical-align: middle;
}

.test-table td:first-child {
    text-align: left;
    color: var(--text-dark);
    line-height: 1.6;
}

.test-table tr:hover td { background: rgba(122,158,126,0.04); }

.test-table input[type="radio"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
}

.btn-test-result {
    display: block;
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
    background: var(--primary);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.3s;
}

.btn-test-result:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(79,122,85,0.3);
}

.test-result-box {
    display: none;
    margin-top: 24px;
    padding: 24px 28px;
    border-radius: 12px;
    border: 2px solid;
    background: rgba(255,255,255,0.5);
}

.test-result-box h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.test-result-box p {
    font-size: 15px;
    line-height: 1.7;
}

/* ===========================
   INQUIRY / FORM
=========================== */
.inquiry-section { background: white; }

.inquiry-wrap {
    max-width: 700px;
    margin: 0 auto;
}

.inquiry-intro {
    text-align: center;
    margin-bottom: 48px;
}

.inquiry-intro p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.8;
}

.inquiry-form {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
}

.form-label span {
    color: var(--accent);
    margin-left: 2px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 1.5px solid rgba(200,180,160,0.5);
    border-radius: 10px;
    font-size: 14.5px;
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--warm-bg);
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(122,158,126,0.12);
    background: white;
}

.form-control::placeholder { color: var(--text-light); }

textarea.form-control {
    height: 140px;
    resize: vertical;
}

.form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    color: var(--text-mid);
    line-height: 1.6;
}

.form-privacy input[type="checkbox"] {
    margin-top: 3px;
    accent-color: var(--primary);
    flex-shrink: 0;
}

.btn-submit {
    display: block;
    width: 100%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    font-family: var(--font-sans);
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(79,122,85,0.3);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(79,122,85,0.4);
}

/* ===========================
   FOOTER
=========================== */
.footer {
    background: #2c2420;
    color: rgba(255,255,255,0.7);
    padding: 48px 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 40px;
    align-items: center;
}

.footer-name {
    font-family: var(--font-serif);
    font-size: 18px;
    color: white;
    margin-bottom: 12px;
}

.footer-info p {
    font-size: 13.5px;
    line-height: 2;
}

.footer-copy {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    margin-top: 12px;
}

/* ===========================
   MODAL
=========================== */
.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(30,20,15,0.55);
    backdrop-filter: blur(4px);
    z-index: 1100;
}
.modal-overlay.active { display: block; }

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -48%) scale(0.96);
    z-index: 1200;
    background: white;
    border-radius: 24px;
    padding: 48px 44px 40px;
    width: min(600px, 92vw);
    max-height: 85vh;
    overflow-y: auto;
    box-shadow: 0 24px 80px rgba(30,20,10,0.2);
    transition: transform 0.25s ease, opacity 0.25s ease;
    opacity: 0;
}

.modal.active {
    display: block;
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
    animation: modalIn 0.28s ease forwards;
}

@keyframes modalIn {
    from { transform: translate(-50%, -46%) scale(0.95); opacity: 0; }
    to   { transform: translate(-50%, -50%) scale(1);    opacity: 1; }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 18px;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--warm-bg);
    border-radius: 50%;
    font-size: 15px;
    cursor: pointer;
    color: var(--text-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    font-family: var(--font-sans);
}
.modal-close:hover { background: var(--warm-bg2); }

.modal-icon {
    font-size: 44px;
    margin-bottom: 12px;
}

.modal-title {
    font-family: var(--font-serif);
    font-size: 26px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-bottom: 18px;
    border-bottom: 2px solid var(--warm-bg2);
}

.modal-body p {
    font-size: 15px;
    color: var(--text-mid);
    line-height: 1.9;
    margin-bottom: 8px;
}

.modal-body strong { color: var(--text-dark); }

.modal-sub {
    font-size: 17px;
    font-weight: 700;
    color: var(--primary-dark);
    margin: 20px 0 10px;
}

.modal-callout {
    background: rgba(200,149,122,0.08);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
    padding: 14px 18px;
    font-size: 14px;
    color: var(--text-mid);
    line-height: 1.8;
    margin-top: 16px;
}

.modal-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.modal-list-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 14.5px;
    color: var(--text-mid);
    line-height: 1.6;
}

.mli-dot {
    width: 7px;
    height: 7px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
    margin-top: 7px;
}

.modal-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.modal-tag {
    background: var(--warm-bg);
    border: 1px solid var(--accent-light);
    color: var(--accent);
    padding: 5px 14px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

.modal-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 12px;
    font-size: 14px;
}

.modal-table th {
    background: var(--warm-bg);
    color: var(--text-mid);
    font-weight: 600;
    padding: 10px 14px;
    text-align: left;
    border-bottom: 2px solid var(--warm-bg2);
}

.modal-table td {
    padding: 10px 14px;
    border-bottom: 1px solid var(--warm-bg);
    color: var(--text-dark);
}

.modal-table tr:last-child td { border-bottom: none; }

.modal-cta {
    display: block;
    width: 100%;
    margin-top: 32px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    padding: 16px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(79,122,85,0.3);
}

.modal-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(79,122,85,0.4);
}

/* ===========================
   SCROLL TOP BUTTON
=========================== */
.scroll-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(79,122,85,0.35);
    transition: all 0.3s;
    opacity: 0;
    pointer-events: none;
    z-index: 999;
    font-family: var(--font-sans);
}

.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--primary-dark); transform: translateY(-3px); }

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
    .hero-content { align-items: center; }
    .hero-desc { max-width: 560px; }
    .hero-photo { display: none; }
    .about-grid { grid-template-columns: 300px 1fr; gap: 48px; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .gallery-item.main, .gallery-item.tall { grid-column: auto; grid-row: auto; }
    .hours-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .header-inner { padding: 0 20px; }
    .gnb { display: none; }
    section { padding: 64px 0; }
    .section-inner { padding: 0 20px; }
    .about-grid { grid-template-columns: 1fr; }
    .about-photo-wrap { max-width: 300px; margin: 0 auto; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .service-card { padding: 24px 20px; }
    .gallery-grid { grid-template-columns: 1fr 1fr; }
    .test-content { padding: 28px 20px; }
    .form-row { grid-template-columns: 1fr; }
    .footer-inner { grid-template-columns: 1fr; }
    .hero-inner { padding: 60px 20px; }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .gallery-grid { grid-template-columns: 1fr; }
    .test-tabs { gap: 6px; }
    .test-tab-btn { padding: 10px 18px; font-size: 14px; }
}

/* ===========================
   ANIMATION
=========================== */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-up {
    opacity: 0;
    animation: fadeUp 0.7s ease forwards;
}

.fade-up.delay-1 { animation-delay: 0.1s; }
.fade-up.delay-2 { animation-delay: 0.2s; }
.fade-up.delay-3 { animation-delay: 0.3s; }
.fade-up.delay-4 { animation-delay: 0.4s; }
