/* Lote · Editorial
   Un solo sitio, dos temas. Todo el color vive en los tokens de abajo:
   para otra paleta basta con agregar otro bloque [data-theme="..."]. */

/* ---------- Tokens ---------- */
:root,
[data-theme="terracota"] {
  --paper: #F6F1E8;        /* fondo claro */
  --sand: #E8DEC9;         /* franjas y secciones arena */
  --deep: #14213A;         /* secciones oscuras (condiciones, cotización) */
  --deep-rgb: 20 33 58;
  --shade-rgb: 17 20 28;   /* velo oscuro sobre la foto del hero */
  --ink: #15171C;          /* texto y footer */
  --muted: #6A6558;
  --accent: #C8501B;       /* botones y palabras en cursiva sobre fondo claro */
  --accent-ink: #FFFFFF;   /* texto sobre el acento */
  --accent-soft: #F1B493;  /* cursivas sobre fondo oscuro */
  --hero-accent: #F8D8C2;  /* cursiva del hero */
  --hero-btn: #C8501B;
  --hero-btn-ink: #FFFFFF;
  --hero-photo: url("assets/01-hero.webp");
  --tela-photo: url("assets/07-tela.webp");
}

[data-theme="olive"] {
  --paper: #EFE9DB;
  --sand: #E3DAC3;
  --deep: #222A1C;
  --deep-rgb: 34 42 28;
  --shade-rgb: 22 26 18;
  --ink: #1B1D18;
  --muted: #66644F;
  --accent: #5E6B45;
  --accent-ink: #FFFFFF;
  --accent-soft: #C9D3A0;
  --hero-accent: #DDE6BE;
  --hero-btn: #C9D3A0;
  --hero-btn-ink: #1B1D18;
  --hero-photo: url("assets/01-hero-olive.webp");
  --tela-photo: url("assets/07-tela-olive.webp");
}

:root {
  --line: color-mix(in srgb, var(--ink) 16%, transparent);
  --muted-on-sand: color-mix(in srgb, var(--muted) 70%, var(--ink));   /* más oscuro para pasar AA sobre arena */
  --on-dark: #FFFFFF;
  --on-dark-muted: rgb(255 255 255 / 0.78);
  --on-dark-line: rgb(255 255 255 / 0.28);

  --serif: "Instrument Serif", "Times New Roman", serif;
  --sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;

  --margin: clamp(1.25rem, 6.94vw, 6.25rem);   /* 100px a 1440 */
  --section-y: clamp(4.5rem, 8vw, 7rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 4.5rem; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 1rem; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; }
p { text-wrap: pretty; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link {
  position: fixed; left: 1rem; top: -4rem; z-index: 100; padding: 0.6rem 1rem;
  background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 1rem; }
.icon { width: 1.1rem; height: 1.1rem; flex: none; }

.container { padding-inline: var(--margin); max-width: 90rem; margin-inline: auto; }
.section { padding-block: var(--section-y); }

/* Cada foto existe en dos versiones; se muestra la del tema activo.
   Las ocultas son loading="lazy" y no se descargan. */
[data-theme="terracota"] .themed--olive,
[data-theme="olive"] .themed--terracota { display: none; }

/* ---------- Tipografía ---------- */
.eyebrow {
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1.4rem;
}
.title {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.025em;
  font-size: clamp(2.6rem, 5vw, 4.5rem); line-height: 1.04;
}
.title em, .hero-title em { font-style: italic; color: var(--accent); }
.lead { font-size: clamp(1rem, 1.25vw, 1.125rem); line-height: 1.75; color: var(--muted); max-width: 34rem; }

.text-link {
  display: inline-block; font-weight: 600; text-decoration: none; padding-bottom: 0.15rem;
  border-bottom: 1px solid currentColor; transition: opacity 200ms;
}
.text-link:hover { opacity: 0.65; }

/* ---------- Botones ---------- */
.button {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  min-height: 3.5rem; padding: 0.9rem 1.9rem; border: 0; cursor: pointer;
  background: var(--accent); color: var(--accent-ink);
  font-weight: 600; font-size: 0.95rem; text-decoration: none;
  transition: transform 220ms var(--ease), filter 200ms;
}
.button:hover { filter: brightness(1.08); transform: translateY(-2px); }
.button:active { transform: translateY(0); }
.button--hero { background: var(--hero-btn); color: var(--hero-btn-ink); }
.button--outline { background: transparent; color: var(--on-dark); border: 1px solid var(--on-dark); }
.button--outline:hover { background: rgb(255 255 255 / 0.12); filter: none; }
.button--block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1.5rem;
  padding: 1.6rem clamp(1.25rem, 4.17vw, 3.75rem);
  color: var(--on-dark);
  transition: background-color 300ms, color 300ms, padding 300ms, box-shadow 300ms;
}
.site-header.is-scrolled {
  padding-block: 0.9rem; background: color-mix(in srgb, var(--paper) 94%, transparent);
  color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px);
}
.wordmark {
  display: inline-flex; align-items: baseline; gap: 0.7rem; justify-self: start;
  font-family: var(--serif); font-size: 2.25rem; line-height: 1; letter-spacing: -0.03em; text-decoration: none;
}
.wordmark span { font-family: var(--sans); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; }
.site-nav { display: flex; gap: 2.4rem; font-size: 0.95rem; font-weight: 500; }
.site-nav a, .header-link { text-decoration: none; transition: opacity 200ms; }
.site-nav a:hover { opacity: 0.65; }
.header-cta { justify-self: end; display: flex; align-items: center; gap: 1rem; }
.header-link { font-weight: 600; font-size: 0.95rem; padding-bottom: 0.3rem; border-bottom: 1px solid currentColor; }
.nav-toggle {
  display: none; background: transparent; border: 1px solid currentColor; padding: 0.5rem 1rem;
  font-weight: 600; font-size: 0.9rem; cursor: pointer;
}
.mobile-nav {
  position: fixed; inset: 0; z-index: 45; display: flex; flex-direction: column; justify-content: center; gap: 0.4rem;
  padding: 6rem var(--margin) 3rem; background: var(--deep); color: var(--on-dark);
}
.mobile-nav[hidden] { display: none; }
.mobile-nav a { font-family: var(--serif); font-size: 2.4rem; text-decoration: none; letter-spacing: -0.02em; padding-block: 0.25rem; }
.site-header.is-menu-open { background: transparent; color: var(--on-dark); box-shadow: none; backdrop-filter: none; }

/* ---------- Hero ---------- */
.hero {
  position: relative; isolation: isolate; color: var(--on-dark);
  min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 8rem clamp(1.25rem, 4.17vw, 3.75rem) 4.4rem;
  background:
    linear-gradient(90deg, rgb(var(--shade-rgb) / 0.72) 0%, rgb(var(--shade-rgb) / 0.4) 60%, rgb(var(--shade-rgb) / 0.22) 100%),
    linear-gradient(180deg, rgb(var(--shade-rgb) / 0.4) 0%, rgb(var(--shade-rgb) / 0) 30%, rgb(var(--shade-rgb) / 0.5) 100%),
    var(--hero-photo) center / cover no-repeat;
  background-color: var(--deep);
}
.hero-inner { max-width: 70rem; padding-bottom: 3rem; }
.eyebrow--hero { color: var(--on-dark); margin-bottom: 1.6rem; }
.hero-title {
  font-family: var(--serif); font-weight: 400; letter-spacing: -0.035em;
  font-size: clamp(3.4rem, 10.4vw, 9.4rem); line-height: 0.96;
}
.hero-title em { color: var(--hero-accent); display: block; }
.hero-copy { margin-top: 2rem; max-width: 33rem; font-size: clamp(1.05rem, 1.4vw, 1.25rem); line-height: 1.6; color: var(--on-dark); }
.hero-actions { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 1rem; }

.hero-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
  padding-top: 1.7rem; border-top: 1px solid var(--on-dark-line);
}
.hero-stats li { display: flex; align-items: flex-end; gap: 0.9rem; }
.hero-stats strong { font-family: var(--serif); font-weight: 400; font-size: clamp(2.6rem, 4.4vw, 4rem); line-height: 0.9; letter-spacing: -0.03em; }
.hero-stats span { max-width: 14rem; font-size: 0.9rem; line-height: 1.5; color: var(--on-dark-muted); padding-bottom: 0.1rem; }

/* ---------- 01 Quiénes somos ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.22fr; gap: clamp(2rem, 5.7vw, 5.1rem); align-items: start; }
.about-text .title { margin-bottom: 2rem; }
.about-text .lead { margin-bottom: 2rem; max-width: 32rem; }
.frame { overflow: hidden; background: var(--sand); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--wide { aspect-ratio: 3 / 2; }
.frame--tall { aspect-ratio: 4 / 5; }
.about-figure figcaption { margin-top: 1.1rem; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted); }
.about-figure figcaption b { color: var(--ink); font-weight: 700; margin-right: 0.5rem; }

/* ---------- 02 La línea ---------- */
.line { padding-top: 0; }
.line-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 2rem; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.line-head .title { max-width: 6em; }
.line-note { max-width: 21rem; color: var(--muted); font-size: 1rem; line-height: 1.7; padding-bottom: 0.6rem; }
.products { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; align-items: start; }
.product:nth-child(even) { margin-top: 2.6rem; }
.product-head {
  display: flex; justify-content: space-between; align-items: baseline;
  margin-top: 1.1rem; padding-top: 0.9rem; border-top: 1px solid var(--ink);
}
.product h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1; }
.code { font-size: 0.72rem; letter-spacing: 0.1em; color: var(--muted); }
.product p { margin-top: 0.3rem; font-size: 0.92rem; color: var(--muted); }

/* ---------- 03 Condiciones ---------- */
.terms {
  color: var(--on-dark);
  background:
    linear-gradient(rgb(var(--deep-rgb) / 0.8), rgb(var(--deep-rgb) / 0.88)),
    var(--tela-photo) center / cover no-repeat;
  background-color: var(--deep);
}
.terms .eyebrow { color: var(--on-dark-muted); }
.terms .title { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.rules {
  display: grid; grid-template-columns: 0.9fr 1fr 1fr 1.09fr; border-top: 1px solid var(--on-dark-line);
}
.rules > div { padding: 1.4rem 1.6rem 0.5rem; border-left: 1px solid var(--on-dark-line); }
.rules > div:first-child { padding-left: 0; border-left: 0; }
.rules dt { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1.1rem; }
.rules dd { font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.4rem); letter-spacing: -0.02em; line-height: 1.1; }
.rules p { margin-top: 0.6rem; font-size: 0.88rem; line-height: 1.6; color: var(--on-dark-muted); }
.tiers { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: clamp(2rem, 4vw, 3.5rem); border: 1px solid var(--on-dark-line); }
.tiers li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 2rem 1.9rem; }
.tiers li + li { border-left: 1px solid var(--on-dark-line); }
.tiers strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.02em; }
.tiers span { font-size: 0.88rem; color: var(--on-dark-muted); text-align: right; }

/* ---------- 04 Cómo comprar ---------- */
.steps .title { max-width: 11em; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.steps-list li { padding: 1.5rem 2.5rem 0.5rem; border-left: 1px solid var(--line); }
.steps-list li:first-child { padding-left: 0; border-left: 0; }
.num { display: block; font-family: var(--serif); font-style: italic; font-size: clamp(4rem, 6.3vw, 5.6rem); line-height: 1; letter-spacing: -0.04em; color: var(--deep); margin-bottom: 1.4rem; }
.steps-list h3 { font-family: var(--serif); font-weight: 400; font-size: 2rem; letter-spacing: -0.02em; line-height: 1.1; margin-bottom: 0.7rem; }
.steps-list p { color: var(--muted); max-width: 22rem; }
.shipping-bar {
  margin-top: clamp(2.5rem, 4vw, 3.5rem); padding: 2rem 2.2rem; background: var(--sand);
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap;
  --muted: var(--muted-on-sand);
}
.shipping-bar strong { font-family: var(--serif); font-weight: 400; font-size: clamp(1.5rem, 2.2vw, 2rem); letter-spacing: -0.02em; }
.shipping-bar span { font-size: 0.92rem; color: var(--muted); }

/* ---------- 05 Catálogo ---------- */
.catalog { background: var(--sand); --muted: var(--muted-on-sand); }
.catalog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 6vw, 5rem); align-items: center; }
.catalog-text .title { margin-bottom: 1.8rem; }
.catalog-text { max-width: 34rem; }
.catalog-text .lead { margin-bottom: 2.2rem; max-width: 27.5rem; }
.checks { max-width: 29.5rem; margin-bottom: 2.2rem; border-top: 1px solid var(--line); }
.checks li { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 0.95rem 0; border-bottom: 1px solid var(--line); font-weight: 500; font-size: 0.95rem; }
.file-meta { margin-top: 1rem; font-size: 0.8rem; letter-spacing: 0.04em; color: var(--muted); }

.pdf-mock { position: relative; justify-self: end; width: min(100%, 40rem); aspect-ratio: 625 / 535; }
.sheet {
  position: absolute; background: var(--paper); box-shadow: 0 30px 60px -20px rgb(var(--deep-rgb) / 0.3);
}
.sheet--back { left: 0.5%; top: 10.5%; width: 57%; height: 88%; transform: rotate(-3deg); background: color-mix(in srgb, var(--paper) 92%, var(--sand)); }
.sheet--side {
  left: 45%; top: 0; width: 55%; height: 92%; transform: rotate(3deg);
  background:
    repeating-linear-gradient(180deg, transparent 0 22px, var(--sand) 22px 34px) 18% 12% / 78% 78% no-repeat,
    var(--paper);
}
.cover {
  position: absolute; left: 19%; top: 6%; width: 54%; aspect-ratio: 340 / 460; display: flex; flex-direction: column;
  background: var(--deep); color: var(--on-dark); box-shadow: 0 30px 60px -20px rgb(var(--deep-rgb) / 0.5);
}
.cover-photo { flex: 62 1 0; min-height: 0; overflow: hidden; }
.cover-photo img { width: 100%; height: 100%; object-fit: cover; }
.cover-body { flex: 38 1 0; padding: 7% 8% 6%; display: flex; flex-direction: column; justify-content: space-between; }
.cover-kicker { font-size: clamp(0.5rem, 0.9vw, 0.65rem); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }
.cover-title { font-family: var(--serif); font-size: clamp(1.3rem, 2.5vw, 2.25rem); line-height: 1; letter-spacing: -0.025em; }
.cover-foot { display: flex; justify-content: space-between; font-size: clamp(0.5rem, 0.8vw, 0.62rem); font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- 06 Preguntas ---------- */
.faq-grid { display: grid; grid-template-columns: 4fr 6fr; gap: clamp(2rem, 6.7vw, 6rem); align-items: start; }
.faq .title { margin-bottom: 1.8rem; }
.faq .lead { max-width: 23rem; }
.faq-list { border-top: 1px solid var(--ink); margin-top: 0.4rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; cursor: pointer; list-style: none;
  padding: 1.3rem 0; font-family: var(--serif); font-size: clamp(1.45rem, 2vw, 1.75rem); letter-spacing: -0.02em; line-height: 1.2;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; font-family: var(--sans); font-size: 1.4rem; font-weight: 400; line-height: 1; }
.faq-list details p { padding: 0 3rem 1.5rem 0; margin-top: -0.4rem; color: var(--muted); max-width: 36rem; }

/* ---------- 07 Cotización ---------- */
.quote { background: var(--deep); color: var(--on-dark); }
.quote .eyebrow { color: var(--on-dark-muted); }
.quote .title em { color: var(--accent-soft); }
.quote .lead { color: var(--on-dark); max-width: 22.5rem; }
.quote-grid { display: grid; grid-template-columns: 0.9fr 1fr; gap: clamp(2rem, 6.25vw, 5.6rem); align-items: start; }
.quote-text .title { margin-bottom: 1.8rem; }
.contact { margin-top: 2.6rem; border-top: 1px solid var(--on-dark-line); }
.contact > div { display: flex; gap: 2.2rem; align-items: baseline; padding: 1rem 0; border-bottom: 1px solid var(--on-dark-line); }
.contact dt { flex: 0 0 5.5rem; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark-muted); }
.contact a { text-decoration: none; }
.contact a:hover { text-decoration: underline; text-underline-offset: 3px; }

.quote-form { background: var(--paper); color: var(--ink); padding: clamp(1.5rem, 3.2vw, 2.9rem); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.3rem; margin-bottom: 1.5rem; }
.field span, .chips legend { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 3.2rem; margin-top: 0.5rem; padding: 0.5rem 0; background: transparent;
  border: 0; border-bottom: 1px solid var(--ink); border-radius: 0; font-size: 1rem; appearance: none;
}
.field select {
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M0 0h10L5 6z' fill='%236A6558'/%3E%3C/svg%3E") right 0.2rem center no-repeat;
  padding-right: 1.4rem; cursor: pointer;
}
.field input::placeholder { color: var(--muted); opacity: 1; }
.field input:focus-visible, .field select:focus-visible { outline: 0; border-bottom-width: 2px; margin-bottom: -1px; }
.chips { border: 0; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.chips legend { margin-bottom: 0.7rem; padding: 0; width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.chip span {
  display: block; padding: 0.55rem 1rem; border: 1px solid var(--ink); font-size: 0.85rem; font-weight: 600;
  color: var(--ink); letter-spacing: 0; text-transform: none; transition: background-color 180ms, color 180ms;
}
.chip input:checked + span { background: var(--ink); color: var(--paper); }
.chip input:focus-visible + span { outline: 2px solid var(--ink); outline-offset: 3px; }
.form-note { margin-top: 1rem; text-align: center; font-size: 0.78rem; color: var(--muted); }
.form-note.is-error { color: #A12A1A; font-weight: 600; }
.field input.is-invalid { border-bottom-color: #A12A1A; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: var(--paper); padding-top: clamp(3rem, 6vw, 5rem); overflow: hidden; }
.footer-mark { font-family: var(--serif); font-size: clamp(6.5rem, 15.5vw, 14rem); line-height: 0.82; letter-spacing: -0.04em; margin-bottom: 2rem; }
.footer-row {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 0.5rem 2rem; padding-block: 1.4rem 1.8rem;
  border-top: 1px solid rgb(255 255 255 / 0.18); font-size: 0.82rem; letter-spacing: 0.03em; color: rgb(255 255 255 / 0.72);
}
.footer-row a { text-decoration: none; }
.footer-row a:hover { text-decoration: underline; }

/* ---------- Selector de tema (solo con JS) ---------- */
.theme-switcher {
  position: fixed; left: 1rem; bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 40;
  display: none; align-items: center; gap: 0.5rem; padding: 0.35rem 0.35rem 0.35rem 0.8rem;
  background: var(--paper); color: var(--ink); border: 1px solid var(--ink);
  box-shadow: 0 4px 24px rgb(0 0 0 / 0.18); font-size: 0.8rem; font-weight: 700;
}
.js .theme-switcher { display: flex; }
.theme-switcher select { background: transparent; border: 1px solid var(--line); padding: 0.35rem 0.5rem; min-height: 2.25rem; cursor: pointer; }

/* ---------- Entradas (solo con JS; sin JS todo es visible) ---------- */
.js [data-rise] { opacity: 0; transform: translateY(22px); transition: opacity 700ms var(--ease), transform 700ms var(--ease); transition-delay: calc(var(--i, 0) * 90ms); }
.js [data-rise].is-in { opacity: 1; transform: none; }
.product:nth-child(even)[data-rise].is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js [data-rise] { opacity: 1; transform: none; transition: none; }
  .button { transition: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav, .header-link { display: none; }
  .nav-toggle { display: inline-block; }
  .rules { grid-template-columns: repeat(2, 1fr); }
  .rules > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .rules > div:nth-child(n + 3) { border-top: 1px solid var(--on-dark-line); margin-top: 1.5rem; }
  .products { grid-template-columns: repeat(2, 1fr); gap: 1.5rem 1.25rem; }
  .product:nth-child(even) { margin-top: 2rem; }
}
@media (max-width: 860px) {
  .about-grid, .catalog-grid, .faq-grid, .quote-grid { grid-template-columns: 1fr; }
  .line-head { flex-direction: column; align-items: flex-start; }
  .line-note { padding-bottom: 0; }
  .hero-stats { grid-template-columns: 1fr; gap: 1.1rem; }
  .hero-stats span { max-width: none; }
  .tiers { grid-template-columns: 1fr; }
  .tiers li + li { border-left: 0; border-top: 1px solid var(--on-dark-line); }
  .steps-list { grid-template-columns: 1fr; }
  .steps-list li, .steps-list li:first-child { padding: 1.5rem 0; border-left: 0; }
  .steps-list li + li { border-top: 1px solid var(--line); }
  .pdf-mock { order: -1; }
}
@media (max-width: 560px) {
  .hero { padding-top: 7rem; }
  .hero-actions .button { flex: 1 1 100%; }
  .field-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .rules { grid-template-columns: 1fr; }
  .rules > div, .rules > div:nth-child(3) { padding: 1.2rem 0 0.4rem; border-left: 0; margin-top: 0; }
  .rules > div + div { border-top: 1px solid var(--on-dark-line); }
  .products { gap: 1.25rem 0.9rem; }
  .product h3 { font-size: 1.5rem; }
  .product p { font-size: 0.82rem; }
  .shipping-bar { padding: 1.5rem; }
  .theme-switcher { left: 0.6rem; bottom: 0.6rem; }
}
