* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --cream: #F5EFE0;
    --beige: #E8DCC4;
    --burgundy: #8B2635;
    --dark: #2B2B2B;
    --dark-light: #3A3A3A;
    --gold: #D4AF37;
}

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--dark);
    line-height: 1.7;
    background: var(--cream);
    overflow-x: hidden;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 1rem;
    background: var(--gold);
    color: var(--dark);
    padding: 0.75rem 1rem;
    z-index: 2000;
    font-weight: 700;
    text-decoration: none;
}

.skip-link:focus-visible {
    left: 1rem;
}

/* Typography */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
}

h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 1rem;
}

h3 {
    font-size: clamp(1.3rem, 2.5vw, 1.8rem);
    margin-bottom: 0.5rem;
}

/* Decorative Elements */
.ornament {
    width: 80px;
    height: 2px;
    background: var(--gold);
    margin: 1.5rem auto;
    position: relative;
}

.ornament::before,
.ornament::after {
    content: '★';
    position: absolute;
    top: -8px;
    color: var(--gold);
    font-size: 14px;
}

.ornament::before {
    left: -20px;
}

.ornament::after {
    right: -20px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(43, 43, 43, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

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

.navbar .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.02);
}

.brand-link:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 6px;
    border-radius: 4px;
}

.logo-nav {
    height: 50px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
    margin-right: 12px;
}

.brand-name {
    color: var(--cream);
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--cream);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--burgundy);
    transition: width 0.3s ease;
}

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

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
    border-radius: 4px;
    color: var(--gold);
}

/* Mobile menu toggle */
.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    border: 0;
    background: transparent;
    padding: 0.25rem;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--cream);
    transition: all 0.3s ease;
}

.menu-toggle:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    position: relative;
    overflow: hidden;
    padding: 6rem 2rem 7rem;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(245, 239, 224, 0.03) 2px,
            rgba(245, 239, 224, 0.03) 4px
        );
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

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

.hero-logo {
    max-width: 350px;
    width: 100%;
    margin-bottom: 2rem;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.5));
    animation: fadeInScale 1s ease-out 0.2s both;
    border-radius: 8px;
    padding: 0;
    background: none;
    transition: transform 0.5s ease;
}

.hero-logo:hover {
    transform: scale(1.03);
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.6rem;
    color: var(--gold);
    margin-top: -1.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero h1 {
    color: var(--cream);
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-subtitle {
    color: var(--beige);
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 300;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-location {
    color: var(--gold);
    font-weight: 500;
    font-size: 1.1rem;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease-out 0.8s both;
}

.hero-notice {
    color: var(--beige);
    margin-bottom: 2rem;
    font-size: 1rem;
    animation: fadeInUp 1s ease-out 0.9s both;
}

.hero-cta-group {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 0.9rem 1.2rem;
    width: min(100%, 1320px);
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-block;
    padding: 0.95rem 2.2rem;
    background: var(--burgundy);
    color: var(--cream);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 1px;
    border: 2px solid var(--burgundy);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 1s ease-out 1s both;
}

.hero-cta-group .cta-button {
    width: max-content;
    max-width: 100%;
}

.cta-button-alt {
    background: transparent;
    border-color: var(--gold);
    color: var(--gold);
}

.cta-button-ghost {
    background: transparent;
    border-color: var(--cream);
    color: var(--cream);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--cream);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.5s ease, height 0.5s ease;
}

.cta-button:hover::before {
    width: 300%;
    height: 300%;
}

.cta-button:hover {
    color: var(--burgundy);
    border-color: var(--gold);
}

.cta-button-alt:hover,
.cta-button-ghost:hover {
    color: var(--burgundy);
}

.cta-button:focus-visible {
    outline: 3px solid var(--gold);
    outline-offset: 4px;
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.hero-trust-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 0.8rem 1.2rem;
    width: min(100%, 1320px);
    margin-left: auto;
    margin-right: auto;
    color: var(--beige);
    font-size: 0.95rem;
    animation: fadeInUp 1s ease-out 1.1s both;
}

.hero-trust-points p {
    background: rgba(245, 239, 224, 0.06);
    border: 1px solid rgba(245, 239, 224, 0.25);
    padding: 0.45rem 0.8rem;
    width: max-content;
    max-width: 100%;
    margin: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    white-space: nowrap;
    line-height: 1.2;
}

.hero-trust-points i {
    color: var(--gold);
    margin-right: 0;
    flex: 0 0 auto;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 1rem;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

.scroll-indicator::after {
    content: '↓';
    color: var(--gold);
    font-size: 2rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

section {
    padding: 6rem 0;
}

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

.section-title {
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--dark-light);
    font-size: 1.1rem;
    font-weight: 300;
}

/* Services Section */
.services {
    background: var(--cream);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    align-items: stretch;
}

.service-card {
    position: relative;
    background: transparent;
    border: 2px solid var(--beige);
    height: 340px;
    width: 100%;
    cursor: pointer;
    perspective: 1200px;
    outline: none;
}

.service-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform 0.65s cubic-bezier(0.2, 0.75, 0.2, 1);
    transform-style: preserve-3d;
}

.service-card-face {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 2rem 1.4rem;
    backface-visibility: hidden;
}

.service-card-front {
    background: #f8f8f8;
}

.service-card-back {
    transform: rotateY(180deg);
    color: var(--cream);
    background: linear-gradient(150deg, #8B2635 0%, #2B2B2B 100%);
}

.service-card.is-flipped .service-card-inner {
    transform: rotateY(180deg);
}

.service-card:focus-visible {
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.25);
}

@media (hover: hover) and (pointer: fine) {
    .service-card:hover {
        border-color: var(--burgundy);
        box-shadow: 0 10px 30px rgba(139, 38, 53, 0.16);
    }

    .service-card:hover .service-card-inner,
    .service-card:focus-visible .service-card-inner {
        transform: rotateY(180deg);
    }
}

.service-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: grayscale(20%);
}

.service-card h3 {
    color: var(--dark);
    font-size: clamp(1.2rem, 2.2vw, 1.7rem);
    margin-bottom: 0.5rem;
}

.service-title-compact {
    line-height: 1.15;
    white-space: nowrap;
    display: inline-block;
    max-width: 100%;
    text-align: center;
}

.service-card p {
    color: var(--dark-light);
    font-size: 0.95rem;
}

.service-price-label {
    color: var(--gold) !important;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem !important;
    margin-bottom: 0.5rem;
}

.service-price {
    color: var(--cream) !important;
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.3rem, 6vw, 3.2rem) !important;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 0.7rem;
}

.service-price-note {
    color: rgba(245, 239, 224, 0.9) !important;
    font-size: 0.9rem !important;
    max-width: 220px;
}

.service-price-text {
    font-size: clamp(1.7rem, 4vw, 2.2rem) !important;
    line-height: 1.2;
}

.service-mobile-hint {
    display: none;
    margin-top: 1rem;
    color: var(--burgundy);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2px;
}

.services-disclaimer {
    margin-top: 1.2rem;
    text-align: center;
    color: var(--dark-light);
    font-size: 0.95rem;
    font-style: italic;
}

@media (hover: none), (pointer: coarse) {
    .service-card {
        height: 332px;
    }

    .service-mobile-hint {
        display: inline-block;
    }
}

/* Booking Section */
.booking {
    background: var(--dark);
    color: var(--cream);
}

.booking .section-title {
    color: var(--cream);
}

.booking .section-subtitle {
    color: var(--beige);
}

.booking-placeholder {
    background: rgba(245, 239, 224, 0.05);
    border: 3px dashed var(--gold);
    padding: 4rem 2rem;
    text-align: center;
    margin-top: 2rem;
    border-radius: 0;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.booking-placeholder-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    opacity: 0.7;
}

.booking-placeholder h3 {
    color: var(--gold);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.booking-placeholder p {
    color: var(--beige);
    font-size: 1.1rem;
    max-width: 600px;
}

/* Zone Section */
.zone {
    background: var(--beige);
}

.zone-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.zone-info h3 {
    color: var(--burgundy);
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.zone-info p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.zone-highlight {
    background: white;
    padding: 2rem;
    border-left: 4px solid var(--burgundy);
    margin-top: 2rem;
}

.zone-highlight strong {
    color: var(--burgundy);
    display: block;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.zone-list-title {
    margin-top: 1.5rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    color: var(--dark);
}

.zone-town-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    list-style: none;
    padding: 0;
}

.zone-town-list li {
    background: #fff;
    border: 1px solid rgba(43, 43, 43, 0.15);
    padding: 0.35rem 0.7rem;
    font-size: 0.95rem;
}

.zone-map {
    background: white;
    padding: 0;
    text-align: center;
    border: 2px solid var(--dark);
    position: relative;
    overflow: hidden;
}

#map-niort {
    width: 100%;
    height: 100%;
    border: 0;
}

.zone-map-frame {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.map-radius-overlay {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 282px;
    height: 282px;
    transform: translate(-50%, -50%);
    border: 2px solid rgba(139, 38, 53, 0.9);
    border-radius: 50%;
    background: rgba(139, 38, 53, 0.12);
    pointer-events: none;
}

.map-center-dot {
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    background: #8B2635;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.9);
    pointer-events: none;
}

.map-interaction-blocker {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 2;
}

.zone-map-caption {
    padding: 1rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--dark-light);
    background: white;
    border-top: 1px solid var(--beige);
}

.zone-map-city {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--burgundy);
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--cream);
    padding: 4rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-section h3 {
    color: var(--gold);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.footer-section p {
    line-height: 1.8;
    color: var(--beige);
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    color: var(--beige);
}

.contact-item svg {
    width: 20px;
    height: 20px;
    fill: var(--gold);
}

.contact-item i {
    width: 20px;
    text-align: center;
    color: var(--gold);
}

.contact-link {
    color: var(--beige);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: var(--gold);
}

.contact-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.social-links {
    display: flex;
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(245, 239, 224, 0.1);
    border: 2px solid var(--gold);
    color: var(--gold);
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--gold);
    color: var(--dark);
    transform: translateY(-3px);
}

.social-link:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(245, 239, 224, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: var(--beige);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 968px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .menu-toggle {
        display: flex;
    }

    .hero-cta-group {
        grid-template-columns: 1fr;
        width: min(100%, 560px);
    }

    .hero-trust-points {
        grid-template-columns: 1fr;
        width: min(100%, 560px);
    }

    .hero-trust-points p {
        white-space: normal;
    }

    .service-card {
        height: 322px;
    }
    
    .zone-content {
        grid-template-columns: 1fr;
    }

    #map-niort {
        height: 300px;
    }

    .zone-map-frame {
        height: 300px;
    }

    .map-radius-overlay {
        width: 212px;
        height: 212px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    section {
        padding: 4rem 0;
    }
    
    .hero-logo {
        max-width: 250px;
    }

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

    .service-title-compact {
        white-space: normal;
    }

    .service-card {
        height: 305px;
    }

    #map-niort {
        height: 250px;
    }

    .zone-map-frame {
        height: 250px;
    }

    .map-radius-overlay {
        width: 176px;
        height: 176px;
    }
}

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

@media (max-height: 820px) {
    .scroll-indicator {
        display: none;
    }
}
