/* ===================================
   ALLSTATE STUDIACITY INSURANCE AGENCY
   Classic & Elegant Design System
   =================================== */

/* --- CSS Custom Properties --- */
:root {
    --color-emerald-900: #064e3b;
    --color-emerald-800: #065f46;
    --color-emerald-700: #047857;
    --color-emerald-600: #059669;
    --color-emerald-500: #10b981;
    --color-cream-50: #faf9f6;
    --color-cream-100: #f5f3ed;
    --color-cream-200: #ebe8df;
    --color-cream-300: #e0dbce;
    --color-text-dark: #1a1a1a;
    --color-text-body: #3d3d3d;
    --color-text-muted: #6b6b6b;
    --color-text-light: #949494;
    --color-white: #ffffff;
    --color-black: #0a0a0a;
    
    --font-serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.08), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.05);
    
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    
    --transition-fast: 0.15s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
}

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

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

body {
    font-family: var(--font-sans);
    color: var(--color-text-body);
    background-color: var(--color-cream-50);
    line-height: 1.7;
    -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;
    transition: color var(--transition-fast);
}

ul {
    list-style: none;
}

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

/* --- Typography --- */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    color: var(--color-text-dark);
    line-height: 1.2;
    font-weight: 500;
}

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

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

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

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

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

.btn--white {
    background: var(--color-white);
    color: var(--color-emerald-900);
    border-color: var(--color-white);
}

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

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

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

.btn--full {
    width: 100%;
    justify-content: center;
    padding: 16px 28px;
}

/* --- Section Shared --- */
.section-tag {
    display: inline-block;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-emerald-700);
    margin-bottom: 12px;
}

.section-tag--light {
    color: rgba(255,255,255,0.7);
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 16px;
}

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

.section-desc {
    font-size: 1.063rem;
    color: var(--color-text-muted);
    max-width: 560px;
    line-height: 1.7;
}

.section-desc--light {
    color: rgba(255,255,255,0.75);
}

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

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

/* --- Navigation --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-base);
}

.navbar.scrolled {
    background: rgba(250, 249, 246, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.logo--light .logo-main,
.logo--light .logo-sub {
    color: var(--color-white);
}

.navbar.scrolled .logo-main,
.navbar.scrolled .logo-sub {
    color: var(--color-emerald-900);
}

.logo-icon {
    color: var(--color-emerald-600);
}

.logo-main {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: -0.01em;
}

.logo-sub {
    display: block;
    font-family: var(--font-sans);
    font-size: 0.688rem;
    font-weight: 500;
    color: rgba(255,255,255,0.65);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-top: 1px;
}

.navbar.scrolled .logo-sub {
    color: var(--color-text-muted);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
    transition: color var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: currentColor;
    transition: width var(--transition-base);
}

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

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

.navbar.scrolled .nav-link {
    color: var(--color-text-body);
}

.navbar.scrolled .nav-link:hover {
    color: var(--color-emerald-700);
}

.nav-link--cta {
    background: var(--color-emerald-600);
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
}

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

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

.navbar.scrolled .nav-link--cta {
    color: var(--color-white) !important;
}

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

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    border-radius: 2px;
    transition: all var(--transition-base);
}

.navbar.scrolled .nav-toggle span {
    background: var(--color-emerald-900);
}

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

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

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

/* --- Hero Section --- */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: linear-gradient(135deg, #042e24 0%, #064e3b 25%, #047857 50%, #065f46 75%, #022c22 100%);
}

.hero-gradient {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 20% 80%, rgba(16, 185, 129, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 20%, rgba(6, 123, 87, 0.2) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 50%, rgba(4, 120, 87, 0.1) 0%, transparent 60%);
}

.hero-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 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='1'%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");
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.813rem;
    font-weight: 500;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    backdrop-filter: blur(4px);
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 400;
    color: var(--color-white);
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.headline-accent {
    font-style: italic;
    color: rgba(167, 243, 208, 0.9);
}

.hero-subtitle {
    font-size: clamp(1rem, 1.5vw, 1.188rem);
    color: rgba(255,255,255,0.72);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.75;
}

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

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--color-white);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.55);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

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

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

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

/* --- Services Section --- */
.services {
    padding: 120px 0;
    background: var(--color-cream-50);
}

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

.service-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--color-cream-200);
    transition: all var(--transition-base);
    opacity: 0;
    transform: translateY(24px);
}

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

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

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--color-emerald-50, #ecfdf5), var(--color-cream-100));
    border-radius: var(--radius-md);
    color: var(--color-emerald-700);
    margin-bottom: 20px;
}

.service-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    font-weight: 500;
}

.service-desc {
    font-size: 0.938rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-emerald-700);
    transition: gap var(--transition-base);
}

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

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

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

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

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

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

.about-image-accent {
    position: absolute;
    bottom: -32px;
    right: -32px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    border: 4px solid var(--color-cream-100);
}

.about-image-accent img {
    width: 400px;
    height: 300px;
    object-fit: cover;
}

.about-experience-badge {
    position: absolute;
    top: -20px;
    left: -20px;
    background: var(--color-emerald-800);
    color: var(--color-white);
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow-lg);
}

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

.exp-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    opacity: 0.8;
}

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

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

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

.about-feature {
    display: flex;
    align-items: center;
    gap: 12px;
}

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

.about-feature span {
    font-size: 0.938rem;
    color: var(--color-text-body);
    font-weight: 450;
}

/* --- Why Us Section --- */
.why-us {
    padding: 120px 0;
    background: linear-gradient(135deg, #042e24 0%, #064e3b 50%, #047857 100%);
    position: relative;
}

.why-us::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image: 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='1'%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");
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    position: relative;
}

.why-card {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    backdrop-filter: blur(4px);
    transition: all var(--transition-base);
}

.why-card:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.18);
    transform: translateY(-4px);
}

.why-number {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: rgba(255,255,255,0.1);
    line-height: 1;
    margin-bottom: 16px;
}

.why-title {
    font-size: 1.375rem;
    color: var(--color-white);
    margin-bottom: 12px;
    font-weight: 500;
}

.why-desc {
    font-size: 0.938rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
}

/* --- Testimonials Section --- */
.testimonials {
    padding: 120px 0;
    background: var(--color-cream-50);
}

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

.testimonial-card {
    background: var(--color-white);
    border-radius: var(--radius-lg);
    padding: 36px 28px;
    border: 1px solid var(--color-cream-200);
    transition: all var(--transition-base);
}

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

.testimonial-quote {
    color: var(--color-emerald-300, #6ee7b7);
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 0.938rem;
    color: var(--color-text-body);
    line-height: 1.8;
    margin-bottom: 24px;
    font-style: italic;
}

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

.author-avatar {
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
}

.author-name {
    display: block;
    font-weight: 600;
    font-size: 0.938rem;
    color: var(--color-text-dark);
}

.author-location {
    display: block;
    font-size: 0.813rem;
    color: var(--color-text-light);
    margin-top: 2px;
}

/* --- CTA Section --- */
.cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--color-emerald-800) 0%, var(--color-emerald-600) 100%);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 50%, rgba(255,255,255,0.05) 0%, transparent 60%);
}

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

.cta-content .section-title {
    margin-bottom: 20px;
}

.cta-text {
    font-size: 1.063rem;
    color: rgba(255,255,255,0.78);
    margin-bottom: 36px;
    line-height: 1.75;
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* --- Contact Section --- */
.contact {
    padding: 120px 0;
    background: var(--color-cream-100);
}

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

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

.contact-desc {
    font-size: 1rem;
    color: var(--color-text-muted);
    margin-bottom: 40px;
    line-height: 1.75;
}

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

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

.contact-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-white);
    border-radius: var(--radius-md);
    color: var(--color-emerald-700);
    flex-shrink: 0;
    box-shadow: var(--shadow-sm);
}

.contact-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-text-light);
    margin-bottom: 4px;
}

.contact-value {
    display: block;
    font-size: 0.938rem;
    color: var(--color-text-body);
    line-height: 1.6;
}

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

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

/* Contact Form */
.contact-form-wrapper {
    background: var(--color-white);
    border-radius: var(--radius-xl);
    padding: 40px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--color-cream-200);
}

.form-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.form-subtitle {
    font-size: 0.938rem;
    color: var(--color-text-muted);
    margin-bottom: 28px;
}

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

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

.form-input {
    width: 100%;
    padding: 12px 16px;
    font-family: var(--font-sans);
    font-size: 0.938rem;
    color: var(--color-text-dark);
    background: var(--color-cream-50);
    border: 1.5px solid var(--color-cream-300);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
    outline: none;
}

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

.form-input::placeholder {
    color: var(--color-text-light);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%236b6b6b' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
    cursor: pointer;
}

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

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

.form-success.show {
    display: block;
    animation: fadeIn 0.4s ease;
}

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

.form-success h4 {
    font-size: 1.375rem;
    margin-bottom: 8px;
}

.form-success p {
    font-size: 0.938rem;
    color: var(--color-text-muted);
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* --- Map Section --- */
.map-section {
    height: 380px;
    filter: grayscale(30%);
}

.map-section iframe {
    width: 100%;
    height: 100%;
}

/* --- Footer --- */
.footer {
    background: var(--color-emerald-900);
    padding: 80px 0 0;
    color: rgba(255,255,255,0.7);
}

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

.footer-brand .logo-sub {
    color: rgba(255,255,255,0.5);
}

.footer-tagline {
    font-size: 0.938rem;
    line-height: 1.75;
    margin-top: 16px;
    color: rgba(255,255,255,0.55);
    max-width: 280px;
}

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

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

.footer-links li a,
.footer-contact li a {
    font-size: 0.938rem;
    color: rgba(255,255,255,0.6);
    transition: color var(--transition-fast);
}

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

.footer-contact li {
    font-size: 0.938rem;
    line-height: 1.7;
}

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

.copyright {
    font-size: 0.813rem;
    color: rgba(255,255,255,0.4);
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: rgba(255,255,255,0.25);
    max-width: 500px;
    text-align: right;
    line-height: 1.6;
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--color-emerald-900);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 24px;
        transition: right var(--transition-base);
        box-shadow: -10px 0 30px rgba(0,0,0,0.2);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .nav-link {
        color: rgba(255,255,255,0.8) !important;
        font-size: 1.063rem;
    }
    
    .nav-link:hover {
        color: var(--color-white) !important;
    }
    
    .nav-link--cta {
        margin-top: 8px;
    }
    
    .hero-headline {
        font-size: clamp(1.75rem, 6vw, 2.75rem);
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 40px;
        height: 1px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
    }
    
    .about-image-accent {
        right: 16px;
        bottom: -16px;
    }
    
    .about-image-accent img {
        width: 260px;
        height: 200px;
    }
    
    .about-experience-badge {
        top: -12px;
        left: -12px;
        padding: 14px 18px;
    }
    
    .exp-number {
        font-size: 1.75rem;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .contact-form-wrapper {
        padding: 28px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .cta-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-disclaimer {
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .hero-content {
        padding: 100px 16px 60px;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .services, .about, .why-us, .testimonials, .contact {
        padding: 80px 0;
    }
    
    .section-header {
        margin-bottom: 48px;
    }
}

/* --- Animations --- */
@media (prefers-reduced-motion: no-preference) {
    .service-card {
        transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
    
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
}
