/* Electramat — design system v2, sobre la dirección visual real del cliente
   (Claude Design). CSS plano, sin framework (AVOCODING-FASTTRACK-WEBSITES.md §2). */

@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/fonts/barlow-300.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/barlow-400.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/barlow-500.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/barlow-600.woff2") format("woff2");
}
@font-face {
  font-family: "Barlow";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/barlow-700.woff2") format("woff2");
}
@font-face {
  font-family: "Instrument Serif";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/instrument-serif-italic-400.woff2") format("woff2");
}
@font-face {
  font-family: "JetBrains Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/jetbrains-mono-500.woff2") format("woff2");
}

:root {
  /* Paleta real del cliente */
  --ink: #12110f;
  --ink-soft: #181714;
  --ink-softer: #0d0c0b;
  --cream: #f3efe6;
  --gold: #f7ae32;
  --gold-hover: #ffc75e;
  --gold-dark: #c7861a;
  --border: #2a2824;
  --border-input: #3a3731;
  --muted-1: #b9b3a7;
  --muted-2: #9a9489;
  --muted-3: #8a8479;
  --muted-4: #6f6a60;
  --ink-muted: #4d4940;

  --font-body: "Barlow", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
  --font-serif: "Instrument Serif", Georgia, serif;

  --wrap: 1280px;
  --header-h: 74px;
  --bar-h: 38px;
}

/* Reset mínimo */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--bar-h) + 12px);
}
body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img,
svg {
  max-width: 100%;
  display: block;
}
a {
  color: var(--gold);
  text-decoration: none;
}
a:hover {
  color: var(--gold-hover);
}
ul,
ol {
  padding-left: 1.2em;
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-body);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  color: var(--cream);
}
.section:not(.section--cream) h1,
.section:not(.section--cream) h2,
.section:not(.section--cream) h3 {
  color: var(--cream);
}
h1 {
  font-size: clamp(2.6rem, 4vw + 1.4rem, 6rem);
  line-height: 0.98;
}
h2 {
  font-size: clamp(2rem, 2.4vw + 1.2rem, 3.4rem);
}
h3 {
  font-size: clamp(1.1rem, 0.5vw + 1rem, 1.3rem);
  font-weight: 600;
}
p {
  margin: 0 0 1em;
}
.accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: var(--gold);
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 300;
  background: var(--gold);
  color: var(--ink);
  padding: 12px 20px;
  font-family: var(--font-body);
  font-weight: 600;
  text-decoration: none;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 32px;
}
@media (max-width: 640px) {
  .wrap {
    padding: 0 20px;
  }
}

.section {
  padding: clamp(64px, 9vw, 130px) 0;
}
.section--cream {
  background: var(--cream);
  color: var(--ink);
}
.section--cream h1,
.section--cream h2,
.section--cream h3 {
  color: var(--ink);
}
.section--cream .eyebrow {
  color: var(--gold-dark);
}
.section--soft {
  background: var(--ink-soft);
}
.section--edge {
  border-top: 1px solid var(--border);
}
.section--edge-b {
  border-bottom: 1px solid var(--border);
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-mono);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.75rem;
  color: var(--gold);
  margin-bottom: 1.2em;
}
.eyebrow .rule {
  width: 32px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}
.lede {
  font-size: 1.18rem;
  line-height: 1.55;
  color: var(--muted-1);
  max-width: 34em;
  font-weight: 300;
}
.section--cream .lede {
  color: var(--ink-muted);
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-body);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.82rem;
  padding: 1em 1.6em;
  border-radius: 0;
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.btn-gold {
  background: var(--gold);
  color: var(--ink);
}
.btn-gold:hover {
  background: var(--gold-hover);
  color: var(--ink);
}
.btn-outline {
  border-color: var(--border-input);
  background: rgba(18, 17, 15, 0.5);
  color: var(--cream);
}
.btn-outline:hover {
  border-color: var(--cream);
  color: var(--cream);
}
.section--cream .btn-outline {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Barra de urgencia */
.urgent-bar {
  height: var(--bar-h);
  background: var(--gold);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0 16px;
}
.urgent-bar a {
  color: var(--ink);
  font-weight: 500;
  border-bottom: 1px solid var(--ink);
}
.urgent-bar a:hover {
  color: var(--ink);
  opacity: 0.75;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: rgba(18, 17, 15, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--cream);
}
.brand-logo {
  height: 40px;
  width: auto;
}
.brand-word {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.1rem;
  letter-spacing: 0.14em;
}
.main-nav {
  display: flex;
  align-items: center;
  flex: 1;
  justify-content: flex-end;
}
.nav-menu {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--muted-1);
  text-decoration: none;
  font-size: 0.92rem;
}
.nav-menu a:hover {
  color: var(--cream);
}
.header-cta {
  flex-shrink: 0;
  margin-left: 10px;
  padding: 0.7em 1.2em;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 0;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--cream);
}

@media (max-width: 860px) {
  .site-header {
    background: var(--ink);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
  .header-cta {
    display: none;
  }
  .brand,
  .nav-toggle {
    position: relative;
    z-index: 2;
  }
  .nav-toggle {
    display: flex;
    margin-left: auto;
    width: 44px;
    height: 44px;
    align-items: flex-end;
    gap: 7px;
  }
  .nav-toggle span {
    width: 24px;
    height: 1.5px;
    transition: transform 0.25s ease, width 0.25s ease;
  }
  .nav-toggle span:nth-child(2) {
    width: 16px;
  }
  .nav-toggle span:nth-child(3) {
    display: none;
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(4.25px) rotate(45deg);
  }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    width: 24px;
    transform: translateY(-4.25px) rotate(-45deg);
  }
  .main-nav {
    position: fixed;
    inset: 0;
    z-index: 1;
    background: var(--ink);
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.25s ease, visibility 0s linear 0.25s;
    justify-content: flex-start;
    align-items: flex-start;
    padding: calc(var(--header-h) + var(--bar-h) + 28px) 28px 32px;
    overflow-y: auto;
  }
  .main-nav.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.25s ease;
  }
  .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }
  .nav-menu li {
    width: 100%;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu a {
    display: block;
    padding: 18px 0;
    font-size: 1.25rem;
    color: var(--cream);
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: min(90vh, 940px);
  display: flex;
  align-items: center;
  color: var(--cream);
  background: radial-gradient(ellipse 60% 70% at 72% 50%, rgba(247, 174, 50, 0.16), rgba(247, 174, 50, 0) 65%);
  overflow: hidden;
}
.hero--page {
  min-height: min(52vh, 460px) !important;
  align-items: flex-end;
}
.hero-bolt {
  position: absolute;
  top: 0;
  bottom: 0;
  right: -8%;
  width: 78%;
  min-width: 420px;
  pointer-events: none;
}
.hero-bolt svg,
.hero-bolt bolt-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-scrim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(18, 17, 15, 0.94) 0%, rgba(18, 17, 15, 0.6) 42%, rgba(18, 17, 15, 0.15) 70%);
}
.hero--page .hero-scrim {
  background: linear-gradient(0deg, rgba(18, 17, 15, 0.97) 10%, rgba(18, 17, 15, 0.75) 100%);
}
.hero-effect-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-effect-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  transform-origin: 60% 50%;
  animation: heroEffectPan 16s ease-in-out infinite alternate, heroEffectGlow 4.5s ease-in-out infinite;
}
@keyframes heroEffectPan {
  from {
    transform: scale(1) translate(0, 0);
  }
  to {
    transform: scale(1.12) translate(-1.5%, -1%);
  }
}
@keyframes heroEffectGlow {
  0%,
  100% {
    filter: brightness(1) saturate(1);
  }
  50% {
    filter: brightness(1.18) saturate(1.1);
  }
}
.hero-effect-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(18, 17, 15, 0) 60%, var(--ink) 100%),
    linear-gradient(100deg, rgba(18, 17, 15, 0.92) 0%, rgba(18, 17, 15, 0.62) 48%, rgba(18, 17, 15, 0.2) 100%);
}
.service-top {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.service-top > .hero-effect-media {
  z-index: -1;
}
.service-top .hero {
  background: none;
}
@media (prefers-reduced-motion: reduce) {
  .hero-effect-media img {
    animation: none;
  }
}
.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  padding: clamp(120px, 10vw, 170px) 0 clamp(56px, 7vw, 96px);
}
.hero--page .hero-inner {
  padding-top: clamp(140px, 12vw, 190px);
  padding-bottom: clamp(40px, 5vw, 64px);
}
.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 720px;
}
.hero h1 {
  margin-bottom: 0;
}
.hero .lede {
  margin-bottom: 0;
}
.hero-lema {
  position: absolute;
  z-index: 2;
  right: 32px;
  bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 4px;
}
.hero-lema span:first-child {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.hero-lema span:last-child {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--cream);
}
@media (max-width: 860px) {
  .hero-lema {
    display: none;
  }
}

/* Franja de confianza / badges */
.trust-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-1);
  padding: 0;
  margin: 0;
}
.trust-strip li {
  list-style: none;
}

/* Promesa destacada del hero: desplazamiento gratuito (la duda más común) */
.hero-promise {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin: 26px 0 0;
  padding-left: 16px;
  border-left: 3px solid var(--gold);
}
.hero-promise-title {
  font-size: clamp(1.7rem, 3.6vw, 2.4rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.01em;
  color: var(--gold);
}
.hero-promise-note {
  font-size: 1rem;
  color: var(--muted-1);
}
.trust-strip--stack {
  flex-direction: column;
  gap: 8px;
  margin-top: 26px;
}

/* Filas numeradas (pilares, servicios, credenciales, método) */
.row-list {
  border-top: 1px solid var(--border);
}
.section--cream .row-list {
  border-top-color: var(--ink);
}
.service-row {
  display: grid;
  grid-template-columns: 64px minmax(0, 1.2fr) minmax(0, 1fr) 32px;
  gap: 24px;
  align-items: center;
  padding: 30px 0;
  border-bottom: 1px solid var(--border);
  color: var(--cream);
  text-decoration: none;
}
.service-row:hover {
  background: rgba(255, 255, 255, 0.02);
  color: var(--gold);
}
.service-row .n {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--muted-4);
}
.service-row .t {
  font-size: clamp(1.2rem, 1.4vw, 1.7rem);
  font-weight: 500;
  letter-spacing: -0.01em;
  color: inherit;
}
.service-row .d {
  font-size: 0.94rem;
  line-height: 1.5;
  color: var(--muted-2);
}
.service-row .arrow {
  font-size: 1.3rem;
  text-align: right;
}
@media (max-width: 720px) {
  .service-row {
    grid-template-columns: 40px 1fr;
    grid-template-areas: "n t" ". d" ". arrow";
    row-gap: 8px;
  }
  .service-row .n {
    grid-area: n;
  }
  .service-row .t {
    grid-area: t;
  }
  .service-row .d {
    grid-area: d;
  }
  .service-row .arrow {
    grid-area: arrow;
  }
}

.pillars {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr));
}
.pillar {
  padding: 30px 26px 30px 0;
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.pillar .n {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--gold);
  padding-top: 4px;
}
.pillar .t {
  display: block;
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--cream);
}
.pillar .d {
  font-size: 0.9rem;
  color: var(--muted-2);
  line-height: 1.5;
}

.method-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr));
}
.method-step {
  padding: 30px 26px 8px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.method-step .n {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 3rem;
  line-height: 1;
  color: var(--gold-dark);
}
.method-step .t {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}
.method-step .d {
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--ink-muted);
}

/* Credenciales */
.cred-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 56px);
}
.cred-badge {
  background: #fff;
  padding: 18px;
  max-width: 340px;
  width: 100%;
}
.cred-badge img { width: 100%; height: auto; display: block; }
.cred-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
}
.cred-row .label {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--cream);
}
.cred-row .value {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.cred-list {
  border-top: 1px solid var(--border);
}

/* Firma / testimonio */
.testimonio {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 380px), 1fr));
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.testimonio-photo {
  aspect-ratio: 1 / 1;
  width: 100%;
  max-width: 480px;
  border: 1px solid var(--border);
  overflow: hidden;
}
.testimonio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.testimonio-quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.7rem, 2.6vw, 2.6rem);
  line-height: 1.15;
  color: var(--cream);
  margin: 0;
}
.testimonio-who {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 28px;
}
.testimonio-who strong {
  font-weight: 600;
  font-size: 1rem;
  color: var(--cream);
}
.testimonio-who span {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-3);
}

.testimonio-bio {
  margin-top: 24px;
  max-width: 560px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.testimonio-bio p {
  margin: 0 0 0.9em;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--muted-1);
}
.testimonio-bio p:last-child {
  margin-bottom: 0;
}

/* Tarjetas genéricas (quienes-somos, faq general…) */
.grid {
  display: grid;
  gap: 24px;
}
.grid-2 {
  grid-template-columns: repeat(2, 1fr);
}
.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.grid-4 {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 980px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 620px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}
.card {
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.section--cream .card {
  border-color: var(--ink);
}
.card h3 {
  margin-bottom: 0.5em;
}
.card p {
  color: var(--muted-2);
  font-size: 0.94rem;
  margin: 0;
}
.section--cream .card p {
  color: var(--ink-muted);
}

/* Pasos numerados (páginas de servicio) */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: step;
  display: grid;
  gap: 22px;
}
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 56px;
}
.steps li::before {
  content: counter(step);
  position: absolute;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-mono);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.steps strong {
  display: block;
  font-weight: 600;
  margin-bottom: 0.2em;
  color: var(--cream);
}

/* Tabla semántica (precios) */
.plan-table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid var(--border);
}
.plan-table caption {
  text-align: left;
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.78rem;
  color: var(--muted-2);
  padding: 14px 20px 0;
}
.plan-table th,
.plan-table td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.plan-table th {
  font-family: var(--font-mono);
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: var(--muted-2);
}
@media (max-width: 640px) {
  .plan-table thead {
    display: none;
  }
  .plan-table,
  .plan-table tbody,
  .plan-table tr,
  .plan-table td {
    display: block;
    width: 100%;
  }
  .plan-table tr {
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
  }
  .plan-table td {
    border: 0;
    padding: 4px 20px;
  }
  .plan-table td::before {
    content: attr(data-label) ": ";
    font-weight: 700;
    font-family: var(--font-mono);
  }
}

/* Para quién es / no es */
.fit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 700px) {
  .fit-grid {
    grid-template-columns: 1fr;
  }
}
.fit-card {
  padding: 28px;
  border: 1px solid var(--border);
}
.fit-card--yes {
  border-color: var(--gold);
  background: rgba(247, 174, 50, 0.06);
}
.fit-card h2 {
  font-size: 1.05rem;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--border);
}
.section--cream .faq-item {
  border-bottom-color: var(--ink);
}
.faq-item details {
  padding: 20px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 500;
  font-size: 1.05rem;
  color: var(--cream);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.section--cream .faq-item summary {
  color: var(--ink);
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--gold);
  flex-shrink: 0;
}
.faq-item details[open] summary::after {
  content: "\2212";
}
.faq-item p {
  color: var(--muted-2);
  margin: 0.8em 0 0;
}
.section--cream .faq-item p {
  color: var(--ink-muted);
}

/* Reseñas (estilo Google) */
.section--google {
  background: #fff;
  color: #202124;
}
.g-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.g-brand {
  display: flex;
  align-items: center;
  gap: 16px;
}
.g-logo svg {
  width: 44px;
  height: 44px;
  display: block;
}
.g-title {
  display: block;
  font-size: 1.5rem;
  font-weight: 600;
  color: #202124;
}
.g-sub {
  display: block;
  font-size: 0.95rem;
  color: #5f6368;
}
.g-score {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 20px;
  border: 1px solid #dadce0;
  border-radius: 999px;
  background: #fff;
}
.g-score strong {
  font-size: 2.2rem;
  line-height: 1;
  font-weight: 500;
  color: #202124;
}
.g-score > span:last-child {
  font-size: 0.95rem;
  color: #5f6368;
}
.g-stars {
  display: inline-flex;
  gap: 2px;
}
.g-stars svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: #dadce0;
}
.g-stars .on svg {
  fill: #fbbc04;
}
.g-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.g-card {
  flex: 1 1 290px;
  max-width: calc((100% - 40px) / 3);
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  background: #fff;
  border: 1px solid #dadce0;
  border-radius: 14px;
  box-shadow: 0 1px 3px rgba(60, 64, 67, 0.15), 0 4px 12px rgba(60, 64, 67, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.g-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 2px 6px rgba(60, 64, 67, 0.2), 0 10px 24px rgba(60, 64, 67, 0.12);
}
.g-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}
.g-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 600;
  font-size: 1.15rem;
  flex-shrink: 0;
}
.g-meta {
  display: flex;
  flex-direction: column;
  min-width: 0;
  flex: 1;
}
.g-meta strong {
  font-size: 0.98rem;
  font-weight: 600;
  color: #202124;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.g-meta span {
  font-size: 0.82rem;
  color: #70757a;
}
.g-mini svg {
  width: 20px;
  height: 20px;
  display: block;
}
.g-card .g-stars svg {
  width: 17px;
  height: 17px;
}
.g-card blockquote {
  margin: 0;
  font-style: normal;
  font-size: 0.97rem;
  line-height: 1.55;
  color: #3c4043;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.g-card blockquote p {
  margin: 0;
}
.g-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  margin-top: 32px;
}
.g-btn {
  display: inline-block;
  padding: 11px 22px;
  border-radius: 999px;
  border: 1px solid #dadce0;
  background: #fff;
  color: #1a73e8;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.g-btn:hover {
  background: #f1f6fe;
  border-color: #1a73e8;
}
.resenas-atribucion {
  font-size: 0.85rem;
  color: #70757a;
}
@media (max-width: 960px) {
  .g-card {
    max-width: calc((100% - 20px) / 2);
  }
}
@media (max-width: 640px) {
  .g-card {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .g-card {
    transition: none;
  }
  .g-card:hover {
    transform: none;
  }
}

/* Formulario de contacto / aviso */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 32px;
  background: var(--ink-soft);
  border: 1px solid var(--border);
  padding: clamp(28px, 4vw, 48px);
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.form-group > .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chip {
  background: transparent;
  color: var(--muted-1);
  border: 1px solid var(--border-input);
  padding: 10px 16px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}
.chip[aria-pressed="true"] {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.urgency-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--border-input);
}
.urgency-btn {
  background: transparent;
  color: var(--muted-1);
  border: 0;
  padding: 13px 8px;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
}
.urgency-btn[aria-pressed="true"] {
  background: var(--cream);
  color: var(--ink);
}
.field-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 12px;
}
.contact-form input,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 15px 16px;
  border: 1px solid var(--border-input);
  background: var(--ink);
  color: var(--cream);
  outline: none;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--muted-4);
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--gold);
}
.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}
.contact-form button[type="submit"] {
  justify-content: space-between;
  width: 100%;
}
.consent {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--border);
  background: var(--ink-soft);
}
.consent-check {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  cursor: pointer;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--cream);
}
.contact-form .consent-check input[type="checkbox"] {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  min-height: 0;
  margin: 2px 0 0;
  padding: 0;
  accent-color: var(--gold);
  cursor: pointer;
}
.consent-check a,
.consent-info a {
  color: var(--gold);
  text-decoration: underline;
}
.consent-more summary {
  cursor: pointer;
  font-size: 0.85rem;
  color: var(--muted-1);
  list-style: none;
}
.consent-more summary::-webkit-details-marker {
  display: none;
}
.consent-more summary::before {
  content: "+";
  display: inline-block;
  width: 1.2em;
  color: var(--gold);
}
.consent-more[open] summary::before {
  content: "−";
}
.consent-more .consent-info {
  margin-top: 12px;
}
.consent-info {
  margin: 0;
  display: grid;
  gap: 6px;
  font-size: 0.8rem;
  line-height: 1.45;
  color: var(--muted-2);
}
.consent-info div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
}
.consent-info dt {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-3);
  padding-top: 2px;
}
.consent-info dd {
  margin: 0;
}
@media (max-width: 520px) {
  .consent-info div {
    grid-template-columns: 1fr;
    gap: 0;
  }
}
.contact-form [data-estado] {
  font-size: 0.88rem;
  color: var(--muted-3);
  margin: 0;
}
.contact-fields {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border);
}
.contact-fields a {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  color: var(--cream);
}
.contact-fields a:hover {
  color: var(--gold);
}
.contact-fields .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-3);
}
.contact-fields .value {
  font-size: 1.05rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--cream);
  color: var(--ink);
}
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  flex-wrap: wrap;
  padding: 72px 0 40px;
}
.footer-brand-mark {
  display: flex;
  align-items: center;
  gap: 14px;
}
.footer-brand-mark img {
  height: 56px;
  width: auto;
}
.footer-brand-mark span {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.12em;
  color: var(--ink);
}
.footer-lema {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr));
  gap: 28px;
  border-top: 1px solid var(--ink);
  padding: 28px 0 40px;
  font-size: 0.94rem;
  line-height: 1.7;
}
.footer-grid .col {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--ink);
}
.footer-grid .label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-4);
  margin-bottom: 8px;
}
.footer-grid a {
  color: var(--ink);
}
.footer-grid a:hover {
  color: var(--gold-dark);
}
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.ig-link svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  flex-shrink: 0;
}
.footer-legal {
  border-top: 1px solid rgba(18, 17, 15, 0.15);
  padding: 20px 0 40px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted-4);
}
.footer-legal a {
  color: var(--muted-4);
  text-decoration: none;
  margin-right: 10px;
}
.footer-legal a:hover {
  color: var(--gold-dark);
}
.footer-legal button {
  background: none;
  border: 0;
  color: var(--muted-4);
  text-decoration: underline;
  cursor: pointer;
  font: inherit;
}

/* WhatsApp flotante */
.whatsapp-float {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px -8px rgba(0, 0, 0, 0.6);
  transition: transform 0.15s ease;
}
.whatsapp-float:hover {
  transform: scale(1.08);
}
.whatsapp-float svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

/* Migas de pan */
.breadcrumbs {
  padding: 16px 0;
  font-size: 0.82rem;
  color: var(--muted-3);
}
.breadcrumbs a {
  color: var(--muted-3);
}
.breadcrumbs a:hover {
  color: var(--gold);
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Páginas legales (heredan header/footer) */
.legal-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 64px 24px 96px;
  color: var(--cream);
}
.legal-main h1 {
  font-size: 2.1rem;
}
.legal-main h2 {
  font-size: 1.15rem;
  margin-top: 1.6em;
  color: var(--cream);
}
.legal-main .fecha {
  color: var(--muted-3);
  font-size: 0.88rem;
  margin-bottom: 2em;
}
.legal-main dt {
  font-weight: 600;
  margin-top: 0.6em;
  color: var(--cream);
}
.legal-main dd {
  margin: 0.1em 0 0;
  color: var(--muted-1);
}
.legal-main table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}
.legal-main th,
.legal-main td {
  text-align: left;
  padding: 8px 10px;
  border-bottom: 1px solid var(--border);
}
.legal-main a {
  color: var(--gold);
}
mark.pendiente {
  background: rgba(247, 174, 50, 0.35);
  color: var(--ink);
  padding: 0 0.2em;
}

/* Margen lateral siempre presente: algunos bloques con .wrap redefinen padding y lo anulaban */
.wrap {
  padding-inline: 32px;
}
@media (max-width: 640px) {
  .wrap {
    padding-inline: 20px;
  }
}
@media (max-width: 720px) {
  /* Rayo 3D arriba a la derecha, a plena opacidad; el scrim oscurece solo la mitad
     inferior para que el texto siga siendo legible (brillo del modelo: bolt3d.js). */
  .hero-bolt {
    right: -22%;
    width: 112%;
    min-width: 0;
    top: -6%;
    bottom: 40%;
    opacity: 1;
  }
  .hero-scrim {
    background: linear-gradient(0deg, rgba(18, 17, 15, 0.95) 0%, rgba(18, 17, 15, 0.88) 38%, rgba(18, 17, 15, 0.45) 62%, rgba(18, 17, 15, 0.05) 100%);
  }
  .hero-content .lede {
    color: #cfc9bd;
  }
}

ol.method-grid { list-style: none; padding: 0; margin-bottom: 0; }
