/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background: #343434; 
}

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

/* Header */
header {
    background-color: #343434;
    color: #ffffff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

.brand img {
    height: 50px;
}

/* Navegación */
nav {
    position: relative;
}

nav ul {
    display: flex;
    list-style-type: none;
    align-items: center;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: #ffffff;
    font-weight: bold;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}


/* Botón del menú hamburguesa */
.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    padding: 0;
}

.menu-toggle span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Animación del menú hamburguesa */
.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

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

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

/* Hero Section */
#home {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    text-align: center;
    color: #ffffff;
}

/* Video en Hero */
.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    filter: brightness(0.4);
}

.hero-overlay {
    z-index: 1;
    background-color: rgba(0, 75, 135, 0.5);
    padding: 40px;
    border-radius: 10px;
}

#home h1 {
    font-size: 3em;
    margin-bottom: 20px;
}

#home p {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.cta-button {
    display: inline-block;
    background-color: #8dc63f;
    color: #ffffff;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.cta-button:hover {
    background-color: #75a928;
}

/* About Us Section */
.about-section {
    background-color: #2b2b2b;
    padding: 80px 0;
    color: #ffffff;
}

.about-section h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #8dc63f;
}

.about-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.about-text {
    text-align: justify;
    flex: 1;
    min-width: 280px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1em;
    line-height: 1.8;
}

.about-text ul {
    margin-top: 20px;
    list-style: none;
    padding-left: 0;
}

.about-text ul li {
    margin-bottom: 10px;
    font-size: 1.1em;
}

.about-image {
    flex: 1;
    min-width: 280px;
}

.about-image img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* Servicios */
#services {
    padding: 80px 0;
    background-color: #343434;
}

#services h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #8dc63f;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.service-item {
    background-color: #2b2b2b;
    color: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-5px);
}

.service-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.service-item h3 {
    padding: 20px 20px 10px;
    font-size: 1.3em;
    color: #8dc63f;
}

.service-item ul {
    padding: 0 20px 20px;
    list-style: none;
}

.service-item ul li {
    margin-bottom: 8px;
    color: #ffffff;
}

.service-item ul li a {
    color: #ffffff;
    text-decoration: none;
}

/* Ofertas */
#offers {
    padding: 80px 0;
    background-color: #2b2b2b;
}

#offers h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #8dc63f;
}

.offer-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 20px;
    padding: 20px 0;
}

.offer-item {
    flex: 0 0 auto;
    width: 300px;
    scroll-snap-align: start;
    background-color: #343434;
    color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    text-align: center;
}

.offer-icon {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
}

.offer-item h3 {
    font-size: 1.2em;
    margin-bottom: 10px;
    color: #8dc63f;
}

.offer-item p {
    color: #cccccc;
}

/* Testimonios */
#testimonials {
    padding: 80px 0;
    background-color: #343434;
}

#testimonials h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #8dc63f;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.testimonial-item {
    background-color: #2b2b2b;
    color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.testimonial-item p {
    font-style: italic;
    margin-bottom: 15px;
    font-size: 1.1em;
}

.testimonial-item cite {
    font-weight: bold;
    color: #8dc63f;
}

/* Cotización */
#quote {
    padding: 80px 0;
    background-color: #2b2b2b;
}

#quote h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #8dc63f;
}

#quote-form {
    display: grid;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

#quote-form input,
#quote-form select,
#quote-form textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #555;
    border-radius: 5px;
    background-color: #343434;
    color: #ffffff;
    font-size: 16px;
}

#quote-form input::placeholder,
#quote-form textarea::placeholder {
    color: #cccccc;
}

#quote-form select {
    color: #ffffff;
}

#quote-form select option {
    background-color: #343434;
    color: #ffffff;
}

#quote-form button {
    background-color: #8dc63f;
    color: #ffffff;
    padding: 15px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s ease;
}

#quote-form button:hover {
    background-color: #75a928;
}

#quote-form button:disabled {
    background-color: #666;
    cursor: not-allowed;
}

/* Accessible labels that are only visible to screen readers */
.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.form-field {
    display: flex;
    flex-direction: column;
}

#quote-form textarea {
    min-height: 120px;
    resize: vertical;
    font-family: inherit;
}

#quote-form .error {
    border-color: #dc3545;
}

.field-error {
    color: #ff8a95;
    font-size: 14px;
    margin-top: 6px;
}

/* Honeypot anti-spam field: hidden from humans */
.hp-field {
    position: absolute;
    left: -10000px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.consent-field label {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 14px;
    color: #dddddd;
    cursor: pointer;
}

#quote-form .consent-field input[type="checkbox"] {
    width: 18px;
    height: 18px;
    padding: 0;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: #8dc63f;
}

.privacy-note {
    font-size: 13px;
    color: #bbbbbb;
    text-align: center;
}

/* Mensajes de formulario */
#form-message {
    max-width: 600px;
    margin: 20px auto 0;
    text-align: center;
    font-weight: bold;
}

.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    border-left: 5px solid #8dc63f;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 15px;
    border-radius: 5px;
    border-left: 5px solid #dc3545;
}

/* Footer */
footer {
    background-color: #1a1a1a;
    color: #ffffff;
    padding: 60px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.footer-section {
    flex: 1;
    margin-right: 20px;
    margin-bottom: 20px;
}

.footer-section h3,
.footer-section .footer-title {
    margin-bottom: 15px;
    font-size: 1.2em;
    color: #8dc63f;
}

.footer-section ul {
    list-style-type: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8dc63f;
}

.social-icons {
    display: flex;
    gap: 10px;
}

.social-icon {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease;
}

.social-icon:hover {
    color: #8dc63f;
}

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

/* Responsive Design */
@media (max-width: 1000px) {
    /* Header responsive */
    header .container {
        padding: 10px 20px;
    }

    .brand img {
        height: 40px;
    }

    /* Mostrar botón hamburguesa */
    .menu-toggle {
        display: flex;
    }

    /* Ocultar menú por defecto en móvil */
    nav ul {
        position: absolute;
        top: 100%;
        right: 0;
        background-color: #343434;
        flex-direction: column;
        width: 250px;
        padding: 20px 0;
        border-radius: 0 0 10px 10px;
        box-shadow: 0 4px 8px rgba(0,0,0,0.3);
        transform: translateY(-10px);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    /* Mostrar menú cuando tiene clase 'show' */
    nav ul.show {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    nav ul li {
        margin: 0;
        text-align: center;
    }

    nav ul li a {
        display: block;
        padding: 15px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    nav ul li:last-child a {
        border-bottom: none;
    }



    /* Hero responsive */
    #home h1 {
        font-size: 2em;
    }

    #home .container {
        padding: 20px;
    }

    .hero-overlay {
        padding: 20px;
    }

    /* Grids responsive */
    .service-grid {
        grid-template-columns: 1fr;
    }

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

    .about-grid {
        flex-direction: column;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-section {
        margin-right: 0;
    }

    /* Imágenes responsive */
    .service-item img,
    .about-image img {
        width: 100%;
        height: auto;
        object-fit: cover;
    }

    .offer-item {
        width: 280px;
    }

    /* Ajustes de tipografía */
    h2 {
        font-size: 2em !important;
    }

    .service-item h3 {
        font-size: 1.2em;
    }
}

/* Estilos adicionales para tabletas */
@media (min-width: 769px) and (max-width: 1024px) {
    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .testimonial-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #home h1 {
        font-size: 2.5em;
    }
}

/* ---------- Brand, navigation and layout additions ---------- */
.brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: #ffffff;
}

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

.brand-name {
    font-size: 1.3em;
    font-weight: bold;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.brand-name span {
    color: #8dc63f;
}

nav ul li a.nav-cta {
    background-color: #8dc63f;
}

nav ul li a.nav-cta:hover {
    background-color: #75a928;
}

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: #8dc63f;
    color: #ffffff;
    padding: 10px 15px;
    font-weight: bold;
}

.skip-link:focus {
    left: 10px;
    top: 10px;
}

.hero-overlay {
    max-width: 900px;
    background-color: rgba(0, 0, 0, 0.45);
}

.hero-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button.cta-secondary {
    background-color: transparent;
    border: 2px solid #ffffff;
}

.cta-button.cta-secondary:hover {
    background-color: rgba(255, 255, 255, 0.15);
}

.section-intro {
    max-width: 800px;
    margin: -20px auto 30px;
    text-align: center;
    color: #dddddd;
    font-size: 1.05em;
}

.testimonial-item blockquote {
    margin: 0;
}

footer address {
    font-style: normal;
}

.footer-section p a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section p a:hover {
    color: #8dc63f;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 1em;
    padding: 6px 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
}

@media (min-width: 1001px) and (max-width: 1200px) {
    nav ul li {
        margin-left: 6px;
    }

    nav ul li a {
        padding: 8px 8px;
        font-size: 0.95em;
    }
}

@media (max-width: 768px) {
    .brand img {
        height: 40px;
    }

    .brand-name {
        font-size: 1.1em;
    }

    #home h1 {
        font-size: 1.7em;
    }

    #home p {
        font-size: 1em;
    }
}

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

.not-found {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
    padding: 20px;
}

.not-found h1 {
    color: #8dc63f;
}

/* Keep menu items on one line */
nav ul li a {
    white-space: nowrap;
}

@media (min-width: 1001px) and (max-width: 1440px) {
    nav ul li {
        margin-left: 4px;
    }

    nav ul li a {
        padding: 8px 9px;
        font-size: 0.92em;
    }

    .brand-name {
        font-size: 1.15em;
    }
}

@media (min-width: 1001px) and (max-width: 1120px) {
    .brand-name {
        display: none;
    }
}

.footer-section .footer-title {
    font-size: 1.2em !important;
}

/* ---------- Reviews carousel ---------- */
.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: -20px 0 30px;
    font-size: 1.05em;
}

.reviews-summary[hidden] {
    display: none;
}

.reviews-rating {
    font-size: 1.6em;
    font-weight: bold;
}

.stars {
    color: #fbbc04;
    letter-spacing: 2px;
}

.reviews-count {
    color: #cccccc;
}

.google-g {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ffffff;
    color: #4285f4;
    font-weight: bold;
    font-family: Arial, sans-serif;
    flex-shrink: 0;
}

.reviews-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 6px 2px 10px;
    flex: 1;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.carousel-track:focus-visible {
    outline: 2px solid #8dc63f;
    outline-offset: 4px;
}

.review-card {
    flex: 0 0 calc((100% - 40px) / 3);
    scroll-snap-align: start;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-card blockquote {
    margin: 0;
    flex: 1;
}

.review-text {
    font-style: normal;
    display: -webkit-box;
    -webkit-line-clamp: 7;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 10px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.review-avatar-letter {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #8dc63f;
    color: #ffffff;
    font-weight: bold;
}

.review-who {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.review-author {
    font-weight: bold;
    color: #ffffff;
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

a.review-author:hover,
.review-link:hover {
    color: #8dc63f;
}

.review-time {
    font-size: 0.85em;
    color: #aaaaaa;
}

.review-link {
    color: #cccccc;
    font-size: 0.9em;
}

.carousel-btn {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: #2b2b2b;
    color: #ffffff;
    font-size: 1.8em;
    line-height: 1;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.carousel-btn:hover {
    background: #8dc63f;
}

.carousel-btn[hidden],
.carousel-dots[hidden] {
    display: none;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 15px;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    padding: 0;
    border-radius: 50%;
    border: none;
    background: #666666;
    cursor: pointer;
}

.carousel-dot.active {
    background: #8dc63f;
    transform: scale(1.3);
}

.reviews-actions {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 30px;
}

.reviews-attribution {
    text-align: center;
    margin-top: 12px;
    font-size: 0.85em;
    color: #aaaaaa;
}

@media (max-width: 1000px) {
    .review-card {
        flex-basis: calc((100% - 20px) / 2);
    }
}

@media (max-width: 640px) {
    .review-card {
        flex-basis: 100%;
    }

    .carousel-btn {
        display: none;
    }
}

.reviews-actions .cta-button {
    text-align: center;
}

.google-review .review-text {
    font-style: normal;
}

/* ===== Redesign 2026: floor-care focus, adaptive media, gallery, map ===== */
:root { --green: #8dc63f; --green-dark: #75a928; --ink: #2b2b2b; --ink-2: #343434; --ink-3: #232323; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--green); margin-bottom: .6rem; }
.eyebrow.center, .center { text-align: center; }

/* Language switch (same pill style as Clau Cleaning) */
.lang-switch { display: inline-flex; border: 1.5px solid rgba(255,255,255,.35); border-radius: 999px; padding: 3px; }
.lang-switch button { background: none; border: 0; color: #fff; font: inherit; font-size: .8rem; font-weight: 700; padding: .3rem .7rem; border-radius: 999px; cursor: pointer; }
.lang-switch button[aria-pressed="true"] { background: var(--green); color: #fff; }
.lang-switch button:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }

/* Hero: video always fills the screen without distortion */
#home.hero { height: auto; min-height: 100vh; min-height: 100svh; padding: 110px 0 60px; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; background: #111 url("assets/hero-poster.jpg") center / cover no-repeat; }
.hero-media .hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; filter: brightness(.45); }
.hero-overlay { background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.55)); max-width: 920px; padding: clamp(24px, 4vw, 48px); }
#home h1 { font-size: clamp(2rem, 4.6vw, 3.6rem); line-height: 1.15; margin-bottom: 18px; }
#home .hero-sub { font-size: clamp(1rem, 1.6vw, 1.25rem); margin-bottom: 26px; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 22px; margin-top: 24px; font-size: .9rem; color: #e6e6e6; }
.hero-badges li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 6px; }

/* Floor care feature */
.floor-care { background: var(--ink); padding: 90px 0; }
.floor-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: center; }
.floor-media { position: relative; }
.floor-media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; box-shadow: 0 12px 30px rgba(0,0,0,.35); display: block; }
.floor-tag { position: absolute; left: 18px; bottom: 18px; background: var(--green); color: #fff; font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: .85rem; }
.floor-text h2 { color: #fff; font-size: clamp(1.8rem, 3vw, 2.5rem); line-height: 1.2; margin-bottom: 14px; text-align: left; }
.floor-text > p { color: #ddd; font-size: 1.05rem; margin-bottom: 22px; }
.floor-list { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; margin-bottom: 28px; }
.floor-list li { background: var(--ink-2); border-left: 3px solid var(--green); border-radius: 8px; padding: 12px 14px; }
.floor-list strong { display: block; color: var(--green); margin-bottom: 2px; }
.floor-list span { font-size: .92rem; color: #ddd; }
.floor-steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 56px; counter-reset: s; }
.floor-steps li { background: var(--ink-2); border-radius: 12px; padding: 20px; text-align: center; }
.floor-steps span { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--green); font-weight: 700; margin-bottom: 10px; }
.floor-steps strong { display: block; margin-bottom: 4px; }
.floor-steps p { font-size: .9rem; color: #ccc; }

/* About + floor care (one section); images keep their proportions */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: center; }
.about-image { position: relative; }
.about-image img { aspect-ratio: 4 / 5; height: auto; max-height: 600px; object-fit: cover; object-position: center top; display: block; }
.about-text { text-align: left; }
.about-text h2 { text-align: left; margin-bottom: 18px; font-size: clamp(1.9rem, 3vw, 2.5rem); }
.about-checks { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; }
.about-checks li { margin: 0 !important; font-size: 1rem !important; }
.about-checks li::before { content: "✓"; color: var(--green); font-weight: 700; margin-right: 8px; }
.floor-heading { text-align: center; color: var(--green); font-size: clamp(1.5rem, 2.4vw, 2rem); margin: 64px 0 26px; }
.about-section .floor-list { grid-template-columns: repeat(3, 1fr); margin-bottom: 32px; }
.review-source { display: block; font-size: .85rem; color: #aaa; margin-top: 4px; }
.review-card cite { font-weight: 700; color: var(--green); font-style: normal; }
.service-grid { grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); }
.service-item img { height: auto; aspect-ratio: 3 / 2; object-fit: cover; display: block; }

/* Gallery preview */
.work { background: var(--ink); padding: 90px 0; }
.work h2 { text-align: center; font-size: 2.5em; color: var(--green); margin-bottom: 30px; }
.work-grid { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 14px; margin: 10px 0 34px; }
.work-grid .wide { grid-column: span 2; grid-row: span 2; }
.work-item { position: relative; display: block; height: 100%; border-radius: 12px; overflow: hidden; }
.work-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work-item:hover img { transform: scale(1.05); }
.work-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 12px; background: linear-gradient(transparent, rgba(0,0,0,.75)); color: #fff; font-weight: 700; font-size: .92rem; }
.play { position: absolute; top: 50%; left: 50%; width: 68px; height: 68px; margin: -34px 0 0 -34px; border-radius: 50%; background: rgba(141,198,63,.92); box-shadow: 0 6px 18px rgba(0,0,0,.4); }
.play::after { content: ""; position: absolute; left: 27px; top: 21px; border-left: 20px solid #fff; border-top: 13px solid transparent; border-bottom: 13px solid transparent; }

/* Service area + map */
.area { background: var(--ink-2); padding: 90px 0; }
.area-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.area-text h2 { color: #fff; font-size: clamp(1.7rem, 2.8vw, 2.3rem); line-height: 1.2; margin-bottom: 14px; }
.area-text p { color: #ddd; margin-bottom: 20px; }
.area-address { font-style: normal; background: var(--ink); border-radius: 10px; padding: 16px 18px; margin-bottom: 22px; line-height: 1.8; }
.area-address a { color: var(--green); text-decoration: none; }
.area-map { border-radius: 14px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.35); aspect-ratio: 4 / 3; background: #444; }
.area-map iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (max-width: 900px) {
    .floor-grid, .about-grid, .area-grid { grid-template-columns: 1fr; gap: 32px; }
    .about-section .floor-list, .about-checks { grid-template-columns: 1fr; }
    .floor-media img { aspect-ratio: 4 / 3; max-height: none; }
    .about-image { order: 2; max-width: 520px; margin: 0 auto; width: 100%; }
    .about-image img { aspect-ratio: auto; height: auto; max-height: none; object-fit: contain; }
    .floor-list { grid-template-columns: 1fr; }
    .floor-steps { grid-template-columns: 1fr 1fr; }
    .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; }
    .floor-care, .work, .area { padding: 64px 0; }
}
@media (max-width: 768px) {
    .lang-item { padding: 14px 20px; text-align: center; }
}

/* Gallery page */
.gallery-page main { padding-top: 86px; }
.page-hero { background: var(--ink-3); padding: 56px 0 40px; text-align: center; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); color: #fff; margin-bottom: 12px; }
.page-hero p { color: #ddd; max-width: 720px; margin: 0 auto; }
.page-hero .eyebrow { margin-top: 18px; }
.breadcrumb { font-size: .9rem; color: #bbb; text-align: left; }
.breadcrumb a { color: var(--green); text-decoration: none; }
.gallery-full { padding-top: 40px; }
.gallery-full .work-grid { grid-auto-rows: 240px; grid-auto-flow: dense; }
.gallery-full .work-grid .tall { grid-row: span 2; }
.gallery-full .work-grid li[hidden] { display: none; }
button.work-item { width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; font: inherit; text-align: left; }
.gallery-filters { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 28px; }
.chip { background: transparent; color: #fff; border: 1.5px solid rgba(255,255,255,.3); border-radius: 999px; padding: 8px 18px; font: inherit; font-weight: 700; font-size: .9rem; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--green); border-color: var(--green); }
.gallery-cta { text-align: center; margin-top: 24px; }
.gallery-cta p { color: #ddd; margin-bottom: 14px; font-size: 1.1rem; }
.gallery-cta .cta-button { margin: 6px; }
.lightbox { border: 0; padding: 0; background: transparent; width: 100%; height: 100%; max-width: 100vw; max-height: 100vh; margin: 0; }
.lightbox[open] { display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; }
.lightbox::backdrop { background: rgba(10,10,10,.92); }
.lightbox figure { display: flex; flex-direction: column; align-items: center; gap: 12px; color: #fff; }
.lb-media img, .lb-media video { max-width: 100%; max-height: 80vh; border-radius: 10px; display: block; }
.lb-btn, .lb-close { background: rgba(255,255,255,.12); color: #fff; border: 0; border-radius: 50%; width: 48px; height: 48px; font-size: 28px; cursor: pointer; justify-self: center; }
.lb-close { position: absolute; top: 16px; right: 16px; }
.footer-bottom a { color: var(--green); text-decoration: none; }
@media (max-width: 900px) {
    .gallery-full .work-grid { grid-auto-rows: 170px; }
    .lightbox[open] { grid-template-columns: 44px 1fr 44px; }
}
.lb-media video { width: min(1100px, 88vw); background: #000; }

/* Gallery SEO copy */
.gallery-seo { background: var(--ink-3); padding: 70px 0; color: #ddd; }
.gallery-seo h2 { color: var(--green); font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 16px; text-align: center; }
.gallery-seo > .container > p { max-width: 860px; margin: 0 auto 18px; text-align: center; }
.gseo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin: 30px 0; }
.gseo-grid > div { background: var(--ink-2); border-radius: 12px; padding: 22px; border-top: 3px solid var(--green); }
.gseo-grid h3 { color: #fff; font-size: 1.1rem; margin-bottom: 8px; }
.gseo-grid p { font-size: .95rem; }
.gseo-links a { color: var(--green); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) { .gseo-grid { grid-template-columns: 1fr; } }

/* Gallery before/after sliders */
.ba-section { background: var(--ink); padding: 56px 0 10px; text-align: center; }
.ba-section h2 { color: var(--green); font-size: clamp(1.7rem, 2.8vw, 2.3rem); margin-bottom: 10px; }
.ba-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; gap: 28px; margin-top: 26px; }
.ba { margin: 0; }
.ba figcaption { color: #ddd; font-weight: 700; margin-top: 12px; }
.ba-frame { --pos: 50%; position: relative; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; box-shadow: 0 12px 30px rgba(0,0,0,.35); background: #444; }
.ba-frame img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 4px; margin-left: -2px; background: var(--green); pointer-events: none; }
.ba-handle::after { content: "‹ ›"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 46px; height: 46px; border-radius: 50%; background: var(--green); color: #fff; font-weight: 700; font-size: 20px; line-height: 44px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,.4); }
.ba-tag { position: absolute; top: 14px; padding: 6px 14px; border-radius: 999px; font-weight: 700; font-size: .85rem; pointer-events: none; }
.ba-tag-before { left: 14px; background: #fff; color: #222; }
.ba-tag-after { right: 14px; background: var(--green); color: #fff; }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-frame:focus-within .ba-handle { outline: 2px solid #fff; }
@media (max-width: 700px) {
    .ba-grid { grid-template-columns: minmax(0, 420px); }
}
.lb-media video.portrait { width: auto; height: 80vh; max-width: 92vw; }
.work-grid .fit .work-item { background: #111; }
.work-grid .fit .work-item img { object-fit: contain; }
.work-grid .fit .work-item:hover img { transform: scale(1.02); }
