/* ===========================================================
   Panificadora Trigo Sagrado — Design System
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,500;9..144,600;9..144,700;9..144,800&family=Inter:wght@400;500;600;700&display=swap');

:root{
  --cream: #fbf2e4;
  --cream-2: #f4e6cf;
  --paper: #fffaf2;
  --brown-950: #2c1c12;
  --brown-900: #3a2517;
  --brown-700: #6b4a30;
  --brown-500: #8c6644;
  --ink: #33261c;
  --muted: #7a6a5b;
  --terracotta: #c1502e;
  --terracotta-dark: #a13f22;
  --gold: #d6a13a;
  --line: #e9d9bd;
  --white: #ffffff;

  --font-head: 'Fraunces', 'Georgia', serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;

  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 14px 34px -14px rgba(44,28,18,.28);
  --shadow-lg: 0 28px 60px -18px rgba(44,28,18,.4);
  --container: 1160px;
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; }
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--cream);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font-family:inherit; cursor:pointer; }
h1,h2,h3,h4{ font-family:var(--font-head); line-height:1.12; font-weight:700; letter-spacing:-.01em; color:var(--brown-950); }

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 24px; }
.section{ padding:100px 0; }
.section-sm{ padding:60px 0; }
@media (max-width:768px){
  .section{ padding:68px 0; }
  .section-sm{ padding:44px 0; }
}

.eyebrow{
  display:inline-flex; align-items:center; gap:10px;
  font-family:var(--font-head); font-style:italic; font-size:17px; font-weight:600;
  color:var(--terracotta-dark); margin-bottom:12px;
}
.eyebrow svg{ width:18px; height:18px; }

.section-head{ max-width:620px; margin-bottom:44px; }
.section-head h2{ font-size:clamp(28px,4vw,42px); margin-bottom:14px; }
.section-head p{ color:var(--muted); font-size:17px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* Buttons */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  padding:15px 28px; border-radius:999px; font-weight:700; font-size:15px;
  border:2px solid transparent; transition:transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  white-space:nowrap;
}
.btn svg{ width:18px; height:18px; flex-shrink:0; }
.btn-accent{ background:var(--terracotta); color:var(--white); box-shadow:0 14px 28px -10px rgba(193,80,46,.55); }
.btn-accent:hover{ background:var(--terracotta-dark); transform:translateY(-2px); }
.btn-dark{ background:var(--brown-950); color:var(--white); }
.btn-dark:hover{ background:var(--brown-900); transform:translateY(-2px); }
.btn-outline{ background:transparent; border-color:rgba(255,255,255,.4); color:var(--white); }
.btn-outline:hover{ border-color:var(--white); background:rgba(255,255,255,.1); transform:translateY(-2px); }
.btn-outline-dark{ background:transparent; border-color:var(--line); color:var(--ink); }
.btn-outline-dark:hover{ border-color:var(--terracotta); color:var(--terracotta-dark); }
.btn-block{ width:100%; }
.btn-sm{ padding:11px 20px; font-size:14px; }

/* ===================== HEADER ===================== */
.site-header{
  position:sticky; top:0; z-index:200;
  background:rgba(251,242,228,.9);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--line);
}
.navbar{ display:flex; align-items:center; justify-content:space-between; height:84px; }
.brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:700; font-size:22px; color:var(--brown-950); }
.brand .mark{ width:38px; height:38px; border-radius:50%; background:var(--terracotta); color:var(--white); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.brand .mark svg{ width:20px; height:20px; }
.brand em{ font-style:italic; color:var(--terracotta-dark); }

.nav-links{ display:flex; align-items:center; gap:34px; }
.nav-links a:not(.btn){
  color:var(--brown-700); font-weight:600; font-size:15px;
  position:relative; padding:6px 0; transition:color .15s ease;
}
.nav-links a:not(.btn):hover{ color:var(--terracotta-dark); }
.nav-cta{ display:flex; align-items:center; gap:16px; }
.nav-toggle{
  display:none; background:none; border:none; width:40px; height:40px; position:relative; z-index:210;
}
.nav-toggle span{ display:block; width:24px; height:2px; background:var(--brown-950); margin:6px auto; transition:.25s; border-radius:2px; }
.nav-toggle.open span:nth-child(1){ transform:translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2){ opacity:0; }
.nav-toggle.open span:nth-child(3){ transform:translateY(-8px) rotate(-45deg); }

@media (max-width:900px){
  .nav-toggle{ display:block; }
  .nav-links{
    position:fixed; inset:84px 0 0 0; height:calc(100vh - 84px);
    background:var(--paper); flex-direction:column; justify-content:flex-start; align-items:flex-start;
    padding:36px 28px; gap:6px; transform:translateX(100%); transition:transform .3s ease; overflow-y:auto;
  }
  .nav-links.open{ transform:translateX(0); }
  .nav-links a:not(.btn){ width:100%; padding:14px 0; border-bottom:1px solid var(--line); font-size:18px; }
  .nav-links .btn{ margin-top:16px; width:100%; }
}

/* ===================== HERO ===================== */
.hero{
  position:relative; overflow:hidden;
  background:radial-gradient(1100px 600px at 85% -10%, #f6e0b8 0%, transparent 60%), var(--cream);
}
.hero-grid{ display:grid; grid-template-columns:1.05fr .95fr; gap:56px; align-items:center; padding:76px 0 90px; }
@media (max-width:940px){ .hero-grid{ grid-template-columns:1fr; padding:44px 0 56px; } }
.hero h1{ font-size:clamp(36px,5.2vw,60px); margin-bottom:20px; }
.hero h1 em{ font-style:italic; color:var(--terracotta); }
.hero > .container > .hero-grid > div:first-child p{ font-size:18px; color:var(--brown-700); margin-bottom:32px; max-width:520px; }
.hero-actions{ display:flex; flex-wrap:wrap; gap:14px; margin-bottom:34px; }
.hero-badges{ display:flex; flex-wrap:wrap; gap:22px; }
.hero-badge{ display:flex; align-items:center; gap:10px; font-size:14px; font-weight:600; color:var(--brown-700); }
.hero-badge svg{ width:20px; height:20px; color:var(--terracotta); flex-shrink:0; }

.hero-art{ position:relative; aspect-ratio:1/1; max-width:460px; margin:0 auto; }
.hero-art .ring{ position:absolute; inset:0; border-radius:50%; background:linear-gradient(160deg,var(--terracotta),var(--gold)); }
.hero-art .disc{ position:absolute; inset:22px; border-radius:50%; background:var(--paper); display:flex; align-items:center; justify-content:center; box-shadow:var(--shadow-lg); }
.hero-art .disc svg{ width:62%; height:62%; color:var(--terracotta); }
.hero-art .float-card{
  position:absolute; background:var(--white); border-radius:16px; padding:14px 18px; box-shadow:var(--shadow);
  display:flex; align-items:center; gap:10px; font-weight:700; font-size:14px; color:var(--brown-900);
}
.hero-art .float-card svg{ width:20px; height:20px; color:var(--gold); flex-shrink:0; }
.hero-art .fc1{ top:6%; left:-6%; }
.hero-art .fc2{ bottom:8%; right:-8%; }
@media (max-width:520px){ .hero-art .float-card{ display:none; } }

/* ===================== ABOUT / SPLIT ===================== */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:64px; align-items:center; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:36px; } }
.split-visual{
  position:relative; aspect-ratio:4/3.6; border-radius:var(--radius); overflow:hidden; box-shadow:var(--shadow-lg);
  background:linear-gradient(160deg,var(--brown-900),var(--brown-700)); display:flex; align-items:center; justify-content:center;
}
.split-visual svg{ width:46%; height:46%; color:rgba(255,255,255,.9); }
.split-visual::after{
  content:''; position:absolute; inset:0; opacity:.15;
  background-image:radial-gradient(rgba(255,255,255,.9) 1.5px, transparent 1.5px);
  background-size:22px 22px;
}
.split-badge{
  position:absolute; bottom:20px; left:20px; background:var(--white); border-radius:var(--radius-sm);
  padding:14px 18px; box-shadow:var(--shadow); display:flex; align-items:center; gap:12px; max-width:250px; z-index:1;
}
.split-badge .ic{ width:38px; height:38px; border-radius:10px; background:var(--terracotta); color:var(--white); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.split-badge .ic svg{ width:20px; height:20px; }
.split-badge strong{ display:block; font-size:14px; color:var(--brown-950); }
.split-badge span{ font-size:12.5px; color:var(--muted); }

.check-list{ display:flex; flex-direction:column; gap:14px; margin-top:8px; }
.check-list li{ display:flex; gap:12px; align-items:flex-start; font-size:15.5px; color:var(--ink); }
.check-list li svg{ width:20px; height:20px; color:var(--terracotta); flex-shrink:0; margin-top:2px; }

/* ===================== MENU / CARDS ===================== */
.menu-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
@media (max-width:960px){ .menu-grid{ grid-template-columns:repeat(2,1fr); } }
@media (max-width:560px){ .menu-grid{ grid-template-columns:1fr; } }

.card-menu{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius); padding:30px 26px;
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.card-menu:hover{ transform:translateY(-6px); box-shadow:var(--shadow-lg); border-color:transparent; }
.card-menu .ic{
  width:54px; height:54px; border-radius:16px; background:linear-gradient(160deg,var(--terracotta),var(--gold)); color:var(--white);
  display:flex; align-items:center; justify-content:center; margin-bottom:20px;
}
.card-menu .ic svg{ width:27px; height:27px; }
.card-menu h3{ font-size:19px; margin-bottom:9px; }
.card-menu p{ color:var(--muted); font-size:14.5px; }

/* ===================== VALUE STRIP ===================== */
.value-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:1px; background:var(--line); border:1px solid var(--line); border-radius:var(--radius); overflow:hidden; }
.value-item{ background:var(--paper); padding:34px 28px; }
.value-item .ic{ width:46px; height:46px; border-radius:12px; background:rgba(193,80,46,.1); color:var(--terracotta-dark); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.value-item .ic svg{ width:23px; height:23px; }
.value-item h3{ font-size:17px; margin-bottom:8px; }
.value-item p{ font-size:14.5px; color:var(--muted); }
@media (max-width:760px){ .value-grid{ grid-template-columns:1fr; } }

/* ===================== RATING BADGE ===================== */
.rating-badge{ display:inline-flex; align-items:center; gap:10px; background:var(--white); border:1px solid var(--line); border-radius:999px; padding:9px 18px 9px 9px; box-shadow:var(--shadow); }
.rating-badge .stars{ display:flex; gap:2px; background:var(--brown-950); color:var(--gold); border-radius:999px; padding:6px 10px; }
.rating-badge .stars svg{ width:14px; height:14px; }
.rating-badge strong{ font-size:14px; }
.rating-badge span{ font-size:12.5px; color:var(--muted); }

/* ===================== DARK BAND / CTA ===================== */
.band-dark{
  background:radial-gradient(ellipse at top left,#4a3020,var(--brown-950) 60%);
  color:var(--white); position:relative; overflow:hidden;
}
.band-dark::before{
  content:''; position:absolute; inset:0; opacity:.05; pointer-events:none;
  background-image:radial-gradient(#fff 1.5px, transparent 1.5px);
  background-size:26px 26px;
}
.band-dark h2, .band-dark h3{ color:var(--white); }
.cta-panel{ display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap; position:relative; z-index:1; }
.cta-panel h2{ font-size:clamp(24px,3.4vw,34px); max-width:520px; }
.cta-panel p{ color:rgba(255,255,255,.72); margin-top:10px; max-width:480px; }
.cta-actions{ display:flex; gap:14px; flex-wrap:wrap; }

/* ===================== CONTACT ===================== */
.contact-wrap{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:start; }
@media (max-width:900px){ .contact-wrap{ grid-template-columns:1fr; gap:36px; } }
.contact-grid{ display:flex; flex-direction:column; gap:16px; }
.contact-card{
  background:var(--paper); border:1px solid var(--line); border-radius:var(--radius-sm); padding:22px 24px;
  display:flex; align-items:center; gap:16px; transition:transform .2s ease, box-shadow .2s ease;
}
.contact-card:hover{ transform:translateY(-3px); box-shadow:var(--shadow); }
.contact-card .ic{ width:48px; height:48px; border-radius:12px; background:var(--brown-950); color:var(--gold); display:flex; align-items:center; justify-content:center; flex-shrink:0; }
.contact-card .ic svg{ width:23px; height:23px; }
.contact-card strong{ display:block; font-size:15.5px; }
.contact-card span{ font-size:13.5px; color:var(--muted); }

.map-frame{ border-radius:var(--radius); overflow:hidden; border:1px solid var(--line); box-shadow:var(--shadow); aspect-ratio:4/3.2; }
.map-frame iframe{ width:100%; height:100%; border:0; display:block; }

/* WhatsApp floating button */
.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:300; width:60px; height:60px; border-radius:50%;
  background:#25D366; color:#fff; display:flex; align-items:center; justify-content:center; box-shadow:0 12px 30px -8px rgba(37,211,102,.6);
  transition:transform .2s ease;
}
.wa-float:hover{ transform:scale(1.08); }
.wa-float svg{ width:30px; height:30px; }
.wa-float .pulse{ position:absolute; inset:0; border-radius:50%; border:2px solid #25D366; animation:pulse 2.2s ease-out infinite; }
@keyframes pulse{ 0%{ transform:scale(1); opacity:.7; } 100%{ transform:scale(1.6); opacity:0; } }
@media (max-width:640px){ .wa-float{ width:54px; height:54px; bottom:18px; right:18px; } .wa-float svg{ width:26px; height:26px; } }

/* ===================== FOOTER ===================== */
.site-footer{ background:var(--brown-950); color:rgba(255,255,255,.7); padding-top:56px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr; gap:40px; padding-bottom:40px; border-bottom:1px solid rgba(255,255,255,.1); }
@media (max-width:760px){ .footer-grid{ grid-template-columns:1fr; } }
.footer-brand{ display:flex; align-items:center; gap:10px; font-family:var(--font-head); font-weight:700; font-size:20px; color:var(--white); margin-bottom:14px; }
.footer-brand .mark{ width:34px; height:34px; border-radius:50%; background:var(--terracotta); display:flex; align-items:center; justify-content:center; }
.footer-brand .mark svg{ width:18px; height:18px; color:#fff; }
.footer-grid p{ font-size:14px; line-height:1.7; max-width:300px; color:rgba(255,255,255,.55); }
.footer-col h4{ color:#fff; font-size:14px; margin-bottom:16px; letter-spacing:.03em; text-transform:uppercase; }
.footer-col ul{ display:flex; flex-direction:column; gap:11px; }
.footer-col a{ font-size:14.5px; color:rgba(255,255,255,.62); transition:color .15s ease; }
.footer-col a:hover{ color:var(--gold); }
.footer-social{ display:flex; gap:10px; margin-top:16px; }
.footer-social a{ width:38px; height:38px; border-radius:10px; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; }
.footer-social a:hover{ background:var(--terracotta); }
.footer-social svg{ width:18px; height:18px; }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; padding:20px 0; font-size:12.5px; color:rgba(255,255,255,.4); flex-wrap:wrap; gap:10px; }

/* Scroll reveal */
.reveal{ opacity:0; transform:translateY(24px); transition:opacity .7s ease, transform .7s ease; }
.reveal.in{ opacity:1; transform:none; }

hr.divider{ border:none; border-top:1px solid var(--line); margin:56px 0; }
