/* ============================================
   Heyworth & Scott Legacy Advisors
   Vibrant Modern | Emerald + Cream
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --emerald-950: #022c22;

    --cream-50: #fefdf8;
    --cream-100: #fef9ee;
    --cream-200: #fef3c7;
    --cream-300: #fde68a;
    --cream-400: #fcd34d;

    --sand: #f5f0e8;
    --sand-light: #faf7f2;
    --sand-dark: #e8e0d0;

    --charcoal: #1a1a1a;
    --slate: #2d2d2d;
    --stone: #4a4a4a;
    --stone-light: #6b6b6b;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --shadow-sm: 0 1px 3px rgba(6, 79, 70, 0.08);
    --shadow-md: 0 4px 16px rgba(6, 79, 70, 0.1);
    --shadow-lg: 0 8px 32px rgba(6, 79, 70, 0.12);
    --shadow-xl: 0 16px 48px rgba(6, 79, 70, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--cream-50);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* --- Typography --- */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--emerald-700);
    background: var(--emerald-50);
    border: 1px solid var(--emerald-200);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--charcoal);
    margin-bottom: 20px;
}

.text-emerald {
    color: var(--emerald-700);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--stone-light);
    max-width: 600px;
    line-height: 1.7;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-700);
    color: #fff;
    box-shadow: 0 4px 16px rgba(6, 79, 70, 0.3);
}

.btn-primary:hover {
    background: var(--emerald-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(6, 79, 70, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-light {
    background: #fff;
    color: var(--emerald-800);
    box-shadow: var(--shadow-lg);
}

.btn-light:hover {
    background: var(--cream-100);
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.btn-full {
    width: 100%;
    justify-content: center;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 0;
    transition: all 0.4s ease;
}

.nav.scrolled {
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(16px);
    box-shadow: 0 2px 20px rgba(6, 79, 70, 0.08);
    padding: 10px 0;
}

.nav.scrolled .nav-logo-text {
    color: var(--charcoal);
}

.nav.scrolled .nav-menu a {
    color: var(--stone);
}

.nav.scrolled .nav-menu a:hover {
    color: var(--emerald-700);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
}

.nav-logo-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    background: var(--emerald-700);
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
}

.nav.scrolled .nav-logo-mark {
    background: var(--emerald-700);
}

.nav-logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-menu a {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    transition: color 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--emerald-400);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #fff;
}

.nav-cta {
    background: var(--emerald-500);
    color: #fff !important;
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}

.nav-cta::after {
    display: none;
}

.nav-cta:hover {
    background: var(--emerald-600) !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle-bar {
    width: 24px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.nav.scrolled .nav-toggle-bar {
    background: var(--charcoal);
}

.nav-toggle.active .nav-toggle-bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle-bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--emerald-900) 0%, var(--emerald-700) 35%, var(--emerald-600) 60%, var(--emerald-500) 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(6, 79, 70, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(16, 185, 129, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse 40% 30% at 50% 50%, rgba(52, 211, 153, 0.2) 0%, transparent 60%);
}

.hero-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

.geo-shape {
    position: absolute;
    opacity: 0.08;
}

.geo-circle-1 {
    width: 600px;
    height: 600px;
    border: 2px solid var(--cream-200);
    border-radius: 50%;
    top: -200px;
    right: -150px;
}

.geo-circle-2 {
    width: 300px;
    height: 300px;
    background: var(--cream-200);
    border-radius: 50%;
    bottom: 10%;
    left: 5%;
}

.geo-triangle {
    width: 0;
    height: 0;
    border-left: 120px solid transparent;
    border-right: 120px solid transparent;
    border-bottom: 208px solid var(--cream-200);
    top: 20%;
    left: 10%;
    transform: rotate(-15deg);
}

.geo-square {
    width: 100px;
    height: 100px;
    border: 2px solid var(--cream-200);
    bottom: 20%;
    right: 10%;
    transform: rotate(45deg);
}

.geo-dots {
    width: 120px;
    height: 120px;
    background-image: radial-gradient(circle, var(--cream-200) 2px, transparent 2px);
    background-size: 16px 16px;
    top: 30%;
    right: 20%;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 820px;
    padding: 120px 24px 80px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    color: var(--cream-200);
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 32px;
}

.hero-headline {
    font-family: var(--font-display);
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 700;
    line-height: 1.1;
    color: #fff;
    margin-bottom: 24px;
}

.hero-headline em {
    font-style: italic;
    color: var(--cream-300);
}

.hero-subheadline {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.75;
    max-width: 640px;
    margin: 0 auto 40px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream-200);
    line-height: 1;
    margin-bottom: 4px;
}

.hero-stat-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255, 255, 255, 0.2);
    align-self: center;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.5), transparent);
    animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: 100px 0;
    background: var(--sand-light);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--emerald-700), var(--emerald-400), var(--cream-300), var(--emerald-400), var(--emerald-700));
}

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

.section-header .section-subtitle {
    margin: 0 auto;
}

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

.service-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--sand-dark);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(24px);
}

.service-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--emerald-600), var(--emerald-400));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--emerald-200);
}

.service-icon-wrap {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrap {
    background: linear-gradient(135deg, var(--emerald-600), var(--emerald-500));
}

.service-icon {
    color: var(--emerald-700);
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: #fff;
}

.service-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.95rem;
    color: var(--stone-light);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--emerald-700);
    transition: gap 0.3s ease;
}

.service-link:hover {
    gap: 10px;
}

/* ============================================
   ABOUT SECTION
   ============================================ */
.about {
    padding: 100px 0;
    background: var(--cream-50);
    position: relative;
    overflow: hidden;
}

.about::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--emerald-50) 0%, transparent 70%);
    top: -100px;
    right: -200px;
    pointer-events: none;
}

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

.about-visual {
    position: relative;
}

.about-image-wrap {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrap img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    display: block;
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    background: var(--emerald-700);
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.15;
}

.about-floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 24px 28px;
    box-shadow: var(--shadow-lg);
    z-index: 2;
}

.afc-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--emerald-700);
    line-height: 1;
}

.afc-label {
    font-size: 0.85rem;
    color: var(--stone);
    margin-top: 4px;
}

.about-content .section-tag {
    margin-bottom: 16px;
}

.about-content .section-title {
    margin-bottom: 24px;
}

.about-text {
    font-size: 1.05rem;
    color: var(--stone);
    line-height: 1.8;
    margin-bottom: 16px;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 32px;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: var(--stone);
}

.af-check {
    width: 24px;
    height: 24px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: 100px 0;
    background: var(--emerald-800);
    position: relative;
    overflow: hidden;
}

.process::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 50% 50% at 0% 50%, rgba(16, 185, 129, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse 40% 40% at 100% 50%, rgba(52, 211, 153, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.process .section-header {
    position: relative;
    z-index: 1;
}

.process .section-tag {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--emerald-200);
}

.process .section-title {
    color: #fff;
}

.process .section-subtitle {
    color: rgba(255, 255, 255, 0.6);
    margin: 0 auto;
}

.process-steps {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 64px;
}

.process-step {
    position: relative;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(8px);
    transition: all 0.3s ease;
}

.process-step:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-4px);
}

.step-number {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.08);
    line-height: 1;
    margin-bottom: 16px;
}

.step-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
}

.step-connector {
    display: none;
}

/* ============================================
   TESTIMONIALS SECTION
   ============================================ */
.testimonials {
    padding: 100px 0;
    background: var(--sand-light);
    position: relative;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--cream-300), var(--emerald-400), var(--emerald-600), var(--emerald-400), var(--cream-300));
}

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

.testimonial-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--sand-dark);
    position: relative;
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.testimonial-quote-mark {
    font-family: var(--font-display);
    font-size: 4rem;
    line-height: 1;
    color: var(--emerald-200);
    position: absolute;
    top: 16px;
    right: 24px;
}

.testimonial-text {
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.8;
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.ta-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--emerald-100), var(--emerald-200));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.ta-info {
    display: flex;
    flex-direction: column;
}

.ta-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--charcoal);
}

.ta-location {
    font-size: 0.8rem;
    color: var(--stone-light);
}

/* ============================================
   CTA BANNER
   ============================================ */
.cta-banner {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--emerald-700) 0%, var(--emerald-600) 50%, var(--emerald-500) 100%);
    position: relative;
    overflow: hidden;
}

.cta-geometric {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.cta-shape {
    position: absolute;
    opacity: 0.1;
}

.csa-circle {
    width: 400px;
    height: 400px;
    border: 2px solid var(--cream-200);
    border-radius: 50%;
    top: -150px;
    left: -100px;
}

.csa-bar {
    width: 200px;
    height: 6px;
    background: var(--cream-200);
    border-radius: 3px;
    bottom: 30%;
    right: 10%;
    transform: rotate(-30deg);
}

.csa-dots {
    width: 80px;
    height: 80px;
    background-image: radial-gradient(circle, var(--cream-200) 2px, transparent 2px);
    background-size: 12px 12px;
    top: 20%;
    right: 25%;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.cta-headline {
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 20px;
}

.cta-subheadline {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
    margin-bottom: 36px;
}

/* ============================================
   CONTACT SECTION
   ============================================ */
.contact {
    padding: 100px 0;
    background: var(--cream-50);
}

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

.contact-info .section-tag {
    margin-bottom: 16px;
}

.contact-info .section-title {
    margin-bottom: 16px;
}

.contact-intro {
    font-size: 1.05rem;
    color: var(--stone);
    line-height: 1.75;
    margin-bottom: 40px;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.cd-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--emerald-50), var(--emerald-100));
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

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

.cd-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--stone-light);
    font-weight: 500;
}

.cd-value, .cd-text a {
    font-size: 1rem;
    color: var(--charcoal);
    font-weight: 500;
    transition: color 0.3s ease;
}

.cd-text a:hover {
    color: var(--emerald-700);
}

/* Form */
.contact-form-wrap {
    background: #fff;
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--sand-dark);
}

.form-title {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 28px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--stone);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--sand-dark);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--charcoal);
    background: var(--cream-50);
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--emerald-500);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--stone-light);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 40px 20px;
}

.form-success.active {
    display: block;
}

.success-icon {
    width: 72px;
    height: 72px;
    background: var(--emerald-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--emerald-700);
}

.form-success h3 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: 12px;
}

.form-success p {
    font-size: 1rem;
    color: var(--stone);
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-mark {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1rem;
    color: #fff;
    background: var(--emerald-700);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
}

.footer-logo-text {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    color: #fff;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    max-width: 280px;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 20px;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-contact p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-contact a:hover {
    color: var(--emerald-400);
}

.footer-bottom {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.35);
}

.footer-disclaimer {
    max-width: 500px;
    text-align: right;
}

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

.hero-content > * {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    opacity: 0;
}

.hero-content > *:nth-child(1) { animation-delay: 0.1s; }
.hero-content > *:nth-child(2) { animation-delay: 0.2s; }
.hero-content > *:nth-child(3) { animation-delay: 0.3s; }
.hero-content > *:nth-child(4) { animation-delay: 0.4s; }
.hero-content > *:nth-child(5) { animation-delay: 0.5s; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 32px 32px;
        gap: 20px;
        box-shadow: var(--shadow-xl);
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .nav-menu.open {
        right: 0;
    }

    .nav-menu a {
        color: var(--stone) !important;
        font-size: 1rem;
    }

    .nav-menu a::after {
        background: var(--emerald-500);
    }

    .nav-cta {
        background: var(--emerald-700) !important;
        color: #fff !important;
        text-align: center;
        width: 100%;
        justify-content: center;
    }

    .nav-overlay {
        display: none;
        position: fixed;
        inset: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
    }

    .nav-overlay.active {
        display: block;
    }

    .hero-content {
        padding: 100px 20px 60px;
    }

    .hero-stats {
        gap: 24px;
    }

    .hero-stat-divider {
        display: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrap img {
        height: 400px;
    }

    .about-floating-card {
        left: 16px;
        bottom: 20px;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

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

    .contact-form-wrap {
        padding: 24px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
    }

    .footer-disclaimer {
        text-align: left;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-stat-number {
        font-size: 1.6rem;
    }
}
