/* ═══════════════════════════════════════════════════════════
   CORINA POPA — NAIL TRAINER
   Near-Black / Burgundy / Warm White — editorial, asymmetric
═══════════════════════════════════════════════════════════ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
.hidden { display: none !important; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: 'DM Sans', system-ui, sans-serif; font-size: 16px; line-height: 1.6; color: var(--ink); background: var(--paper); overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

:root {
    --ink:        #1A1412;
    --near-black: #14100E;
    --paper:      #FBF8F6;
    --paper-2:    #F2ECE8;
    --paper-3:    #E4D8D2;
    --wine:       #5C1A22;
    --wine-light: #8C3D46;
    --wine-pale:  #E7D3D3;
    --text-mid:   #5A4A45;
    --text-light: #9A8A85;
    --ff-serif: 'Playfair Display', Georgia, serif;
    --ff-sans:  'DM Sans', system-ui, sans-serif;
    --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --nav-h: 76px;
    --max-w: 1360px;
}

/* ── UTILITIES ─────────────────────────────────────────────── */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 56px; }

.section-label {
    display: inline-block; font-size: 10px; font-weight: 600;
    letter-spacing: 4px; text-transform: uppercase; color: var(--wine); margin-bottom: 16px;
}
.section-label.light { color: var(--wine-light); }

.section-heading {
    font-family: var(--ff-serif); font-size: clamp(36px, 4.2vw, 58px);
    font-weight: 500; line-height: 1.1; letter-spacing: -0.02em;
    color: var(--ink); margin-bottom: 28px;
}
.section-heading.light { color: var(--paper); }

/* ── BUTTONS ───────────────────────────────────────────────── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 15px 32px; font-size: 11px; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    transition: all 0.3s var(--ease); white-space: nowrap;
}
.btn-wine { background: var(--wine); color: var(--paper); border: 1px solid var(--wine); }
.btn-wine:hover { background: #430F16; border-color: #430F16; transform: translateY(-2px); box-shadow: 0 10px 28px rgba(92,26,34,0.35); }
.btn-ghost-light { background: transparent; color: var(--paper); border: 1px solid rgba(255,255,255,0.4); }
.btn-ghost-light:hover { border-color: var(--paper); background: rgba(255,255,255,0.08); }
.btn-ghost-dark { background: transparent; color: var(--ink); border: 1px solid var(--ink); }
.btn-ghost-dark:hover { border-color: var(--wine); color: var(--wine); background: rgba(92,26,34,0.06); }
.btn-outline-wine { background: transparent; color: var(--wine); border: 1px solid var(--wine); }
.btn-outline-wine:hover { background: var(--wine); color: var(--paper); }
.btn-full { width: 100%; justify-content: center; }

/* ── SCROLL REVEAL ─────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity 0.75s var(--ease), transform 0.75s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ══════════════════════════════════════════════════════════════
   NAVIGATION
══════════════════════════════════════════════════════════════ */
#navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 350;
    height: var(--nav-h);
    transition: background 0.4s, border-color 0.4s;
    border-bottom: 1px solid transparent;
}
#navbar.scrolled { background: rgba(251,248,246,0.96); backdrop-filter: blur(12px); border-bottom-color: var(--paper-3); }
#navbar.menu-open { background: var(--paper); border-bottom-color: var(--paper-3); }
#navbar.menu-open .hamburger span { background: var(--ink) !important; }
.page-has-dark-hero #navbar:not(.scrolled) .nav-logo-text { color: var(--paper); }
.page-has-dark-hero #navbar:not(.scrolled) .nav-links-left a,
.page-has-dark-hero #navbar:not(.scrolled) .nav-right a:not(.nav-pill) { color: var(--paper); }
.page-has-dark-hero #navbar:not(.scrolled) .hamburger span { background: var(--paper); }

.nav-inner {
    max-width: var(--max-w); margin: 0 auto; padding: 0 56px;
    height: 100%; display: flex; align-items: center; justify-content: space-between;
}
.nav-inner-split { display: flex; align-items: center; justify-content: space-between; }

.nav-links-left { display: flex; align-items: center; gap: 32px; }
.nav-right { display: flex; align-items: center; gap: 28px; }

.nav-links-left a, .nav-right a {
    font-size: 13px; font-weight: 500; letter-spacing: 0.3px; text-transform: none;
    color: var(--ink); position: relative; transition: color 0.2s, opacity 0.2s;
}
.nav-links-left a:hover, .nav-right a:hover { opacity: 0.7; }

.nav-pill {
    padding: 10px 26px !important; border-radius: 999px !important;
    background: var(--paper) !important; color: var(--near-black) !important;
    font-weight: 600 !important; transition: transform 0.25s, background 0.25s !important;
}
.nav-pill:hover { transform: translateY(-1px); opacity: 1 !important; background: var(--wine-light) !important; color: var(--paper) !important; }
#navbar.scrolled .nav-pill { background: var(--wine) !important; color: var(--paper) !important; }
#navbar.scrolled .nav-pill:hover { background: #430F16 !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; width: 28px; padding: 4px 0; }
.hamburger span { display: block; height: 1.5px; background: var(--ink); transition: all 0.3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-menu {
    position: fixed; inset: 0; width: 100%; height: 100vh;
    background: var(--paper); z-index: 300; padding: 88px 40px 40px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transform: translateY(-100%);
    transition: transform 0.4s var(--ease); box-shadow: 0 20px 60px rgba(20,16,14,0.15);
}
.mobile-menu.open { transform: translateY(0); }
.mobile-menu ul { margin-bottom: 0; display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 400px; }
.mobile-menu li { border-bottom: 1px solid var(--paper-3); width: 100%; text-align: center; }
.mob-link { display: block; padding: 18px 0; font-family: var(--ff-serif); font-size: 26px; font-weight: 400; color: var(--ink); transition: color 0.2s; }
.mob-link:hover { color: var(--wine); }
.mob-overlay { position: fixed; inset: 0; background: rgba(20,16,14,0.4); z-index: 250; opacity: 0; pointer-events: none; transition: opacity 0.4s; }
.mob-overlay.show { opacity: 1; pointer-events: all; }

/* ══════════════════════════════════════════════════════════════
   HERO — centered wordmark, photo emerging from warm gradient
══════════════════════════════════════════════════════════════ */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@keyframes photoRise { from { opacity: 0; transform: translate(-50%, 24px) scale(0.98); } to { opacity: 1; transform: translate(-50%, 0) scale(1); } }

.hero-cover {
    position: relative;
    height: 100vh;
    min-height: 680px;
    overflow: hidden;
    background: radial-gradient(ellipse 90% 70% at 50% 18%, #4a1c22 0%, #2a1614 45%, #14100e 85%);
}

.hcv-content {
    position: relative; z-index: 1;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    padding-top: calc(var(--nav-h) + 56px);
}
.hcv-eyebrow {
    font-size: 11px; font-weight: 600; letter-spacing: 5px; text-transform: uppercase;
    color: var(--wine-light); margin-bottom: 18px;
}
.hcv-name {
    font-family: 'Big Shoulders Display', var(--ff-sans), sans-serif;
    font-weight: 700; text-transform: uppercase;
    font-size: clamp(48px, 9vw, 130px);
    line-height: 0.9; letter-spacing: 1px;
    color: var(--paper);
}

.hcv-photo {
    position: absolute; z-index: 2;
    bottom: 0; left: 50%;
    width: min(38vw, 460px);
    height: 88%;
    object-fit: contain; object-position: 50% 100%;
    filter: drop-shadow(0 30px 60px rgba(0,0,0,0.5));
    animation: photoRise 1.1s 0.45s cubic-bezier(0.19,1,0.22,1) both;
}

.hcv-scroll {
    position: absolute; z-index: 3; bottom: 36px; left: 0; right: 0; margin: 0 auto;
    width: fit-content;
    display: flex; flex-direction: column; align-items: center; gap: 6px;
    font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
    color: rgba(251,248,246,0.75);
    text-shadow: 0 2px 12px rgba(0,0,0,0.5);
}
.hcv-chevron { font-size: 16px; animation: chevronBob 1.8s ease-in-out infinite; }
@keyframes chevronBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(5px); } }

.reveal-hero { opacity: 0; animation: fadeUp 0.9s cubic-bezier(0.19,1,0.22,1) both; }

/* ── CTA strip below hero ─────────────────────────────────── */
.hero-cta-bar { background: var(--paper-2); padding: 40px 0; border-bottom: 1px solid var(--paper-3); }
.hcb-inner {
    display: flex; align-items: center; justify-content: space-between;
    gap: 24px; flex-wrap: wrap;
}
.hcb-tagline {
    font-family: var(--ff-serif); font-style: italic; font-weight: 400;
    font-size: clamp(16px, 1.6vw, 20px); color: var(--ink);
    line-height: 1.5;
}
.hcb-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════════
   ABOUT — editorial, numbered rows instead of icon cards
══════════════════════════════════════════════════════════════ */
.about-ed { background: var(--paper); padding: 110px 0 0; }

.ae-wrap {
    display: grid; grid-template-columns: 40fr 60fr; gap: 80px;
    margin-bottom: 72px;
}
.ae-body-col p { font-size: 16px; color: var(--text-mid); line-height: 1.85; margin-bottom: 18px; }
.ae-invite { font-family: var(--ff-serif); font-style: italic; font-size: 19px !important; color: var(--ink) !important; }

.ae-list { border-top: 1px solid var(--paper-3); }
.ae-row {
    display: grid; grid-template-columns: 80px 320px 1fr;
    gap: 32px; align-items: baseline;
    padding: 36px 56px; max-width: var(--max-w); margin: 0 auto;
    border-bottom: 1px solid var(--paper-3);
    transition: background 0.3s;
}
.ae-row:hover { background: var(--paper-2); }
.ae-idx { font-family: var(--ff-serif); font-size: 15px; font-weight: 600; color: var(--wine); letter-spacing: 1px; }
.ae-row h3 { font-family: var(--ff-serif); font-size: 26px; font-weight: 500; color: var(--ink); }
.ae-row p { font-size: 14px; color: var(--text-light); line-height: 1.6; }

.ae-photo-strip {
    display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 4px;
    height: 380px;
}
.aeps-item { overflow: hidden; }
.aeps-item img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.aeps-tall { }

/* ══════════════════════════════════════════════════════════════
   COURSES — magazine rows
══════════════════════════════════════════════════════════════ */
.courses-mag { background: var(--near-black); padding: 110px 0; }
.cm-header { margin-bottom: 56px; }

.cm-row {
    display: grid; grid-template-columns: 60px 1fr 140px 40px;
    align-items: center; gap: 32px;
    padding: 40px 0; border-top: 1px solid rgba(251,248,246,0.1);
    transition: padding-left 0.3s var(--ease);
}
.cm-row:last-child { border-bottom: 1px solid rgba(251,248,246,0.1); }
.cm-row:hover { padding-left: 16px; }
.cm-row:hover .cm-arrow { transform: translateX(6px); color: var(--wine-light); }
.cm-row:hover .cm-thumb img { transform: scale(1.06); }

.cm-idx { font-family: var(--ff-serif); font-size: 16px; color: var(--wine-light); font-weight: 600; }
.cm-info { }
.cm-tag { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--wine-light); margin-bottom: 10px; display: block; }
.cm-info h3 { font-family: var(--ff-serif); font-size: clamp(28px, 3.2vw, 44px); font-weight: 500; color: var(--paper); margin-bottom: 10px; letter-spacing: -0.01em; }
.cm-info p { font-size: 14px; color: rgba(251,248,246,0.55); max-width: 480px; line-height: 1.6; }
.cm-thumb { width: 140px; height: 100px; overflow: hidden; }
.cm-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.cm-arrow { font-size: 22px; color: rgba(251,248,246,0.4); transition: transform 0.3s var(--ease), color 0.3s; }

/* ══════════════════════════════════════════════════════════════
   TESTIMONIAL — inline statement, no card
══════════════════════════════════════════════════════════════ */
.testi-inline { background: var(--wine-pale); padding: 100px 0; text-align: center; }
.ti-text {
    font-family: var(--ff-serif); font-style: italic; font-weight: 400;
    font-size: clamp(24px, 3vw, 38px); color: var(--ink);
    line-height: 1.4; max-width: 920px; margin: 0 auto 24px;
}
.ti-author { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--wine); }

/* ══════════════════════════════════════════════════════════════
   GALLERY — masonry
══════════════════════════════════════════════════════════════ */
.gallery-section { background: var(--paper); padding: 110px 0; }
.gal-header { margin-bottom: 48px; }

.gal-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 130px;
    gap: 10px;
    margin-bottom: 48px;
}
.gm-item { overflow: hidden; grid-row: span 2; }
.gm-tall { grid-row: span 3; }
.gm-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s var(--ease); }
.gm-item:hover img { transform: scale(1.06); }

.gal-cta { text-align: center; }

/* ══════════════════════════════════════════════════════════════
   REVIEWS HOME
══════════════════════════════════════════════════════════════ */
.reviews-home { background: var(--paper-2); padding: 110px 0; }
.rh-header { margin-bottom: 56px; }

.rh-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-bottom: 48px; }
.rh-card { padding: 0 32px; border-left: 1px solid var(--paper-3); display: flex; flex-direction: column; }
.rh-card:first-child { border-left: none; padding-left: 0; }
.rh-card p { font-family: var(--ff-serif); font-size: 16px; font-style: italic; color: #4A3A35; line-height: 1.75; flex: 1; margin-bottom: 20px; }
.rh-author { display: flex; align-items: center; gap: 12px; }
.rh-line { width: 24px; height: 1.5px; background: var(--wine); flex-shrink: 0; }
.rh-author span { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); }

.rh-more { text-align: center; }

/* ══════════════════════════════════════════════════════════════
   CONTACT
══════════════════════════════════════════════════════════════ */
.contact-section { background: var(--near-black); padding: 110px 0; }

.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }

.contact-info .section-heading { margin-bottom: 24px; }
.contact-desc { font-size: 16px; color: rgba(251,248,246,0.55); line-height: 1.8; margin-bottom: 40px; max-width: 380px; }

.contact-links { display: flex; flex-direction: column; gap: 12px; }
.clink {
    display: flex; align-items: center; gap: 14px;
    padding: 16px 20px; border: 1px solid rgba(251,248,246,0.1);
    background: rgba(251,248,246,0.03); color: rgba(251,248,246,0.8);
    font-size: 14px; transition: border-color 0.2s, background 0.2s;
}
.clink:hover { border-color: var(--wine-light); background: rgba(92,26,34,0.12); color: var(--wine-light); }
.clink svg { flex-shrink: 0; opacity: 0.7; }

.contact-form { background: rgba(251,248,246,0.03); border: 1px solid rgba(251,248,246,0.08); padding: 48px 40px; }

.form-row { margin-bottom: 22px; }
.form-row label { display: block; font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: rgba(251,248,246,0.4); margin-bottom: 8px; }
.form-row input,
.form-row textarea {
    width: 100%; background: rgba(251,248,246,0.04); border: 1px solid rgba(251,248,246,0.1);
    color: var(--paper); font-family: var(--ff-sans); font-size: 15px;
    padding: 13px 16px; outline: none; transition: border-color 0.25s;
}
.form-row input::placeholder,
.form-row textarea::placeholder { color: rgba(251,248,246,0.25); }
.form-row input:focus,
.form-row textarea:focus { border-color: var(--wine-light); }
.form-row textarea { resize: vertical; min-height: 110px; }

.form-msg { margin-top: 12px; font-size: 14px; text-align: center; padding: 12px; }
.form-msg.success { background: rgba(92,26,34,0.18); color: var(--wine-light); border: 1px solid rgba(140,61,70,0.4); }
.form-msg.error { background: rgba(192,80,60,0.1); color: #e08070; border: 1px solid rgba(192,80,60,0.3); }

/* ══════════════════════════════════════════════════════════════
   COURSES PAGE (cursuri.html)
══════════════════════════════════════════════════════════════ */
.page-hero { background: var(--near-black); padding: 140px 0 80px; border-bottom: 1px solid rgba(251,248,246,0.06); }
.page-hero .section-label { display: block; margin-bottom: 12px; }
.page-hero .section-heading { margin-bottom: 0; }

.courses-page { background: var(--paper); padding: 100px 0; }
.courses-grid { display: flex; flex-direction: column; gap: 80px; }

.course-card {
    background: var(--paper); border: 1px solid var(--paper-3);
    display: grid; grid-template-columns: 1fr 1fr; overflow: hidden;
}
.course-card:nth-child(even) .course-body { order: 2; }
.course-card:nth-child(even) .course-visual { order: 1; }

.course-body { padding: 56px 52px; display: flex; flex-direction: column; }
.course-num { font-family: var(--ff-serif); font-size: 13px; font-weight: 600; letter-spacing: 3px; color: var(--wine); margin-bottom: 8px; }
.course-tag { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--text-light); margin-bottom: 20px; display: block; }
.course-title { font-family: var(--ff-serif); font-size: clamp(34px, 3.4vw, 50px); font-weight: 500; color: var(--ink); line-height: 1; letter-spacing: -0.02em; margin-bottom: 12px; }
.course-subtitle { font-size: 15px; color: var(--text-mid); margin-bottom: 32px; line-height: 1.5; }

.price-block { background: var(--paper-2); border-left: 3px solid var(--wine); padding: 20px 24px; margin-bottom: 32px; }
.price-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--paper-3); }
.price-row:last-child { border-bottom: none; padding-bottom: 0; }
.price-row:first-child { padding-top: 0; }
.price-lbl { font-size: 11px; color: var(--text-light); letter-spacing: 0.5px; }
.price-val { font-family: var(--ff-serif); font-size: 22px; font-weight: 500; color: var(--wine); letter-spacing: -0.01em; }

.curriculum { flex: 1; margin-bottom: 32px; }
.curriculum h4 { font-size: 10px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--wine); margin-bottom: 16px; margin-top: 24px; }
.curriculum h4:first-child { margin-top: 0; }
.curriculum p { font-size: 15px; color: var(--text-mid); line-height: 1.75; margin-bottom: 12px; }
.curriculum ul { display: flex; flex-direction: column; gap: 8px; padding-left: 0; }
.curriculum li { font-size: 14px; color: var(--text-mid); line-height: 1.6; padding-left: 16px; position: relative; }
.curriculum li::before { content: '—'; position: absolute; left: 0; color: var(--wine); font-size: 12px; }

.course-booking { margin-top: auto; padding-top: 28px; border-top: 1px solid var(--paper-3); }
.booking-title { font-size: 11px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--wine); margin-bottom: 16px; }
.book-note { font-size: 12px; color: var(--text-light); margin-top: 12px; line-height: 1.5; }

.course-visual { position: relative; min-height: 480px; overflow: hidden; }
.course-imgs-grid { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; height: 100%; }
.course-imgs-grid img { width: 100%; height: 100%; object-fit: cover; }
.course-imgs-grid img:first-child { grid-row: 1/3; }

.avans-note { display: flex; align-items: flex-start; gap: 16px; padding: 24px 28px; background: var(--paper-2); border-left: 3px solid var(--wine); margin-top: 48px; }
.avans-icon { width: 28px; height: 28px; border-radius: 50%; border: 1.5px solid var(--wine); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 600; color: var(--wine); flex-shrink: 0; margin-top: 2px; }
.avans-note p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.avans-note strong { color: var(--ink); }

/* ══════════════════════════════════════════════════════════════
   REVIEWS PAGE
══════════════════════════════════════════════════════════════ */
.reviews-page { background: var(--paper-2); padding: 100px 0; }
.rev-all-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 48px; }

.rev-card { background: var(--paper); padding: 40px 32px 32px; border: 1px solid var(--paper-3); position: relative; display: flex; flex-direction: column; transition: transform 0.3s, box-shadow 0.3s; }
.rev-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(20,16,14,0.08); }
.rev-quote-mark { font-family: var(--ff-serif); font-size: 80px; line-height: 1; color: var(--wine); opacity: 0.18; position: absolute; top: 12px; left: 20px; pointer-events: none; }
.rev-text { font-family: var(--ff-serif); font-size: 16px; font-style: italic; color: #4A3A35; line-height: 1.8; flex: 1; margin-top: 36px; position: relative; z-index: 1; }
.rev-author { display: flex; align-items: center; gap: 12px; margin-top: 24px; }
.rev-line { width: 24px; height: 1.5px; background: var(--wine); flex-shrink: 0; }
.rev-author span { font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--text-light); }

/* ══════════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════════ */
.footer { background: var(--near-black); border-top: 1px solid rgba(251,248,246,0.06); padding: 44px 0 28px; }
.footer-bottom { text-align: center; }
.footer-bottom p { font-size: 12px; color: rgba(251,248,246,0.3); letter-spacing: 0.5px; }
.footer-legal { display: flex; align-items: center; justify-content: center; gap: 12px; margin-top: 10px; flex-wrap: wrap; }
.footer-legal a { font-size: 11px; color: rgba(251,248,246,0.3); letter-spacing: 0.5px; transition: color 0.2s; }
.footer-legal a:hover { color: var(--wine-light); }
.footer-legal span { color: rgba(251,248,246,0.15); font-size: 10px; }

/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES
══════════════════════════════════════════════════════════════ */
.legal-page { background: var(--paper); padding: 64px 0 120px; }
.legal-content { max-width: 780px; }
.legal-date { font-size: 12px; color: var(--text-light); letter-spacing: 1px; margin-bottom: 48px; }
.legal-content h2 { font-family: var(--ff-serif); font-size: 22px; font-weight: 500; color: var(--ink); margin: 40px 0 16px; }
.legal-content p { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 16px; }
.legal-content ul, .legal-content ol { padding-left: 24px; margin-bottom: 16px; }
.legal-content li { font-size: 15px; color: var(--text-mid); line-height: 1.8; margin-bottom: 6px; }
.legal-content a { color: var(--wine); text-decoration: underline; }

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .rev-all-grid { grid-template-columns: 1fr 1fr; }
    .course-card { grid-template-columns: 1fr; }
    .course-card:nth-child(even) .course-body { order: 1; }
    .course-card:nth-child(even) .course-visual { order: 2; }
    .course-visual { min-height: 320px; }
    .gal-masonry { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 960px) {
    .container, .nav-inner { padding: 0 32px; }
    .nav-links-left, .nav-right { display: none; }
    .nav-inner-split { justify-content: center; }
    .hamburger { display: flex; }

    .hcv-photo { width: min(70vw, 480px); }
    .hcb-inner { justify-content: center; text-align: center; }

    .ae-wrap { grid-template-columns: 1fr; gap: 40px; padding: 0 32px; }
    .ae-row { grid-template-columns: 50px 1fr; padding: 28px 32px; }
    .ae-row p { grid-column: 2; }
    .ae-photo-strip { height: 260px; }

    .cm-row { grid-template-columns: 40px 1fr 24px; }
    .cm-thumb { display: none; }

    .rh-grid { grid-template-columns: 1fr; gap: 32px; }
    .rh-card { border-left: none; padding-left: 0; padding-bottom: 24px; border-bottom: 1px solid var(--paper-3); }

    .contact-wrap { grid-template-columns: 1fr; gap: 56px; }
}

@media (max-width: 680px) {
    .container, .nav-inner { padding: 0 20px; }
    .hero-cover { min-height: 580px; }
    .hcv-content { padding-top: calc(var(--nav-h) + 24px); }
    .hcv-photo { width: min(82vw, 340px); height: 80%; bottom: 20%; }
    .hcv-name { font-size: clamp(38px, 12vw, 64px); }
    .hcb-inner { flex-direction: column; align-items: center; }

    .about-ed { padding: 80px 0 0; }
    .ae-wrap { padding: 0 20px; }
    .ae-row { padding: 24px 20px; gap: 6px; }
    .ae-photo-strip { grid-template-columns: 1fr 1fr; height: 200px; }
    .aeps-item:nth-child(3) { display: none; }

    .courses-mag { padding: 80px 0; }
    .cm-row { padding: 28px 0; gap: 16px; }

    .testi-inline { padding: 64px 0; }

    .gallery-section { padding: 80px 0; }
    .gal-masonry { grid-template-columns: 1fr 1fr; grid-auto-rows: 110px; }

    .reviews-home { padding: 80px 0; }
    .rev-all-grid { grid-template-columns: 1fr; }

    .contact-section { padding: 80px 0; }
    .contact-form { padding: 28px 20px; }
    .course-body { padding: 32px 24px; }
}
