/* =========================================================
   Baterías Eben-ezer — Sistema de diseño "Carga Real"
   Remodelado premium: automoción · energía · ingeniería
   ========================================================= */

@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=Inter:wght@400;500;600;700&family=IBM+Plex+Mono:wght@400;500&display=swap");

/* ---------- Tokens ---------- */
:root {
  --void: #0a0b0d;
  --surface: #131519;
  --surface-2: #1a1d22;
  --surface-3: #21252b;
  --line: #2a2e35;
  --line-soft: #1f2227;

  --text: #f4f5f6;
  --text-muted: #9aa1ab;
  --text-faint: #656b74;

  --accent: #e8a93c;
  --accent-strong: #f4c163;
  --accent-deep: #a9741f;
  --accent-ink: #1c1508;

  --whatsapp: #3fbb63;
  --whatsapp-strong: #4fd076;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;

  --shadow-card: 0 1px 0 rgba(255, 255, 255, 0.03) inset, 0 20px 40px -24px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 0 1px rgba(232, 169, 60, 0.18), 0 12px 32px -8px rgba(232, 169, 60, 0.25);

  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

  --shell: min(1180px, 100% - 2.5rem);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  margin: 0;
  background: var(--void);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: var(--font-display);
  letter-spacing: -0.02em;
  font-weight: 600;
}

p {
  margin: 0;
}

button {
  font-family: inherit;
}

svg {
  flex-shrink: 0;
}

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

/* ---------- Layout helpers ---------- */
.section-shell {
  width: var(--shell);
  margin-inline: auto;
}

.section {
  padding-block: clamp(3.5rem, 6vw, 6.5rem);
  position: relative;
}

.max-w-3xl {
  max-width: 46rem;
}

.max-w-2xl {
  max-width: 38rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--accent);
  display: inline-block;
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1.15;
}

.subtitle {
  margin-top: 0.85rem;
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 34rem;
}

.lead {
  color: var(--text-muted);
  font-size: 1.08rem;
  max-width: 30rem;
  margin-top: 1.1rem;
}

.fine-print {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-faint);
  margin-top: 1rem;
}

/* Grain / technical texture, applied over dark sections */
.grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.5;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix type='saturate' values='0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.35'/></svg>");
}

.grid-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 40%, transparent 90%);
  mask-image: radial-gradient(ellipse 70% 60% at 50% 0%, black 40%, transparent 90%);
}

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}

.reveal[data-visible="true"] {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  white-space: nowrap;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background-color 0.25s var(--ease), border-color 0.25s var(--ease);
  cursor: pointer;
}

.btn svg {
  width: 18px;
  height: 18px;
}

.btn-primary {
  background: var(--whatsapp);
  color: #06210f;
  box-shadow: 0 10px 24px -10px rgba(63, 187, 99, 0.55);
}

.btn-primary:hover {
  background: var(--whatsapp-strong);
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -10px rgba(63, 187, 99, 0.65);
}

.btn-outline-dark {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border-color: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(6px);
}

.btn-outline-dark:hover {
  border-color: rgba(255, 255, 255, 0.32);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.btn-accent {
  background: var(--accent);
  color: var(--accent-ink);
  box-shadow: var(--shadow-glow);
}

.btn-accent:hover {
  background: var(--accent-strong);
  transform: translateY(-2px);
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

.section-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.75rem;
}

.section-cta.align-center {
  justify-content: center;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding-block: 1.15rem;
  transition: padding 0.35s var(--ease), background-color 0.35s var(--ease), border-color 0.35s var(--ease), box-shadow 0.35s var(--ease);
  border-bottom: 1px solid transparent;
}

.site-header .section-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.site-header[data-scrolled="true"] {
  padding-block: 0.7rem;
  background: rgba(10, 11, 13, 0.82);
  backdrop-filter: blur(14px);
  border-bottom-color: var(--line-soft);
  box-shadow: 0 12px 32px -20px rgba(0, 0, 0, 0.8);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
  min-width: 0;
  flex-shrink: 1;
}

.brand span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  background: linear-gradient(155deg, var(--surface-3), var(--surface));
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}

.brand-mark svg {
  width: 19px;
  height: 19px;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.main-nav a {
  font-size: 0.92rem;
  color: var(--text-muted);
  transition: color 0.2s var(--ease);
  position: relative;
}

.main-nav a:hover {
  color: var(--text);
}

.header-cta {
  padding: 0.65rem 1.25rem;
  font-size: 0.88rem;
}

.header-cta-mobile {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: var(--whatsapp);
  color: #06210f;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.header-cta-mobile svg {
  width: 20px;
  height: 20px;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 4rem;
  overflow: hidden;
  isolation: isolate;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -3;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  filter: grayscale(0.35) contrast(1.18) brightness(0.4) saturate(1.05);
  transform: scale(1.08);
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(60% 55% at 78% 15%, rgba(232, 169, 60, 0.16), transparent 70%),
    linear-gradient(100deg, rgba(10, 11, 13, 0.97) 0%, rgba(10, 11, 13, 0.93) 32%, rgba(10, 11, 13, 0.72) 58%, rgba(10, 11, 13, 0.4) 78%, rgba(10, 11, 13, 0.72) 100%),
    linear-gradient(to top, rgba(10, 11, 13, 1) 0%, rgba(10, 11, 13, 0.15) 30%, rgba(10, 11, 13, 0.55) 100%);
}

.hero .section-shell {
  margin-left: clamp(1.25rem, 4vw, 3rem);
  margin-right: auto;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 34rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-muted);
}

.hero h1 {
  font-size: clamp(2.35rem, 5.2vw, 3.75rem);
  line-height: 1.06;
  color: var(--text);
}

.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero .lead {
  max-width: 30rem;
}

.rating-line {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.4rem;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.rating-line svg {
  width: 17px;
  height: 17px;
  fill: var(--accent);
  color: var(--accent);
}

.rating-line strong {
  color: var(--text);
}

.hero .fine-print {
  color: var(--text-faint);
}

.hero-waveform {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 0;
  opacity: 0.55;
  pointer-events: none;
}

.hero-waveform path {
  stroke-dasharray: 2000;
  stroke-dashoffset: 2000;
  animation: draw 2.6s var(--ease) 0.4s forwards;
}

@keyframes draw {
  to {
    stroke-dashoffset: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-waveform path {
    animation: none;
    stroke-dashoffset: 0;
  }
}

.scroll-cue {
  position: absolute;
  bottom: 2rem;
  right: var(--shell-gap, 1.25rem);
  right: 2.5rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
  z-index: 1;
}

.scroll-cue-line {
  width: 1px;
  height: 34px;
  background: linear-gradient(to bottom, var(--accent), transparent);
}

@media (max-width: 720px) {
  .scroll-cue {
    display: none;
  }
}

/* ---------- Marquee de marcas ---------- */
.brand-strip {
  position: relative;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: var(--surface);
  overflow: hidden;
  padding-block: 1.1rem;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: scroll-left 32s linear infinite;
  gap: 3.5rem;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

.marquee-group {
  display: flex;
  gap: 3.5rem;
  align-items: center;
}

.marquee-item {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  color: var(--text-faint);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  white-space: nowrap;
}

.marquee-item::before {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 999px;
  background: var(--accent);
  opacity: 0.7;
}

/* ---------- Beneficios (asimétrico) ---------- */
.benefit-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.4fr;
  gap: 3rem;
  align-items: start;
  margin-top: 2.5rem;
}

.benefit-list {
  display: flex;
  flex-direction: column;
}

.benefit-row {
  display: grid;
  grid-template-columns: 2.75rem 1fr;
  gap: 1.25rem;
  padding-block: 1.5rem;
  border-top: 1px solid var(--line-soft);
}

.benefit-row:last-child {
  border-bottom: 1px solid var(--line-soft);
}

.benefit-row .num {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--accent);
  padding-top: 0.2rem;
}

.benefit-row h3 {
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
}

.benefit-row p {
  color: var(--text-muted);
  font-size: 0.94rem;
}

/* ---------- Timeline (cómo funciona) ---------- */
.timeline {
  margin-top: 3rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 1.35rem;
  left: 8%;
  right: 8%;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line) 0 8px, transparent 8px 16px);
}

.timeline-step {
  position: relative;
}

.timeline-num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent-ink);
  background: var(--accent);
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 999px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  font-weight: 500;
  position: relative;
  z-index: 1;
}

.timeline-step h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.timeline-step p {
  color: var(--text-muted);
  font-size: 0.94rem;
  max-width: 20rem;
}

/* ---------- Servicios (bento) ---------- */
.bento {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.bento-item {
  grid-column: span 3;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: border-color 0.3s var(--ease), transform 0.3s var(--ease), background-color 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}

.bento-item.wide {
  grid-column: span 4;
}

.bento-item.narrow {
  grid-column: span 2;
}

.bento-item:hover {
  border-color: rgba(232, 169, 60, 0.4);
  background: var(--surface-2);
  transform: translateY(-4px);
}

.bento-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: var(--radius-md);
  background: var(--surface-3);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.bento-icon svg {
  width: 21px;
  height: 21px;
}

.bento-item h3 {
  font-size: 1.08rem;
  margin-bottom: 0.55rem;
}

.bento-item p {
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* ---------- Visual impactante (imagen full-bleed) ---------- */
.impact {
  position: relative;
  min-height: 62vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

.impact img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.55) contrast(1.15) brightness(0.55) sepia(0.12);
}

.impact::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 11, 13, 0.97) 5%, rgba(10, 11, 13, 0.35) 55%, rgba(10, 11, 13, 0.55) 100%);
}

.impact-content {
  position: relative;
  z-index: 1;
  padding-block: 3.5rem;
}

.impact-content .eyebrow {
  color: var(--accent-strong);
}

.impact-content h2 {
  max-width: 34rem;
}

.impact-content p {
  color: var(--text-muted);
  max-width: 28rem;
  margin-top: 1rem;
}

/* ---------- Confianza / checklist ---------- */
.trust-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  margin-top: 2.5rem;
  align-items: start;
}

.check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1.5rem;
}

.check-list p {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding-block: 0.6rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--line-soft);
  color: var(--text);
}

.check-list svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
  flex-shrink: 0;
}

.stat-strip {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.stat-item {
  border-left: 2px solid var(--accent);
  padding-left: 1.25rem;
}

.stat-item .stat-value {
  font-family: var(--font-display);
  font-size: 2.1rem;
  font-weight: 600;
  color: var(--text);
  display: block;
}

.stat-item .stat-label {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-top: 0.25rem;
}

/* ---------- Bandas oscuras (precios / cta final) ---------- */
.bg-ink {
  background: var(--surface);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
}

.bg-ink .section-shell {
  position: relative;
  z-index: 1;
}

.ink-glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 60rem;
  height: 30rem;
  background: radial-gradient(closest-side, rgba(232, 169, 60, 0.14), transparent 75%);
  pointer-events: none;
}

/* ---------- Testimonios ---------- */
.bg-secondary {
  background: var(--surface);
}

.rating-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.rating-pill {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.25rem;
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}

.rating-pill .big {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--accent);
}

.rating-pill .small {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.3;
}

.grid-cards {
  display: grid;
  gap: 1.25rem;
  margin-top: 2.5rem;
}

.cols-3-md {
  grid-template-columns: repeat(3, 1fr);
}

.card-soft {
  background: var(--surface-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
}

.testimonial .quote {
  font-size: 0.98rem;
  color: var(--text);
  line-height: 1.6;
}

.testimonial .quote::before {
  content: "\201C";
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 1.5rem;
  display: block;
  margin-bottom: 0.35rem;
}

.testimonial .name {
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.testimonial .role {
  color: var(--text-faint);
  font-size: 0.8rem;
  margin-top: 0.15rem;
}

/* ---------- Diagnóstico CTA card ---------- */
.diagnostico-card {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 2.5rem;
  align-items: center;
  padding: clamp(2rem, 4vw, 3.25rem);
  background: linear-gradient(155deg, var(--surface-2), var(--surface));
  position: relative;
  overflow: hidden;
}

.diagnostico-card::after {
  content: "";
  position: absolute;
  top: -30%;
  right: -10%;
  width: 22rem;
  height: 22rem;
  background: radial-gradient(closest-side, rgba(232, 169, 60, 0.12), transparent 75%);
  pointer-events: none;
}

.diagnostico-card h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.diagnostico-card p {
  color: var(--text-muted);
  margin-top: 0.85rem;
  font-size: 0.96rem;
}

.diagnostico-box {
  background: var(--void);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  z-index: 1;
}

.diagnostico-box .label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.diagnostico-box .btn {
  width: 100%;
  justify-content: center;
}

/* ---------- Galería ---------- */
.gallery-grid {
  margin-top: 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: repeat(2, 1fr);
  gap: 1.1rem;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  position: relative;
}

.gallery-item:first-child {
  grid-row: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.35) contrast(1.1) brightness(0.85);
  transition: transform 0.6s var(--ease), filter 0.6s var(--ease);
}

.gallery-item:hover img {
  transform: scale(1.045);
  filter: grayscale(0.1) contrast(1.12) brightness(0.92);
}

/* ---------- FAQ ---------- */
.accordion {
  border-top: 1px solid var(--line-soft);
}

.accordion-item {
  border-bottom: 1px solid var(--line-soft);
}

.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.35rem;
  background: none;
  border: none;
  color: var(--text);
  text-align: left;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
}

.accordion-trigger .chevron {
  width: 18px;
  height: 18px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
  flex-shrink: 0;
}

.accordion-item[data-open="true"] .chevron {
  transform: rotate(180deg);
}

.accordion-panel {
  display: grid;
  grid-template-rows: minmax(0, 0fr);
  overflow: hidden;
  transition: grid-template-rows 0.35s var(--ease);
}

.accordion-item[data-open="true"] .accordion-panel {
  grid-template-rows: minmax(0, 1fr);
}

.accordion-panel-inner {
  overflow: hidden;
  min-height: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-bottom: 1.35rem;
  padding-right: 2rem;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--void);
  border-top: 1px solid var(--line-soft);
  padding-block: 3.5rem 1.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 2.5rem;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
}

.footer-grid .address {
  color: var(--text-muted);
  font-size: 0.9rem;
  max-width: 18rem;
}

.phone-link {
  display: inline-block;
  margin-top: 0.75rem;
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 0.95rem;
}

.footer-hours-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
  margin-bottom: 0.9rem;
}

.footer-hours-title svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.footer-hours-list li {
  color: var(--text-muted);
  font-size: 0.88rem;
  padding-block: 0.3rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color 0.2s var(--ease);
}

.footer-links a:hover {
  color: var(--accent);
}

.footer-copy {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line-soft);
  color: var(--text-faint);
  font-size: 0.78rem;
}

/* ---------- Sticky mobile ---------- */
.sticky-mobile {
  display: none;
}

.sticky-spacer {
  display: none;
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1024px) {
  .benefit-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .trust-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .diagnostico-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .main-nav {
    display: none;
  }

  .cols-3-md {
    grid-template-columns: 1fr;
  }

  .timeline {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }

  .timeline::before {
    display: none;
  }

  .bento {
    grid-template-columns: 1fr 1fr;
  }

  .bento-item,
  .bento-item.wide,
  .bento-item.narrow {
    grid-column: span 1;
  }

  .check-list {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 360px) {
  .brand {
    font-size: 0.92rem;
    gap: 0.5rem;
  }

  .brand-mark {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 640px) {
  .header-cta {
    display: none;
  }

  .header-cta-mobile {
    display: grid;
  }

  .hero {
    padding-top: 5.5rem;
    min-height: auto;
    padding-bottom: 3rem;
  }

  .hero-bg img {
    object-position: center 22%;
  }

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    justify-content: center;
  }

  .bento {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .gallery-item:first-child {
    grid-row: span 1;
  }

  .gallery-item {
    aspect-ratio: 4 / 3;
  }

  .rating-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .sticky-mobile {
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    background: rgba(10, 11, 13, 0.92);
    backdrop-filter: blur(14px);
    border-top: 1px solid var(--line-soft);
    padding: 0.75rem 1.1rem calc(0.75rem + env(safe-area-inset-bottom));
  }

  .sticky-mobile-row {
    display: flex;
    gap: 0.7rem;
  }

  .sticky-mobile .btn {
    flex: 1;
    justify-content: center;
    padding-block: 0.75rem;
  }

  .sticky-spacer {
    display: block;
    height: 4.75rem;
  }
}
