/* ============================================
   Valenzuela Insurance Agency — Stylesheet
   ============================================ */

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

:root {
    --navy: #0A1F44;
    --navy-light: #132D5E;
    --navy-dark: #061530;
    --gold: #C9A84C;
    --gold-light: #D4B96A;
    --gold-dark: #B08D3A;
    --cream: #FAFAF8;
    --white: #FFFFFF;
    --gray-50: #F8F8F6;
    --gray-100: #F0F0EC;
    --gray-200: #E2E2DC;
    --gray-300: #C8C8C0;
    --gray-400: #9A9A90;
    --gray-500: #6E6E66;
    --gray-600: #4A4A44;
    --gray-700: #2E2E28;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-weight: 300;
    color: var(--gray-700);
    background: var(--cream);
    line-height: 1.7;
    overflow-x: hidden;
}

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

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

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

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

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    background: var(--navy);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 0 0 8px 8px;
    z-index: 200;
    font-size: 0.875rem;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ── Preloader ───────────────────────────── */
#page-preloader {
    position: fixed;
    inset: 0;
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

#page-preloader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-icon {
    animation: preloader-pulse 1.2s ease-in-out infinite;
}

@keyframes preloader-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.08); opacity: 0.8; }
}

/* ── Header ──────────────────────────────── */
#site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(250, 250, 248, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: border-color 0.3s, background 0.3s, box-shadow 0.3s;
}

#site-header.scrolled {
    border-bottom-color: var(--gray-200);
    background: rgba(250, 250, 248, 0.95);
    box-shadow: 0 1px 0 rgba(0,0,0,0.04);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 101;
}

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

.logo-name {
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--navy);
    letter-spacing: -0.01em;
}

.logo-sub {
    font-size: 0.625rem;
    font-weight: 400;
    color: var(--gray-500);
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.logo-light .logo-name { color: var(--white); }
.logo-light .logo-sub { color: rgba(255,255,255,0.6); }

/* ── Navigation ──────────────────────────── */
#main-nav {
    display: flex;
    align-items: center;
}

#nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

#nav-menu li a {
    font-size: 0.8125rem;
    font-weight: 400;
    color: var(--gray-600);
    padding: 8px 16px;
    border-radius: 100px;
    transition: color 0.2s, background 0.2s;
    letter-spacing: 0.01em;
}

#nav-menu li a:hover {
    color: var(--navy);
    background: var(--gray-100);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--gold-dark) !important;
    font-weight: 500 !important;
    background: rgba(201, 168, 76, 0.1) !important;
    border: 1px solid rgba(201, 168, 76, 0.3) !important;
}

.nav-cta:hover {
    background: rgba(201, 168, 76, 0.18) !important;
    color: var(--gold-dark) !important;
}

/* ── Mobile Nav Toggle ───────────────────── */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
    padding: 4px 0;
    z-index: 101;
}

.hamburger-line {
    display: block;
    width: 100%;
    height: 1.5px;
    background: var(--navy);
    border-radius: 2px;
    transition: transform 0.3s var(--ease-out), opacity 0.2s;
    transform-origin: center;
}

.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(2) {
    opacity: 0;
}
.nav-toggle[aria-expanded="true"] .hamburger-line:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}

/* ── Buttons ─────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 500;
    padding: 13px 28px;
    border-radius: 100px;
    transition: all 0.25s var(--ease-out);
    letter-spacing: 0.01em;
    white-space: nowrap;
}

.btn-primary {
    background: var(--navy);
    color: var(--white);
    border: 1.5px solid var(--navy);
}

.btn-primary:hover {
    background: var(--navy-light);
    border-color: var(--navy-light);
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(10, 31, 68, 0.2);
}

.btn-ghost {
    background: transparent;
    color: var(--gray-600);
    border: 1.5px solid var(--gray-300);
}

.btn-ghost:hover {
    border-color: var(--navy);
    color: var(--navy);
}

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

/* ── Section Shared ──────────────────────── */
.section-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    line-height: 1.15;
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.section-line {
    width: 48px;
    height: 1px;
    background: var(--gold);
    margin-bottom: 32px;
}

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

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.7;
    pointer-events: none;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
    position: relative;
}

.hero-content {
    max-width: 520px;
}

.hero-eyebrow {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-dark);
    margin-bottom: 20px;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 5.5vw, 4.25rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--navy);
    letter-spacing: -0.025em;
    margin-bottom: 24px;
}

.hero-title .accent {
    font-style: italic;
    color: var(--gold-dark);
}

.hero-desc {
    font-size: 1.0625rem;
    line-height: 1.8;
    color: var(--gray-500);
    margin-bottom: 36px;
    max-width: 440px;
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 48px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
}

.trust-line {
    width: 40px;
    height: 1px;
    background: var(--gold);
    flex-shrink: 0;
}

.hero-trust span {
    font-size: 0.8125rem;
    color: var(--gray-400);
    letter-spacing: 0.02em;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}

.hero-image-frame {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 560 / 680;
}

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

.hero-image-accent {
    position: absolute;
    bottom: -16px;
    right: -16px;
    width: 60%;
    height: 40%;
    border: 1px solid var(--gold);
    border-radius: 16px;
    z-index: -1;
    opacity: 0.5;
}

.hero-stat-card {
    position: absolute;
    bottom: 32px;
    left: -32px;
    background: var(--navy);
    color: var(--white);
    padding: 20px 28px;
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(10, 31, 68, 0.3);
}

.stat-number {
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 600;
    color: var(--gold);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-number span {
    font-size: 1.25rem;
    font-weight: 400;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.04em;
    line-height: 1.5;
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.6875rem;
    color: var(--gray-400);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: scroll-bounce 2s ease-in-out infinite;
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(4px); }
}

/* ── Services ────────────────────────────── */
.services {
    padding: 120px 0;
    background: var(--white);
}

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

.services .section-line {
    margin-left: auto;
    margin-right: auto;
}

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

.service-card {
    padding: 40px 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    background: var(--cream);
    transition: all 0.35s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease-out);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: 0 16px 48px rgba(10, 31, 68, 0.08);
    transform: translateY(-4px);
    background: var(--white);
}

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: rgba(201, 168, 76, 0.1);
    margin-bottom: 24px;
}

.service-card h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.service-card p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gold-dark);
    letter-spacing: 0.02em;
    transition: gap 0.2s;
}

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

/* ── About ───────────────────────────────── */
.about {
    padding: 120px 0;
    background: var(--cream);
}

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

.about-visual {
    position: relative;
}

.about-image-main {
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 520 / 440;
}

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

.about-image-secondary {
    position: absolute;
    bottom: -40px;
    right: -40px;
    border-radius: 12px;
    overflow: hidden;
    border: 4px solid var(--cream);
    aspect-ratio: 340 / 260;
    box-shadow: 0 16px 48px rgba(0,0,0,0.1);
}

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

.about-accent-line {
    position: absolute;
    top: -24px;
    left: -24px;
    width: 80px;
    height: 80px;
    border-left: 1px solid var(--gold);
    border-top: 1px solid var(--gold);
}

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

.about-text {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.about-values {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding-left: 20px;
    border-left: 1px solid var(--gold);
}

.value-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gold-dark);
}

.value-text {
    font-size: 0.9375rem;
    color: var(--gray-600);
    line-height: 1.6;
}

/* ── Why Us ──────────────────────────────── */
.why-us {
    padding: 120px 0;
    background: var(--navy);
    position: relative;
    overflow: hidden;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(201,168,76,0.06) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(201,168,76,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.why-us .container {
    position: relative;
}

.why-us .section-header {
    text-align: center;
    margin-bottom: 72px;
}

.why-us .section-eyebrow {
    color: var(--gold);
}

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

.why-us .section-line {
    margin-left: auto;
    margin-right: auto;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 900px;
    margin: 0 auto;
}

.why-item {
    padding: 40px;
    border: 1px solid rgba(201, 168, 76, 0.15);
    border-radius: 16px;
    background: rgba(255,255,255,0.03);
    transition: all 0.3s var(--ease-out);
}

.why-item:hover {
    border-color: rgba(201, 168, 76, 0.35);
    background: rgba(255,255,255,0.05);
    transform: translateY(-2px);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 300;
    color: rgba(201, 168, 76, 0.25);
    line-height: 1;
    margin-bottom: 16px;
}

.why-item h3 {
    font-family: var(--font-serif);
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
    letter-spacing: -0.01em;
}

.why-item p {
    font-size: 0.9375rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.75;
}

/* ── Contact ─────────────────────────────── */
.contact {
    padding: 120px 0;
    background: var(--white);
}

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

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

.contact-desc {
    font-size: 1rem;
    line-height: 1.85;
    color: var(--gray-500);
    margin-bottom: 40px;
}

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

.contact-detail {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    text-decoration: none;
    transition: opacity 0.2s;
}

.contact-detail:hover {
    opacity: 0.7;
}

.contact-detail-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(201, 168, 76, 0.1);
    flex-shrink: 0;
}

.contact-detail-label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
    margin-bottom: 2px;
}

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

.contact-hours {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 20px 24px;
    background: var(--gray-50);
    border-radius: 12px;
    border: 1px solid var(--gray-100);
}

.hours-label {
    font-size: 0.6875rem;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--gray-400);
}

.hours-value {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* ── Contact Form ────────────────────────── */
.contact-form-wrap {
    background: var(--cream);
    border-radius: 20px;
    padding: 48px;
    border: 1px solid var(--gray-100);
}

.form-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy);
    margin-bottom: 32px;
    letter-spacing: -0.01em;
}

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

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

.form-group label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--gray-600);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.optional {
    font-weight: 300;
    color: var(--gray-400);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-200);
    border-radius: 10px;
    font-family: var(--font-sans);
    font-size: 0.9375rem;
    font-weight: 300;
    color: var(--gray-700);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201, 168, 76, 0.12);
}

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

.form-group select {
    cursor: pointer;
    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='%239A9A90' 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 14px center;
    padding-right: 40px;
}

.form-privacy {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-align: center;
    margin-top: 16px;
}

.form-success {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: rgba(22, 163, 74, 0.06);
    border: 1px solid rgba(22, 163, 74, 0.2);
    border-radius: 10px;
    margin-top: 16px;
    font-size: 0.9375rem;
    color: #16A34A;
}

/* ── Footer ──────────────────────────────── */
#site-footer {
    background: var(--navy-dark);
    padding: 56px 0 32px;
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-nav {
    display: flex;
    gap: 8px;
}

.footer-nav a {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.5);
    padding: 8px 16px;
    border-radius: 100px;
    transition: color 0.2s, background 0.2s;
}

.footer-nav a:hover {
    color: var(--white);
    background: rgba(255,255,255,0.06);
}

.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.08);
    margin-bottom: 24px;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-copy {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

.footer-address {
    font-size: 0.8125rem;
    color: rgba(255,255,255,0.35);
}

/* ── Back to Top ─────────────────────────── */
.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--navy);
    color: var(--white);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(10, 31, 68, 0.3);
    z-index: 90;
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
}

.back-to-top[hidden] {
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    pointer-events: none;
}

.back-to-top:hover {
    transform: translateY(-2px);
}

/* ── Reveal Animation ────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.reveal:nth-child(2) { transition-delay: 0.08s; }
.reveal:nth-child(3) { transition-delay: 0.16s; }
.reveal:nth-child(4) { transition-delay: 0.24s; }
.reveal:nth-child(5) { transition-delay: 0.32s; }
.reveal:nth-child(6) { transition-delay: 0.40s; }

/* ── Responsive ──────────────────────────── */
@media (max-width: 1024px) {
    .hero-inner {
        gap: 48px;
    }
    
    .about-grid {
        gap: 56px;
    }
    
    .contact-grid {
        gap: 56px;
    }
}

@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stat-card {
        left: -16px;
        bottom: 20px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    #nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(320px, 85vw);
        flex-direction: column;
        align-items: stretch;
        background: var(--white);
        padding: 100px 32px 40px;
        gap: 4px;
        box-shadow: -16px 0 48px rgba(0,0,0,0.1);
        transform: translateX(100%);
        transition: transform 0.35s var(--ease-out);
        z-index: 100;
    }
    
    #nav-menu.open {
        transform: translateX(0);
    }
    
    #nav-menu li a {
        font-size: 1rem;
        padding: 14px 16px;
        border-radius: 8px;
    }
    
    .nav-cta {
        margin-top: 16px;
        justify-content: center;
        padding: 14px 16px !important;
    }
    
    .nav-overlay {
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.3);
        z-index: 99;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s, visibility 0.3s;
    }
    
    .nav-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .hero {
        padding: 120px 0 100px;
    }
    
    .hero-inner {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        max-width: 480px;
    }
    
    .hero-stat-card {
        left: 0;
        bottom: 16px;
    }
    
    .hero-scroll-indicator {
        display: none;
    }
    
    .services {
        padding: 80px 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about {
        padding: 80px 0;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 56px;
    }
    
    .about-image-secondary {
        right: 0;
        bottom: -24px;
    }
    
    .about-accent-line {
        top: -16px;
        left: -16px;
        width: 48px;
        height: 48px;
    }
    
    .why-us {
        padding: 80px 0;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .why-item {
        padding: 28px;
    }
    
    .contact {
        padding: 80px 0;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrap {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 24px;
        align-items: flex-start;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .hero-actions .btn {
        justify-content: center;
    }
    
    .stat-card {
        padding: 16px 20px !important;
    }
    
    .stat-number {
        font-size: 1.75rem !important;
    }
}
