/* ───────────────────────────────────────────────────────────────
   Dulces Horas — type, color, layout
   Paleta cálida (crema + rosa DH), Fraunces + Inter, mobile-first.
   ─────────────────────────────────────────────────────────────── */

:root {
  --ink: #2A2520;
  --ink-soft: #6B5F52;
  --ink-faint: #9C8D7C;
  --cream: #FAF6F5;
  --cream-2: #F2E9E6;
  --cream-3: #E6D9D5;
  --line: #E4D6D1;
  --line-soft: #EFE3DF;

  /* Acento DH — coral del logo (hue 353°). Deep shifteado a 346° (rose) para evitar
     que el ojo lo lea como brick/marrón a baja lightness. Pasa AA 5.8:1 sobre cream. */
  --accent: #FF6D7F;
  --accent-deep: #BE123C;
  --accent-soft: #FBF5F6;

  --font-display: 'Fraunces', serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --density: 1;
  --maxw: 1240px;
  --gut: clamp(20px, 4vw, 56px);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: var(--font-body);
  font-feature-settings: "ss01", "cv01";
  color: var(--ink);
  background: var(--cream);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; cursor: pointer; }
button { font-family: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 var(--gut);
}

/* ── Reveal ───────────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .9s cubic-bezier(.2,.7,.2,1), transform .9s cubic-bezier(.2,.7,.2,1);
}
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ── Typography scale ─────────────────────────────────────────── */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(44px, 7vw, 96px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.display em { font-style: italic; font-weight: 400; color: var(--accent-deep); }

.section-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 calc(16px * var(--density));
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.section-kicker::before {
  content: "";
  width: 24px;
  height: 1px;
  background: var(--accent);
}

.section-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0 0 calc(20px * var(--density));
  max-width: 22ch;
  text-wrap: balance;
}
.section-title em { font-style: italic; color: var(--accent-deep); }

.section-lede {
  font-size: clamp(15px, 1.1vw, 18px);
  color: var(--ink-soft);
  max-width: 52ch;
  line-height: 1.55;
  margin: 0;
  text-wrap: pretty;
}

.section { padding: calc(96px * var(--density)) 0; }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow-rule {
  width: 28px;
  height: 1px;
  background: currentColor;
  display: inline-block;
}
.eyebrow-on-image {
  color: var(--cream);
  opacity: .9;
  text-shadow: 0 1px 8px rgba(0,0,0,.55);
}

/* ── Buttons / links ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 500;
  font-family: var(--font-body);
  border: 0;
  transition: transform .15s, background .15s, color .15s, box-shadow .2s;
  line-height: 1;
  letter-spacing: 0.005em;
}
.btn-primary { background: var(--accent); color: var(--ink); }
.btn-primary:hover {
  background: var(--accent-deep);
  color: var(--cream);
  transform: translateY(-1px);
  box-shadow: 0 14px 32px -10px rgba(190, 18, 60, .45);
}
.btn-quiet {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line);
  padding: 10px 18px;
}
.btn-quiet:hover {
  background: var(--accent);
  color: var(--cream);
  border-color: var(--accent);
}
.btn-lg { padding: 18px 28px; font-size: 15px; }
.btn-block { width: 100%; justify-content: center; }
.btn-meta {
  font-family: var(--font-mono);
  font-size: 11px;
  opacity: .6;
  font-weight: 400;
  margin-left: 4px;
}
.link-quiet {
  color: var(--ink);
  font-size: 14px;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
  transition: color .15s;
}
.link-quiet:hover { color: var(--accent-deep); }

/* ── Editorial placeholder (Plate) ────────────────────────────── */
.plate {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 2px;
  background: #EFE3D1;
  color: #7A6A55;
}
.plate-1-1   { aspect-ratio: 1/1; }
.plate-4-5   { aspect-ratio: 4/5; }
.plate-4-3   { aspect-ratio: 4/3; }
.plate-fill  { height: 100%; aspect-ratio: auto; }

.plate-cream     { background: #EFE3D1; color: #7A6A55; }
.plate-cream2    { background: #E7D8C2; color: #6F5C44; }
.plate-butter    { background: #E8D5A8; color: #7A6230; }
.plate-terracota { background: #D9A88E; color: #6E4429; }
.plate-rose      { background: #E8C9C1; color: #7A4F47; }
.plate-cocoa     { background: #B89579; color: #3E2A1C; }
.plate-deep      { background: #8E6A50; color: #EFE0CE; }
.plate-flour     { background: #F5EEE2; color: #8C7B62; }
.plate-steel     { background: #C9C2B6; color: #4E4737; }

.plate-noise {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(120% 90% at 30% 10%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(80% 80% at 80% 90%, rgba(0,0,0,.10), transparent 60%),
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .06 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  pointer-events: none;
  mix-blend-mode: multiply;
}
.plate-label {
  position: absolute;
  left: 14px;
  bottom: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: lowercase;
  color: currentColor;
  opacity: .72;
  z-index: 2;
}
.plate-dot {
  width: 6px; height: 6px;
  background: currentColor;
  flex-shrink: 0;
  opacity: .8;
}

/* ── Nav ──────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 32px;
  padding: 18px var(--gut);
  transition: background .25s, backdrop-filter .25s, padding .25s, box-shadow .25s;
}
.nav.is-scrolled {
  background: rgba(250, 246, 245, 0.88);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding: 12px var(--gut);
  box-shadow: 0 1px 0 var(--line-soft);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}
.brand-logo {
  display: block;
  height: 44px;
  width: auto;
  transition: height .25s;
}
.nav.is-scrolled .brand-logo { height: 36px; }
@media (max-width: 460px) {
  .brand-logo { height: 36px; }
  .nav.is-scrolled .brand-logo { height: 32px; }
}
.brand-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  font-style: italic;
  letter-spacing: 0.02em;
  background: var(--cream);
  color: var(--accent-deep);
}
.brand-mark-lg {
  width: 56px;
  height: 56px;
  font-size: 20px;
  margin-bottom: 14px;
}
.brand-word {
  font-family: var(--font-display);
  font-size: 19px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.nav-links {
  display: flex;
  justify-content: center;
  gap: 36px;
}
.nav-links a {
  font-size: 14px;
  color: var(--ink-soft);
  transition: color .15s;
  position: relative;
}
.nav-links a:hover { color: var(--accent-deep); }
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: -6px;
  height: 1px;
  background: var(--accent);
  transition: right .25s ease;
}
.nav-links a:hover::after { right: 0; }

/* Sobre el hero (nav sin scroll, sin backdrop cream) — links cream con sombrita */
.nav:not(.is-scrolled) .nav-links a {
  color: rgba(250, 246, 245, 0.85);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.35);
}
.nav:not(.is-scrolled) .nav-links a:hover { color: var(--cream); }
.nav:not(.is-scrolled) .nav-links a::after { background: var(--accent); }

.nav-right { display: inline-flex; gap: 10px; align-items: center; justify-self: end; }

/* Portal — CTA principal del nav (clientes hacen pedidos acá) */
.btn-portal {
  padding: 10px 18px;
  font-size: 13px;
}
/* hover (rosa + cream) viene de .btn-primary:hover */
.btn-portal svg { transition: transform .2s; }
.btn-portal:hover svg { transform: translate(1px, -1px); }

.nav-burger {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  flex-direction: column;
  gap: 4px;
  cursor: pointer;
}
.nav-burger span {
  width: 20px; height: 1.5px; background: var(--ink); display: block;
}

.nav-mobile {
  position: fixed;
  top: 64px; left: 0; right: 0;
  background: var(--cream);
  padding: 24px var(--gut);
  display: flex;
  flex-direction: column;
  gap: 18px;
  border-bottom: 1px solid var(--line-soft);
  z-index: 99;
}
.nav-mobile[hidden] { display: none; }
.nav-mobile a {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--ink);
}
.nav-mobile-portal {
  display: inline-flex !important;
  align-items: center;
  justify-content: space-between;
  margin-top: 8px;
  padding: 16px 20px;
  background: var(--ink);
  color: var(--cream) !important;
  font-family: var(--font-body) !important;
  font-size: 15px !important;
  font-weight: 500;
  border-radius: 999px;
  letter-spacing: 0.005em;
}
.nav-mobile-portal svg { margin-left: 12px; }
.nav-mobile-portal:hover {
  background: var(--accent);
  color: var(--cream) !important;
}

@media (max-width: 820px) {
  .nav-links { display: none; }
  .nav .btn-quiet { display: none; }
  .btn-portal {
    padding: 8px 14px;
    font-size: 12px;
  }
  .nav-burger { display: inline-flex; }
}
@media (max-width: 460px) {
  /* en pantallas muy chicas, el portal vive en el menú; el nav se queda solo con logo + burger */
  .nav-right .btn-portal { display: none; }
}

/* ── Hero ─────────────────────────────────────────────────────── */
.hero {
  position: relative;
  padding-top: 120px;
}
.hero-full {
  min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  --parallax-y: 0px;
  transform: translate3d(0, var(--parallax-y), 0);
  will-change: transform;
}
.hero-bg .plate { height: 100%; border-radius: 0; }
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  filter: saturate(1.04);
  transform-origin: center 45%;
  animation: heroKenBurns 25s linear both;
  will-change: transform;
}
@keyframes heroKenBurns {
  from { transform: scale(1.08); }
  to   { transform: scale(1.0); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-img { animation: none; will-change: auto; }
  .hero-bg  { transform: none; will-change: auto; }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    /* spotlight focalizado donde vive el texto */
    radial-gradient(62% 60% at 22% 75%, rgba(0,0,0,.88), transparent 72%),
    /* gradiente top→bottom: oscurece nav/logo arriba, libera el centro, retoma abajo */
    linear-gradient(180deg, rgba(0,0,0,.65) 0%, rgba(0,0,0,.05) 18%, rgba(0,0,0,.6) 100%);
  z-index: 1;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 var(--gut);
  max-width: var(--maxw);
  margin: 0 auto;
  align-self: end;
  padding-bottom: clamp(60px, 9vw, 120px);
  width: 100%;
}
.display-on-image {
  color: var(--cream);
  font-weight: 300;
  text-shadow: 0 2px 18px rgba(0,0,0,.75), 0 0 60px rgba(0,0,0,.55);
}
.display-on-image em {
  color: var(--accent);
  font-style: italic;
  padding-bottom: 4px;
}
.hero-cta { display: inline-flex; align-items: center; gap: 22px; margin-top: clamp(20px, 3vw, 36px); }
/* hero CTA hereda del btn-primary por default (rosa marca) — sin override */

.hero-foot {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 2px solid var(--accent);
  background: rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.hero-foot > div {
  padding: 24px var(--gut);
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--cream);
  border-right: 1px solid rgba(250,246,245,.18);
}
.hero-foot > div:last-child { border-right: 0; }
.hero-foot .num {
  font-family: var(--font-display);
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--accent);
}
.hero-foot .lbl {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  opacity: .75;
}

@media (max-width: 820px) {
  .hero-foot { grid-template-columns: 1fr; }
  .hero-foot > div { border-right: 0; border-bottom: 1px solid rgba(250,246,245,.18); padding: 14px var(--gut); }
}

/* ── Pillars / Qué hacemos ────────────────────────────────────── */
.pillars {
  background: var(--accent-soft);
  position: relative;
  overflow: hidden;
}
.pillars > .container { position: relative; }
.pillars .section-lede { margin-bottom: clamp(48px, 6vw, 72px); color: var(--ink-soft); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 5vw, 80px);
  margin-top: clamp(40px, 5vw, 60px);
  padding-top: 40px;
  border-top: 1px solid var(--accent);
  position: relative;
}
.pillars-grid::before {
  /* tick numerado sobre la regla rosa */
  content: "";
  position: absolute;
  top: -4px; left: 0;
  width: 56px; height: 7px;
  background: var(--accent);
}
.pillar {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pillar-kicker {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
}
.pillar-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(22px, 1.8vw, 28px);
  margin: 0;
  line-height: 1.15;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pillar-body {
  margin: 0;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}
@media (max-width: 820px) { .pillars-grid { grid-template-columns: 1fr; gap: 32px; } }

/* ── Process ──────────────────────────────────────────────────── */
.process { background: var(--cream-2); }
.process-head {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.process-head .section-kicker { margin-bottom: 0; align-self: start; padding-top: 8px; }
.process-grid {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: clamp(20px, 2.5vw, 32px);
}
.step { position: relative; }
.step .plate { margin-bottom: 20px; }
.step-img {
  display: block;
  width: 100%;
  height: auto;            /* anula el atributo height="..." del HTML para que aspect-ratio gane */
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 50%;
  margin-bottom: 20px;
  border-radius: 2px;
  background: var(--cream-3);
}
.step-meta { display: flex; flex-direction: column; gap: 8px; }
.step-n {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-deep);
  letter-spacing: 0.1em;
}
.step-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.step-body {
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.55;
  text-wrap: pretty;
}
@media (max-width: 1100px) { .process-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 820px)  { .process-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-head { grid-template-columns: 1fr; gap: 16px; }
}

/* ── Catalog ──────────────────────────────────────────────────── */
.catalog { background: var(--cream); }
.catalog-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(48px, 6vw, 72px);
}
.catalog-lede { padding-bottom: 8px; }
.grid-products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(20px, 2.5vw, 32px) clamp(16px, 2vw, 28px);
}
.product { cursor: pointer; }
.product-image {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  margin-bottom: 14px;
  background: #fff;
  border: 1px solid var(--line-soft);
}
.product-image img,
.product-image .plate {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  transition: transform .6s cubic-bezier(.2,.7,.2,1);
}
.product:hover .product-image img,
.product:hover .product-image .plate { transform: scale(1.04); }
.product-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 18px;
  margin: 0;
  letter-spacing: -0.005em;
}
.product-spec {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--ink-faint);
  margin: 4px 0 0;
  letter-spacing: 0.04em;
}
.catalog-foot {
  margin-top: clamp(48px, 6vw, 80px);
  padding-top: clamp(40px, 5vw, 56px);
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.catalog-foot-note {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0;
}
.catalog-foot-note a {
  border-bottom: 1px solid var(--accent);
  color: var(--ink);
}
@media (max-width: 980px) {
  .grid-products { grid-template-columns: repeat(3, 1fr); }
  .catalog-head { grid-template-columns: 1fr; }
}
@media (max-width: 640px) { .grid-products { grid-template-columns: repeat(2, 1fr); } }

/* ── Empresa ──────────────────────────────────────────────────── */
.empresa { background: var(--cream-2); }
.empresa-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}
.empresa-art { position: relative; }
.empresa-art .plate,
.empresa-img { box-shadow: 0 30px 60px -28px rgba(0,0,0,.22); }
.empresa-img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 45%;
  border-radius: 2px;
}
.empresa-art-tag {
  position: absolute;
  right: -16px;
  top: 24px;
  background: var(--accent);
  color: var(--ink);
  padding: 16px 22px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  box-shadow: 0 16px 36px -16px rgba(190, 18, 60, .55);
  z-index: 2;
  transform: rotate(-3deg);
}
.tag-num {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1;
  letter-spacing: -0.02em;
}
.tag-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  color: var(--ink);
  letter-spacing: 0.08em;
  text-transform: lowercase;
  opacity: .65;
}
.empresa-body {
  font-size: clamp(15px, 1.05vw, 17px);
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 42ch;
  margin: 0 0 16px;
  text-wrap: pretty;
}
.empresa-stats {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}
.empresa-stats > div { display: flex; flex-direction: column; gap: 4px; }
.empresa-stats .num {
  font-family: var(--font-display);
  font-size: 36px;
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.empresa-stats > div:first-child .num { color: var(--accent-deep); font-style: italic; }
.empresa-stats .lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: lowercase;
  letter-spacing: 0.08em;
  color: var(--ink-soft);
}
.empresa-stats .vr { width: 1px; height: 40px; background: var(--line); }
@media (max-width: 820px) {
  .empresa-grid { grid-template-columns: 1fr; }
  .empresa-art-tag { right: 16px; }
}

/* ── Contacto ─────────────────────────────────────────────────── */
.contacto { background: var(--accent-soft); }
.contacto-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 5vw, 80px);
}
.contacto-info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 28px;
  margin: clamp(28px, 3vw, 40px) 0 clamp(28px, 3vw, 40px);
  padding: 28px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.info-row { display: flex; flex-direction: column; gap: 4px; }
.info-row-wide { grid-column: 1 / -1; }
.info-lbl {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.info-val {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: -0.005em;
}
a.info-val {
  border-bottom: 1px solid var(--line);
  display: inline-block;
  align-self: start;
  transition: color .15s, border-color .15s;
}
a.info-val:hover { color: var(--accent-deep); border-color: var(--accent); }

.contacto-map {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 2px;
  border: 1px solid var(--line-soft);
  background: var(--cream-2);
}
.contacto-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  /* desaturar un toque para que el mapa no compita con la paleta cálida */
  filter: saturate(.78) contrast(.96);
}
.map-open {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  background: var(--cream);
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
  border-radius: 999px;
  box-shadow: 0 8px 20px -6px rgba(0,0,0,.25), 0 1px 0 rgba(0,0,0,.04);
  transition: background .15s, color .15s, transform .15s;
  z-index: 2;
}
.map-open:hover {
  background: var(--accent);
  color: var(--cream);
  transform: translateY(-1px);
}
.map-open svg { transition: transform .2s; }
.map-open:hover svg { transform: translate(1px, -1px); }

.contacto-form {
  background: var(--cream-2);
  padding: clamp(28px, 3vw, 44px);
  border: 1px solid var(--line-soft);
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-self: start;
  position: sticky;
  top: 90px;
}
.contacto-form-content {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.contacto-form-content[hidden] { display: none; }
.form-eyebrow {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-deep);
  margin: 0 0 6px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field label {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.field input, .field textarea {
  border: 0;
  border-bottom: 1px solid var(--line);
  background: transparent;
  padding: 10px 0 12px;
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--ink);
  outline: none;
  transition: border-color .2s;
  resize: vertical;
  font-weight: 400;
  letter-spacing: -0.005em;
}
.field textarea { font-family: var(--font-body); font-size: 15px; line-height: 1.5; }
.field input:focus, .field textarea:focus { border-color: var(--ink); }
.field.is-error input, .field.is-error textarea { border-color: #B85539; }
.field.is-ok input, .field.is-ok textarea { border-color: var(--accent); }
.field-error {
  font-family: var(--font-mono);
  font-size: 10px;
  color: #B85539;
  letter-spacing: 0.04em;
  min-height: 12px;
}
.field:not(.is-error) .field-error { display: none; }

.form-note {
  font-size: 13px;
  color: var(--ink-soft);
  margin: 4px 0 0;
  text-align: center;
}
.form-note a { border-bottom: 1px solid var(--accent); color: var(--ink); }

/* Honeypot antispam — fuera del flujo y de los lectores de pantalla */
.hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Mensaje de estado/error general del form */
.form-status {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  margin: 4px 0 0;
  padding: 10px 12px;
  border-radius: 8px;
  line-height: 1.5;
}
.form-status[hidden] { display: none; }
.form-status.is-error {
  color: #B85539;
  background: rgba(184, 85, 57, 0.08);
  border: 1px solid rgba(184, 85, 57, 0.25);
}
.form-status.is-info {
  color: var(--ink-soft);
  background: rgba(0, 0, 0, 0.03);
  border: 1px solid var(--line);
}

/* Botón con estado de carga (mientras esperamos respuesta del server) */
.btn.is-loading {
  opacity: 0.7;
  cursor: progress;
  pointer-events: none;
}
.btn[disabled] { cursor: not-allowed; }

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 20px 0;
  color: var(--accent-deep);
}
.form-success[hidden] { display: none; }
.form-success h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 26px;
  margin: 8px 0 0;
  color: var(--ink);
  letter-spacing: -0.01em;
}
.form-success p { color: var(--ink-soft); font-size: 15px; margin: 0; max-width: 36ch; }

@media (max-width: 820px) {
  .contacto-grid { grid-template-columns: 1fr; }
  .contacto-info { grid-template-columns: 1fr; }
  .contacto-form { position: static; }
}

/* ── Footer ───────────────────────────────────────────────────── */
.footer {
  background: var(--ink);
  color: var(--cream);
  padding: clamp(56px, 6vw, 80px) 0 24px;
  margin-top: 0;
}
.footer .brand-mark.brand-mark-lg {
  background: transparent;
  border-color: var(--cream);
  color: var(--cream);
}
.footer-logo {
  display: block;
  height: 64px;
  width: auto;
  margin-bottom: 18px;
}
.footer-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: lowercase;
  color: rgba(250,246,245,.55);
  max-width: 38ch;
  margin: 0;
  line-height: 1.5;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: clamp(32px, 5vw, 80px);
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(250,246,245,.15);
}
.footer-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.footer-cols > div { display: flex; flex-direction: column; gap: 12px; }
.footer-h {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(250,246,245,.45);
  margin: 0 0 6px;
}
.footer-cols a, .footer-cols span {
  font-size: 14px;
  color: rgba(250,246,245,.78);
  transition: color .15s;
}
.footer-cols a:hover { color: var(--accent); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 24px;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(250,246,245,.4);
  text-transform: lowercase;
}
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }

/* ── FAB WhatsApp ─────────────────────────────────────────────── */
.fab-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 36px -10px rgba(37,211,102,.55), 0 2px 6px rgba(0,0,0,.18);
  z-index: 90;
  transition: transform .2s, box-shadow .2s;
}
.fab-wa:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 18px 40px -10px rgba(37,211,102,.6);
}
.fab-wa::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37,211,102,.4);
  animation: fabPulse 2.4s ease-out infinite;
}
@keyframes fabPulse {
  0% { transform: scale(.85); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ── Selection & misc ─────────────────────────────────────────── */
::selection { background: var(--accent-soft); color: var(--ink); }
