@import url('/fonts/six-caps/six-caps.css');
@import url('/fonts/jost/jost.css');

/* Onda Barber Club — barbería de una página. Negro cálido, hueso y latón. Titulares en Six Caps (condensada, mayúsculas), texto en Jost.
   Las fotos llevan un efecto de agua (script.js dibuja un <canvas> sobre ellas). Los efectos solo corren fuera del editor
   (html.is-ed = editor: todo plano y editable). */

:root {
  --ink: #0d0c0b;
  --ink2: #171513;
  --bone: #efe7d8;
  --mute: rgba(239, 231, 216, .66);
  --line: rgba(239, 231, 216, .16);
  --brass: #d8a94b;
  --ease: cubic-bezier(.16, 1, .3, 1);
  --disp: 'Six Caps', 'Impact', 'Arial Narrow', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body, button, input, select, textarea { font-family: 'Jost', system-ui, -apple-system, 'Segoe UI', sans-serif; }
body { margin: 0; background: var(--ink); color: var(--bone); font-size: 18px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--brass); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--brass); color: var(--ink); padding: 10px 16px; border-radius: 6px; font-weight: 600; }
.skip-link:focus { left: 8px; }

/* Titulares */
.h-xl, .h-lg, .hero-name { font-family: var(--disp); font-weight: 400; text-transform: uppercase; letter-spacing: .01em; line-height: .86; }
.h-xl { font-size: clamp(64px, 11vw, 168px); overflow-wrap: anywhere; }
.h-lg { font-size: clamp(56px, 8vw, 120px); overflow-wrap: anywhere; }
.label { font-size: 14px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; color: var(--brass); margin-bottom: 18px; }
.lead { font-size: 20px; line-height: 1.55; color: var(--mute); max-width: 540px; margin-top: 22px; }
.note { font-size: 16px; color: var(--mute); margin-top: 18px; max-width: 460px; }
.hint { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--mute); }
.hint-c { text-align: center; margin-top: 36px; }
.fit { display: inline-block; white-space: nowrap; }

/* Botones */
.btn { position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 28px;
  border: 1px solid currentColor; border-radius: 999px; font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .12em; overflow: hidden;
  transition: color .3s ease, transform .3s var(--ease); }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--fill, var(--bone)); transform: translateY(101%); transition: transform .35s var(--ease); }
.btn[data-whatsapp-btn]::after { content: ''; order: -1; flex: none; width: 1.55em; height: 1.55em; margin: -.1em 10px -.1em -2px; background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='black'%3E%3Cpath d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z'/%3E%3C/svg%3E") center / contain no-repeat; }
.btn:hover, .btn:focus-visible { color: var(--hover-ink, var(--ink)); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); }
.btn-brass { color: var(--ink); background: var(--brass); border-color: var(--brass); --fill: var(--bone); }
.btn-line { color: var(--bone); --fill: var(--bone); --hover-ink: var(--ink); }
.btn-sm { min-height: 46px; padding: 0 22px; font-size: 13px; }
.btn-wide { width: 100%; }
.btn-t { display: block; }

/* ─── Cabecera: «vidrio líquido» ───
   Medido en livemefive.com (componente GlassSurface): desenfoque 4 px, saturación 1,2, tinte gris al 15 %, halo .09/.01/.03, brillo interior .15/.06/.015,
   borde de 1 px a 195° (.2 → 0 → .1), radio 30 px. La refracción (filtro SVG de desplazamiento, dispersión cromática) la agrega script.js
   como `backdrop-filter` solo en Chromium (también en el editor: la regla va en un <style> dentro de `.glass-live`); sin ella queda este vidrio esmerilado. */
.pill { position: fixed; z-index: 50; top: 26px; --tm-nav-gap: 26px; left: 50%; transform: translateX(-50%); width: min(340px, calc(100% - 32px)); color: var(--bone); border-radius: 30px; overflow: hidden;
  background: linear-gradient(to bottom, rgba(255, 255, 255, .09) 0%, rgba(255, 255, 255, .01) 10%, rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 80%, rgba(255, 255, 255, .03) 100%),
    linear-gradient(rgba(223, 223, 223, .15), rgba(223, 223, 223, .15)), linear-gradient(rgba(0, 0, 0, .2), rgba(0, 0, 0, .2));
  -webkit-backdrop-filter: blur(14px) saturate(1.4); backdrop-filter: blur(14px) saturate(1.4);
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, .15), inset 0 -1px 1px rgba(255, 255, 255, .06), inset 0 0 12px rgba(255, 255, 255, .015);
  transition: background .3s ease; }
.pill::before { content: ''; position: absolute; inset: 0; z-index: 2; border-radius: inherit; padding: 1px; pointer-events: none;
  background: linear-gradient(195deg, rgba(255, 255, 255, .2) 0%, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, .1) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.glass-live { position: absolute; inset: 0; pointer-events: none; z-index: -1; }
.glass-f { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.pill-bar { display: flex; align-items: center; justify-content: space-between; height: 60px; padding: 0 12px 0 24px; }
.pill-logo { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: .14em; line-height: 1; white-space: nowrap; }
.pill-toggle { width: 44px; height: 44px; border: 0; background: none; color: inherit; cursor: pointer; display: grid; grid-template-columns: repeat(2, 5px); gap: 3px; place-content: center; }
.pill-toggle i { width: 5px; height: 5px; background: currentColor; border-radius: 50%; transition: transform .35s var(--ease); }
.pill.is-open .pill-toggle i:nth-child(1) { transform: translate(2px, 2px); }
.pill.is-open .pill-toggle i:nth-child(2) { transform: translate(-2px, 2px); }
.pill.is-open .pill-toggle i:nth-child(3) { transform: translate(2px, -2px); }
.pill.is-open .pill-toggle i:nth-child(4) { transform: translate(-2px, -2px); }
.pill-menu { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.pill.is-open .pill-menu { grid-template-rows: 1fr; }
.pill-menu > * { min-height: 0; overflow: hidden; }
.pill-menu nav { display: flex; flex-direction: column; padding: 4px 24px 0; }
.pill-menu nav a { font-family: var(--disp); font-size: 46px; line-height: 1; text-transform: uppercase; letter-spacing: .02em; min-height: 52px; display: flex; align-items: center; }
.pill-menu nav a:hover { color: var(--brass); }
.pill-foot { display: flex; flex-direction: column; gap: 14px; padding: 18px 24px 22px; }
.pill-foot .btn { align-self: flex-start; }
.pill-status { display: flex; align-items: center; gap: 9px; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .1em; color: var(--mute); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #55d68a; flex: none; box-shadow: 0 0 0 0 rgba(85, 214, 138, .6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(85, 214, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(85, 214, 138, 0); } }

/* Escritorio: barra centrada como la de la referencia — dos enlaces, el logo al medio y dos enlaces (☰ por debajo de 1180 px) */
@media (min-width: 1180px) {
  .pill { display: flex; align-items: center; justify-content: center; width: auto; max-width: calc(100% - 40px); height: 60px; padding: 0 12px; }
  .pill-bar, .pill-menu, .pill-menu > *, .pill-menu nav { display: contents; }
  .pill-toggle, .pill-foot, .pill-menu nav a:first-child { display: none; }
  .pill-logo { order: 3; padding: 0 36px; font-size: 15px; }
  .pill-menu nav a { font-family: var(--base, 'Jost', sans-serif); font-size: 14px; font-weight: 500; letter-spacing: .16em; min-height: 44px; padding: 0 18px; color: var(--mute); }
  .pill-menu nav a:hover { color: var(--bone); }
  .pill-menu nav a:nth-child(2) { order: 1; } .pill-menu nav a:nth-child(3) { order: 2; }
  .pill-menu nav a:nth-child(4) { order: 4; } .pill-menu nav a:nth-child(5) { order: 5; }
}

/* ─── Foto con efecto de agua ─── */
.rp-in { position: absolute; inset: 0; overflow: hidden; }
.rp-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.rp-live { position: absolute; inset: 0; pointer-events: none; }
.rp-cv { position: absolute; inset: 0; width: 100%; height: 100%; display: block; pointer-events: none; opacity: 0; transition: opacity .25s ease; }
.rp-cv.is-on { opacity: 1; }
.fx [data-rp] { cursor: crosshair; }

/* ─── Hero ─── */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: clip; display: flex; align-items: flex-end; background: #1a1714; }
.hero-shade { position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(13, 12, 11, .5) 0%, rgba(13, 12, 11, 0) 28%, rgba(13, 12, 11, .1) 52%, rgba(13, 12, 11, .88) 100%); }
.hero-copy { position: relative; z-index: 2; width: 100%; padding: 0 20px 28px; pointer-events: none; }
.hero-copy a, .hero-copy [data-edit] { pointer-events: auto; }
.kicker { position: relative; z-index: 1; font-size: clamp(15px, 1.7vw, 24px); font-weight: 600; text-transform: uppercase; letter-spacing: .22em; color: var(--brass); margin-bottom: 14px; text-shadow: 0 1px 12px rgba(13, 12, 11, .65); }
.hero-h { font-size: 0; line-height: 0; }
.hero-name { color: var(--bone); font-size: 14vw; line-height: .8; padding: .1em 0 .02em; }
/* El titular espera a su tipografía: sin esto salta de tamaño cuando carga (Impact → Six Caps) */
.hero-copy { transition: opacity .6s ease; }
.hero-copy:has(.hero-name:not(.is-fit)) { opacity: 0; animation: hero-copy-in 0s linear 2.2s forwards; } /* si el script o la fuente no llegan, a los 2,2 s se muestra igual */
@keyframes hero-copy-in { to { opacity: 1; } }
/* Alineación que elige el dueño (align-editor.ts); el titular es inline-block y se mueve por su h1 */
.tm-al-left { text-align: left; } .tm-al-center { text-align: center; } .tm-al-right { text-align: right; }
.hero-h:has(> .tm-al-left) { text-align: left; } .hero-h:has(> .tm-al-center) { text-align: center; } .hero-h:has(> .tm-al-right) { text-align: right; }
.hero-row { display: flex; align-items: flex-end; justify-content: center; gap: 24px 40px; flex-wrap: wrap; margin-top: 22px; }
.hero-side { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 22px; width: 100%; }
.hero-side.tm-al-left { align-items: flex-start; text-align: left; } .hero-side.tm-al-right { align-items: flex-end; text-align: right; }
.hero-lead { max-width: 560px; font-size: 20px; color: rgba(239, 231, 216, .86); }
.hero-btns { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-side.tm-al-left .hero-btns { justify-content: flex-start; } .hero-side.tm-al-right .hero-btns { justify-content: flex-end; }
.hero-side .hero-btns.tm-al-left { justify-content: flex-start; } .hero-side .hero-btns.tm-al-center { justify-content: center; } .hero-side .hero-btns.tm-al-right { justify-content: flex-end; }
.hero .hint { width: 100%; text-align: center; color: rgba(239, 231, 216, .7); }

/* ─── Secciones ─── */
.sec { padding: 130px 20px; max-width: 1480px; margin: 0 auto; }
.sec-dark { max-width: none; background: var(--ink2); }
.sec-dark > * { max-width: 1440px; margin-left: auto; margin-right: auto; }
.sec-head { margin-bottom: 64px; }

.sv-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 60px; align-items: start; }
.sv-head { position: sticky; top: 100px; }
.sv-head .h-xl { font-size: clamp(64px, 9vw, 140px); }
.svcs { border-top: 1px solid var(--line); }
.svc { padding: 26px 0; border-bottom: 1px solid var(--line); }
.svc-top { display: flex; align-items: baseline; gap: 14px; }
.svc-name { font-size: clamp(24px, 2.6vw, 34px); font-weight: 500; line-height: 1.15; letter-spacing: -.005em; }
.svc-dots { flex: 1; min-width: 20px; border-bottom: 2px dotted rgba(239, 231, 216, .28); transform: translateY(-6px); }
.svc-price { font-size: clamp(24px, 2.6vw, 34px); font-weight: 600; color: var(--brass); white-space: nowrap; }
.svc-bot { display: flex; justify-content: space-between; gap: 20px; margin-top: 8px; color: var(--mute); }
.svc-desc { max-width: 460px; }
.svc-time { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; white-space: nowrap; padding-top: 4px; }

.works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.work { display: flex; flex-direction: column; gap: 18px; }
.work-ph, .mate-ph, .pl-ph { position: relative; overflow: hidden; background: #1a1714; }
.work-ph { aspect-ratio: .82; }
.work-name { font-size: 24px; font-weight: 500; line-height: 1.2; }
.work-tag { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--brass); margin-top: 4px; }

.mates { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 56px 24px; }
.mate { display: flex; flex-direction: column; gap: 20px; }
.mate-ph { aspect-ratio: .8; }
.mate-body { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; }
.mate-name { font-family: var(--disp); font-size: 52px; line-height: .95; text-transform: uppercase; letter-spacing: .01em; }
.mate-spec { font-size: 18px; color: var(--bone); }
.mate-years { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--mute); margin-bottom: 14px; }

.pl-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 24px; align-items: stretch; }
.pl-a { grid-column: 1 / 7; aspect-ratio: 1.1; }
.pl-txt { grid-column: 8 / 13; display: flex; flex-direction: column; justify-content: center; }
.pl-where { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 24px; align-items: stretch; }
.pl-map { min-height: 300px; }
.tm-map-wrapper { position: relative; width: 100%; height: 100%; overflow: hidden; background: #1a1714; }
.tm-map-wrapper iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; pointer-events: none;
  filter: grayscale(1) invert(.92) contrast(.9) sepia(.35) hue-rotate(-12deg); opacity: 0; transition: opacity 1.1s ease, filter .6s ease; will-change: filter, opacity; transform: translateZ(0); }
.tm-map-wrapper.is-loaded iframe { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .tm-map-wrapper iframe { transition: none; } }
.tm-map-wrapper img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tm-map-trigger { position: absolute; inset: 0; z-index: 5; }
.pl-side { display: flex; }
.pl-find { flex: 1; }
.pl-hours { width: 100%; margin: 6px 0 4px; }
.card-sub { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--brass); margin-bottom: 10px; }
.pl-card { border: 1px solid var(--line); padding: 32px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.card-t { font-family: var(--disp); font-size: 68px; font-weight: 400; line-height: 1; text-transform: uppercase; margin-bottom: 10px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(120px, 100%), 1fr)); gap: 18px 24px; margin-top: 40px; }
.stat { border-top: 1px solid var(--brass); padding-top: 14px; }
.stat-n { font-family: var(--disp); font-size: clamp(48px, 5vw, 72px); line-height: .9; }
.stat-l { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .12em; color: var(--mute); margin-top: 6px; }
.hours { width: 100%; display: flex; flex-direction: column; gap: 10px; }
.hrow { display: flex; align-items: baseline; gap: 12px; }
.hr-dots { flex: 1; min-width: 16px; border-bottom: 2px dotted rgba(239, 231, 216, .28); transform: translateY(-5px); }
.hr-h { font-weight: 600; }
.find-a { display: inline-flex; align-items: center; min-height: 44px; font-size: 20px; font-weight: 500; }
.find-a:hover { color: var(--brass); }
.find-addr:hover { color: inherit; }
.fcol-txt { display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; }
.pl-card .btn { margin-top: 10px; }

.book { text-align: left; }
.book-in { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 60px; align-items: center; }
.book-card { border: 1px solid var(--line); padding: 36px; background: var(--ink2); }
.rform { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 24px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld:first-child, .fld:nth-child(2) { grid-column: 1 / -1; }
.lab { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .16em; color: var(--mute); }
.rform input, .rform select { width: 100%; min-height: 52px; padding: 0 16px; background: var(--ink); color: var(--bone); border: 1px solid var(--line); border-radius: 10px; font-size: 17px; color-scheme: dark; }
.rform input:focus, .rform select:focus { border-color: var(--brass); outline: none; }
.is-err { border-color: #e2674a; }
.form-note { margin-top: 14px; font-size: 15px; color: var(--mute); }
.form-note.is-err { color: #f08a70; }
.form-alt { margin-top: 14px; font-size: 15px; color: var(--mute); }
.tm-email-off { display: none !important; }
.form-alt a { color: var(--brass); text-decoration: underline; text-underline-offset: 3px; }
.mail-pick { position: fixed; z-index: 9500; display: grid; min-width: 230px; padding: 8px; background: var(--ink2); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); }
.mail-pick p { padding: 6px 10px 8px; font-size: 13px; color: var(--mute); overflow-wrap: anywhere; }
.mail-pick a, .mail-pick button { display: flex; align-items: center; min-height: 44px; padding: 8px 12px; border: 0; border-radius: 8px; background: none; color: var(--bone); font-size: 16px; text-align: left; text-decoration: none; cursor: pointer; }
.mail-pick a:hover, .mail-pick button:hover, .mail-pick :focus-visible { background: rgba(239, 231, 216, .1); }

.foot { padding: 0 20px 28px; }
.foot-in { max-width: 1440px; margin: 0 auto; border-top: 1px solid var(--line); padding-top: 40px; }
.foot-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); gap: 34px 60px; }
.fcol { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; }
.fcol-t { font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .18em; color: var(--brass); margin-bottom: 8px; }
.fcol-links { display: flex; flex-flow: row wrap; align-items: center; gap: 0 28px; }
.fcol-phones { display: flex; flex-flow: row wrap; align-items: flex-start; gap: 4px 36px; margin-bottom: 6px; }
.fcol-phones .ph-area { margin-top: 0; }
.pl-phones { display: flex; flex-direction: column; gap: 8px; width: 100%; }
.pl-phones li { display: flex; flex-direction: column; }
.ph-area { display: block; font-size: 13px; font-weight: 500; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); margin-top: 6px; }
.fcol a { display: inline-flex; align-items: center; min-height: 44px; font-size: 19px; }
.fcol a:hover { color: var(--brass); }
.foot-bot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; margin-top: 50px; font-size: 13px; text-transform: uppercase; letter-spacing: .14em; color: var(--mute); }

/* Aparecer al desplazarte (solo fuera del editor) */
.fx [data-rv] { opacity: 0; transform: translateY(36px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.fx [data-rv].rv-in { opacity: 1; transform: none; }

@media (max-width: 1000px) {
  .works, .mates { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sv-grid, .book-in { grid-template-columns: 1fr; gap: 40px; }
  .sv-head { position: static; }
  .pl-a, .pl-txt { grid-column: 1 / -1; }
  .pl-a { aspect-ratio: 1.3; }
  .pl-where { grid-template-columns: 1fr; }
  .pl-map { min-height: 260px; }
}
@media (max-width: 680px) {
  .sec { padding: 84px 20px; }
  .sec-head { margin-bottom: 40px; }
  .works, .mates { grid-template-columns: 1fr; gap: 44px; }
  .work-ph, .mate-ph { aspect-ratio: .9; }
  .rform { grid-template-columns: 1fr; }
  .book-card, .pl-card { padding: 24px; }
  .hero-name { font-size: 15vw; }
  .svc-bot { flex-direction: column; gap: 6px; }
  .svc-name, .svc-price { font-size: 22px; }
}
@media (hover: none) { .hero .hint { display: none; } }
@media (prefers-reduced-motion: reduce) {
  .fx [data-rv] { opacity: 1; transform: none; transition: none; }
  .dot { animation: none; }
  html { scroll-behavior: auto; }
}

/* Fechas con el formato del idioma de la página (ver date-fields.js): el texto nativo se hace transparente y se muestra el propio */
.dt { position: relative; display: block; width: 100%; min-width: 0; }
.dt-in { width: 100%; }
.dt-in::-webkit-datetime-edit { color: transparent; }
.dt-in::-webkit-datetime-edit-fields-wrapper { color: transparent; }
@supports (-moz-appearance: none) { .dt-in { color: transparent; } }
.dt-v { position: absolute; left: 0; top: 0; bottom: 0; display: flex; align-items: center; color: inherit; pointer-events: none; white-space: nowrap; }
.dt-v.is-empty { opacity: .55; }
.dt-in:focus-visible ~ .dt-v { text-decoration: underline; }
