/* =============================================
   A&A Professional Tax Services
   Classic & Elegant — 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: #fef9c3;
    --cream-200: #fef3c7;
    --cream-300: #fde68a;
    --cream-400: #fcd34d;
    --cream-500: #f59e0b;

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

    --neutral-50: #fafaf9;
    --neutral-100: #f5f5f4;
    --neutral-200: #e7e5e4;
    --neutral-300: #d6d3d1;
    --neutral-400: #a8a29e;
    --neutral-500: #78716c;
    --neutral-600: #57534e;
    --neutral-700: #44403c;
    --neutral-800: #292524;
    --neutral-900: #1c1917;
    --neutral-950: #0c0a09;

    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;

    --shadow-sm: 0 1px 2px rgba(6, 78, 59, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(6, 78, 59, 0.08), 0 2px 4px -2px rgba(6, 78, 59, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(6, 78, 59, 0.1), 0 4px 6px -4px rgba(6, 78, 59, 0.06);
    --shadow-xl: 0 20px 25px -5px rgba(6, 78, 59, 0.12), 0 8px 10px -6px rgba(6, 78, 59, 0.08);

    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 400ms ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.7;
    color: var(--neutral-800);
    background-color: var(--cream-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img, svg {
    display: block;
    max-width: 100%;
}

h1, h2, h3, h4 {
    font-family: var(--font-serif);
    line-height: 1.25;
    color: var(--emerald-900);
}

a {
    color: var(--emerald-700);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--emerald-500);
}

ul {
    list-style: none;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* --- Skip Link --- */
.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--emerald-900);
    color: var(--cream-50);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 1000;
    font-weight: 600;
}

.skip-link:focus {
    top: var(--space-md);
}

/* --- Header --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(254, 253, 248, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--neutral-200);
    transition: box-shadow var(--transition-base);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    text-decoration: none;
}

.logo-mark {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-900);
    letter-spacing: -0.02em;
}

.logo-text {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--neutral-600);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    line-height: 1.2;
}

.logo-footer .logo-mark {
    color: var(--cream-50);
}

.logo-footer .logo-text {
    color: var(--neutral-300);
}

/* --- Navigation --- */
.main-nav ul {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.main-nav a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
    border-radius: var(--radius-sm);
    transition: color var(--transition-fast), background var(--transition-fast);
}

.main-nav a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

.btn-nav {
    background: var(--emerald-900) !important;
    color: var(--cream-50) !important;
    font-weight: 600 !important;
    border-radius: var(--radius-md) !important;
    margin-left: var(--space-sm);
}

.btn-nav:hover {
    background: var(--emerald-800) !important;
    color: var(--cream-50) !important;
}

/* --- Mobile Nav Toggle --- */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
    width: 44px;
    height: 44px;
    align-items: center;
    justify-content: center;
}

.hamburger {
    display: block;
    width: 22px;
    height: 16px;
    position: relative;
}

.hamburger::before,
.hamburger::after,
.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--emerald-900);
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform var(--transition-base), opacity var(--transition-fast);
}

.hamburger::before { top: 0; }
.hamburger span { top: 50%; transform: translateY(-50%); }
.hamburger::after { bottom: 0; }

.nav-toggle[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 50%;
}

.nav-toggle[aria-expanded="true"] .hamburger span {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 50%;
}

/* --- Hero --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--emerald-950);
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.45;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(2, 44, 34, 0.92) 0%,
        rgba(6, 78, 59, 0.85) 40%,
        rgba(4, 120, 87, 0.7) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    padding-top: var(--space-4xl);
    padding-bottom: var(--space-4xl);
    max-width: 780px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    background: rgba(254, 249, 195, 0.15);
    border: 1px solid rgba(254, 249, 195, 0.3);
    color: var(--cream-200);
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: var(--space-sm) var(--space-lg);
    border-radius: 50px;
    margin-bottom: var(--space-xl);
}

.hero-badge svg {
    color: var(--gold-400);
}

.hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-lg);
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: clamp(1.0625rem, 2vw, 1.25rem);
    color: var(--cream-200);
    line-height: 1.7;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    gap: var(--space-xl);
    padding-top: var(--space-2xl);
    border-top: 1px solid rgba(254, 249, 195, 0.2);
}

.hero-stat {
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--cream-200);
    line-height: 1;
}

.stat-label {
    font-size: 0.8125rem;
    color: var(--neutral-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-weight: 500;
}

.hero-stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(254, 249, 195, 0.25);
}

.hero-scroll {
    position: absolute;
    bottom: var(--space-2xl);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--neutral-400);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    z-index: 1;
}

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

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

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 600;
    padding: 0.8125rem 1.75rem;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    text-decoration: none;
    transition: all var(--transition-base);
    white-space: nowrap;
}

.btn-primary {
    background: var(--emerald-900);
    color: var(--cream-50);
    border-color: var(--emerald-900);
}

.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
    color: var(--cream-50);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-light {
    background: transparent;
    color: #ffffff;
    border-color: rgba(254, 249, 195, 0.6);
}

.btn-outline-light:hover {
    background: rgba(254, 249, 195, 0.1);
    border-color: #ffffff;
    color: #ffffff;
}

.btn-light {
    background: var(--cream-50);
    color: var(--emerald-900);
    border-color: var(--cream-50);
}

.btn-light:hover {
    background: var(--cream-100);
    border-color: var(--cream-100);
    color: var(--emerald-900);
    transform: translateY(-1px);
    box-shadow: var(--shadow-lg);
}

.btn-outline-primary {
    background: transparent;
    color: var(--emerald-900);
    border-color: var(--emerald-900);
}

.btn-outline-primary:hover {
    background: var(--emerald-900);
    color: var(--cream-50);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

.btn-send-again {
    margin-top: var(--space-md);
    background: var(--emerald-900);
    color: var(--cream-50);
    border: none;
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
}

.btn-send-again:hover {
    background: var(--emerald-800);
    color: var(--cream-50);
}

/* --- Section Shared --- */
.section-label {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: var(--space-md);
    letter-spacing: -0.02em;
}

.section-title-light {
    color: #ffffff;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    max-width: 640px;
    line-height: 1.75;
}

.section-subtitle-light {
    color: var(--cream-200);
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-3xl);
}

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

/* --- Services --- */
.services {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.service-card {
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: var(--space-lg);
    transition: all var(--transition-base);
}

.service-card:hover .service-icon {
    background: var(--emerald-900);
    border-color: var(--emerald-900);
    color: var(--cream-50);
}

.service-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-900);
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.service-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.875rem;
    color: var(--neutral-700);
}

.service-features li::before {
    content: "";
    width: 6px;
    height: 6px;
    background: var(--emerald-500);
    border-radius: 50%;
    flex-shrink: 0;
}

/* --- About --- */
.about {
    padding: var(--space-4xl) 0;
    background: #ffffff;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid #ffffff;
}

.about-img-secondary img {
    width: 260px;
    height: 200px;
    object-fit: cover;
    display: block;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--emerald-900);
    color: var(--cream-50);
    border-radius: var(--radius-lg);
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.exp-years {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: var(--cream-200);
}

.exp-text {
    display: block;
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--neutral-300);
    margin-top: var(--space-xs);
}

.about-content .section-label {
    text-align: left;
}

.about-content .section-title {
    text-align: left;
    margin-bottom: var(--space-lg);
}

.about-lead {
    font-size: 1.0625rem;
    color: var(--neutral-700);
    line-height: 1.8;
    margin-bottom: var(--space-md);
    font-weight: 400;
}

.about-content p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about-values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
    margin: var(--space-xl) 0;
}

.value-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--neutral-700);
}

.value-item svg {
    color: var(--gold-500);
    flex-shrink: 0;
}

.btn-about {
    margin-top: var(--space-lg);
}

/* --- Why Us --- */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--emerald-900);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-xl);
    position: relative;
    z-index: 1;
}

.why-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    transition: all var(--transition-base);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(254, 249, 195, 0.3);
    transform: translateY(-2px);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(254, 249, 195, 0.2);
    line-height: 1;
    margin-bottom: var(--space-md);
}

.why-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--cream-100);
    margin-bottom: var(--space-sm);
}

.why-desc {
    font-size: 0.9375rem;
    color: var(--neutral-300);
    line-height: 1.75;
}

/* --- CTA Banner --- */
.cta-banner {
    padding: var(--space-4xl) 0;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    position: relative;
    overflow: hidden;
}

.cta-banner::after {
    content: "";
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(251, 191, 36, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-2xl);
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.cta-content {
    flex: 1;
    min-width: 280px;
}

.cta-title {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: var(--space-md);
    line-height: 1.2;
}

.cta-text {
    font-size: 1.0625rem;
    color: var(--cream-200);
    line-height: 1.75;
    max-width: 520px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    flex-shrink: 0;
}

/* --- Testimonials --- */
.testimonials {
    padding: var(--space-4xl) 0;
    background: var(--cream-50);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.testimonial-card {
    background: #ffffff;
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    position: relative;
    transition: all var(--transition-base);
}

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

.testimonial-quote-mark {
    font-family: var(--font-serif);
    font-size: 4rem;
    line-height: 0.8;
    color: var(--emerald-200);
    position: absolute;
    top: var(--space-lg);
    left: var(--space-xl);
    pointer-events: none;
}

.testimonial-text {
    font-size: 0.9375rem;
    color: var(--neutral-700);
    line-height: 1.8;
    margin-bottom: var(--space-xl);
    margin-top: var(--space-xl);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--space-md);
}

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

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.9375rem;
    color: var(--neutral-800);
}

.author-location {
    display: block;
    font-size: 0.8125rem;
    color: var(--neutral-500);
}

/* --- Contact --- */
.contact {
    padding: var(--space-4xl) 0 0;
    background: #ffffff;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    padding-bottom: var(--space-3xl);
}

.contact-intro {
    font-size: 1.0625rem;
    color: var(--neutral-600);
    line-height: 1.75;
    margin-bottom: var(--space-2xl);
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: var(--space-xl);
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-lg);
}

.contact-icon {
    width: 44px;
    height: 44px;
    background: var(--emerald-50);
    border: 1px solid var(--emerald-100);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--neutral-500);
    margin-bottom: var(--space-xs);
}

.contact-value {
    display: block;
    font-size: 0.9375rem;
    color: var(--neutral-800);
    line-height: 1.6;
}

.contact-value a {
    color: var(--emerald-700);
}

.contact-value a:hover {
    color: var(--emerald-500);
    text-decoration: underline;
}

/* --- Contact Form --- */
.contact-form-wrapper {
    background: var(--cream-50);
    border: 1px solid var(--neutral-200);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.contact-form-header {
    margin-bottom: var(--space-xl);
}

.contact-form-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: var(--space-sm);
}

.contact-form-subtitle {
    font-size: 0.9375rem;
    color: var(--neutral-600);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--neutral-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--neutral-800);
    background: #ffffff;
    border: 1.5px solid var(--neutral-300);
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
    width: 100%;
}

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

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

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

.form-privacy {
    font-size: 0.8125rem;
    color: var(--neutral-500);
    text-align: center;
    margin-top: var(--space-md);
}

/* --- Form Success --- */
.form-success {
    display: none;
    text-align: center;
    padding: var(--space-2xl);
}

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

.success-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-lg);
    color: var(--emerald-500);
}

.success-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: var(--space-sm);
}

.form-success p {
    font-size: 0.9375rem;
    color: var(--neutral-600);
    margin-bottom: var(--space-lg);
}

/* --- Map --- */
.map-section {
    border-top: 1px solid var(--neutral-200);
}

/* --- Footer --- */
.site-footer {
    background: var(--neutral-950);
    color: var(--neutral-400);
    padding: var(--space-4xl) 0 var(--space-xl);
}

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

.footer-desc {
    font-size: 0.875rem;
    line-height: 1.75;
    margin-top: var(--space-md);
    color: var(--neutral-500);
    max-width: 300px;
}

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--neutral-300);
    margin-bottom: var(--space-lg);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-col a {
    font-size: 0.875rem;
    color: var(--neutral-500);
    transition: color var(--transition-fast);
}

.footer-col a:hover {
    color: var(--cream-200);
}

.footer-address {
    font-style: normal;
    font-size: 0.875rem;
    line-height: 1.75;
    color: var(--neutral-500);
}

.footer-phone a,
.footer-email a {
    color: var(--emerald-400);
}

.footer-phone a:hover,
.footer-email a:hover {
    color: var(--emerald-300);
    text-decoration: underline;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-md);
    padding-top: var(--space-xl);
}

.footer-copy,
.footer-legal {
    font-size: 0.8125rem;
    color: var(--neutral-600);
}

/* --- Scroll Animations (progressive enhancement) --- */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }

    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
    .reveal-delay-4 { transition-delay: 0.4s; }
}

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

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 2;
        max-width: 50%;
        margin: 0 auto;
    }

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

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

    .main-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.98);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid var(--neutral-200);
        padding: var(--space-md);
        transform: translateY(-110%);
        opacity: 0;
        transition: transform var(--transition-base), opacity var(--transition-base);
        pointer-events: none;
    }

    .main-nav.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .main-nav ul {
        flex-direction: column;
        gap: var(--space-xs);
    }

    .main-nav a {
        width: 100%;
        padding: var(--space-md);
    }

    .btn-nav {
        margin-left: 0 !important;
        text-align: center;
    }

    .hero-content {
        padding-top: var(--space-3xl);
        padding-bottom: var(--space-3xl);
    }

    .hero-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-md);
    }

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

    .hero-scroll {
        display: none;
    }

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

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

    .about-img-secondary {
        right: 0;
        bottom: -20px;
    }

    .about-img-main img {
        height: 350px;
    }

    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }

    .about-content p {
        text-align: center;
    }

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

    .btn-about {
        display: inline-flex;
    }

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

    .cta-inner {
        flex-direction: column;
        text-align: center;
    }

    .cta-actions {
        justify-content: center;
    }

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

    .testimonials-grid .testimonial-card:last-child {
        grid-column: span 1;
        max-width: 100%;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 var(--space-md);
    }

    .hero-title {
        font-size: 1.875rem;
    }

    .hero-actions {
        flex-direction: column;
    }

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

    .about-experience-badge {
        right: 0;
        top: -15px;
    }

    .about-img-secondary img {
        width: 200px;
        height: 150px;
    }
}
