/* ============================================================
   StartYourPhD – Main Stylesheet
   Light Theme — White / Cream / Orange accent
   Fonts: EB Garamond (headings) · DM Sans (body)
   FULLY RESPONSIVE + FINAL UPDATES
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600;700&display=swap');

:root {
    --orange:      #E8651A;
    --orange-dk:   #c9530f;
    --orange-lt:   #fff3ec;
    --orange-mid:  #fde1c8;
    --white:       #ffffff;
    --cream:       #f8f5f0;
    --stone:       #f0ece5;
    --border:      #e6dfd5;
    --border-md:   #d8cfc4;
    --text:        #1f1f1f;
    --text-md:     #3d3d3d;
    --text-muted:  #6b6560;
    --text-light:  #9a938c;
    --shadow-xs:   0 1px 4px rgba(0,0,0,0.06);
    --shadow-sm:   0 2px 10px rgba(0,0,0,0.07);
    --shadow-md:   0 6px 28px rgba(0,0,0,0.09);
    --radius:      8px;
    --radius-lg:   14px;
    --max-w:       1160px;
    /* --serif:       'EB Garamond', Georgia, serif; */
    --sans:        'DM Sans', 'Segoe UI', sans-serif;
    --ease:        0.22s ease;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--sans);
    font-size: 16px;
    color: var(--text);
    background: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

em { font-style: normal; }

/* ── Layout ────────────────────────────────────────────────── */
.container { width: 90%; max-width: var(--max-w); margin-inline: auto; }
.section { padding: 80px 0; }
.bg-white { background: var(--white); }
.bg-cream  { background: var(--cream); }

@media (max-width: 768px) {
    .section { padding: 50px 0; }
}

/* ── Typography Helpers ─────────────────────────────────────── */
.eyebrow {
    display: inline-block;
    font-size: 0.70rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--orange);
    margin-bottom: 8px;
}
.sec-title {
    font-family: var(--serif);
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 600;
    color: var(--text);
    line-height: 1.22;
    margin-bottom: 12px;
}
.sec-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.75;
    margin-bottom: 48px;
}
.sec-head { margin-bottom: 52px; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin-inline: auto; }
.divider {
    width: 44px; height: 3px;
    background: var(--orange);
    border-radius: 2px;
    margin: 14px 0 22px;
}

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 0.92rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all var(--ease);
    white-space: nowrap;
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-dk); transform: translateY(-1px); box-shadow: 0 6px 20px rgba(232,101,26,0.25); }
.btn-outline { background: transparent; color: var(--text); border: 1.5px solid var(--border-md); }
.btn-outline:hover { border-color: var(--orange); color: var(--orange); }
.btn-full { width: 100%; justify-content: center; padding: 14px 26px; font-size: 0.97rem; }

@media (max-width: 480px) {
    .btn { padding: 10px 18px; font-size: 0.85rem; white-space: normal; }
}

/* ── Top Bar ───────────────────────────────────────────────── */
.topbar {
    background: var(--text);
    color: rgba(255,255,255,0.55);
    font-size: 0.79rem;
    padding: 8px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.topbar-left { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.tb-sep { opacity: 0.25; }
.topbar-right { display: flex; gap: 8px; }
.topbar-right a {
    width: 26px; height: 26px;
    display: flex; align-items: center; justify-content: center;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.12);
    color: rgba(255,255,255,0.5);
    font-size: 0.72rem;
    transition: all var(--ease);
}
.topbar-right a:hover { background: var(--orange); border-color: var(--orange); color: var(--white); }

@media (max-width: 600px) {
    .topbar { display: none; }
}

/* ── Header ────────────────────────────────────────────────── */
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: box-shadow var(--ease);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 13px 0; gap: 20px; }

.logo { display: flex; align-items: center; }
.logo-img { height: 38px; width: auto; }
.logo-text-fallback {
    display: none;
    font-family: var(--serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text);
}
.logo-accent { color: var(--orange); }

/* Nav */
.main-nav ul { display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.main-nav > ul > li { position: relative; }
.main-nav a {
    font-size: 0.87rem;
    font-weight: 500;
    color: var(--text-md);
    padding: 8px 12px;
    border-radius: 6px;
    transition: all var(--ease);
    display: flex;
    align-items: center;
    gap: 5px;
}
.main-nav a:hover,
.main-nav a.active { color: var(--text); background: var(--stone); }

.nav-cta-btn {
    background: var(--orange) !important;
    color: var(--white) !important;
    padding: 9px 18px !important;
    border-radius: 6px !important;
    margin-left: 4px;
}
.nav-cta-btn:hover { background: var(--orange-dk) !important; transform: translateY(-1px); }

.dd-arrow { font-size: 0.62rem; transition: transform 0.2s; }
.has-dropdown:hover .dd-arrow { transform: rotate(180deg); }

.dropdown-menu {
    display: block;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    box-shadow: 0 15px 35px rgba(0,0,0,0.12);
    min-width: 230px;
    padding: 8px 0;
    z-index: 9999;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
    transform: translateY(12px);
}

.dropdown-menu,
.dropdown-menu ul,
.dropdown-menu li {
    display: block !important;
}

.dropdown-menu li {
    display: block !important;
    width: 100%;
    margin: 0;
    padding: 0;
}

.dropdown-menu li a {
    display: flex !important;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-md);
    background: none;
    transition: all 0.2s ease;
    white-space: nowrap;
    margin: 0;
}

.dropdown-menu li a::before {
    content: '›';
    color: var(--orange);
    font-size: 1.1rem;
    font-weight: bold;
}

.dropdown-menu li a:hover {
    background: var(--orange-lt);
    color: var(--orange);
    padding-left: 22px;
}

.dropdown-menu.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
}
.hamburger span {
    display: block; width: 24px; height: 2px;
    background: var(--text); border-radius: 2px;
    transition: 0.28s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ───────────────────────────────────────────────────── */
.hero {
    background: linear-gradient(135deg, #fdf7f2 0%, #fff9f5 100%);
    border-bottom: 1px solid var(--border);
    padding: 80px 0 70px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--orange-mid);
    color: var(--orange-dk);
    font-size: 0.74rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 22px;
    box-shadow: var(--shadow-xs);
}
.badge-dot {
    width: 6px; height: 6px;
    border-radius: 50%;
    background: var(--orange);
    animation: blink 2s infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.35} }

.hero h1 {
    font-family: var(--serif);
    font-size: clamp(2rem, 5vw, 3.2rem);
    color: var(--text);
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-desc {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 28px;
    max-width: 480px;
    line-height: 1.78;
}

.hero-services-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 32px;
}
.hsp-item {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 8px 18px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
    box-shadow: var(--shadow-xs);
    transition: all var(--ease);
}
.hsp-item i { color: var(--orange); font-size: 0.9rem; }
.hsp-item:hover {
    transform: translateY(-2px);
    border-color: var(--orange);
    box-shadow: var(--shadow-sm);
}

.hero-cta { display: flex; gap: 15px; flex-wrap: wrap; margin-bottom: 36px; }

.hero-stats {
    display: flex;
    align-items: center;
    padding: 16px 22px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    width: fit-content;
    box-shadow: var(--shadow-xs);
    flex-wrap: wrap;
}
.hstat { text-align: center; padding: 0 16px; }
.hstat strong { display: block; font-family: var(--serif); font-size: 1.4rem; font-weight: 700; color: var(--orange); }
.hstat span { font-size: 0.74rem; color: var(--text-muted); }
.hstat-sep { width: 1px; height: 34px; background: var(--border-md); }

@media (max-width: 768px) {
    .hero-stats { justify-content: center; width: 100%; }
    .hstat-sep { display: none; }
    .hstat { padding: 10px; }
}

/* Hero Right Trust Panel */
.hero-right { display: flex; flex-direction: column; }

.trust-panel {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.10);
    border: 1px solid var(--border);
}

.trust-pillars {
    padding: 22px 26px 18px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.trust-pillar {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 14px 16px;
    border-radius: 10px;
    background: var(--cream);
    border: 1px solid var(--border);
    transition: all var(--ease);
}
.trust-pillar:hover {
    background: var(--orange-lt);
    border-color: var(--orange-mid);
    transform: translateX(4px);
}
.trust-pillar-icon {
    width: 38px; height: 38px;
    border-radius: 10px;
    background: var(--orange-lt);
    border: 1px solid var(--orange-mid);
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 1rem;
    flex-shrink: 0;
    transition: all var(--ease);
}
.trust-pillar:hover .trust-pillar-icon {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}
.trust-pillar-content strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 3px;
}
.trust-pillar-content span {
    font-size: 0.80rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.trust-panel-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 26px 24px;
    border-top: 1px solid var(--border);
    background: var(--cream);
}
.trust-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: center;
    padding: 14px 26px;
    background: var(--orange);
    color: var(--white);
    font-family: var(--sans);
    font-size: 0.93rem;
    font-weight: 700;
    border-radius: var(--radius);
    cursor: pointer;
    border: none;
    transition: all var(--ease);
    text-align: center;
}
.trust-cta-btn:hover {
    background: var(--orange-dk);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232,101,26,0.28);
}
.trust-cta-note {
    font-size: 0.78rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 6px;
}
.trust-cta-note i { color: var(--orange); }

@media (max-width: 980px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .hero-right { display: block; max-width: 560px; margin: 0 auto; }
    .hero-content { text-align: center; }
    .hero-desc { margin-left: auto; margin-right: auto; }
    .hero-services-preview { justify-content: center; }
    .hero-cta { justify-content: center; }
    .hero-stats { margin: 0 auto; }
}

/* ── Services Cards ────────────────────────────────────────── */
.req-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}
.req-card {
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 28px 26px 24px;
    transition: all var(--ease);
    position: relative;
    overflow: hidden;
}
.req-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 3px; height: 100%;
    background: var(--orange);
    transform: scaleY(0);
    transform-origin: top;
    transition: transform var(--ease);
}
.req-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); background: var(--white); }
.req-card:hover::before { transform: scaleY(1); }
.req-icon {
    width: 50px; height: 50px;
    background: var(--orange-lt);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    color: var(--orange);
    margin-bottom: 18px;
}
.req-card h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.req-card p { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* ── Who Should Apply ──────────────────────────────────────── */
.who-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.who-intro p { font-size: 1rem; color: var(--text-muted); margin-bottom: 18px; line-height: 1.75; }

.blockquote-box {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--orange-lt);
    border: 1px solid var(--orange-mid);
    border-left: 4px solid var(--orange);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 18px 20px;
    margin: 20px 0;
}
.bq-icon { color: var(--orange); font-size: 1.2rem; margin-top: 2px; flex-shrink: 0; }
.blockquote-box p { font-family: var(--sans); font-style: normal; font-size: 0.93rem; color: var(--text-md); margin: 0; }

.who-list { display: flex; flex-direction: column; gap: 14px; }
.who-item {
    display: flex;
    gap: 14px;
    padding: 18px 20px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: box-shadow var(--ease);
}
.who-item:hover { box-shadow: var(--shadow-sm); }
.who-icon {
    width: 42px; height: 42px;
    background: var(--orange-lt);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 1.1rem;
    flex-shrink: 0;
}
.who-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.who-item p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 768px) {
    .who-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Journey Steps ─────────────────────────────────────────── */
.journey-section { background: var(--white); }
.steps-vertical-wrap { max-width: 760px; margin: 0 auto; position: relative; }
.steps-vertical-wrap::before {
    content: '';
    position: absolute;
    left: 26px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    background: linear-gradient(to bottom, var(--orange-mid) 0%, var(--orange-mid) 90%, transparent 100%);
    z-index: 0;
}
.vstep { display: flex; gap: 28px; align-items: flex-start; position: relative; z-index: 1; }
.vstep-left { display: flex; flex-direction: column; align-items: center; flex-shrink: 0; width: 52px; }
.vstep-num {
    width: 52px; height: 52px;
    border-radius: 50%;
    background: var(--white);
    border: 2px solid var(--orange);
    display: flex; align-items: center; justify-content: center;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--orange);
    z-index: 2;
    background: var(--white);
}
.vstep:hover .vstep-num { background: var(--orange); color: var(--white); box-shadow: 0 4px 14px rgba(232,101,26,0.28); }
.vstep-card {
    flex: 1;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-bottom: 20px;
    transition: all var(--ease);
}
.vstep:hover .vstep-card { border-color: var(--orange-mid); box-shadow: var(--shadow-sm); }
.vstep-card h4 { font-family: var(--serif); font-size: 1.12rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.vstep-card p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.vstep-last .vstep-card { margin-bottom: 0; }

@media (max-width: 600px) {
    .vstep { gap: 15px; }
    .vstep-left { width: 40px; }
    .vstep-num { width: 40px; height: 40px; font-size: 0.8rem; }
    .steps-vertical-wrap::before { left: 20px; }
    .vstep-card { padding: 15px 18px; }
    .vstep-card h4 { font-size: 1rem; }
}

/* ── Quote CTA Section ─────────────────────────────────────── */
.quote-cta-section {
    background: var(--orange-lt);
    border-top: 1px solid var(--orange-mid);
    border-bottom: 1px solid var(--orange-mid);
    padding: 64px 0;
}
.quote-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
}
.quote-cta-text .eyebrow { margin-bottom: 10px; }
.quote-cta-text h2 {
    font-family: var(--serif);
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 600;
    color: var(--text);
    margin-bottom: 12px;
    line-height: 1.25;
}
.quote-cta-text p {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 520px;
    line-height: 1.75;
    margin: 0;
}
.quote-cta-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}
.quote-cta-action .btn {
    white-space: nowrap;
    padding: 14px 28px;
    font-size: 0.97rem;
}
@media (max-width: 680px) {
    .quote-cta-inner { grid-template-columns: 1fr; gap: 28px; text-align: center; }
    .quote-cta-action { align-items: center; }
    .quote-cta-text p { margin-left: auto; margin-right: auto; }
}

/* ── Tips ──────────────────────────────────────────────────── */
.tips-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 56px; align-items: start; }
.tips-left p { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.tips-illustration {
    background: var(--orange-lt);
    border: 1px solid var(--orange-mid);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    text-align: center;
}
.tips-big-icon { font-size: 3.2rem; color: var(--orange); margin-bottom: 14px; }
.tips-caption { font-family: var(--sans); font-size: 1rem; font-weight: 500; color: var(--text-md); }
.tips-list { display: flex; flex-direction: column; gap: 14px; }
.tip-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 18px 20px;
    background: var(--cream);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--ease);
}
.tip-item:hover { box-shadow: var(--shadow-sm); background: var(--white); }
.tip-num { font-family: var(--sans); font-size: 1.1rem; font-weight: 700; color: var(--orange); min-width: 32px; }
.tip-item h4 { font-size: 0.95rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.tip-item p { font-size: 0.86rem; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 768px) {
    .tips-grid { grid-template-columns: 1fr; gap: 40px; }
}

/* ── Contact Form ──────────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 60px; align-items: start; }
.contact-info p { font-size: 1rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 28px; }
.contact-features { display: flex; flex-direction: column; gap: 16px; }
.contact-feat {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px 18px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
}
.cf-icon {
    width: 38px; height: 38px;
    background: var(--orange-lt);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--orange);
    font-size: 1rem;
    flex-shrink: 0;
}
.contact-feat strong { display: block; font-size: 0.92rem; font-weight: 700; color: var(--text); margin-bottom: 3px; }
.contact-feat span { font-size: 0.82rem; color: var(--text-muted); }

.form-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}
.form-card-header { background: var(--orange); padding: 26px 30px 22px; }
.form-card-header h3 { font-family: var(--sans); font-size: 1.25rem; font-weight: 700; color: var(--white); margin-bottom: 5px; }
.form-card-header p { font-size: 0.88rem; color: rgba(255,255,255,0.85); margin: 0; }
.form-card-body { padding: 26px 30px 30px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 0.84rem; font-weight: 600; color: var(--text-md); margin-bottom: 6px; }
.req { color: var(--orange); }
.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 11px 14px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    font-family: var(--sans);
    font-size: 0.9rem;
    color: var(--text);
    background: var(--white);
    outline: none;
    transition: border-color var(--ease);
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 3px rgba(232,101,26,0.08); }
.form-group textarea { resize: vertical; }
.form-note { text-align: center; font-size: 0.78rem; color: var(--text-light); margin-top: 12px; display: flex; align-items: center; justify-content: center; gap: 5px; }

/* Form validation error styles */
.field-error {
    display: none;
    font-size: 0.75rem;
    color: #dc2626;
    margin-top: 5px;
    align-items: center;
    gap: 5px;
}
.field-error.visible {
    display: flex;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
    border-color: #dc2626;
    background-color: #fef2f2;
}

@media (max-width: 768px) {
    .contact-grid { grid-template-columns: 1fr; gap: 40px; }
    .form-row-2 { grid-template-columns: 1fr; }
    .form-card-header, .form-card-body { padding: 20px; }
}

/* ── Footer ────────────────────────────────────────────────── */
.site-footer { background: #1a1a1a; color: rgba(255,255,255,0.55); }
.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding: 64px 0 48px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { font-family: var(--serif); font-size: 1.45rem; font-weight: 700; color: var(--white); margin-bottom: 14px; }
.footer-logo-accent { color: var(--orange); }
.footer-brand p { font-size: 0.88rem; line-height: 1.75; margin-bottom: 22px; }
.social-links { display: flex; gap: 8px; flex-wrap: wrap; }
.social-links a {
    width: 34px; height: 34px;
    border-radius: 7px;
    background: rgba(255,255,255,0.06);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    transition: all var(--ease);
}
.social-links a:hover { background: var(--orange); color: var(--white); }
.footer-col h5 { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--white); margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--ease); display: flex; align-items: center; gap: 8px; }
.footer-col a::before { content: '›'; color: var(--orange); font-size: 1rem; }
.footer-col a:hover { color: var(--white); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; font-size: 0.8rem; flex-wrap: wrap; gap: 15px; }
.footer-bottom-inner a { color: rgba(255,255,255,0.35); margin-left: 18px; transition: color var(--ease); }
.footer-bottom-inner a:hover { color: var(--orange); }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 35px; text-align: center; }
    .social-links { justify-content: center; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .footer-bottom-inner a { margin: 0 10px; }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .main-nav {
        display: none;
        position: absolute;
        top: 100%; left: 0; right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
        padding: 15px 20px;
        max-height: 80vh;
        overflow-y: auto;
    }
    .main-nav.open { display: block; }
    .main-nav ul { flex-direction: column; gap: 5px; }
    .main-nav .has-dropdown { position: static; }
    .main-nav.open .dropdown-menu {
        position: static;
        visibility: visible;
        opacity: 1;
        transform: none;
        box-shadow: none;
        border: none;
        border-left: 2px solid var(--orange-mid);
        border-radius: 0;
        padding: 5px 0 5px 15px;
        margin-top: 5px;
        display: none;
        background: transparent;
    }
    .main-nav.open .has-dropdown.mobile-open .dropdown-menu { display: block; }
    .main-nav.open .dropdown-menu li a { padding: 8px 12px; white-space: normal; }
    .hamburger { display: flex; }
    .nav-cta-btn { display: inline-flex; margin-top: 5px; justify-content: center; }
}