:root {
    --primary-color: #0D2C54;   /* Bleu Foncé */
    --accent-color: #FF6B00;    /* Orange Électrique */
    --bg-light: #F8F9FA;
    --text-dark: #333333;
    --border-color: #E0E0E0;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= HEADER & NAV ================= */
header {
    background-color: var(--primary-color);
    color: white;
    padding: 12px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

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

.logo-link {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 50px;
    width: auto;
}

.logo h1 {
    font-size: 1.2rem;
    color: white;
    font-weight: 700;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
    align-items: center;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent-color);
}

.btn-nav {
    background-color: var(--accent-color);
    padding: 8px 16px;
    border-radius: 4px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.8rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--primary-color);
        display: none;
        padding: 20px 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.2);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 15px;
    }

    .logo h1 {
        font-size: 1rem;
    }
}

/* ================= HERO WITH HENDAYE BEACH BACKGROUND ================= */
.hero {
    background: linear-gradient(rgba(13, 44, 84, 0.82), rgba(13, 44, 84, 0.82)), url('hendaye-plage.jpg') no-repeat center center/cover;
    color: white;
    text-align: center;
    padding: 90px 0;
}

.hero h2 {
    font-size: 2.3rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.hero p {
    font-size: 1.15rem;
    max-width: 850px;
    margin: 0 auto 30px auto;
    line-height: 1.7;
}

.btn-main {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 6px;
    font-weight: bold;
    font-size: 1.1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

/* ================= TRUST HIGHLIGHTS ================= */
.trust-highlights {
    padding: 30px 0;
    background: white;
    border-bottom: 1px solid var(--border-color);
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
}

.trust-badge i {
    font-size: 2rem;
    color: var(--accent-color);
}

.trust-badge p {
    font-weight: 600;
    color: var(--primary-color);
    font-size: 0.9rem;
}

/* ================= SERVICES GRID ================= */
.services {
    padding: 60px 0;
    text-align: center;
}

.services h2 {
    color: var(--primary-color);
    margin-bottom: 40px;
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.service-card {
    background: white;
    padding: 30px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    border-bottom: 4px solid var(--accent-color);
    text-align: left;
}

.service-card i {
    font-size: 2.2rem;
    color: var(--accent-color);
    margin-bottom: 15px;
    display: block;
}

.service-card h3 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 1.15rem;
}

/* ================= CARRUSEL DE IMÁGENES Y VÍDEOS ================= */
.carousel-section {
    padding: 60px 0;
    background: #f4f7f9;
    text-align: center;
}

.carousel-section h2 {
    color: var(--primary-color);
}

.section-subtitle {
    margin-bottom: 30px;
    color: #666;
    font-size: 1rem;
}

.brand-handle {
    color: var(--accent-color);
    font-weight: 700;
}

.carousel-wrapper {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    background: #ffffff;
}

.carousel-track {
    list-style: none;
    display: flex;
    transition: transform 0.4s ease-in-out;
    padding: 0;
    margin: 0;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

/* Aspect Ratio Iframe */
.iframe-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.iframe-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Contenedor de Imagen de Trabajos */
.image-container {
    width: 100%;
    height: 420px;
    overflow: hidden;
    background: #111;
}

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

.slide-caption {
    padding: 12px 15px;
    background: var(--primary-color);
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}

.slide-caption i {
    color: var(--accent-color);
    margin-right: 6px;
}

/* Botones de Control del Carrusel */
.carousel-control {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: var(--accent-color);
    color: white;
    border: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: background 0.3s ease;
}

.carousel-control:hover {
    background: var(--primary-color);
}

.carousel-control.prev { left: -20px; }
.carousel-control.next { right: -20px; }

/* Puntos de Indicación */
.carousel-indicators {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.dot {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.dot.active {
    background: var(--accent-color);
}

@media (max-width: 768px) {
    .image-container { height: 260px; }
    .carousel-control.prev { left: 5px; }
    .carousel-control.next { right: 5px; }
}

/* ================= RESEÑAS & CONTACTO ================= */
.reviews-section {
    padding: 50px 0;
    text-align: center;
}

.review-action-card {
    background: white;
    padding: 30px;
    border-radius: 12px;
    max-width: 500px;
    margin: 0 auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    border-top: 5px solid var(--accent-color);
}

.brand-blue-icon {
    font-size: 2.5rem;
    color: #4285F4;
}

.google-stars {
    color: #FBBC05;
    font-size: 1.5rem;
    margin: 10px 0;
}

.btn-review-direct {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #4285F4;
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: bold;
    margin-top: 15px;
}

.contact {
    padding: 60px 0;
    background: white;
    text-align: center;
}

form {
    max-width: 550px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 30px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

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

form input, form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: inherit;
}

.btn-submit {
    width: 100%;
    background: var(--primary-color);
    color: white;
    border: none;
    padding: 14px;
    font-weight: bold;
    border-radius: 4px;
    cursor: pointer;
}

.btn-submit:hover {
    background: var(--accent-color);
}

/* ================= ACCORDION ZONES ================= */
.seo-zone-section {
    padding: 50px 0;
    background: white;
}

.seo-accordion-container {
    max-width: 800px;
    margin: 20px auto 0 auto;
}

details {
    background: var(--bg-light);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 15px;
    margin-bottom: 10px;
}

summary {
    font-weight: bold;
    color: var(--primary-color);
    cursor: pointer;
    list-style: none;
}

.seo-ul {
    list-style: none;
    padding-top: 15px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 10px;
}

.seo-ul a {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 600;
}

/* ================= FOOTER & FLOATING WHATSAPP ================= */
footer {
    background: var(--primary-color);
    color: white;
    padding: 40px 0 20px 0;
    font-size: 0.9rem;
}

.footer-grid-three {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo-title {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.footer-logo-title img {
    height: 40px;
}

.footer-links a {
    color: #CCC;
    text-decoration: none;
    display: block;
    margin-bottom: 8px;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    margin-top: 30px;
    font-size: 0.8rem;
    color: #AAA;
}

.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25D366;
    color: white;
    padding: 10px 18px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 2000;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}