/* ============================================================
   Viktoria Ventanas : "Luz del Norte"
   Editorial light / gallery-grade. Warm monochrome + brass.
   ============================================================ */

:root {
  --paper:      oklch(0.972 0.006 80);
  --panel:      oklch(0.945 0.008 78);
  --panel-2:    oklch(0.958 0.007 79);
  --ink:        oklch(0.22 0.012 60);
  --muted:      oklch(0.52 0.012 68);
  --muted-soft: oklch(0.60 0.012 70);
  --hairline:   oklch(0.88 0.006 80);
  --hairline-2: oklch(0.91 0.006 80);
  --accent:     oklch(0.70 0.10 75);
  --accent-deep:oklch(0.60 0.11 70);
  --graphite:   oklch(0.26 0.012 65);
  --graphite-2: oklch(0.31 0.012 65);
  --on-dark:    oklch(0.95 0.006 80);
  --on-dark-muted: oklch(0.74 0.012 75);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);      /* expo out */
  --ease-q: cubic-bezier(0.22, 1, 0.36, 1);   /* quart out */

  --maxw: 1280px;
  --gutter: clamp(1.25rem, 4vw, 4.5rem);
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Hanken Grotesk", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  letter-spacing: 0.005em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a { color: inherit; text-decoration: none; }

::selection { background: oklch(0.70 0.10 75 / 0.30); color: var(--ink); }

h1, h2, h3, h4 {
  font-family: "Instrument Serif", Georgia, serif;
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.04;
  margin: 0;
  color: var(--ink);
}

.serif-italic { font-style: italic; color: var(--accent-deep); }
/* give italic accent words a touch of breathing room so they never crowd neighbours */
.serif-italic { padding-inline: 0.04em; }

p { margin: 0 0 1.1em; max-width: 66ch; }

.kicker {
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}
.kicker .dot { color: var(--accent-deep); margin: 0 0.5em; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }

.section { padding-block: clamp(4.5rem, 9vw, 9rem); }

.hairline { border: 0; border-top: 1px solid var(--hairline); margin: 0; }

/* ---------- buttons / links ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.86rem; font-weight: 600; letter-spacing: 0.04em;
  padding: 0.95em 1.6em;
  border-radius: 2px;
  transition: background 0.5s var(--ease), color 0.5s var(--ease),
              border-color 0.5s var(--ease), transform 0.5s var(--ease);
  cursor: pointer; border: 1px solid transparent;
}
.btn-solid { background: var(--ink); color: var(--on-dark); }
.btn-solid:hover { background: var(--graphite-2); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--hairline); }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent-deep); transform: translateY(-2px); }
.btn-light { background: var(--on-dark); color: var(--ink); }
.btn-light:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.btn-outline-light { border-color: oklch(0.95 0.006 80 / 0.45); color: var(--on-dark); }
.btn-outline-light:hover { border-color: var(--accent); color: var(--accent); }

.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

.tlink {
  display: inline-flex; align-items: center; gap: 0.5em;
  font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.84rem; font-weight: 600; letter-spacing: 0.04em;
  color: var(--ink);
  padding-bottom: 3px;
  background-image: linear-gradient(var(--accent), var(--accent));
  background-size: 0% 1px; background-repeat: no-repeat;
  background-position: 0 100%;
  transition: background-size 0.5s var(--ease), color 0.4s var(--ease);
}
.tlink:hover { color: var(--accent-deep); background-size: 100% 1px; }
.tlink .arrow { transition: transform 0.5s var(--ease); }
.tlink:hover .arrow { transform: translateX(4px); }

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

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: oklch(0.972 0.006 80 / 0.82);
  backdrop-filter: saturate(1.1) blur(14px);
  border-bottom: 1px solid var(--hairline-2);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; min-height: 76px;
}
.brand { display: flex; flex-direction: column; line-height: 1; }
.brand .name {
  font-family: "Instrument Serif", serif; font-size: 1.55rem; letter-spacing: 0.01em;
}
.brand .sub {
  font-family: "Hanken Grotesk", sans-serif; font-size: 0.6rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--muted); margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  font-size: 0.85rem; font-weight: 500; letter-spacing: 0.02em; color: var(--muted);
  position: relative; padding-bottom: 4px; transition: color 0.4s var(--ease);
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0;
  background: var(--accent); transition: width 0.45s var(--ease);
}
.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1.25rem; }
.nav-phone {
  font-size: 0.9rem; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap;
  transition: color 0.4s var(--ease);
}
.nav-phone:hover { color: var(--accent-deep); }
.nav-toggle { display: none; }
.mobile-menu { display: none; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: clamp(640px, 92vh, 960px); display: flex; align-items: flex-end; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 42%; }
/* Layered scrim: bottom-up wash for the text block + a left wash so the
   copy column is always legible regardless of the photo's bright areas. */
.hero-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to top, oklch(0.18 0.012 60 / 0.78) 0%, oklch(0.18 0.012 60 / 0.42) 30%, oklch(0.18 0.012 60 / 0.12) 52%, transparent 72%),
    linear-gradient(to right, oklch(0.18 0.012 60 / 0.55) 0%, oklch(0.18 0.012 60 / 0.18) 38%, transparent 60%);
}
.hero-inner {
  position: relative; z-index: 2; width: 100%;
  padding-top: clamp(3rem, 6vw, 5rem);
  padding-bottom: clamp(3rem, 6vw, 5.5rem);
}
/* signature: a thin brass corner frame that echoes a window frame */
.hero-frame {
  position: absolute; z-index: 2; pointer-events: none;
  inset: clamp(1.4rem, 3vw, 2.4rem);
  border: 1px solid oklch(0.95 0.006 80 / 0.22);
}
.hero-frame::before, .hero-frame::after {
  content: ""; position: absolute; background: var(--accent);
}
.hero-frame::before { left: -1px; top: -1px; width: 46px; height: 1px; }
.hero-frame::after  { left: -1px; top: -1px; width: 1px; height: 46px; }
.hero .kicker { color: oklch(0.94 0.02 80); text-shadow: 0 1px 14px oklch(0.15 0.01 60 / 0.5); }
.hero .kicker .dot { color: var(--accent); }
.hero h1 {
  color: var(--on-dark);
  font-size: clamp(3rem, 8.4vw, 6.6rem);
  line-height: 1.0;
  margin: 1.1rem 0 1.5rem;
  max-width: 17ch;
  text-shadow: 0 2px 44px oklch(0.13 0.01 60 / 0.5);
}
.hero h1 .serif-italic {
  color: oklch(0.82 0.13 82);       /* luminous brass: reads over bright sky and dark scrim alike */
  padding-inline: 0.12em 0.06em;   /* avoid the italic crowding its neighbour */
  text-shadow: 0 1px 2px oklch(0.16 0.02 60 / 0.55), 0 2px 30px oklch(0.13 0.01 60 / 0.6);
}
.hero-lede {
  color: oklch(0.95 0.006 80); font-size: clamp(1.04rem, 1.5vw, 1.2rem);
  max-width: 46ch; margin-bottom: 2.2rem; text-shadow: 0 1px 22px oklch(0.13 0.01 60 / 0.55);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; align-items: center; }
.scroll-cue {
  position: absolute; right: var(--gutter); bottom: 2.2rem; z-index: 3;
  writing-mode: vertical-rl; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.24em;
  text-transform: uppercase; color: oklch(0.92 0.02 80 / 0.85);
  display: flex; align-items: center; gap: 1rem;
}
.scroll-cue .line { width: 1px; height: 48px; background: linear-gradient(var(--accent), transparent); }

/* ============================================================
   MARQUEE / partner strip under hero
   ============================================================ */
.trust-strip { border-bottom: 1px solid var(--hairline); background: var(--panel-2); }
.trust-strip .row {
  display: grid; grid-template-columns: repeat(5, 1fr);
  padding-block: clamp(1.6rem, 2.6vw, 2.2rem);
}
.trust-strip .item {
  display: flex; flex-direction: column; gap: 0.4rem;
  padding-inline: clamp(0.8rem, 2vw, 1.8rem);
  border-left: 1px solid var(--hairline);
}
.trust-strip .item:first-child { border-left: 0; padding-left: 0; }
.trust-strip .item .lbl {
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted);
}
.trust-strip .item .val {
  font-family: "Instrument Serif", Georgia, serif; font-size: clamp(1.15rem, 1.6vw, 1.42rem);
  line-height: 1.05; color: var(--ink);
}

/* ============================================================
   SOBRE NOSOTROS : editorial split
   ============================================================ */
.about { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(2.5rem, 6vw, 6rem); align-items: center; }
.about-figure { position: relative; }
.about-figure img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 2px; }
.about-figure figcaption {
  margin-top: 0.9rem; font-size: 0.76rem; letter-spacing: 0.04em; color: var(--muted);
  display: flex; align-items: center; gap: 0.6rem;
}
.about-figure figcaption .mk { width: 22px; height: 1px; background: var(--accent); }
.about-body h2 { font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin-bottom: 1.4rem; max-width: 14ch; }
.about-body .lead { font-size: 1.12rem; color: var(--ink); }
.about-body p { color: var(--muted); }
.about-sign {
  margin-top: 1.8rem; padding-top: 1.6rem; border-top: 1px solid var(--hairline);
  display: flex; flex-wrap: wrap; gap: 2.5rem;
}
.about-sign .stat .n { font-family: "Instrument Serif", serif; font-size: 2rem; line-height: 1; color: var(--ink); }
.about-sign .stat .l { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.03em; margin-top: 0.4rem; }

/* ============================================================
   VENTAJAS : numbered editorial list
   ============================================================ */
.ventajas { background: var(--panel); }
.ventajas .head { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.ventajas .head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); max-width: 12ch; }
.ventajas .head p { color: var(--muted); justify-self: end; max-width: 38ch; }
.vlist { display: grid; gap: 0; }
.vrow {
  display: grid; grid-template-columns: 5.5rem 1fr 1.4fr; gap: clamp(1.2rem, 3vw, 3rem);
  align-items: start; padding-block: clamp(1.8rem, 3.2vw, 2.6rem);
  border-top: 1px solid var(--hairline);
  transition: background 0.5s var(--ease);
}
.vrow:last-child { border-bottom: 1px solid var(--hairline); }
.vrow:hover { background: var(--panel-2); }
.vrow .num {
  font-family: "Instrument Serif", serif; font-size: 1.5rem; color: var(--accent-deep);
  font-feature-settings: "tnum"; padding-top: 0.15rem;
}
.vrow h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); }
.vrow p { color: var(--muted); margin: 0; font-size: 1.02rem; }

/* ============================================================
   SISTEMAS DESTACADOS : profile tiles on light
   ============================================================ */
.systems .head { max-width: 60ch; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.systems .head h2 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); margin-bottom: 1rem; }
.systems .head p { color: var(--muted); }
.sys-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.sys-card {
  display: flex; flex-direction: column;
  border: 1px solid var(--hairline); border-radius: 3px; overflow: hidden;
  background: var(--paper); transition: border-color 0.5s var(--ease), transform 0.5s var(--ease);
}
.sys-card:hover { border-color: var(--accent); transform: translateY(-4px); }
.sys-card .tile {
  background: linear-gradient(160deg, oklch(0.985 0.004 80), var(--panel));
  padding: clamp(1.4rem, 3vw, 2.4rem); display: grid; place-items: center; aspect-ratio: 4/3;
  border-bottom: 1px solid var(--hairline-2);
}
.sys-card .tile img { width: 78%; max-height: 100%; object-fit: contain; transition: transform 0.7s var(--ease); }
.sys-card:hover .tile img { transform: scale(1.05) rotate(-1deg); }
.sys-card .body { padding: clamp(1.2rem, 2.5vw, 1.6rem); display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.sys-card .cat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent-deep); }
.sys-card h3 { font-size: 1.6rem; }
.sys-card .spec { color: var(--muted); font-size: 0.92rem; margin: 0; }
.sys-card .foot {
  margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid var(--hairline-2);
}
.sys-card .price { font-size: 0.86rem; font-weight: 600; color: var(--ink); }

/* ============================================================
   PULL-QUOTE : full-bleed editorial light moment (signature)
   ============================================================ */
.quote { position: relative; min-height: clamp(460px, 64vh, 680px); display: flex; align-items: center; overflow: hidden; }
.quote-media { position: absolute; inset: 0; }
.quote-media img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.quote-media::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(to right, oklch(0.15 0.012 60 / 0.9) 0%, oklch(0.15 0.012 60 / 0.62) 34%, oklch(0.15 0.012 60 / 0.22) 60%, transparent 88%),
    linear-gradient(to top, oklch(0.15 0.012 60 / 0.38), transparent 45%);
}
.quote-inner { position: relative; z-index: 2; width: 100%; padding-block: clamp(3rem, 7vw, 6rem); }
.quote figure { margin: 0; max-width: 26ch; }
.quote .qmark {
  font-family: "Instrument Serif", serif; font-style: italic; color: var(--accent);
  font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 0.5; margin: 0 0 0.4rem; opacity: 0.9;
}
.quote blockquote {
  margin: 0; font-family: "Instrument Serif", Georgia, serif;
  font-size: clamp(1.7rem, 3.6vw, 3.1rem); line-height: 1.16; letter-spacing: -0.01em;
  color: var(--on-dark); text-shadow: 0 2px 30px oklch(0.13 0.01 60 / 0.55);
  max-width: 24ch;
}
.quote figcaption {
  margin-top: 1.6rem; font-family: "Hanken Grotesk", sans-serif;
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase;
  color: oklch(0.92 0.02 80); text-shadow: 0 1px 14px oklch(0.13 0.01 60 / 0.5);
}
.quote figcaption .sep { color: var(--accent); margin: 0 0.5em; }

/* ============================================================
   DARK BAND : one dramatic graphite section
   ============================================================ */
.band { background: var(--graphite); color: var(--on-dark); overflow: hidden; }
.band-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.band .kicker { color: var(--on-dark-muted); }
.band .kicker .dot { color: var(--accent); }
.band h2 { color: var(--on-dark); font-size: clamp(2.2rem, 5vw, 4rem); margin: 1rem 0 1.4rem; max-width: 14ch; }
.band h2 .serif-italic { color: var(--accent); }
.band p { color: var(--on-dark-muted); max-width: 46ch; }
.band-figure img { width: 100%; aspect-ratio: 16/11; object-fit: cover; border-radius: 2px; }
.band-figure figcaption { margin-top: 0.9rem; font-size: 0.76rem; color: var(--on-dark-muted); letter-spacing: 0.04em; }
.band-actions { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2rem; }

/* ============================================================
   COLORES / ACABADOS : swatch row
   ============================================================ */
.acabados .head { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: end; margin-bottom: clamp(2.2rem, 4vw, 3.4rem); }
.acabados .head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); max-width: 13ch; }
.acabados .head p { color: var(--muted); justify-self: end; max-width: 36ch; }
.swatches { display: grid; grid-template-columns: repeat(8, 1fr); gap: clamp(0.5rem, 1.2vw, 1rem); }
.swatch { display: flex; flex-direction: column; gap: 0.55rem; }
.swatch .chip {
  aspect-ratio: 1; border-radius: 3px; overflow: hidden; border: 1px solid var(--hairline);
  transition: transform 0.5s var(--ease), box-shadow 0.5s var(--ease);
}
.swatch .chip img { width: 100%; height: 100%; object-fit: cover; }
.swatch:hover .chip { transform: translateY(-4px); box-shadow: 0 12px 28px oklch(0.3 0.01 60 / 0.14); }
.swatch .nm { font-size: 0.72rem; color: var(--muted); letter-spacing: 0.02em; }

/* ============================================================
   PRICE TABLES
   ============================================================ */
.precios { background: var(--panel); }
.precios .head { max-width: 60ch; margin-bottom: clamp(2.4rem, 4vw, 3.6rem); }
.precios .head h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 1rem; }
.precios .head p { color: var(--muted); }
.ptables { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); }
.ptable { background: var(--paper); border: 1px solid var(--hairline); border-radius: 3px; padding: clamp(1.4rem, 2.5vw, 1.9rem); }
.ptable .cap { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.3rem; }
.ptable .cap .t { font-family: "Instrument Serif", serif; font-size: 1.5rem; }
.ptable .cap .d { font-size: 0.78rem; color: var(--muted); letter-spacing: 0.03em; }
.ptable .line {
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
  padding-block: 0.85rem; border-top: 1px solid var(--hairline-2);
}
.ptable .line:first-of-type { border-top: 1px solid var(--hairline); }
.ptable .line .sys { font-size: 0.95rem; color: var(--ink); }
.ptable .line .pr {
  font-variant-numeric: tabular-nums; font-weight: 600; font-size: 1rem; white-space: nowrap;
}
.ptable .line .pr small { font-weight: 400; color: var(--muted); font-size: 0.78rem; }
.ptable .note { margin: 1.1rem 0 0; font-size: 0.74rem; color: var(--muted); }

/* ============================================================
   CONTACTO
   ============================================================ */
.contacto-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2.5rem, 6vw, 6rem); }
.contacto-aside h2 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 1.2rem; max-width: 12ch; }
.contacto-aside .lead { color: var(--muted); margin-bottom: 2.2rem; }
.contact-list { display: grid; gap: 1.4rem; }
.contact-item { display: flex; flex-direction: column; gap: 0.2rem; padding-block: 0.2rem; }
.contact-item .lbl { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.contact-item .val { font-size: 1.12rem; color: var(--ink); transition: color 0.4s var(--ease); }
a.contact-item:hover .val { color: var(--accent-deep); }
.contact-social { display: flex; gap: 1.4rem; margin-top: 2rem; padding-top: 1.6rem; border-top: 1px solid var(--hairline); }
.contact-social a { font-size: 0.85rem; font-weight: 600; color: var(--muted); transition: color 0.4s var(--ease); }
.contact-social a:hover { color: var(--accent-deep); }

.form { display: grid; gap: 1.4rem; }
.form .field { display: flex; flex-direction: column; gap: 0.5rem; }
.form label { font-size: 0.74rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); }
.form input, .form textarea {
  font-family: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 0; border-bottom: 1px solid var(--hairline);
  padding: 0.7rem 0.1rem; transition: border-color 0.45s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: oklch(0.66 0.012 70); }
.form input:focus, .form textarea:focus { outline: none; border-bottom-color: var(--accent); }
.form textarea { resize: vertical; min-height: 120px; }
.form .actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 0.4rem; flex-wrap: wrap; }
.form .privacy { font-size: 0.74rem; color: var(--muted); max-width: 30ch; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--graphite); color: var(--on-dark); }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2.5rem; padding-block: clamp(3.5rem, 6vw, 5rem); }
.footer-brand .name { font-family: "Instrument Serif", serif; font-size: 1.7rem; }
.footer-brand p { color: var(--on-dark-muted); font-size: 0.92rem; margin-top: 1rem; max-width: 34ch; }
.footer-col h4 { font-family: "Hanken Grotesk", sans-serif; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--on-dark-muted); margin-bottom: 1.1rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.7rem; }
.footer-col a { color: oklch(0.86 0.008 80); font-size: 0.92rem; transition: color 0.4s var(--ease); }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid oklch(0.95 0.006 80 / 0.12); padding-block: 1.5rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; }
.footer-bottom span { font-size: 0.78rem; color: var(--on-dark-muted); }

/* ============================================================
   PRODUCTOS PAGE
   ============================================================ */
.page-hero { padding-block: clamp(4rem, 8vw, 7rem) clamp(2.5rem, 5vw, 4rem); border-bottom: 1px solid var(--hairline); }
.page-hero .kicker .dot { color: var(--accent-deep); }
.page-hero h1 { font-size: clamp(2.8rem, 7vw, 5.5rem); margin: 1.1rem 0 1.3rem; max-width: 18ch; }
.page-hero h1 .serif-italic { color: var(--accent-deep); }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 56ch; }

.catnav { position: sticky; top: 76px; z-index: 40; background: oklch(0.972 0.006 80 / 0.9); backdrop-filter: blur(12px); border-bottom: 1px solid var(--hairline-2); }
.catnav .row { display: flex; flex-wrap: wrap; gap: 0.5rem 1.8rem; padding-block: 1rem; }
.catnav a { font-size: 0.82rem; font-weight: 600; letter-spacing: 0.03em; color: var(--muted); padding-bottom: 4px; position: relative; transition: color 0.4s var(--ease); }
.catnav a::after { content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 0; background: var(--accent); transition: width 0.45s var(--ease); }
.catnav a:hover { color: var(--ink); }
.catnav a:hover::after { width: 100%; }

.catsec { scroll-margin-top: 140px; }
.catsec .cathead { display: grid; grid-template-columns: auto 1fr; gap: 1.5rem; align-items: baseline; padding-block: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem); }
.catsec .cathead .ix { font-family: "Instrument Serif", serif; font-size: 1.3rem; color: var(--accent-deep); }
.catsec .cathead h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
.catsec .cathead .cnt { font-size: 0.8rem; color: var(--muted); letter-spacing: 0.04em; justify-self: end; align-self: center; }

.pgrid { display: grid; gap: clamp(1.2rem, 2.5vw, 2rem); padding-bottom: clamp(2rem, 4vw, 3rem); }
.pgrid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.pgrid.cols-2 { grid-template-columns: repeat(2, 1fr); }
.pgrid.cols-4 { grid-template-columns: repeat(4, 1fr); }

.pcard { display: flex; flex-direction: column; border: 1px solid var(--hairline); border-radius: 3px; overflow: hidden; background: var(--paper); transition: border-color 0.5s var(--ease), transform 0.5s var(--ease); }
.pcard:hover { border-color: var(--accent); transform: translateY(-4px); }
.pcard .pimg { position: relative; overflow: hidden; aspect-ratio: 4/3; background: linear-gradient(160deg, oklch(0.985 0.004 80), var(--panel)); display: grid; place-items: center; border-bottom: 1px solid var(--hairline-2); }
.pcard .pimg.profile img { width: 74%; object-fit: contain; }
.pcard .pimg.photo { padding: 0; }
.pcard .pimg.photo img { width: 100%; height: 100%; object-fit: cover; }
.pcard .pimg img { transition: transform 0.7s var(--ease); }
.pcard:hover .pimg img { transform: scale(1.05); }
.pcard .pbody { padding: clamp(1.1rem, 2.2vw, 1.5rem); display: flex; flex-direction: column; gap: 0.7rem; flex: 1; }
.pcard h3 { font-size: 1.42rem; }
.pcard .specs { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.35rem; }
.pcard .specs li { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.82rem; color: var(--muted); border-bottom: 1px dotted var(--hairline); padding-bottom: 0.35rem; }
.pcard .specs li b { color: var(--ink); font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.pcard .pfoot { margin-top: auto; padding-top: 1rem; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--hairline-2); }
.pcard .price { font-size: 0.85rem; font-weight: 600; font-variant-numeric: tabular-nums; }
.pcard .price.empty { color: var(--muted); font-weight: 500; }

/* big feature tile (varied rhythm) */
.pcard.feature { grid-column: span 2; flex-direction: row; }
.pcard.feature .pimg { aspect-ratio: auto; flex: 1.1; border-bottom: 0; border-right: 1px solid var(--hairline-2); min-height: 300px; }
.pcard.feature .pbody { flex: 1; justify-content: center; }
.pcard.feature h3 { font-size: 1.9rem; }
.pcard.feature .desc { color: var(--muted); font-size: 0.95rem; }

.video-tile video { width: 100%; height: 100%; object-fit: cover; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
.no-js .reveal { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .sys-grid { grid-template-columns: repeat(2, 1fr); }
  .ptables { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(6, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pgrid.cols-3, .pgrid.cols-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  body { font-size: 16px; }
  .nav-links, .nav-cta { display: none; }
  .nav { min-height: 64px; gap: 1rem; }
  .brand .name { font-size: 1.32rem; }
  .nav-toggle {
    display: inline-flex; align-items: center; gap: 0.5rem; background: none; border: 1px solid var(--hairline);
    border-radius: 2px; padding: 0.6em 1em; font-family: inherit; font-size: 0.8rem; font-weight: 600;
    letter-spacing: 0.04em; color: var(--ink); cursor: pointer;
  }
  .mobile-menu {
    display: none; flex-direction: column; gap: 0.2rem; padding: 1rem var(--gutter) 1.6rem;
    border-bottom: 1px solid var(--hairline); background: var(--paper);
  }
  .mobile-menu.open { display: flex; }
  .mobile-menu a { padding: 0.7rem 0; font-size: 1rem; color: var(--ink); border-bottom: 1px solid var(--hairline-2); }
  .mobile-menu .mcall { color: var(--accent-deep); font-weight: 600; }

  /* hero: clear the header comfortably + keep copy off the brightest band */
  .hero { min-height: 88vh; align-items: flex-end; }
  .hero-media img { object-position: center 24%; }
  .hero-media::after {
    background:
      linear-gradient(to top, oklch(0.15 0.012 60 / 0.9) 0%, oklch(0.15 0.012 60 / 0.66) 30%, oklch(0.15 0.012 60 / 0.5) 52%, oklch(0.15 0.012 60 / 0.5) 100%);
  }
  .hero-inner { padding-top: 2.4rem; padding-bottom: 2.8rem; }
  .hero h1 { font-size: clamp(2.5rem, 11vw, 3.6rem); margin: 0.8rem 0 1.1rem; }
  .hero-frame { inset: 0.9rem; }
  .scroll-cue { display: none; }

  /* trust strip stacks into a clean 2-col grid */
  .trust-strip .row { grid-template-columns: 1fr 1fr; gap: 1.3rem 0; }
  .trust-strip .item { border-left: 0; padding-inline: 0; padding-left: 1.2rem; border-left: 1px solid var(--hairline); }
  .trust-strip .item:nth-child(odd) { border-left: 0; padding-left: 0; }

  .quote figure { max-width: none; }
  .quote blockquote { font-size: clamp(1.55rem, 6.6vw, 2.2rem); max-width: 18ch; }

  .about, .band-grid, .contacto-grid { grid-template-columns: 1fr; }
  .about-figure { order: 2; }
  .ventajas .head, .acabados .head { grid-template-columns: 1fr; }
  .ventajas .head p, .acabados .head p { justify-self: start; }
  .vrow { grid-template-columns: 2.5rem 1fr; }
  .vrow p { grid-column: 1 / -1; padding-top: 0.4rem; }
  .sys-grid { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(4, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .pcard.feature { grid-column: span 2; flex-direction: column; }
  .pcard.feature .pimg { border-right: 0; border-bottom: 1px solid var(--hairline-2); min-height: 220px; }
  .catnav { top: 64px; }
}

@media (max-width: 520px) {
  .pgrid.cols-2, .pgrid.cols-3, .pgrid.cols-4 { grid-template-columns: 1fr; }
  .pcard.feature { grid-column: span 1; }
  .swatches { grid-template-columns: repeat(3, 1fr); }
  .footer-top { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.6rem, 13vw, 3.4rem); }
}
