:root {
  --bg: #f7f3ea;
  --bg-alt: #ece5d3;
  --ink: #211d1a;
  --ink-soft: #6b6259;
  --dark: #1a1712;
  --dark-2: #100e0b;
  --gold: #b08d57;
  --gold-light: #d8b988;
  --olive: #8a6a30;
  --white: #ffffff;
  --radius: 14px;
  --shadow: 0 20px 40px -20px rgba(16, 14, 11, 0.4);
  --container: 1160px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Manrope', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.55;
}
h1, h2, h3 {
  font-family: 'Cinzel', serif; font-weight: 600; color: var(--dark); margin: 0 0 .4em;
  letter-spacing: .3px;
}
p { margin: 0 0 1em; color: var(--ink-soft); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(16, 14, 11, 0.96);
  backdrop-filter: blur(6px);
  color: var(--bg);
  border-bottom: 1px solid rgba(216,185,136,0.15);
}
.site-header__inner { display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand__mark {
  display: inline-flex; width: 44px; height: 44px; min-width: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  border: 1px solid rgba(216,185,136,0.4); background: var(--white);
}
.brand__mark img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__text strong {
  font-family: 'Cinzel', serif; font-weight: 600; font-size: 17px; letter-spacing: 1.5px;
  text-transform: uppercase; color: var(--gold-light);
}
.brand__text small { font-size: 10.5px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(247,243,234,0.6); }

.site-nav { display: flex; gap: 26px; }
.site-nav a { font-size: 14px; color: rgba(247,243,234,0.85); transition: color .2s; }
.site-nav a:hover { color: var(--gold-light); }
.site-nav__socials { display: none; }

.site-header__actions { display: flex; align-items: center; gap: 14px; }
.site-header__socials { display: flex; align-items: center; gap: 14px; }
.icon-link { color: rgba(247,243,234,0.85); width: 22px; height: 22px; }
.icon-link svg { width: 100%; height: 100%; }
.icon-link:hover { color: var(--gold-light); }

.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0;
  border: 1px solid rgba(216,185,136,0.35); color: rgba(247,243,234,0.85);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.social-btn svg { width: 18px; height: 18px; }
.social-btn:hover { background: var(--gold); border-color: var(--gold); color: var(--dark-2); }
.footer-socials { display: flex; gap: 12px; margin-top: 14px; }

.menu-toggle {
  display: none; background: none; border: 1px solid rgba(255,255,255,0.25);
  color: var(--bg); width: 40px; height: 40px; border-radius: 50%;
  align-items: center; justify-content: center; cursor: pointer; flex-shrink: 0;
}
.menu-toggle svg { width: 20px; height: 20px; }

.nav-overlay { display: none; position: fixed; inset: 0; background: rgba(16,14,11,0.5); z-index: 39; }
.nav-overlay.is-open { display: block; }

.cart-toggle {
  position: relative; background: none; border: 1px solid rgba(255,255,255,0.25);
  color: var(--bg); width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.cart-toggle svg { width: 20px; height: 20px; }
.cart-toggle__count {
  position: absolute; top: -6px; right: -6px; background: var(--gold);
  color: var(--dark-2); font-size: 11px; font-weight: 700; min-width: 18px; height: 18px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center; padding: 0 4px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  color: var(--bg);
  padding: 120px 0 96px;
  min-height: 560px;
  display: flex;
  align-items: center;
}
.hero__bg {
  position: absolute; inset: 0; z-index: 0;
  background: url('/img/about/olivar-1.jpg') center 55% / cover no-repeat;
  animation: heroZoom 22s ease-in-out infinite alternate;
}
.hero__scrim {
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(16,14,11,0.5), rgba(16,14,11,0.55) 55%, var(--dark-2) 96%);
}
.hero__inner { position: relative; z-index: 2; max-width: 720px; }
@keyframes heroZoom {
  0% { transform: scale(1); }
  100% { transform: scale(1.12); }
}
@media (prefers-reduced-motion: reduce) {
  .hero__bg { animation: none; }
}
.eyebrow {
  display: inline-block; font-size: 12px; letter-spacing: 2.5px; text-transform: uppercase;
  font-family: 'Cinzel', serif;
  color: var(--gold-light); border: 1px solid rgba(216,185,136,0.4); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  color: var(--bg); font-size: clamp(30px, 4.6vw, 48px); font-weight: 600; line-height: 1.25;
  text-transform: none; letter-spacing: .2px;
}
.hero__lead { color: rgba(247,243,234,0.78); font-size: 17px; max-width: 560px; }
.hero__actions { display: flex; gap: 16px; margin-top: 28px; flex-wrap: wrap; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 14.5px;
  cursor: pointer; border: 1px solid transparent; transition: transform .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: linear-gradient(135deg, var(--gold-light), var(--gold)); color: var(--dark-2); box-shadow: 0 10px 24px -10px rgba(176,141,87,0.6); }
.btn--ghost { background: transparent; color: var(--bg); border-color: rgba(247,243,234,0.4); }
.btn--ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }
.btn--large { padding: 15px 30px; font-size: 15.5px; }
.btn--block { width: 100%; }
.btn--add { background: var(--dark); color: var(--bg); padding: 9px 18px; font-size: 13px; }
.btn--add:hover { background: var(--olive); }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--bg-alt); border-bottom: 1px solid rgba(26,23,18,0.08); }
.trust-strip__inner { display: flex; flex-wrap: wrap; gap: 24px; justify-content: space-between; padding: 22px 24px; }
.trust-item { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 600; color: var(--dark); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section--alt { background: var(--bg-alt); }
.section__title { font-size: clamp(24px, 3vw, 32px); text-transform: uppercase; letter-spacing: 1.5px; }
.section__subtitle { max-width: 560px; margin-bottom: 40px; }

/* ---------- Product grid ---------- */
.product-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.product-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid rgba(26,23,18,0.08); transition: box-shadow .2s ease, transform .2s ease;
  display: flex; flex-direction: column;
}
.product-card:hover { box-shadow: var(--shadow); transform: translateY(-4px); }
.product-card__media {
  display: flex; aspect-ratio: 1/1; background: linear-gradient(160deg, var(--bg-alt), #ddd2b4);
  align-items: center; justify-content: center; padding: 20px; overflow: hidden;
}
.product-card__media img { max-width: 100%; max-height: 100%; width: auto; object-fit: contain; }
.product-icon { width: 55%; height: 100%; }
.product-card__body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.product-card__brand { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.product-card__name { font-size: 18px; margin: 0; text-transform: none; letter-spacing: 0; }
.product-card__name a:hover { color: var(--olive); }
.product-card__presentation { font-size: 13px; color: var(--ink-soft); margin: 0; flex: 1; }
.product-card__footer { display: flex; align-items: center; justify-content: space-between; margin-top: 10px; }
.product-card__price { font-family: 'Cinzel', serif; font-size: 19px; font-weight: 600; color: var(--dark); }

/* ---------- About / envios ---------- */
.about__text { max-width: 640px; }
.envios { max-width: 640px; }
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-gallery img {
  width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius);
  border: 1px solid rgba(26,23,18,0.08);
}
.about-gallery__main { grid-column: 1 / -1; aspect-ratio: 16/10; }
.about-gallery__main img { aspect-ratio: 16/10; }
.about-gallery__sub { aspect-ratio: 1/1; }
.about-gallery__sub img { aspect-ratio: 1/1; }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark-2); color: rgba(247,243,234,0.75); }
.site-footer__inner { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 32px; padding: 56px 24px 32px; }
.site-footer h4 { color: var(--gold-light); font-family: 'Manrope', sans-serif; font-size: 13px; letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 12px; }
.site-footer p { color: rgba(247,243,234,0.7); font-size: 14px; }
.site-footer a:hover { color: var(--gold-light); }
.brand__mark--footer { width: 60px; height: 60px; min-width: 60px; margin-bottom: 14px; border-color: rgba(216,185,136,0.3); }
.site-footer__bottom { text-align: center; padding: 18px; font-size: 12.5px; border-top: 1px solid rgba(247,243,234,0.1); color: rgba(247,243,234,0.5); }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed; bottom: 24px; right: 24px; width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 28px -6px rgba(0,0,0,0.4); z-index: 50; transition: transform .2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 30px; height: 30px; }

/* ---------- Cart drawer ---------- */
.cart-overlay {
  position: fixed; inset: 0; background: rgba(28,36,34,0.55); opacity: 0; pointer-events: none;
  transition: opacity .25s ease; z-index: 60;
}
.cart-overlay.is-open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(400px, 92vw);
  background: var(--white); z-index: 61; box-shadow: -12px 0 40px -12px rgba(0,0,0,0.35);
  transform: translateX(100%); transition: transform .3s ease; display: flex; flex-direction: column;
}
.cart-drawer.is-open { transform: translateX(0); }
.cart-drawer__header { display: flex; align-items: center; justify-content: space-between; padding: 20px 22px; border-bottom: 1px solid rgba(26,23,18,0.08); }
.cart-drawer__header button { background: none; border: none; cursor: pointer; width: 24px; height: 24px; color: var(--ink); }
.cart-drawer__items { flex: 1; overflow-y: auto; padding: 12px 22px; }
.cart-item { display: flex; gap: 12px; padding: 14px 0; border-bottom: 1px solid rgba(26,23,18,0.06); }
.cart-item__info { flex: 1; }
.cart-item__name { font-weight: 700; font-size: 14px; margin-bottom: 2px; }
.cart-item__price { font-size: 13px; color: var(--ink-soft); }
.cart-item__qty { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.cart-item__qty button { width: 24px; height: 24px; border-radius: 50%; border: 1px solid rgba(26,23,18,0.2); background: none; cursor: pointer; }
.cart-item__remove { background: none; border: none; cursor: pointer; color: #b23; width: 18px; height: 18px; align-self: flex-start; }
.cart-drawer__empty { text-align: center; padding: 40px 0; color: var(--ink-soft); }
.cart-drawer__footer { padding: 18px 22px 24px; border-top: 1px solid rgba(26,23,18,0.08); }
.cart-drawer__total { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 14px; font-size: 15px; }
.cart-drawer__total strong { font-family: 'Cinzel', serif; font-size: 24px; }
.cart-drawer__note { font-size: 12px; color: var(--ink-soft); margin-top: 10px; }

/* ---------- Product detail ---------- */
.product-detail__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.product-detail__media { background: linear-gradient(160deg, var(--bg-alt), #e4dcc6); border-radius: var(--radius); padding: 40px; display: flex; align-items: center; justify-content: center; }
.product-detail__media .product-icon { width: 55%; }
.product-detail__price { font-family: 'Cinzel', serif; font-size: 34px; font-weight: 700; color: var(--dark); }
.product-detail__presentation { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: 12.5px; letter-spacing: 1px; }
.back-link { display: inline-block; margin-top: 18px; font-size: 13px; color: var(--ink-soft); }
.back-link:hover { color: var(--olive); }

/* ---------- Scroll reveal ---------- */
.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-stagger.is-visible > * { opacity: 1; transform: translateY(0); }
.reveal-stagger > * {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: .05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: .15s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: .25s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: .35s; }
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-stagger > * { opacity: 1; transform: none; transition: none; }
}

/* ---------- Contact form ---------- */
.contact-section { background: var(--dark-2); color: rgba(247,243,234,0.85); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-section .section__title { color: var(--gold-light); }
.contact-section p { color: rgba(247,243,234,0.65); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form label { display: flex; flex-direction: column; gap: 6px; font-size: 12.5px; font-weight: 700; letter-spacing: .3px; color: rgba(247,243,234,0.8); }
.contact-form input, .contact-form textarea {
  font-family: inherit; font-size: 14px; padding: 12px 14px; border-radius: 8px;
  border: 1px solid rgba(247,243,234,0.2); background: rgba(247,243,234,0.06); color: var(--bg);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(247,243,234,0.35); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--gold); }
#contact-msg { font-size: 13px; margin-top: 4px; display: none; }
#contact-msg.is-ok { color: #b7d98a; display: block; }
#contact-msg.is-error { color: #e88; display: block; }

@media (max-width: 860px) {
  .contact-inner { grid-template-columns: 1fr; gap: 32px; }
  .site-header__inner { flex-wrap: nowrap; }
  .brand__text strong { font-size: 15px; letter-spacing: 1px; }
  .brand__text small { font-size: 9.5px; }

  .site-header__socials { display: none; }
  .menu-toggle { display: flex; }

  .site-nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--dark-2); border-top: 1px solid rgba(216,185,136,0.15);
    max-height: 0; overflow: hidden; opacity: 0; padding: 0 24px;
    transition: max-height .3s ease, opacity .25s ease;
  }
  .site-nav.is-open { max-height: 420px; opacity: 1; padding: 10px 24px 22px; }
  .site-nav a {
    padding: 12px 0; font-size: 15.5px; white-space: normal;
    border-bottom: 1px solid rgba(247,243,234,0.07);
  }
  .site-nav__socials { display: flex; gap: 22px; padding-top: 16px; }

  .site-footer__inner { grid-template-columns: 1fr; }
  .product-detail__inner { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; gap: 32px; }
  .trust-strip__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 12px; justify-content: initial; }
  .trust-item { font-size: 13px; }
}

@media (max-width: 520px) {
  .about-gallery { grid-template-columns: 1fr 1fr; }
  .hero { padding: 88px 0 64px; }
  .section { padding: 56px 0; }
  .brand__mark { width: 38px; height: 38px; min-width: 38px; }
  .brand__text strong { font-size: 13.5px; letter-spacing: .6px; }
  .brand__text small { font-size: 8.5px; letter-spacing: 1px; }
  .site-header__inner { padding: 10px 16px; gap: 10px; }
}
