:root {
  --ink: #052c35;
  --paper: #f8f8f8;
  --white: #fff;
  --cyan: #4db4cb;
  --mint: #1cd1b2;
  --yellow: #ffbc13;
  --coral: #ff1c45;
  --muted: #5f7175;
  --accent: var(--cyan);
  --accent-ink: var(--ink);
  --line: 3px solid var(--ink);
  --shadow: 7px 7px 0 var(--ink);
  --display: "League Spartan", Arial, sans-serif;
  --body: "Albert Sans", Arial, sans-serif;
}

body[data-theme="pizza"] { --accent: var(--coral); --accent-ink: #fff; --paper: #fff7e7; }
body[data-theme="vasos"] { --accent: var(--cyan); --accent-ink: var(--ink); --paper: #effbfb; }
body[data-theme="bolsas"] { --accent: var(--yellow); --accent-ink: var(--ink); --paper: #f4ecda; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); color: var(--ink); background: var(--paper); }
a { color: inherit; }
img { display: block; max-width: 100%; }

.landing-nav { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 22px; padding: 14px clamp(18px, 4vw, 60px); background: var(--ink); color: #fff; border-bottom: 3px solid var(--ink); }
.landing-brand img { width: 165px; height: auto; }
.landing-nav nav { display: flex; align-items: center; gap: clamp(16px, 3vw, 34px); }
.landing-nav nav a { text-decoration: none; font-size: .86rem; font-weight: 700; }
.nav-cta { min-height: 42px; display: inline-flex; align-items: center; padding: 8px 16px; background: var(--accent); color: var(--accent-ink); border: 2px solid #fff; box-shadow: 3px 3px 0 #fff; text-transform: uppercase; }
.nav-cta:active { transform: translate(3px, 3px); box-shadow: none; }

main { overflow: hidden; }
.landing-hero { max-width: 1440px; margin: 0 auto; padding: clamp(54px, 8vw, 112px) clamp(18px, 4vw, 60px) 72px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr); gap: clamp(34px, 7vw, 105px); align-items: center; }
.eyebrow { margin: 0 0 13px; font-size: .76rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.hero-copy h1 { max-width: 770px; margin: 0; font: 900 clamp(3.5rem, 7.6vw, 7.7rem)/.82 var(--display); letter-spacing: -.055em; text-transform: uppercase; }
.hero-lead { max-width: 660px; margin: 24px 0 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.22rem); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 30px; }
.primary-cta, .secondary-cta { min-height: 54px; display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 12px 20px; border: var(--line); box-shadow: 5px 5px 0 var(--ink); text-decoration: none; font: 800 1rem var(--display); text-transform: uppercase; transition: transform .12s ease, box-shadow .12s ease; }
.primary-cta { background: var(--accent); color: var(--accent-ink); }
.secondary-cta { background: #fff; color: var(--ink); }
.primary-cta:hover, .secondary-cta:hover { transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.primary-cta:active, .secondary-cta:active { transform: translate(5px, 5px); box-shadow: none; }
.trust-list { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 25px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: .86rem; font-weight: 600; }
.trust-list li::before { content: "✓"; margin-right: 7px; color: var(--ink); font-weight: 900; }

.hero-product { position: relative; min-height: 520px; display: grid; place-items: center; border: var(--line); box-shadow: 10px 10px 0 var(--ink); background: #fff; }
.hero-product::before { content: ""; position: absolute; inset: 16px; border: 2px solid var(--ink); pointer-events: none; }
.hero-product img { width: 100%; height: 100%; max-height: 520px; object-fit: contain; padding: 30px; }
.visual-label { position: absolute; top: -18px; left: 22px; z-index: 2; padding: 9px 13px; border: 2px solid var(--ink); background: var(--accent); color: var(--accent-ink); font-size: .72rem; font-weight: 800; letter-spacing: .09em; }
.floating-note { position: absolute; right: -20px; bottom: -25px; display: grid; gap: 2px; min-width: 210px; padding: 15px 17px; border: var(--line); background: var(--yellow); box-shadow: 5px 5px 0 var(--ink); transform: rotate(-1.5deg); }
.floating-note strong { font: 900 1.2rem var(--display); text-transform: uppercase; }
.floating-note span { font-size: .78rem; }

.use-cases { max-width: 1440px; margin: 0 auto; padding: 0 clamp(18px, 4vw, 60px) 90px; display: grid; grid-template-columns: repeat(3, 1fr); }
.use-cases article { min-height: 180px; padding: 25px; border: var(--line); background: #fff; }
.use-cases article + article { border-left: 0; }
.use-cases article:nth-child(2) { background: var(--accent); color: var(--accent-ink); }
.use-cases span { display: block; margin-bottom: 22px; font: 900 1rem var(--display); }
.use-cases h2 { margin: 0 0 8px; font: 800 1.7rem var(--display); text-transform: uppercase; }
.use-cases p { margin: 0; max-width: 34ch; line-height: 1.48; }

.product-section { padding: 78px clamp(18px, 4vw, 60px) 92px; background: #fff; border-top: var(--line); border-bottom: var(--line); }
.product-section > * { max-width: 1320px; margin-left: auto; margin-right: auto; }
.section-heading { display: flex; justify-content: space-between; gap: 24px; align-items: end; margin-bottom: 28px; }
.section-heading h2, .process-section h2, .quote-section h2 { margin: 0; font: 900 clamp(2.6rem, 5vw, 5.2rem)/.88 var(--display); letter-spacing: -.04em; text-transform: uppercase; }
.section-heading > p { margin: 0; padding: 8px 12px; border: 2px solid var(--ink); background: var(--paper); font-size: .82rem; font-weight: 800; text-transform: uppercase; }
.landing-products { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.landing-product { display: flex; flex-direction: column; min-width: 0; border: 2px solid var(--ink); background: var(--paper); transition: transform .15s ease, box-shadow .15s ease; }
.landing-product:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--ink); }
.product-image { position: relative; aspect-ratio: 1/1; display: grid; place-items: center; overflow: hidden; border-bottom: 2px solid var(--ink); background: #fff; }
.product-image img { width: 100%; height: 100%; object-fit: contain; }
.product-badge { position: absolute; top: 10px; left: 10px; padding: 5px 8px; border: 2px solid var(--ink); background: var(--yellow); font-size: .67rem; font-weight: 800; text-transform: uppercase; }
.product-copy { display: flex; flex: 1; flex-direction: column; padding: 15px; }
.product-sku { color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .08em; }
.product-copy h3 { margin: 7px 0 12px; font: 800 1.08rem/1.1 var(--display); }
.product-meta { min-height: 1.4em; margin-bottom: 14px; color: var(--muted); font-size: .78rem; }
.product-bottom { display: flex; align-items: end; justify-content: space-between; gap: 12px; margin-top: auto; }
.product-price { font: 900 1.25rem var(--display); }
.product-link { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border: 2px solid var(--ink); background: var(--accent); color: var(--accent-ink); text-decoration: none; font-weight: 900; }
.product-error { padding: 22px; border: var(--line); background: #fff7e7; font-weight: 700; }

.process-section { max-width: 1320px; margin: 0 auto; padding: 90px clamp(18px, 4vw, 60px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 70px; }
.process-section ol { list-style: none; margin: 0; padding: 0; counter-reset: steps; }
.process-section li { counter-increment: steps; display: grid; grid-template-columns: 50px .8fr 1.2fr; gap: 18px; align-items: center; padding: 20px 0; border-bottom: 2px solid var(--ink); }
.process-section li::before { content: "0" counter(steps); font: 900 1rem var(--display); }
.process-section li strong { font: 800 1.25rem var(--display); text-transform: uppercase; }
.process-section li span { color: var(--muted); }

.quote-section { padding: 96px clamp(18px, 4vw, 60px); text-align: center; background: var(--ink); color: #fff; }
.quote-section > * { margin-left: auto; margin-right: auto; }
.quote-section h2 { max-width: 900px; }
.quote-section > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.7); font-size: 1.05rem; }
.primary-cta.inverse { margin-top: 18px; background: var(--accent); border-color: #fff; box-shadow: 6px 6px 0 #fff; }
.primary-cta.inverse:hover { box-shadow: 8px 8px 0 #fff; }
.landing-footer { display: flex; justify-content: space-between; gap: 20px; padding: 24px clamp(18px, 4vw, 60px); background: var(--accent); color: var(--accent-ink); border-top: var(--line); font-size: .82rem; font-weight: 800; text-transform: uppercase; }

@media (max-width: 1050px) {
  .landing-hero { grid-template-columns: 1fr 380px; }
  .hero-copy h1 { font-size: clamp(3.3rem, 8vw, 5.7rem); }
  .hero-product { min-height: 430px; }
  .landing-products { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .landing-nav nav a:not(.nav-cta) { display: none; }
  .landing-hero { grid-template-columns: 1fr; padding-bottom: 90px; }
  .hero-product { max-width: 620px; width: 100%; min-height: 440px; }
  .use-cases { grid-template-columns: 1fr; }
  .use-cases article + article { border-left: var(--line); border-top: 0; }
  .landing-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-section { grid-template-columns: 1fr; gap: 42px; }
}

@media (max-width: 520px) {
  .landing-brand img { width: 132px; }
  .landing-nav { min-height: 70px; }
  .hero-copy h1 { font-size: clamp(3.05rem, 17vw, 4.7rem); }
  .hero-product { min-height: 340px; }
  .floating-note { right: 8px; bottom: -38px; }
  .section-heading { align-items: start; flex-direction: column; }
  .landing-products { grid-template-columns: 1fr; }
  .process-section li { grid-template-columns: 38px 1fr; }
  .process-section li span { grid-column: 2; }
  .landing-footer { flex-direction: column; }
}

/* Bloques de texto, preguntas e imagen (landings armadas en el sistema) */
.text-section { max-width: 900px; margin: 0 auto; padding: 80px clamp(18px, 4vw, 60px); }
.text-section h2, .faq-section h2 { margin: 0 0 22px; font: 900 clamp(2.2rem, 4.4vw, 4rem)/.92 var(--display); letter-spacing: -.035em; text-transform: uppercase; }
.text-section p:not(.eyebrow) { margin: 0 0 16px; color: var(--muted); font-size: 1.08rem; line-height: 1.65; }
.faq-section { max-width: 980px; margin: 0 auto; padding: 80px clamp(18px, 4vw, 60px); }
.faq-section details { border: var(--line); background: #fff; }
.faq-section details + details { border-top: 0; }
.faq-section summary { cursor: pointer; padding: 18px 20px; font: 800 1.12rem var(--display); list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq-section summary::-webkit-details-marker { display: none; }
.faq-section summary::after { content: "+"; font-weight: 900; }
.faq-section details[open] summary::after { content: "–"; }
.faq-section details p { margin: 0; padding: 0 20px 20px; color: var(--muted); line-height: 1.6; }
.image-section { max-width: 1320px; margin: 0 auto; padding: 60px clamp(18px, 4vw, 60px); }
.image-section img { width: 100%; max-height: 640px; object-fit: cover; border: var(--line); box-shadow: var(--shadow); background: #fff; }
.image-section figcaption { margin-top: 14px; color: var(--muted); font-size: .9rem; font-weight: 600; }
.landing-preview-bar { position: sticky; top: 0; z-index: 50; padding: 8px 16px; background: var(--yellow); color: var(--ink); border-bottom: 2px solid var(--ink); font-size: .8rem; font-weight: 800; text-align: center; text-transform: uppercase; letter-spacing: .06em; }

:focus-visible { outline: 4px solid var(--yellow); outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; } }
