/* ========================================
   Fiene Randall C CPA — Brand Styles
   Teal + Slate Grey | Bold Editorial
   ======================================== */

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

:root {
    /* Teal palette */
    --teal-50: #f0fdfa;
    --teal-100: #ccfbf1;
    --teal-200: #99f6e4;
    --teal-300: #5eead4;
    --teal-400: #2dd4bf;
    --teal-500: #14b8a6;
    --teal-600: #0d9488;
    --teal-700: #0f766e;
    --teal-800: #115e59;
    --teal-900: #134e4a;
    --teal-950: #042f2e;

    /* Slate palette */
    --slate-50: #f8fafc;
    --slate-100: #f1f5f9;
    --slate-200: #e2e8f0;
    --slate-300: #cbd5e1;
    --slate-400: #94a3b8;
    --slate-500: #64748b;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1e293b;
    --slate-900: #0f172a;
    --slate-950: #020617;

    /* Neutrals */
    --white: #ffffff;
    --black: #000000;

    /* Typography */
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 4rem;
    --space-3xl: 6rem;
    --space-4xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

body {
    font-family: var(--font-sans);
    color: var(--slate-800);
    background: var(--white);
    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 {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

address {
    font-style: normal;
}

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

/* ---------- Section Labels & Titles ---------- */
.section-label {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-700);
    margin-bottom: var(--space-sm);
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--slate-900);
    margin-bottom: var(--space-md);
}

.section-title--accent {
    color: var(--teal-700);
    font-style: italic;
}

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

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

.btn--primary {
    background: var(--teal-700);
    color: var(--white);
    border-color: var(--teal-700);
}

.btn--primary:hover {
    background: var(--teal-800);
    border-color: var(--teal-800);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(13, 148, 136, 0.3);
}

.btn--ghost {
    background: transparent;
    color: var(--slate-700);
    border-color: var(--slate-300);
}

.btn--ghost:hover {
    border-color: var(--teal-700);
    color: var(--teal-700);
    transform: translateY(-2px);
}

.btn--white {
    background: var(--white);
    color: var(--teal-800);
    border-color: var(--white);
}

.btn--white:hover {
    background: var(--teal-50);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.btn--outline-white {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn--outline-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--white);
    transform: translateY(-2px);
}

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

/* ========== NAVIGATION ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--slate-100);
    transition: box-shadow var(--transition-base);
}

.nav.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.nav__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav__logo {
    display: flex;
    flex-direction: column;
    line-height: 1.1;
}

.nav__logo-text {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
}

.nav__logo-sub {
    font-family: var(--font-sans);
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-700);
}

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

.nav__link {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-600);
    transition: color var(--transition-fast);
    position: relative;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--teal-600);
    transition: width var(--transition-base);
}

.nav__link:hover {
    color: var(--teal-700);
}

.nav__link:hover::after {
    width: 100%;
}

.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: var(--teal-700);
    padding: 0.625rem 1.25rem;
    border-radius: 8px;
    transition: all var(--transition-base);
}

.nav__cta:hover {
    background: var(--teal-800);
    transform: translateY(-1px);
}

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

.nav__toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--slate-700);
    transition: all var(--transition-base);
    border-radius: 2px;
}

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

.nav__toggle.active .nav__toggle-line:nth-child(2) {
    opacity: 0;
}

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

/* Mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-lg);
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-menu__link {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--slate-800);
    transition: color var(--transition-fast);
}

.mobile-menu__link:hover {
    color: var(--teal-700);
}

.mobile-menu__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: var(--teal-700);
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    margin-top: var(--space-md);
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 120px var(--space-lg) var(--space-3xl);
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--teal-50) 0%, transparent 70%);
    pointer-events: none;
}

.hero__grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--teal-700);
    background: var(--teal-50);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    margin-bottom: var(--space-lg);
    border: 1px solid var(--teal-100);
}

.hero__headline {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5vw, 4.25rem);
    font-weight: 800;
    line-height: 1.08;
    color: var(--slate-900);
    margin-bottom: var(--space-lg);
}

.hero__accent {
    color: var(--teal-700);
    font-style: italic;
    font-weight: 600;
}

.hero__lead {
    font-size: 1.125rem;
    color: var(--slate-600);
    line-height: 1.75;
    max-width: 480px;
    margin-bottom: var(--space-xl);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-2xl);
}

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

.hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hero__stat-number {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 700;
    color: var(--teal-700);
    line-height: 1;
}

.hero__stat-label {
    font-size: 0.8125rem;
    color: var(--slate-500);
    font-weight: 500;
}

.hero__stat-divider {
    width: 1px;
    height: 40px;
    background: var(--slate-200);
}

/* Hero visual */
.hero__visual {
    position: relative;
}

.hero__image-wrapper {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.hero__image-wrapper img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

.hero__image-accent {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 40%;
    background: linear-gradient(to top, rgba(4, 47, 46, 0.4), transparent);
    pointer-events: none;
}

.hero__badge {
    position: absolute;
    bottom: -20px;
    left: -20px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: var(--teal-800);
    color: var(--white);
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
}

.hero__badge svg {
    flex-shrink: 0;
}

.hero__badge span {
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero__line {
    max-width: 1200px;
    margin: 0 auto;
    height: 1px;
    background: linear-gradient(to right, var(--teal-200), var(--slate-200), transparent);
}

/* ========== SERVICES ========== */
.services {
    padding: var(--space-4xl) 0;
    background: var(--slate-50);
}

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

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

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

.service-card {
    background: var(--white);
    border-radius: 16px;
    padding: var(--space-xl);
    border: 1px solid var(--slate-100);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--teal-600);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    border-color: var(--teal-100);
}

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

.service-card__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 12px;
    color: var(--teal-700);
    margin-bottom: var(--space-md);
    transition: all var(--transition-base);
}

.service-card:hover .service-card__icon {
    background: var(--teal-700);
    color: var(--white);
}

.service-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.service-card__desc {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.65;
    margin-bottom: var(--space-md);
}

.service-card__list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.service-card__list li {
    font-size: 0.875rem;
    color: var(--slate-600);
    padding-left: 1.25rem;
    position: relative;
}

.service-card__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.45em;
    width: 6px;
    height: 6px;
    background: var(--teal-400);
    border-radius: 50%;
}

/* ========== ABOUT ========== */
.about {
    padding: var(--space-4xl) 0;
    background: var(--white);
}

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

.about__visual {
    position: relative;
}

.about__image-stack {
    position: relative;
}

.about__image-main {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

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

.about__image-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border: 4px solid var(--white);
}

.about__image-secondary img {
    width: 280px;
    height: 200px;
    object-fit: cover;
}

.about__experience-badge {
    position: absolute;
    top: -20px;
    right: 40px;
    background: var(--teal-800);
    color: var(--white);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(13, 148, 136, 0.3);
}

.about__experience-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1;
    color: var(--teal-200);
}

.about__experience-text {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-top: 0.25rem;
}

.about__content {
    max-width: 520px;
}

.about__text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

.about__values {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-sm);
    margin-top: var(--space-xl);
}

.about__value {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--slate-700);
}

.about__value svg {
    color: var(--teal-600);
    flex-shrink: 0;
}

/* ========== WHY US ========== */
.why-us {
    padding: var(--space-4xl) 0;
    background: var(--slate-900);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.why-us::after {
    content: '';
    position: absolute;
    bottom: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(20, 184, 166, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.why-us__header {
    text-align: center;
    margin-bottom: var(--space-3xl);
    position: relative;
    z-index: 1;
}

.why-us__header .section-label {
    color: var(--teal-400);
}

.why-us__header .section-title {
    color: var(--white);
}

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

.why-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: var(--space-xl);
    transition: all var(--transition-base);
}

.why-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(20, 184, 166, 0.3);
    transform: translateY(-4px);
}

.why-card__number {
    display: block;
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 800;
    color: var(--teal-700);
    opacity: 0.4;
    line-height: 1;
    margin-bottom: var(--space-md);
}

.why-card__title {
    font-family: var(--font-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: var(--space-sm);
    line-height: 1.3;
}

.why-card__desc {
    font-size: 0.9375rem;
    color: var(--slate-400);
    line-height: 1.7;
}

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

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}

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

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

.cta-banner__content .section-label {
    color: var(--teal-300);
}

.cta-banner__title {
    font-family: var(--font-serif);
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.cta-banner__title em {
    color: var(--teal-300);
    font-style: italic;
}

.cta-banner__text {
    font-size: 1.0625rem;
    color: var(--teal-200);
    line-height: 1.7;
    max-width: 480px;
}

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

/* ========== CONTACT ========== */
.contact {
    padding: var(--space-4xl) 0;
    background: var(--slate-50);
}

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

.contact__info {
    max-width: 480px;
}

.contact__text {
    font-size: 1rem;
    color: var(--slate-600);
    line-height: 1.75;
    margin-bottom: var(--space-xl);
}

.contact__details {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.contact__detail {
    display: flex;
    gap: var(--space-md);
    align-items: flex-start;
}

.contact__detail-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 12px;
    color: var(--teal-700);
    flex-shrink: 0;
}

.contact__detail-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--slate-400);
    margin-bottom: 0.25rem;
}

.contact__detail-content {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.contact__detail-content address,
.contact__detail-content span {
    font-size: 0.9375rem;
    color: var(--slate-700);
    line-height: 1.6;
}

.contact__detail-content a {
    color: var(--teal-700);
    font-weight: 600;
    transition: color var(--transition-fast);
}

.contact__detail-content a:hover {
    color: var(--teal-600);
}

.contact__map {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

/* Contact form */
.contact__form-wrapper {
    max-width: 520px;
}

.contact__form-card {
    background: var(--white);
    border-radius: 16px;
    padding: var(--space-xl);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--slate-100);
}

.contact__form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.contact__form-subtitle {
    font-size: 0.9375rem;
    color: var(--slate-500);
    margin-bottom: var(--space-lg);
}

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

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--slate-700);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    color: var(--slate-800);
    background: var(--slate-50);
    border: 1.5px solid var(--slate-200);
    border-radius: 10px;
    transition: all var(--transition-fast);
    outline: none;
}

.form-input:focus {
    border-color: var(--teal-500);
    background: var(--white);
    box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.1);
}

.form-input::placeholder {
    color: var(--slate-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='%2394a3b8' stroke-width='2' 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 1rem center;
    padding-right: 2.5rem;
    cursor: pointer;
}

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

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

.form-success__icon {
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--teal-50);
    border-radius: 50%;
    margin: 0 auto var(--space-md);
    color: var(--teal-700);
}

.form-success__title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--slate-900);
    margin-bottom: 0.5rem;
}

.form-success__text {
    font-size: 0.9375rem;
    color: var(--slate-600);
    line-height: 1.7;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--slate-950);
    color: var(--slate-400);
    padding: var(--space-4xl) 0 var(--space-lg);
}

.footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__logo {
    display: flex;
    flex-direction: column;
    margin-bottom: var(--space-md);
}

.footer__logo-name {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.1;
}

.footer__logo-cpa {
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--teal-500);
}

.footer__tagline {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-500);
    max-width: 280px;
}

.footer__heading {
    font-family: var(--font-sans);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: var(--space-md);
}

.footer__ul {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.footer__link {
    font-size: 0.9375rem;
    color: var(--slate-500);
    transition: color var(--transition-fast);
}

.footer__link:hover {
    color: var(--teal-400);
}

.footer__address {
    font-size: 0.9375rem;
    line-height: 1.7;
    color: var(--slate-500);
    margin-bottom: 0.5rem;
}

.footer__phone {
    font-size: 1rem;
    font-weight: 600;
    color: var(--teal-400);
    transition: color var(--transition-fast);
}

.footer__phone:hover {
    color: var(--teal-300);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: var(--space-sm);
}

.footer__copyright {
    font-size: 0.875rem;
    color: var(--slate-600);
}

.footer__legal {
    font-size: 0.8125rem;
    color: var(--slate-700);
}

/* ========== SCROLL REVEAL ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal[data-reveal-delay="1"] { transition-delay: 0.1s; }
.reveal[data-reveal-delay="2"] { transition-delay: 0.2s; }
.reveal[data-reveal-delay="3"] { transition-delay: 0.3s; }
.reveal[data-reveal-delay="4"] { transition-delay: 0.4s; }
.reveal[data-reveal-delay="5"] { transition-delay: 0.5s; }
.reveal[data-reveal-delay="6"] { transition-delay: 0.6s; }

/* Hidden state for JS-enhanced reveals */
@media (prefers-reduced-motion: no-preference) {
    .reveal-hidden {
        opacity: 0;
        transform: translateY(24px);
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html {
        scroll-behavior: auto;
    }
    .reveal-hidden {
        opacity: 1;
        transform: none;
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .hero__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .hero__visual {
        max-width: 500px;
    }

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

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

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

@media (max-width: 768px) {
    :root {
        --space-4xl: 5rem;
        --space-3xl: 4rem;
    }

    .nav__links {
        display: none;
    }

    .nav__toggle {
        display: flex;
    }

    .hero {
        padding: 100px var(--space-md) var(--space-2xl);
        min-height: auto;
    }

    .hero__grid {
        gap: var(--space-xl);
    }

    .hero__headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero__image-wrapper img {
        height: 350px;
    }

    .hero__badge {
        bottom: -15px;
        left: 10px;
        padding: 0.75rem 1rem;
    }

    .hero__stats {
        gap: var(--space-md);
    }

    .hero__stat-number {
        font-size: 1.5rem;
    }

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

    .about__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

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

    .about__experience-badge {
        right: 20px;
        top: -15px;
    }

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

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

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

    .cta-banner__text {
        margin: 0 auto;
    }

    .contact__grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }

    .contact__info {
        max-width: 100%;
    }

    .contact__form-wrapper {
        max-width: 100%;
    }

    .footer__grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }

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

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

    .hero__actions {
        flex-direction: column;
    }

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

    .hero__stats {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--space-sm);
    }

    .hero__stat-divider {
        display: none;
    }

    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 0.875rem;
    }

    .service-card {
        padding: var(--space-lg);
    }
}
