/* ============================================
   Tax-A-Moor Tax Prep Services — Stylesheet
   Bold editorial design · Emerald + Cream
   ============================================ */

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

:root {
    --emerald-900: #064e3b;
    --emerald-800: #065f46;
    --emerald-700: #047857;
    --emerald-600: #059669;
    --emerald-500: #10b981;
    --cream-50: #fffbe6;
    --cream-100: #fff8d6;
    --cream-200: #fef3c4;
    --cream-300: #fde68a;
    --stone-50: #fafaf9;
    --stone-100: #f5f5f4;
    --stone-200: #e7e5e4;
    --stone-300: #d6d3d1;
    --stone-400: #a8a29e;
    --stone-500: #78716c;
    --stone-600: #57534e;
    --stone-700: #44403c;
    --stone-800: #292524;
    --stone-900: #1c1917;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --space-xs: 0.5rem;
    --space-sm: 0.75rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;
    
    --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 12px rgba(6, 78, 59, 0.08);
    --shadow-lg: 0 8px 30px rgba(6, 78, 59, 0.12);
    --shadow-xl: 0 16px 50px rgba(6, 78, 59, 0.15);
}

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

body {
    font-family: var(--font-sans);
    color: var(--stone-800);
    background-color: var(--cream-50);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: var(--space-md);
    background: var(--emerald-800);
    color: var(--cream-50);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-sm);
    z-index: 200;
    font-weight: 500;
}

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

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

/* ---------- Header ---------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 251, 230, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(6, 78, 59, 0.08);
    transition: box-shadow 0.3s ease;
}

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

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-mark {
    width: 40px;
    height: 40px;
    background: var(--emerald-800);
    color: var(--cream-50);
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.logo-line1 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--emerald-900);
}

.logo-line2 {
    font-family: var(--font-sans);
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--stone-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--stone-600);
    transition: color 0.2s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--emerald-700);
    transition: width 0.25s ease;
}

.nav-link:hover {
    color: var(--emerald-800);
}

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

.nav-cta {
    background: var(--emerald-800);
    color: var(--cream-50) !important;
    padding: 8px 18px;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: background 0.2s ease, transform 0.15s ease;
}

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

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

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle-bar {
    width: 22px;
    height: 2px;
    background: var(--stone-700);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
    opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
    background: var(--cream-50);
}

.hero-pattern {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(6, 78, 59, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(6, 78, 59, 0.03) 0%, transparent 50%);
    pointer-events: none;
}

.hero-pattern::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -5%;
    width: 500px;
    height: 500px;
    border: 1px solid rgba(6, 78, 59, 0.06);
    border-radius: 50%;
}

.hero-pattern::after {
    content: '';
    position: absolute;
    top: 35%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(6, 78, 59, 0.05);
    border-radius: 50%;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-eyebrow {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-lg);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.hero-eyebrow::before {
    content: '';
    width: 24px;
    height: 1.5px;
    background: var(--emerald-600);
}

.hero-headline {
    font-family: var(--font-serif);
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--stone-900);
    margin-bottom: var(--space-xl);
}

.hero-accent {
    display: block;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
    color: var(--emerald-700);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    margin-top: var(--space-md);
    line-height: 1.35;
}

.hero-sub {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--stone-600);
    max-width: 520px;
    margin-bottom: var(--space-2xl);
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--emerald-800);
    color: var(--cream-50);
    box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
}

.btn-primary:hover {
    background: var(--emerald-700);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 78, 59, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--stone-700);
    border: 1.5px solid var(--stone-300);
}

.btn-secondary:hover {
    border-color: var(--emerald-700);
    color: var(--emerald-800);
}

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

.hero-trust {
    display: flex;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--stone-500);
}

.trust-item svg {
    color: var(--emerald-600);
    flex-shrink: 0;
}

.hero-image {
    position: relative;
}

.hero-img-wrapper {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.hero-img-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(6, 78, 59, 0.08) 100%);
    pointer-events: none;
}

.hero-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    background: var(--emerald-800);
    color: var(--cream-50);
    padding: var(--space-lg) var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.badge-text {
    font-size: 0.7rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.75;
}

.badge-year {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
}

/* ---------- Section Shared ---------- */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto var(--space-4xl);
}

.section-label {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--emerald-700);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--stone-900);
    margin-bottom: var(--space-lg);
}

.accent-italic {
    font-style: italic;
    color: var(--emerald-700);
}

.section-subtitle {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--stone-500);
}

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

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

.service-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--space-2xl);
    border: 1px solid var(--stone-200);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--emerald-700);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

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

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

.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(6, 78, 59, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    margin-bottom: var(--space-lg);
    transition: background 0.3s ease;
}

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

.service-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.service-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--stone-500);
}

/* ---------- About ---------- */
.about {
    padding: var(--space-5xl) 0;
    background: white;
}

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

.about-image-col {
    position: relative;
}

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

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

.about-img-accent {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 55%;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid white;
}

.about-img-accent img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

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

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

.about-body {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--stone-600);
    margin-bottom: var(--space-lg);
}

.about-values {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-md);
    margin-top: var(--space-2xl);
}

.value-item {
    text-align: center;
    padding: var(--space-lg) var(--space-sm);
    background: var(--cream-50);
    border-radius: var(--radius-md);
}

.value-number {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--emerald-800);
    margin-bottom: 4px;
}

.value-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--stone-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.4;
}

/* ---------- Why Us ---------- */
.why-us {
    padding: var(--space-5xl) 0;
    background: var(--emerald-900);
    color: var(--cream-50);
}

.why-us-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.why-us-content .section-label {
    color: var(--emerald-400);
    text-align: left;
}

.why-us-content .section-title {
    text-align: left;
    color: var(--cream-50);
}

.why-us-content .section-subtitle {
    color: rgba(255, 251, 230, 0.65);
    text-align: left;
}

.why-list {
    margin-top: var(--space-3xl);
    display: flex;
    flex-direction: column;
    gap: var(--space-2xl);
}

.why-item {
    display: grid;
    grid-template-columns: 40px 1fr;
    gap: var(--space-lg);
}

.why-num {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--emerald-500);
    padding-top: 4px;
}

.why-title {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: 6px;
}

.why-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 251, 230, 0.6);
}

.why-visual-card {
    background: rgba(255, 251, 230, 0.06);
    border: 1px solid rgba(255, 251, 230, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    position: sticky;
    top: 100px;
}

.visual-quote {
    position: relative;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.visual-quote svg {
    position: absolute;
    left: 0;
    top: -8px;
}

.quote-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    color: var(--cream-100);
}

.visual-divider {
    width: 50px;
    height: 2px;
    background: var(--emerald-500);
    margin-bottom: var(--space-2xl);
}

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

.stat-number {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--cream-50);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.72rem;
    font-weight: 500;
    color: rgba(255, 251, 230, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ---------- Process ---------- */
.process {
    padding: var(--space-5xl) 0;
    background: var(--cream-50);
}

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

.process-steps::before {
    content: '';
    position: absolute;
    top: 36px;
    left: calc(16.66% + 20px);
    right: calc(16.66% + 20px);
    height: 2px;
    background: linear-gradient(90deg, var(--emerald-300), var(--emerald-600), var(--emerald-300));
    z-index: 0;
}

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
}

.step-number {
    width: 72px;
    height: 72px;
    background: var(--emerald-800);
    color: var(--cream-50);
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto var(--space-xl);
    box-shadow: 0 0 0 8px var(--cream-50), 0 0 0 10px rgba(6, 78, 59, 0.15);
}

.step-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: var(--space-sm);
}

.step-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: var(--stone-500);
    max-width: 280px;
    margin: 0 auto;
}

/* ---------- FAQ ---------- */
.faq {
    padding: var(--space-5xl) 0;
    background: white;
}

.faq-list {
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.faq-item {
    border-bottom: 1px solid var(--stone-200);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-lg);
    padding: var(--space-xl) 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--stone-800);
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--emerald-700);
}

.faq-question[aria-expanded="true"] {
    color: var(--emerald-700);
}

.faq-toggle {
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--stone-100);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.faq-question[aria-expanded="true"] .faq-toggle {
    background: var(--emerald-800);
    color: var(--cream-50);
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-answer.open {
    max-height: 300px;
    padding-bottom: var(--space-xl);
}

.faq-answer p {
    font-size: 0.9rem;
    line-height: 1.8;
    color: var(--stone-500);
}

/* ---------- Contact ---------- */
.contact {
    padding: var(--space-5xl) 0;
    background: var(--cream-50);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-4xl);
    align-items: start;
}

.contact-info .section-label {
    text-align: left;
}

.contact-info .section-title {
    text-align: left;
}

.contact-desc {
    font-size: 1rem;
    line-height: 1.75;
    color: var(--stone-500);
    margin-bottom: var(--space-2xl);
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    text-decoration: none;
    padding: var(--space-md);
    border-radius: var(--radius-md);
    transition: background 0.2s ease;
}

.contact-detail:hover {
    background: white;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    background: rgba(6, 78, 59, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--emerald-700);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--stone-400);
    margin-bottom: 2px;
}

.contact-detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--stone-700);
    line-height: 1.5;
}

.contact-form-col {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--stone-200);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--stone-900);
    margin-bottom: 6px;
}

.form-sub {
    font-size: 0.85rem;
    color: var(--stone-400);
    margin-bottom: var(--space-2xl);
}

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--stone-500);
    margin-bottom: 6px;
}

.form-input {
    width: 100%;
    padding: 12px 14px;
    border: 1.5px solid var(--stone-200);
    border-radius: var(--radius-md);
    font-family: var(--font-sans);
    font-size: 0.9rem;
    color: var(--stone-800);
    background: var(--stone-50);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
}

.form-input:focus {
    border-color: var(--emerald-600);
    box-shadow: 0 0 0 3px rgba(5, 150, 105, 0.1);
    background: white;
}

.form-input::placeholder {
    color: var(--stone-400);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2378716c' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

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

.form-success {
    display: none;
    align-items: center;
    gap: 10px;
    padding: var(--space-md);
    background: rgba(6, 78, 59, 0.06);
    border: 1px solid rgba(6, 78, 59, 0.15);
    border-radius: var(--radius-md);
    color: var(--emerald-800);
    font-size: 0.9rem;
    font-weight: 500;
    margin-top: var(--space-md);
}

.form-success.show {
    display: flex;
}

.form-success svg {
    flex-shrink: 0;
    color: var(--emerald-600);
}

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

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

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

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

.footer-logo .logo-line2 {
    color: var(--stone-500);
}

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

.footer-heading {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--stone-300);
    margin-bottom: var(--space-lg);
}

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

.footer-links a,
.footer-contact a {
    font-size: 0.88rem;
    color: var(--stone-500);
    transition: color 0.2s ease;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: var(--cream-50);
}

.footer-contact span {
    font-size: 0.88rem;
    color: var(--stone-500);
    line-height: 1.6;
}

.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 {
    font-size: 0.8rem;
    color: var(--stone-600);
}

.footer-legal {
    font-size: 0.75rem;
    color: var(--stone-600);
    max-width: 400px;
    text-align: right;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .hero-grid {
        gap: var(--space-3xl);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid {
        gap: var(--space-3xl);
    }
    
    .why-us-layout {
        gap: var(--space-3xl);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 var(--space-lg);
    }
    
    .nav-toggle {
        display: flex;
        z-index: 101;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        padding: 100px var(--space-xl) var(--space-xl);
        transform: translateX(100%);
        transition: transform 0.3s ease;
        box-shadow: var(--shadow-xl);
        z-index: 99;
    }
    
    .nav.open {
        transform: translateX(0);
    }
    
    .nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }
    
    .nav-link {
        padding: var(--space-md) 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--stone-200);
    }
    
    .nav-link::after {
        display: none;
    }
    
    .nav-cta {
        margin-top: var(--space-md);
        text-align: center;
        border-bottom: none;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: var(--space-3xl);
        text-align: center;
    }
    
    .hero-eyebrow {
        justify-content: center;
    }
    
    .hero-sub {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 400px;
        margin: 0 auto;
    }
    
    .hero-badge {
        bottom: -10px;
        left: 50%;
        transform: translateX(-50%);
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-img-accent {
        position: relative;
        bottom: auto;
        right: auto;
        width: 70%;
        margin-top: var(--space-lg);
    }
    
    .about-content .section-label,
    .about-content .section-title {
        text-align: center;
    }
    
    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-us-layout {
        grid-template-columns: 1fr;
    }
    
    .why-visual-card {
        position: relative;
        top: auto;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .process-steps::before {
        display: none;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-info .section-label,
    .contact-info .section-title {
        text-align: center;
    }
    
    .contact-desc {
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-headline {
        font-size: 1.9rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        justify-content: center;
    }
    
    .about-img-accent {
        width: 90%;
    }
    
    .about-values {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-sm);
    }
    
    .visual-stats {
        grid-template-columns: 1fr;
        gap: var(--space-md);
        text-align: center;
    }
}

/* ---------- Animations ---------- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}
