/* ============================================
   DASA SPA — Hoja de estilos
   Paleta: Crema / Bronce / Rosa antiguo
   ============================================ */

/* ----- Reset & base ----- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --bg: #faf6f1;
    --bg-alt: #f3e9dd;
    --primary: #b08d57;
    --primary-dark: #8a6a3d;
    --primary-light: #d4b58a;
    --accent: #c47c5b;
    --dark: #1f1a17;
    --text: #2a2421;
    --text-muted: #6e635a;
    --rose: #d4a89a;
    --white: #ffffff;
    --border: #e8dfd3;
    --shadow-sm: 0 4px 12px rgba(31, 26, 23, 0.06);
    --shadow-md: 0 8px 30px rgba(31, 26, 23, 0.10);
    --shadow-lg: 0 20px 60px rgba(31, 26, 23, 0.15);
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 24px;
    --transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);

    --font-display: 'Italiana', 'Cormorant Garamond', Georgia, serif;
    --font-heading: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition);
}

ul {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

input,
select,
textarea {
    font-family: inherit;
    font-size: 1rem;
    color: var(--text);
}

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

/* ----- Accesibilidad ----- */
.skip-link {
    position: absolute;
    top: -100px;
    left: 16px;
    z-index: 1100;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--white);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    font-size: 0.875rem;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 0;
}

:focus-visible {
    outline: 2px solid var(--primary);
    outline-offset: 3px;
}

/* El menu movil abierto no debe dejar scrollear el fondo. */
body.has-menu-open {
    overflow: hidden;
}

/* ----- Container ----- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ----- Botones ----- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 16px 32px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all var(--transition);
    border: 1px solid transparent;
    white-space: nowrap;
}

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

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

.btn--ghost {
    background: transparent;
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
}

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

.btn--outline {
    background: transparent;
    color: var(--primary-dark);
    border-color: var(--primary);
}

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

.btn--sm {
    padding: 10px 22px;
    font-size: 0.75rem;
}

.btn--block {
    width: 100%;
}

/* ============================================
   HEADER
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 18px 0;
    background: transparent;
    transition: all var(--transition);
}

.header.is-scrolled {
    background: rgba(250, 246, 241, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    padding: 12px 0;
}

.header__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--white);
    letter-spacing: 0.1em;
    transition: color var(--transition);
}

.logo__mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.25rem;
    font-weight: 600;
    transition: all var(--transition);
}

.logo__text {
    font-weight: 400;
    letter-spacing: 0.2em;
}

.header.is-scrolled .logo {
    color: var(--dark);
}

.nav__list {
    display: flex;
    gap: 36px;
}

.nav__link {
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    padding: 6px 0;
}

.nav__link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--primary);
    transition: width var(--transition);
}

.nav__link:hover::after {
    width: 100%;
}

.header.is-scrolled .nav__link {
    color: var(--dark);
}

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

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 28px;
    height: 20px;
    padding: 0;
    z-index: 1001;
}

.hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--white);
    transition: all var(--transition);
    border-radius: 2px;
}

.header.is-scrolled .hamburger span {
    background: var(--dark);
}

.hamburger.is-active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
    opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

.hamburger.is-active span {
    background: var(--dark);
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: var(--white);
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero__bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

/* El parallax de script.js desplaza .hero__bg hacia abajo; este margen
   superior evita que se descubra el borde del hero al hacerlo. */
@media (min-width: 860px) and (prefers-reduced-motion: no-preference) {
    .hero__bg {
        inset: -20% 0 0 0;
    }
}

.hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    0% { transform: scale(1); }
    100% { transform: scale(1.08); }
}

.hero__overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(176, 141, 87, 0.18) 0%, transparent 45%),
        linear-gradient(135deg, rgba(31, 26, 23, 0.75) 0%, rgba(31, 26, 23, 0.65) 100%);
    z-index: -1;
}

.hero__content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero__eyebrow {
    display: inline-block;
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    color: var(--white);
    margin-bottom: 24px;
}

.hero__title {
    font-family: var(--font-heading);
    line-height: 1;
    margin-bottom: 32px;
}

.hero__title-script {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(4.5rem, 12vw, 9rem);
    font-weight: 400;
    line-height: 0.9;
    color: var(--white);
    text-shadow: 0 4px 24px rgba(0, 0, 0, 0.6);
}

.hero__title-main {
    display: block;
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 300;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    margin-top: 12px;
    color: var(--white);
}

.hero__subtitle {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 300;
    line-height: 1.7;
    max-width: 580px;
    margin-bottom: 44px;
    color: rgba(255, 255, 255, 0.9);
}

.hero__cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 24px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.7);
}

.hero__scroll-line {
    width: 60px;
    height: 1px;
    background: rgba(255, 255, 255, 0.7);
    position: relative;
    overflow: hidden;
}

.hero__scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--primary-light);
    animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* ============================================
   SECTIONS — base
   ============================================ */
.section {
    padding: 100px 0;
    position: relative;
}

.section__header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 70px;
}

.section__eyebrow {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: var(--primary);
    margin-bottom: 18px;
}

.section__title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 500;
    line-height: 1.15;
    color: var(--dark);
    margin-bottom: 20px;
}

.section__lead {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================
   SERVICIOS
   ============================================ */
.servicios {
    background: var(--bg);
}

/* ---------- Servicios agrupados por categoría ---------- */

.services-group {
    margin-bottom: 60px;
}

.services-group:last-of-type {
    margin-bottom: 0;
}

/* El encabezado se lee como una línea de catálogo: el nombre a la
   izquierda y un filete que ocupa lo que sobre. Con 20 servicios en
   cinco categorías, es lo que permite saltar directo a la que
   interesa sin leerlas todas. */
.services-group__titulo {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 28px;
    font-family: var(--font-body);
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--primary);
}

.services-group__titulo::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.services-grid {
    display: grid;
    /* auto-fill y no auto-fit: auto-fit colapsa las pistas sobrantes, y
       entonces una categoría de 3 servicios reparte todo el ancho entre
       3 tarjetas mientras la de 8 lo reparte entre 4. La misma tarjeta
       cambiaría de tamaño según la categoría en que cayó. */
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 24px;
}

.service-card {
    position: relative;
    background: var(--white);
    padding: 40px 32px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border);
    transition: all var(--transition);
    text-align: left;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 0;
    background: var(--primary);
    transition: height var(--transition);
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.service-card:hover::before {
    height: 100%;
}

.service-card--featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    border-color: transparent;
}

.service-card--featured::before {
    background: var(--white);
}

.service-card__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: var(--white);
    color: var(--primary-dark);
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 50px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.service-card__icon {
    font-size: 2.25rem;
    color: var(--primary);
    margin-bottom: 20px;
    line-height: 1;
}

.service-card--featured .service-card__icon {
    color: var(--white);
}

.service-card__title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--dark);
}

.service-card--featured .service-card__title {
    color: var(--white);
}

.service-card__desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 24px;
    min-height: 80px;
}

.service-card--featured .service-card__desc {
    color: rgba(255, 255, 255, 0.85);
}

.service-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.service-card--featured .service-card__footer {
    border-top-color: rgba(255, 255, 255, 0.2);
}

.service-card__price {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-dark);
}

.service-card--featured .service-card__price {
    color: var(--white);
}

.service-card__time {
    font-size: 0.85rem;
    color: var(--text-muted);
    letter-spacing: 0.05em;
}

.service-card--featured .service-card__time {
    color: rgba(255, 255, 255, 0.7);
}

.services-cta {
    text-align: center;
    padding: 40px;
    background: var(--bg-alt);
    border-radius: var(--radius-md);
}

.services-cta p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-style: italic;
}

/* ============================================
   GALERÍA
   ============================================ */
.galeria {
    background: var(--bg-alt);
}

.gallery-grid {
    display: grid;
    /* Tres columnas porque son nueve fotos: entran en tres filas
       exactas, sin dejar una fila coja. */
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 60px;
}

.gallery-item {
    position: relative;
    /* Las fotos del portafolio son verticales. Con una celda apaisada
       —lo que había antes— `object-fit: cover` se comía la mitad del
       alto y con ella las uñas, que son justo lo que hay que ver.
       Sustituye al `grid-auto-rows` de alto fijo, con el que peleaba. */
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: var(--radius-md);
    background: var(--white);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

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

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(31, 26, 23, 0.5), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
}

    .gallery-item:hover::after {
        opacity: 1;
    }

    .gallery-item--fallback {
    background: linear-gradient(135deg, var(--primary-light), var(--rose));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.25rem;
}

.gallery-cta {
    text-align: center;
    padding: 40px;
    background: var(--white);
    border-radius: var(--radius-md);
}

.gallery-cta p {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 20px;
    font-style: italic;
}

/* ============================================
   NOSOTROS
   ============================================ */
.nosotros {
    background: var(--bg);
}

.nosotros__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.nosotros__image {
    position: relative;
}

.nosotros__image img {
    width: 100%;
    height: 540px;
    object-fit: cover;
    border-radius: var(--radius-md);
    position: relative;
    z-index: 2;
    box-shadow: var(--shadow-lg);
}

.nosotros__image-deco {
    position: absolute;
    top: 30px;
    left: 30px;
    right: -30px;
    bottom: -30px;
    border: 2px solid var(--primary);
    border-radius: var(--radius-md);
    z-index: 1;
}

.nosotros__content p {
    color: var(--text-muted);
    margin-bottom: 18px;
    line-height: 1.8;
    font-size: 1.02rem;
}

.nosotros__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat__num {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-muted);
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonios {
    background: var(--bg-alt);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

.testimonial {
    background: var(--white);
    padding: 36px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
    position: relative;
}

.testimonial::before {
    content: '"';
    position: absolute;
    top: 0;
    left: 24px;
    font-family: var(--font-display);
    font-size: 6rem;
    color: var(--primary-light);
    opacity: 0.4;
    line-height: 1;
    transform: translateY(-20px);
}

.testimonial:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.testimonial__stars {
    color: var(--primary);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 4px;
}

.testimonial__text {
    color: var(--text);
    line-height: 1.75;
    margin-bottom: 24px;
    font-size: 0.98rem;
    position: relative;
    z-index: 1;
}

.testimonial__author {
    display: flex;
    align-items: center;
    gap: 14px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.testimonial__author strong {
    display: block;
    color: var(--dark);
    font-size: 0.95rem;
    font-weight: 600;
}

.testimonial__author span {
    color: var(--text-muted);
    font-size: 0.82rem;
}

.testimonial__avatar {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--rose));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

/* ============================================
   CONTACTO
   ============================================ */
.contacto {
    background: var(--bg);
}

.contacto__container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contacto__info .section__eyebrow,
.contacto__info .section__title {
    text-align: left;
}

.contacto__lead {
    color: var(--text-muted);
    margin-bottom: 36px;
    line-height: 1.7;
}

.contacto__list {
    margin-bottom: 32px;
}

.contacto__item {
    display: flex;
    gap: 18px;
    padding: 18px 0;
    border-bottom: 1px solid var(--border);
    align-items: flex-start;
}

.contacto__item:last-child {
    border-bottom: none;
}

.contacto__icon {
    font-size: 1.4rem;
    width: 44px;
    height: 44px;
    background: var(--bg-alt);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contacto__item strong {
    display: block;
    color: var(--dark);
    margin-bottom: 4px;
    font-size: 0.95rem;
    font-weight: 600;
}

.contacto__item span {
    color: var(--text-muted);
    font-size: 0.92rem;
    line-height: 1.5;
}

.contacto__item a {
    color: var(--primary-dark);
    font-weight: 500;
}

.contacto__item a:hover {
    color: var(--primary);
    text-decoration: underline;
}

.contacto__social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.contacto__social a {
    padding: 10px 22px;
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--dark);
    transition: all var(--transition);
}

.contacto__social a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* ----- Form ----- */
.contacto__form {
    background: var(--white);
    padding: 44px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border);
}

.form__title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 28px;
}

.form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form__group {
    margin-bottom: 18px;
}

.form__group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--dark);
    margin-bottom: 8px;
    letter-spacing: 0.03em;
}

.form__group input,
.form__group select,
.form__group textarea {
    width: 100%;
    padding: 14px 16px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    color: var(--text);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(176, 141, 87, 0.12);
}

.form__group textarea {
    resize: vertical;
    min-height: 100px;
    font-family: inherit;
}

.form__note {
    margin-top: 14px;
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: center;
    line-height: 1.5;
}

.form__note.is-success {
    color: #2d8659;
    font-weight: 500;
}

.form__note.is-error {
    color: #b14545;
    font-weight: 500;
}

/* Icono de Instagram: acompana al texto sin desalinearlo. */
.icono-ig {
    display: inline-block;
    vertical-align: -0.18em;
    margin-right: 0.35em;
}

.contacto__social a,
.footer__col a {
    display: inline-flex;
    align-items: center;
}

.contacto__social a .icono-ig,
.footer__col a .icono-ig {
    margin-right: 0.45em;
}

/* ----- Pedir cita: seleccion de servicios y horas ----- */
.servicios-check {
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    /* Con 20 servicios y sus cinco encabezados, 190px dejaba ver
       cuatro filas y hacía pensar que el catálogo era ese. */
    max-height: 260px;
    overflow-y: auto;
    background: var(--bg);
}

/* Separador de categoría dentro de la lista. Se queda pegado arriba
   al desplazar, así que nunca se pierde de vista bajo qué categoría
   se está mirando. */
.servicios-check__grupo {
    position: sticky;
    top: 0;
    z-index: 1;
    margin: 0;
    padding: 9px 14px;
    background: var(--bg-alt);
    border-bottom: 1px solid var(--border);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--text-muted);
}

.servicios-check label {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 14px;
    border-bottom: 1px solid var(--border);
    cursor: pointer;
    font-size: 0.9rem;
    margin: 0;
}

.servicios-check label:last-child { border-bottom: 0; }
.servicios-check label:hover { background: var(--white); }

.servicios-check input {
    width: 20px;
    height: 20px;
    flex: none;
    accent-color: var(--primary);
    margin: 0;
}

.servicios-check__nombre { flex: 1; }

.servicios-check__dato {
    color: var(--text-muted);
    font-size: 0.8rem;
    white-space: nowrap;
}

.form__pista {
    font-size: 0.78rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.form__aviso {
    padding: 12px 15px;
    border-radius: var(--radius-sm);
    font-size: 0.87rem;
    margin-bottom: 18px;
    border: 1px solid transparent;
}
.form__aviso--error { background: #fbeaea; color: #b14545; border-color: #eec9c9; }
.form__aviso--aviso { background: #fbf1dd; color: #9a6b12; border-color: #ecd9ac; }
.form__aviso--ok    { background: #e6f4ec; color: #2d8659; border-color: #bfe3ce; }

/* La trampa para robots no debe verse ni ocupar espacio, pero
   tampoco usar display:none: algunos robots lo detectan. */
.campo-trampa {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

select:disabled {
    background: var(--bg-alt);
    color: var(--text-muted);
    cursor: not-allowed;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--dark);
    color: rgba(255, 255, 255, 0.75);
    padding: 80px 0 0;
}

.footer__container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 50px;
    padding-bottom: 60px;
}

.logo--light {
    color: var(--white);
}

.footer__brand p {
    margin-top: 16px;
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.6);
    max-width: 280px;
}

.footer__col h4 {
    font-family: var(--font-heading);
    color: var(--white);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 22px;
    letter-spacing: 0.03em;
}

.footer__col ul li {
    margin-bottom: 12px;
}

.footer__col a {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.92rem;
    transition: color var(--transition);
}

.footer__col a:hover {
    color: var(--primary-light);
}

.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 24px 0;
    font-size: 0.85rem;
}

.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer__bottom p {
    color: rgba(255, 255, 255, 0.5);
}

/* Entrada del equipo a la administración. Discreta pero legible:
   la usan todos los días desde el celular. */
.footer__admin {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 16px;
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.72);
    transition: all var(--transition);
}

.footer__admin:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
}

/* ============================================
   WHATSAPP FLOAT
   ============================================ */
.whatsapp-float {
    position: fixed;
    right: 24px;
    bottom: 24px;
    width: 60px;
    height: 60px;
    background: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all var(--transition);
}

.whatsapp-float:hover {
    transform: scale(1.08);
    background: #1ebe57;
}

.whatsapp-float__pulse {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: #25d366;
    z-index: -1;
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.6; }
    100% { transform: scale(1.6); opacity: 0; }
}

/* ============================================
   ANIMATIONS — Reveal on scroll
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer__container {
        grid-template-columns: 1fr 1fr;
        gap: 40px;
    }
}

@media (max-width: 860px) {
    .nav,
    .header__cta {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .nav.is-open {
        display: flex;
        position: fixed;
        top: 0;
        right: 0;
        width: 80%;
        max-width: 360px;
        height: 100vh;
        height: 100dvh;
        background: var(--bg);
        flex-direction: column;
        padding: 100px 40px 40px;
        box-shadow: var(--shadow-lg);
        animation: slideIn 0.4s ease;
    }

    .nav.is-open .nav__list {
        flex-direction: column;
        gap: 24px;
    }

    .nav.is-open .nav__link {
        color: var(--dark);
        font-size: 1.1rem;
    }

    @keyframes slideIn {
        from { transform: translateX(100%); }
        to { transform: translateX(0); }
    }

    .nosotros__container,
    .contacto__container {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    .nosotros__image img {
        height: 380px;
    }

    .nosotros__image-deco {
        display: none;
    }

    .section {
        padding: 70px 0;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 18px;
    }

    .hero {
        min-height: 90vh;
    }

    .hero__cta {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
    }

    .hero__cta .btn {
        width: 100%;
    }

    .hero__scroll {
        display: none;
    }

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

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

    .nosotros__stats {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .contacto__form {
        padding: 28px;
    }

    .form__row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .footer__container {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer__bottom .container {
        flex-direction: column;
        text-align: center;
    }

    .whatsapp-float {
        width: 54px;
        height: 54px;
        right: 16px;
        bottom: 16px;
    }
}

@media (max-width: 420px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .services-cta,
    .gallery-cta {
        padding: 28px 20px;
    }
}

/* ============================================
   MOVIMIENTO REDUCIDO
   ============================================ */
@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;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }

    .whatsapp-float__pulse {
        display: none;
    }
}
