/* ============================================================
   PROPIEDADES DAWSON · Hoja de estilos — paleta "Fresh Estate"
   Fondo lino claro · texto pizarra · verde menta · azul esmeralda · coral
   Tipos:  Playfair Display (display) + Raleway (texto/utilidad)
   ============================================================ */

/* ---------- Tokens ---------- */
:root {
    --linen:     #f4f7f6;   /* fondo principal */
    --linen-2:   #e9f1ee;   /* sección tintada suave */
    --white:     #ffffff;
    --slate:     #1e293b;   /* texto y lectura */
    --slate-soft:#5d6b7a;   /* texto secundario */
    --mint:      #00a86b;   /* color dominante */
    --mint-dark: #00885a;
    --emerald:   #0f4c5c;   /* secundario · profesional */
    --emerald-deep: #0a3a47;
    --coral:     #ff6f61;   /* acento · llamadas a la acción */
    --coral-dark:#f0574a;
    --line:      rgba(30, 41, 59, .12);
    --line-light: rgba(255, 255, 255, .18);

    --font-display: "Playfair Display", Georgia, serif;
    --font-body:    "Raleway", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    --wrap: 1180px;
    --gap: clamp(1rem, 3vw, 2rem);
    --radius: 4px;
    --shadow: 0 18px 50px -26px rgba(15, 76, 92, .35);
    --shadow-soft: 0 10px 30px -18px rgba(15, 76, 92, .28);
    --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    margin: 0;
    font-family: var(--font-body);
    font-weight: 400;
    color: var(--slate);
    background: var(--linen);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-display); font-weight: 600; line-height: 1.12; color: var(--slate); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Estructura ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gap); }
.section { padding-block: clamp(4rem, 9vw, 7.5rem); }

.eyebrow {
    font-size: .74rem;
    letter-spacing: .28em;
    text-transform: uppercase;
    font-weight: 700;
    color: var(--mint);
    margin-bottom: 1rem;
}
.eyebrow--light { color: #7fe3c0; }

.section-title { font-size: clamp(1.9rem, 4vw, 2.9rem); letter-spacing: -.01em; color: var(--emerald); }
.section-head { max-width: 640px; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-head--split {
    display: flex; align-items: flex-end; justify-content: space-between;
    gap: 1.5rem; max-width: none; flex-wrap: wrap;
}

.skip-link {
    position: absolute; left: -999px; top: 0;
    background: var(--emerald); color: #fff; padding: .7rem 1.2rem; z-index: 200;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Botones ---------- */
.btn {
    display: inline-flex; align-items: center; gap: .55rem;
    padding: .95rem 1.9rem;
    font-family: var(--font-body); font-weight: 700; font-size: .82rem;
    letter-spacing: .12em; text-transform: uppercase;
    border: 1px solid transparent; border-radius: var(--radius);
    transition: transform .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn--mint { background: var(--mint); color: #fff; box-shadow: 0 10px 24px -12px rgba(0, 168, 107, .7); }
.btn--mint:hover { background: var(--mint-dark); }
.btn--coral { background: var(--coral); color: #fff; box-shadow: 0 10px 24px -12px rgba(255, 111, 97, .7); }
.btn--coral:hover { background: var(--coral-dark); }
.btn--dark { background: var(--emerald); color: #fff; }
.btn--dark:hover { background: var(--emerald-deep); }
.btn--ghost { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn--ghost:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }
.btn--block { width: 100%; justify-content: center; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
    position: fixed; inset: 0 0 auto 0; z-index: 100;
    transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
    padding-block: 1.4rem;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.site-header.is-solid {
    background: rgba(15, 76, 92, .95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-soft);
    padding-block: .85rem;
}

.brand { display: inline-flex; align-items: center; gap: .65rem; color: #fff; }
.brand-mark {
    display: grid; place-items: center;
    width: 40px; height: 40px;
    font-family: var(--font-display); font-weight: 700; font-size: 1.35rem;
    color: #fff; background: var(--mint); border-radius: 3px;
}
.brand-logo { height: 46px; width: auto; display: block; transition: height .4s var(--ease); }
.site-header.is-solid .brand-logo { height: 38px; }
.site-footer .brand-logo { height: 58px; }
.brand-name { font-family: var(--font-display); font-size: 1.15rem; letter-spacing: .01em; font-weight: 500; }
.brand-name-accent { color: #7fe3c0; }
.brand--light .brand-name { color: #fff; }

.nav { display: flex; align-items: center; gap: 2rem; }
.nav > a {
    color: #fff; font-size: .84rem; font-weight: 500; letter-spacing: .04em;
    position: relative; padding-block: .3rem; transition: color .25s var(--ease);
}
.nav > a:not(.nav-cta)::after {
    content: ""; position: absolute; left: 0; bottom: -2px;
    width: 0; height: 1px; background: var(--mint); transition: width .3s var(--ease);
}
.nav > a:not(.nav-cta):hover::after { width: 100%; }
.nav-cta {
    border: 1px solid rgba(255, 255, 255, .4); padding: .55rem 1.15rem; border-radius: var(--radius);
    transition: background .3s var(--ease), border-color .3s var(--ease);
}
.nav-cta:hover { background: var(--mint); border-color: var(--mint); }

.nav-toggle {
    display: none; flex-direction: column; gap: 5px;
    width: 42px; height: 42px; align-items: center; justify-content: center;
    background: transparent; border: 1px solid rgba(255, 255, 255, .4); border-radius: var(--radius);
}
.nav-toggle span { width: 20px; height: 2px; background: #fff; transition: transform .3s var(--ease), opacity .3s var(--ease); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* El menú móvil permanece oculto salvo cuando JS quita [hidden]. */
.mobile-nav {
    display: flex; flex-direction: column; gap: .35rem;
    padding: 1rem var(--gap) 1.5rem;
    background: rgba(15, 76, 92, .98); backdrop-filter: blur(10px);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { color: #fff; padding: .85rem .25rem; border-bottom: 1px solid var(--line-light); font-size: .95rem; }
.mobile-nav .nav-cta { border: 1px solid var(--mint); text-align: center; margin-top: .75rem; }

/* ============================================================
   HERO · SLIDER
   ============================================================ */
/* La altura sigue la proporción de las imágenes del slider (1920x600 = 3.2:1),
   así se ven completas en vez de recortadas. Los mínimos/máximos evitan que
   quede demasiado baja en pantallas anchas o que aplaste el texto en angostas. */
.hero {
    position: relative;
    /* ALTURA FIJA a la proporción de las imágenes (1920/600 = 3.2 → 31.25vw).
       Va como `height`, no `min-height`: con min-height el contenido más alto
       que la franja estiraba el hero y obligaba a recortar la foto por los
       lados. Ahora manda la imagen y el texto se ajusta dentro. */
    height: clamp(360px, 31.25vw, 640px);
    display: flex; align-items: center; color: #fff; overflow: hidden;
    background: var(--emerald-deep);
    padding-block: 3rem 2rem;
}
.slider-track { position: absolute; inset: 0; }
.slide {
    position: absolute; inset: 0;
    opacity: 0; transition: opacity 1s var(--ease);
}
.slide.active { opacity: 1; }
/* Zoom sutil: apenas un respiro, para no recortar la foto. */
.slide-img {
    width: 100%; height: 100%; object-fit: cover; object-position: center;
    transform: scale(1.015); transition: transform 9s linear;
}
.slide.active .slide-img { transform: scale(1); }
/* Respaldo si la carpeta /slider/ está vacía */
.slider-fallback {
    opacity: 1;
    background: radial-gradient(130% 100% at 75% 8%, var(--emerald) 0%, var(--emerald-deep) 62%);
}
/* Velo para que el texto siempre sea legible sobre cualquier foto */
.hero-overlay {
    position: absolute; inset: 0; z-index: 1;
    background:
        linear-gradient(90deg, rgba(10,58,71,.92) 0%, rgba(10,58,71,.7) 42%, rgba(10,58,71,.25) 100%),
        linear-gradient(180deg, rgba(10,58,71,.55) 0%, transparent 35%, rgba(10,58,71,.75) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 44rem; padding-top: 2.5rem; }

.hero-badge {
    display: inline-flex; align-items: center; gap: .6rem;
    padding: .35rem .9rem; margin-bottom: .9rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase;
    color: #fff; background: rgba(0, 168, 107, .22);
    border: 1px solid rgba(127, 227, 192, .5); border-radius: 100px;
}
.hero-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(0,168,107,.6); animation: pulse 2.4s var(--ease) infinite; }

.hero-title { font-size: clamp(1.85rem, 3.6vw, 3.3rem); line-height: 1.08; letter-spacing: -.015em; margin-bottom: .9rem; color: #fff; }
.hero-title em { font-style: italic; color: #7fe3c0; font-weight: 500; }
.hero-lead { font-size: clamp(.92rem, 1.15vw, 1.05rem); max-width: 32rem; color: rgba(255, 255, 255, .9); margin-bottom: 1.4rem; font-weight: 300; }
.hero-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.hero-actions .btn { padding: .8rem 1.5rem; font-size: .76rem; }

/* Flechas */
.slider-arrow {
    position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
    width: 46px; height: 46px; display: grid; place-items: center;
    color: #fff; font-size: 1rem;
    background: rgba(10, 58, 71, .45); border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 50%; backdrop-filter: blur(6px);
    transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.slider-arrow:hover { background: var(--mint); border-color: var(--mint); }
.slider-arrow.prev { left: 1.1rem; }
.slider-arrow.next { right: 1.1rem; }

/* Dots */
/* Barra de avance del slider */
.slider-progress {
    position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
    height: 3px; background: rgba(255, 255, 255, .18);
}
.slider-progress span { display: block; height: 100%; width: 0; background: var(--mint); }

.slider-dots { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 3; display: flex; gap: .55rem; }
.slider-dot {
    width: 30px; height: 4px; padding: 0; border: none; border-radius: 100px;
    background: rgba(255, 255, 255, .4); cursor: pointer;
    transition: background .3s var(--ease), width .3s var(--ease);
}
.slider-dot.active { background: var(--mint); width: 46px; }

/* ============================================================
   SERVICIOS
   ============================================================ */
.services { background: var(--linen); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.service-card {
    padding: 2.5rem 2rem; background: var(--white);
    border: 1px solid var(--line); border-radius: var(--radius);
    transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.service-icon {
    display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 1.5rem;
    font-size: 1.4rem; color: var(--mint); background: rgba(0, 168, 107, .12); border-radius: 50%;
}
.service-card h3 { font-size: 1.5rem; margin-bottom: .7rem; color: var(--slate); }
.service-card p { color: var(--slate-soft); font-size: .97rem; }
.service-card { display: flex; flex-direction: column; }
.service-card p { flex: 1; }
.service-cta {
    display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
    margin-top: 1.5rem; padding: .8rem 1.2rem;
    font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: #fff; background: #25d366; border-radius: var(--radius);
    transition: background .3s var(--ease), transform .3s var(--ease);
}
.service-cta:hover { background: #1eb85a; transform: translateY(-2px); }
.service-cta i { font-size: 1rem; }

/* ============================================================
   PROPIEDADES · VITRINA
   ============================================================ */
.properties { background: var(--linen-2); }
.feed-status { display: inline-flex; align-items: center; gap: .55rem; font-size: .8rem; letter-spacing: .04em; color: var(--slate-soft); font-weight: 600; padding-bottom: .4rem; }
.feed-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 0 rgba(0, 168, 107, .5); animation: pulse 2.4s var(--ease) infinite; }
.feed-dot--stale { background: var(--coral); box-shadow: none; animation: none; }
@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(0, 168, 107, .5); }
    70% { box-shadow: 0 0 0 7px rgba(0, 168, 107, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 168, 107, 0); }
}

.properties-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(288px, 1fr)); gap: 1.6rem; }
.property-card {
    background: var(--white); border-radius: var(--radius); overflow: hidden;
    border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.property-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.property-link { display: block; height: 100%; }
/* Proporción de img/default.jpg (940x788) para que el respaldo calce exacto. */
.property-media {
    position: relative; aspect-ratio: 940 / 788;
    background: linear-gradient(135deg, var(--emerald) 0%, var(--emerald-deep) 100%); overflow: hidden;
}
.property-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.property-card:hover .property-media img { transform: scale(1.06); }
/* Etiqueta de tipo sobre la foto */
.property-kind {
    position: absolute; left: .8rem; top: .8rem; z-index: 2;
    padding: .3rem .7rem; font-size: .66rem; font-weight: 700;
    letter-spacing: .12em; text-transform: uppercase;
    color: #fff; background: rgba(15, 76, 92, .88); border-radius: 100px;
    backdrop-filter: blur(4px);
}

/* Ficha de datos: precio, dormitorios, baños, superficie */
.property-data { margin: .9rem 0 0; padding-top: .9rem; border-top: 1px solid var(--line); display: grid; gap: .35rem; }
.property-data > div { display: flex; align-items: baseline; justify-content: space-between; gap: .75rem; }
.property-data dt { font-size: .8rem; color: var(--slate-soft); }
.property-data dd { margin: 0; font-size: .88rem; font-weight: 700; color: var(--slate); text-align: right; }
.property-data dd.is-price { font-family: var(--font-display); font-size: 1.25rem; color: var(--emerald); font-weight: 700; }

.property-more {
    display: inline-flex; align-items: center; justify-content: center; gap: .45rem;
    width: 100%; margin-top: 1rem; padding: .7rem 1rem;
    font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    color: var(--emerald); background: var(--linen);
    border: 1px solid var(--line); border-radius: var(--radius);
    transition: background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.property-card:hover .property-more { background: var(--mint); color: #fff; border-color: var(--mint); }
.property-more i { transition: transform .3s var(--ease); }
.property-card:hover .property-more i { transform: translateX(4px); }
.property-tag {
    position: absolute; left: .9rem; bottom: .9rem;
    display: inline-flex; align-items: center; gap: .4rem;
    padding: .4rem .75rem; font-size: .68rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
    color: var(--emerald); background: rgba(255, 255, 255, .94); border-radius: 3px;
    opacity: 0; transform: translateY(6px); transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.property-card:hover .property-tag { opacity: 1; transform: translateY(0); }
.property-body { padding: 1.4rem 1.4rem 1.6rem; }
.property-price { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--emerald); margin-bottom: .35rem; letter-spacing: -.01em; }
.property-title {
    font-family: var(--font-body); font-size: .98rem; font-weight: 700; line-height: 1.35;
    margin-bottom: .2rem; color: var(--emerald);
    display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden;
    min-height: calc(1.35em * 3);
}
.property-title span { font-weight: 500; color: var(--slate-soft); }
.property-loc { font-size: .85rem; color: var(--slate-soft); display: flex; align-items: center; gap: .4rem; }
.property-loc i { color: var(--mint); font-size: .8rem; }

.properties-empty { text-align: center; padding: 4rem 1rem; color: var(--slate-soft); background: var(--white); border: 1px dashed var(--line); border-radius: var(--radius); }
.properties-empty i { font-size: 2.2rem; color: var(--mint); margin-bottom: 1rem; }
.properties-cta { text-align: center; margin-top: 3rem; }

/* ============================================================
   NOSOTROS
   ============================================================ */
.about { background: var(--white); }
.about-grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.about-media { position: relative; }
.about-figure {
    aspect-ratio: 4 / 5;
    background: radial-gradient(120% 100% at 30% 20%, var(--emerald), var(--emerald-deep) 78%);
    border-radius: var(--radius); display: grid; place-items: center; box-shadow: var(--shadow);
    position: relative; overflow: hidden;
}
.about-figure img { width: 100%; height: 100%; object-fit: cover; }
/* El marco interior solo se dibuja cuando NO hay foto (si no, la tapa). */
.about-figure:not(:has(img))::after { content: ""; position: absolute; inset: 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 2px; }
.about-badge {
    position: absolute; right: -14px; bottom: 28px;
    background: var(--mint); color: #fff; border-radius: var(--radius);
    padding: .9rem 1.2rem; text-align: center; box-shadow: var(--shadow);
    display: grid; gap: .1rem;
}
.about-badge strong { font-family: var(--font-display); font-size: 1.7rem; line-height: 1; }
.about-badge span { font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .95; }
.about-figure-mark { font-family: var(--font-display); font-size: clamp(6rem, 14vw, 10rem); font-weight: 700; color: rgba(127, 227, 192, .5); }
.about-copy p { color: var(--slate-soft); margin-bottom: 1.1rem; max-width: 40rem; }
.about-copy .section-title { margin-bottom: 1.4rem; }
.about-points { margin-top: 1.8rem; display: grid; gap: .85rem; }
.about-points li { display: flex; align-items: center; gap: .8rem; font-weight: 500; color: var(--slate); }
.about-points i { display: grid; place-items: center; width: 26px; height: 26px; font-size: .72rem; color: #fff; background: var(--mint); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   REDES SOCIALES
   ============================================================ */
.social { background: var(--linen-2); }
.social-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.6rem; align-items: stretch; }
.social-col {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 1.4rem; display: flex; flex-direction: column; gap: 1.1rem; box-shadow: var(--shadow-soft);
}
.social-head { display: flex; align-items: center; gap: .9rem; }
.social-head h3 { font-family: var(--font-body); font-size: 1rem; font-weight: 700; color: var(--slate); }
.social-head a { font-size: .86rem; color: var(--slate-soft); }
.social-head a:hover { color: var(--mint); }
.social-ico { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; color: #fff; font-size: 1.1rem; flex-shrink: 0; }
.social-ico--fb { background: #1877f2; }
.social-ico--ig { background: linear-gradient(45deg, #f09433, #dc2743 45%, #bc1888 90%); }
.social-embed { flex: 1; min-height: 560px; border-radius: var(--radius); overflow: hidden; background: var(--linen); }
.social-embed iframe { display: block; width: 100%; border: 0; }

.ig-banner {
    flex: 1; min-height: 560px; position: relative; overflow: hidden;
    display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
    gap: .9rem; padding: 2rem 1.5rem; border-radius: var(--radius);
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    color: #fff; transition: transform .35s var(--ease);
}
.ig-banner:hover { transform: translateY(-3px); }
/* Si subes img/instagram.png, ocupa todo el banner. */
.ig-banner-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ig-banner-ico {
    display: grid; place-items: center; width: 76px; height: 76px; font-size: 2.1rem;
    border: 2px solid rgba(255, 255, 255, .6); border-radius: 24px;
}
.ig-banner strong { font-family: var(--font-display); font-size: 1.5rem; }
.ig-banner p { max-width: 24rem; color: rgba(255, 255, 255, .92); font-size: .95rem; }
.ig-banner-cta {
    position: relative; z-index: 2; margin-top: .4rem;
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .85rem 1.6rem; background: #fff; color: #bc1888;
    font-size: .76rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
    border-radius: 100px;
}
/* Con imagen de fondo, el botón se ancla abajo para no taparla. */
.ig-banner:has(.ig-banner-img) { justify-content: flex-end; padding-bottom: 1.6rem; }

/* ============================================================
   CONTACTO  (claro)
   ============================================================ */
.contact { background: var(--linen); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 4.5rem); align-items: start; }
.contact-intro { color: var(--slate-soft); margin-bottom: 2.2rem; max-width: 30rem; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1.4rem; }
.contact-list li { display: flex; align-items: center; gap: 1rem; grid-column: 1 / -1; }
/* Instagram y Facebook comparten la fila para no dejar hueco al costado. */
.contact-list li.contact-half { grid-column: auto; }
.contact-ico {
    display: grid; place-items: center; width: 46px; height: 46px; font-size: 1.05rem;
    color: var(--mint); border: 1px solid var(--line); background: var(--white); border-radius: 50%; flex-shrink: 0;
}
.contact-list strong { display: block; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-soft); margin-bottom: .1rem; font-weight: 700; }
.contact-list a, .contact-list span > span { color: var(--slate); font-weight: 600; }
.contact-list a:hover { color: var(--mint); }

/* Mapa (reemplaza al antiguo formulario, misma proporción de espacio) */
.contact-map-wrap {
    background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
    overflow: hidden; box-shadow: var(--shadow-soft);
    display: flex; flex-direction: column;
}
.contact-map {
    display: block; width: 100%; border: 0;
    /* Alto similar al que ocupaba el formulario, para no descuadrar la sección. */
    height: clamp(360px, 42vh, 480px);
    filter: saturate(.92);
}
.contact-map-foot {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: .6rem;
    padding: 1rem 1.2rem; border-top: 1px solid var(--line);
    font-size: .86rem;
}
.contact-map-foot span { display: inline-flex; align-items: center; gap: .5rem; color: var(--slate); font-weight: 600; }
.contact-map-foot span i { color: var(--mint); }
.contact-map-foot a { display: inline-flex; align-items: center; gap: .4rem; color: var(--mint); font-weight: 700; font-size: .78rem; letter-spacing: .06em; text-transform: uppercase; }
.contact-map-foot a:hover { color: var(--emerald); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--emerald); color: #fff; padding-top: clamp(3rem, 6vw, 4.5rem); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.2fr; gap: 2.5rem; padding-bottom: 3rem; border-bottom: 1px solid var(--line-light); }
.footer-tagline { color: rgba(255, 255, 255, .72); margin-top: 1rem; max-width: 24rem; font-size: .92rem; }
.footer-col h4 { font-family: var(--font-body); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase; color: #7fe3c0; margin-bottom: 1.1rem; font-weight: 700; }
.footer-col a { display: block; color: rgba(255, 255, 255, .82); padding: .32rem 0; font-size: .92rem; transition: color .25s var(--ease); }
.footer-col a:hover { color: #7fe3c0; }
.footer-social { display: flex; gap: .7rem; margin-top: 1rem; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line-light); border-radius: 50%; font-size: 1rem; padding: 0; }
.footer-social a:hover { background: var(--mint); border-color: var(--mint); color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem; padding-block: 1.6rem; font-size: .82rem; color: rgba(255, 255, 255, .6); }
.footer-credit a { color: #7fe3c0; }

/* ---------- WhatsApp flotante ---------- */
.whatsapp-float {
    position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 90;
    width: 58px; height: 58px; display: grid; place-items: center; font-size: 1.7rem;
    color: #fff; background: #25d366; border-radius: 50%;
    box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6);
    animation: waPulse 2.6s var(--ease) infinite; transition: transform .3s var(--ease);
}
.whatsapp-float:hover { transform: scale(1.08); }
@keyframes waPulse {
    0% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6), 0 0 0 0 rgba(37, 211, 102, .5); }
    70% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, .6), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Revelado al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Foco visible ---------- */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible {
    outline: 2px solid var(--mint); outline-offset: 3px; border-radius: 2px;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
    .nav { display: none; }
    .nav-toggle { display: flex; }
    .services-grid { grid-template-columns: 1fr; max-width: 460px; margin-inline: auto; }
    .about-grid { grid-template-columns: 1fr; }
    .about-media { max-width: 340px; }
    .contact-grid { grid-template-columns: 1fr; }
    .social-grid { grid-template-columns: 1fr; }
    .about-badge { right: 12px; bottom: 12px; }
    .slider-arrow { width: 40px; height: 40px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
    .section-head--split { align-items: flex-start; }
    .field-row { grid-template-columns: 1fr; }
    .contact-list { grid-template-columns: 1fr; }
    .contact-list li.contact-half { grid-column: 1 / -1; }
    .slider-arrow { display: none; }
    /* En pantallas angostas manda el contenido: la franja de 31.25vw sería
       demasiado baja para el título. */
    .hero { height: auto; min-height: 78svh; padding-block: 6rem 3.5rem; }
    .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
    .hero-lead { font-size: 1rem; }
    .social-embed, .ig-banner { min-height: 460px; }
    .brand-logo { height: 36px; }
    .site-header.is-solid .brand-logo { height: 30px; }
    .footer-grid { grid-template-columns: 1fr; }
    .hero-actions { width: 100%; }
    .hero-actions .btn { flex: 1; justify-content: center; }
    .whatsapp-float { width: 52px; height: 52px; font-size: 1.5rem; }
}

/* ---------- Movimiento reducido ---------- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
    .hero-media { transform: none; }
    .reveal { opacity: 1; transform: none; }
}
