/* ============ Tokens ============ */
:root {
  /* Brand colors, taken from the logo (gold) and the chef jacket (rose) */
  --color-bg: #FBF6F0;
  --color-bg-alt: #F4EADF;
  --color-card: #FFFFFF;
  --color-fg: #3A2A23;
  --color-fg-muted: #6B5449;
  --color-gold: #B08D66;
  --color-gold-deep: #7E5F3D;
  --color-rose: #E8B9BF;
  --color-rose-deep: #A5505E;
  --color-border: #E7D9C9;
  --color-wa: #128C4E;
  --color-on-dark: #FBF6F0;
  --color-ring: #A5505E;

  --font-display: "Playfair Display", Georgia, serif;
  --font-body: "Karla", system-ui, sans-serif;

  --space-1: 4px; --space-2: 8px; --space-3: 16px; --space-4: 24px;
  --space-5: 32px; --space-6: 48px; --space-7: 64px; --space-8: 96px;

  --radius-sm: 10px;
  --radius-md: 18px;
  --radius-lg: 28px;
  --radius-pill: 999px;

  --shadow-sm: 0 2px 8px rgba(58, 42, 35, .06);
  --shadow-md: 0 12px 32px -12px rgba(58, 42, 35, .22);
  --shadow-lg: 0 30px 60px -20px rgba(58, 42, 35, .35);

  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --dur-fast: 180ms;
  --dur-base: 280ms;
  --dur-slow: 700ms;

  --header-h: 76px;
}

/* ============ Base ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--color-bg);
  color: var(--color-fg);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button { font: inherit; color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; line-height: 1.12; margin: 0; letter-spacing: -0.01em; }
h1 em, h2 em { font-style: italic; color: var(--color-rose-deep); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--color-ring); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--color-fg); color: var(--color-on-dark);
  padding: 10px 16px; border-radius: var(--radius-sm); text-decoration: none;
  transition: top var(--dur-fast) var(--ease-out);
}
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.icon { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  font-size: 13px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--color-gold-deep);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px;
  border-radius: var(--radius-pill); border: 1.5px solid transparent;
  font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer;
  transition: transform var(--dur-base) var(--ease-spring), background-color var(--dur-base) var(--ease-out),
              box-shadow var(--dur-base) var(--ease-out), color var(--dur-base) var(--ease-out), border-color var(--dur-base);
  -webkit-tap-highlight-color: transparent;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); transition-duration: 90ms; }
.btn-lg { min-height: 56px; padding: 0 30px; font-size: 17px; }
.btn-small { min-height: 44px; padding: 0 20px; font-size: 15px; }
.btn-dark { background: var(--color-fg); color: var(--color-on-dark); box-shadow: var(--shadow-md); }
.btn-dark:hover { background: #2A1D18; box-shadow: var(--shadow-lg); }
.btn-ghost { border-color: var(--color-border); background: transparent; }
.btn-ghost:hover { border-color: var(--color-fg); background: var(--color-card); }
.btn-ghost .icon { transition: transform var(--dur-base) var(--ease-out); }
.btn-ghost:hover .icon { transform: translateY(3px); }
.btn-light { background: var(--color-on-dark); color: var(--color-fg); }
.btn-light:hover { background: #fff; box-shadow: 0 16px 40px -12px rgba(0,0,0,.45); }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 246, 240, .78);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-base), box-shadow var(--dur-base), background-color var(--dur-base);
}
.site-header.is-scrolled { border-bottom-color: var(--color-border); box-shadow: var(--shadow-sm); background: rgba(251, 246, 240, .92); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--space-4); }
.brand { display: block; }
.brand-logo { display: block; width: 150px; height: auto; aspect-ratio: 1280 / 490; }
.main-nav { display: none; gap: var(--space-5); }
.main-nav a {
  text-decoration: none; font-weight: 500; color: var(--color-fg-muted); position: relative; padding: 6px 0;
  transition: color var(--dur-fast);
}
.main-nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px; background: var(--color-gold);
  transform: scaleX(0); transform-origin: right; transition: transform var(--dur-base) var(--ease-out);
}
.main-nav a:hover { color: var(--color-fg); }
.main-nav a:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============ Hero ============ */
.hero { position: relative; padding: clamp(32px, 6vw, 72px) 0 clamp(56px, 8vw, 104px); overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: auto -20% 0 auto; width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  background: radial-gradient(closest-side, rgba(232, 185, 191, .45), transparent 70%);
  transform: translate(15%, 25%); pointer-events: none;
}
.hero-grid { position: relative; display: grid; gap: var(--space-6); align-items: center; }
.hero-copy { display: flex; flex-direction: column; gap: var(--space-4); }
.hero h1 { font-size: clamp(42px, 7.2vw, 80px); }
.lead { font-size: clamp(17px, 1.6vw, 19px); color: var(--color-fg-muted); max-width: 34ch; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: var(--space-2); }
.hero-trust { display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: 15px; color: var(--color-fg-muted); }
.hero-trust li { display: inline-flex; align-items: center; gap: 6px; }
.hero-trust .icon { color: var(--color-wa); }

.hero-visual { position: relative; min-height: 440px; max-width: 520px; width: 100%; margin: 0 auto; }
.hero-arch {
  margin: 0; position: absolute; right: 4%; top: 0; width: 72%; aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
}
.hero-arch img, .hero-circle img { width: 100%; height: 100%; object-fit: cover; }
.hero-circle {
  margin: 0; position: absolute; left: 0; bottom: 6%; width: 42%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 6px solid var(--color-bg); box-shadow: var(--shadow-md);
}
.hero-badge {
  position: absolute; right: 0; bottom: 0;
  display: flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px;
  background: var(--color-card); border-radius: var(--radius-pill); box-shadow: var(--shadow-md);
  font-size: 13px; color: var(--color-fg-muted); line-height: 1.3;
}
.hero-badge img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; object-position: top; }
.hero-badge strong { display: block; color: var(--color-fg); font-size: 14px; }

/* ============ Marquee ============ */
.marquee {
  overflow: hidden; border-block: 1px solid var(--color-border); background: var(--color-bg-alt);
  padding: 18px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee-track { display: flex; align-items: center; gap: 32px; width: max-content; animation: marquee 36s linear infinite; }
.marquee span { font-family: var(--font-display); font-style: italic; font-size: clamp(20px, 2.4vw, 28px); color: var(--color-gold-deep); white-space: nowrap; }
.marquee i { width: 7px; height: 7px; border-radius: 50%; background: var(--color-rose); flex: none; }
@keyframes marquee { to { transform: translateX(calc(-50% - 16px)); } }

/* ============ Sections ============ */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-head { text-align: center; display: flex; flex-direction: column; align-items: center; gap: var(--space-3); margin-bottom: var(--space-6); }
.section-head.left { text-align: left; align-items: flex-start; }
.section-head h2 { font-size: clamp(34px, 5vw, 56px); }
.section-sub { color: var(--color-fg-muted); max-width: 46ch; }
.section-cta { margin-top: var(--space-6); display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; color: var(--color-fg-muted); }

/* ============ Portfolio ============ */
.filters { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px; margin-bottom: var(--space-5); }
.chip {
  min-height: 44px; padding: 0 20px; border-radius: var(--radius-pill);
  border: 1.5px solid var(--color-border); background: transparent; cursor: pointer; font-weight: 600; font-size: 15px;
  color: var(--color-fg-muted);
  transition: background-color var(--dur-base) var(--ease-out), color var(--dur-base), border-color var(--dur-base), transform var(--dur-base) var(--ease-spring);
}
.chip:hover { border-color: var(--color-fg); color: var(--color-fg); }
.chip:active { transform: scale(.96); }
.chip.is-active { background: var(--color-fg); border-color: var(--color-fg); color: var(--color-on-dark); }

.gallery { columns: 2; column-gap: 12px; }
.gallery-item { break-inside: avoid; margin-bottom: 12px; transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out); }
.gallery-item.is-hiding { opacity: 0; transform: scale(.94); }
.gallery-item.is-hidden { display: none; }
.card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; background: var(--color-bg-alt);
  border-radius: var(--radius-md); overflow: hidden; cursor: zoom-in; text-align: left;
  box-shadow: var(--shadow-sm); transition: box-shadow var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out);
}
.card img { width: 100%; height: auto; transition: transform 900ms var(--ease-out); }
.card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(42, 29, 24, .78), rgba(42, 29, 24, 0) 55%);
  opacity: .9; transition: opacity var(--dur-base);
}
.card-info {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; color: var(--color-on-dark);
}
.card-name { font-family: var(--font-display); font-size: clamp(17px, 2vw, 22px); }
.card-cta { font-size: 13px; font-weight: 600; letter-spacing: .04em; opacity: .85; display: inline-flex; align-items: center; gap: 6px; }
.card-cta::after { content: "→"; transition: transform var(--dur-base) var(--ease-out); }
.card:hover { box-shadow: var(--shadow-lg); }
.card:hover img { transform: scale(1.05); }
.card:hover .card-cta::after { transform: translateX(4px); }

/* ============ About ============ */
.about { background: var(--color-bg-alt); }
.about-grid { display: grid; gap: var(--space-6); align-items: center; }
.about-photo {
  margin: 0; max-width: 440px; width: 100%; justify-self: center; aspect-ratio: 3 / 4;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg);
  outline: 1px solid var(--color-gold); outline-offset: 12px;
}
.about-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.about-copy { display: flex; flex-direction: column; gap: var(--space-4); align-items: flex-start; }
.about-copy h2 { font-size: clamp(34px, 5vw, 56px); }
.about-copy > p { color: var(--color-fg-muted); max-width: 52ch; }
.features { display: grid; gap: var(--space-3); margin: var(--space-2) 0; }
.features li { display: flex; gap: 14px; align-items: flex-start; }
.features strong { display: block; font-size: 17px; }
.features span { color: var(--color-fg-muted); font-size: 16px; }
.features strong { color: var(--color-fg); }
.feature-icon {
  width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center;
  background: var(--color-card); color: var(--color-rose-deep); box-shadow: var(--shadow-sm);
}

/* ============ Steps ============ */
.steps { display: grid; gap: var(--space-4); counter-reset: step; }
.step {
  position: relative; padding: var(--space-5); background: var(--color-card); border-radius: var(--radius-lg);
  border: 1px solid var(--color-border); display: flex; flex-direction: column; gap: 10px;
  transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base);
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; margin-bottom: 6px;
  font-family: var(--font-display); font-size: 22px; color: var(--color-gold-deep);
  border: 1.5px solid var(--color-gold);
}
.step h3 { font-size: 24px; }
.step p { color: var(--color-fg-muted); }

/* ============ FAQ ============ */
.faq { background: var(--color-bg-alt); }
.faq-grid { display: grid; gap: var(--space-5); }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq details { background: var(--color-card); border-radius: var(--radius-md); border: 1px solid var(--color-border); overflow: hidden; }
.faq summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: var(--space-3);
  padding: 20px 24px; font-weight: 600; font-size: 17px; min-height: 64px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .icon { color: var(--color-gold-deep); transition: transform var(--dur-base) var(--ease-out); }
.faq details[open] summary .icon { transform: rotate(45deg); }
.faq-body { padding: 0 24px 22px; color: var(--color-fg-muted); }
.faq details[open] .faq-body { animation: faq-in var(--dur-base) var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }

/* ============ Final CTA ============ */
.final-cta {
  background: var(--color-fg); color: var(--color-on-dark); padding: clamp(72px, 10vw, 120px) 0; position: relative; overflow: hidden;
}
.final-cta::before {
  content: ""; position: absolute; width: 600px; height: 600px; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: radial-gradient(closest-side, rgba(176, 141, 102, .28), transparent); pointer-events: none;
}
.final-inner { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: var(--space-4); }
.final-cta h2 { font-size: clamp(32px, 5vw, 56px); max-width: 18ch; }
.final-cta p { color: rgba(251, 246, 240, .78); }

/* ============ Footer ============ */
.site-footer { padding: var(--space-6) 0 calc(var(--space-6) + 72px); background: var(--color-bg); }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: var(--space-3); text-align: center; color: var(--color-fg-muted); font-size: 14px; }
.footer-logo { width: 180px; }

/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed; z-index: 60;
  right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom));
  display: inline-flex; align-items: center; gap: 10px; height: 60px; padding: 0 8px;
  background: var(--color-wa); color: #fff; text-decoration: none; font-weight: 700;
  border-radius: var(--radius-pill); box-shadow: 0 14px 30px -8px rgba(18, 140, 78, .55);
  transition: transform var(--dur-base) var(--ease-spring), box-shadow var(--dur-base);
  animation: wa-in 600ms var(--ease-spring) 800ms both;
}
.wa-float::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid var(--color-wa);
  animation: wa-pulse 2.6s var(--ease-out) 2s infinite; pointer-events: none;
}
.wa-float-icon { width: 44px; height: 44px; display: grid; place-items: center; }
.wa-float-icon .icon { width: 28px; height: 28px; }
.wa-float-label { display: none; padding-right: 16px; }
.wa-float:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 40px -10px rgba(18, 140, 78, .65); }
.wa-float:active { transform: scale(.97); }
@keyframes wa-in { from { opacity: 0; transform: translateY(24px) scale(.8); } }
@keyframes wa-pulse { 0% { opacity: .7; transform: scale(1); } 70%, 100% { opacity: 0; transform: scale(1.35); } }

/* ============ Lightbox ============ */
.lightbox {
  width: min(1000px, calc(100vw - 32px)); max-height: calc(100dvh - 32px);
  padding: 0; border: 0; border-radius: var(--radius-lg); background: var(--color-bg); color: var(--color-fg);
  box-shadow: var(--shadow-lg); overflow: auto;
  opacity: 0; transform: translateY(16px) scale(.97);
  transition: opacity var(--dur-base) var(--ease-out), transform var(--dur-base) var(--ease-out), overlay var(--dur-base) allow-discrete, display var(--dur-base) allow-discrete;
}
.lightbox[open] { opacity: 1; transform: none; }
@starting-style { .lightbox[open] { opacity: 0; transform: translateY(16px) scale(.97); } }
.lightbox::backdrop { background: rgba(42, 29, 24, 0); backdrop-filter: blur(0); transition: background var(--dur-base), backdrop-filter var(--dur-base), overlay var(--dur-base) allow-discrete, display var(--dur-base) allow-discrete; }
.lightbox[open]::backdrop { background: rgba(42, 29, 24, .62); backdrop-filter: blur(6px); }
@starting-style { .lightbox[open]::backdrop { background: rgba(42, 29, 24, 0); backdrop-filter: blur(0); } }
.lb-inner { position: relative; display: grid; }
.lb-media { margin: 0; background: var(--color-bg-alt); }
.lb-media img { width: 100%; max-height: 62dvh; object-fit: cover; transition: opacity var(--dur-fast); }
.lb-media img.is-swapping { opacity: 0; }
.lb-copy { padding: var(--space-5); display: flex; flex-direction: column; gap: var(--space-3); align-items: flex-start; }
.lb-copy h3 { font-size: clamp(28px, 3.4vw, 40px); }
.lb-copy p:not(.eyebrow) { color: var(--color-fg-muted); }
.lb-close {
  position: absolute; top: 12px; right: 12px; z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(251, 246, 240, .92); display: grid; place-items: center; box-shadow: var(--shadow-sm);
  transition: transform var(--dur-base) var(--ease-spring);
}
.lb-close:hover { transform: rotate(90deg); }
.lb-nav { display: flex; gap: 10px; margin-top: auto; padding-top: var(--space-2); }
.lb-nav button {
  width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid var(--color-border); background: transparent; cursor: pointer;
  display: grid; place-items: center; transition: border-color var(--dur-fast), background-color var(--dur-fast);
}
.lb-nav button:hover { border-color: var(--color-fg); background: var(--color-card); }

/* ============ Reveal on scroll ============ */
.js .reveal { opacity: 0; transform: translateY(24px); }
.js .reveal-img { opacity: 0; transform: translateY(32px) scale(.96); clip-path: inset(12% 0 0 0 round var(--radius-lg)); }
.js .reveal, .js .reveal-img {
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out), clip-path 1s var(--ease-out);
  transition-delay: calc(var(--i, 0) * 80ms);
}
.js .is-in.reveal, .js .is-in.reveal-img { opacity: 1; transform: none; clip-path: inset(0 0 0 0 round 0); }
.js .hero-arch.is-in { clip-path: inset(0 0 0 0 round 999px 999px var(--radius-lg) var(--radius-lg)); }
.js .hero-circle.is-in { clip-path: circle(50%); }

/* ============ Breakpoints ============ */
@media (min-width: 640px) {
  .gallery { column-gap: 16px; }
  .gallery-item { margin-bottom: 16px; }
  .wa-float { padding: 0 8px 0 8px; }
  .wa-float-label { display: inline; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 900px) {
  :root { --header-h: 84px; }
  .brand-logo { width: 170px; }
  .main-nav { display: flex; }
  .hero-grid { grid-template-columns: 1.05fr 1fr; gap: var(--space-7); }
  .hero-visual { min-height: 580px; }
  .gallery { columns: 3; column-gap: 20px; }
  .gallery-item { margin-bottom: 20px; }
  .about-grid { grid-template-columns: 1fr 1.1fr; gap: var(--space-8); }
  .faq-grid { grid-template-columns: 1fr 1.4fr; gap: var(--space-8); align-items: start; }
  .faq .section-head { position: sticky; top: calc(var(--header-h) + 32px); margin-bottom: 0; }
  .lb-inner { grid-template-columns: 1.2fr 1fr; }
  .lb-media img { height: 100%; max-height: 80dvh; }
  .lb-copy { padding: var(--space-6) var(--space-5); justify-content: center; }
  .lb-nav { margin-top: var(--space-3); }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0ms !important; }
  .marquee-track { animation: none; }
  .wa-float::before { display: none; }
  .js .reveal, .js .reveal-img { opacity: 1; transform: none; clip-path: none; }
}
