/* Althaea · dirección "La pared que habla"
   Paleta medida sobre su local: la pared salvia, el rótulo ocre, el vinilo carbón con letras rosa. */
:root {
  --salvia: #8EC3AA;        /* su pared */
  --salvia-claro: #CFE5D9;
  --salvia-honda: #3E6656;
  --ocre: #A8743F;          /* su rótulo */
  --ocre-fill: #87592C;     /* ocre para rellenos con texto blanco (contraste ≥ 5:1) */
  --carbon: #2F2C2E;        /* su vinilo */
  --carbon-hondo: #232123;
  --rosa: #D8B4A0;          /* las letras del vinilo */
  --blanco: #F6F8F7;        /* el mostrador: blanco frío, no crema */
  --ink: #232123;
  --ink-soft: #46454a;
  --line-dark: rgba(216, 180, 160, .22);

  --display: "Cormorant Garamond", "Cormorant", Georgia, serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --maxw: 1240px;
  --gutter: clamp(20px, 4vw, 56px);
  --section: clamp(84px, 11vw, 150px);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --totem-w: clamp(300px, 25vw, 360px);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--body); font-size: 16.5px; line-height: 1.65; color: var(--ink);
  background: var(--blanco); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--salvia); color: var(--ink); }
:focus-visible { outline: 2px solid var(--ocre); outline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 500; letter-spacing: -.01em; line-height: 1; text-wrap: balance; }
p { text-wrap: pretty; }
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

/* ---------- botones: rectos, como su rótulo ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 26px; border-radius: 2px;
  font-weight: 600; font-size: .95rem; letter-spacing: .02em;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(.97); }
.btn--ocre { background: var(--ocre-fill); color: #fff; }
.btn--line { border: 1px solid rgba(255, 255, 255, .7); color: #fff; }
.btn--carbon { background: var(--carbon); color: #fff; }
.btn--line-dark { border: 1px solid var(--carbon); color: var(--carbon); }
@media (hover: hover) {
  .btn--ocre:hover { background: #714a24; }
  .btn--line:hover { background: rgba(255, 255, 255, .12); }
  .btn--carbon:hover { background: var(--carbon-hondo); }
  .btn--line-dark:hover { background: var(--carbon); color: #fff; }
}

/* ---------- header ---------- */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; color: #fff; }
.site-header.scrolled { background: rgba(47, 44, 46, .9); backdrop-filter: blur(12px) saturate(1.2); -webkit-backdrop-filter: blur(12px) saturate(1.2); box-shadow: 0 10px 30px -18px rgba(0, 0, 0, .6); }
.header__in { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand__sprig { width: 26px; height: 26px; fill: none; stroke: var(--rosa); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.brand__word { font-family: var(--display); font-weight: 500; font-size: 1.55rem; letter-spacing: .24em; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); font-size: .92rem; font-weight: 500; }
.nav a { opacity: .88; transition: opacity .2s var(--ease); }
.nav a.active { opacity: 1; box-shadow: inset 0 -1px 0 var(--rosa); }
@media (hover: hover) { .nav a:hover { opacity: 1; } }
.nav__call { border: 1px solid rgba(255, 255, 255, .55); padding: 9px 16px; border-radius: 2px; opacity: 1 !important; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 1.5px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; }
.burger span:nth-child(1) { top: 15px; } .burger span:nth-child(2) { top: 21px; } .burger span:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO: su pared a sangre ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; display: flex; flex-direction: column; justify-content: flex-end; isolation: isolate; }
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 64%; z-index: -2; }
.hero__veil {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(0deg, rgba(35, 33, 35, .9) 0%, rgba(35, 33, 35, .62) 34%, rgba(35, 33, 35, .12) 62%, rgba(35, 33, 35, .35) 100%),
    linear-gradient(90deg, rgba(35, 33, 35, .5) 0%, rgba(35, 33, 35, 0) 60%);
}
.hero__veil::after { /* grano: tapa la blandura de una foto de móvil */
  content: ""; position: absolute; inset: 0; opacity: .14; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__in { padding-top: 140px; padding-bottom: clamp(86px, 9vw, 120px); }
.hero__copy { max-width: calc(100% - var(--totem-w) - 40px); }
.hero__title {
  font-size: clamp(3.3rem, 9vw, 9.6rem); line-height: .9; letter-spacing: -.025em; font-weight: 500;
  text-shadow: 0 2px 30px rgba(0, 0, 0, .25); max-width: 11.5ch;
}
.hero__title .w { display: inline-block; opacity: 0; transform: translateY(.35em); animation: wordIn .7s var(--ease) forwards; }
@keyframes wordIn { to { opacity: 1; transform: none; } }
.hero__lead { margin-top: 28px; max-width: 42ch; font-size: 1.08rem; color: rgba(255, 255, 255, .9); }
.hero__ctas { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.rating { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255, 255, 255, .92); }
.rating .g { width: 18px; height: 18px; }
.rating .stars { color: #F2C14E; letter-spacing: 2px; }

/* barra de estado al pie del hero */
.statusbar { position: absolute; inset: auto 0 0; border-top: 1px solid rgba(255, 255, 255, .18); background: rgba(35, 33, 35, .55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.statusbar__in { display: flex; gap: 28px; align-items: center; min-height: 52px; font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .88); padding-right: calc(var(--totem-w) + var(--gutter) + 24px); }
.status { display: inline-flex; align-items: center; gap: 9px; }
.status i { width: 8px; height: 8px; border-radius: 50%; background: #c9c3c0; flex: none; }
.status.open i { background: #7FD6A7; box-shadow: 0 0 0 4px rgba(127, 214, 167, .22); }
.status.closed i { background: #E59A8B; }

/* ---------- FIRMA: el tótem del escaparate ---------- */
.totem {
  position: absolute; z-index: 5; right: max(var(--gutter), calc((100vw - var(--maxw)) / 2 + var(--gutter)));
  bottom: -64px; width: var(--totem-w);
  background: var(--carbon); color: #EDE6E1; text-align: center;
  padding: 26px 26px 24px; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .55);
  transform: translateY(0);
}
.totem::before { /* el marco de aluminio del escaparate */
  content: ""; position: absolute; inset: 8px; border: 1px solid var(--line-dark); pointer-events: none;
}
.totem__logo { position: relative; display: grid; place-items: center; height: 100px; }
.totem__logo span { font-family: var(--display); font-size: 2.3rem; letter-spacing: .14em; color: #F4EEEA; position: relative; z-index: 1; }
.totem__ring { position: absolute; width: 190px; height: 124px; fill: none; stroke: var(--rosa); stroke-width: 1.1; opacity: .7; }
.totem__bird { position: absolute; top: 2px; width: 26px; height: 26px; fill: none; stroke: var(--rosa); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.totem__somos { margin-top: 10px; font-size: .78rem; letter-spacing: .3em; text-transform: uppercase; color: var(--rosa); }
.totem__big { font-family: var(--display); font-size: 1.75rem; line-height: 1.02; letter-spacing: .03em; text-transform: uppercase; color: #F4EEEA; }
.totem__big small { display: block; font-family: var(--body); font-size: .72rem; letter-spacing: .26em; margin-top: 6px; }
.totem__big--rosa { color: var(--rosa); }
.totem__y { font-family: var(--display); font-size: 1.1rem; color: var(--rosa); line-height: 1.4; }
.totem__script { margin: 12px auto 0; max-width: 22ch; font-family: var(--display); font-style: italic; font-size: 1.22rem; line-height: 1.25; color: var(--rosa); }
.totem__pillars { list-style: none; margin-top: 16px; text-align: left; }
.totem__pillars li { display: grid; grid-template-columns: 46px 1fr; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line-dark); }
.totem__pillars svg { width: 46px; height: 46px; fill: none; stroke: var(--rosa); stroke-width: 1.1; stroke-linecap: round; stroke-linejoin: round; }
.totem__pillars b { display: block; font-size: .86rem; letter-spacing: .06em; text-transform: uppercase; color: #F4EEEA; line-height: 1.3; }
.totem__pillars span { display: block; font-size: .82rem; color: #D9CEC8; line-height: 1.45; margin-top: 3px; }
.totem__foot { margin-top: 10px; padding-top: 12px; border-top: 1px solid var(--line-dark); font-size: .76rem; letter-spacing: .24em; text-transform: uppercase; color: var(--rosa); line-height: 1.7; }

/* ---------- INTRO: el verde de su pared ---------- */
.intro { background: var(--salvia); color: var(--ink); padding-block: var(--section); padding-top: clamp(150px, 16vw, 260px); }
.intro__in { display: grid; grid-template-columns: minmax(0, 1fr); padding-right: calc(var(--totem-w) + var(--gutter) + 40px); }
.intro__copy h2 { font-size: clamp(2.6rem, 5.4vw, 5.2rem); line-height: .98; max-width: 16ch; }
.intro__copy p { margin-top: 22px; max-width: 58ch; font-size: 1.06rem; color: #22302A; }
.intro__copy p + p { margin-top: 14px; }
.facts { list-style: none; margin-top: 56px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 1px solid rgba(35, 33, 35, .3); }
.facts li { padding: 20px 20px 0 0; }
.facts b { display: block; font-family: var(--display); font-weight: 600; font-size: clamp(1.8rem, 2.6vw, 2.4rem); line-height: 1; }
.facts span { display: block; margin-top: 8px; font-size: .9rem; color: #22302A; }

/* ---------- TRATAMIENTOS: carbón ---------- */
.treat { background: var(--carbon); color: #EDE6E1; padding-block: var(--section); }
.treat__in { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.treat__head h2 { font-size: clamp(3rem, 7vw, 6.6rem); color: #F4EEEA; }
.treat__head p { margin-top: 18px; max-width: 46ch; color: #D9CEC8; }
.rows { list-style: none; margin-top: 48px; border-top: 1px solid var(--line-dark); }
.row { display: grid; grid-template-columns: minmax(0, 1fr) auto; column-gap: 24px; padding: 26px 0; border-bottom: 1px solid var(--line-dark); }
.row h3 { font-size: clamp(1.9rem, 3.4vw, 3rem); font-weight: 500; color: #F4EEEA; grid-column: 1; }
.row p { grid-column: 1; margin-top: 8px; max-width: 52ch; font-size: .97rem; color: #D9CEC8; }
.row a { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .86rem; font-weight: 600; color: var(--rosa); border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
@media (hover: hover) { .row a:hover { color: #fff; } }
.treat__photo { position: sticky; top: 100px; margin-top: 10px; }
.treat__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center 40%; }
.treat__photo figcaption { margin-top: 12px; font-size: .84rem; color: #CFC4BE; }

/* ---------- EL CENTRO ---------- */
.centro { padding-block: var(--section); background: var(--blanco); }
.centro__head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: end; }
.centro__head h2 { font-size: clamp(3rem, 7vw, 6.6rem); }
.centro__head p { max-width: 44ch; color: var(--ink-soft); }
.mosaic { margin-top: 52px; display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(90px, 9vw, 128px); gap: 14px; }
.shot { position: relative; overflow: hidden; display: block; padding: 0; }
.shot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
@media (hover: hover) { .shot:hover img { transform: scale(1.03); } }
.shot--a { grid-column: 1 / span 5; grid-row: span 5; }
.shot--a img { object-position: center 55%; }
.shot--b { grid-column: 6 / span 4; grid-row: span 3; }
.shot--c { grid-column: 10 / span 3; grid-row: span 3; }
.shot--c img { object-position: center 60%; }
.shot--d { grid-column: 6 / span 3; grid-row: span 2; }
.shot--d img { object-position: center 45%; }
.shot--e { grid-column: 9 / span 4; grid-row: span 2; }
.shot--e img { object-position: center 25%; }
.lightbox img { max-width: 92vw; max-height: 88vh; width: auto; height: auto; }
.lightbox__close { position: absolute; top: 16px; right: 20px; color: #fff; font-size: 2.2rem; width: 48px; height: 48px; }

/* ---------- OPINIONES ---------- */
.reviews { padding-block: var(--section); background: var(--salvia-claro); }
.reviews__in { display: grid; grid-template-columns: minmax(0, .7fr) minmax(0, 1.3fr); gap: clamp(30px, 5vw, 80px); }
.score { display: flex; flex-direction: column; }
.score__num { font-family: var(--display); font-weight: 500; font-size: clamp(7rem, 15vw, 13rem); line-height: .82; letter-spacing: -.03em; color: var(--salvia-honda); }
.score__stars { margin-top: 48px; color: #B98A1E; font-size: 1.3rem; letter-spacing: 4px; }
.score__src { margin-top: 6px; font-weight: 600; font-size: .95rem; }
.quote p { font-family: var(--display); font-size: clamp(1.7rem, 2.8vw, 2.5rem); line-height: 1.18; color: var(--ink); }
.quote cite { display: block; margin-top: 18px; font-style: normal; font-weight: 600; font-size: .92rem; color: var(--salvia-honda); }
.minis { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; margin-top: 30px; padding-top: 34px; border-top: 1px solid rgba(62, 102, 86, .35); }
.mini blockquote { font-size: .95rem; color: #2c3a33; }
.mini figcaption { margin-top: 12px; font-weight: 600; font-size: .86rem; color: var(--salvia-honda); }

/* ---------- VISÍTANOS ---------- */
.visit { padding-block: var(--section); background: var(--blanco); }
.visit__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 3vw, 44px); align-items: stretch; }
.visit__info h2 { font-size: clamp(3rem, 6vw, 5.6rem); }
.visit__addr { margin-top: 18px; font-size: 1.1rem; font-weight: 500; }
.status--dark { margin-top: 18px; font-weight: 600; font-size: .92rem; }
.hours { margin-top: 18px; width: 100%; border-collapse: collapse; font-size: .92rem; }
.hours th, .hours td { text-align: left; padding: 8px 0; border-bottom: 1px solid #DCE3DF; font-weight: 500; }
.hours td { text-align: right; color: var(--ink-soft); }
.hours .today th, .hours .today td { color: var(--salvia-honda); font-weight: 700; }
.visit__ctas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; }
.visit__facade img { width: 100%; height: calc(100% - 46px); min-height: 360px; object-fit: cover; object-position: center 30%; }
.visit__facade figcaption { margin-top: 12px; font-size: .86rem; color: var(--ink-soft); }
.visit__map { grid-column: 1 / -1; }
.visit__map iframe { width: 100%; height: 380px; border: 0; filter: saturate(.75); }

/* ---------- CONTACTO ---------- */
.contact { padding-block: var(--section); background: var(--salvia-honda); color: #EEF4F0; }
.contact__in { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(30px, 6vw, 90px); align-items: start; }
.contact__copy h2 { font-size: clamp(3rem, 6.4vw, 6rem); color: #fff; }
.contact__copy p { margin-top: 18px; max-width: 44ch; color: #EEF4F0; }
.contact__copy a { border-bottom: 1px solid currentColor; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form .full { grid-column: 1 / -1; }
.form label { display: grid; gap: 6px; font-size: .86rem; font-weight: 600; color: #EEF4F0; }
.form input, .form select, .form textarea {
  font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: #fff;
  border: 1px solid transparent; border-radius: 2px; padding: 13px 14px; width: 100%;
}
.form textarea { resize: vertical; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; }
.form .check input { width: 18px; height: 18px; margin-top: 3px; flex: none; accent-color: var(--ocre-fill); }
.form .check a { text-decoration: underline; }
.form .btn--ocre { justify-self: start; }
.form__err { display: none; color: #FFD9CF; font-size: .9rem; }
.form.has-error .form__err { display: block; }

/* ---------- FOOTER ---------- */
.footer { background: var(--carbon-hondo); color: #D9CEC8; padding-top: 72px; padding-bottom: 28px; }
.footer__in { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.footer .brand__word { color: #F4EEEA; font-size: 1.9rem; }
.footer__brand p { margin-top: 12px; font-size: .92rem; }
.footer h3 { font-family: var(--body); font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--rosa); margin-bottom: 12px; }
.footer p { font-size: .92rem; line-height: 1.7; }
.footer__bar { margin-top: 56px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .1); font-size: .84rem; }
.footer__bar a { margin-left: 18px; color: #CFC4BE; }
.demo-aviso { margin-top: 10px; font-size: .78rem; color: #A99E98; }

/* ---------- call-bar móvil ---------- */
.callbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  :root { --totem-w: 300px; }
  .totem { padding: 26px 22px; }
  .totem__pillars li { grid-template-columns: 38px 1fr; }
  .totem__pillars svg { width: 38px; height: 38px; }
  .minis { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
  .nav { position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 26px; font-size: 1.3rem; background: var(--carbon); transform: translateX(100%); transition: transform .3s var(--ease); }
  .nav.open { transform: none; }
  .burger { display: block; z-index: 60; }
  .hero { min-height: 92svh; }
  .hero__img { object-position: center 70%; }
  .hero__copy { max-width: none; }
  .hero__in { padding-bottom: 92px; }
  .statusbar__in { padding-right: var(--gutter); gap: 16px; flex-wrap: wrap; font-size: .75rem; padding-block: 10px; }
  .statusbar__in > :nth-child(2) { display: none; }
  /* el tótem deja de solapar y se convierte en bloque a todo el ancho */
  .totem { position: relative; right: auto; bottom: auto; width: auto; margin: 0; padding: 40px var(--gutter) 36px; box-shadow: none; }
  .hero { display: block; }
  .hero > .wrap, .hero > .statusbar { position: relative; }
  .hero__in { min-height: 88svh; display: flex; flex-direction: column; justify-content: flex-end; }
  .hero__img, .hero__veil { height: calc(88svh + 52px); bottom: auto; }
  .totem__pillars { max-width: 460px; margin-inline: auto; }
  .intro { padding-top: var(--section); }
  .intro__in { padding-right: var(--gutter); }
  .facts { grid-template-columns: 1fr; }
  .facts li { padding: 16px 0; border-bottom: 1px solid rgba(35, 33, 35, .2); }
  .treat__in { grid-template-columns: 1fr; }
  .treat__photo { position: static; }
  .treat__photo img { aspect-ratio: 4 / 3; }
  .centro__head, .reviews__in, .contact__in { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 10px; }
  .shot--a { grid-column: 1 / -1; grid-row: span 3; }
  .shot--b, .shot--c { grid-column: span 1; grid-row: span 2; }
  .shot--d, .shot--e { grid-column: span 1; grid-row: span 2; }
  .footer__in { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding-bottom: 96px; }
  .callbar { display: grid; grid-template-columns: 1fr 1fr; position: fixed; inset: auto 0 0; z-index: 40; background: var(--carbon); border-top: 1px solid rgba(255, 255, 255, .12); }
  .callbar a { display: grid; place-items: center; min-height: 58px; font-weight: 700; color: #fff; }
  .callbar a + a { background: var(--ocre-fill); }
}
@media (max-width: 620px) {
  .row { grid-template-columns: 1fr; }
  .row a { grid-column: 1; grid-row: auto; justify-self: start; margin-top: 12px; }
  .minis { grid-template-columns: 1fr; }
  .visit__in { grid-template-columns: 1fr; }
  .form { grid-template-columns: 1fr; }
  .form .btn--ocre { justify-self: stretch; }
  .footer__bar a { margin-left: 0; margin-right: 14px; }
  .footer__bar p:first-child { display: flex; flex-wrap: wrap; gap: 6px 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero__title .w { animation: none; opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
