/* ============================================================
   PARSUA MACRAMÉ · Hoja de estilos principal
   Arte ancestral asirio-persa · tejido a mano
   ============================================================ */

/* ---------- RESET ---------- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, textarea, select { font-family: inherit; }

/* ============================================================
   TOKENS · PALETAS (data-palette en <html>)
   ============================================================ */
:root {
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Jost', system-ui, sans-serif;
  --font-script: 'Sacramento', cursive;
  --font-emblem: 'Marcellus', serif;
  --logo-cream: #F4EDDE;

  --maxw: 1320px;
  --gutter: clamp(20px, 5vw, 64px);
  --radius: 2px;
  --ease: cubic-bezier(.22,.61,.36,1);
  --title-color: var(--ink);   /* color de títulos (Tweak) */

  /* Tierra Ancestral (default) */
  --bg:       #F4EEE2;
  --bg-2:     #EAE0CF;
  --surface:  #FBF7EF;
  --ink:      #2A2017;
  --ink-soft: #4A3C2E;
  --muted:    #8A7660;
  --line:     #DDCFB8;
  --primary:  #AE5C36;   /* terracota */
  --secondary:#76303B;   /* vino */
  --accent:   #65663F;   /* oliva */
  --gold:     #B0884A;
  --gold-2:   #C8A35C;
  --on-dark:  #F4EEE2;
}

html[data-palette="cobalto"] {
  --bg:       #F1EDE4;
  --bg-2:     #E4DCCC;
  --surface:  #FAF6EE;
  --ink:      #20253A;
  --ink-soft: #353C57;
  --muted:    #7A7888;
  --line:     #D6CDBB;
  --primary:  #2A4A72;   /* cobalto */
  --secondary:#1A2747;   /* azul noche */
  --accent:   #9A6A2C;   /* latón */
  --gold:     #BE9A4E;
  --gold-2:   #D2B062;
  --on-dark:  #F1EDE4;
}

html[data-palette="champana"] {
  --bg:       #F7F2E9;
  --bg-2:     #EEE7D8;
  --surface:  #FCFAF4;
  --ink:      #382E22;
  --ink-soft: #564732;
  --muted:    #978770;
  --line:     #E2D7C5;
  --primary:  #A1855A;   /* champaña */
  --secondary:#82684A;   /* taupe */
  --accent:   #7C7956;   /* salvia */
  --gold:     #BBA063;
  --gold-2:   #D0BA82;
  --on-dark:  #F7F2E9;
}

html[data-palette="rojiza"] {
  --bg:       #F5ECE3;
  --bg-2:     #EEDFD1;
  --surface:  #FCF6EF;
  --ink:      #2C1A16;
  --ink-soft: #4D2E25;
  --muted:    #8F6E5C;
  --line:     #E4CFBC;
  --primary:  #B14E2C;   /* óxido */
  --secondary:#6C242E;   /* vino profundo */
  --accent:   #99602F;   /* ámbar */
  --gold:     #B6863F;
  --gold-2:   #CFA055;
  --on-dark:  #F5ECE3;
}

/* Bosque — paleta auténtica del logo Parsua (verde profundo + crema) */
html[data-palette="bosque"] {
  --bg:       #F4EEDE;
  --bg-2:     #E7DEC8;
  --surface:  #FBF6EA;
  --ink:      #1B2D28;   /* verde bosque del logo */
  --ink-soft: #2F463F;
  --muted:    #6E7B6F;
  --line:     #D8CDB4;
  --primary:  #2C463C;   /* verde medio */
  --secondary:#1B2D28;   /* verde profundo */
  --accent:   #8A6A37;   /* latón cálido */
  --gold:     #A98545;
  --gold-2:   #C29A55;
  --on-dark:  #F4EEDE;
}

/* ---------- BASE ---------- */
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  transition: background .5s var(--ease), color .5s var(--ease);
}

/* ---------- TIPOGRAFÍA ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: .42em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 400;
  display: inline-block;
}
.display {
  font-family: var(--font-display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  color: var(--title-color, var(--ink));
}
h1.display { font-size: clamp(44px, 7vw, 104px); }
h2.display { font-size: clamp(34px, 5vw, 64px); }
h3.display { font-size: clamp(24px, 3vw, 38px); }
.display em { font-style: italic; color: var(--secondary); font-weight: 500; }
.lead {
  font-family: var(--font-display);
  font-size: clamp(19px, 2.2vw, 26px);
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-soft);
}
p { text-wrap: pretty; }
.rule { width: 54px; height: 2px; background: var(--gold); border: none; }
.rule.center { margin-inline: auto; }

/* Tweak: títulos en verde profundo #122620 */
html[data-titulos="verde"] { --title-color: #122620; }
html[data-titulos="verde"] .pcard-name,
html[data-titulos="verde"] .faq-q,
html[data-titulos="verde"] .process-cell h4,
html[data-titulos="verde"] .value h4,
html[data-titulos="verde"] .spirit-card h4,
html[data-titulos="verde"] .contact-card h4,
html[data-titulos="verde"] .cart-head h3 { color: #122620; }
/* Sobre fondos oscuros los títulos siguen en crema para contraste */
html[data-titulos="verde"] .bg-ink .display,
html[data-titulos="verde"] .bg-ink .spirit-card h4 { color: var(--on-dark); }

/* Textura de fibra en titulares */
.textured {
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9 0.04' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix type='matrix' values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"),
    linear-gradient(95deg, var(--secondary) 0%, var(--primary) 42%, var(--gold) 100%);
  background-size: 180px 180px, 100% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- LAYOUT ---------- */
.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(64px, 10vw, 130px); }
.section-head { max-width: 760px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head .rule { margin-top: 24px; }
.bg-alt { background: var(--bg-2); }
.bg-ink { background: var(--ink); color: var(--on-dark); }
.bg-ink .display, .bg-ink .lead { color: var(--on-dark); }
.bg-ink .muted { color: rgba(244,238,226,.62); }
.muted { color: var(--muted); }

/* ---------- BOTONES ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-size: 12px; font-weight: 400;
  letter-spacing: .2em; text-transform: uppercase;
  padding: 16px 34px; border-radius: var(--radius);
  transition: all .35s var(--ease); position: relative; white-space: nowrap;
}
.btn-solid { background: var(--ink); color: var(--on-dark); }
.btn-solid:hover { background: var(--secondary); transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: #2A2017; }
.btn-gold:hover { background: var(--primary); color: #fff; transform: translateY(-2px); }
.btn-outline { border: 1px solid var(--line); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: var(--ink); color: var(--on-dark); }
.btn-ghost-light { border: 1px solid rgba(244,238,226,.35); color: var(--on-dark); }
.btn-ghost-light:hover { border-color: var(--gold); color: var(--gold); }
.btn-wa { background: #25803a; color: #fff; }
.btn-wa:hover { background: #1f6e31; transform: translateY(-2px); }
.btn svg { width: 16px; height: 16px; }
.link-arrow {
  font-size: 12px; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink); display: inline-flex; gap: 8px; align-items: center;
  border-bottom: 1px solid var(--line); padding-bottom: 4px; transition: all .3s var(--ease);
}
.link-arrow:hover { color: var(--secondary); border-color: var(--secondary); gap: 14px; }

/* ============================================================
   ANUNCIO + HEADER
   ============================================================ */
.announce {
  background: var(--ink); color: var(--on-dark);
  text-align: center; font-size: 11px; letter-spacing: .28em;
  text-transform: uppercase; padding: 9px 16px; font-weight: 300;
}
.announce b { color: var(--gold-2); font-weight: 400; }

.site-header {
  position: sticky; top: 0; z-index: 600;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: background .4s var(--ease);
}
.header-inner {
  max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter);
  height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
}
.nav-primary { display: flex; gap: 30px; }
.nav-primary a {
  font-size: 12px; letter-spacing: .15em; text-transform: uppercase;
  color: var(--ink-soft); font-weight: 400; position: relative; padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav-primary a::after {
  content: ''; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--secondary); transition: width .3s var(--ease);
}
.nav-primary a:hover, .nav-primary a.active { color: var(--secondary); }
.nav-primary a:hover::after, .nav-primary a.active::after { width: 100%; }
.header-brand { display: flex; justify-content: center; }
.header-actions { display: flex; justify-content: flex-end; align-items: center; gap: 18px; }
.icon-btn {
  width: 42px; height: 42px; display: grid; place-items: center; color: var(--ink);
  border-radius: 50%; transition: background .3s var(--ease); position: relative;
}
.icon-btn:hover { background: var(--bg-2); }
.icon-btn svg { width: 21px; height: 21px; }
.cart-count {
  position: absolute; top: 2px; right: 2px; min-width: 18px; height: 18px; padding: 0 4px;
  background: var(--secondary); color: #fff; border-radius: 9px; font-size: 10px;
  display: grid; place-items: center; font-weight: 500;
}
.cart-count:empty, .cart-count[data-count="0"] { display: none; }
.burger { display: none; }

/* ============================================================
   LOGOS (3 versiones intercambiables)
   ============================================================ */
.brand-logo { display: inline-flex; align-items: center; gap: 12px; line-height: 1; color: var(--ink); }
.brand-logo .lg-img { transition: opacity .3s var(--ease); }

/* Logo EXACTO de la marca (imagen real recoloreada por paleta) */
.brand-logo .lg-img { height: 64px; width: auto; display: block; }
.brand-logo .lg-img.is-medallon { height: 60px; width: 60px; border-radius: 50%; object-fit: cover; }

/* Logo grande para footer */
.brand-logo.lg-big .lg-img { height: 104px; }
.brand-logo.lg-big .lg-img.is-medallon { height: 104px; width: 104px; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; background: var(--bg); overflow: hidden; }
.hero-grid {
  max-width: var(--maxw); margin-inline: auto; padding: clamp(40px,6vw,72px) var(--gutter) clamp(48px,7vw,90px);
  display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px,5vw,72px); align-items: center;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy .eyebrow { margin-bottom: 26px; opacity: 0; transform: translateY(14px); animation: rise .8s var(--ease) .1s forwards; }
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy h1 .l1 { display: block; opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) .2s forwards; }
.hero-copy h1 .l2 { display: block; font-style: italic; opacity: 0; transform: translateY(22px); animation: rise .9s var(--ease) .35s forwards; }
.hero-copy .lead { max-width: 480px; margin-bottom: 38px; opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) .5s forwards; }
.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; opacity: 0; transform: translateY(18px); animation: rise .9s var(--ease) .65s forwards; }
.hero-meta { display: flex; gap: 34px; margin-top: 44px; opacity: 0; animation: rise .9s var(--ease) .8s forwards; }
.hero-meta .m { display: flex; flex-direction: column; }
.hero-meta .m b { font-family: var(--font-display); font-size: 30px; color: var(--secondary); font-weight: 600; line-height: 1; }
.hero-meta .m span { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); margin-top: 7px; }
@keyframes rise { to { opacity: 1; transform: translateY(0); } }

/* Carrusel */
.hero-carousel { position: relative; aspect-ratio: 4/5; }
.hc-frame {
  position: absolute; inset: 0; border-radius: 3px; overflow: hidden;
  box-shadow: 0 40px 90px -40px rgba(42,32,23,.5);
}
.hc-frame::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.18), inset 0 0 90px rgba(42,32,23,.25);
}
.hc-slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.1s var(--ease), transform 6s linear;
  background-size: cover; background-position: center; transform: scale(1.06);
}
.hc-slide.is-on { opacity: 1; transform: scale(1); z-index: 1; }
.hc-cap {
  position: absolute; left: 22px; bottom: 22px; z-index: 3; color: #fff;
  text-shadow: 0 2px 18px rgba(0,0,0,.55);
}
.hc-cap .e { font-size: 10px; letter-spacing: .32em; text-transform: uppercase; color: var(--gold-2); }
.hc-cap b { font-family: var(--font-display); font-size: 26px; font-weight: 500; display: block; margin-top: 4px; }
.hc-dots { position: absolute; right: 22px; bottom: 24px; z-index: 3; display: flex; flex-direction: column; gap: 9px; }
.hc-dots button { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.45); transition: all .3s var(--ease); }
.hc-dots button.is-on { background: #fff; transform: scale(1.4); }
.hero-badge {
  position: absolute; left: -26px; top: 30px; z-index: 4;
  width: 108px; height: 108px; border-radius: 50%; background: var(--surface);
  display: grid; place-items: center; text-align: center; box-shadow: 0 16px 40px -16px rgba(42,32,23,.5);
  animation: spin 26s linear infinite;
}
.hero-badge svg { width: 100%; height: 100%; position: absolute; inset: 0; }
.hero-badge .bd-core { font-family: var(--font-emblem); font-size: 22px; color: var(--secondary); animation: spin 26s linear infinite reverse; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- MARQUEE ---------- */
.marquee { background: var(--ink); overflow: hidden; padding: 15px 0; border-block: 1px solid color-mix(in srgb, var(--gold) 30%, transparent); }
.marquee-track { display: flex; white-space: nowrap; width: max-content; animation: scrollx 34s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item { display: inline-flex; align-items: center; gap: 30px; padding-right: 30px; font-family: var(--font-display); font-style: italic; font-size: 22px; color: var(--on-dark); }
.marquee-item i { color: var(--gold-2); font-size: 12px; font-style: normal; }
@keyframes scrollx { to { transform: translateX(-50%); } }

/* ============================================================
   COLECCIONES (cards grandes)
   ============================================================ */
.collections-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 52px; }
.col-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.col-card { position: relative; aspect-ratio: 3/4; overflow: hidden; border-radius: 2px; display: block; }
.col-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.col-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(28,20,14,.78) 0%, rgba(28,20,14,.06) 55%); }
.col-card:hover img { transform: scale(1.07); }
.col-card .col-info { position: absolute; left: 24px; right: 24px; bottom: 24px; z-index: 2; color: #fff; }
.col-card .col-info .e { font-size: 10px; letter-spacing: .3em; text-transform: uppercase; color: var(--gold-2); }
.col-card .col-info h3 { font-family: var(--font-display); font-size: 27px; font-weight: 500; margin: 5px 0 8px; }
.col-card .col-info span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; opacity: .85; display: inline-flex; gap: 8px; align-items: center; }
.col-card:hover .col-info span { gap: 14px; }
.col-card .col-info span { transition: gap .3s var(--ease); }

/* ============================================================
   PRODUCTOS (cards)
   ============================================================ */
.shop-toolbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 40px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter {
  font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted);
  padding: 9px 18px; border: 1px solid var(--line); border-radius: 40px; transition: all .3s var(--ease); background: transparent;
}
.filter:hover { color: var(--ink); border-color: var(--ink); }
.filter.active { background: var(--ink); color: var(--on-dark); border-color: var(--ink); }
.sortby { font-size: 12px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.sortby select { border: 1px solid var(--line); background: var(--surface); color: var(--ink); padding: 8px 12px; border-radius: 2px; font-size: 12px; }

.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.product-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pcard { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; overflow: hidden; display: flex; flex-direction: column; transition: box-shadow .4s var(--ease), transform .4s var(--ease); }
.pcard:hover { box-shadow: 0 28px 60px -34px rgba(42,32,23,.5); transform: translateY(-4px); }
.pcard-media { position: relative; aspect-ratio: 4/5; overflow: hidden; background: var(--bg-2); }
.pcard-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.pcard:hover .pcard-media img { transform: scale(1.06); }
.pcard-tags { position: absolute; top: 14px; left: 14px; z-index: 2; display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.pcard-tag {
  font-size: 9.5px; letter-spacing: .14em;
  text-transform: uppercase; padding: 5px 11px; font-weight: 400; color: #fff; border-radius: 2px;
}
.tag-pers { background: var(--gold); color: #2A2017; display: inline-flex; align-items: center; gap: 5px; }
.tag-nuevo  { background: var(--accent); }
.tag-limitado { background: var(--gold); color: #2A2017; }
.tag-bestseller { background: var(--secondary); }
.tag-personalizable { background: var(--primary); }
.tag-descuento { background: var(--secondary); color: #fff; font-weight: 500; }
.pcard-price.has-sale { display: inline-flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.pcard-price.has-sale s { color: var(--muted); font-size: 15px; font-weight: 400; text-decoration-thickness: 1px; }
.pcard-pers { display: inline; font-style: italic; color: var(--gold); }
.pcard-pers::before { content: ' · '; color: var(--muted); font-style: normal; }
.pcard-fav { position: absolute; top: 12px; right: 12px; z-index: 2; width: 36px; height: 36px; border-radius: 50%; background: color-mix(in srgb, var(--surface) 85%, transparent); display: grid; place-items: center; color: var(--ink); opacity: 0; transform: translateY(-6px); transition: all .3s var(--ease); }
.pcard:hover .pcard-fav { opacity: 1; transform: translateY(0); }
.pcard-fav svg { width: 18px; height: 18px; }
.pcard-quick {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; background: var(--ink); color: var(--on-dark);
  text-align: center; padding: 13px; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
  transform: translateY(101%); transition: transform .35s var(--ease);
}
.pcard:hover .pcard-quick { transform: translateY(0); }
.pcard-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.pcard-cat { font-size: 10px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.pcard-name { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.1; color: var(--ink); }
.pcard-desc { font-size: 12.5px; color: var(--muted); line-height: 1.55; }
.pcard-meta { font-size: 11px; color: var(--gold); letter-spacing: .04em; display: flex; align-items: center; gap: 6px; margin-top: 4px; }
.pcard-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 14px; }
.pcard-price { font-family: var(--font-display); font-size: 22px; color: var(--secondary); font-weight: 600; }
.pcard-price small { font-size: 11px; color: var(--muted); font-weight: 400; font-family: var(--font-body); letter-spacing: .02em; }
.pcard-add { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-2); color: var(--ink); display: grid; place-items: center; transition: all .3s var(--ease); }
.pcard-add:hover { background: var(--secondary); color: #fff; transform: rotate(90deg); }
.pcard-add svg { width: 18px; height: 18px; }

/* ============================================================
   PROCESO ARTESANAL
   ============================================================ */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); margin-top: 56px; }
.process-cell { padding: 40px 30px 46px; border-right: 1px solid var(--line); position: relative; transition: background .35s var(--ease); }
.process-cell:last-child { border-right: none; }
.process-cell:hover { background: var(--surface); }
.process-cell .p-num { font-family: var(--font-display); font-size: 15px; color: var(--gold); letter-spacing: .1em; }
.process-cell .p-ico { color: var(--secondary); margin: 22px 0 18px; }
.process-cell .p-ico svg { width: 34px; height: 34px; }
.process-cell h4 { font-family: var(--font-display); font-size: 22px; font-weight: 500; margin-bottom: 10px; }
.process-cell p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ============================================================
   SOBRE / SPLIT IMAGEN + TEXTO
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split.reverse .split-media { order: 2; }
.split-media { position: relative; }
.split-media img { width: 100%; border-radius: 2px; box-shadow: 0 36px 80px -44px rgba(42,32,23,.55); }
.split-media .frame-accent { position: absolute; inset: -16px -16px auto auto; width: 70%; height: 70%; border: 1px solid var(--gold); z-index: -1; }
.split-text .eyebrow { margin-bottom: 18px; }
.split-text h2 { margin-bottom: 22px; }
.split-text p + p { margin-top: 16px; }
.split-text .rule { margin: 26px 0; }
.signature { font-family: var(--font-script); font-size: 40px; color: var(--secondary); line-height: 1; margin-top: 8px; }

.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; margin-top: 40px; }
.value { background: var(--surface); border: 1px solid var(--line); padding: 28px 24px; border-radius: 2px; }
.value .v-ico { color: var(--gold); margin-bottom: 14px; }
.value .v-ico svg { width: 28px; height: 28px; }
.value h4 { font-family: var(--font-display); font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.value p { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ============================================================
   SIGNIFICADO ESPIRITUAL
   ============================================================ */
.spirit { position: relative; }
.spirit .wrap { position: relative; z-index: 2; }
.spirit-quote { font-family: var(--font-display); font-style: italic; font-size: clamp(26px,3.6vw,46px); font-weight: 400; line-height: 1.35; max-width: 900px; margin-inline: auto; text-align: center; }
.spirit-quote .hl { color: var(--gold-2); font-style: normal; }
.spirit-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 60px; }
.spirit-card { text-align: center; padding: 12px; }
.spirit-card .sc-ico { width: 64px; height: 64px; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--gold) 60%, transparent); display: grid; place-items: center; margin: 0 auto 22px; color: var(--gold-2); }
.spirit-card .sc-ico svg { width: 30px; height: 30px; }
.spirit-card h4 { font-family: var(--font-display); font-size: 23px; font-weight: 500; margin-bottom: 10px; }
.spirit-card p { font-size: 13.5px; line-height: 1.7; opacity: .8; }

/* ============================================================
   TESTIMONIOS
   ============================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 54px; }
.testi { background: var(--surface); border: 1px solid var(--line); padding: 34px 30px; border-radius: 2px; display: flex; flex-direction: column; gap: 18px; }
.testi .stars { color: var(--gold); letter-spacing: 3px; font-size: 14px; }
.testi blockquote { font-family: var(--font-display); font-size: 19px; font-style: italic; line-height: 1.55; color: var(--ink-soft); }
.testi .who { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.testi .who .av { width: 42px; height: 42px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; font-family: var(--font-display); font-size: 18px; color: var(--secondary); }
.testi .who b { font-size: 13px; font-weight: 500; display: block; letter-spacing: .04em; }
.testi .who span { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }

/* ============================================================
   INSTAGRAM
   ============================================================ */
.ig-grid { display: grid; grid-template-columns: repeat(6,1fr); gap: 12px; margin-top: 46px; }
.ig-cell { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: 2px; }
.ig-cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-cell::after { content: ''; position: absolute; inset: 0; background: var(--secondary); opacity: 0; transition: opacity .35s var(--ease); }
.ig-cell svg { position: absolute; inset: 0; margin: auto; width: 26px; height: 26px; color: #fff; opacity: 0; z-index: 2; transition: opacity .35s var(--ease); }
.ig-cell:hover::after { opacity: .42; }
.ig-cell:hover svg { opacity: 1; }
.ig-cell:hover img { transform: scale(1.08); }

/* ============================================================
   FRANJA CTA
   ============================================================ */
.cta-band { text-align: center; }
.cta-band h2 { margin-bottom: 18px; }
.cta-band p { max-width: 560px; margin: 0 auto 34px; }
.cta-band .hero-ctas { justify-content: center; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: var(--on-dark); padding-top: clamp(56px,8vw,90px); }
.footer-top { max-width: var(--maxw); margin-inline: auto; padding: 0 var(--gutter) 60px; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.4fr; gap: 40px; }
.footer-brand p { color: rgba(244,238,226,.6); font-size: 13.5px; max-width: 280px; margin-top: 22px; line-height: 1.7; }
.footer-col h5 { font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: 20px; }
.footer-col a { display: block; color: rgba(244,238,226,.7); font-size: 13.5px; padding: 6px 0; transition: color .3s var(--ease); }
.footer-col a:hover { color: #fff; }
.footer-news p { color: rgba(244,238,226,.6); font-size: 13.5px; margin-bottom: 16px; line-height: 1.6; }
.news-form { display: flex; border: 1px solid rgba(244,238,226,.25); border-radius: 2px; overflow: hidden; }
.news-form input { flex: 1; background: transparent; border: none; padding: 13px 14px; color: #fff; font-size: 13px; }
.news-form input::placeholder { color: rgba(244,238,226,.4); }
.news-form button { background: var(--gold); color: #2A2017; padding: 0 18px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.footer-social { display: flex; gap: 12px; margin-top: 22px; }
.footer-social a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(244,238,226,.25); display: grid; place-items: center; color: rgba(244,238,226,.8); transition: all .3s var(--ease); }
.footer-social a:hover { background: var(--gold); color: #2A2017; border-color: var(--gold); }
.footer-social svg { width: 18px; height: 18px; }
.footer-pay { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 18px; }
.footer-pay span { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: rgba(244,238,226,.45); }
.pay-chip { font-size: 11px; padding: 5px 10px; border: 1px solid rgba(244,238,226,.2); border-radius: 3px; color: rgba(244,238,226,.75); }
.footer-bottom { border-top: 1px solid rgba(244,238,226,.14); padding: 22px var(--gutter); max-width: var(--maxw); margin-inline: auto; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom p, .footer-bottom a { font-size: 12px; color: rgba(244,238,226,.5); }

/* ============================================================
   WHATSAPP FLOTANTE
   ============================================================ */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 500;
  display: inline-flex; align-items: center; gap: 10px;
  background: #25803a; color: #fff; padding: 13px 18px 13px 14px; border-radius: 40px;
  box-shadow: 0 14px 36px -12px rgba(0,0,0,.5); transition: all .35s var(--ease);
}
.wa-float:hover { background: #1f6e31; transform: translateY(-3px); }
.wa-float svg { width: 26px; height: 26px; }
.wa-float span { font-size: 13px; letter-spacing: .04em; font-weight: 400; }
@media (max-width: 600px) { .wa-float span { display: none; } .wa-float { padding: 14px; } }

/* ============================================================
   CARRITO (drawer)
   ============================================================ */
.cart-overlay { position: fixed; inset: 0; background: rgba(28,20,14,.5); backdrop-filter: blur(3px); z-index: 900; opacity: 0; pointer-events: none; transition: opacity .35s var(--ease); }
.cart-overlay.open { opacity: 1; pointer-events: auto; }
.cart-drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(430px, 100vw); background: var(--bg); z-index: 901;
  transform: translateX(100%); transition: transform .4s var(--ease); display: flex; flex-direction: column; box-shadow: -20px 0 60px -30px rgba(0,0,0,.5);
}
.cart-drawer.open { transform: translateX(0); }
.cart-head { display: flex; align-items: center; justify-content: space-between; padding: 24px var(--gutter); border-bottom: 1px solid var(--line); }
.cart-head h3 { font-family: var(--font-display); font-size: 26px; font-weight: 500; }
.cart-head .count-pill { font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.cart-close { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; color: var(--ink); }
.cart-close:hover { background: var(--bg-2); }
.cart-items { flex: 1; overflow-y: auto; padding: 8px var(--gutter); }
.cart-empty { text-align: center; padding: 70px 20px; color: var(--muted); }
.cart-empty svg { width: 48px; height: 48px; margin: 0 auto 18px; color: var(--line); }
.cart-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.cart-row img { width: 72px; height: 88px; object-fit: cover; border-radius: 2px; background: var(--bg-2); }
.cart-row .ci-name { font-family: var(--font-display); font-size: 18px; font-weight: 500; line-height: 1.1; }
.cart-row .ci-cat { font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); margin: 2px 0 8px; }
.cart-row .ci-price { font-size: 14px; color: var(--secondary); font-weight: 500; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 40px; margin-top: 8px; }
.qty button { width: 28px; height: 28px; display: grid; place-items: center; color: var(--ink); font-size: 15px; }
.qty span { min-width: 26px; text-align: center; font-size: 13px; }
.ci-remove { font-size: 11px; color: var(--muted); text-align: right; align-self: flex-start; letter-spacing: .04em; }
.ci-remove:hover { color: var(--secondary); }
.cart-foot { border-top: 1px solid var(--line); padding: 22px var(--gutter) 26px; background: var(--surface); }
.cart-line { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); margin-bottom: 8px; }
.cart-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 18px; }
.cart-total span { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); }
.cart-total b { font-family: var(--font-display); font-size: 30px; color: var(--secondary); font-weight: 600; }
.cart-foot .btn { width: 100%; justify-content: center; }
.cart-note { font-size: 11px; color: var(--muted); text-align: center; margin-top: 12px; line-height: 1.5; }

/* Toast */
.toast { position: fixed; left: 50%; bottom: 30px; transform: translate(-50%, 120%); z-index: 950; background: var(--ink); color: var(--on-dark); padding: 14px 22px; border-radius: 3px; font-size: 13px; letter-spacing: .04em; display: flex; align-items: center; gap: 10px; box-shadow: 0 16px 40px -16px rgba(0,0,0,.6); transition: transform .4s var(--ease); }
.toast.show { transform: translate(-50%, 0); }
.toast svg { width: 18px; height: 18px; color: var(--gold-2); }

/* ============================================================
   TWEAKS PANEL
   ============================================================ */
.tweaks-panel {
  position: fixed; right: 20px; bottom: 20px; z-index: 1000; width: 312px; max-width: calc(100vw - 40px);
  background: var(--surface); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 30px 70px -28px rgba(0,0,0,.55);
  display: none; flex-direction: column; overflow: hidden; font-family: var(--font-body);
}
.tweaks-panel.open { display: flex; }
.tw-head { display: flex; align-items: center; justify-content: space-between; padding: 15px 18px; border-bottom: 1px solid var(--line); cursor: grab; }
.tw-head b { font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.tw-head .tw-close { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); }
.tw-head .tw-close:hover { background: var(--bg-2); color: var(--ink); }
.tw-body { padding: 16px 18px 20px; max-height: 70vh; overflow-y: auto; }
.tw-group + .tw-group { margin-top: 22px; }
.tw-group > label { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 12px; }
.tw-logos { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.tw-logo-opt { border: 1px solid var(--line); border-radius: 5px; padding: 12px 6px; text-align: center; background: var(--bg); transition: all .25s var(--ease); }
.tw-logo-opt:hover { border-color: var(--muted); }
.tw-logo-opt.active { border-color: var(--secondary); box-shadow: 0 0 0 1px var(--secondary); }
.tw-logo-opt .lp { height: 44px; display: grid; place-items: center; color: var(--ink); }
.tw-logo-opt .lp img { max-width: 44px; max-height: 42px; width: auto; height: auto; display: block; }
.tw-logo-opt .lp img.is-medallon { width: 42px; height: 42px; max-width: none; border-radius: 50%; object-fit: cover; }
.tw-logo-opt small { font-size: 9px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: 8px; display: block; }
.tw-palettes { display: flex; flex-direction: column; gap: 8px; }
.tw-pal-opt { display: flex; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; background: var(--bg); transition: all .25s var(--ease); }
.tw-pal-opt:hover { border-color: var(--muted); }
.tw-pal-opt.active { border-color: var(--secondary); box-shadow: 0 0 0 1px var(--secondary); }
.tw-pal-opt .sw { display: flex; gap: 4px; }
.tw-pal-opt .sw i { width: 16px; height: 16px; border-radius: 50%; display: block; }
.tw-pal-opt b { font-size: 12.5px; font-weight: 400; }
.tw-pal-opt small { font-size: 10px; color: var(--muted); display: block; }
.tw-titulos { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.tw-tit-opt { display: flex; align-items: center; gap: 9px; border: 1px solid var(--line); border-radius: 5px; padding: 10px 12px; background: var(--bg); transition: all .25s var(--ease); }
.tw-tit-opt:hover { border-color: var(--muted); }
.tw-tit-opt.active { border-color: var(--secondary); box-shadow: 0 0 0 1px var(--secondary); }
.tw-tit-opt .tit-sw { width: 16px; height: 16px; border-radius: 50%; flex-shrink: 0; border: 1px solid rgba(0,0,0,.1); }
.tw-tit-opt b { font-size: 11.5px; font-weight: 400; }

/* ============================================================
   FORMULARIOS (contacto)
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--ink-soft); }
.field input, .field textarea, .field select { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 14px 15px; font-size: 14px; color: var(--ink); transition: border-color .3s var(--ease); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--secondary); }
.field textarea { resize: vertical; min-height: 130px; }

.contact-cards { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.contact-card { background: var(--surface); border: 1px solid var(--line); padding: 30px 26px; border-radius: 2px; }
.contact-card .cc-ico { width: 48px; height: 48px; border-radius: 50%; background: var(--bg-2); display: grid; place-items: center; color: var(--secondary); margin-bottom: 18px; }
.contact-card .cc-ico svg { width: 22px; height: 22px; }
.contact-card h4 { font-family: var(--font-display); font-size: 21px; font-weight: 500; margin-bottom: 6px; }
.contact-card p, .contact-card a { font-size: 14px; color: var(--muted); }
.contact-card a:hover { color: var(--secondary); }

/* Pagos */
.pay-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; margin-top: 36px; }
.pay-card { background: var(--surface); border: 1px solid var(--line); border-radius: 2px; padding: 22px 14px; text-align: center; }
.pay-card b { font-family: var(--font-display); font-size: 20px; display: block; color: var(--ink); }
.pay-card small { font-size: 11px; color: var(--muted); letter-spacing: .06em; }

/* FAQ / acordeón */
.faq { max-width: 800px; margin-inline: auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q { width: 100%; text-align: left; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 24px 0; font-family: var(--font-display); font-size: 21px; font-weight: 500; color: var(--ink); }
.faq-q .pm { color: var(--gold); font-size: 24px; transition: transform .3s var(--ease); flex-shrink: 0; }
.faq-item.open .faq-q .pm { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease); }
.faq-a p { padding-bottom: 24px; color: var(--muted); font-size: 14.5px; line-height: 1.75; }

/* Page hero (subpáginas) */
.page-hero { padding: clamp(56px,8vw,96px) 0 clamp(40px,5vw,56px); text-align: center; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero p { max-width: 600px; margin: 22px auto 0; }
.breadcrumb { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin-bottom: 22px; }
.breadcrumb a:hover { color: var(--secondary); }

/* utils */
.mt-s { margin-top: 18px; } .mt-m { margin-top: 34px; } .mt-l { margin-top: 56px; }
.center { text-align: center; }
.hide { display: none !important; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
  .ig-grid { grid-template-columns: repeat(4,1fr); }
}
@media (max-width: 900px) {
  .header-inner { grid-template-columns: auto 1fr auto; }
  .nav-primary { position: fixed; inset: 0 0 0 auto; width: min(320px,80vw); background: var(--bg); flex-direction: column; gap: 0; padding: 90px 30px 30px; transform: translateX(100%); transition: transform .4s var(--ease); z-index: 590; box-shadow: -20px 0 60px -30px rgba(0,0,0,.4); }
  .nav-primary.open { transform: translateX(0); }
  .nav-primary a { font-size: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); }
  .header-brand { justify-content: flex-start; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-carousel { max-width: 480px; margin-inline: auto; width: 100%; }
  .split, .split.reverse .split-media { grid-template-columns: 1fr; order: 0; }
  .split.reverse .split-text { order: 2; }
  .col-grid, .process-grid, .values-grid, .spirit-cards, .testi-grid, .contact-cards { grid-template-columns: 1fr; }
  .process-cell { border-right: none; border-bottom: 1px solid var(--line); }
  .process-cell:last-child { border-bottom: none; }
  .pay-grid { grid-template-columns: repeat(2,1fr); }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .product-grid, .product-grid.cols-3 { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .ig-grid { grid-template-columns: repeat(3,1fr); }
  .hero-meta { gap: 22px; }
  .pcard-body { padding: 14px; }
  .pcard-name { font-size: 18px; }
  .marquee-item { font-size: 18px; }
  .testi-grid { gap: 14px; }
}
