/* ============================================================
   RAYÜN PET — Sistema de diseño v3
   Un fondo armonioso con degradé. Sin bloques de color.
   Acento terracota solo en texto/íconos/botones.
   Tipografía: Lora (serif) + Raleway (sans).
   ============================================================ */

:root {
  /* Paleta cálida */
  --crema:      #FBF6EC;
  --crema-2:    #FFFFFF;
  --arena:      #F1E7D2;
  --arena-2:    #E7D9BD;
  --kraft:      #C9A66B;
  --kraft-osc:  #8A6D45;
  --tierra:     #2B2118;
  --tierra-2:   #6B5A45;
  --linea:      rgba(43, 33, 24, .12);
  --linea-2:    rgba(43, 33, 24, .07);

  --acento:     #C05252;
  --acento-osc: #A83E3E;
  --acento-soft:rgba(192, 82, 82, .10);

  --wa:     #25D366;
  --wa-osc: #1DA851;

  --f-titulo: 'Lora', Georgia, 'Times New Roman', serif;
  --f-cuerpo: 'Raleway', system-ui, -apple-system, Segoe UI, sans-serif;

  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px;
  --s-5: 24px; --s-6: 32px; --s-7: 48px; --s-8: 64px; --s-9: 96px;

  --r-sm: 10px; --r-md: 16px; --r-lg: 24px; --r-xl: 32px; --r-pill: 999px;

  --sh-1: 0 1px 2px rgba(43, 33, 24, .05);
  --sh-2: 0 8px 24px rgba(43, 33, 24, .10);
  --sh-3: 0 18px 44px rgba(43, 33, 24, .16);

  --maxw: 1180px;
  --nav-h: 60px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-cuerpo);
  color: var(--tierra);
  /* Fondo armonioso con degradé cálido (nunca blanco plano) + patrón sutil de huellas */
  background-color: #FBF6EC;
  background-image:
    url('../img/patron-huellas.svg'),
    linear-gradient(180deg, #FCF8F0 0%, #F7ECD8 55%, #F3E4CB 100%),
    radial-gradient(820px 460px at 92% -4%, rgba(201,166,107,.20), transparent 60%),
    radial-gradient(680px 420px at -6% 12%, rgba(192,82,82,.06), transparent 58%);
  background-repeat: repeat, no-repeat, no-repeat, no-repeat;
  background-size: 175px 175px, auto, auto, auto;
  background-attachment: fixed;
  line-height: 1.7;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--acento); text-decoration: none; }
ul, ol { padding-left: 1.2rem; }
h1, h2, h3, h4 { font-family: var(--f-titulo); color: var(--tierra); margin: 0 0 .5em; line-height: 1.18; font-weight: 600; }
h1 { font-size: clamp(2.3rem, 5.5vw, 3.8rem); letter-spacing: -.02em; line-height: 1.08; }
h2 { font-size: clamp(1.85rem, 3.8vw, 2.5rem); letter-spacing: -.015em; }
h3 { font-size: 1.28rem; }
p { margin: 0 0 1rem; color: var(--tierra-2); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 clamp(20px, 5vw, 40px); }
.section { padding: clamp(56px, 8vw, 104px) 0; }
.center { text-align: center; }
.divider { width: 100%; max-width: var(--maxw); margin: 0 auto; height: 1px; background: var(--linea); border: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--f-cuerpo); font-weight: 600; font-size: .7rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--acento);
}
.eyebrow svg { width: 14px; height: 14px; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: var(--r-pill); border: 2px solid transparent;
  font-family: var(--f-cuerpo); font-weight: 600; font-size: .98rem;
  cursor: pointer; transition: transform .2s var(--ease), background .2s, box-shadow .2s, color .2s;
  min-height: 48px; line-height: 1;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--acento); color: #fff; box-shadow: 0 6px 18px rgba(192,82,82,.26); }
.btn-primary:hover { background: var(--acento-osc); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(192,82,82,.32); }
.btn-outline { border-color: var(--linea); color: var(--tierra); background: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--kraft-osc); transform: translateY(-2px); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-osc); transform: translateY(-2px); }
.btn-sm { padding: 9px 16px; font-size: .88rem; min-height: 38px; }
.btn-lg { padding: 15px 30px; font-size: 1.05rem; }

/* ---------- Header flotante ---------- */
.site-header {
  position: fixed; top: 12px; left: 12px; right: 12px; z-index: 50;
  background: rgba(252, 248, 240, .72); backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border: 1px solid var(--linea-2); border-radius: var(--r-pill); box-shadow: var(--sh-1);
  transition: box-shadow .3s, background .3s;
}
.site-header.scrolled { box-shadow: var(--sh-2); background: rgba(252,248,240,.88); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: var(--nav-h); padding: 0 clamp(12px, 3vw, 22px); max-width: 1220px; margin: 0 auto; }

.brand { display: inline-flex; align-items: center; gap: 9px; }
.brand-logo { height: 36px; width: auto; display: block; }
.site-footer .brand-logo { height: 40px; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 50%; background: var(--acento); color: #fff;
  display: grid; place-items: center; flex: none; box-shadow: 0 4px 10px rgba(192,82,82,.28);
}
.brand-mark svg { width: 18px; height: 18px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--f-titulo); font-weight: 600; font-size: 1.12rem; color: var(--tierra); letter-spacing: -.01em; }
.brand-sub { font-family: var(--f-cuerpo); font-size: .56rem; letter-spacing: .2em; text-transform: uppercase; color: var(--kraft-osc); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { font-family: var(--f-cuerpo); font-weight: 600; font-size: .92rem; color: var(--tierra-2); position: relative; transition: color .2s; }
.nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -6px; height: 2px; width: 0; background: var(--acento); transition: width .25s var(--ease); border-radius: 2px; }
.nav a:not(.nav-cta):hover { color: var(--acento); }
.nav a:not(.nav-cta):hover::after, .nav a.activo:not(.nav-cta)::after { width: 100%; }
.nav a.activo:not(.nav-cta) { color: var(--tierra); }
.nav-cta { color: #fff !important; }
.nav-toggle { display: none; background: var(--tierra); color: #fff; border: 0; border-radius: 50%; width: 40px; height: 40px; cursor: pointer; place-items: center; }
.nav-toggle svg { width: 18px; height: 18px; }

/* ---------- Hero (centrado, con imagen de fondo) ---------- */
.hero {
  position: relative; text-align: center;
  padding: calc(var(--nav-h) + 92px) 0 84px;
  background-color: #FCF8F0;
  background-image:
    radial-gradient(ellipse 80% 74% at 50% 38%, rgba(252,248,240,.94), rgba(252,248,240,.72) 100%),
    url('../img/hero-bg.jpg');
  background-size: cover; background-position: center center; background-repeat: no-repeat;
}
.hero .container { position: relative; z-index: 1; max-width: 760px; }
.hero h1 .resalte { color: var(--acento); font-style: italic; }
.hero .lead { font-size: 1.2rem; line-height: 1.65; color: var(--tierra-2); max-width: 42ch; margin: 22px auto 30px; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-mini { display: flex; gap: 24px; flex-wrap: wrap; justify-content: center; margin-top: 34px; padding-top: 24px; border-top: 1px solid var(--linea); }
.hero-mini-item { display: flex; align-items: center; gap: 9px; font-size: .9rem; font-weight: 600; color: var(--tierra); }
.hero-mini-item svg { width: 20px; height: 20px; color: var(--acento); flex: none; }

/* ---------- Strip de valores (sin fondo) ---------- */
.strip-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; padding: 22px 0; }
.strip-item { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: .86rem; color: var(--tierra-2); }
.strip-item svg { width: 18px; height: 18px; color: var(--acento); flex: none; }
.strip-item + .strip-item::before { content: "·"; color: var(--kraft); margin-right: 20px; font-size: 1.4rem; line-height: 0; }

/* ---------- Section heading ---------- */
.sec-head { max-width: 640px; margin: 0 auto 52px; text-align: center; }
.sec-head p { font-size: 1.06rem; }

/* ---------- Features (foto/ícono + texto, sin tarjeta) ---------- */
.feats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.feat { text-align: center; }
.feat img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--sh-1); }
.feat .card-ico { margin-inline: auto; }
.feat h3 { margin: 18px 0 6px; font-size: 1.28rem; }
.feat p { margin: 0; font-size: .98rem; }
.articulo-card.feat { text-align: left; }

/* ---------- Bloque alternating ---------- */
.alt-row { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.alt-row.flip .alt-media { order: 2; }
.alt-media { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 5 / 4; }
.alt-media img { width: 100%; height: 100%; object-fit: cover; }
.alt-text h2 { margin-bottom: 16px; }
.alt-text .lead { font-size: 1.1rem; }
.alt-list { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; }
.alt-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--tierra-2); }
.alt-list li svg { width: 22px; height: 22px; color: var(--acento); flex: none; margin-top: 2px; }
.alt-list li strong { color: var(--tierra); font-weight: 700; }

/* ---------- Cómo se usa (flujo con flechas, sin tarjetas) ---------- */
.flow { display: flex; align-items: stretch; gap: 4px; max-width: 1000px; margin: 0 auto; }
.flow-step { flex: 1; text-align: center; padding: 8px 14px; }
.flow-num { font-family: var(--f-titulo); font-size: 2.6rem; color: var(--acento); line-height: 1; font-weight: 600; }
.flow-step h3 { margin: 12px 0 6px; font-size: 1.12rem; }
.flow-step p { margin: 0; font-size: .94rem; }
.flow-arrow { display: grid; place-items: center; color: var(--kraft-osc); align-self: center; padding: 0 2px; }
.flow-arrow svg { width: 26px; height: 26px; }

/* ---------- Cita (sin fondo oscuro) ---------- */
.quote-section { text-align: center; }
.quote-flower { width: 44px; height: 44px; color: var(--acento); margin: 0 auto 20px; opacity: .8; }
.quote { font-family: var(--f-titulo); font-size: clamp(1.5rem, 3.4vw, 2.3rem); line-height: 1.38; max-width: 22ch; margin: 0 auto; color: var(--tierra); font-weight: 500; }
.quote .resalte { color: var(--acento); font-style: italic; }

/* ---------- Testimonios (sin tarjetas) ---------- */
.testimonios-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.testimonio { background: transparent; border: 0; box-shadow: none; padding: 0; position: relative; }
.stars { display: flex; gap: 2px; color: var(--kraft); margin-bottom: 12px; }
.stars svg { width: 17px; height: 17px; }
.testimonio blockquote { margin: 0 0 18px; font-style: italic; color: var(--tierra-2); font-size: 1rem; line-height: 1.65; font-family: var(--f-titulo); }
.testimonio .autor { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--acento-soft); color: var(--acento); display: grid; place-items: center; font-family: var(--f-titulo); font-weight: 600; flex: none; }
.testimonio .autor-name { font-weight: 700; color: var(--tierra); font-size: .92rem; display: block; }
.testimonio .autor-role { font-size: .8rem; color: var(--tierra-2); }
.ph-tag { display: inline-block; font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-osc); margin-bottom: 10px; }

/* ---------- CTA final (sin bloque de color) ---------- */
.cta-plain { text-align: center; max-width: 640px; margin: 0 auto; }
.cta-plain h2 { margin-bottom: 14px; }
.cta-plain p { font-size: 1.08rem; margin-bottom: 26px; }

/* ---------- Newsletter (captura de email) ---------- */
.news-form { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; max-width: 500px; margin: 0 auto; }
.news-form input[type="email"] {
  flex: 1 1 240px; min-width: 0; min-height: 48px; padding: 12px 20px;
  border: 2px solid var(--linea); border-radius: var(--r-pill);
  background: rgba(255,255,255,.72); color: var(--tierra);
  font-family: var(--f-cuerpo); font-size: 1rem;
  transition: border-color .2s, box-shadow .2s;
}
.news-form input[type="email"]::placeholder { color: var(--kraft-osc); opacity: .85; }
.news-form input[type="email"]:focus { outline: none; border-color: var(--acento); box-shadow: 0 0 0 4px var(--acento-soft); }
.news-form .hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.news-form .btn { flex: 0 0 auto; }
.news-ok { color: var(--acento); font-weight: 600; }
.news-err { color: var(--acento-osc); }
.news-note { font-size: .82rem; color: var(--kraft-osc); margin-top: 14px; }

/* ---------- WhatsApp flotante ---------- */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  background: var(--wa); color: #fff; height: 56px; padding: 0 22px; border-radius: var(--r-pill);
  display: inline-flex; align-items: center; gap: 10px; box-shadow: 0 10px 26px rgba(37,211,102,.42);
  font-weight: 700; font-size: .92rem; transition: transform .2s var(--ease), background .2s;
}
.wa-float:hover { transform: translateY(-2px); background: var(--wa-osc); }
.wa-float svg { width: 24px; height: 24px; }
.wa-float .wa-label { display: none; }

/* ---------- Footer ---------- */
.site-footer { background: transparent; color: var(--tierra-2); padding: 56px 0 32px; border-top: 1px solid var(--linea); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
.site-footer .brand-name { color: var(--tierra); }
.site-footer .brand-sub { color: var(--kraft-osc); }
.site-footer h4 { color: var(--tierra); font-family: var(--f-cuerpo); font-weight: 700; font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 14px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer-links a, .site-footer a { color: var(--tierra-2); transition: color .2s; font-size: .92rem; }
.footer-links a:hover, .site-footer a:hover { color: var(--acento); }
.footer-desc { color: var(--tierra-2); max-width: 34ch; margin-top: 12px; font-size: .92rem; }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 38px; height: 38px; border-radius: 50%; background: rgba(43,33,24,.06); display: grid; place-items: center; transition: background .2s; }
.footer-social a:hover { background: var(--acento); color: #fff; }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { border-top: 1px solid var(--linea); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--tierra-2); }

/* ---------- Páginas internas ---------- */
.page-head { padding-top: calc(var(--nav-h) + 72px); padding-bottom: 24px; text-align: center; }
.page-head .container { max-width: 720px; }
.page-head .eyebrow { margin-bottom: 18px; }
.page-head h1 { margin-bottom: .6em; }
.page-head .lead { font-size: 1.14rem; max-width: 52ch; margin-left: auto; margin-right: auto; }
.breadcrumb { font-size: .84rem; color: var(--kraft-osc); }
.breadcrumb a { color: var(--kraft-osc); }

.producto-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 48px; align-items: center; }
.producto-img { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-2); aspect-ratio: 4 / 5; max-width: 340px; justify-self: center; border: 6px solid #fff; }
.producto-img img { width: 100%; height: 100%; object-fit: cover; }

/* tarjeta genérica (uso mínimo, otras páginas) */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.card { background: rgba(255,255,255,.5); border: 1px solid var(--linea); border-radius: var(--r-lg); padding: 28px; box-shadow: var(--sh-1); transition: transform .28s var(--ease), box-shadow .28s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.card-ico { width: 52px; height: 52px; border-radius: var(--r-md); background: var(--acento-soft); color: var(--acento); display: grid; place-items: center; margin-bottom: 16px; }
.card-ico svg { width: 26px; height: 26px; }

.ficha { width: 100%; border-collapse: collapse; margin-top: 14px; }
.ficha td { padding: 11px 4px; border-bottom: 1px solid var(--linea); font-size: .96rem; }
.ficha td:first-child { color: var(--kraft-osc); font-weight: 700; width: 42%; }
.ficha td:last-child { color: var(--tierra-2); }

.lista-pasos { list-style: none; padding: 0; margin: 22px 0; counter-reset: paso; display: grid; gap: 14px; }
.lista-pasos li { position: relative; padding-left: 54px; color: var(--tierra-2); counter-increment: paso; }
.lista-pasos li::before { content: counter(paso); position: absolute; left: 0; top: -2px; width: 36px; height: 36px; border-radius: 50%; background: var(--acento); color: #fff; font-family: var(--f-titulo); font-weight: 600; display: grid; place-items: center; }

.articulo-card { display: block; border-radius: var(--r-lg); overflow: hidden; color: inherit; box-shadow: var(--sh-1); transition: transform .28s var(--ease), box-shadow .28s; }
.articulo-card:hover { transform: translateY(-5px); box-shadow: var(--sh-2); }
.articulo-card .thumb { aspect-ratio: 16/9; background: var(--arena-2); }
.articulo-card .thumb img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.articulo-card .body { padding: 22px; }
.articulo-card .meta { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--acento); }
.articulo-card h3 { margin: 8px 0 6px; font-size: 1.22rem; }
.articulo-card p { margin: 0; font-size: .94rem; }

.articulo { max-width: 740px; margin: 0 auto; }
.articulo .meta { font-size: .84rem; color: var(--kraft-osc); font-weight: 700; }
.prose p, .prose li { color: var(--tierra-2); }
.prose h2 { margin-top: 34px; }

.nota-ph { font-size: .85rem; color: var(--kraft-osc); background: rgba(201,166,107,.12); border-radius: var(--r-md); padding: 11px 15px; }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

/* ---------- A11y ---------- */
:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 6px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--tierra); color: var(--crema); padding: 10px 16px; z-index: 100; border-radius: var(--r-pill); font-weight: 600; }
.skip:focus { left: 8px; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-grid, .alt-row, .producto-grid, .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .alt-row.flip .alt-media { order: 0; }
  .feats { grid-template-columns: 1fr; gap: 32px; }
  .testimonios-grid { grid-template-columns: 1fr; gap: 32px; }
  .wa-float .wa-label { display: inline; }
  .hero-badge { left: 0; }
  .flow { flex-direction: column; gap: 0; }
  .flow-arrow { transform: rotate(90deg); padding: 6px 0; }
}
@media (max-width: 720px) {
  .nav {
    position: fixed; top: 72px; left: 12px; right: 12px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--crema); border: 1px solid var(--linea); border-radius: var(--r-lg);
    box-shadow: var(--sh-2); padding: 10px;
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .24s var(--ease);
  }
  .nav.abierto { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav a { padding: 12px 10px; border-radius: var(--r-sm); }
  .nav a:not(.nav-cta)::after { display: none; }
  .nav a:not(.nav-cta):hover { background: var(--arena); }
  .nav-cta { margin-top: 6px; justify-content: center; }
  .nav-toggle { display: grid; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (min-width: 721px) and (max-width: 960px) {
  .feats { grid-template-columns: repeat(2, 1fr); }
  .testimonios-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Línea de productos (renderizado por JS desde productos.json) ---------- */
.linea-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dos-lineas { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; max-width: 820px; margin: 0 auto; }
.linea-card { display: flex; flex-direction: column; gap: 8px; padding: 32px; border: 1px solid var(--linea); border-radius: var(--r-lg); background: rgba(255,255,255,.55); box-shadow: var(--sh-1); transition: transform .28s var(--ease), box-shadow .28s; color: inherit; text-decoration: none; }
.linea-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.linea-card-eyebrow { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-osc); }
.linea-card h3 { font-size: 1.5rem; margin: 0; color: var(--tierra); }
.linea-card p { color: var(--tierra-2); margin: 0; flex: 1; }
.linea-card-link { display: inline-flex; align-items: center; gap: 8px; margin-top: 16px; font-weight: 700; color: var(--acento); font-size: .95rem; }
.linea-card-link svg { width: 18px; height: 18px; }
.linea-bloque { margin-bottom: 56px; }
.linea-bloque:last-child { margin-bottom: 0; }
.linea-head { display: flex; align-items: baseline; gap: 12px; margin: 0 0 28px; padding-bottom: 14px; border-bottom: 2px solid var(--kraft); }
.linea-nombre { font-family: var(--f-titulo); font-weight: 600; font-size: 1.5rem; color: var(--tierra); }
.linea-sub { font-size: .76rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--kraft-osc); }
.prod-badge-piloto { background: var(--acento); }
.prod-datos { display: grid; grid-template-columns: max-content 1fr; gap: 6px 16px; margin: 10px 0 0; }
.prod-datos dt { color: var(--kraft-osc); font-weight: 700; font-size: .82rem; margin: 0; }
.prod-datos dd { margin: 0; color: var(--tierra-2); font-size: .95rem; }
.prod-adv { background: var(--acento-soft); border-left: 3px solid var(--acento); padding: 12px 16px; border-radius: 0 var(--r-md) var(--r-md) 0; font-size: .92rem; color: var(--tierra); margin: 0; }
.prod-detalle-soon { margin-top: 22px; color: var(--kraft-osc); font-size: .9rem; }
.producto-card {
  position: relative; display: flex; flex-direction: column; gap: 8px;
  background: rgba(255,255,255,.55); border: 1px solid var(--linea);
  border-radius: var(--r-lg); padding: 26px 22px; box-shadow: var(--sh-1);
  transition: transform .28s var(--ease), box-shadow .28s;
}
.producto-card:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.producto-card .card-ico { margin-bottom: 4px; }
.producto-card h3 { margin: 2px 0 0; font-size: 1.14rem; }
.producto-card .prod-cat {
  font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: var(--kraft-osc); margin: 0;
}
.producto-card .prod-desc { font-size: .92rem; margin: 4px 0 6px; flex: 1; }
.producto-card .prod-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.producto-card .prod-tag {
  font-size: .72rem; font-weight: 600; color: var(--tierra-2);
  background: var(--arena); border-radius: var(--r-pill); padding: 3px 10px;
}
.producto-card .prod-badge {
  position: absolute; top: 14px; right: 14px;
  font-size: .6rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: #fff; background: var(--kraft-osc); border-radius: var(--r-pill); padding: 4px 10px;
}
.producto-card .prod-cta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 6px; }
.producto-card .prod-vermas { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: .82rem; font-weight: 700; color: var(--acento); }
.producto-card .prod-vermas svg { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.producto-card:hover .prod-vermas svg { transform: translateY(2px); }
.linea-intro { max-width: 60ch; margin: 0 auto 40px; text-align: center; }
.linea-intro p { font-size: 1.04rem; }

@media (max-width: 960px) { .linea-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 720px) { .dos-lineas { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .linea-grid { grid-template-columns: 1fr; } }

/* ---------- Tarjeta-botón + detalle de producto (producto.html) ---------- */
button.producto-card {
  width: 100%; text-align: left; font: inherit; color: inherit;
  background: rgba(255,255,255,.55); cursor: pointer;
}
button.producto-card.activo { border-color: var(--acento); box-shadow: 0 0 0 2px var(--acento-soft), var(--sh-2); }
.prod-detalle { position: relative; max-width: 760px; margin: 0 auto; }
.prod-detalle .lead { font-size: 1.1rem; }
.prod-detalle h2 { margin-bottom: 10px; }
.prod-detalle h3 { margin: 32px 0 14px; }
.prod-detalle-img { width: 100%; max-height: 300px; object-fit: cover; border-radius: var(--r-lg); margin: 22px 0; box-shadow: var(--sh-1); }
.prod-detalle-cerrar {
  position: absolute; top: -6px; right: 0; width: 38px; height: 38px; border-radius: 50%;
  border: 1px solid var(--linea); background: rgba(255,255,255,.85); color: var(--tierra); cursor: pointer; font-size: 1rem; line-height: 1;
}
.prod-detalle-cerrar:hover { background: var(--acento); color: #fff; border-color: var(--acento); }
.prod-beneficios { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.prod-beneficios li { display: flex; gap: 12px; align-items: flex-start; color: var(--tierra-2); }
.prod-beneficios li svg { width: 22px; height: 22px; color: var(--acento); flex: none; margin-top: 2px; }
.prod-beneficios li strong { color: var(--tierra); font-weight: 700; }
.prod-faq { display: grid; gap: 18px; }
.prod-faq-item h4 { font-family: var(--f-cuerpo); font-weight: 700; font-size: 1rem; color: var(--tierra); margin: 0 0 4px; }
.prod-faq-item p { margin: 0; }
.prod-detalle-cta { margin-top: 28px; text-align: center; }
.prod-media { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin: 0 0 12px; box-shadow: var(--sh-1); }
.creditos { font-size: .72rem; color: var(--kraft-osc); text-align: center; margin-top: 28px; opacity: .85; }
