:root {
  --paper: #F5EEE1;
  --paper-soft: #EFE6D4;
  --ink: #2A1C12;
  --ink-soft: #5B4B3B;
  --walnut: #4A2F1C;
  --walnut-deep: #2C1B0F;
  --amber: #B9862E;
  --amber-deep: #8F6520;
  --moss: #48533A;
  --brick: #96392A;
  --line: rgba(42, 28, 18, 0.15);
  --card-bg: #FFFCF5;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #1B1410; --paper-soft: #251C15; --ink: #F1E7D8; --ink-soft: #C9B9A3;
    --walnut: #D9B87E; --walnut-deep: #120B07; --amber: #D9A64E; --amber-deep: #E8BE71;
    --moss: #8CA173; --brick: #D97A63; --line: rgba(241,231,216,0.16); --card-bg: #241A13;
  }
}
:root[data-theme="dark"] {
  --paper: #1B1410; --paper-soft: #251C15; --ink: #F1E7D8; --ink-soft: #C9B9A3;
  --walnut: #D9B87E; --walnut-deep: #120B07; --amber: #D9A64E; --amber-deep: #E8BE71;
  --moss: #8CA173; --brick: #D97A63; --line: rgba(241,231,216,0.16); --card-bg: #241A13;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: 'Work Sans', -apple-system, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1,h2,h3 { font-family: 'Fraunces', Georgia, serif; font-weight: 600; margin: 0; letter-spacing: -0.01em; color: var(--ink); }
a { color: inherit; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 32px; }
.wrap-narrow { max-width: 900px; margin: 0 auto; padding: 0 32px; }

/* ---- ANNOUNCEMENT BAR ---- */
.announce {
  background: var(--walnut-deep);
  color: #E9DCC6;
  text-align: center;
  font-size: 13.5px;
  padding: 9px 16px;
  letter-spacing: 0.02em;
}

/* ---- HEADER / NAV ---- */
header.nav {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 32px; max-width: 1240px; margin: 0 auto;
}
.logo { font-family: 'Fraunces', serif; font-weight: 600; font-size: 21px; text-decoration: none; color: var(--ink); }
.nav-mid { display: flex; align-items: center; gap: 30px; }
.nav-item { position: relative; }
.nav-item > a { text-decoration: none; color: var(--ink-soft); font-size: 15px; padding: 8px 0; display: inline-block; }
.nav-item > a:hover { color: var(--ink); }
.dropdown {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(6px);
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 6px;
  padding: 10px; min-width: 220px; box-shadow: 0 18px 40px -18px rgba(42,28,18,0.35);
  opacity: 0; visibility: hidden; transition: opacity 0.18s ease, transform 0.18s ease;
}
.nav-item:hover .dropdown { opacity: 1; visibility: visible; transform: translateX(-50%) translateY(0); }
.dropdown a {
  display: block; padding: 9px 12px; border-radius: 4px; text-decoration: none;
  color: var(--ink-soft); font-size: 14.5px;
}
.dropdown a:hover { background: var(--paper-soft); color: var(--ink); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.icon-link {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center; text-decoration: none; color: var(--ink);
  transition: background 0.15s ease;
}
.icon-link:hover { background: var(--paper-soft); }
.icon-link svg { width: 17px; height: 17px; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 22px; border-radius: 3px;
  text-decoration: none; font-size: 15px; font-weight: 600; border: 1px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn-primary { background: var(--moss); color: #F5EEE1; }
.btn-primary:hover { transform: translateY(-1px); }
.btn-ghost { border-color: var(--line); color: var(--ink); background: transparent; }
.btn-ghost:hover { background: var(--paper-soft); }
.btn-dark { background: var(--walnut-deep); color: #F5EEE1; }
.btn-dark:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .nav-mid { display: none; } }

/* ---- HERO BANNER (full-bleed) ---- */
section.banner {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
section.banner .bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 30%;
}
section.banner .scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(100deg, rgba(15,10,6,0.94) 0%, rgba(15,10,6,0.82) 34%, rgba(15,10,6,0.55) 58%, rgba(15,10,6,0.28) 78%, rgba(15,10,6,0.12) 100%),
    linear-gradient(0deg, rgba(15,10,6,0.35) 0%, rgba(15,10,6,0) 40%),
    rgba(15,10,6,0.18);
}
.banner-content {
  position: relative; z-index: 2; color: #FBF6EA;
  max-width: 620px; padding: 60px 32px;
}
.banner-content .kicker {
  display: inline-block; font-size: 14px; color: #F0C879; margin-bottom: 16px;
  font-family: 'Fraunces', serif; font-style: italic;
  text-shadow: 0 2px 14px rgba(0,0,0,0.55);
}
.banner-content h1 {
  color: #FFFDF8; font-size: clamp(34px, 4.6vw, 56px); line-height: 1.08;
  text-shadow: 0 4px 24px rgba(0,0,0,0.5);
}
.banner-content p {
  margin-top: 20px; font-size: 18px; color: #EFE4CF; max-width: 46ch;
  text-shadow: 0 2px 16px rgba(0,0,0,0.5);
}
.banner-ctas { margin-top: 32px; display: flex; gap: 14px; flex-wrap: wrap; }
@media (max-width: 720px) {
  section.banner { min-height: 86vh; }
  .banner-content { padding: 40px 22px; }
}

/* ---- CATEGORY STRIP ---- */
section.catstrip { padding: 46px 0; border-bottom: 1px solid var(--line); }
.cat-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 4px; scrollbar-width: none; }
.cat-row::-webkit-scrollbar { display: none; }
.cat-pill {
  flex: 0 0 auto; display: flex; align-items: center; gap: 10px;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--line);
  text-decoration: none; color: var(--ink); font-size: 14.5px; white-space: nowrap;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.cat-pill:hover { background: var(--paper-soft); border-color: rgba(42,28,18,0.3); }
.cat-pill .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--moss); }

/* ---- PRODUCT SECTIONS ---- */
section.pgroup { padding: 76px 0; }
section.pgroup:nth-of-type(even) { background: var(--paper-soft); }
.pgroup-head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 24px;
  margin-bottom: 40px; flex-wrap: wrap;
}
.pgroup-head h2 { font-size: clamp(26px, 3vw, 34px); }
.pgroup-head p { color: var(--ink-soft); font-size: 15.5px; max-width: 42ch; margin-top: 8px; }
.pgroup-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
@media (max-width: 980px) { .pgroup-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .pgroup-grid { grid-template-columns: 1fr; } }

.pcard {
  background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px;
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.pcard:hover { transform: translateY(-5px); box-shadow: 0 22px 38px -22px rgba(42,28,18,0.32); border-color: rgba(42,28,18,0.28); }
.pcard-ph { aspect-ratio: 4/3.1; overflow: hidden; }
.pcard-ph img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.pcard:hover .pcard-ph img { transform: scale(1.045); }
.pcard-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pcard-body h3 { font-size: 18.5px; }
.pcard-body p { color: var(--ink-soft); font-size: 14.5px; margin: 0; flex: 1; }
.pcard-foot {
  margin-top: 10px; display: flex; align-items: center; justify-content: space-between;
  padding-top: 12px; border-top: 1px solid var(--line);
}
.pcard-foot .consult { font-size: 13.5px; color: var(--amber-deep); font-weight: 600; }
.pcard-btn {
  width: 36px; height: 36px; border-radius: 50%; background: var(--moss); color: #F5EEE1;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  transition: transform 0.15s ease;
}
.pcard-btn:hover { transform: scale(1.08); }
.pcard-btn svg { width: 16px; height: 16px; }

/* ---- STATEMENT BAND ---- */
section.statement {
  padding: 96px 0; text-align: center; background: var(--walnut-deep); color: #F1E7D8;
}
@media (prefers-color-scheme: dark) { section.statement { background: var(--paper-soft); } }
section.statement h2 {
  color: #FBF6EA; font-size: clamp(26px, 3.6vw, 42px); max-width: 22ch; margin: 0 auto; line-height: 1.25;
}
section.statement p { color: #C9B9A3; max-width: 56ch; margin: 22px auto 0; font-size: 17px; }
section.statement .stat-row { display: flex; justify-content: center; gap: 48px; margin-top: 44px; flex-wrap: wrap; }
section.statement .stat b { display: block; font-family: 'Fraunces', serif; font-size: 32px; color: #E8C27B; font-weight: 600; }
section.statement .stat span { font-size: 13.5px; color: #B7A48C; }

/* ---- STEPS (Como pedir) ---- */
section.steps { padding: 90px 0; }
.section-head { max-width: 60ch; margin-bottom: 48px; }
.section-head h2 { font-size: clamp(26px, 3.2vw, 38px); }
.section-head p { color: var(--ink-soft); font-size: 16.5px; margin-top: 12px; }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
@media (max-width: 820px) { .steps-grid { grid-template-columns: 1fr; } }
.step { position: relative; padding: 30px 24px 26px; background: var(--card-bg); border: 1px solid var(--line); border-radius: 4px; }
.step .n { font-family: 'Fraunces', serif; font-size: 38px; color: var(--amber); font-weight: 600; line-height: 1; }
.step h3 { font-size: 18px; margin-top: 16px; }
.step p { color: var(--ink-soft); font-size: 14.5px; margin-top: 8px; }

/* ---- LOCATION / CONTACT ---- */
section.contato { padding: 90px 0; background: linear-gradient(135deg, #C6924A 0%, var(--amber) 55%, #A9762C 100%); color: #2A1C12; }
@media (prefers-color-scheme: dark) { section.contato { background: linear-gradient(135deg, #E0B463 0%, var(--amber) 55%, #C6924A 100%); color: #1B1410; } }
.contato-inner { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; flex-wrap: wrap; }
section.contato h2 { color: #241608; font-size: clamp(26px, 3.4vw, 40px); max-width: 16ch; }
section.contato > .wrap > .contato-inner > div:first-child p { margin-top: 14px; max-width: 44ch; color: #4A3315; font-size: 16.5px; }
.contato-card { background: rgba(255,252,245,0.55); border: 1px solid rgba(42,28,18,0.15); border-radius: 6px; padding: 26px 28px; min-width: 280px; }
.contato-card .row { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; font-size: 14.5px; color: #3A2810; }
.contato-card .row:last-child { margin-bottom: 0; }
.contato-card svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 1px; color: #3A2810; }
.contato-card a { text-decoration: none; color: #241608; font-weight: 600; }

/* ---- FOOTER ---- */
footer { background: var(--walnut-deep); color: #B7A48C; padding: 60px 0 30px; }
@media (prefers-color-scheme: dark) { footer { background: var(--paper-soft); } }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 820px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
footer .logo { color: #F1E7D8; }
footer .foot-desc { margin-top: 14px; font-size: 14px; max-width: 30ch; color: #A8987F; }
footer h4 { color: #E9DCC6; font-family: 'Work Sans', sans-serif; font-weight: 600; font-size: 13.5px; margin-bottom: 14px; letter-spacing: 0.02em; }
footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
footer ul a { text-decoration: none; color: #B7A48C; font-size: 14.5px; }
footer ul a:hover { color: #F1E7D8; }
.footer-bottom {
  margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(241,231,216,0.1);
  font-size: 13px; color: #8A7A63; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
}

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 70; background: var(--moss); color: #F5EEE1;
  width: 56px; height: 56px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  text-decoration: none; box-shadow: 0 10px 24px -8px rgba(0,0,0,0.4);
}
.wa-float svg { width: 26px; height: 26px; }

@keyframes riseIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: no-preference) {
  .banner-content > * { animation: riseIn 0.7s ease both; }
  .banner-content .kicker { animation-delay: 0.02s; }
  .banner-content h1 { animation-delay: 0.1s; }
  .banner-content p { animation-delay: 0.22s; }
  .banner-content .banner-ctas { animation-delay: 0.34s; }
}
