:root {
  --bg: #FBFAF7;
  --bg-tint: #F4F1EA;
  --surface: #FFFFFF;
  --ink: #14120D;
  --ink-soft: #46423A;
  --muted: #76716A;
  --line: #E7E1D6;
  --accent: #0F7B57;
  --accent-ink: #0A4F38;
  --accent-soft: #E8F2EC;
  --accent-glow: rgba(15, 123, 87, 0.16);
  --radius: 18px;
  --radius-lg: 26px;
  --shadow-sm: 0 1px 2px rgba(31, 41, 36, 0.04), 0 4px 14px -8px rgba(20, 50, 38, 0.18);
  --shadow-md: 0 2px 6px rgba(20, 50, 38, 0.05), 0 24px 48px -28px rgba(13, 60, 43, 0.30);
  --maxw: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.006em;
  overflow-x: hidden;
}
/* grano sutil que rompe la planitud */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.4;
  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='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
}
h1, h2, h3 { font-family: "Bricolage Grotesque", system-ui, sans-serif; font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; margin: 0; text-wrap: balance; }
p { text-wrap: pretty; }
a { color: inherit; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; position: relative; z-index: 2; }
.muted { color: var(--muted); }
.accent { color: var(--accent-ink); }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 24px; border-radius: 999px;
  font-weight: 600; font-size: 15px; text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform .18s cubic-bezier(.2,.7,.3,1), background .18s, border-color .18s, box-shadow .18s;
  cursor: pointer; will-change: transform;
}
.btn--primary { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px var(--accent-glow); }
.btn--primary:hover { background: var(--accent-ink); transform: translateY(-2px); box-shadow: 0 16px 30px -12px var(--accent-glow); }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn--ghost:hover { border-color: #cfc7b8; transform: translateY(-2px); }
.btn--ghost:active { transform: translateY(0) scale(.98); }

/* header */
header.site { position: sticky; top: 0; z-index: 30; background: rgba(251,250,247,.72); backdrop-filter: saturate(150%) blur(14px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 22px; letter-spacing: -0.03em; text-decoration: none; color: var(--ink); }
.brand .dot {
  width: 28px; height: 28px; border-radius: 8px; flex: none;
  background-color: var(--accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath d='M8 16.5 L13 21.5 C 16.5 16.5 19.5 11 24 8.5' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 76%; background-position: center; background-repeat: no-repeat;
  box-shadow: 0 3px 9px -3px var(--accent-glow);
}
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a { color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 500; transition: color .15s; }
.nav-links a:hover { color: var(--accent-ink); }
.nav-links a:focus-visible, .btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }

/* hero */
.hero { position: relative; padding: 76px 0 72px; }
.hero::before {
  content: ""; position: absolute; inset: -20% -10% auto auto; width: 760px; height: 620px; z-index: 0;
  background: radial-gradient(45% 45% at 78% 28%, var(--accent-glow), transparent 70%);
  pointer-events: none;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; letter-spacing: .01em; color: var(--accent-ink); background: var(--accent-soft); padding: 7px 14px; border-radius: 999px; margin-bottom: 24px; }
.eyebrow .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 var(--accent-glow); animation: pulse 2.4s infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(15,123,87,.5)} 70%{box-shadow:0 0 0 8px rgba(15,123,87,0)} 100%{box-shadow:0 0 0 0 rgba(15,123,87,0)} }
.hero h1 { font-size: clamp(42px, 6.4vw, 74px); max-width: 14ch; }
.hero .lead { font-size: clamp(18px, 2vw, 21px); color: var(--ink-soft); max-width: 50ch; margin: 24px 0 32px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-note { margin-top: 20px; font-size: 14px; color: var(--muted); }

/* hero booking preview (mock del producto) */
.preview { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 22px; position: relative; z-index: 2; transform: rotate(1.2deg); }
.preview:hover { transform: rotate(0deg); transition: transform .4s cubic-bezier(.2,.7,.3,1); }
.preview-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.preview-head b { font-family: "Bricolage Grotesque", sans-serif; font-size: 16px; }
.preview-live { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; color: var(--accent-ink); font-weight: 600; }
.preview-live i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.preview-days { display: grid; grid-template-columns: repeat(5, 1fr); gap: 7px; margin-bottom: 16px; }
.pday { text-align: center; padding: 9px 0; border-radius: 12px; border: 1.5px solid var(--line); font-size: 12px; color: var(--muted); }
.pday b { display: block; font-family: "Bricolage Grotesque", sans-serif; font-size: 17px; color: var(--ink); font-weight: 700; }
.pday.on { background: var(--ink); border-color: var(--ink); color: #fff; }
.pday.on b { color: #fff; }
.preview-label { font-size: 12px; color: var(--muted); margin: 0 0 8px; font-weight: 600; }
.preview-slots { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin-bottom: 18px; }
.pslot { text-align: center; padding: 9px 0; border-radius: 10px; border: 1.5px solid var(--line); font-size: 13px; font-variant-numeric: tabular-nums; background: var(--surface); }
.pslot.on { background: var(--accent); border-color: var(--accent); color: #fff; font-weight: 600; }
.pslot.off { opacity: .4; text-decoration: line-through; }
.preview-cta { background: var(--accent); color: #fff; text-align: center; padding: 12px; border-radius: 12px; font-weight: 600; font-size: 14px; }

/* sections */
section { position: relative; padding: 72px 0; z-index: 2; }
.section-head { max-width: 58ch; margin-bottom: 44px; }
.kicker { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head h2 { font-size: clamp(30px, 4.2vw, 48px); }
.section-head p { color: var(--muted); margin: 16px 0 0; font-size: 18px; }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step .n { font-family: "Bricolage Grotesque", sans-serif; font-weight: 800; font-size: 15px; color: #fff; background: var(--accent); width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 18px; box-shadow: 0 8px 18px -8px var(--accent-glow); }
.step h3 { font-size: 21px; margin-bottom: 9px; }
.step p { color: var(--muted); font-size: 15.5px; margin: 0; }

/* features — bento */
.features { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 16px; }
.feature { padding: 26px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #d8d0c1; }
.feature .fi { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.feature h3 { font-size: 18px; margin-bottom: 7px; letter-spacing: -0.02em; }
.feature p { color: var(--muted); font-size: 15px; margin: 0; }
.feature--wide { grid-column: span 2; background: linear-gradient(120deg, var(--accent-soft), #fff 65%); }
@media (max-width: 880px) { .steps, .features { grid-template-columns: 1fr; } .feature--wide { grid-column: auto; } .hero-grid { grid-template-columns: 1fr; gap: 36px; } .preview { transform: none; max-width: 420px; } }

/* data / transparency */
.data { background: var(--accent-soft); border: 1px solid #d2e6dc; border-radius: var(--radius-lg); padding: 40px; box-shadow: var(--shadow-sm); }
.data h2 { font-size: 28px; margin-bottom: 14px; }
.data ul { margin: 0; padding-left: 22px; color: var(--accent-ink); }
.data li { margin: 9px 0; }

/* cta */
.cta { position: relative; overflow: hidden; background: var(--ink); color: #fff; border-radius: var(--radius-lg); padding: 60px 40px; text-align: center; }
.cta::after { content: ""; position: absolute; inset: auto -10% -60% auto; width: 540px; height: 420px; background: radial-gradient(50% 50% at 70% 30%, rgba(15,123,87,.55), transparent 70%); }
.cta h2 { font-size: clamp(28px, 4vw, 42px); color: #fff; position: relative; }
.cta p { color: #cfc9bf; margin: 14px 0 28px; position: relative; }
.cta .btn--primary { background: #fff; color: var(--ink); position: relative; }
.cta .btn--primary:hover { background: #efeae0; }

/* footer */
footer.site { border-top: 1px solid var(--line); padding: 44px 0; margin-top: 48px; position: relative; z-index: 2; }
.foot { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; align-items: center; }
.foot a { color: var(--muted); text-decoration: none; font-size: 15px; margin-right: 20px; transition: color .15s; }
.foot a:hover { color: var(--accent-ink); }
.foot small { color: var(--muted); }

/* legal pages */
.legal { max-width: 720px; margin: 0 auto; padding: 60px 24px 84px; position: relative; z-index: 2; }
.legal h1 { font-size: clamp(32px, 5vw, 46px); margin-bottom: 8px; }
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 34px; }
.legal h2 { font-size: 22px; margin: 36px 0 10px; letter-spacing: -0.02em; }
.legal p, .legal li { color: var(--ink-soft); }
.legal a { color: var(--accent-ink); }
.legal .callout { background: var(--accent-soft); border: 1px solid #d2e6dc; border-radius: 14px; padding: 20px 22px; margin: 20px 0; }

/* scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s cubic-bezier(.2,.7,.3,1), transform .6s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .preview { transform: none; } *{scroll-behavior:auto} }
