/* ═══════════════════════════════════════════════════════
   VETACALMA — Design System v2
   Sin Bootstrap. CSS puro artesanal.
═══════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ── Variables ── */
:root {
  --gold:       #C9A84C;
  --gold-light: #E8C96A;
  --gold-dark:  #9A7A2E;
  --ink:        #111010;
  --ink-soft:   #1E1B18;
  --cream:      #FAF8F3;
  --cream-dark: #F0EBE0;
  --warm-mid:   #E8E0D0;
  --muted:      #7D7264;
  --border:     #DDD5C5;
  --white:      #FFFFFF;
  --green-wa:   #25D366;

  --nav-h:      66px;
  --radius:     10px;
  --radius-sm:  5px;

  --shadow-sm:  0 1px 6px rgba(17,16,16,.07);
  --shadow-md:  0 4px 20px rgba(17,16,16,.11);
  --shadow-lg:  0 12px 48px rgba(17,16,16,.16);

  --ease:       cubic-bezier(.4,0,.2,1);
  --t:          .26s;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img    { display: block; max-width: 100%; }
a      { color: inherit; text-decoration: none; }
ul     { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }

/* ── Type helpers ── */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garamond', serif;
  line-height: 1.12;
}
.eyebrow {
  display: block;
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .6rem;
}
.gold-bar {
  display: block;
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
  margin: .5rem 0 1.4rem;
}
.gold-bar--center { margin-left: auto; margin-right: auto; }

/* ── Layout ── */
.container   { max-width: 1160px; margin: 0 auto; padding: 0 1.5rem; }
.section     { padding: 5.5rem 0; }
.section--sm { padding: 3rem 0; }

/* ══════════════════════════════════════
   NAV
══════════════════════════════════════ */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: var(--nav-h);
  background: var(--ink);
  display: flex; align-items: center;
  padding: 0 2rem; gap: 2rem;
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
}
.nav__brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--gold-light);
  letter-spacing: .12em;
  white-space: nowrap;
}
.nav__links {
  display: flex; align-items: center; gap: .1rem; flex: 1;
}
.nav__links a {
  font-size: .73rem; font-weight: 500;
  letter-spacing: .12em; text-transform: uppercase;
  color: rgba(255,255,255,.6);
  padding: .45rem .85rem; border-radius: var(--radius-sm);
  transition: color var(--t) var(--ease), background var(--t) var(--ease);
}
.nav__links a:hover,
.nav__links a.active { color: var(--gold-light); background: rgba(201,168,76,.12); }
.nav__right { margin-left: auto; }

/* WhatsApp pill in nav */
.nav-wa {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem 1rem;
  background: rgba(37,211,102,.15);
  border: 1px solid rgba(37,211,102,.3);
  border-radius: 99px;
  color: #5EE88B;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  transition: background var(--t), border-color var(--t);
}
.nav-wa:hover { background: rgba(37,211,102,.25); border-color: rgba(37,211,102,.5); }
.nav-wa svg { width: 14px; height: 14px; fill: currentColor; flex-shrink: 0; }

/* Instagram pill in nav */
.nav-ig {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .42rem 1rem;
  background: rgba(214,41,118,.15);
  border: 1px solid rgba(214,41,118,.3);
  border-radius: 99px;
  color: #F84E97;
  font-size: .72rem; font-weight: 600; letter-spacing: .06em;
  transition: background var(--t), border-color var(--t);
}
.nav-ig:hover { background: rgba(214,41,118,.25); border-color: rgba(214,41,118,.5); }
.nav-ig svg { width: 14px; height: 14px; stroke: currentColor; fill: none; stroke-width: 2; flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; }

/* IG FLOAT */
.ig-float {
  position: fixed; bottom: 4.8rem; right: 1.75rem; z-index: 200;
  display: flex; align-items: center; gap: .55rem;
  background: linear-gradient(45deg, #f09433, #dc2743, #bc1888); color: #fff;
  padding: .75rem 1.3rem; border-radius: 99px;
  font-size: .8rem; font-weight: 600; letter-spacing: .04em;
  box-shadow: 0 6px 24px rgba(220,39,67,.35);
  transition: transform var(--t), box-shadow var(--t);
}
.ig-float:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 32px rgba(220,39,67,.45); }
.ig-float svg { width: 18px; height: 18px; fill: none; stroke: #fff; stroke-width: 2; flex-shrink: 0; stroke-linecap: round; stroke-linejoin: round; }

/* Hamburger */
.nav__toggle {
  display: none; flex-direction: column; gap: 5px; padding: 6px; margin-left: auto;
}
.nav__toggle span {
  display: block; width: 22px; height: 2px;
  background: var(--gold-light); border-radius: 2px;
  transition: transform var(--t), opacity var(--t);
}

/* ══════════════════════════════════════
   BUTTONS
══════════════════════════════════════ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .72rem 1.7rem;
  border-radius: var(--radius-sm);
  font-size: .78rem; font-weight: 600;
  letter-spacing: .09em; text-transform: uppercase;
  transition: all var(--t) var(--ease);
}
.btn-gold   { background: var(--gold); color: var(--ink); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(201,168,76,.38); }

.btn-ink    { background: var(--ink); color: var(--cream); }
.btn-ink:hover { background: var(--ink-soft); box-shadow: var(--shadow-md); }

.btn-outline { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--cream); }

.btn-outline-light { background: transparent; border: 1.5px solid rgba(255,255,255,.4); color: var(--white); }
.btn-outline-light:hover { background: var(--white); color: var(--ink); }

.btn-wa { background: var(--green-wa); color: #fff; }
.btn-wa:hover { filter: brightness(1.08); transform: translateY(-1px); box-shadow: 0 4px 16px rgba(37,211,102,.4); }

.btn-sm { padding: .48rem 1.1rem; font-size: .72rem; }
.btn-lg { padding: .9rem 2.2rem; font-size: .82rem; }

/* ══════════════════════════════════════
   PRODUCT CARD
══════════════════════════════════════ */
.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t) var(--ease), box-shadow var(--t) var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.product-card__img {
  position: relative; overflow: hidden;
  aspect-ratio: 1/1; background: var(--cream-dark);
}
.product-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .45s var(--ease);
}
.product-card:hover .product-card__img img { transform: scale(1.08); }

.product-card__overlay {
  position: absolute; inset: 0;
  background: rgba(17,16,16,.48);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t) var(--ease);
}
.product-card:hover .product-card__overlay { opacity: 1; }

.product-card__body { padding: .9rem 1.1rem 1.1rem; }
.product-card__cat  { font-size: .65rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--gold-dark); margin-bottom: .25rem; }
.product-card__name { font-weight: 500; font-size: .9rem; color: var(--ink); display: block; margin-bottom: .2rem; }
.product-card__price { font-size: .82rem; color: var(--muted); }

/* ══════════════════════════════════════
   CATEGORY CARD
══════════════════════════════════════ */
.cat-card {
  border-radius: var(--radius); overflow: hidden;
  position: relative; aspect-ratio: 3/4; cursor: pointer;
  box-shadow: var(--shadow-sm);
}
.cat-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.cat-card:hover img { transform: scale(1.06); }
.cat-card__label {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(17,16,16,.82) 0%, rgba(17,16,16,.12) 55%, transparent 100%);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  padding: 1.4rem 1.3rem;
}
.cat-card__label h3 { font-family: 'Cormorant Garamond', serif; font-size: 1.35rem; color: var(--white); margin-bottom: .6rem; }

/* ══════════════════════════════════════
   ACCORDION (FAQ)
══════════════════════════════════════ */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:first-child { border-top: 1px solid var(--border); }

.accordion-trigger {
  width: 100%; text-align: left;
  padding: 1.2rem 0;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  font-size: .92rem; font-weight: 600; color: var(--ink);
  background: none; border: none; cursor: pointer;
  transition: color var(--t);
}
.accordion-trigger:hover { color: var(--gold-dark); }
.accordion-icon {
  width: 26px; height: 26px; border-radius: 50%;
  background: var(--cream-dark);
  display: flex; align-items: center; justify-content: center;
  font-size: .82rem; font-weight: 700; color: var(--ink);
  flex-shrink: 0;
  transition: background var(--t), transform var(--t), color var(--t);
}
.accordion-item.open .accordion-trigger { color: var(--gold-dark); }
.accordion-item.open .accordion-icon { background: var(--gold); color: var(--ink); transform: rotate(45deg); }

.accordion-body { overflow: hidden; max-height: 0; transition: max-height .38s var(--ease); }
.accordion-item.open .accordion-body { max-height: 300px; }
.accordion-body__inner { padding: 0 0 1.2rem; font-size: .88rem; color: var(--muted); line-height: 1.75; }

/* ══════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════ */
.page-hero {
  background: var(--ink);
  padding: 4.5rem 0 3.5rem; text-align: center;
}
.page-hero h1 { color: var(--white); font-size: clamp(2.2rem,4vw,3.2rem); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.55); font-size: .95rem; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.footer { background: var(--ink-soft); color: rgba(255,255,255,.55); padding: 4rem 2rem 2rem; }
.footer__inner { max-width: 1160px; margin: 0 auto; }
.footer__top {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.6fr;
  gap: 2.5rem; padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.footer__brand h3 { font-family: 'Cormorant Garamond', serif; color: var(--gold-light); font-size: 1.5rem; margin-bottom: .5rem; }
.footer__brand p  { font-size: .83rem; max-width: 230px; line-height: 1.7; }
.footer__socials { display: flex; gap: .75rem; margin-top: 1.25rem; }
.footer__socials a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid rgba(255,255,255,.15); color: rgba(255,255,255,.6); transition: all var(--t); }
.footer__socials a:hover { color: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); background: rgba(201,168,76,.08); }
.footer__socials svg { width: 17px; height: 17px; stroke-width: 1.8; }
.footer__col h4 {
  font-size: .68rem; font-weight: 600; letter-spacing: .18em;
  text-transform: uppercase; color: rgba(255,255,255,.3); margin-bottom: 1rem;
}
.footer__col ul { display: flex; flex-direction: column; gap: .55rem; }
.footer__col a  { font-size: .83rem; color: rgba(255,255,255,.5); transition: color var(--t); }
.footer__col a:hover { color: var(--gold-light); }

.footer__wa {
  background: rgba(37,211,102,.08); border: 1px solid rgba(37,211,102,.2);
  border-radius: var(--radius); padding: 1.4rem 1.5rem;
}
.footer__wa p { font-size: .84rem; color: rgba(255,255,255,.65); margin-bottom: .9rem; line-height: 1.6; }

.footer__bottom {
  padding-top: 1.75rem; text-align: center;
  font-size: .75rem; color: rgba(255,255,255,.25);
}

/* ══════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav__links {
    display: none; flex-direction: column;
    position: absolute; top: var(--nav-h); left: 0; right: 0;
    background: var(--ink); padding: 1rem 1.5rem 1.5rem; gap: .1rem;
  }
  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }
  .nav { position: relative; flex-wrap: wrap; height: auto; min-height: var(--nav-h); }
  .nav__right { display: none; } /* hide wa pill on mobile, shown inline */
  .footer__top { grid-template-columns: 1fr; gap: 1.75rem; }
}