/* ═══════════════════════════════════════════════════════════
   Dr. Judith M. Pheatt — Medical Practice Website
   Plum & Amber · Warm & Friendly
   ═══════════════════════════════════════════════════════════ */

/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --plum-50:  #faf4f9;
    --plum-100: #f3e5f1;
    --plum-200: #e7becf;
    --plum-300: #d48fab;
    --plum-400: #c26a8a;
    --plum-500: #a34d7b;
    --plum-600: #7B2D8E;
    --plum-700: #611f6f;
    --plum-800: #4a1553;
    --plum-900: #2d0a33;
    --plum-950: #1a051e;

    --amber-50:  #fffbeb;
    --amber-100: #fef3c7;
    --amber-200: #fde68a;
    --amber-300: #fcd34d;
    --amber-400: #fbbf24;
    --amber-500: #f59e0b;
    --amber-600: #d97706;
    --amber-700: #b45309;

    --bg:         #FFFAF5;
    --bg-alt:     #FDF0F7;
    --bg-warm:    #FFF8F0;
    --surface:    #ffffff;
    --surface-alt:#fff5f9;
    --text:       #2D1F2D;
    --text-muted: #6B5568;
    --text-light: #9B8496;
    --border:     #F0D4E4;
    --border-alt: #E8C8DC;

    --font-display: 'Lora', 'Georgia', serif;
    --font-body:    'Nunito', 'Segoe UI', sans-serif;

    --shadow-sm:  0 1px 3px rgba(123,45,142,.06), 0 1px 2px rgba(123,45,142,.04);
    --shadow-md:  0 4px 16px rgba(123,45,142,.08), 0 2px 6px rgba(123,45,142,.05);
    --shadow-lg:  0 12px 40px rgba(123,45,142,.12), 0 4px 12px rgba(123,45,142,.06);
    --shadow-xl:  0 24px 60px rgba(123,45,142,.14), 0 8px 20px rgba(123,45,142,.08);

    --radius-sm: 10px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    --transition: 0.3s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
    font-family: var(--font-body);
    color: var(--text);
    background: var(--bg);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ─── SKIP LINK ─── */
.skip-link {
    position: absolute; top: -100%; left: 16px;
    background: var(--plum-700); color: #fff;
    padding: 8px 16px; border-radius: var(--radius-sm);
    z-index: 9999; font-weight: 700;
    transition: top 0.2s;
}
.skip-link:focus { top: 16px; }

/* ─── LAYOUT ─── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── SECTION HEADERS ─── */
.section-tag {
    display: inline-flex; align-items: center; gap: 8px;
    font-size: 0.8rem; font-weight: 800; letter-spacing: 0.1em;
    text-transform: uppercase; color: var(--plum-600);
    background: var(--plum-100); border: 1px solid var(--plum-200);
    padding: 6px 16px; border-radius: 50px; margin-bottom: 16px;
}
.section-tag::before {
    content: ''; display: block; width: 6px; height: 6px;
    background: var(--amber-500); border-radius: 50%;
}
.section-header { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 600; line-height: 1.25;
    color: var(--plum-900); margin-bottom: 16px;
}
.section-header p { color: var(--text-muted); font-size: 1.05rem; line-height: 1.7; }

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex; align-items: center; gap: 8px;
    font-family: var(--font-body); font-weight: 700;
    font-size: 0.95rem; border-radius: 50px;
    padding: 14px 28px; transition: all var(--transition);
    white-space: nowrap;
}
.btn svg { flex-shrink: 0; }

.btn-primary {
    background: var(--plum-600); color: #fff;
    box-shadow: 0 4px 16px rgba(123,45,142,.3);
}
.btn-primary:hover {
    background: var(--plum-700);
    box-shadow: 0 8px 24px rgba(123,45,142,.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--surface); color: var(--plum-700);
    border: 2px solid var(--plum-200);
}
.btn-secondary:hover {
    background: var(--plum-50);
    border-color: var(--plum-400);
    transform: translateY(-2px);
}

.btn-amber {
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    color: var(--plum-900);
    box-shadow: 0 4px 16px rgba(245,158,11,.35);
}
.btn-amber:hover {
    background: linear-gradient(135deg, var(--amber-300), var(--amber-400));
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(245,158,11,.45);
}

.btn-outline-alt {
    background: transparent; color: var(--plum-600);
    border: 2px solid var(--plum-300);
}
.btn-outline-alt:hover {
    background: var(--plum-50); border-color: var(--plum-600);
}

.btn-full { width: 100%; justify-content: center; }
.btn-sm { padding: 10px 20px; font-size: 0.85rem; }

/* ─── NAVBAR ─── */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,250,245,.85);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: all var(--transition);
    padding: 16px 0;
}
.navbar.scrolled {
    background: rgba(255,250,245,.96);
    border-bottom-color: var(--border);
    box-shadow: var(--shadow-sm);
    padding: 10px 0;
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-logo {
    display: flex; align-items: center; gap: 10px;
    font-family: var(--font-body);
}
.nav-logo-mark {
    display: flex; align-items: center; justify-content: center;
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--plum-500), var(--plum-700));
    color: #fff; border-radius: 10px;
    font-size: 1.1rem; font-weight: 800;
    box-shadow: 0 2px 8px rgba(123,45,142,.25);
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text strong { font-size: 0.95rem; color: var(--plum-800); font-weight: 800; }
.nav-logo-text span { font-size: 0.7rem; color: var(--text-muted); font-weight: 600; }

.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-link {
    padding: 8px 16px; border-radius: 50px;
    font-weight: 600; font-size: 0.9rem;
    color: var(--text-muted); transition: all var(--transition);
}
.nav-link:hover { color: var(--plum-700); background: var(--plum-50); }
.nav-phone-icon { width: 15px; height: 15px; }

.btn-cta-nav {
    margin-left: 8px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    color: var(--plum-900); font-size: 0.85rem; padding: 10px 20px;
    box-shadow: 0 2px 12px rgba(245,158,11,.3);
}
.btn-cta-nav:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(245,158,11,.4);
}

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 36px; height: 36px; justify-content: center; align-items: center;
    border-radius: var(--radius-sm); transition: background var(--transition);
}
.nav-toggle:hover { background: var(--plum-50); }
.hamburger {
    display: block; width: 20px; height: 2px; background: var(--plum-700);
    border-radius: 2px; transition: all var(--transition);
    position: relative;
}
.hamburger::before, .hamburger::after {
    content: ''; position: absolute; left: 0; width: 100%; height: 2px;
    background: var(--plum-700); border-radius: 2px; transition: all var(--transition);
}
.hamburger::before { top: -6px; }
.hamburger::after  { top: 6px; }
.nav-toggle[aria-expanded="true"] .hamburger { background: transparent; }
.nav-toggle[aria-expanded="true"] .hamburger::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .hamburger::after  { top: 0; transform: rotate(-45deg); }

/* ─── HERO ─── */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; padding: 120px 24px 80px;
}
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(135deg,
        var(--plum-800) 0%,
        var(--plum-600) 30%,
        #9B4DCA 55%,
        var(--plum-500) 75%,
        var(--plum-700) 100%
    );
}
.hero-bg::before {
    content: ''; position: absolute; inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 80%, rgba(245,158,11,.18) 0%, transparent 60%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(253,186,116,.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 50% 50%, rgba(255,255,255,.04) 0%, transparent 70%);
}
.hero-bg::after {
    content: ''; position: absolute; inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
    background-size: 32px 32px;
}

.blob {
    position: absolute; border-radius: 50%; filter: blur(60px); opacity: .35;
    animation: blobFloat 8s ease-in-out infinite alternate;
}
.blob-1 { width: 500px; height: 500px; background: var(--amber-500); top: -10%; right: -5%; animation-delay: 0s; }
.blob-2 { width: 350px; height: 350px; background: var(--plum-300); bottom: 5%; left: -3%; animation-delay: -3s; }
.blob-3 { width: 200px; height: 200px; background: var(--amber-300); top: 40%; left: 15%; animation-delay: -5s; }

@keyframes blobFloat {
    0%   { transform: translate(0,0) scale(1); }
    50%  { transform: translate(30px,-20px) scale(1.05); }
    100% { transform: translate(-20px,30px) scale(.95); }
}

.grain {
    position: absolute; inset: 0; opacity: .03; pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
}

.hero-inner {
    position: relative; z-index: 1; text-align: center;
    max-width: 820px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 10px;
    background: rgba(255,255,255,.12); color: var(--amber-200);
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50px; padding: 8px 20px;
    font-size: 0.82rem; font-weight: 700; letter-spacing: 0.04em;
    margin-bottom: 28px; backdrop-filter: blur(8px);
}
.badge-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--amber-400);
    box-shadow: 0 0 8px var(--amber-400);
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: .6; transform: scale(1.3); }
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5.5vw, 3.6rem);
    font-weight: 600; line-height: 1.18;
    color: #fff; margin-bottom: 24px;
    text-shadow: 0 2px 20px rgba(0,0,0,.15);
}
.text-amber { color: var(--amber-300); }

.hero-sub {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: rgba(255,255,255,.82); line-height: 1.75;
    max-width: 620px; margin: 0 auto 40px;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.hero-actions .btn-primary {
    background: var(--amber-400); color: var(--plum-900);
    box-shadow: 0 4px 20px rgba(251,191,36,.4);
}
.hero-actions .btn-primary:hover {
    background: var(--amber-300);
    box-shadow: 0 8px 28px rgba(251,191,36,.5);
}
.hero-actions .btn-secondary {
    background: rgba(255,255,255,.12); color: #fff;
    border-color: rgba(255,255,255,.3); backdrop-filter: blur(8px);
}
.hero-actions .btn-secondary:hover {
    background: rgba(255,255,255,.2);
    border-color: rgba(255,255,255,.5);
}

.hero-stats {
    display: flex; justify-content: center; gap: 0;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius-lg); padding: 20px 40px;
    backdrop-filter: blur(12px);
}
.stat { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 0 24px; }
.stat-number { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; color: var(--amber-300); }
.stat-label  { font-size: 0.78rem; color: rgba(255,255,255,.65); font-weight: 600; text-transform: uppercase; letter-spacing: .06em; }
.stat-divider { width: 1px; background: rgba(255,255,255,.18); align-self: stretch; }

.hero-wave {
    position: absolute; bottom: -1px; left: 0; right: 0; z-index: 2;
    line-height: 0;
}
.hero-wave svg { width: 100%; height: 80px; }

/* ─── SERVICES ─── */
.services { padding: 88px 0 96px; background: var(--bg); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}
.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px; transition: all var(--transition);
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--plum-200);
}
.card-icon {
    width: 56px; height: 56px;
    background: linear-gradient(135deg, var(--plum-100), var(--plum-50));
    border: 1px solid var(--plum-200);
    border-radius: var(--radius-md);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 20px; color: var(--plum-600);
}
.card-icon svg { width: 26px; height: 26px; }
.card h3 {
    font-family: var(--font-display);
    font-size: 1.15rem; font-weight: 600;
    color: var(--plum-800); margin-bottom: 10px;
}
.card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ─── ABOUT ─── */
.about { padding: 96px 0; background: var(--bg-alt); }
.about-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 64px; align-items: center;
}
.about-image-wrap { position: relative; }
.about-image {
    border-radius: var(--radius-xl); overflow: hidden;
    box-shadow: var(--shadow-xl);
}
.about-image img { width: 100%; height: 100%; object-fit: cover; }
.about-accent {
    position: absolute; top: -16px; right: -16px;
    width: 120px; height: 120px;
    background: linear-gradient(135deg, var(--amber-300), var(--amber-500));
    border-radius: var(--radius-lg); z-index: -1; opacity: .6;
}
.about-floating-card {
    position: absolute; bottom: -20px; left: -20px;
    background: var(--surface); border-radius: var(--radius-md);
    padding: 16px 24px; box-shadow: var(--shadow-lg);
    display: flex; align-items: center; gap: 12px;
    border: 1px solid var(--border);
}
.afc-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--plum-500), var(--plum-700));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    color: #fff; flex-shrink: 0;
}
.afc-icon svg { width: 18px; height: 18px; }
.about-floating-card span { font-size: 0.88rem; font-weight: 700; color: var(--plum-800); }

.about-content .section-tag { margin-bottom: 16px; }
.about-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 600; line-height: 1.25;
    color: var(--plum-900); margin-bottom: 20px;
}
.about-content .lead {
    font-size: 1.05rem; color: var(--text); line-height: 1.8;
    margin-bottom: 16px;
}
.about-content > p { color: var(--text-muted); margin-bottom: 28px; }

.about-values { margin-bottom: 32px; display: flex; flex-direction: column; gap: 14px; }
.about-values li {
    display: flex; align-items: flex-start; gap: 12px;
    font-size: 0.95rem; color: var(--text);
}
.av-check {
    flex-shrink: 0; width: 22px; height: 22px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    color: var(--plum-900); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.7rem; font-weight: 800; margin-top: 2px;
    box-shadow: 0 2px 8px rgba(245,158,11,.3);
}

/* ─── WHY US ─── */
.why-us { padding: 96px 0; background: var(--bg); }
.pillars {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
}
.pillar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 28px; text-align: center;
    transition: all var(--transition);
    position: relative; overflow: hidden;
}
.pillar::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px;
    background: linear-gradient(90deg, var(--plum-500), var(--amber-400));
    opacity: 0; transition: opacity var(--transition);
}
.pillar:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--plum-200); }
.pillar:hover::before { opacity: 1; }
.pillar-num {
    font-family: var(--font-display);
    font-size: 2.8rem; font-weight: 700;
    background: linear-gradient(135deg, var(--plum-200), var(--plum-100));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1; margin-bottom: 16px;
}
.pillar h3 {
    font-family: var(--font-display);
    font-size: 1.1rem; font-weight: 600;
    color: var(--plum-800); margin-bottom: 10px;
}
.pillar p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }

/* ─── NEW PATIENTS ─── */
.new-patients { padding: 96px 0; background: var(--bg-warm); }
.np-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: center;
}
.np-content .section-tag { margin-bottom: 16px; }
.np-content h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 600; line-height: 1.25;
    color: var(--plum-900); margin-bottom: 16px;
}
.np-intro { color: var(--text-muted); font-size: 1.02rem; margin-bottom: 32px; line-height: 1.75; }

.steps { display: flex; flex-direction: column; gap: 20px; }
.step { display: flex; gap: 20px; align-items: flex-start; }
.step-num {
    flex-shrink: 0; width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--plum-600), var(--plum-700));
    color: var(--amber-200); border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display); font-size: 1rem; font-weight: 700;
    box-shadow: 0 4px 12px rgba(123,45,142,.25);
}
.step-body strong { display: block; font-size: 1rem; color: var(--plum-800); margin-bottom: 4px; }
.step-body span  { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }

.np-visual { position: relative; border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-xl); }
.np-visual img { width: 100%; height: 100%; object-fit: cover; }
.np-visual-overlay {
    position: absolute; bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(45,15,51,.85), transparent);
    padding: 32px 28px 24px;
    display: flex; align-items: center; gap: 14px;
}
.np-visual-overlay svg { width: 24px; height: 24px; color: var(--amber-400); flex-shrink: 0; }
.np-phone { color: #fff; font-size: 1rem; font-weight: 700; }

/* ─── CONTACT ─── */
.contact { padding: 96px 0; background: var(--bg); }
.contact-inner {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 56px; align-items: start;
}
.contact-info .section-tag { margin-bottom: 16px; }
.contact-info h2 {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 3.5vw, 2.2rem);
    font-weight: 600; line-height: 1.25;
    color: var(--plum-900); margin-bottom: 16px;
}
.contact-info > p { color: var(--text-muted); margin-bottom: 36px; line-height: 1.75; }

.ci-details { display: flex; flex-direction: column; gap: 20px; margin-bottom: 32px; }
.ci-item {
    display: flex; gap: 16px; align-items: flex-start;
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-md); padding: 20px 24px;
}
.ci-icon {
    width: 44px; height: 44px; flex-shrink: 0;
    background: linear-gradient(135deg, var(--plum-100), var(--plum-50));
    border: 1px solid var(--plum-200); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: var(--plum-600);
}
.ci-icon svg { width: 18px; height: 18px; }
.ci-item strong { display: block; font-size: 0.95rem; color: var(--plum-800); margin-bottom: 4px; }
.ci-item p { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; margin: 0; }
.ci-item a { color: var(--plum-600); font-weight: 700; transition: color var(--transition); }
.ci-item a:hover { color: var(--plum-800); }

.ci-map { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); }
.ci-map-link { display: block; position: relative; }
.ci-map-link img { width: 100%; height: 100%; object-fit: cover; }
.ci-map-cta {
    position: absolute; bottom: 16px; left: 16px;
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--plum-600); color: #fff;
    padding: 10px 20px; border-radius: 50px;
    font-weight: 700; font-size: 0.88rem;
    box-shadow: var(--shadow-md);
    transition: all var(--transition);
}
.ci-map-cta:hover { background: var(--plum-700); transform: translateY(-2px); }
.ci-map-cta svg { width: 14px; height: 14px; }

/* ─── CONTACT FORM ─── */
.contact-form-wrap { max-width: 520px; margin: 0 auto; }
.contact-form-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: var(--radius-xl); padding: 40px;
    box-shadow: var(--shadow-lg);
}
.contact-form-card h3 {
    font-family: var(--font-display);
    font-size: 1.3rem; font-weight: 600;
    color: var(--plum-800); margin-bottom: 6px;
}
.contact-form-card > p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 28px; }

.cform-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cform-field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 16px; }
.cform-field label {
    font-size: 0.85rem; font-weight: 700;
    color: var(--plum-800);
}
.cform-field input,
.cform-field select,
.cform-field textarea {
    font-family: var(--font-body); font-size: 0.95rem;
    color: var(--text); background: var(--bg);
    border: 1.5px solid var(--border-alt);
    border-radius: var(--radius-sm); padding: 12px 16px;
    transition: all var(--transition); outline: none;
    width: 100%;
}
.cform-field input:focus,
.cform-field select:focus,
.cform-field textarea:focus {
    border-color: var(--plum-500);
    box-shadow: 0 0 0 3px rgba(123,45,142,.1);
    background: #fff;
}
.cform-field input::placeholder,
.cform-field textarea::placeholder { color: var(--text-light); }
.cform-field textarea { resize: vertical; min-height: 100px; }

.cform-success {
    text-align: center; padding: 40px 20px;
}
.cform-success-icon {
    width: 64px; height: 64px; margin: 0 auto 16px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem; font-weight: 800; color: var(--plum-900);
    box-shadow: 0 4px 16px rgba(245,158,11,.3);
}
.cform-success h4 {
    font-family: var(--font-display); font-size: 1.2rem;
    color: var(--plum-800); margin-bottom: 8px;
}
.cform-success p { color: var(--text-muted); font-size: 0.92rem; margin-bottom: 20px; }

/* ─── FOOTER ─── */
.footer {
    background: var(--plum-900); color: rgba(255,255,255,.7);
    padding: 64px 0 0;
}
.footer-top {
    display: grid; grid-template-columns: 2fr 1fr 1.5fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand p { font-size: 0.9rem; line-height: 1.75; margin-top: 16px; max-width: 320px; }
.footer-logo {
    display: flex; align-items: center; gap: 10px;
    color: #fff; font-size: 1.05rem;
}
.footer-logo-mark {
    width: 36px; height: 36px;
    background: linear-gradient(135deg, var(--amber-400), var(--amber-500));
    border-radius: 10px; display: flex; align-items: center; justify-content: center;
    color: var(--plum-900); font-size: 1rem; font-weight: 800;
}
.footer-links strong,
.footer-contact strong {
    display: block; color: var(--amber-300);
    font-size: 0.82rem; font-weight: 800;
    text-transform: uppercase; letter-spacing: .08em;
    margin-bottom: 16px;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
    font-size: 0.9rem; color: rgba(255,255,255,.6);
    transition: color var(--transition);
}
.footer-links a:hover { color: var(--amber-300); }
.footer-contact address { font-style: normal; font-size: 0.9rem; line-height: 1.7; margin-bottom: 10px; }
.footer-contact a { color: var(--amber-400); font-weight: 700; transition: color var(--transition); }
.footer-contact a:hover { color: var(--amber-300); }

.footer-bottom {
    display: flex; flex-direction: column; gap: 8px;
    padding: 24px 0; text-align: center;
    font-size: 0.82rem; color: rgba(255,255,255,.35);
}
.footer-bottom p { margin: 0; }

/* ─── BACK TO TOP ─── */
.back-to-top {
    position: fixed; bottom: 32px; right: 32px; z-index: 90;
    width: 48px; height: 48px;
    background: var(--plum-600); color: #fff;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(12px);
    transition: all var(--transition);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--plum-700); transform: translateY(-3px); }
.back-to-top svg { width: 20px; height: 20px; }

/* ─── SCROLL REVEAL (progressive enhancement) ─── */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(28px);
        transition: opacity 0.6s cubic-bezier(.4,0,.2,1), transform 0.6s cubic-bezier(.4,0,.2,1);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ─── MOBILE NAV ─── */
@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .nav-links {
        position: fixed; top: 0; right: 0; bottom: 0;
        width: min(320px, 85vw);
        background: var(--surface);
        flex-direction: column; align-items: stretch;
        padding: 80px 24px 32px; gap: 4px;
        box-shadow: var(--shadow-xl);
        transform: translateX(100%);
        transition: transform var(--transition);
        z-index: 99;
    }
    .nav-links.open { transform: translateX(0); }
    .nav-link {
        padding: 14px 16px; border-radius: var(--radius-sm);
        font-size: 1rem;
    }
    .nav-link:hover { background: var(--plum-50); }
    .btn-cta-nav {
        margin-left: 0; margin-top: 12px;
        justify-content: center;
    }
    .nav-overlay {
        position: fixed; inset: 0; z-index: 98;
        background: rgba(45,15,51,.4);
        opacity: 0; visibility: hidden;
        transition: all var(--transition);
    }
    .nav-overlay.active { opacity: 1; visibility: visible; }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
    .about-inner,
    .np-inner,
    .contact-inner { grid-template-columns: 1fr; gap: 40px; }
    .about-image-wrap { max-width: 100%; }
    .about-accent { display: none; }
    .about-floating-card { bottom: -12px; left: 12px; }
    .np-visual { order: -1; }
    .footer-top { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: row; justify-content: center; }
}

@media (max-width: 640px) {
    .hero { padding: 100px 20px 60px; min-height: auto; }
    .hero h1 { font-size: 1.85rem; }
    .hero-stats { flex-direction: column; gap: 16px; padding: 20px 24px; }
    .stat-divider { width: 100%; height: 1px; }
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; justify-content: center; }
    .services-grid { grid-template-columns: 1fr; }
    .pillars { grid-template-columns: 1fr; }
    .cform-row { grid-template-columns: 1fr; }
    .contact-form-card { padding: 28px 20px; }
    .container { padding: 0 16px; }
    .back-to-top { bottom: 20px; right: 20px; width: 42px; height: 42px; }
}
