/* =========================================================================
   [Nombre del negocio] · constructora-round-rock · sistema de diseño
   Rol 3 · Diseñador, 2026-11-14. PROVISIONAL HASTA EL LOGO.
   Fuente de cada valor y contrastes medidos: ../marca.md
   El Constructor copia este archivo a sitio/assets/ (o lo pega al principio
   de site.css) y construye con estas variables. No inventar otros valores.
   ========================================================================= */

/* --- Letra: Archivo variable (SIL OFL 1.1), alojada en assets/fonts/ (origen en assets/LEEME.md del cliente) */
@font-face {
  font-family: "Archivo";
  src: url("fonts/archivo-latin-var.woff2") format("woff2");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-style: normal;
  font-display: swap;
}

:root {
  /* --- Paleta (materiales de sus obras) --- */
  --caliza: #F2EBDD;        /* fondo principal */
  --estuco: #FBF8F2;        /* superficies claras, texto sobre oscuro */
  --arena: #AC9D88;         /* estuco de la foto 20: fondo de portada, bordes finos */
  --mortero: #5C544C;       /* texto secundario sobre claro (6,26:1 en caliza) */
  --acero: #211E1B;         /* texto principal, bandas oscuras */
  --acero-2: #2D2925;       /* controles sobre oscuro */
  --cedro: #B04A16;         /* SOLO llamar. Estuco encima 5,16:1 */
  --cedro-hover: #933B0F;   /* Estuco encima 6,90:1 */

  /* --- Papeles (usar estos en el CSS del sitio) --- */
  --bg: var(--caliza);
  --surface: var(--estuco);
  --text: var(--acero);
  --text-2: var(--mortero);
  --line: var(--arena);
  --on-dark: var(--estuco);
  --on-dark-2: var(--arena);          /* 6,26:1 sobre acero */
  --action: var(--cedro);
  --action-hover: var(--cedro-hover);
  --on-action: var(--estuco);
  --focus: var(--acero);              /* en bandas oscuras: --estuco */
  --pattern-line: #DDD4C4;            /* arena al 30 % sobre caliza */
  --wall-block: rgba(242, 235, 221, .14); /* caliza 14 % sobre acero = #3E3B36 */

  /* --- Tipografía --- */
  --font: "Archivo", "Arial Narrow", Arial, sans-serif;
  --fs-h1: clamp(2.5rem, 1.6rem + 3.6vw, 4.5rem);
  --fs-h2: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
  --fs-h3: clamp(1.25rem, 1.1rem + .6vw, 1.625rem);
  --fs-lead: 1.1875rem;
  --fs-body: 1.0625rem;
  --fs-ui: 1rem;
  --fs-small: .875rem;
  --fs-phone: clamp(2.25rem, 1.5rem + 4vw, 4rem);
  --fs-mark: 1rem;           /* rótulo provisional en cabecera */
  --fs-mark-foot: 1.375rem;  /* rótulo en el pie */
  --wd-display: 75%;         /* font-stretch de h1, h2, teléfono */
  --wd-h3: 87.5%;
  --wd-mark: 125%;           /* rótulo provisional */
  --wd-slogan: 112.5%;       /* eslogan vertical */
  --lh-tight: .98;
  --lh-head: 1.05;
  --lh-body: 1.6;
  --measure: 66ch;

  /* --- Espacio (base 4 px) --- */
  --sp-1: .25rem;  --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem;  --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;
  --sp-9: 6rem;    --sp-10: 8rem;
  --sp-section: clamp(4rem, 3rem + 5vw, 8rem);
  --gutter: clamp(1rem, .5rem + 2.5vw, 2.5rem);   /* 16 px en móvil */
  --container: 76rem;

  /* --- Forma y profundidad --- */
  --r-0: 0;
  --r-1: 2px;      /* botones, fotos: arista de piedra cortada */
  --r-2: 4px;      /* campos */
  --bw: 2px;       /* borde de botones */
  --sh-1: 0 1px 2px rgba(33, 30, 27, .12), 0 6px 16px rgba(33, 30, 27, .10); /* solo barra fija y menú abierto */
  --header-h: 64px;
  --bar-h: 64px;   /* barra fija de móvil (+ env(safe-area-inset-bottom)) */
  --tap: 48px;

  /* --- Movimiento --- */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --t-fast: 150ms;
  --t-base: 250ms;
  --t-enter: 500ms;
}
@media (min-width: 1024px) { :root { --header-h: 76px; } }

/* --- Base --- */
html { color-scheme: light; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 400 var(--fs-body)/var(--lh-body) var(--font); font-stretch: 100%;
  text-rendering: optimizeLegibility;
}
h1, h2, h3 { margin: 0; color: inherit; text-wrap: balance; }
h1 { font-size: var(--fs-h1); font-weight: 800; font-stretch: var(--wd-display); line-height: var(--lh-tight); letter-spacing: -.02em; }
h2 { font-size: var(--fs-h2); font-weight: 760; font-stretch: var(--wd-display); line-height: 1.02; letter-spacing: -.015em; }
h3 { font-size: var(--fs-h3); font-weight: 700; font-stretch: var(--wd-h3); line-height: 1.15; }
p { margin: 0; max-width: var(--measure); text-wrap: pretty; }
.lead { font-size: var(--fs-lead); line-height: 1.5; }
.meta { font-size: var(--fs-small); color: var(--text-2); }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .2em; }
::selection { background: var(--cedro); color: var(--estuco); }
input, textarea { caret-color: var(--cedro); }
.tel, .phone-big { font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }
.on-dark { background: var(--acero); color: var(--on-dark); --focus: var(--estuco); --text-2: var(--arena); }

/* --- Rótulo provisional [Business Name] --- */
.mark {
  font-weight: 700; font-stretch: var(--wd-mark); font-size: var(--fs-mark);
  text-transform: uppercase; letter-spacing: .06em; line-height: 1; text-decoration: none; color: var(--text);
}
.mark .br { color: var(--cedro); }           /* los corchetes [ ] */
.on-dark .mark { color: var(--on-dark); }
.site-footer .mark { font-size: var(--fs-mark-foot); }

/* --- Eslogan vertical (lee de abajo arriba) --- */
.slogan-v {
  writing-mode: vertical-rl; transform: rotate(180deg);
  font-weight: 650; font-stretch: var(--wd-slogan); font-size: var(--fs-small);
  text-transform: uppercase; letter-spacing: .18em; line-height: 1; color: var(--acero);
  display: flex; align-items: center; gap: var(--sp-3);
}
.slogan-v::after { /* la línea sigue hacia arriba (por la rotación, va "después") */
  content: ""; inline-size: 2px; block-size: 0; /* se ajusta en el sitio */
  flex: 1 1 auto; min-block-size: 3rem; background: var(--cedro);
}

/* --- Botones --- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: var(--sp-2);
  min-height: var(--tap); padding: 0 1.25rem; border-radius: var(--r-1);
  font: 650 var(--fs-ui)/1.2 var(--font); font-stretch: 100%; letter-spacing: .01em;
  text-decoration: none; cursor: pointer; border: var(--bw) solid transparent;
  transition: background-color var(--t-fast) var(--ease-out), transform var(--t-fast) var(--ease-out);
}
.btn svg { inline-size: 20px; block-size: 20px; flex: none; }
.btn:active { transform: scale(.97); }
.btn-call { background: var(--action); color: var(--on-action); border-color: var(--acero); }
.btn-call:hover { background: var(--action-hover); }
.btn-alt { background: transparent; color: var(--text); border-color: var(--acero); }
.btn-alt:hover { background: rgba(33, 30, 27, .08); }
.on-dark .btn-alt { color: var(--on-dark); border-color: var(--estuco); }
.on-dark .btn-alt:hover { background: rgba(251, 248, 242, .10); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none; }

/* --- Tarjeta de oficio --- */
.trade img { display: block; inline-size: 100%; block-size: auto; border-radius: var(--r-1); }
.trade h3 { margin-top: var(--sp-4); }
.trade p { margin-top: var(--sp-2); }
.trade--plain { background: var(--surface); border: 1px solid var(--line); padding: var(--sp-6); border-radius: var(--r-1); }

/* --- Campo de formulario (por si el director añade uno) --- */
.field label { display: block; font: 650 var(--fs-small)/1.3 var(--font); margin-bottom: var(--sp-1); }
.field input, .field textarea {
  inline-size: 100%; min-height: var(--tap); padding: .625rem .75rem; box-sizing: border-box;
  font: 400 var(--fs-body)/1.4 var(--font); color: var(--text); background: var(--estuco);
  border: 1px solid var(--mortero); border-radius: var(--r-2);
}
.field input:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--acero); outline-offset: 1px; }
.field [aria-invalid="true"] { border: 2px solid var(--cedro-hover); }
.field .error { color: var(--cedro-hover); font-size: var(--fs-small); margin-top: var(--sp-1); }

/* --- Cabecera y pie --- */
.site-header {
  position: sticky; top: 0; z-index: 20; min-height: var(--header-h);
  background: rgba(242, 235, 221, .96); border-bottom: 1px solid var(--line);
}
@supports (backdrop-filter: blur(8px)) { .site-header { backdrop-filter: blur(8px); } }
.site-footer { background: var(--acero); color: var(--on-dark); border-top: 1px solid var(--arena); }

/* --- Galería: hilada de bloques (indicador del carrusel) --- */
.course { display: flex; gap: 4px; align-items: center; }
.course button { inline-size: 44px; block-size: 44px; padding: 0; background: none; border: 0; display: grid; place-items: center; cursor: pointer; }
.course button::before { content: ""; inline-size: 20px; block-size: 8px; border: 1.5px solid var(--arena); border-radius: 1px; box-sizing: border-box; transition: background-color var(--t-fast); }
.course button[aria-current="true"]::before { background: var(--estuco); border-color: var(--estuco); }
.carousel-btn { inline-size: var(--tap); block-size: var(--tap); border-radius: 50%; background: var(--acero-2); color: var(--estuco); border: 1px solid var(--arena); display: grid; place-items: center; cursor: pointer; }

/* --- Barra fija de móvil --- */
.call-bar {
  position: fixed; inset: auto 0 0 0; z-index: 30; display: grid; grid-template-columns: 2fr 1fr; gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4) calc(var(--sp-2) + env(safe-area-inset-bottom));
  background: var(--acero); box-shadow: var(--sh-1);
}
@media (min-width: 768px) { .call-bar { display: none; } }

/* --- Movimiento reducido: estado final, sin desplazamientos --- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .btn:active { transform: none; }
}

/* =========================================================================
   Maqueta de la home (Rol 4 · Constructor). Va detrás de marca/tokens.css;
   _trabajo/construir.py no toca este archivo: site.css = tokens.css + layout.css
   (lo une _trabajo/construir.py). Solo valores de tokens.css.
   ========================================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: calc(var(--header-h) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { overflow-x: clip; }
img { max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }
.wrap { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.skip { position: absolute; left: var(--sp-4); top: -100px; z-index: 50; background: var(--acero); color: var(--estuco); padding: var(--sp-3) var(--sp-4); border-radius: var(--r-1); }
.skip:focus { top: var(--sp-2); }

/* --- Cabecera --- */
.top-inner { display: flex; align-items: center; gap: var(--sp-4); min-height: var(--header-h); }
.top .mark { max-inline-size: 13ch; line-height: 1.1; padding-block: var(--sp-2); margin-right: auto; display: inline-block; min-height: 44px; align-content: center; }
.top-nav { display: none; }
.top-nav ul { display: flex; gap: var(--sp-1); }
.top-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 var(--sp-3); font-weight: 650; font-size: .9375rem; text-decoration: none; border-radius: var(--r-1); }
.top-nav a:hover { background: rgba(33, 30, 27, .08); }
.lang { display: flex; align-items: center; font-weight: 650; font-size: .9375rem; }
.lang > * { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 var(--sp-2); }
/* Idioma actual: oscuro y subrayado; el otro, apagado (critica-v1, fallo 1) */
.lang span[aria-current] { color: var(--text); text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: .3em; }
.lang a { color: var(--text-2); text-decoration: none; }
.lang a:hover, .lang a:focus-visible { color: var(--text); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .3em; }
.lang > :first-child { border-right: 1px solid var(--line); }
.top-call { padding: 0 var(--sp-4); }
@media (max-width: 379px) { .top-call span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; } .top-call { padding: 0 var(--sp-3); } .top .mark { font-size: .875rem; } }
@media (min-width: 1024px) {
  .top-nav { display: block; }
  .top .mark { max-inline-size: none; margin-right: var(--sp-5); }
  .top-nav { margin-right: auto; }
}

/* --- Portada --- */
.hero { position: relative; background: var(--bg); }
.hero-photo img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; }
.hero-text { padding-block: var(--sp-5) var(--sp-6); }
.hero h1 { max-width: 14ch; }
.hero .lead { margin-top: var(--sp-4); color: var(--text); }
.actions { display: flex; flex-wrap: wrap; gap: var(--sp-3); margin-top: var(--sp-5); }
.actions .btn { min-height: 52px; }
.actions .tel { font-weight: 650; opacity: .95; }
.actions .tel::before { content: "·"; margin: 0 var(--sp-2) 0 0; }
@media (max-width: 767px) {
  .hero h1 { font-size: clamp(2.25rem, 1.4rem + 4vw, 2.75rem); }
  .hero .lead { font-size: var(--fs-body); margin-top: var(--sp-3); }
  .hero-text { padding-block: var(--sp-4) var(--sp-6); }
  .hero-actions { flex-direction: column; margin-top: var(--sp-4); }
  .hero-actions .btn { width: 100%; }
}
@media (min-width: 768px) and (max-width: 1279px) {
  .hero-photo img { aspect-ratio: 16 / 8; object-position: 85% 30%; }
  .hero-text { display: grid; grid-template-columns: 1.1fr 1fr; gap: var(--sp-3) var(--sp-6); align-items: end; padding-block: var(--sp-6) var(--sp-7); }
  .hero h1 { grid-row: span 2; align-self: start; }
  .hero .lead { margin-top: 0; }
  .hero-actions { margin-top: 0; flex-direction: column; max-width: 22rem; }
}
@media (min-width: 1024px) and (max-width: 1279px) { .hero-photo img { aspect-ratio: 21 / 8; } .hero-text { padding-block: var(--sp-5) var(--sp-6); } }
@media (min-width: 1280px) {
  .hero { background: var(--arena); min-height: max(600px, min(88svh, 860px)); display: flex; align-items: center; overflow: hidden; }
  .hero-photo { position: absolute; inset: 0 0 0 auto; width: min(100%, 1500px); }
  .hero-photo img { height: 100%; aspect-ratio: auto; object-position: 70% 45%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 12%); mask-image: linear-gradient(to right, transparent 0, #000 12%); }
  .hero-text { position: relative; padding-block: var(--sp-8); }
  .hero-text > * { max-width: 30rem; }
  .hero h1 { font-size: clamp(2.5rem, 1rem + 3.2vw, 4.25rem); max-width: 11ch; }
  .hero .lead { max-width: 24rem; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
}

/* --- Secciones --- */
section { position: relative; }
.masonry, .build, .projects, .area { padding-block: var(--sp-section); }
.sec-head { max-width: 40rem; }
.sec-head .lead, .area-text .lead { margin-top: var(--sp-4); color: var(--text-2); }
.on-dark .sec-head .lead { color: var(--arena); }

/* Albañilería: muro escalonado */
.masonry { overflow: hidden; }
.fx-hiladas { position: absolute; inset: -40px 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='64'%3E%3Cpath d='M0 .5H160M0 32.5H160M40 0V32M120 0V32M0 32V64M80 32V64' fill='none' stroke='%23DDD4C4' stroke-width='1'/%3E%3C/svg%3E"); }
.masonry .wrap { position: relative; }
.trades { display: grid; gap: var(--sp-7); margin-top: var(--sp-7); }
.trade img { aspect-ratio: 4 / 5; object-fit: cover; }
.trade--plain { display: flex; flex-direction: column; justify-content: flex-end; padding: var(--sp-6); border-radius: var(--r-1); position: relative; overflow: hidden; background-color: var(--acero); border-color: var(--acero); color: var(--on-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='64'%3E%3Cpath d='M0 .5H160M0 32.5H160M40 0V32M120 0V32M0 32V64M80 32V64' fill='none' stroke='%233E3B36' stroke-width='1'/%3E%3C/svg%3E"); }
.trade--plain h3 { max-width: 14ch; }
.trade--plain .btn { margin-top: var(--sp-5); align-self: flex-start; }
@media (max-width: 767px) { .trade--plain { aspect-ratio: auto; min-height: 16rem; } .trade--plain .btn { width: 100%; } }
@media (min-width: 1024px) { .trade--plain { aspect-ratio: 3 / 2; } }
@media (min-width: 768px) and (max-width: 1023px) { .trade--plain { aspect-ratio: auto; min-height: 14rem; } }
@media (min-width: 768px) and (max-width: 1023px) { .trades { grid-template-columns: 1fr 1fr; } .trade--plain { grid-column: 1 / -1; } }
@media (min-width: 1024px) {
  .trades { grid-template-columns: repeat(12, 1fr); column-gap: var(--sp-6); row-gap: var(--sp-7); }
  .trade--1 { grid-column: 1 / 8; grid-row: 1 / 3; }
  .trade--0 { grid-column: 8 / 13; grid-row: 1; margin-top: var(--sp-8); }
  .trade--plain { grid-column: 8 / 13; grid-row: 2; align-self: start; }
}

/* Casas y remodelaciones */
.build { background: var(--surface); }
.row { display: grid; gap: var(--sp-5); margin-top: var(--sp-7); }
.row img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--r-1); }
.row-text p { margin-top: var(--sp-3); }
@media (min-width: 768px) {
  .row { grid-template-columns: 7fr 5fr; gap: var(--sp-7); align-items: center; }
  .row--1 img { order: 2; }
}

/* Obras: un carrusel por proyecto */
.project-grid { display: grid; gap: var(--sp-8); margin-top: var(--sp-7); }
@media (min-width: 768px) and (max-width: 1023px) { .project-grid { max-width: 44rem; } }
@media (min-width: 1024px) {
  .project-grid { grid-template-columns: 1fr 1fr; column-gap: var(--sp-7); }
  .project--single { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; column-gap: var(--sp-7); align-items: start; }
  .project--single h3 { grid-column: 2; grid-row: 1; align-self: end; }
  .project--single .carousel { grid-column: 1; grid-row: 1 / 3; margin-top: 0; }
  .project--single .caption { grid-column: 2; grid-row: 2; }
}
.project h3 { color: var(--estuco); }
.carousel { margin-top: var(--sp-4); }
.slides { display: flex; gap: var(--sp-3); overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; border-radius: var(--r-1); }
.slides::-webkit-scrollbar { display: none; }
.slides:focus-visible { outline: 2px solid var(--estuco); outline-offset: 3px; }
.slide { position: relative; flex: 0 0 88%; scroll-snap-align: start; }
.slides--single .slide { flex-basis: 100%; }
.slide img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: var(--r-1); background: var(--acero-2); }
@media (min-width: 768px) { .slide { flex-basis: 100%; } .slides { gap: 0; } }
.tag { position: absolute; top: var(--sp-3); left: var(--sp-3); background: var(--acero); color: var(--estuco); font-weight: 650; font-size: var(--fs-small); padding: var(--sp-1) var(--sp-3); border-radius: var(--r-1); }
.controls { display: flex; align-items: center; gap: var(--sp-2); margin-top: var(--sp-3); }
.count { margin-right: auto; color: var(--estuco); font-weight: 650; font-variant-numeric: tabular-nums; font-size: .9375rem; }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn:disabled { opacity: .4; cursor: default; }
.carousel-btn:focus-visible, .course button:focus-visible { outline: 2px solid var(--estuco); outline-offset: 3px; }
@media (max-width: 419px) { .course { display: none; } }
html:not(.js) .controls { display: none; }
.caption { margin-top: var(--sp-3); color: var(--arena); }

/* Zona */
.area-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .area-grid { grid-template-columns: 5fr 7fr; gap: var(--sp-8); align-items: center; } }
.area-map { margin: 0; }
.map { width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: var(--r-1); background: var(--surface); z-index: 0; }
@media (max-width: 599px) { .map { aspect-ratio: 1 / 1; } }
.area-map figcaption { display: flex; flex-wrap: wrap; gap: var(--sp-1) var(--sp-3); margin-top: var(--sp-3); color: var(--text-2); font-size: var(--fs-small); }
.cities { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.cities li { font-weight: 650; color: var(--text); }
.map-note::after { content: "·"; margin-left: var(--sp-3); }
.leaflet-container { font-family: var(--font); }
.leaflet-tile-pane { filter: grayscale(.65) sepia(.18) contrast(.95) brightness(1.03); }
.leaflet-tooltip.zona { background: var(--estuco); color: var(--acero); border: 1px solid var(--acero); border-radius: var(--r-1); box-shadow: none; font: 700 .9375rem/1.1 var(--font); padding: 4px 8px; }
.leaflet-tooltip.zona::before { display: none; }
.leaflet-control-attribution { font-size: 12px; }
.leaflet-control-attribution a { color: var(--acero); }

/* Cierre: el muro sube */
.closing { padding-block: var(--sp-10) var(--sp-9); overflow: hidden; isolation: isolate; }
.wall { position: absolute; inset: auto 0 0 0; width: 100%; height: 100%; z-index: -1; }
.wall rect { fill: var(--wall-block); }
.wall .w-roof { stroke: var(--cedro); stroke-width: 3; fill: none; }
.closing-inner { position: relative; max-width: var(--container); }
.closing h2 { font-size: clamp(2.25rem, 1.2rem + 4.4vw, 4.5rem); max-width: 16ch; }
.phone-big { margin-top: var(--sp-5); font-size: var(--fs-phone); font-weight: 800; font-stretch: var(--wd-display); line-height: 1; font-variant-numeric: tabular-nums; }
.phone-big a { text-decoration: none; display: inline-block; min-height: 48px; }
.hours { margin-top: var(--sp-2); font-size: var(--fs-lead); font-weight: 650; color: var(--arena); }
.phone-big a:hover { text-decoration: underline; text-decoration-thickness: 2px; }
.closing .lead { margin-top: var(--sp-5); max-width: 38rem; }
.close-actions { margin-top: var(--sp-6); }
@media (max-width: 767px) { .close-actions { flex-direction: column; } .close-actions .btn { width: 100%; } }

/* Pie */
.foot { padding-block: var(--sp-8) calc(var(--sp-8) + var(--bar-h)); }
@media (min-width: 768px) { .foot { padding-bottom: var(--sp-8); } }
.foot-grid { display: grid; gap: var(--sp-6); }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.4fr 1fr 1fr; align-items: start; } }
.foot .mark { margin: 0; }
.foot-slogan { margin-top: var(--sp-3); font-weight: 650; }
.foot .meta { margin-top: var(--sp-2); color: var(--arena); }
.foot-contact { display: grid; gap: var(--sp-2); }
.foot-contact a { display: inline-flex; align-items: center; gap: var(--sp-2); min-height: 44px; font-weight: 650; }
.foot-contact svg { width: 20px; height: 20px; flex: none; }
.foot .lang span[aria-current] { color: var(--estuco); }
.foot .lang a { color: var(--arena); }
.foot .lang a:hover, .foot .lang a:focus-visible { color: var(--estuco); }
.foot .lang > :first-child { border-color: var(--arena); }

/* Barra fija de móvil (63 % llamar) */
body { padding-bottom: 0; }
.call-bar { display: flex; gap: var(--sp-2); transition: transform var(--t-base) var(--ease-out); }
.call-bar .btn { min-width: 0; min-height: 48px; padding: 0 var(--sp-3); }
.call-bar .btn-call { flex: 1.9 1 0; }
.call-bar .btn-alt { flex: 1 1 0; color: var(--estuco); border-color: var(--estuco); }
.call-bar.is-away { transform: translateY(110%); }
@media (min-width: 768px) { .call-bar { display: none; } }

/* Entradas: estado final visible sin JS (GSAP las anima en fx.js) */
@media (prefers-reduced-motion: reduce) {
  .call-bar, .carousel-btn, .slides { transition: none; scroll-behavior: auto; }
}

/* Panel de correo (escritorio; en móvil el botón va directo al mailto:) */
.mail-panel { position: fixed; z-index: 40; width: min(20rem, calc(100vw - 2rem)); display: grid; gap: var(--sp-2);
  padding: var(--sp-5) var(--sp-4) var(--sp-4); background: var(--estuco); color: var(--acero); border: 1px solid var(--line);
  border-radius: var(--r-1); box-shadow: var(--sh-1); --focus: var(--acero); }
.mail-panel[hidden] { display: none; }
.mail-panel .btn { width: 100%; color: var(--acero); border-color: var(--acero); }
.mail-addr { font-weight: 650; overflow-wrap: anywhere; margin: var(--sp-2) 0 0; }
.mail-close { position: absolute; top: 0; right: 0; width: 44px; height: 44px; border: 0; background: none; font-size: 1.5rem; line-height: 1; color: var(--acero); cursor: pointer; }

/* 404 */
.page-404 { padding-block: var(--sp-9); min-height: 60vh; }
.page-404 .lead { margin-top: var(--sp-4); }
