/* Modern CSS Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--color-dark-gray);
    overflow-x: hidden;
}

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

/* Design System - Premium Clear Coast */
:root {
    /* Primary Colors */
    --color-primary: #6AADE4;
    --color-primary-dark: #4A95D1;
    --color-primary-light: #8AC2ED;

    /* Secondary Accent - Coral Pink (use very sparingly) */
    --color-coral: #E8736B;
    --color-coral-light: #F2A9A4;

    /* Gold Accent */
    --color-accent: #c9a962;
    --color-accent-hover: #b8984f;

    /* Neutral Colors */
    --color-white: #ffffff;
    --color-warm-gray: #f8f7f5;
    --color-medium-gray: #6b7280;
    --color-dark-gray: #1f2937;
    --color-border: #e5e7eb;

    /* Semantic Colors */
    --color-success: #10b981;
    --color-error: #ef4444;
    --color-star: #f59e0b;

    /* Legacy aliases for compatibility */
    --primary-color: var(--color-primary);
    --primary-dark: var(--color-primary-light);
    --accent-color: var(--color-accent);
    --success-color: var(--color-success);
    --text-dark: var(--color-dark-gray);
    --text-light: var(--color-medium-gray);
    --bg-light: var(--color-warm-gray);
    --bg-white: var(--color-white);
    --border-color: var(--color-border);

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;

    /* Type Scale */
    --text-hero: 4rem;
    --text-h1: 3.5rem;
    --text-h2: 2.75rem;
    --text-h3: 1.5rem;
    --text-body-lg: 1.25rem;
    --text-body: 1.125rem;
    --text-small: 0.875rem;

    /* Spacing Scale */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 5rem;
    --space-5xl: 7.5rem;

    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-subtle: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-card: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-elevated: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-dramatic: 0 20px 40px rgba(0, 0, 0, 0.15);

    /* Legacy shadow aliases */
    --shadow-light: var(--shadow-subtle);
    --shadow-medium: var(--shadow-card);
    --shadow-large: var(--shadow-elevated);

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

    --nav-height: 80px;
    --hero-media-height: 70vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--color-dark-gray);
    margin-bottom: var(--space-md);
}

h1 {
    font-size: var(--text-h1);
    line-height: 1.1;
    letter-spacing: -0.02em;
    font-weight: 700;
}

h2 {
    font-size: var(--text-h2);
    line-height: 1.15;
    letter-spacing: -0.01em;
}

h3 {
    font-size: var(--text-h3);
    line-height: 1.25;
}

h4 {
    font-size: var(--text-body-lg);
    line-height: 1.3;
}

h5 {
    font-size: var(--text-body);
    line-height: 1.4;
}

h6 {
    font-size: var(--text-small);
    line-height: 1.4;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

p {
    font-family: var(--font-body);
    font-size: var(--text-body);
    color: var(--color-medium-gray);
    line-height: 1.7;
    margin-bottom: var(--space-md);
}

/* Text utilities */
.text-large {
    font-size: var(--text-body-lg);
    line-height: 1.6;
}

.text-small {
    font-size: var(--text-small);
    line-height: 1.5;
}

.text-primary {
    color: var(--color-primary);
}

.text-accent {
    color: var(--color-accent);
}

.text-white {
    color: var(--color-white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid transparent;
    z-index: 1000;
    transition: var(--transition-base);
    box-shadow: none;
}

.navbar.scrolled {
    background: var(--color-white);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-card);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--color-white);
}

.nav-logo .logo-img {
    height: 37px;
    width: auto;
    transition: var(--transition-fast);
}

.nav-logo:hover .logo-img {
    transform: scale(1.02);
}

.navbar.scrolled .nav-link {
    color: var(--color-dark-gray);
}

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

.navbar.scrolled .nav-logo {
    color: var(--color-dark-gray);
}

.nav-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: var(--space-xl);
}

.nav-link {
    font-family: var(--font-body);
    font-size: var(--text-small);
    font-weight: 500;
    text-decoration: none;
    color: var(--color-white);
    transition: var(--transition-fast);
    position: relative;
    padding: var(--space-sm) 0;
}

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

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

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

/* CTA Button in nav */
.cta-button {
    background: var(--color-coral) !important;
    color: var(--color-white) !important;
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    transition: var(--transition-fast);
    border: none;
    outline: none;
    font-family: var(--font-body);
    cursor: pointer;
    appearance: none;
}

.cta-button:hover {
    background: #d65f57 !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: var(--space-sm);
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--color-dark-gray);
    margin: 3px 0;
    border-radius: 2px;
    transition: var(--transition-base);
}

/* Hero Section */
.hero {
    background-color: #6AADE4 !important;
    background-image: radial-gradient(1200px 600px at 15% 20%, rgba(255, 255, 255, 0.18), transparent 60%),
        radial-gradient(900px 500px at 85% 30%, rgba(138, 194, 237, 0.25), transparent 65%);
    color: #ffffff !important;
    min-height: 100vh;
    padding: 0;
    position: relative;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    opacity: 0.25;
    filter: blur(10px);
    pointer-events: none;
    width: 280px;
    height: 280px;
    bottom: 12%;
    right: -80px;
    background: rgba(201, 169, 98, 0.28);
}

.hero::before {
    content: none;
}


.hero-media {
    position: absolute;
    top: var(--nav-height);
    left: 0;
    right: 0;
    height: var(--hero-media-height);
    z-index: 0;
    display: block;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    filter: saturate(1.05) contrast(1.05);
    opacity: 0.8;
}

.hero-container {
    position: relative;
    z-index: 1;
}

.hero .hero-tagline,
.hero .hero-description,
.hero .stat-number,
.hero .stat-label {
    color: #ffffff !important;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    width: 100%;
}

.hero-content {
    max-width: 760px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: var(--hero-media-height);
    margin-top: var(--nav-height);
    padding: 0 0 60px;
    justify-content: center;
}

.hero-brand-logo {
    width: min(440px, 76vw);
    height: auto;
    margin-bottom: 0.7rem;
}

.hero-tagline {
    font-family: 'Playfair Display', serif;
    font-size: 4.25rem;
    margin-bottom: 1.25rem;
    color: #ffffff;
    max-width: 800px;
    line-height: 1.05;
    letter-spacing: -0.02em;
}


.hero-tagline.is-typing {
    position: relative;
    white-space: nowrap;
}

.hero-tagline.is-typing::after {
    content: '';
    display: inline-block;
    width: 2px;
    height: 1em;
    margin-left: 0.15em;
    background: rgba(255, 255, 255, 0.9);
    animation: blink 0.85s steps(2, end) infinite;
    transform: translateY(0.08em);
}

@keyframes blink {
    0%, 100% { opacity: 0; }
    50% { opacity: 1; }
}

.hero-description {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 500px;
    line-height: 1.7;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.75rem 0.85rem;
    border-radius: 12px;
    backdrop-filter: blur(6px);
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: var(--space-3xl);
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 0;
    padding: var(--space-2xl) 0 var(--space-3xl);
    border-top: none;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    box-sizing: border-box;
    position: relative;
    overflow: hidden;
}

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

.hero-stats-shimmer {
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.35) 50%, rgba(255, 255, 255, 0) 100%);
    transform: skewX(-20deg);
    pointer-events: none;
    opacity: 0.7;
    z-index: 0;
    transition: opacity 0.35s ease;
}

.stat.is-lit .stat-number,
.stat.is-lit .stat-label,
.stat.is-lit .stat-icon {
    color: var(--color-coral) !important;
    transform: translateY(-2px);
}

.hero .stat-number,
.hero .stat-label,
.hero .stat-icon {
    transition: color 0.2s ease, transform 0.2s ease;
}

.hero .stat:hover .stat-number,
.hero .stat:hover .stat-label,
.hero .stat:hover .stat-icon {
    color: var(--color-coral) !important;
    transform: translateY(-2px);
}

.stat-number {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.stat-icon {
    display: block;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: var(--radius-md);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 600;
    font-size: var(--text-body);
    transition: var(--transition-fast);
    border: none;
    cursor: pointer;
}

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

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

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

.btn-secondary:hover {
    background: transparent;
    color: var(--color-white);
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* Section Styles */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.services .section-header {
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: 2.75rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 1.125rem;
    color: #6b7280;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Services Section */
.services {
    position: relative;
    overflow: hidden;
    background: #f8f7f5;
    padding: 60px 0 40px;
}

.services::before,
.services::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.services::before {
    width: 250px;
    height: 250px;
    top: -90px;
    right: -70px;
    background: radial-gradient(circle at 30% 30%, rgba(106, 173, 228, 0.24), rgba(106, 173, 228, 0.02));
}

.services::after {
    width: 170px;
    height: 170px;
    bottom: 18px;
    left: -58px;
    background: radial-gradient(circle at 45% 45%, rgba(232, 115, 107, 0.2), rgba(232, 115, 107, 0.02));
}

.services .container,
.services .services-carousel {
    position: relative;
    z-index: 1;
}

.home-page .services::before,
.home-page .services::after {
    display: none;
}

/* Services Carousel */
.services-carousel {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    overflow: hidden;
    padding: 1rem 0 2rem;
    cursor: grab;
}

.services-carousel:active {
    cursor: grabbing;
}

.services-carousel.is-dragging {
    cursor: grabbing;
}

/* Carousel rows */
.carousel-row {
    margin-bottom: 1.5rem;
}

.carousel-row:last-child {
    margin-bottom: 0;
}

/* Track containing cards */
.carousel-track {
    display: flex;
    gap: 1.5rem;
    will-change: transform;
    padding-left: 1.5rem;
}

/* Gradient fade overlays */
.carousel-fade {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    z-index: 2;
    pointer-events: none;
}

.carousel-fade-left {
    left: 0;
    background: linear-gradient(to right, #f8f7f5, transparent);
}

.carousel-fade-right {
    right: 0;
    background: linear-gradient(to left, #f8f7f5, transparent);
}

/* Service cards in carousel context */
.services-carousel .service-card {
    flex-shrink: 0;
    width: 318px; /* Match desktop image width */
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
}

/* Focus styles for keyboard navigation */
.services-carousel .service-card:focus {
    outline: 2px solid #6AADE4;
    outline-offset: 4px;
}

/* CSS fallback when JS hasn't initialized */
.services-carousel:not(.is-initialized) {
    width: 100%;
    margin-left: 0;
    padding: 2rem 20px;
}

.services-carousel:not(.is-initialized) .carousel-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
}

.services-carousel:not(.is-initialized) .carousel-track {
    display: contents;
}

.services-carousel:not(.is-initialized) .carousel-fade {
    display: none;
}

.services-carousel:not(.is-initialized) .service-card {
    flex-shrink: 1;
    width: calc(25% - 1.5rem);
    min-width: 280px;
}

/* Responsive carousel styles - removed, consolidated into single 768px rule below */

@media (max-width: 768px) {
    .services-carousel .service-card {
        width: 210px !important;
        max-width: 210px !important;
        min-width: 210px !important;
    }

    .services-carousel .service-card .service-card-image {
        width: 100% !important;
        height: 160px !important;
    }

    .services-carousel .service-card .service-card-image picture,
    .services-carousel .service-card .service-card-image img {
        width: 100% !important;
        height: 160px !important;
        max-width: 100% !important;
    }

    .carousel-fade {
        width: 40px;
    }

    .carousel-track {
        gap: 1rem;
        padding-left: 1rem;
    }

    .carousel-row {
        margin-bottom: 1rem;
    }
}

/* Service Modal */
.service-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.service-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    padding: 3rem;
    max-width: 560px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.3s ease;
}

.modal-content.no-scroll {
    overflow-y: hidden;
}

.quote-modal {
    position: fixed;
    inset: 0;
    z-index: 12000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.quote-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.quote-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(4px);
}

.quote-modal-content {
    position: relative;
    width: min(92vw, 680px);
    max-height: 85vh;
    background: #ffffff;
    border-radius: 18px;
    padding: 2.5rem;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    z-index: 1;
}

.quote-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.95);
    color: #1f2937;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    cursor: pointer;
}

.quote-modal-body h3 {
    margin-bottom: 0.5rem;
}

.quote-modal-body p {
    margin-bottom: 1.5rem;
}

.quote-modal-body.quote-success-active > h3,
.quote-modal-body.quote-success-active > p {
    display: none;
}

.quote-modal form.is-hidden-for-success {
    display: none;
}

.quote-success-state {
    text-align: center;
    background: linear-gradient(140deg, #e9f3ff 0%, #f5f0ff 45%, #fff7ef 100%);
    border: 1px solid rgba(31, 101, 171, 0.28);
    border-radius: 14px;
    padding: 2.1rem 1.5rem;
    margin-top: 0.5rem;
    box-shadow: 0 16px 34px rgba(31, 101, 171, 0.18);
    animation: quoteSuccessPop 320ms ease-out;
}

.quote-success-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: var(--color-primary-dark);
    color: #ffffff;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.quote-success-state h4 {
    margin: 0 0 0.75rem;
    color: #0f2f4b;
    font-size: 1.55rem;
}

.quote-success-state p {
    margin: 0;
    color: #334155;
}

.quote-success-progress {
    height: 7px;
    width: 100%;
    border-radius: 999px;
    background: rgba(31, 101, 171, 0.2);
    overflow: hidden;
    margin-top: 1rem;
}

.quote-success-progress span {
    display: block;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, var(--color-coral) 0%, var(--color-primary) 52%, var(--color-primary-dark) 100%);
    transform-origin: left center;
    animation: quoteProgressShrink 6.5s linear forwards;
}

@keyframes quoteSuccessPop {
    0% {
        transform: translateY(10px) scale(0.96);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

@keyframes quoteProgressShrink {
    0% {
        transform: scaleX(1);
    }
    100% {
        transform: scaleX(0);
    }
}

.quote-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.service-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #1f2937;
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    background: #ffffff;
    color: #1f2937;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    user-select: none;
    transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.service-pill input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.service-pill:has(input:checked) {
    background: var(--color-coral);
    border-color: var(--color-coral);
    color: #ffffff;
}

.service-pill:focus-within {
    outline: 2px solid rgba(232, 115, 107, 0.6);
    outline-offset: 2px;
}

@media (max-width: 480px) {
    .quote-modal-content {
        padding: 2rem 1.5rem;
    }
}

.service-modal.is-open .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f7f5;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1f2937;
}

.modal-close:hover {
    background: #e5e7eb;
}

.modal-close:focus {
    outline: 2px solid #6AADE4;
    outline-offset: 2px;
}

.modal-icon {
    width: 80px;
    height: 80px;
    background: #6AADE4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.modal-icon i {
    font-size: 2rem;
    color: #ffffff;
}

.modal-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    text-align: center;
    margin-bottom: 1rem;
    color: #1f2937;
}

.modal-description {
    text-align: center;
    margin-bottom: 2rem;
    color: #6b7280;
    line-height: 1.7;
}

.modal-benefits {
    list-style: none;
    margin-bottom: 2rem;
    padding: 0;
}

.modal-benefits li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #e5e7eb;
    color: #1f2937;
    font-family: 'Inter', sans-serif;
}

.modal-benefits li::before {
    content: '\2713';
    color: #E8736B;
    font-weight: bold;
    flex-shrink: 0;
}

.modal-benefits li:last-child {
    border-bottom: none;
}

.modal-cta {
    width: 100%;
    text-align: center;
    display: block;
}

/* Modal responsive */
@media (max-width: 480px) {
    .modal-content {
        padding: 2rem 1.5rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-icon {
        width: 64px;
        height: 64px;
    }

    .modal-icon i {
        font-size: 1.5rem;
    }
}

.service-card {
    background: #ffffff;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0; /* Ensure no padding */
    position: relative;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-color: #6AADE4;
}

.service-card::after {
    content: '';
    position: absolute;
    right: 10px;
    bottom: 10px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 1.5px solid var(--color-primary);
    background: rgba(255, 255, 255, 0.75);
    box-shadow: 0 4px 10px rgba(31, 41, 55, 0.08);
    z-index: 2;
    pointer-events: none;
}

.service-card::before {
    content: '';
    position: absolute;
    right: calc(10px + (22px - 7px) / 2);
    bottom: calc(10px + (22px - 7px) / 2);
    width: 7px;
    height: 7px;
    border-top: 1.5px solid var(--color-primary);
    border-right: 1.5px solid var(--color-primary);
    transform: rotate(45deg);
    z-index: 3;
    pointer-events: none;
}

.service-card:hover::after,
.service-card:hover::before {
    border-color: var(--color-primary-dark);
}

/* Service card image container */
.service-card-image {
    position: relative;
    width: 100%;
    height: 160px; /* Fixed height to match your images */
    overflow: visible;
    background: linear-gradient(135deg, #6AADE4 0%, #4A95D1 100%);
    margin: 0;
    padding: 0;
    flex-shrink: 0;
    border-radius: 15px 15px 0 0; /* Match card's top corners */
}

.service-card-image picture {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

.service-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    margin: 0;
    padding: 0;
    border-radius: 15px 15px 0 0;
}

.service-card:hover .service-card-image img {
    transform: scale(1.02);
}

.service-icon {
    position: absolute;
    bottom: -24px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    background: #6AADE4;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 3px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    z-index: 1;
}

.service-card:hover .service-icon {
    transform: translateX(-50%) scale(1.1);
}

.service-icon i {
    font-size: 1.25rem;
    color: #ffffff;
}

/* Service card content */
.service-card-content {
    padding: 2rem 1.5rem 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.service-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
}

.service-card p {
    font-family: 'Inter', sans-serif;
    color: #6b7280;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 0;
    flex: 1;
}

/* Why Choose Us Section */
.why-choose-us {
    position: relative;
    overflow: hidden;
    background: #1f2937;
    padding: 100px 0;
}

.why-choose-us::before,
.why-choose-us::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.why-choose-us::before {
    width: 320px;
    height: 320px;
    left: -140px;
    top: -110px;
    background: radial-gradient(circle at center, rgba(106, 173, 228, 0.2), rgba(106, 173, 228, 0.02));
}

.why-choose-us::after {
    width: 280px;
    height: 280px;
    right: -120px;
    bottom: -100px;
    background: radial-gradient(circle at center, rgba(232, 115, 107, 0.2), rgba(232, 115, 107, 0.02));
}

.why-choose-us .section-title {
    color: #ffffff;
}

.why-choose-us .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    position: relative;
    overflow: hidden;
    display: block;
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.feature-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-4px);
}

.feature-icon {
    width: 64px;
    height: 64px;
    background: transparent;
    border: 2px solid #E8736B;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
    background: #E8736B;
}

.feature-icon i {
    font-size: 1.5rem;
    color: #E8736B;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-icon i {
    color: #ffffff;
}

.feature-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.feature-card p {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About Section */
.about {
    background: #ffffff;
    padding: 100px 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 0 20px;
}

.about-text h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    color: #1f2937;
}

.about-text {
    padding-right: 20px;
}

.about-text p {
    font-family: 'Inter', sans-serif;
    margin-bottom: 1.5rem;
    color: #6b7280;
    line-height: 1.7;
    font-size: 1.05rem;
}

.about-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: #1f2937;
}

.highlight i {
    color: #E8736B;
    font-size: 1.25rem;
}

.about-image {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 16px;
}

.about-image picture {
    width: 100%;
    max-width: 520px;
    display: block;
    margin: 0 auto;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
    object-fit: cover;
}

.image-placeholder {
    width: 100%;
    aspect-ratio: 1;
    background: #f8f7f5;
    border: 2px dashed #e5e7eb;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
}

.image-placeholder i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--border-color);
}

/* Gallery Section */
.gallery {
    background: #f8f7f5;
    padding: 100px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 640px) {
    :root {
        --hero-media-height: 60vh;
    }

    .hero-container {
        padding-top: calc(var(--nav-height) + var(--hero-media-height));
    }

    .hero-content {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: var(--hero-media-height);
        margin: 0;
        padding: 0;
        justify-content: center;
    }

    .hero-description {
        margin-bottom: 1.25rem;
        padding-left: 12px;
        padding-right: 12px;
    }

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

    .about-content {
        padding: 0 16px;
    }

    .about-text,
    .about-image {
        padding: 8px;
    }
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease;
    cursor: pointer;
    position: relative;
}

.gallery-item > picture,
.gallery-item > .before-after {
    width: 100%;
    height: 100%;
    display: block;
    aspect-ratio: 1;
    border-radius: 12px;
    overflow: hidden;
}

.gallery-item picture {
    width: 100%;
    height: 100%;
    display: block;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.gallery-item:hover {
    transform: scale(1.03);
}

.gallery-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.9rem;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(106, 173, 228, 0.4);
    background: #ffffff;
    color: #1f2937;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 8px 18px rgba(31, 41, 55, 0.12);
    cursor: pointer;
    font-family: var(--font-body);
    appearance: none;
}

.gallery-more-wrap {
    display: flex;
    justify-content: center;
    margin-top: 1.5rem;
}

.gallery-placeholder {
    width: 100%;
    height: 100%;
    background: #ffffff;
    border: 2px dashed #e5e7eb;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
    position: relative;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    z-index: 11000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.gallery-modal.is-open {
    opacity: 1;
    visibility: visible;
}

.gallery-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.7);
}

.gallery-modal-content {
    position: relative;
    width: min(92vw, 980px);
    max-height: 80vh;
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2.5rem 3.5rem;
}

.gallery-modal-frame {
    width: 100%;
    max-height: 70vh;
    border-radius: 14px;
    overflow: hidden;
    background: #f8f7f5;
}

.gallery-modal-picture,
.gallery-modal-picture img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 70vh;
}

.gallery-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    cursor: pointer;
}

.gallery-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, 0.9);
    color: #1f2937;
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.15);
    cursor: pointer;
}

.gallery-modal-prev {
    left: 14px;
}

.gallery-modal-next {
    right: 14px;
}

.gallery-modal-counter {
    position: absolute;
    bottom: 16px;
    right: 20px;
    font-size: 0.9rem;
    color: #1f2937;
    background: rgba(255, 255, 255, 0.9);
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
}

@media (max-width: 640px) {
    .gallery-modal-content {
        padding: 2rem 1.5rem;
        max-height: 80vh;
    }

    .gallery-modal-nav {
        width: 40px;
        height: 40px;
    }
}

.before-after {
    --reveal: 70%;
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    cursor: ew-resize;
    background: #ffffff;
}

.before-after-image {
    display: block;
    width: 100%;
    height: 100%;
}

.before-after-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.before-after-overlay {
    position: absolute;
    inset: 0;
    overflow: hidden;
    clip-path: inset(0 0 0 var(--reveal));
}

.before-after-handle {
    position: absolute;
    top: 50%;
    left: var(--reveal);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 2px solid var(--color-primary);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 18px rgba(31, 41, 55, 0.18);
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10px;
    z-index: 2;
    pointer-events: none;
    animation: handlePulse 2s ease-in-out infinite;
}

.before-after-arrow {
    width: 8px;
    height: 8px;
    border-top: 2px solid var(--color-primary);
    border-right: 2px solid var(--color-primary);
    display: block;
}

.before-after-arrow-left {
    transform: rotate(-135deg);
}

.before-after-arrow-right {
    transform: rotate(45deg);
}

.before-after-range {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: ew-resize;
    z-index: 3;
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
}

.before-after:hover .before-after-handle,
.before-after.is-interacting .before-after-handle {
    animation: none;
}

@keyframes handlePulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 8px 18px rgba(31, 41, 55, 0.18);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.06);
        box-shadow: 0 10px 24px rgba(106, 173, 228, 0.35);
    }
}

.before-after-range::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 1px;
    height: 1px;
}

.before-after-range::-moz-range-thumb {
    width: 1px;
    height: 1px;
    border: none;
    background: transparent;
}

.gallery-item:hover .gallery-placeholder {
    background: #6AADE4;
    color: #ffffff;
    border-color: #6AADE4;
}

.gallery-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gallery-placeholder p {
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

/* Reviews Section */
.reviews {
    background: #ffffff;
    padding: 0;
    position: relative;
    overflow: hidden;
    min-height: 720px;
}

.reviews .container {
    max-width: none;
    padding: 0;
    position: relative;
    display: grid;
}

.reviews .section-header {
    position: relative;
    z-index: 2;
    padding: 32px 24px 10px;
    margin: 0;
    display: inline-block;
    justify-self: center;
    align-self: start;
    width: fit-content;
    max-width: 820px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(6px);
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(31, 41, 55, 0.08);
}

.reviews-bubbles {
    position: relative;
    height: 720px;
    margin-top: 0;
    z-index: 1;
    overflow: hidden;
    width: 100%;
    margin-left: 0;
}

.reviews .section-header,
.reviews-bubbles {
    grid-area: 1 / 1;
}

.review-bubble {
    --bubble-size: 240px;
    --bubble-x: 50%;
    --bubble-delay: 0s;
    --bubble-duration: 28s;
    --bubble-offset: 0%;
    position: absolute;
    left: 0;
    top: 0;
    width: var(--bubble-size);
    height: var(--bubble-size);
    border-radius: 50%;
    background: radial-gradient(circle at 30% 25%, rgba(255, 255, 255, 0.85), rgba(255, 255, 255, 0.35) 55%, rgba(255, 255, 255, 0.2) 100%);
    border: 1px solid rgba(106, 173, 228, 0.35);
    box-shadow: inset 0 4px 14px rgba(255, 255, 255, 0.6), 0 12px 25px rgba(31, 41, 55, 0.15);
    backdrop-filter: blur(4px);
    padding: 1.25rem 1.15rem 1.35rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    will-change: transform;
    overflow: hidden;
    cursor: grab;
    touch-action: none;
    user-select: none;
}

.review-bubble:active {
    cursor: grabbing;
}


.bubble-stars {
    color: #f59e0b;
    font-size: 1rem;
    margin-bottom: 0.5rem;
}

.review-bubble p {
    font-family: 'Inter', sans-serif;
    font-style: italic;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
    color: #1f2937;
    line-height: 1.4;
}

.review-bubble .reviewer {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    color: #4A95D1;
    font-size: 0.78rem;
}

@media (max-width: 768px) {
    .reviews-bubbles {
        height: 760px;
    }

    .review-bubble {
        padding: 1.25rem;
    }
}

/* CTA Section */
.cta-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #4A95D1 0%, #6AADE4 55%, #88c0ef 100%);
    color: #ffffff;
    text-align: center;
    padding: 100px 0;
}

.cta-section::before,
.cta-section::after {
    content: '';
    position: absolute;
    border-radius: 999px;
    pointer-events: none;
}

.cta-section::before {
    width: 360px;
    height: 360px;
    top: -150px;
    left: -110px;
    background: rgba(255, 255, 255, 0.12);
}

.cta-section::after {
    width: 440px;
    height: 440px;
    right: -200px;
    bottom: -210px;
    background: rgba(232, 115, 107, 0.16);
}

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 860px;
    margin: 0 auto;
    padding: 2.25rem 2rem;
    background: rgba(15, 23, 42, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 22px;
    backdrop-filter: blur(4px);
}

.cta-eyebrow {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #fff;
    background: rgba(15, 23, 42, 0.26);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    margin-bottom: 0.95rem;
}

.cta-content h2 {
    font-family: 'Playfair Display', serif;
    color: #ffffff;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.cta-content p {
    font-family: 'Inter', sans-serif;
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-large {
    padding: 16px 32px;
    font-size: 1.125rem;
}

.cta-btn-primary {
    background: var(--color-coral);
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(232, 115, 107, 0.35);
}

.cta-btn-primary:hover {
    background: #df635a;
}

.cta-btn-secondary {
    border-color: rgba(255, 255, 255, 0.9);
    color: #ffffff;
    background: transparent;
}

.cta-btn-secondary:hover {
    background: #ffffff;
    color: var(--color-primary-dark);
}

.cta-highlights {
    display: flex;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin: 0 0 1.1rem;
}

.cta-highlights span {
    font-size: 0.9rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    padding: 0.38rem 0.78rem;
}

.cta-highlights i {
    margin-right: 0.35rem;
    color: #ffffff;
}

.cta-guarantee {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

.cta-guarantee i {
    color: #E8736B;
}

/* Contact Section */
.contact {
    background: #ffffff;
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.contact-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #1f2937;
    margin-bottom: 1rem;
}

.contact-info > p {
    font-family: 'Inter', sans-serif;
    margin-bottom: 2rem;
    font-size: 1.125rem;
    color: #6b7280;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-item i {
    width: 48px;
    height: 48px;
    background: #6AADE4;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.125rem;
}

.contact-item h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: #1f2937;
}

.contact-item p {
    font-family: 'Inter', sans-serif;
    margin: 0;
    color: #6b7280;
}

/* Contact Form */
.contact-form {
    background: #ffffff;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 1px solid #e5e7eb;
}

.contact-form h3 {
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-form p {
    margin-bottom: 2rem;
    color: var(--text-light);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

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

/* Checkbox Styling */
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    font-weight: 500;
    color: var(--color-medium-gray);
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.service-area-map {
    position: relative;
    overflow: hidden;
    padding: 110px 0;
    background:
        radial-gradient(120% 140% at 0% 0%, rgba(106, 173, 228, 0.2) 0%, rgba(106, 173, 228, 0) 55%),
        radial-gradient(120% 140% at 100% 0%, rgba(74, 149, 209, 0.16) 0%, rgba(74, 149, 209, 0) 60%),
        #f6fafd;
}

.service-area-map::after {
    content: '';
    position: absolute;
    width: 210px;
    height: 210px;
    right: -80px;
    bottom: 32px;
    border-radius: 999px;
    background: radial-gradient(circle at center, rgba(232, 115, 107, 0.16), rgba(232, 115, 107, 0.02));
    pointer-events: none;
}

.service-area-map .container {
    position: relative;
    z-index: 1;
}

.home-page .service-area-map::after {
    display: none;
}

.area-map-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(300px, 0.9fr);
    gap: 2rem;
    align-items: stretch;
}

.area-map-card {
    position: relative;
    border-radius: 22px;
    overflow: hidden;
    background: linear-gradient(160deg, #ffffff 0%, #eff7fd 100%);
    border: 1px solid rgba(74, 149, 209, 0.2);
    min-height: 420px;
    box-shadow: 0 26px 50px rgba(31, 41, 55, 0.12);
}

.area-map-svg {
    width: 100%;
    height: 100%;
}

.area-map-embed {
    width: 100%;
    height: 100%;
    min-height: 420px;
    border: 0;
    display: block;
}

.area-pin {
    position: absolute;
    left: var(--x);
    top: var(--y);
    transform: translate(-50%, -50%);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    z-index: 2;
}

.area-pin-dot {
    width: 14px;
    height: 14px;
    border-radius: 999px;
    border: 2px solid #ffffff;
    background: var(--color-coral);
    box-shadow: 0 0 0 0 rgba(232, 115, 107, 0.55);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.area-pin-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--color-dark-gray);
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(106, 173, 228, 0.35);
    border-radius: 999px;
    padding: 4px 10px;
    opacity: 0;
    transform: translateY(2px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    pointer-events: none;
    white-space: nowrap;
}

.area-pin:hover .area-pin-dot,
.area-pin:focus-visible .area-pin-dot,
.area-pin.is-active .area-pin-dot {
    transform: scale(1.15);
    background: var(--color-primary-dark);
    box-shadow: 0 0 0 10px rgba(106, 173, 228, 0.22);
}

.area-pin:hover .area-pin-label,
.area-pin:focus-visible .area-pin-label,
.area-pin.is-active .area-pin-label {
    opacity: 1;
    transform: translateY(0);
}

.area-list-panel {
    background: #ffffff;
    border: 1px solid rgba(74, 149, 209, 0.2);
    border-radius: 22px;
    padding: 1.4rem 1.2rem 1.2rem;
    box-shadow: 0 22px 44px rgba(31, 41, 55, 0.12);
    display: flex;
    flex-direction: column;
}

.area-list-eyebrow {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-medium-gray);
    margin-bottom: 0.7rem;
}

.area-city-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.55rem;
    margin: 0;
}

.area-city-link {
    display: block;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-dark-gray);
    border: 1px solid rgba(106, 173, 228, 0.28);
    background: #f9fcff;
    border-radius: 12px;
    padding: 0.62rem 0.64rem;
    transition: border-color 0.2s ease, transform 0.2s ease, background-color 0.2s ease;
}

.area-city-link:hover,
.area-city-link:focus-visible,
.area-city-link.is-active {
    border-color: var(--color-primary-dark);
    background: #eef7ff;
    transform: translateY(-1px);
}

.area-list-cta {
    margin-top: 0.95rem;
    align-self: flex-start;
}

@media (max-width: 1024px) {
    .area-map-layout {
        grid-template-columns: 1fr;
    }

    .area-map-card {
        min-height: 360px;
    }

    .area-map-embed {
        min-height: 360px;
    }
}

@media (max-width: 768px) {
    .service-area-map {
        padding: 84px 0;
    }

    .area-map-card {
        min-height: 320px;
    }

    .area-map-embed {
        min-height: 320px;
    }

    .area-city-list {
        grid-template-columns: 1fr;
    }

    .area-list-cta {
        width: 100%;
        justify-content: center;
    }

    .area-pin-label {
        display: none;
    }
}

/* Footer */
.footer {
    background: #1f2937;
    color: #ffffff;
    padding: 4rem 0 1.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    align-items: start;
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 1.25rem;
        margin-bottom: 1.25rem;
    }
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-brand {
    display: inline-flex;
    align-items: center;
    margin-bottom: -14px;
}

.footer-brand-logo {
    width: 190px;
    height: auto;
    filter: brightness(0) invert(1);
}

.footer-content .footer-section:first-child {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: -16px;
}

.footer-content .footer-section:first-child p {
    margin-top: 0;
    transform: none;
}

@media (max-width: 768px) {
    .footer {
        padding: 2.75rem 0 1.25rem;
    }

    .footer-content .footer-section:first-child {
        align-items: center;
        margin-top: -10px;
    }

    .footer-brand {
        margin-bottom: -10px;
    }

    .footer-section p {
        margin-bottom: 0.25rem;
    }

    .footer-section h4 {
        margin-bottom: 0.6rem;
    }

    .footer-section ul li {
        margin-bottom: 0.35rem;
    }
}

.footer-section h4 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    font-family: 'Inter', sans-serif;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.footer-section ul {
    list-style: none;
    columns: 2;
    column-gap: 1.25rem;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
    break-inside: avoid;
}

.footer-section ul li a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--color-primary-dark);
}

.footer-section a {
    color: var(--color-primary);
}

.footer-section a:hover {
    color: var(--color-primary-dark);
}

@media (max-width: 768px) {
    .footer-section ul {
        columns: 1;
    }
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
    font-size: 0.7rem;
}

.legal-page {
    padding-bottom: 80px;
}

.legal-header {
    background: var(--color-primary);
    padding: 28px 0;
}

.legal-header h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    text-align: left;
    margin: 0;
    color: #ffffff;
}

.legal-content {
    max-width: 880px;
    margin: 48px auto 0;
    color: #0f172a;
}

.legal-content h2 {
    font-size: 1.35rem;
    margin-top: 2.25rem;
    margin-bottom: 0.75rem;
    color: #0f172a;
}

.legal-content p {
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.legal-content ul {
    margin: 0 0 1.25rem 1.25rem;
    padding: 0;
}

.legal-content li {
    margin-bottom: 0.45rem;
    line-height: 1.7;
}

.legal-content a {
    color: var(--color-primary);
}

.legal-content a:hover {
    color: var(--color-primary-dark);
}

.faq-page .legal-content {
    margin-top: 40px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 12px;
    background: #ffffff;
    overflow: hidden;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: #ffffff;
    border: none;
    padding: 18px 20px;
    font-family: 'Playfair Display', serif;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-dark-gray);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    cursor: pointer;
}

.faq-question:focus-visible {
    outline: 3px solid rgba(106, 173, 228, 0.35);
    outline-offset: 2px;
}

.faq-icon {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    color: var(--color-primary);
    font-size: 1.25rem;
    transition: transform 0.2s ease, color 0.2s ease;
}

.faq-question[aria-expanded=\"true\"] .faq-icon {
    transform: rotate(45deg);
    color: var(--color-primary-dark);
}

.faq-answer {
    padding: 0 20px 18px;
    color: var(--color-medium-gray);
}

.contact-legal .contact {
    background: #f8f7f5;
    padding: 56px 0 90px;
}

.contact-legal .contact-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    max-width: 880px;
    margin: 0 auto;
}

.contact-legal .contact-info h2 {
    margin-bottom: 0.75rem;
}

.legal-static .navbar {
    background: var(--color-white);
    border-bottom-color: var(--color-border);
    box-shadow: var(--shadow-card);
}

.legal-static .nav-link {
    color: var(--color-dark-gray);
}

.legal-static .nav-link:hover,
.legal-static .nav-link.active {
    color: var(--color-primary);
}

.legal-static .nav-logo .logo-img {
    filter: none;
}

.legal-static .cta-button {
    background: var(--color-coral) !important;
    color: var(--color-white) !important;
}

.legal-static .hamburger .bar {
    background: var(--color-dark-gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-brand-logo {
        width: min(340px, 78vw);
        margin-bottom: 0.55rem;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 80px;
        flex-direction: column;
        background-color: var(--color-primary);
        width: 100%;
        text-align: center;
        transition: var(--transition-slow);
        box-shadow: var(--shadow-elevated);
        padding: var(--space-3xl) 0;
        gap: var(--space-lg);
    }

    .nav-menu .nav-link {
        color: var(--color-white);
        font-size: var(--text-body);
        padding: var(--space-sm) var(--space-lg);
    }

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

    .nav-menu .cta-button {
        margin-top: var(--space-md);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-highlights {
        grid-template-columns: 1fr;
    }
    
    .hero-tagline {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        gap: 1rem;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .services-grid,
    .features-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }

    .cta-content {
        padding: 1.75rem 1.1rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-guarantee {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    /* Mobile typography scale */
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }

    p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero-tagline {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1.125rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
    }
    
    section {
        padding: 60px 0;
    }
    
    .contact-form {
        padding: 1.5rem;
    }

    .services-carousel .service-card {
        padding: 0;
    }

    .services-carousel .service-card-content {
        padding: 1.75rem 1rem 0.75rem;
    }

    .services-carousel .service-card h3 {
        margin-bottom: 0.5rem;
    }

    .services-carousel .service-card p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Loading animation for form submission */
.btn.loading {
    position: relative;
    color: transparent;
}

.btn.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #ffffff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}
