/* =========================================
   Betty Cooker — Editorial Redesign
   Display: Jaapokki · UI: Montserrat · Accent: Kathen
   Palette anchored on Pantone brand
   ========================================= */

@font-face {
  font-family: 'Jaapokki';
  src: url('../fonts/jaapokki-regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Kathen';
  src: url('../fonts/kathen.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Brand */
  --bc-teal:       #08A8B0;
  --bc-teal-dk:    #06848A;
  --bc-teal-soft:  #BFE7E9;
  --bc-orange:     #E37222;
  --bc-orange-dk:  #B45816;
  --bc-orange-soft:#F6CEA9;

  /* Neutrals */
  --bc-ink:        #221207;
  --bc-ink-soft:   #4A2511;
  --bc-stone:      #6E5944;
  --bc-mute:       #9C8A73;

  --bc-cream:      #F3E7D0;
  --bc-cream-dk:   #E8D6B0;
  --bc-paper:      #FBF5E6;
  --bc-card:       #FFFBF1;
  --bc-line:       rgba(74, 37, 17, .12);
  --bc-line-soft:  rgba(74, 37, 17, .06);

  --wa-green:      #25D366;
  --wa-green-dk:   #128C7E;

  /* Tinted shadows (warm, anchored on cream) */
  --shadow-xs: 0 1px 2px rgba(74, 37, 17, .05);
  --shadow-sm: 0 4px 16px -6px rgba(74, 37, 17, .12);
  --shadow-md: 0 18px 40px -18px rgba(74, 37, 17, .22);
  --shadow-lg: 0 36px 70px -30px rgba(74, 37, 17, .30);
  --shadow-inset-hi: inset 0 1px 0 rgba(255, 255, 255, .55);

  --radius-xs: 10px;
  --radius-sm: 14px;
  --radius:    22px;
  --radius-lg: 32px;
  --radius-xl: 40px;

  --ease:     cubic-bezier(.2, .8, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --spring:   cubic-bezier(.34, 1.56, .64, 1);

  --max-w: 1280px;

  --font-display: 'Jaapokki', Georgia, serif;
  --font-body:    'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono:    ui-monospace, SFMono-Regular, Menlo, monospace;
  --font-accent:  'Kathen', Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.55;
  color: var(--bc-ink-soft);
  background: var(--bc-paper);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

/* Fixed grain layer — never on a scrolling container */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 300;
  opacity: .035;
  mix-blend-mode: multiply;
  background-image: 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='0.85' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.29 0 0 0 0 0.14 0 0 0 0 0.07 0 0 0 0.7 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

img { max-width: 100%; display: block; }

a {
  color: var(--bc-teal-dk);
  text-decoration: none;
  transition: color .25s var(--ease);
}
a:hover { color: var(--bc-orange-dk); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--bc-ink);
  line-height: 1.02;
  letter-spacing: -0.024em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
p { text-wrap: pretty; margin: 0 0 1em; }

/* Accessibility */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  z-index: 400;
  background: var(--bc-ink);
  color: var(--bc-paper);
  padding: .75rem 1.2rem;
  border-radius: var(--radius-xs);
  font-weight: 600;
  transition: top .25s var(--ease);
}
.skip-link:focus { top: 1rem; outline: 2px solid var(--bc-orange); outline-offset: 2px; }

*:focus-visible {
  outline: 2px solid var(--bc-teal);
  outline-offset: 3px;
  border-radius: 6px;
}
.btn:focus-visible,
.wa-float:focus-visible,
.tab:focus-visible { outline-offset: 4px; }

.container { width: 100%; max-width: var(--max-w); margin: 0 auto; padding: 0 1.25rem; }

button { font-family: inherit; }

/* =========================================
   Reveal — staggered, spring
   ========================================= */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .9s var(--ease-out), transform .9s var(--ease-out);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal:nth-child(2) { transition-delay: .06s; }
.reveal:nth-child(3) { transition-delay: .12s; }
.reveal:nth-child(4) { transition-delay: .18s; }
.reveal:nth-child(5) { transition-delay: .24s; }
.reveal:nth-child(6) { transition-delay: .30s; }
.reveal:nth-child(7) { transition-delay: .36s; }

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

/* =========================================
   Buttons — tactile, magnetic-ready
   ========================================= */
.btn {
  --bx: 0px; --by: 0px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .95rem 1.6rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .98rem;
  letter-spacing: -0.005em;
  cursor: pointer;
  border: 1px solid transparent;
  text-decoration: none;
  position: relative;
  isolation: isolate;
  transform: translate3d(var(--bx), var(--by), 0);
  transition: transform .35s var(--spring), background .25s var(--ease), color .25s var(--ease), box-shadow .35s var(--ease), border-color .25s var(--ease);
  will-change: transform;
}
.btn:active { transition-duration: .1s; transform: translate3d(var(--bx), calc(var(--by) + 1px), 0) scale(.985); }

.btn-sm { padding: .68rem 1.15rem; font-size: .88rem; }

.btn-primary {
  background: var(--bc-ink);
  color: var(--bc-paper);
  box-shadow:
    var(--shadow-inset-hi),
    0 8px 20px -8px rgba(34, 18, 7, .55);
}
.btn-primary:hover {
  background: var(--bc-orange-dk);
  color: var(--bc-paper);
  box-shadow:
    var(--shadow-inset-hi),
    0 14px 28px -10px rgba(180, 88, 22, .55);
}

.btn-ghost {
  background: rgba(251, 245, 230, .08);
  color: var(--bc-paper);
  border-color: rgba(251, 245, 230, .35);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    inset 0 0 0 1px rgba(255, 255, 255, .04);
}
.btn-ghost:hover {
  background: rgba(251, 245, 230, .92);
  color: var(--bc-ink);
  border-color: rgba(251, 245, 230, .92);
}

.btn-wa-nav {
  background: var(--wa-green);
  color: #fff;
  padding: .55rem .95rem .55rem .85rem;
  font-size: .85rem;
  border-radius: 999px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .25),
    0 6px 16px -6px rgba(18, 140, 126, .5);
}
.btn-wa-nav:hover { background: var(--wa-green-dk); color: #fff; }

/* =========================================
   Header — liquid glass
   ========================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.1rem 0;
  background: linear-gradient(180deg, rgba(34, 18, 7, .42) 0%, rgba(34, 18, 7, 0) 100%);
  transition:
    background .4s var(--ease),
    backdrop-filter .4s var(--ease),
    box-shadow .4s var(--ease),
    padding .4s var(--ease);
}
.site-header.scrolled {
  padding: .55rem 0;
  background: rgba(251, 245, 230, .72);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .55),
    inset 0 -1px 0 rgba(74, 37, 17, .08),
    0 12px 30px -20px rgba(74, 37, 17, .25);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo-link { display: flex; align-items: center; }
.logo-img {
  height: 96px;
  width: auto;
  transition: height .35s var(--ease), filter .35s var(--ease);
  filter: drop-shadow(0 2px 14px rgba(0, 0, 0, .35));
}
.scrolled .logo-img {
  height: 72px;
  filter: none;
}

.nav-desktop {
  display: none;
  gap: 2rem;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
}
.nav-desktop a {
  font-weight: 500;
  color: rgba(251, 245, 230, .92);
  font-size: .95rem;
  letter-spacing: -.005em;
  position: relative;
  padding: .35rem 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, .35);
  transition: color .3s var(--ease), text-shadow .3s var(--ease);
}
.scrolled .nav-desktop a {
  color: var(--bc-ink-soft);
  text-shadow: none;
}
.nav-desktop a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 100%;
  height: 1.5px;
  background: var(--bc-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .4s var(--ease-out);
}
.scrolled .nav-desktop a::after { background: var(--bc-teal-dk); }
.nav-desktop a:hover { color: var(--bc-orange); }
.scrolled .nav-desktop a:hover { color: var(--bc-teal-dk); }
.nav-desktop a:hover::after { transform: scaleX(1); transform-origin: left; }

.nav-toggle {
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 22px;
  margin: 0 auto;
  background: var(--bc-cream);
  border-radius: 2px;
  transition: transform .35s var(--ease), opacity .25s var(--ease), background .3s var(--ease);
  box-shadow: 0 1px 4px rgba(0, 0, 0, .25);
}
.scrolled .nav-toggle span {
  background: var(--bc-ink);
  box-shadow: none;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  position: absolute;
  top: 100%;
  left: 0; right: 0;
  background: var(--bc-paper);
  padding: 0 1.25rem;
  display: flex;
  flex-direction: column;
  max-height: 0;
  overflow: hidden;
  transition: max-height .45s var(--ease), padding .35s var(--ease);
  box-shadow: var(--shadow-md);
  border-top: 1px solid var(--bc-line);
}
.nav-mobile.open { max-height: 480px; padding: .25rem 1.25rem 1rem; }
.nav-mobile a {
  color: var(--bc-ink);
  font-weight: 500;
  font-size: 1.05rem;
  padding: .9rem .25rem;
  border-bottom: 1px solid var(--bc-line-soft);
}
.nav-mobile a:last-child { border-bottom: 0; }

/* =========================================
   Hero — asymmetric, editorial
   ========================================= */
.hero {
  position: relative;
  min-height: 640px; /* fallback; JS overrides with computed px */
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--bc-paper);
  isolation: isolate;
  padding-bottom: 2.5rem;
}
@media (max-height: 760px) {
  .hero { padding-bottom: 1.5rem; }
  .hero-content { padding-top: 7rem; padding-bottom: 3rem; }
  .hero-meta { margin-top: 1.5rem; padding-top: 1rem; }
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.4s var(--ease-out);
  will-change: opacity, transform;
}
.hero-img.is-active {
  opacity: 1;
  animation: kenburns 9s var(--ease-out) forwards;
}
@keyframes kenburns {
  0%   { transform: scale(1.06) translate(0, 0); }
  100% { transform: scale(1.18) translate(-2%, -1.5%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(120% 80% at 0% 100%, rgba(34, 18, 7, .85) 0%, rgba(34, 18, 7, .35) 55%, transparent 80%),
    linear-gradient(180deg, rgba(34, 18, 7, .15) 0%, rgba(34, 18, 7, .55) 60%, rgba(34, 18, 7, .85) 100%);
}

.hero-dots {
  position: absolute;
  bottom: 1.6rem;
  left: 1.25rem;
  display: flex;
  gap: .5rem;
  z-index: 2;
}
.hero-dot {
  width: 28px;
  height: 3px;
  background: rgba(243, 231, 208, .25);
  border: 0; padding: 0;
  border-radius: 999px;
  cursor: pointer;
  transition: background .35s var(--ease), width .4s var(--ease);
  position: relative;
  overflow: hidden;
}
.hero-dot:hover { background: rgba(243, 231, 208, .55); }
.hero-dot.is-active {
  background: rgba(243, 231, 208, .2);
  width: 56px;
}
.hero-dot.is-active::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--bc-cream);
  transform-origin: left;
  animation: dotProgress 6s linear forwards;
}
@keyframes dotProgress {
  from { transform: scaleX(0); }
  to   { transform: scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-img.is-active { animation: none; }
  .hero-dot.is-active::after { animation: none; }
}

.hero-content {
  padding: 9rem 1.25rem 4rem;
  max-width: 820px;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .72rem;
  color: rgba(251, 245, 230, .92);
  margin: 0 0 1.4rem;
  padding: .45rem .9rem .45rem .75rem;
  border: 1px solid rgba(251, 245, 230, .25);
  border-radius: 999px;
  background: rgba(34, 18, 7, .25);
  backdrop-filter: blur(8px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    inset 0 0 0 1px rgba(255, 255, 255, .03);
}
.dot-pulse {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #6CF18E;
  box-shadow: 0 0 0 0 rgba(108, 241, 142, .6);
  animation: dotBreath 2.4s var(--ease) infinite;
  display: inline-block;
}
@keyframes dotBreath {
  0%, 100% { box-shadow: 0 0 0 0 rgba(108, 241, 142, .6); }
  50%      { box-shadow: 0 0 0 6px rgba(108, 241, 142, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 7.2vw, 5.6rem);
  font-weight: 500;
  color: var(--bc-paper);
  margin: 0 0 1.1rem;
  line-height: .98;
  letter-spacing: -0.028em;
  text-wrap: balance;
}
.hero-title em {
  font-family: var(--font-accent);
  font-style: normal;
  font-weight: 400;
  color: var(--bc-orange-soft);
}
.hero-sub {
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  color: rgba(251, 245, 230, .82);
  margin: 0 0 2rem;
  max-width: 540px;
  line-height: 1.55;
}
.hero-cta {
  display: flex;
  gap: .65rem;
  flex-wrap: wrap;
}

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, max-content);
  gap: 1.6rem;
  margin: 2.5rem 0 0;
  padding-top: 1.4rem;
  border-top: 1px solid rgba(251, 245, 230, .18);
}
.hero-meta > div { display: flex; flex-direction: column; gap: .15rem; }
.hero-meta dt {
  font-family: var(--font-mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: rgba(251, 245, 230, .55);
}
.hero-meta dd {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.5rem;
  color: var(--bc-paper);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 1.4rem;
  width: 22px;
  height: 36px;
  border: 1.5px solid rgba(251, 245, 230, .4);
  border-radius: 999px;
  display: none;
}
.hero-scroll span {
  display: block;
  width: 2px;
  height: 8px;
  background: var(--bc-cream);
  border-radius: 2px;
  margin: 6px auto;
  animation: scroll-dot 1.8s var(--ease) infinite;
}
@keyframes scroll-dot {
  0%   { opacity: 0; transform: translateY(0); }
  50%  { opacity: 1; }
  100% { opacity: 0; transform: translateY(10px); }
}

/* =========================================
   Marquee strip
   ========================================= */
.marquee {
  background: var(--bc-ink);
  color: var(--bc-cream);
  overflow: hidden;
  padding: .9rem 0;
  border-top: 1px solid rgba(255, 255, 255, .04);
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  position: relative;
  z-index: 2;
}
.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 1.6rem;
  white-space: nowrap;
  animation: marquee 42s linear infinite;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: 1.35rem;
  letter-spacing: -0.01em;
}
.marquee-track span:not([aria-hidden]) { color: var(--bc-cream); }
.marquee-track span[aria-hidden] { color: var(--bc-orange); font-style: normal; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

/* =========================================
   Section heads
   ========================================= */
.section-head {
  max-width: 720px;
  margin: 0 auto 3.5rem;
}
.section-head-split {
  max-width: var(--max-w);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.2rem;
  align-items: end;
  margin-bottom: 3rem;
}
.kicker {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-mono);
  font-weight: 400;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .7rem;
  color: var(--bc-teal-dk);
  margin-bottom: .9rem;
}
.kicker::before {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--bc-teal-dk);
}
.section-head h2 {
  font-size: clamp(2.1rem, 4.8vw, 3.4rem);
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.026em;
}
.section-head p {
  color: var(--bc-stone);
  font-size: 1rem;
  margin: 0;
  max-width: 38ch;
  line-height: 1.55;
}

/* =========================================
   Services — bento
   ========================================= */
.services {
  padding: 6rem 0;
  background: var(--bc-paper);
}
.bento {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
.bento-card {
  background: var(--bc-card);
  border: 1px solid var(--bc-line-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: transform .55s var(--ease-out), box-shadow .55s var(--ease-out), border-color .35s var(--ease);
  display: flex;
  flex-direction: column;
  min-height: 240px;
}
.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background:
    radial-gradient(420px circle at var(--mx, 50%) var(--my, 0%), rgba(8, 168, 176, .12), transparent 45%);
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.bento-card:hover {
  transform: translateY(-3px);
  border-color: var(--bc-line);
  box-shadow: var(--shadow-md);
}
.bento-card:hover::before { opacity: 1; }

.bento-card-body { display: flex; flex-direction: column; gap: .6rem; height: 100%; }
.bento-num {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--bc-mute);
  letter-spacing: .06em;
  margin-bottom: .4rem;
}
.bento-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 500;
  margin: 0;
  letter-spacing: -0.018em;
  color: var(--bc-ink);
}
.bento-card p {
  color: var(--bc-stone);
  margin: 0;
  font-size: .95rem;
  line-height: 1.5;
}
.service-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--bc-cream);
  color: var(--bc-ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .4rem;
  border: 1px solid var(--bc-line-soft);
}
.service-icon svg { width: 22px; height: 22px; }

.bento-tags {
  list-style: none;
  padding: 0;
  margin: .8rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}
.bento-tags li {
  font-family: var(--font-mono);
  font-size: .72rem;
  color: var(--bc-stone);
  padding: .25rem .55rem;
  border: 1px solid var(--bc-line);
  border-radius: 999px;
  background: var(--bc-paper);
}

.bento-feature {
  min-height: 380px;
  display: grid;
  grid-template-columns: 1fr;
  grid-template-rows: 1fr auto;
  padding: 0;
  background: var(--bc-ink);
  color: var(--bc-paper);
  border-color: transparent;
}
.bento-feature .bento-card-body {
  padding: 1.75rem;
  z-index: 1;
}
.bento-feature h3 { color: var(--bc-paper); }
.bento-feature p { color: rgba(251, 245, 230, .75); }
.bento-feature .bento-num { color: rgba(251, 245, 230, .45); }
.bento-feature .service-icon {
  background: rgba(251, 245, 230, .08);
  color: var(--bc-paper);
  border-color: rgba(251, 245, 230, .15);
}
.bento-feature .bento-tags li {
  background: transparent;
  border-color: rgba(251, 245, 230, .25);
  color: rgba(251, 245, 230, .8);
}
.bento-feature .bento-card-media {
  position: relative;
  height: 180px;
  overflow: hidden;
}
.bento-feature .bento-card-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease-out);
  opacity: .9;
}
.bento-feature:hover .bento-card-media img { transform: scale(1.08); }
.bento-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 0%, transparent 55%, rgba(34, 18, 7, .85) 100%);
}

.bento-accent {
  background: var(--bc-cream);
  border-color: transparent;
}
.bento-accent .service-icon {
  background: var(--bc-orange);
  color: var(--bc-paper);
  border-color: transparent;
}

.bento-cta {
  background: linear-gradient(135deg, var(--bc-teal) 0%, var(--bc-teal-dk) 100%);
  color: var(--bc-paper);
  border-color: transparent;
  min-height: 180px;
}
.bento-cta h3 { color: var(--bc-paper); font-size: 1.3rem; }
.bento-cta .bento-num { color: rgba(251, 245, 230, .55); }
.bento-cta .bento-card-body { justify-content: space-between; }
.bento-cta .btn-primary {
  background: var(--bc-paper);
  color: var(--bc-ink);
  align-self: flex-start;
  margin-top: 1rem;
}
.bento-cta .btn-primary:hover {
  background: var(--bc-orange);
  color: var(--bc-paper);
}

/* =========================================
   Menu — editorial rows
   ========================================= */
.menu {
  padding: 6rem 0;
  background: var(--bc-paper);
  border-top: 1px solid var(--bc-line-soft);
}
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .35rem;
  padding: .35rem;
  background: var(--bc-card);
  border: 1px solid var(--bc-line-soft);
  border-radius: 999px;
  margin: 0 auto 2.5rem;
  width: max-content;
  max-width: 100%;
  box-shadow: var(--shadow-inset-hi), var(--shadow-xs);
}
.tab {
  padding: .6rem 1.2rem;
  border-radius: 999px;
  background: transparent;
  color: var(--bc-stone);
  border: 0;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: .9rem;
  cursor: pointer;
  transition: all .3s var(--ease);
}
.tab:hover { color: var(--bc-ink); }
.tab.active {
  background: var(--bc-ink);
  color: var(--bc-paper);
  box-shadow: 0 4px 12px -6px rgba(34, 18, 7, .4);
}

.menu-panel {
  display: none;
  grid-template-columns: 1fr;
  gap: 0;
  max-width: 880px;
  margin: 0 auto;
  border-top: 1px solid var(--bc-line);
}
.menu-panel.active {
  display: grid;
  animation: panelFade .5s var(--ease-out);
}
@keyframes panelFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}
.menu-item {
  background: transparent;
  padding: 1.4rem .5rem;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 1.5rem;
  border-bottom: 1px solid var(--bc-line);
  box-shadow: none;
  transition: padding-left .35s var(--ease), background .35s var(--ease);
  position: relative;
}
.menu-item:hover {
  padding-left: 1rem;
  background: linear-gradient(90deg, var(--bc-cream) 0%, transparent 80%);
}
.menu-info { padding: 0; }
.menu-info h4 {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 1.25rem;
  margin: 0 0 .25rem;
  color: var(--bc-ink);
  letter-spacing: -0.012em;
}
.menu-info p {
  color: var(--bc-stone);
  margin: 0;
  font-size: .9rem;
  line-height: 1.5;
  max-width: 52ch;
}
.menu-price {
  font-family: var(--font-mono);
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--bc-ink);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.menu-foot {
  text-align: center;
  margin-top: 3rem;
}

/* =========================================
   Feature sections — zigzag
   ========================================= */
.feature {
  padding: 6rem 0;
  background: var(--bc-paper);
  border-top: 1px solid var(--bc-line-soft);
}
.feature-alt {
  background: var(--bc-ink);
  color: var(--bc-paper);
  border-top: 0;
}
.feature-alt h2 { color: var(--bc-paper); }
.feature-alt .kicker { color: var(--bc-orange-soft); }
.feature-alt .kicker::before { background: var(--bc-orange-soft); }
.feature-alt p { color: rgba(251, 245, 230, .8); }
.feature-alt .feature-list li::before { background: var(--bc-orange); }
.feature-alt .feature-list li { color: rgba(251, 245, 230, .92); }

.feature-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}
.feature-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  position: relative;
  box-shadow: var(--shadow-lg);
}
.feature-media::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .15),
    inset 0 0 0 1px rgba(34, 18, 7, .1);
}
.feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.6s var(--ease-out);
}
.feature-media:hover img { transform: scale(1.05); }
.feature-text h2 {
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 500;
  letter-spacing: -0.024em;
}
.feature-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
  display: grid;
  gap: .8rem;
  border-top: 1px solid var(--bc-line);
  padding-top: 1.5rem;
}
.feature-list li {
  padding-left: 1.6rem;
  position: relative;
  line-height: 1.45;
  font-size: .95rem;
  color: var(--bc-ink-soft);
}
.feature-list li::before {
  content: '';
  position: absolute;
  left: 0; top: .55em;
  width: 8px; height: 8px;
  background: var(--bc-teal);
  border-radius: 2px;
  transform: rotate(45deg);
}

/* =========================================
   Gallery — asymmetric grid
   ========================================= */
.gallery {
  padding: 6rem 0;
  background: var(--bc-paper);
  border-top: 1px solid var(--bc-line-soft);
}
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
  grid-auto-rows: 200px;
}
.gallery-item {
  margin: 0;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xs);
  background: var(--bc-cream-dk);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease-out), filter .5s var(--ease);
}
.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(34, 18, 7, .35));
  opacity: 0;
  transition: opacity .4s var(--ease);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:hover::after { opacity: 1; }

/* =========================================
   Contact
   ========================================= */
.contact {
  padding: 6rem 0;
  background: var(--bc-paper);
  border-top: 1px solid var(--bc-line-soft);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
.contact-info .kicker { color: var(--bc-teal-dk); }
.contact-info h2 {
  font-size: clamp(2.1rem, 4.4vw, 3rem);
  margin-bottom: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.024em;
}
.info-block {
  margin-bottom: 0;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--bc-line);
  display: grid;
  grid-template-columns: 1fr;
  gap: .6rem;
  align-items: baseline;
}
@media (min-width: 480px) {
  .info-block { grid-template-columns: 130px 1fr; gap: 1.2rem; }
}
.info-block:last-child { border-bottom: 0; }
.info-block h3 {
  font-family: var(--font-mono);
  font-weight: 400;
  color: var(--bc-mute);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: .72rem;
  margin: 0;
}
.info-block-body { min-width: 0; }
.info-block-body p + p { margin-top: .75rem; }
.info-block p {
  color: var(--bc-ink-soft);
  margin: 0 0 .35rem;
  font-size: .98rem;
  line-height: 1.5;
}
.info-block p:last-child { margin-bottom: 0; }
.info-note {
  display: inline-block;
  margin-top: .25rem;
  font-size: .82rem;
  color: var(--bc-mute);
  font-style: italic;
}
.info-block strong { color: var(--bc-ink); font-weight: 600; }
.info-block a { font-weight: 500; color: var(--bc-ink); border-bottom: 1px solid var(--bc-line); }
.info-block a:hover { color: var(--bc-orange-dk); border-color: var(--bc-orange-dk); }
.social a { color: var(--bc-ink); border-bottom: 1px solid var(--bc-line); }
.social a:hover { color: var(--bc-orange-dk); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  background: var(--bc-cream-dk);
  position: relative;
}
.contact-map::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    inset 0 0 0 1px rgba(34, 18, 7, .08);
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: grayscale(.2) contrast(1.02);
}

/* =========================================
   Footer
   ========================================= */
.site-footer {
  padding: 4rem 0 5rem;
  background: var(--bc-ink);
  color: var(--bc-cream);
  border-top: 1px solid rgba(255, 255, 255, .05);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-logo {
  height: 56px;
  width: auto;
  background: var(--bc-paper);
  border-radius: 14px;
  padding: 6px 10px;
}
.footer-brand p {
  margin: 0;
  color: rgba(243, 231, 208, .65);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1rem;
}
.footer-copy {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  color: rgba(243, 231, 208, .4);
  letter-spacing: .04em;
}

/* =========================================
   WhatsApp floating button
   ========================================= */
.wa-float {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 90;
  width: 56px; height: 56px;
  background: var(--wa-green);
  color: #fff;
  border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .25),
    0 14px 30px -10px rgba(37, 211, 102, .55);
  transition: transform .3s var(--spring), background .3s var(--ease);
}
.wa-float:hover {
  transform: scale(1.08);
  background: var(--wa-green-dk);
  color: #fff;
}
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: var(--wa-green);
  z-index: -1;
  animation: wa-pulse 2.4s var(--ease) infinite;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .55; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* =========================================
   Breakpoints
   ========================================= */
@media (min-width: 640px) {
  .bento { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
    gap: 1rem;
  }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 2; }
  .hero-meta { gap: 2.5rem; }
}

@media (min-width: 768px) {
  .container { padding: 0 2rem; }
  .menu-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2.5rem; }
  .menu-panel .menu-item { padding: 1.4rem .25rem; }
  .services { padding: 8rem 0; }
  .menu { padding: 8rem 0; }
  .feature { padding: 8rem 0; }
  .gallery { padding: 8rem 0; }
  .contact { padding: 8rem 0; }
  .section-head-split {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .section-head-split p { justify-self: end; text-align: right; }
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none; }

  .bento {
    grid-template-columns: repeat(12, 1fr);
    grid-auto-rows: 200px;
  }
  .bento-feature { grid-column: span 7; grid-row: span 2; }
  .bento-card:nth-child(2) { grid-column: span 5; }
  .bento-card:nth-child(3) { grid-column: span 5; }
  .bento-card:nth-child(4) { grid-column: span 4; }
  .bento-cta { grid-column: span 8; }

  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 200px;
  }
  .gallery-wide { grid-column: span 2; }
  .gallery-tall { grid-row: span 2; }

  .feature-grid {
    grid-template-columns: 1.05fr 1fr;
    gap: 5rem;
  }
  .feature-grid.reverse { grid-template-columns: 1fr 1.05fr; }
  .feature-grid.reverse .feature-media { order: 2; }

  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch;
  }

  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
  .footer-brand { flex-direction: row; align-items: center; }

  .wa-float { width: 60px; height: 60px; bottom: 2rem; right: 2rem; }

  .hero-content { padding: 9rem 1.25rem 6rem; }
}

@media (min-width: 1280px) {
  .bento-feature .bento-card-media { height: 220px; }
}

/* Selection */
::selection {
  background: var(--bc-ink);
  color: var(--bc-paper);
}

/* =========================================
   Sello Garantía + Tabs (menu-bar)
   ========================================= */
.menu-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin: 2rem 0 1.5rem;
}
.menu-stamp {
  flex: 0 0 auto;
  color: var(--bc-orange);
  pointer-events: none;
  filter: drop-shadow(0 6px 14px rgba(74, 37, 17, .22));
  animation: stamp-wobble 7s var(--ease) infinite;
  transform-origin: center;
}
.menu-stamp svg { display: block; }
.menu-stamp svg text { paint-order: stroke fill; }
.menu-bar .menu-tabs { margin: 0; flex: 1 1 auto; }

@keyframes stamp-wobble {
  0%, 100% { transform: rotate(-6deg); }
  50%      { transform: rotate(-3deg); }
}

@media (max-width: 539px) {
  .menu-bar { justify-content: center; }
  .menu-stamp svg { width: 110px; height: 110px; }
}
@media (min-width: 768px) {
  .menu-bar { gap: 2rem; margin: 2.5rem 0 2rem; }
  .menu-stamp svg { width: 160px; height: 160px; }
}

/* =========================================
   Sección Cotización (form)
   ========================================= */
.quote { padding: 5rem 0; background: var(--bc-cream); }
.quote-grid { display: grid; gap: 3rem; }
.quote-form { display: grid; gap: 1.25rem; }
.form-row { display: grid; gap: 1.25rem; }
.form-field { display: grid; gap: .4rem; }
.form-field > span {
  font-family: var(--font-mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--bc-ink-soft);
}
.form-field input,
.form-field select,
.form-field textarea {
  background: transparent;
  border: 0;
  border-bottom: 1.5px solid rgba(34, 18, 7, .25);
  padding: .65rem .25rem;
  font: 400 1rem/1.4 var(--font-body);
  color: var(--bc-ink);
  border-radius: 0;
  outline: none;
  transition: border-color .2s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--bc-teal);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.form-msg { min-height: 1.5rem; margin: .5rem 0 0; font-size: .9rem; }
.form-msg.is-ok { color: var(--bc-teal-dk); }
.form-msg.is-err { color: #b4321b; }

@media (min-width: 768px) {
  .quote { padding: 8rem 0; }
  .form-row { grid-template-columns: 1fr 1fr; }
}

/* =========================================
   Reseñas Google (tarjetas curadas)
   ========================================= */
.reviews { padding: 5rem 0; background: var(--bc-paper); }

.reviews-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .35rem;
  margin: 2.5rem 0 2rem;
}
.reviews-rating {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.reviews-score {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--bc-ink);
  line-height: 1;
}
.reviews-stars { display: inline-flex; gap: 2px; }
.reviews-meta {
  margin: 0;
  font-size: .9rem;
  color: var(--bc-ink-soft);
}

.reviews-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.review-card {
  background: #fff;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow:
    0 1px 2px rgba(34, 18, 7, .06),
    0 12px 28px -16px rgba(34, 18, 7, .18);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.review-head {
  display: flex;
  align-items: center;
  gap: .75rem;
}
.review-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
}
.review-author { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.review-author strong {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  color: var(--bc-ink);
}
.review-date {
  font-size: .78rem;
  color: var(--bc-mute);
}
.review-google { flex: 0 0 auto; line-height: 0; }
.review-stars-row {
  margin: 0;
  color: #FBBC04;
  font-size: 1rem;
  letter-spacing: 2px;
  line-height: 1;
}
.review-body {
  margin: 0;
  padding: 0;
  border: 0;
  font-family: var(--font-body);
  font-size: .95rem;
  line-height: 1.55;
  color: var(--bc-ink-soft);
  quotes: none;
}

.reviews-cta { text-align: center; margin-top: 2.5rem; }

@media (min-width: 640px) {
  .reviews-grid { grid-template-columns: 1fr 1fr; gap: 1.5rem; }
}
@media (min-width: 768px) {
  .reviews { padding: 8rem 0; }
  .review-card { padding: 1.75rem; }
}
