/* =========================================================================
   ARDUSS GROUP LLC — hoja de estilos unica
   Mobile-first. Sin dependencias externas ni webfonts.
   ========================================================================= */

:root {
  --ink: #0e1c33;
  --ink-soft: #2c3e5b;
  --muted: #64758f;
  --line: #e2e7ef;
  --line-strong: #cbd4e1;
  --paper: #ffffff;
  --paper-2: #f7f8fa;
  --paper-3: #eef1f6;
  --accent: #c25a16;

  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --shadow: 0 1px 2px rgba(14, 28, 51, .04), 0 8px 24px rgba(14, 28, 51, .06);
  --shadow-lift: 0 2px 4px rgba(14, 28, 51, .05), 0 18px 40px rgba(14, 28, 51, .1);

  --container: 1140px;
  --gutter: 1.25rem;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.15;
  letter-spacing: -0.015em;
  margin: 0 0 .6em;
  font-weight: 600;
}

h1 { font-size: clamp(2.1rem, 1.5rem + 2.9vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 1.28rem + 1.5vw, 2.35rem); }
h3 { font-size: clamp(1.15rem, 1.06rem + .4vw, 1.35rem); }

p { margin: 0 0 1.1rem; }
p:last-child { margin-bottom: 0; }

a { color: var(--ink); text-decoration-color: var(--line-strong); text-underline-offset: .18em; }
a:hover { text-decoration-color: var(--accent); }

:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 3px; }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--ink); color: #fff; padding: .75rem 1.15rem; border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

.container { width: min(var(--container), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.container--narrow { width: min(760px, 100% - (var(--gutter) * 2)); }

.section { padding: clamp(3.25rem, 2rem + 5vw, 6rem) 0; }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--line); }
.section__head { max-width: 46rem; margin-bottom: clamp(2rem, 1.4rem + 2vw, 3rem); }
.section__head p { color: var(--muted); font-size: 1.075rem; margin: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .85rem;
}
.eyebrow--muted { color: var(--muted); }

.lede { font-size: clamp(1.075rem, 1rem + .35vw, 1.25rem); color: var(--ink-soft); }

/* Utilidades de separacion (evitan atributos style= en linea, bloqueados por la CSP) */
.mt-l { margin-top: 1.9rem; }
.mt-xl { margin-top: 2.25rem; }

/* ---------- Botones ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: var(--font-sans); font-size: 1rem; font-weight: 600; line-height: 1;
  padding: .95rem 1.6rem; border-radius: var(--radius-sm); border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .18s ease, border-color .18s ease, transform .18s ease, box-shadow .18s ease;
}
.btn--primary { background: var(--ink); color: #fff; box-shadow: 0 1px 2px rgba(14,28,51,.18); }
.btn--primary:hover { background: #16294a; transform: translateY(-1px); box-shadow: 0 6px 18px rgba(14,28,51,.2); }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line-strong); }
.btn--ghost:hover { border-color: var(--ink); background: var(--paper-2); }
.btn--block { width: 100%; }
.btn--lg { padding: 1.05rem 2rem; font-size: 1.05rem; }

.link-arrow {
  font-weight: 600; font-size: .95rem; text-decoration: none;
  border-bottom: 1px solid var(--line-strong); padding-bottom: 2px;
}
.link-arrow:hover { border-color: var(--accent); }

/* ---------- Cabecera ---------- */

.header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(255,255,255,.94);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; }

.logo { display: inline-flex; align-items: baseline; gap: .45rem; text-decoration: none; }
.logo__mark { font-family: var(--font-sans); font-weight: 800; letter-spacing: .18em; font-size: 1.05rem; color: var(--ink); }
.logo__sub { font-family: var(--font-sans); font-weight: 500; letter-spacing: .18em; font-size: .68rem; color: var(--muted); text-transform: uppercase; }

.nav { display: none; align-items: center; gap: 2rem; }
.nav a { font-size: .95rem; font-weight: 500; text-decoration: none; color: var(--ink-soft); padding: .35rem 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--ink); border-color: var(--line-strong); }
.nav a[aria-current="page"] { color: var(--ink); border-color: var(--accent); }

.nav-toggle {
  display: inline-flex; align-items: center; gap: .5rem;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: .55rem .8rem; font: inherit; font-size: .9rem; color: var(--ink); cursor: pointer;
}
.nav-mobile { display: none; border-top: 1px solid var(--line); background: var(--paper); }
.nav-mobile.is-open { display: block; }
.nav-mobile ul { list-style: none; margin: 0; padding: .5rem 0 1rem; }
.nav-mobile a { display: block; padding: .8rem 0; text-decoration: none; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-weight: 500; }
.nav-mobile li:last-child a { border-bottom: 0; }

@media (min-width: 860px) {
  .nav { display: flex; }
  .nav-toggle, .nav-mobile { display: none !important; }
}

/* ---------- Hero ---------- */

.hero {
  background: linear-gradient(180deg, var(--paper-2) 0%, var(--paper) 100%);
  border-bottom: 1px solid var(--line);
  padding: clamp(3.5rem, 2rem + 7vw, 7rem) 0 clamp(3rem, 2rem + 5vw, 5.5rem);
  text-align: center;
}
.hero h1 { max-width: 18ch; margin-inline: auto; }
.hero .lede { max-width: 54ch; margin-inline: auto; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: .85rem; justify-content: center; margin-top: 2rem; }
.hero__rule { width: 56px; height: 3px; background: var(--accent); border-radius: 2px; margin: 0 auto 1.75rem; }

.hero__meta {
  display: flex; flex-wrap: wrap; gap: .5rem 1.75rem; justify-content: center;
  margin-top: 2.25rem; font-size: .9rem; color: var(--muted);
}
.hero__meta span { display: inline-flex; align-items: center; gap: .5rem; }

/* ---------- Bloque de confianza ---------- */

.trust { display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.trust__item { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem 1.6rem; }
.trust__item h3 { margin-bottom: .45rem; }
.trust__item p { color: var(--muted); font-size: .975rem; margin: 0; }
.trust__icon { color: var(--accent); margin-bottom: 1rem; display: block; }
@media (min-width: 760px) { .trust { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

/* ---------- Grilla de productos ---------- */

.grid { display: grid; gap: 1.75rem; grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .grid { grid-template-columns: repeat(3, 1fr); gap: 2rem 1.75rem; } }

.card {
  display: flex; flex-direction: column;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lift); border-color: var(--line-strong); }
.card__media { display: block; aspect-ratio: 16 / 9; background: var(--paper-3); border-bottom: 1px solid var(--line); }
.card__media img { width: 100%; height: 100%; object-fit: cover; }
.card__body { padding: 1.4rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.3rem; margin-bottom: .5rem; }
.card__title a { text-decoration: none; }
.card__title a:hover { color: var(--accent); }
.card__desc { color: var(--muted); font-size: .95rem; margin-bottom: 1.35rem; }
.card__foot { margin-top: auto; display: flex; flex-direction: column; gap: .85rem; }
.card__price { font-family: var(--font-display); font-size: 1.5rem; color: var(--ink); font-weight: 600; }
.card__price small { font-family: var(--font-sans); font-size: .78rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-left: .3rem; }
.card__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.card__actions .btn { flex: 1 1 auto; }

/* ---------- Sobre ARDUSS (home) ---------- */

.about-split { display: grid; gap: 2.5rem; align-items: start; }
@media (min-width: 900px) { .about-split { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 4rem; } }
.about-split .lede { color: var(--muted); }

.figures { list-style: none; margin: 0; padding: 0; display: grid; gap: 1.1rem; }
.figures li { display: flex; gap: .9rem; align-items: flex-start; }
.figures .n { font-family: var(--font-display); font-size: 1.05rem; color: var(--accent); font-weight: 600; min-width: 1.5rem; }
.figures p { margin: 0; font-size: .975rem; color: var(--muted); }
.figures strong { color: var(--ink); font-weight: 600; }

/* ---------- Pagina de producto ---------- */

.crumbs { font-size: .875rem; color: var(--muted); padding: 1.25rem 0 0; }
.crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid var(--line); }
.crumbs a:hover { color: var(--ink); }
.crumbs span { margin: 0 .45rem; color: var(--line-strong); }

.product { display: grid; gap: 2.25rem; padding: clamp(1.75rem, 1rem + 3vw, 3rem) 0 clamp(3rem, 2rem + 4vw, 4.5rem); }
@media (min-width: 940px) { .product { grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 3.5rem; align-items: start; } }

.product__cover { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--paper-3); box-shadow: var(--shadow); }
@media (min-width: 940px) { .product__cover { position: sticky; top: 96px; } }

.product__price { font-family: var(--font-display); font-size: 2.35rem; color: var(--ink); font-weight: 600; line-height: 1; }
.product__price small { font-family: var(--font-sans); font-size: .85rem; font-weight: 500; color: var(--muted); letter-spacing: .04em; margin-left: .45rem; }
.product__buy { margin: 1.5rem 0 1.25rem; }
.product__note { font-size: .875rem; color: var(--muted); margin: 0; }

.specs { list-style: none; margin: 2rem 0 0; padding: 1.6rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .9rem; }
.specs li { display: flex; gap: .75rem; align-items: flex-start; font-size: .95rem; color: var(--ink-soft); }
.specs svg { color: var(--accent); flex: none; margin-top: .28rem; }

.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .95rem; }
.checklist li { display: flex; gap: .8rem; align-items: flex-start; }
.checklist svg { color: var(--accent); flex: none; margin-top: .38rem; }

.disclaimer {
  border-left: 3px solid var(--line-strong); background: var(--paper-2);
  padding: 1.15rem 1.35rem; border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: .9rem; color: var(--muted); margin-top: 2.5rem;
}
.disclaimer strong { color: var(--ink-soft); display: block; margin-bottom: .25rem; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; }

/* ---------- FAQ ---------- */

.faq { border-top: 1px solid var(--line); max-width: 48rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: flex-start; justify-content: space-between; gap: 1.5rem;
  padding: 1.25rem 0; cursor: pointer; list-style: none;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 12px; height: 12px; margin-top: .45rem;
  background: currentColor; color: var(--accent);
  clip-path: polygon(43% 0, 57% 0, 57% 43%, 100% 43%, 100% 57%, 57% 57%, 57% 100%, 43% 100%, 43% 57%, 0 57%, 0 43%, 43% 43%);
  transition: transform .2s ease;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq p { padding: 0 0 1.4rem; color: var(--muted); font-size: .975rem; max-width: 62ch; margin: 0; }

/* ---------- Prosa (paginas legales) ---------- */

.prose { max-width: 70ch; }
.prose h2 { font-size: clamp(1.3rem, 1.15rem + .6vw, 1.6rem); margin-top: 2.75rem; }
.prose h2:first-of-type { margin-top: 2rem; }
.prose ul, .prose ol { padding-left: 1.25rem; margin: 0 0 1.1rem; }
.prose li { margin-bottom: .5rem; }
.prose .meta { font-size: .875rem; color: var(--muted); border-top: 1px solid var(--line); padding-top: 1.25rem; margin-top: 3rem; }
.prose address { font-style: normal; color: var(--ink-soft); }

.page-head { border-bottom: 1px solid var(--line); background: var(--paper-2); padding: clamp(2.75rem, 2rem + 3.5vw, 4.5rem) 0; }
.page-head p { color: var(--muted); max-width: 52ch; margin: 0; }

/* ---------- Contacto ---------- */

.contact-grid { display: grid; gap: 1.5rem; }
@media (min-width: 800px) { .contact-grid { grid-template-columns: repeat(2, 1fr); gap: 1.75rem; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius); padding: 1.85rem 1.7rem; background: var(--paper); }
.contact-card h3 { margin-bottom: .5rem; }
.contact-card p { color: var(--muted); font-size: .975rem; }
.contact-card address { font-style: normal; color: var(--muted); font-size: .975rem; }

/* ---------- Banda CTA ---------- */

.cta-band { background: var(--ink); color: #dfe6f2; text-align: center; padding: clamp(3rem, 2rem + 4vw, 5rem) 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #a8b6cd; max-width: 48ch; margin-inline: auto; }
.cta-band .btn--primary { background: #fff; color: var(--ink); }
.cta-band .btn--primary:hover { background: #eef1f6; }

/* ---------- Pie ---------- */

.footer { background: var(--paper-2); border-top: 1px solid var(--line); padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 2rem; font-size: .925rem; }
.footer__grid { display: grid; gap: 2.25rem; }
@media (min-width: 700px) { .footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 2.5rem; } }
.footer h4 { font-family: var(--font-sans); font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--ink); margin-bottom: 1.1rem; font-weight: 700; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .65rem; }
.footer a { color: var(--muted); text-decoration: none; }
.footer a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: .2em; }
.footer address { font-style: normal; color: var(--muted); line-height: 1.65; }
.footer__brand .logo { margin-bottom: 1rem; }
.footer__brand p { color: var(--muted); max-width: 34ch; font-size: .9rem; }
.footer__bottom {
  margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  color: var(--muted); font-size: .85rem;
}

/* ---------- 404 ---------- */

.notfound { text-align: center; padding: clamp(4rem, 3rem + 6vw, 8rem) 0; }
.notfound p { color: var(--muted); max-width: 44ch; margin-inline: auto; }

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
