/* ============================================================
   TEMPLEPHONICS — premium audio software
   Custom stylesheet. Standalone (no Bootstrap).
   ============================================================ */

:root {
  /* Paleta SELANCE clara (light) — cuerpo de la pagina */
  --bg: #F4F5F7;        /* fondo de pagina */
  --bg-2: #E9EBEF;      /* fondos secundarios — bandas/superficies */
  --card: #FFFFFF;      /* superficies — tiles/cards */
  --header-top: #26262C;
  --header-bottom: #1C1C22;
  --border: #D9DCE1;    /* borde/linea */
  --text: #161A20;      /* texto principal */
  --muted: #4F5863;     /* texto secundario */
  --muted-3: #64707B;   /* texto terciario */
  --accent: #1E7070;    /* teal oscuro — buen contraste sobre claro */
  --accent-muted: #3D7E7E;
  --accent-soft: rgba(30, 112, 112, .10);
  --amber: #C77A24;
  --amber-soft: rgba(199, 122, 36, .12);
  --vista: #D9A64B;
  --success: #5C7A3E;
  --danger: #D14343;
  --btn-contrast: #FFFFFF;
  --btn-glow: 0 8px 30px rgba(30, 112, 112, .16);
  --placeholder: rgba(96, 105, 116, .62);
  --radius-btn: 8px;
  --radius-card: 16px;
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 76px;
  --ease: cubic-bezier(.4, 0, .2, 1);
}

/* Bloques que permanecen oscuros (header, hero, inner heroes, footer, lockups) */
.site-header, .hero, .page-hero, .site-footer, .product-lockup {
  --bg: #0F1216;
  --bg-2: #181820;
  --card: #181820;
  --header-top: #26262C;
  --header-bottom: #1C1C22;
  --border: #2A3138;
  --text: #F0F0F2;
  --muted: #C6CFD8;
  --muted-3: #9FACB8;
  --accent: #60A0A0;
  --accent-muted: #7CA4A4;
  --accent-soft: rgba(96, 160, 160, .14);
  --amber: #F8AC55;
  --amber-soft: rgba(248, 172, 85, .14);
  --vista: #F9D08A;
  --success: #94AD6E;
  --btn-contrast: #0F1216;
  --btn-glow: 0 8px 30px rgba(96, 160, 160, .28);
  --placeholder: rgba(167, 173, 183, .6);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 12px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ol, ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { margin: 0; line-height: 1.15; font-weight: 600; letter-spacing: -.02em; }
p { margin: 0; }

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: 24px;
}
.container-narrow { max-width: 780px; }

.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-btn);
  font-weight: 600;
  font-size: 15px;
  line-height: 1;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease), filter .25s var(--ease);
}
.btn-primary { background: var(--accent); color: var(--btn-contrast); }
.btn-primary:hover { filter: brightness(1.08); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--accent); background: var(--accent-soft); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: transparent;
  transition: background .3s var(--ease), box-shadow .3s var(--ease), backdrop-filter .3s var(--ease);
}
.site-header.scrolled {
  background: rgba(15, 18, 22, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 30px;
}
.brand-mark img { height: 28px; width: auto; display: block; }
.brand-name { display: block; height: 15px; width: auto; }
.brand-name:hover { opacity: .9; }
.site-nav ul { display: flex; align-items: center; gap: 34px; }
.site-nav a {
  position: relative;
  font-size: 15px; font-weight: 500;
  color: var(--muted);
  transition: color .25s var(--ease);
}
.site-nav a::after {
  content: ""; position: absolute; left: 0; bottom: -6px;
  width: 100%; height: 1px; background: var(--accent);
  transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.site-nav a:hover, .site-nav a.active { color: var(--text); }
.site-nav a:hover::after, .site-nav a.active::after { transform: scaleX(1); }

.nav-cta {
  padding: 10px 20px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-weight: 600; font-size: 14px;
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-cta:hover { background: var(--accent); color: var(--btn-contrast); }

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  background: rgba(255,255,255,.06);
  border: 1px solid var(--border);
  border-radius: 999px;
}
.lang-btn {
  background: transparent;
  border: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .05em;
  padding: 6px 10px;
  border-radius: 999px;
  cursor: pointer;
  font-family: var(--font);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.lang-btn:hover { background: rgba(255,255,255,.1); }
.lang-btn.active {
  background: var(--accent);
  color: var(--btn-contrast);
}
.lang-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

@media (max-width: 640px) {
  .lang-switch { padding: 2px; }
  .lang-btn { padding: 5px 8px; font-size: 11px; }
}

.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; gap: 5px;
  width: 40px; height: 40px;
  background: transparent; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--text); border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 40px) 0 60px;
  overflow: hidden;
  background-color: var(--bg);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9), transparent 75%);
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,.9), transparent 75%);
  animation: grid-drift 40s linear infinite;
}
@keyframes grid-drift { to { background-position: 64px 64px; } }

.hero-inner {
  position: relative; z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 56px;
  text-align: center;
}
.hero-wordmark {
  margin-bottom: 6px;
}
.hero-wordmark img {
  width: min(520px, 92%);
  height: auto;
  display: block;
  margin-inline: auto;
}
.hero h1.hero-tagline {
  font-weight: 400;
  font-size: clamp(22px, 2.6vw, 32px);
  line-height: 1.2;
  letter-spacing: .04em;
  color: var(--text);
  margin-top: 14px;
}
.hero h1.hero-tagline em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin: 26px auto 0;
  font-size: clamp(16px, 1.6vw, 19px);
  color: var(--text);
  max-width: 560px;
  font-weight: 400;
  opacity: .92;
}
.hero-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-top: 36px; }
.hero-note { margin-top: 22px; font-size: 13px; color: rgba(199,209,218,.92); letter-spacing: .02em; }

/* Hero product shot */
.hero-shot {
  position: relative;
  width: 100%;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
  line-height: 0;
  animation: float 9s var(--ease) infinite;
  box-shadow:
    0 30px 70px -30px rgba(0,0,0,.8),
    0 0 80px -24px var(--accent);
}
@keyframes float {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-shot img { width: 100%; height: auto; }
.hero-shot .shot-badge { top: 18px; left: 18px; }

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section-head { margin-bottom: 56px; max-width: 720px; }
.eyebrow {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .26em;
  font-size: 12px; font-weight: 600;
  margin-bottom: 18px;
}
.free-pill {
  display: inline-block;
  margin: 0 0 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: 999px;
  padding: 5px 14px;
}
.section-head h2 {
  font-weight: 300;
  font-size: clamp(30px, 3.6vw, 46px);
  letter-spacing: -.02em;
}

/* Features */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 30px 26px;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.feature-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--card); }
.feature-icon {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
  margin-bottom: 20px;
}
.feature-card h3 { font-size: 18px; font-weight: 600; margin-bottom: 10px; }
.feature-card p { color: var(--muted); font-size: 14.5px; font-weight: 300; }

/* Workflow */
.workflow { background: var(--bg-2); border-block: 1px solid var(--border); }
.timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  counter-reset: step;
  margin: 0;
}
.timeline-step {
  position: relative;
  padding: 34px 26px;
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg);
}
.timeline-num {
  display: block;
  font-size: 13px; font-weight: 600; letter-spacing: .18em;
  color: var(--accent); margin-bottom: 18px;
}
.timeline-step h3 { font-size: 19px; font-weight: 600; margin-bottom: 8px; }
.timeline-step p { color: var(--muted); font-size: 14.5px; font-weight: 300; }

/* Screenshots */
.shot-grid {
  display: grid;
  gap: 72px;
}
.shot-narrow .shot-frame { max-width: 294px; justify-self: center; }
.shot-portrait .shot-frame { max-width: 224px; justify-self: center; }
.shot {
  margin: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 52px;
  align-items: center;
}
.shot:nth-child(even) .shot-frame { order: 2; }
.shot:nth-child(even) figcaption { order: 1; }
.shot-frame {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg-2);
  overflow: hidden;
}
.shot-frame img { width: 100%; height: auto; display: block; transition: transform .6s var(--ease); }
.shot:hover .shot-frame img { transform: scale(1.02); }
.shot-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  font-size: 11px; font-weight: 500; letter-spacing: .06em;
  color: var(--accent-muted);
  background: rgba(15, 18, 22, .82);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px 12px;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.shot figcaption { padding: 0; }
.shot figcaption h3 { font-size: 24px; font-weight: 600; margin-bottom: 12px; }
.shot figcaption p { color: var(--muted); font-size: 16px; font-weight: 300; line-height: 1.6; }

/* Why */
.why { background: var(--bg-2); border-block: 1px solid var(--border); }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-card {
  padding: 34px 30px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-card);
}
.why-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; }
.why-card p { color: var(--muted); font-size: 15px; font-weight: 300; }

/* Video */
.video-frame {
  position: relative;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  overflow: hidden;
  aspect-ratio: 16 / 8;
  background: var(--bg-2);
  display: flex; align-items: center; justify-content: center;
}
.video-tint { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; opacity: .35; }
.video-tint svg { width: 60%; height: 40%; }
.video-cover {
  position: relative; z-index: 2;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.play-button {
  width: 84px; height: 84px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text);
  transition: background .3s var(--ease), transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.video-cover:hover .play-button {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--btn-contrast);
  transform: scale(1.06);
  box-shadow: 0 0 0 14px var(--accent-soft);
}
.video-label { font-size: 14px; font-weight: 500; letter-spacing: .08em; color: var(--text); }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-2);
  overflow: hidden;
  transition: border-color .3s var(--ease);
}
.faq-item.open { border-color: var(--accent); background: #FBFCFD; }
.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 22px 26px;
  background: none; border: 0;
  color: var(--text);
  font-family: var(--font);
  font-size: 16px; font-weight: 500; text-align: left;
  cursor: pointer;
}
.faq-icon {
  flex-shrink: 0;
  width: 14px; height: 14px; position: relative;
}
.faq-icon::before, .faq-icon::after {
  content: ""; position: absolute; background: var(--accent);
  transition: transform .3s var(--ease);
}
.faq-icon::before { top: 6px; left: 0; width: 14px; height: 1.5px; }
.faq-icon::after { top: 0; left: 6px; width: 1.5px; height: 14px; }
.faq-item.open .faq-icon::after { transform: scaleY(0); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a p {
  padding: 0 26px 24px;
  color: var(--muted);
  font-size: 15px; font-weight: 300;
  max-width: 640px;
}

/* Newsletter */
.newsletter-card {
  background: linear-gradient(180deg, var(--bg-2), var(--card));
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 56px 48px;
  text-align: center;
}
.newsletter-card h2 { font-weight: 300; font-size: clamp(28px, 3vw, 40px); margin-bottom: 14px; }
.newsletter-sub { color: var(--muted); font-size: 16px; font-weight: 300; max-width: 520px; margin: 0 auto 30px; }
.newsletter-form {
  display: flex; gap: 12px;
  max-width: 480px; margin: 0 auto;
}
.newsletter-form input {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color .25s var(--ease);
}
.newsletter-form input::placeholder { color: var(--placeholder); }
.newsletter-form input:focus { outline: none; border-color: var(--accent); }
.newsletter-ok { margin-top: 16px; color: var(--success); font-weight: 500; }
.newsletter-terms { margin-top: 16px; font-size: 12px; color: var(--placeholder); }
.newsletter-embed { margin: 0 auto; max-width: 520px; }
.newsletter-embed iframe {
  width: 100%;
  height: 860px;
  border: 0;
  border-radius: 12px;
  background: #fff;
}
@media (max-width: 640px) {
  .newsletter-embed iframe { height: 920px; }
}

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 56px;
}
.footer-brand p { margin-top: 18px; color: var(--muted); font-size: 14px; font-weight: 300; max-width: 280px; }
.footer-col h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .14em;
  color: var(--muted); margin-bottom: 18px; font-weight: 600;
}
.footer-col li { margin-bottom: 12px; }
.footer-col a { color: var(--muted); font-size: 14.5px; font-weight: 300; transition: color .25s var(--ease); }
.footer-col a:hover { color: var(--text); }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 22px 24px;
  color: var(--placeholder);
  font-size: 13px;
  max-width: 1200px;
}
.footer-bottom p { text-align: center; }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: calc(var(--header-h) + 90px) 0 40px;
  border-bottom: 1px solid var(--border);
  background-color: var(--bg);
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero h1 {
  color: var(--text);
  font-weight: 500;
  font-size: clamp(34px, 4.4vw, 58px);
  letter-spacing: -.03em;
  max-width: 820px;
}
.page-sub { margin-top: 22px; color: var(--muted); font-size: 18px; font-weight: 400; max-width: 600px; }

.content-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 64px; align-items: start; }
.content-grid .section-head { margin-bottom: 0; }
.prose p { color: var(--muted); font-weight: 300; font-size: 16.5px; margin-bottom: 18px; }

.value-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value-item {
  padding: 34px 30px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-card);
}
.value-item h3 { font-size: 19px; font-weight: 600; margin-bottom: 12px; color: var(--accent); }
.value-item p { color: var(--muted); font-size: 15px; font-weight: 300; }

@media (max-width: 800px) {
  .content-grid { grid-template-columns: 1fr; gap: 36px; }
  .value-grid { grid-template-columns: 1fr; }
}

/* ---------- Product page ---------- */
.product-feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.product-copy h2 { font-weight: 300; font-size: clamp(26px, 3vw, 38px); letter-spacing: -.02em; margin-bottom: 16px; }
.product-desc { color: var(--muted); font-weight: 300; font-size: 16.5px; margin-bottom: 24px; max-width: 520px; }
.product-list { display: grid; gap: 12px; margin-bottom: 34px; }
.product-list li {
  position: relative; padding-left: 30px;
  color: var(--text); font-weight: 400; font-size: 15.5px;
}
.product-list li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 8px; height: 8px; border-radius: 2px;
  background: var(--accent);
}
.product-visual img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.product-lockup {
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background:
    radial-gradient(120% 90% at 50% 0%, rgba(96,160,160,.10), transparent 60%),
    var(--bg-2);
  padding: 56px 40px 48px;
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  box-shadow: 0 40px 80px -48px rgba(0,0,0,.7);
}
.product-lockup .lockup-symbol { height: 54px; width: auto; }
.product-lockup .lockup-wordmark { height: 22px; width: auto; opacity: .9; }
.product-lockup .lockup-title {
  height: 44px; width: auto; margin-top: 8px;
  filter: drop-shadow(0 4px 22px rgba(96,160,160,.28));
}
.product-lockup .lockup-tagline { height: 12px; width: auto; opacity: .75; }
.product-lockup .lockup-probe {
  font-weight: 700; font-size: 34px; letter-spacing: .1em;
  color: var(--text); line-height: 1;
}
.product-lockup .lockup-probe-line { display: flex; align-items: center; gap: 18px; }
.product-lockup .lockup-probe-line .lockup-title { margin-top: 0; }

.spec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.spec { padding: 28px 26px; border: 1px solid var(--border); background: var(--card); border-radius: var(--radius-card); }
.spec h3 { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.spec p { color: var(--text); font-size: 17px; font-weight: 400; }
.spec[href] {
  display: block; color: inherit;
  transition: transform .35s var(--ease), border-color .35s var(--ease), background .35s var(--ease);
}
.spec[href]:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--card); }

/* ---------- Product detail grid ---------- */
.detail-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.detail-card {
  padding: 32px 30px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.detail-card:hover { transform: translateY(-4px); border-color: var(--accent); }
.detail-card h3 {
  font-size: 13px; text-transform: uppercase; letter-spacing: .12em;
  color: var(--accent); font-weight: 600; margin-bottom: 12px;
}
.detail-card p { color: var(--muted); font-size: 15px; font-weight: 300; }

@media (max-width: 900px) {
  .product-feature { grid-template-columns: 1fr; gap: 40px; }
  .spec-grid { grid-template-columns: repeat(2, 1fr); }
  .detail-grid { grid-template-columns: 1fr; }
}

/* ---------- Learn / Support / Contact pages ---------- */
.article-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.article-card {
  padding: 32px 30px;
  border: 1px solid var(--border);
  background: var(--card);
  border-radius: var(--radius-card);
  transition: transform .35s var(--ease), border-color .35s var(--ease);
}
.article-card:hover { transform: translateY(-4px); border-color: var(--accent); background: var(--card); }
.article-card h3 { font-size: 19px; font-weight: 600; margin-bottom: 10px; }
.article-card p { color: var(--muted); font-size: 14.5px; font-weight: 300; margin-bottom: 20px; }
.article-card a { color: var(--accent); font-weight: 600; font-size: 14.5px; }
.article-card a span { transition: transform .25s var(--ease); display: inline-block; }
.article-card a:hover span { transform: translateX(4px); }

.support-grid { display: grid; gap: 48px; }
.support-contact {
  padding: 44px 40px;
  border: 1px solid var(--border);
  background: var(--bg-2);
  border-radius: var(--radius-card);
  text-align: left;
}
.support-contact h2 { font-weight: 300; font-size: clamp(24px, 2.6vw, 32px); margin-bottom: 12px; }
.support-contact p { color: var(--muted); font-weight: 300; margin-bottom: 26px; }

.contact-form { display: grid; gap: 14px; }
.contact-form .form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 14px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  resize: vertical;
  transition: border-color .25s var(--ease);
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: var(--placeholder); }
.contact-form input:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); }
.contact-form .btn { justify-self: start; margin-top: 4px; }

/* ---------- Serial form (LoudMeter lead magnet) ---------- */
.serial-form { display: flex; flex-direction: column; gap: 8px; align-items: center; }
.serial-form-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  min-width: min(100%, 460px);
}
.serial-input {
  min-width: 230px;
  padding: 13px 18px;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 15px;
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease);
}
.serial-input::placeholder { color: var(--placeholder); }
.serial-input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.serial-note {
  margin: 4px 0 0;
  font-size: 14px;
  color: var(--text);
  min-height: 18px;
  font-weight: 500;
}
.serial-note-muted { color: var(--muted); font-weight: 400; font-size: 13px; max-width: 460px; }
.serial-note-success { color: var(--success); }
.serial-note-error { color: var(--danger); }
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
@media (max-width: 520px) {
  .serial-form-row, .serial-input, .serial-form .btn { width: 100%; }
  .serial-form .btn { justify-content: center; }
}

.contact-alternates { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.contact-alternates a { color: var(--text); }
.contact-alternates a:hover { color: var(--accent); }

@media (max-width: 700px) {
  .article-grid { grid-template-columns: 1fr; }
  .contact-form .form-row { grid-template-columns: 1fr; }
  .contact-alternates { grid-template-columns: 1fr; }
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
[data-reveal].revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .feature-grid, .timeline { grid-template-columns: repeat(2, 1fr); }
  .shot { grid-template-columns: 1fr; gap: 24px; }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { min-height: auto; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .feature-grid, .timeline { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .newsletter-card { padding: 40px 24px; }
  .newsletter-form { flex-direction: column; }
  .nav-cta { display: none; }

  /* Mobile nav */
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: var(--header-h); left: 0; right: 0; bottom: 0;
    background: var(--bg);
    border-top: 1px solid var(--border);
    padding: 32px 24px;
    transform: translateY(-12px);
    opacity: 0; visibility: hidden;
    transition: opacity .3s var(--ease), transform .3s var(--ease), visibility .3s;
  }
  .site-nav.open { transform: none; opacity: 1; visibility: visible; }
  .site-nav ul { flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-nav a { font-size: 22px; font-weight: 400; }
  .video-frame { aspect-ratio: 16 / 11; }
}

/* ---------- Hero: línea decorativa ---------- */
.hero h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  background: var(--accent);
  margin: 24px auto 0;
  border-radius: 2px;
}

@media (max-width: 1024px) {
  .hero h1::after { margin-left: auto; margin-right: auto; }
}

/* ---------- Feature card hover ---------- */
.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30,112,112,.40);
  background: var(--card);
  box-shadow: 0 12px 40px rgba(15,23,32,.08);
}
.feature-icon { transition: background .3s var(--ease); }
.feature-card:hover .feature-icon { background: var(--amber-soft); }

/* ---------- Botón primario con glow al hover ---------- */
.btn-primary:hover { box-shadow: var(--btn-glow); }

/* ---------- Timeline step hover ---------- */
.timeline-step:hover {
  transform: translateX(6px);
  border-color: rgba(96,160,160,.40);
}

/* ---------- Page hero ---------- */
.page-hero { position: relative; overflow: hidden; }
.page-hero::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .3;
}

/* ---------- Guide pages ---------- */
.guide-back {
  display: inline-flex; align-items: center; gap: 8px;
  margin: 0 0 40px;
  color: var(--accent); font-weight: 600; font-size: 14px;
  letter-spacing: .02em;
}
.guide-back:hover { text-decoration: underline; }
.guide { max-width: 760px; }
.guide .prose h2 {
  margin: 52px 0 16px;
  font-size: 24px; font-weight: 600; letter-spacing: -.01em;
  color: var(--text);
}
.guide .prose h2:first-child { margin-top: 0; }
.guide .prose p { color: var(--text); font-size: 16.5px; font-weight: 400; margin-bottom: 16px; line-height: 1.7; }
.guide .prose ul { margin: 0 0 22px; padding-left: 24px; }
.guide .prose li { list-style: disc; margin-bottom: 10px; color: var(--text); font-size: 16px; line-height: 1.6; }
.guide-callout {
  border-left: 3px solid var(--accent);
  background: var(--accent-soft);
  padding: 20px 22px;
  border-radius: 0 12px 12px 0;
  margin: 28px 0;
}
.guide-callout p { color: var(--text); font-size: 16px; margin: 0; line-height: 1.6; }
.guide-sources { margin-top: 48px; padding-top: 20px; border-top: 1px solid var(--border); }
.guide-sources p { color: var(--muted); font-size: 13px; margin-bottom: 4px; }
.guide-sources a { color: var(--accent); text-decoration: underline; }

/* ---------- Manual figures ---------- */
.manual-figure { margin: 0 0 48px; }
.manual-figure img {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  background: var(--bg-2);
}
.manual-placeholder {
  width: 100%;
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed var(--border);
  border-radius: var(--radius-card);
  background: var(--bg-2);
  color: var(--muted);
  font-size: 13px;
  letter-spacing: .03em;
  text-align: center;
  padding: 32px 24px;
}

/* ---------- EQ frequency chart tool ---------- */
.eq-chart-wrap { display: grid; gap: 24px; }
.eq-chart-hero .eq-svg-wrap svg { display: block; width: 100%; height: auto; }
.eq-chart-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; }
.eq-controls-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 36px; }
.eq-controls-grid > div:last-child { border-left: 1px solid var(--border); padding-left: 36px; }
.eq-tool-label { font-size: 12px; text-transform: uppercase; letter-spacing: .14em; color: var(--accent); font-weight: 600; margin-bottom: 14px; }
.eq-presets { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.eq-selectrow { display: flex; gap: 8px; margin-bottom: 22px; }
.eq-chip {
  padding: 7px 14px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--bg);
  color: var(--text);
  font-size: 13px; font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.eq-chip:hover { border-color: var(--accent); }
.eq-chip.active { background: var(--accent); color: var(--btn-contrast); border-color: var(--accent); }
.eq-chip.eq-sym.active { background: var(--chip, var(--accent)); border-color: var(--chip, var(--accent)); }
.eq-symptom { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.eq-group-head { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--muted-3); margin: 0 0 8px; }
.eq-list { display: grid; grid-template-columns: 1fr 1fr; gap: 7px 14px; margin-bottom: 18px; }
.eq-check { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--text); cursor: pointer; }
.eq-check input { accent-color: var(--accent); margin: 0; }
.eq-readout {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  font-size: 14px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
  min-height: 72px;
}
.eq-note { margin-top: 14px; font-size: 12.5px; color: var(--muted); font-weight: 300; }
.eq-legend { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 12.5px; color: var(--muted); }
.eq-band-label { font-size: 11px; fill: var(--text); font-weight: 600; letter-spacing: .02em; }
.eq-ax-label { font-size: 10.5px; fill: var(--muted-3); }
.eq-grid-line { stroke: var(--border); stroke-width: 1; }
.eq-grid-label { font-size: 10px; fill: var(--muted-3); }
.eq-lane { cursor: pointer; }
.eq-lane-label { font-size: 9px; fill: #fff; font-weight: 600; }

/* Details panel */
.eq-details-card { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius-card); padding: 24px; margin-top: 24px; }
.eq-detail-empty { color: var(--muted); font-size: 14.5px; font-weight: 300; }
.eq-detail { padding: 18px 0; border-bottom: 1px solid var(--border); }
.eq-detail:last-child { border-bottom: 0; }
.eq-detail h4 { font-size: 17px; font-weight: 600; margin-bottom: 4px; padding-left: 12px; border-left: 3px solid var(--accent); }
.eq-detail-meta { font-size: 12.5px; color: var(--muted-3); margin: 0 0 12px; }
.eq-detail-label { font-size: 11.5px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--accent); margin: 10px 0 6px; }
.eq-detail ul { list-style: none; padding: 0; margin: 0; }
.eq-detail li { font-size: 14px; font-weight: 300; color: var(--text); line-height: 1.55; margin-bottom: 8px; }
.eq-detail li b { font-weight: 600; }
.eq-range { font-size: 12px; color: var(--muted-3); font-weight: 500; }

/* Tooltip */
.eq-tip {
  position: fixed;
  z-index: 60;
  width: 280px;
  max-height: 70vh;
  overflow-y: auto;
  background: rgba(15, 18, 22, .96);
  border: 1px solid #2A3138;
  border-radius: 12px;
  padding: 14px 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,.5);
  color: #E7EAEF;
  pointer-events: none;
}
.eq-tip-head { font-size: 15px; font-weight: 700; margin-bottom: 2px; }
.eq-tip-meta { font-size: 12px; color: #9AA6B0; margin-bottom: 10px; }
.eq-tip-sect { padding: 8px 0; border-top: 1px solid rgba(255,255,255,.08); }
.eq-tip-sect:first-of-type { border-top: 0; }
.eq-tip-sect b { font-size: 12.5px; }
.eq-tip-sect .eq-tip-good { color: #94AD6E; }
.eq-tip-sect .eq-tip-bad { color: #E58A8A; }
.eq-tip-sect span { font-size: 11px; color: #9AA6B0; margin-left: 6px; }
.eq-tip-sect p { font-size: 12px; font-weight: 300; line-height: 1.5; color: #C7D0D8; margin: 4px 0 0; }
@media (max-width: 900px) {
  .eq-controls-grid { grid-template-columns: 1fr; }
  .eq-controls-grid > div:last-child { border-left: 0; padding-left: 0; border-top: 1px solid var(--border); padding-top: 20px; margin-top: 8px; }
  .eq-list { grid-template-columns: 1fr; }
}