/* =====================================================================
   LAVANDERÍA LA BARRANCA — Hoja de estilos
   Misma paleta de siempre, look renovado.
===================================================================== */
/* Tipografía: Plus Jakarta Sans para títulos, Inter para texto (ambas pensadas para leerse bien en pantalla) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Plus+Jakarta+Sans:wght@600;700;800&display=swap');

:root {
    /* Paleta original de la marca (sin cambios) */
    --navy: #2c3e50;
    --navy-soft: #242e38;
    --pink: #d94a8c;
    --pink-dark: #c03978;
    --blue: #0055ff;
    --blue-light: #00aaff;
    --bg-soft: #f4f4f4;
    --white: #ffffff;
    --text: #333333;
    --text-muted: #5f6b7a;
    --blue-deep: #1a4fd6;

    --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', system-ui, Arial, sans-serif;

    /* Tokens nuevos para consistencia */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;
    --shadow-sm: 0 2px 10px rgba(44, 62, 80, 0.08);
    --shadow-md: 0 10px 30px rgba(44, 62, 80, 0.10);
    --shadow-lg: 0 20px 45px rgba(44, 62, 80, 0.16);
    --gradient-brand: linear-gradient(135deg, var(--blue) 0%, var(--pink) 100%);
    --gradient-navy: linear-gradient(160deg, #1c2a38 0%, var(--navy) 55%, #34495e 100%);
    --container: 1180px;
    --nav-height: 88px;
    --ease: cubic-bezier(.22, 1, .36, 1);
}

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

/* scroll-padding-top: al abrir un enlace como precios.html#ropa el título no queda tapado por la barra fija */
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-height) + 20px); }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    color: var(--text);
    background-color: var(--white);
    animation: fadeInAnimation ease-in .5s;
    animation-fill-mode: forwards;
    overflow-x: hidden;
}

@keyframes fadeInAnimation { from { opacity: 0; } to { opacity: 1; } }

img { max-width: 100%; display: block; }

h1, h2, h3, h4, h5 { font-family: var(--font-heading); line-height: 1.25; letter-spacing: -0.01em; }

/* Los formularios no heredan la fuente por defecto: así usan la misma fuente igual que el resto */
button, input, select, textarea { font: inherit; }
textarea { resize: vertical; }

a:focus-visible, button:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 3px;
}

a { color: inherit; }

::selection { background: var(--pink); color: var(--white); }

.section-eyebrow {
    display: inline-block;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--pink);
    background: rgba(217, 74, 140, .09);
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 16px;
}

/* ==================== BARRA DE NAVEGACIÓN ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    box-shadow: 0 2px 18px rgba(44, 62, 80, .08);
    z-index: 1000;
    transition: top .4s var(--ease), box-shadow .3s ease;
}

/* El fondo borroso va en una capa aparte: si el blur estuviera en .navbar, el menú lateral
   del celular (position: fixed, dentro de la barra) quedaría "atrapado" y se movería con ella */
.navbar::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-color: rgba(255, 255, 255, .92);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

/* Se oculta por completo (incluida la sombra) */
.navbar--hidden { top: -120px; box-shadow: none; }

.navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
    padding: 10px 0;
    position: relative;
    min-height: var(--nav-height);
}

.navbar-logo { display: inline-flex; align-items: center; }
.navbar-logo img {
    height: 68px;
    width: auto;
    transition: transform .3s var(--ease);
}
.navbar-logo:hover img { transform: scale(1.04) rotate(-2deg); }

.nav-menu {
    display: flex;
    align-items: center;
    gap: 6px;
    list-style: none;
}

.nav-link {
    position: relative;
    color: var(--navy);
    text-decoration: none;
    font-weight: 600;
    font-size: 15.5px;
    transition: color .25s ease;
    padding: 10px 16px;
    border-radius: 50px;
}

.nav-link::after {
    content: "";
    position: absolute;
    left: 16px;
    right: 16px;
    bottom: 6px;
    height: 2px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--ease);
}

.nav-link:hover { color: var(--pink); }
.nav-link:hover::after { transform: scaleX(1); }

.nav-link.active {
    color: var(--white);
    background: var(--navy);
}
.nav-link.active::after { display: none; }

.navbar-cta-text {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--gradient-brand);
    background-size: 160% 160%;
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    font-size: 15px;
    border-radius: 50px;
    box-shadow: 0 8px 18px rgba(217, 74, 140, .28);
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-position .4s ease;
    white-space: nowrap;
}

.navbar-cta-text:hover {
    transform: translateY(-2px) scale(1.03);
    background-position: 100% 0;
    box-shadow: 0 12px 24px rgba(217, 74, 140, .38);
}

.navbar-cta { display: none; }
.navbar-cta img { height: 45px; transition: transform .3s; }
.navbar-cta:hover img { transform: scale(1.05); }

/* Botón hamburguesa animado */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    width: 40px;
    height: 40px;
    position: relative;
}

.menu-toggle span {
    display: block;
    position: absolute;
    left: 8px;
    right: 8px;
    height: 3px;
    border-radius: 3px;
    background: var(--navy);
    transition: transform .3s var(--ease), opacity .2s ease, top .3s var(--ease);
}
.menu-toggle span:nth-child(1) { top: 12px; }
.menu-toggle span:nth-child(2) { top: 19px; }
.menu-toggle span:nth-child(3) { top: 26px; }

.menu-toggle.is-active span:nth-child(1) { top: 19px; transform: rotate(45deg); }
.menu-toggle.is-active span:nth-child(2) { opacity: 0; }
.menu-toggle.is-active span:nth-child(3) { top: 19px; transform: rotate(-45deg); }

/* ==================== SECCIONES GENERALES ==================== */
section { padding: 90px 5%; text-align: center; }

.page-section { padding-top: 150px; }

.page-section h2, .page-section h3 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 2.7rem);
    color: var(--navy);
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* ==================== HERO ==================== */
.hero {
    position: relative;
    background: url('../Images/Background/PiedrasAzules.jpg') no-repeat center center/cover;
    color: white;
    padding-top: 200px;
    padding-bottom: 130px;
    margin-top: 0;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(15, 26, 41, .72) 0%, rgba(15, 26, 41, .55) 45%, rgba(15, 26, 41, .82) 100%);
    z-index: -1;
}

.hero .section-eyebrow {
    background: rgba(255, 255, 255, .14);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .35);
}

.hero h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.4rem, 6vw, 3.8rem);
    color: white;
    margin-bottom: 22px;
    letter-spacing: -0.025em;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, .45),
        0 0 28px rgba(0, 170, 255, .55);
}

.hero p {
    font-size: clamp(1.1rem, 2.5vw, 1.35rem);
    text-shadow: 2px 2px 8px rgba(0, 0, 0, .7);
    max-width: 640px;
    margin: 0 auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 36px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .3s ease;
}

.btn-primary {
    background: var(--pink);
    color: var(--white);
    box-shadow: 0 10px 25px rgba(217, 74, 140, .35);
}
.btn-primary:hover {
    background: var(--pink-dark);
    transform: translateY(-3px);
    box-shadow: 0 14px 30px rgba(217, 74, 140, .45);
}

.btn-ghost {
    background: rgba(255, 255, 255, .1);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, .55);
    backdrop-filter: blur(4px);
}
.btn-ghost:hover {
    background: rgba(255, 255, 255, .2);
    transform: translateY(-3px);
    border-color: var(--white);
}

.hero-trust {
    list-style: none;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px 0;
    margin-top: 44px;
    font-size: .95rem;
    color: rgba(255, 255, 255, .85);
}
.hero-trust li { padding: 0 24px; }
.hero-trust li + li { border-left: 1px solid rgba(255, 255, 255, .3); }
.hero-trust strong { color: var(--white); font-size: 1.15rem; margin-right: 4px; }

/* ==================== FEATURES ==================== */
.features-section {
    background-color: var(--bg-soft);
    padding-top: 90px;
    padding-bottom: 100px;
}

.features-section h2,
.cta-section h2 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.9rem, 4.5vw, 2.6rem);
    line-height: 1.3;
    margin-bottom: 14px;
}
.features-section h2 { color: var(--navy); }

/* 5 en fila en escritorio, 3 + 2 centrados en tablet, 1 por fila en celular */
.features {
    --gap: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: stretch;
    gap: var(--gap);
    max-width: var(--container);
    margin: 44px auto 0;
}

.feature-panel {
    flex: 0 1 calc((100% - 4 * var(--gap)) / 5);
    position: relative;
    background-color: white;
    padding: 34px 20px 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform .35s var(--ease), box-shadow .35s var(--ease);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    overflow: hidden;
}

.feature-panel::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-brand);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.feature-panel:hover::before { transform: scaleX(1); }

.feature-panel .icon-wrap {
    width: 84px;
    height: 84px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(0, 85, 255, .1), rgba(217, 74, 140, .1));
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
    transition: transform .35s var(--ease), background .35s ease;
}

.feature-panel h4 {
    margin-top: 20px;
    margin-bottom: 12px;
    font-size: 1.12rem;
    line-height: 1.25;
    color: var(--navy);
    /* Siempre reserva 2 líneas: así los textos de todos los cuadros empiezan a la misma altura */
    min-height: 2.5em;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-panel p {
    font-size: .98rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin: 0;
    flex-grow: 1;
}

.feature-icon {
    width: 42px;
    height: 42px;
    fill: var(--blue);
    transition: transform .3s ease;
}

.feature-panel:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}
.feature-panel:hover .icon-wrap {
    transform: scale(1.08) rotate(-4deg);
    background: var(--gradient-brand);
}
.feature-panel:hover .feature-icon { fill: var(--white); }

@media (max-width: 1100px) {
    .feature-panel { flex-basis: calc((100% - 2 * var(--gap)) / 3); padding: 38px 26px 32px; }
}
@media (max-width: 760px) {
    .feature-panel { flex-basis: 100%; max-width: 420px; }
}

/* ==================== SERVICIOS ==================== */
.services-section { background-color: var(--bg-soft); }

.services-grid {
    --gap: 28px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

.service-card {
    position: relative;
    background-color: white;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}

.service-card .img-wrap {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.service-card img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
    transition: transform .5s var(--ease);
}

.service-card .img-wrap::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(44,62,80,0) 40%, rgba(44,62,80,.65) 100%);
    opacity: 0;
    transition: opacity .35s ease;
}

.service-card h4 {
    padding: 20px;
    font-size: 19px;
    color: var(--navy);
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.service-card h4::after {
    content: "→";
    color: var(--pink);
    font-weight: 700;
    transform: translateX(-6px);
    opacity: 0;
    transition: transform .3s var(--ease), opacity .3s ease;
}

.service-card-link {
    flex: 0 1 calc((100% - 3 * var(--gap)) / 4);
    text-decoration: none;
    color: inherit;
    display: block;
}

.service-card-link:hover .service-card {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}
.service-card-link:hover img { transform: scale(1.12); }
.service-card-link:hover .img-wrap::after { opacity: 1; }
.service-card-link:hover h4::after { transform: translateX(0); opacity: 1; }

/* ==================== CTA ==================== */
.cta-section {
    background: var(--gradient-navy);
    color: white;
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.cta-section::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,74,140,.25), transparent 70%);
    top: -200px;
    right: -150px;
    z-index: -1;
}
.cta-section h2 { color: white; }
.cta-section p { max-width: 560px; margin: 0 auto; opacity: .9; }

.cta-button {
    display: inline-block;
    margin-top: 26px;
    padding: 15px 32px;
    background-color: var(--pink);
    color: var(--white);
    text-decoration: none;
    font-weight: 700;
    border-radius: 50px;
    box-shadow: 0 10px 25px rgba(217, 74, 140, .35);
    transition: all .3s var(--ease);
}

.cta-button:hover {
    background-color: var(--white);
    color: var(--pink);
    transform: translateY(-4px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, .2);
}

/* ==================== CONTACTO ==================== */
.contact-section {
    background: url('../Images/Background/Burbujas.jpg') no-repeat center center/cover;
    background-color: #f8f8f8;
}

.contact-container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    text-align: left;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background-color: white;
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-left: 4px solid var(--pink);
    border-radius: var(--radius-sm);
    background-color: #fcfcfc;
    transition: transform .3s ease, background-color .3s ease;
}

.info-item:hover {
    transform: translateX(6px);
    background-color: #fff0f5;
}

.info-item .icon {
    width: 30px;
    height: 30px;
    fill: var(--navy);
    flex-shrink: 0;
}

.info-item p { margin: 0; font-size: 16px; color: #555; text-align: left; }
.info-item strong { color: var(--navy); }
.info-item a { color: var(--pink); text-decoration: none; transition: text-decoration .3s; }
.info-item a:hover { text-decoration: underline; }

.contact-form {
    background-color: white;
    padding: 34px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: left;
}
.contact-form h3 {
    margin-bottom: 25px;
    color: var(--navy);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(1.8rem, 4vw, 2.2rem);
    text-align: center;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 13px 14px;
    margin-bottom: 16px;
    border: 1.5px solid #e3e3e3;
    border-radius: var(--radius-sm);
    font-size: 16px;
    background-color: #fbfbfb;
    transition: border-color .3s, box-shadow .3s, background-color .3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 4px rgba(217, 74, 140, .15);
    outline: none;
    background-color: var(--white);
}

.contact-form button {
    width: 100%;
    padding: 16px;
    background-color: var(--navy);
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color .3s, transform .3s, box-shadow .3s;
}

.contact-form button:hover {
    background-color: var(--pink);
    transform: scale(1.02);
    box-shadow: 0 10px 22px rgba(217, 74, 140, .3);
}

.map-section { padding-top: 0; }
.map-section iframe {
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: var(--container);
    box-shadow: var(--shadow-md);
}

/* ==================== RESEÑAS (GOOGLE) ==================== */
/* <main> no hereda el padding/centrado de <section>, por eso se define aquí */
.reviews-page {
    background: linear-gradient(180deg, var(--white) 0%, var(--bg-soft) 100%);
    text-align: center;
    padding-bottom: 90px;
}

.reviews-wrap {
    width: 90%;
    max-width: var(--container);
    margin: 0 auto;
}

.reviews-intro {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: -8px auto 36px;
    max-width: 560px;
}
.reviews-intro a { color: var(--pink-dark); font-weight: 600; }

/* Botón con borde (complemento de .btn-primary sobre fondo claro) */
.btn-outline {
    background: var(--white);
    color: var(--navy);
    border: 1.5px solid #d5dbe4;
}
.btn-outline:hover {
    border-color: var(--navy);
    transform: translateY(-3px);
    box-shadow: var(--shadow-sm);
}

/* Resumen de calificación */
.reviews-summary {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 24px 32px;
    max-width: 860px;
    margin: 0 auto 44px;
    padding: 28px 32px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    text-align: left;
}

.reviews-summary-score { display: flex; align-items: center; gap: 18px; }

.reviews-summary-logo {
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--bg-soft);
    display: grid;
    place-items: center;
}
.reviews-summary-logo svg { width: 30px; height: 30px; }

.reviews-summary-line { display: flex; align-items: center; gap: 12px; }

.reviews-summary-rating {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
    color: var(--navy);
}

.reviews-summary-stars,
.review-stars,
.reviews-cta-stars {
    color: #fbbc04;
    letter-spacing: 2px;
    line-height: 1;
}
.reviews-summary-stars { font-size: 1.5rem; }

.reviews-summary-count { color: var(--text-muted); font-size: .95rem; margin-top: 6px; }

.reviews-summary-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Tarjetas */
.reviews-grid {
    --gap: 24px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--gap);
    padding: 0;
}

.review-card {
    flex: 0 1 calc((100% - 2 * var(--gap)) / 3);
    max-width: 400px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 26px;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    text-align: left;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.review-card::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: var(--gradient-brand);
}
.review-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }

.review-head { display: flex; align-items: center; gap: 12px; }

.review-avatar {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 50%;
    background: var(--gradient-brand);
    color: var(--white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.2rem;
    display: grid;
    place-items: center;
}

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

.reviews-page .review-name {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--navy);
    margin: 0;
    letter-spacing: 0;
}
.review-date { display: block; font-size: .85rem; color: var(--text-muted); }

.review-google { width: 24px; height: 24px; flex-shrink: 0; }
.review-google svg { width: 100%; height: 100%; display: block; }

.review-stars { font-size: 1.25rem; }

.review-text { color: #3a4552; font-size: 1rem; line-height: 1.65; flex-grow: 1; }
.review-text--empty { color: var(--text-muted); font-style: italic; }

.review-source {
    align-self: flex-start;
    font-size: .88rem;
    font-weight: 600;
    color: var(--blue-deep);
    text-decoration: none;
}
.review-source:hover { text-decoration: underline; }

/* Invitación final */
.reviews-cta {
    max-width: 760px;
    margin: 56px auto 0;
    padding: 44px 32px;
    border-radius: var(--radius-lg);
    background: var(--gradient-navy);
    color: var(--white);
    position: relative;
    overflow: hidden;
    isolation: isolate;
}
.reviews-cta::before {
    content: "";
    position: absolute;
    width: 360px;
    height: 360px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(217,74,140,.3), transparent 70%);
    top: -160px;
    right: -120px;
    z-index: -1;
}
.reviews-cta-stars { font-size: 1.6rem; margin-bottom: 10px; }
.reviews-page .reviews-cta h3 {
    color: var(--white);
    font-size: clamp(1.5rem, 3.5vw, 2rem);
    margin-bottom: 10px;
}
.reviews-cta p { max-width: 520px; margin: 0 auto 24px; color: rgba(255,255,255,.85); }

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

@media (max-width: 640px) {
    .reviews-summary { flex-direction: column; text-align: center; padding: 26px 20px; }
    .reviews-summary-score { flex-direction: column; gap: 12px; }
    .reviews-summary-line { justify-content: center; }
    .reviews-summary-actions { flex-direction: column; width: 100%; }
    .reviews-summary-actions .btn { justify-content: center; }

    .review-card { flex-basis: 100%; }

    .reviews-cta { padding: 36px 22px; }
    .reviews-cta .btn { width: 100%; max-width: 320px; justify-content: center; }
}

/* ==================== NOSOTROS ==================== */
.about-image {
    max-width: 520px;
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    margin: 24px auto 34px;
    display: block;
}

.about-text {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    background: white;
    padding: 36px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-sm);
    color: #444;
    font-size: 1.05rem;
}

.about-text strong { color: var(--pink); }

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    max-width: 800px;
    margin: 34px auto 0;
}

.about-stats .stat {
    background: var(--bg-soft);
    padding: 22px 10px;
    border-radius: var(--radius-md);
}

.about-stats .stat strong {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2rem;
    color: var(--navy);
}
.about-stats .stat span { font-size: .85rem; color: var(--text-muted); }

/* ==================== TABLA DE PRECIOS ==================== */
.prices-section { background-color: var(--white); padding-bottom: 90px; }

.prices-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-top: -12px;
    margin-bottom: 40px;
}

.table-container {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    overflow-x: auto;
    box-shadow: var(--shadow-md);
    border-radius: var(--radius-lg);
}

.prices-table {
    width: 100%;
    border-collapse: collapse;
    background-color: white;
    font-variant-numeric: tabular-nums;
}

.prices-table th, .prices-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid #e6eaf0;
    color: #2b3440;
}

.prices-table th {
    background-color: var(--navy);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: 1.2px;
}

/* Encabezado de cada categoría: azul sólido con buen contraste */
.prices-table tr.section-header td {
    background: var(--blue-deep);
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: .3px;
    text-align: left;
    border-left: 6px solid var(--pink);
    border-bottom: none;
    white-space: normal;
}

.prices-table tbody tr:not(.section-header):nth-child(even) { background-color: #f6f8fc; }
.prices-table tbody tr:hover:not(.section-header) { background-color: #e9f0ff; transition: background-color .2s; }

.prices-table td:first-child { font-weight: 600; }
.prices-table td:nth-child(2) { color: var(--text-muted); }
.prices-table td:last-child { font-weight: 700; color: var(--pink-dark); text-align: right; white-space: nowrap; }
.prices-table th:last-child { text-align: right; }

.disclaimer { font-size: .85rem; color: #888; margin-top: 22px; font-style: italic; }

/* ==================== PIE DE PÁGINA ==================== */
footer {
    background: var(--gradient-navy);
    color: white;
    padding: 60px 5% 26px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: 40px;
    max-width: var(--container);
    margin: 0 auto 36px;
    text-align: left;
}

.footer-brand img { height: 56px; margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.7); font-size: .92rem; max-width: 280px; }

.footer-col h5 {
    font-size: .8rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--pink);
    margin-bottom: 16px;
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col a {
    color: rgba(255,255,255,.82);
    text-decoration: none;
    font-size: .95rem;
    transition: color .25s ease, padding-left .25s ease;
}
.footer-col a:hover { color: var(--pink); padding-left: 4px; }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.14);
    padding-top: 22px;
    max-width: var(--container);
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    text-align: center;
}

.footer-bottom p { font-size: .88rem; color: rgba(255,255,255,.65); }
.footer-bottom a { color: rgba(255,255,255,.65); text-decoration: none; }
.footer-bottom a:hover { color: var(--pink); }

.social-links { display: flex; gap: 14px; }
.social-links a {
    color: white;
    background: rgba(255,255,255,.08);
    width: 40px; height: 40px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    transition: transform .3s ease, background-color .3s ease;
}
.social-links a:hover { background-color: var(--pink); transform: translateY(-3px); }
.social-links svg { width: 20px; height: 20px; vertical-align: middle; }

/* Compatibilidad con footer simple (aviso de privacidad) */
.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    text-align: center;
    max-width: var(--container);
    margin: 0 auto;
}
.footer-content p { font-size: .9rem; color: rgba(255,255,255,.75); }

/* ==================== BOTÓN VOLVER ARRIBA ==================== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    left: 40px;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity .3s ease, transform .3s ease, background-color .3s ease, visibility .3s;
    z-index: 900;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--pink); }
.back-to-top svg { width: 20px; height: 20px; fill: white; }

/* ==================== WHATSAPP FLOTANTE ==================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 6px 18px rgba(37, 211, 102, .45);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform .3s var(--ease);
}

.whatsapp-float::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50px;
    background: #25d366;
    animation: pulse-wa 2.4s ease-out infinite;
    z-index: -1;
}

@keyframes pulse-wa {
    0% { transform: scale(1); opacity: .55; }
    100% { transform: scale(1.9); opacity: 0; }
}

.whatsapp-float:hover { transform: scale(1.1); background-color: #128c7e; }
.whatsapp-float svg { width: 35px; height: 35px; fill: white; }

/* ==================== CURSOR PERSONALIZADO ==================== */
body, button, input, a, textarea, select {
    cursor: url('../Images/Icons/Cursorjabon.png'), auto !important;
}
input[type="text"], input[type="tel"], textarea { cursor: text !important; }

/* En pantallas táctiles el "hover" se queda pegado al tocar: se desactivan los saltos de las tarjetas */
@media (hover: none) {
    .feature-panel:hover,
    .service-card-link:hover .service-card,
    .service-card-link:hover img,
    .review-card:hover,
    .info-item:hover { transform: none; }
}

/* ==================== DISEÑO RESPONSIVO ==================== */
@media (max-width: 992px) {
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: -100%;
        width: min(78%, 340px);
        height: 100vh;
        height: 100dvh; /* en celular descuenta la barra del navegador */
        overflow-y: auto;
        background-color: var(--white);
        box-shadow: -10px 0 30px rgba(0,0,0,.15);
        padding: 110px 28px 40px;
        gap: 6px;
        z-index: 999;
        transition: right .4s var(--ease);
        align-items: stretch;
    }

    .nav-menu.active { right: 0; }

    .nav-overlay {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(15, 26, 41, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .35s ease, visibility .35s ease;
        z-index: 998;
    }
    .nav-overlay.active { opacity: 1; visibility: visible; }

    .nav-menu .nav-link {
        padding: 14px 18px;
        text-align: left;
        border-radius: var(--radius-sm);
        font-size: 17px;
    }
    .nav-menu .nav-link.active { background: var(--gradient-brand); }
    .nav-menu .nav-link:hover { background-color: #f0f4ff; }
    .nav-menu .nav-link::after { display: none; }

    .menu-toggle { display: block; }

    /* Con el menú abierto, los botones flotantes no se enciman sobre los enlaces */
    body.menu-open .whatsapp-float,
    body.menu-open .back-to-top { opacity: 0; visibility: hidden; pointer-events: none; }

    .navbar-cta-text { display: none; }
    .navbar-cta { display: none; }

    .navbar-container { padding: 8px 5%; }
    .navbar-logo img { height: 56px; }

    .contact-container { grid-template-columns: 1fr; gap: 30px; }

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

    .service-card-link { flex-basis: calc((100% - 2 * var(--gap)) / 3); }
}

@media (max-width: 768px) {
    .hero { padding-top: 150px; padding-bottom: 70px; }
    .hero p { padding: 0 5%; }

    section { padding: 56px 5%; }
    .page-section { padding-top: 130px; }

    .contact-container { width: 92%; }
    .contact-info-grid, .contact-form { padding: 22px; }

    .info-item { flex-direction: column; text-align: center; align-items: center; }
    .info-item p { text-align: center; }
    .info-item .icon { margin-bottom: 8px; }

    .map-section iframe { height: 300px; }

    .about-text { padding: 24px; }

    .footer-grid { grid-template-columns: 1fr; gap: 30px; text-align: center; }
    .footer-col ul { align-items: center; }
    .footer-brand p { margin: 0 auto; }

    .whatsapp-float { width: 52px; height: 52px; bottom: 20px; right: 20px; }
    .whatsapp-float svg { width: 26px; height: 26px; }

    .back-to-top { width: 42px; height: 42px; bottom: 20px; left: 20px; }

    .services-grid { --gap: 20px; }
    .service-card-link { flex-basis: calc((100% - var(--gap)) / 2); }

    .hero-trust { flex-direction: column; align-items: center; margin-top: 34px; }
    .hero-trust li + li { border-left: none; }

    /* Espacio para que los botones flotantes no tapen el texto del footer */
    footer { padding-bottom: 96px; }
}

@media (max-width: 540px) {
    .service-card-link { flex-basis: 100%; }

    /* Botones del hero del mismo ancho, uno debajo del otro */
    .hero-actions { flex-direction: column; align-items: center; }
    .hero-actions .btn { width: 100%; max-width: 300px; justify-content: center; }
}

@media (max-width: 600px) {
    .prices-table thead { display: none; }

    .table-container { box-shadow: none; border-radius: 0; }

    .prices-table, .prices-table tbody, .prices-table tr, .prices-table td {
        display: block;
        width: 100%;
    }

    .prices-table tr {
        margin-bottom: 14px;
        border-radius: var(--radius-md);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
    }

    .prices-table tr.section-header {
        box-shadow: none;
        margin-bottom: 8px;
        margin-top: 20px;
    }

    .prices-table td {
        padding: 12px 16px;
        border-bottom: 1px solid #f0f0f0;
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 10px;
    }

    .prices-table td:last-child { border-bottom: none; text-align: right; }

    .prices-table td::before {
        content: attr(data-label);
        font-weight: 700;
        color: var(--navy);
        font-size: .78rem;
        text-transform: uppercase;
        letter-spacing: .5px;
        flex-shrink: 0;
    }

    .prices-table td { text-align: right; }
    .prices-table tr.section-header td::before { display: none; }
    .prices-table tr.section-header td { justify-content: flex-start; }
}
