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

:root {
  --blue:       #1F5D95;
  --blue-light: #4E84B5;
  --red:        #D94A3A;
  --orange:     #F08A42;
  --brown:      #4A2B20;
  --cream:      #F4F1EA;
  --cream-dark: #EAE5D8;
  --gold:       #D6A23C;
  --green-nat:  #6B8F5E;
  --wa:         #25D366;
  --text:       #2C1810;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  background: var(--cream);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Rockwell', 'Rockwell Nova', 'Courier Bold', Georgia, serif; }

/* ── GINGHAM UTIL ── */
.gingham {
  background-image:
    repeating-linear-gradient(0deg,  transparent, transparent 22px, rgba(255,255,255,.06) 22px, rgba(255,255,255,.06) 23px),
    repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(255,255,255,.06) 22px, rgba(255,255,255,.06) 23px);
}

.gingham-light {
  background-image:
    repeating-linear-gradient(0deg,  transparent, transparent 22px, rgba(31,93,149,.05) 22px, rgba(31,93,149,.05) 23px),
    repeating-linear-gradient(90deg, transparent, transparent 22px, rgba(31,93,149,.05) 22px, rgba(31,93,149,.05) 23px);
}

/* ── NAV ── */
nav {
  position: sticky; top: 0; z-index: 200;
  background: white;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 12px rgba(0,0,0,.1);
  gap: 12px;
}

.nav-logo img {
  height: 80px;
  width: auto;
  display: block;
}

.nav-links {
  display: none;
  gap: 20px;
  list-style: none;
  flex: 1;
  justify-content: center;
}

@media (min-width: 520px) {
  .nav-links { display: flex; }
}

.nav-links a {
  color: var(--blue);
  text-decoration: none;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .03em;
  transition: color .2s;
}

.nav-links a:hover { color: var(--orange); }

.nav-wa {
  background: var(--wa);
  color: white;
  padding: 8px 16px;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  transition: opacity .2s, transform .15s;
}

.nav-wa:hover { opacity: .92; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  background-color: #EDE3C4;
  background-image:
    repeating-linear-gradient(
      transparent 0px, transparent 36px,
      rgba(148,50,50,.55) 36px, rgba(148,50,50,.55) 72px
    ),
    repeating-linear-gradient(
      90deg,
      transparent 0px, transparent 36px,
      rgba(148,50,50,.55) 36px, rgba(148,50,50,.55) 72px
    );
  padding: 52px 24px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

@media (min-width: 600px) {
  .hero { text-align: left; }
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

@media (min-width: 600px) {
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    text-align: left;
  }
  .hero-text { flex: 1; }
  .hero-text .hero-ctas { align-items: flex-start; }
  .hero-text .hero-sub { margin: 0 0 32px; }
}

.hero-logo {
  width: 200px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(0,0,0,.35));
  flex-shrink: 0;
  order: -1;
}

@media (min-width: 600px) {
  .hero-logo { width: 240px; order: 1; }
}

.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: white;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 5px 16px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--brown);
  font-size: clamp(1.7rem, 7vw, 2.8rem);
  line-height: 1.2;
  margin-bottom: 16px;
}

.hero h1 em {
  color: var(--red);
  font-style: normal;
}

.hero-sub {
  color: #5A3A2E;
  font-size: .95rem;
  max-width: 320px;
  margin: 0 auto 32px;
}

.hero-text {
  background: rgba(242,232,208,.72);
  backdrop-filter: blur(2px);
  border-radius: 20px;
  padding: 28px 24px;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 44px;
}

/* ── BUTTONS ── */
.btn-wa {
  background: var(--wa);
  color: white;
  padding: 16px 28px;
  border-radius: 50px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 20px rgba(37,211,102,.38);
  transition: transform .2s, box-shadow .2s;
  font-family: 'Montserrat', sans-serif;
}

.btn-wa:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 28px rgba(37,211,102,.48);
}

.btn-ghost {
  color: #7A3A2A;
  font-size: .82rem;
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  transition: color .2s;
}

.btn-ghost:hover { color: var(--brown); }

/* ── WAVE ── */
.wave-bottom {
  display: block;
  background: #EDE3C4;
  line-height: 0;
}

.wave-bottom svg { display: block; width: 100%; }

/* ── SECTIONS ── */
.section { padding: 56px 24px; }

.container { max-width: 600px; margin: 0 auto; }

.label {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}

.title {
  font-size: clamp(1.35rem, 4vw, 1.9rem);
  color: var(--blue);
  line-height: 1.25;
  margin-bottom: 12px;
}

.subtitle {
  font-size: .9rem;
  color: #7A6A62;
  max-width: 460px;
}

/* ── PILLARS ── */
.pillars { background: var(--cream-dark); }

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 28px;
}

@media (min-width: 560px) {
  .pillars-grid { grid-template-columns: repeat(3, 1fr); }
}

.pillar {
  background: white;
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.pillar-icon {
  width: 48px; height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
}

.pillar h3 {
  font-size: .95rem;
  color: var(--blue);
}

.pillar p {
  font-size: .8rem;
  color: #8A7A72;
  line-height: 1.55;
}

/* ── PRODUCTS ── */
.products { background: white; }

.tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 24px;
  margin-bottom: 4px;
}

.tab {
  padding: 8px 16px;
  border-radius: 50px;
  border: 2px solid var(--cream-dark);
  background: transparent;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .2s;
  color: #8A7A72;
}

.tab[aria-selected="true"] { background: var(--blue); border-color: var(--blue); color: white; }
.tab:hover:not([aria-selected="true"]) { border-color: var(--blue); color: var(--blue); }

.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .28s ease; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

.prod-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

@media (min-width: 480px) {
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
}

.prod-card {
  background: var(--cream);
  border-radius: 16px;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
}

.prod-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 28px rgba(0,0,0,.1);
}

.prod-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: var(--cream-dark);
}

.prod-placeholder {
  width: 100%;
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: var(--cream-dark);
  gap: 8px;
  color: #BBA898;
  font-size: 1.8rem;
}

.prod-info { padding: 12px 14px 16px; }

.prod-tag {
  display: inline-block;
  color: white;
  font-size: .58rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 5px;
  margin-bottom: 6px;
}

.prod-name {
  font-size: .88rem;
  color: var(--blue);
  margin-bottom: 3px;
}

.prod-desc {
  font-size: .73rem;
  color: #9A8A82;
}

.products-cta {
  text-align: center;
  margin-top: 28px;
}

/* ── HISTORIA ── */
.historia {
  background: var(--brown);
  color: white;
  position: relative;
  overflow: hidden;
}

.historia .label  { color: var(--gold); }
.historia .title  { color: white; }

.historia-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-top: 4px;
}

@media (min-width: 600px) {
  .historia-inner {
    flex-direction: row;
    align-items: flex-start;
    gap: 40px;
  }
  .historia-photo { order: -1; flex-shrink: 0; }
  .historia-text  { flex: 1; }
}

.historia-photo {
  width: 100%;
  max-width: 260px;
  margin: 0 auto;
}

@media (min-width: 600px) {
  .historia-photo { width: 220px; margin: 0; }
}

.historia-photo img {
  width: 100%;
  border-radius: 20px;
  display: block;
  box-shadow: 0 12px 40px rgba(0,0,0,.45);
  object-fit: cover;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity .7s ease, transform .7s ease;
}

.historia-photo img.visible {
  opacity: 1;
  transform: translateX(0);
}

.historia-quote {
  border-left: 3px solid var(--gold);
  padding-left: 20px;
  margin: 24px 0;
  font-size: 1.05rem;
  font-style: italic;
  line-height: 1.65;
  color: white;
}

.historia p {
  font-size: .92rem;
  color: rgba(255,255,255,.8);
  line-height: 1.75;
  margin-top: 12px;
}

.historia p.highlight {
  color: var(--gold);
  font-weight: 600;
  font-size: .95rem;
}

/* ── TRUST ── */
.trust { background: var(--cream-dark); }

.trust-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-top: 28px;
}

@media (min-width: 480px) {
  .trust-grid { grid-template-columns: repeat(4, 1fr); }
}

.trust-badge {
  background: white;
  border-radius: 18px;
  padding: 20px 14px;
  text-align: center;
}

.trust-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin: 0 auto 10px;
}

.trust-badge h3 {
  font-size: .78rem;
  color: var(--blue);
  margin-bottom: 4px;
}

.trust-badge p {
  font-size: .68rem;
  color: #9A8A82;
  line-height: 1.4;
}

.trust-disclaimer {
  margin-top: 28px;
  padding: 20px 24px;
  background: white;
  border-radius: 16px;
  border-left: 3px solid var(--gold);
}

.trust-disclaimer p {
  font-size: .78rem;
  color: #7A6A62;
  line-height: 1.7;
  margin-top: 10px;
}

.trust-disclaimer p:first-child { margin-top: 0; }

/* ── CTA FINAL ── */
.cta-final {
  background: var(--orange);
  text-align: center;
  padding: 60px 24px;
  position: relative;
  overflow: hidden;
}

.cta-final > * { position: relative; z-index: 1; }

.cta-final .label { color: rgba(255,255,255,.7); }

.cta-final h2 {
  color: white;
  font-size: clamp(1.4rem, 5vw, 2rem);
  margin-bottom: 12px;
}

.cta-final p {
  color: rgba(255,255,255,.9);
  font-size: .9rem;
  margin-bottom: 28px;
  max-width: 340px;
  margin-left: auto;
  margin-right: auto;
}

.wa-options {
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
}

.btn-wa-solid {
  background: white;
  color: var(--brown);
  padding: 14px 24px;
  border-radius: 50px;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 18px rgba(0,0,0,.14);
  transition: transform .2s, box-shadow .2s;
  width: 100%;
  max-width: 300px;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
}

.btn-wa-solid:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.18);
}

/* ── FOOTER ── */
footer {
  background: var(--blue);
  padding: 32px 24px;
  text-align: center;
}

.footer-name {
  font-family: 'Rockwell', 'Rockwell Nova', 'Courier Bold', Georgia, serif;
  color: white;
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.footer-slogan {
  color: var(--gold);
  font-size: .85rem;
  font-weight: 600;
  font-style: italic;
  margin-bottom: 14px;
}

footer p {
  color: rgba(255,255,255,.45);
  font-size: .72rem;
}

footer address {
  font-style: normal;
  color: rgba(255,255,255,.4);
  font-size: .7rem;
  margin-top: 8px;
}

/* ── FLOATING WA ── */
.float-wa {
  position: fixed;
  bottom: 22px; right: 22px;
  z-index: 999;
  background: var(--wa);
  color: white;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,.48);
  text-decoration: none;
  transition: transform .2s;
}

.float-wa:hover { transform: scale(1.08); }

.ico-wa { fill: white; }
