/* ============================================================
   REMONT — STYLESHEET  |  Dark Mode · Brand: Black / Yellow / White
   ============================================================ */

/* ——————————————————————————————————————
   CSS CUSTOM PROPERTIES
—————————————————————————————————————— */
:root {
  /* ── Dark backgrounds ── */
  --color-bg:            #0D0D0D;
  --color-bg-alt:        #111111;
  --color-surface:       #181818;
  --color-surface-2:     #212121;
  --color-border:        rgba(255, 255, 255, 0.07);
  --color-border-strong: rgba(255, 255, 255, 0.14);

  /* ── Text ── */
  --color-text:          #F0F0F0;
  --color-text-muted:    #888888;
  --color-text-faint:    #7D7D7D;
  --color-white:         #FFFFFF;
  --color-black:         #0D0D0D;

  /* ── Brand accent: Yellow ── */
  --color-yellow:        #F5A800;
  --color-yellow-dark:   #D99300;
  --color-yellow-faint:  rgba(245, 168, 0, 0.10);
  --color-yellow-faint2: rgba(245, 168, 0, 0.06);

  /* ── WhatsApp ── */
  --color-green-wa:      #25D366;
  --color-green-wa-dark: #1da851;

  /* ── Typography ── */
  --font:        'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --fw-light:    300;
  --fw-regular:  400;
  --fw-semibold: 600;
  --fw-bold:     700;

  /* ── Layout ── */
  --section-py: clamp(5rem, 9vw, 9rem);
  --container:  1200px;
  --gap-md:     clamp(1.5rem, 3vw, 2.5rem);

  /* ── Radii ── */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  /* ── Transitions ── */
  --ease:        cubic-bezier(0.4, 0, 0.2, 1);
  --duration:    0.25s;
  --duration-lg: 0.45s;
}

/* ——————————————————————————————————————
   RESET & BASE
—————————————————————————————————————— */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font);
  font-weight: var(--fw-regular);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* ——————————————————————————————————————
   UTILITIES
—————————————————————————————————————— */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.section {
  padding-block: var(--section-py);
}

.section__header {
  text-align: center;
  max-width: 720px;
  margin-inline: auto;
  margin-bottom: clamp(3rem, 6vw, 5rem);
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 0.75rem;
}

.section__title {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  color: var(--color-white);
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section__title em {
  font-style: normal;
  color: var(--color-yellow);
}

.section__subtitle {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.7;
  max-width: 580px;
  margin-inline: auto;
}

/* ——————————————————————————————————————
   BUTTONS
—————————————————————————————————————— */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 100px;
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  transition: all var(--duration) var(--ease);
  white-space: nowrap;
  cursor: pointer;
  line-height: 1;
}

/* Primary: yellow bg, black text */
.btn--primary {
  background: var(--color-yellow);
  color: var(--color-black);
}
.btn--primary:hover {
  background: var(--color-yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(245, 168, 0, 0.35);
}

/* Secondary: dark surface */
.btn--secondary {
  background: var(--color-surface-2);
  color: var(--color-text);
  border: 1px solid var(--color-border-strong);
}
.btn--secondary:hover {
  background: var(--color-surface);
  border-color: var(--color-yellow);
  color: var(--color-yellow);
  transform: translateY(-1px);
}

/* Outline: yellow border */
.btn--outline {
  background: transparent;
  color: var(--color-yellow);
  border: 1.5px solid var(--color-yellow);
}
.btn--outline:hover {
  background: var(--color-yellow);
  color: var(--color-black);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(245, 168, 0, 0.3);
}

/* White: used inside yellow CTA section */
.btn--white {
  background: var(--color-black);
  color: var(--color-yellow);
  border: 1.5px solid var(--color-yellow);
}
.btn--white:hover {
  background: var(--color-yellow);
  color: var(--color-black);
  transform: translateY(-1px);
}

/* Ghost: semi-transparent, used inside CTA section */
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.75);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

/* WhatsApp */
.btn--whatsapp {
  background: var(--color-green-wa);
  color: var(--color-white);
  font-size: 1rem;
  padding: 1rem 2rem;
}
.btn--whatsapp:hover {
  background: var(--color-green-wa-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.35);
}

/* ——————————————————————————————————————
   SCROLL ANIMATIONS
—————————————————————————————————————— */
.js .fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
}
.js .fade-in--delay { transition-delay: 0.2s; }
.js .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .fade-in {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .whatsapp-fab,
  .topstrip__pulse { animation: none; }
}

/* Foco visible al navegar con teclado */
a:focus-visible,
button:focus-visible,
summary:focus-visible {
  outline: 2px solid var(--color-yellow);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ——————————————————————————————————————
   NAVBAR
—————————————————————————————————————— */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--duration) var(--ease);
}
.navbar.scrolled {
  border-bottom-color: var(--color-border);
}

.navbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* Logo: icon + wordmark */
.navbar__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: -0.03em;
  flex-shrink: 0;
}
.navbar__logo-img {
  width: 36px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}

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

.navbar__link {
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  transition: color var(--duration) var(--ease);
}
.navbar__link:hover { color: var(--color-white); }

.navbar__link--cta {
  background: var(--color-yellow);
  color: var(--color-black) !important;
  padding: 0.55rem 1.2rem;
  border-radius: 100px;
  font-size: 0.85rem;
}
.navbar__link--cta:hover {
  background: var(--color-yellow-dark);
}

/* Hamburger */
.navbar__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 10px;
  margin-right: -10px;
}
.navbar__toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--color-text);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.navbar__toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.navbar__toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.navbar__toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ——————————————————————————————————————
   HERO
—————————————————————————————————————— */
.hero {
  position: relative;
  min-height: calc(100svh - 64px);
  display: flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 4rem);
  padding: clamp(2.5rem, 4.5vw, 5rem) clamp(1.25rem, 5vw, 3rem);
  max-width: var(--container);
  margin-inline: auto;
  overflow: hidden;
}

/* Subtle yellow glow in the background */
.hero__bg-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 55% 55% at 75% 35%, rgba(245, 168, 0, 0.08) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(245, 168, 0, 0.04) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
  flex: 1;
  min-width: 0;
  max-width: 640px;
}

/* Va dentro del <h1>: dice qué hace la empresa y dónde */
.hero__eyebrow {
  display: block;
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  line-height: 1.5;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 1rem;
}

.hero__headline {
  font-size: clamp(2.1rem, 3.7vw, 3.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin-bottom: 1.1rem;
}
.hero__headline em {
  display: block;
  font-style: normal;
  color: var(--color-yellow);
}

.hero__subline {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Foto del técnico + tarjetas flotantes */
.hero__visual {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  width: clamp(300px, 34vw, 430px);
}

.hero__photo {
  position: relative;
}

/* Halo amarillo detrás del técnico: separa la ropa negra del fondo negro */
.hero__photo-glow {
  position: absolute;
  left: 50%;
  top: 8%;
  width: 92%;
  aspect-ratio: 1;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle,
    rgba(245, 168, 0, 0.30) 0%,
    rgba(245, 168, 0, 0.10) 45%,
    transparent 70%);
  pointer-events: none;
}

.hero__photo img {
  position: relative;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 1px rgba(255, 255, 255, 0.25));
  -webkit-mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
          mask-image: linear-gradient(to bottom, #000 78%, transparent 100%);
}

.hero__cards {
  position: absolute;
  left: -2.5rem;
  bottom: 12%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero__card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.4);
  transition: transform var(--duration-lg) var(--ease);
}
.hero__card svg { color: var(--color-yellow); flex-shrink: 0; }

.hero__card--1 { transform: translateX(10px); }
.hero__card--2 { transform: translateX(-10px); }
.hero__card--3 { transform: translateX(10px); }

.hero__visual.visible .hero__card--1 { transform: translateX(0); transition-delay: 0.1s; }
.hero__visual.visible .hero__card--2 { transform: translateX(0); transition-delay: 0.2s; }
.hero__visual.visible .hero__card--3 { transform: translateX(0); transition-delay: 0.3s; }

/* ——————————————————————————————————————
   CLIENTS / TRUST BAND
—————————————————————————————————————— */
.clients {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding-block: clamp(2.75rem, 5vw, 4rem);
}

.clients__label {
  text-align: center;
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 1.75rem;
}

.clients__logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(1.5rem, 5vw, 3.5rem);
}

.clients__logo {
  font-size: clamp(1.05rem, 2.4vw, 1.55rem);
  font-weight: var(--fw-semibold);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  transition: color var(--duration) var(--ease);
}
.clients__logo:hover { color: var(--color-white); }

.clients__divider {
  width: 1px;
  height: 26px;
  background: var(--color-border-strong);
  flex-shrink: 0;
}

.clients__note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.75rem;
  font-size: 0.82rem;
  color: var(--color-text-faint);
  font-weight: var(--fw-light);
  text-align: center;
}
.clients__note svg {
  width: 15px;
  height: 15px;
  color: var(--color-yellow);
  flex-shrink: 0;
}

@media (max-width: 520px) {
  .clients__divider { display: none; }
}

/* ——————————————————————————————————————
   SERVICES
—————————————————————————————————————— */
.services {
  background: var(--color-bg-alt);
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
  gap: 1.25rem;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
  border-color: rgba(245, 168, 0, 0.25);
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--color-yellow-faint);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  border: 1px solid rgba(245, 168, 0, 0.15);
}
.service-card__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-yellow);
}

.service-card__title {
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.service-card__title a { transition: color var(--duration) var(--ease); }
.service-card__title a:hover { color: var(--color-yellow); }

.service-card__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-weight: var(--fw-light);
}

.service-card {
  display: flex;
  flex-direction: column;
}
.service-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.25rem;
  margin-top: auto;
  padding-top: 1.25rem;
}
.service-card__link {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  font-size: 0.85rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text-muted);
  transition: color var(--duration) var(--ease);
}
.service-card__link:hover { color: var(--color-white); }
.service-card__link--wa { color: var(--color-yellow); }
.service-card__link--wa:hover { color: var(--color-yellow-dark); }

/* ——————————————————————————————————————
   WHY REMONT
—————————————————————————————————————— */
.why__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr));
  gap: var(--gap-md);
}

.why__item {
  text-align: center;
  padding: 2rem 1.5rem;
}

.why__icon {
  width: 56px;
  height: 56px;
  background: var(--color-yellow-faint);
  border: 1px solid rgba(245, 168, 0, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.why__icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-yellow);
}

.why__title {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: 0.5rem;
  letter-spacing: -0.01em;
}

.why__desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.65;
  font-weight: var(--fw-light);
}

/* ——————————————————————————————————————
   PLANS (sin precios — se cotizan a la medida)
—————————————————————————————————————— */
.plans {
  background: var(--color-bg-alt);
}

.plans__panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: var(--gap-md);
  align-items: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: clamp(2rem, 5vw, 3.5rem);
}

.plans__intro .section__subtitle {
  margin-bottom: 2rem;
}

.plans__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.plans__actions .btn svg { flex-shrink: 0; }

@media (max-width: 900px) {
  .plans__panel { grid-template-columns: 1fr; }
}

.plans__includes {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}

.plans__includes-title {
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-yellow);
  margin-bottom: 1.25rem;
}

.plans__list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
}

.plans__list li {
  display: flex;
  align-items: flex-start;
  gap: 0.625rem;
  font-size: 0.925rem;
  color: var(--color-text);
  line-height: 1.45;
}

.plans__list li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-top: 3px;
  color: var(--color-yellow);
}

.plans__note {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-style: italic;
  line-height: 1.6;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--color-border);
}

/* ——————————————————————————————————————
   TESTIMONIALS
—————————————————————————————————————— */
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.25rem;
}

.testimonial {
  background: var(--color-surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform var(--duration) var(--ease),
              border-color var(--duration) var(--ease);
}
.testimonial:hover {
  transform: translateY(-3px);
  border-color: rgba(245, 168, 0, 0.2);
}

.testimonial__stars {
  color: var(--color-yellow);
  font-size: 0.85rem;
  letter-spacing: 2px;
}

.testimonial__text {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: var(--fw-light);
  flex: 1;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  font-style: normal;
  padding-top: 1rem;
  border-top: 1px solid var(--color-border);
}

.testimonial__avatar {
  width: 42px;
  height: 42px;
  background: var(--color-yellow-faint);
  border: 1px solid rgba(245, 168, 0, 0.25);
  color: var(--color-yellow);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: var(--fw-bold);
  flex-shrink: 0;
}

.testimonial__name {
  display: block;
  font-size: 0.875rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
}

.testimonial__role {
  display: block;
  font-size: 0.775rem;
  color: var(--color-text-faint);
  margin-top: 0.1rem;
}

/* ——————————————————————————————————————
   CTA SECTION — Yellow on black
—————————————————————————————————————— */
.cta-section {
  background: var(--color-bg);
  padding-block: clamp(5rem, 10vw, 10rem);
  position: relative;
  overflow: hidden;
}

/* Big yellow glow behind CTA */
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(245, 168, 0, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.cta-section__inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.cta-section__title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: var(--fw-bold);
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--color-white);
  margin: 0.75rem 0 1rem;
}
/* Yellow highlight on the last line */
.cta-section__title em {
  font-style: normal;
  color: var(--color-yellow);
}

.cta-section__sub {
  font-size: clamp(1rem, 1.5vw, 1.125rem);
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.cta-section__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.875rem;
  margin-bottom: 1.5rem;
}

.cta-section__phone {
  font-size: 0.875rem;
  color: var(--color-text-faint);
}
.cta-section__phone a {
  color: var(--color-text-muted);
  font-weight: var(--fw-semibold);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cta-section__phone a:hover { color: var(--color-yellow); }

/* ——————————————————————————————————————
   FOOTER
—————————————————————————————————————— */
.footer {
  background: #080808;
  color: var(--color-text-muted);
  padding-block: clamp(3rem, 6vw, 5rem) 2rem;
  border-top: 1px solid var(--color-border);
}

.footer__top {
  display: flex;
  flex-wrap: wrap;
  gap: 3rem 4rem;
  margin-bottom: 3rem;
}

.footer__brand {
  flex: 1;
  min-width: 200px;
  max-width: 280px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
  color: var(--color-white);
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
}
.footer__logo-img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.footer__tagline {
  font-size: 0.85rem;
  line-height: 1.65;
  color: var(--color-text-faint);
  font-weight: var(--fw-light);
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem 3rem;
  flex: 2;
}

.footer__nav-group {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  min-width: 140px;
}

.footer__nav-title {
  font-size: 0.72rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-text-faint);
  margin-bottom: 0.25rem;
}

.footer__nav-group a,
.footer__address {
  font-size: 0.85rem;
  color: var(--color-text-faint);
  transition: color var(--duration) var(--ease);
  font-weight: var(--fw-light);
}
.footer__nav-group a:hover { color: var(--color-yellow); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--color-text-faint);
}

.footer__legal {
  display: flex;
  gap: 1.5rem;
}
.footer__legal a {
  font-size: 0.8rem;
  color: var(--color-text-faint);
  transition: color var(--duration) var(--ease);
}
.footer__legal a:hover { color: var(--color-text-muted); }

/* ——————————————————————————————————————
   WHATSAPP FLOATING BUTTON
—————————————————————————————————————— */
.whatsapp-fab {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: var(--color-green-wa);
  color: var(--color-white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35);
  transition: all var(--duration) var(--ease);
  animation: fabPulse 3s ease infinite;
}
.whatsapp-fab:hover {
  background: var(--color-green-wa-dark);
  transform: scale(1.08) translateY(-2px);
  box-shadow: 0 10px 32px rgba(37, 211, 102, 0.5);
}

.whatsapp-fab__tooltip {
  position: absolute;
  right: calc(100% + 12px);
  background: var(--color-surface-2);
  color: var(--color-white);
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  white-space: nowrap;
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  pointer-events: none;
  opacity: 0;
  transform: translateX(6px);
  transition: all var(--duration) var(--ease);
  border: 1px solid var(--color-border-strong);
}
.whatsapp-fab__tooltip::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 100%;
  transform: translateY(-50%);
  border: 5px solid transparent;
  border-left-color: var(--color-surface-2);
}
.whatsapp-fab:hover .whatsapp-fab__tooltip {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fabPulse {
  0%, 100% { box-shadow: 0 6px 24px rgba(37, 211, 102, 0.35); }
  50%       { box-shadow: 0 6px 36px rgba(37, 211, 102, 0.6); }
}

/* ——————————————————————————————————————
   RESPONSIVE — TABLET
—————————————————————————————————————— */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    min-height: auto;
    padding-top: clamp(3rem, 8vw, 5rem);
    padding-bottom: clamp(3rem, 8vw, 5rem);
  }

  /* En tablet/celular la foto va arriba, recortada, para que el titular y el
     botón de cotizar se vean sin tener que bajar. El contenedor se "disuelve"
     (display: contents) y la foto y las tarjetas pasan a ser hijos del hero. */
  .hero { gap: 1.25rem; padding-top: 1.25rem; }
  .hero__visual { display: contents; }
  .hero__photo {
    order: -1;
    align-self: center;
    width: min(56%, 300px);
    max-height: 300px;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 72%, transparent 100%);
  }
  .hero__photo img {
    -webkit-mask-image: none;
            mask-image: none;
  }
  .hero__content { max-width: 100%; }
  .hero__cards {
    position: static;
    order: 2;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  .hero__card {
    transform: none !important;
    padding: 0.55rem 0.85rem;
    border-radius: 100px;
    font-size: 0.78rem;
    gap: 0.45rem;
    box-shadow: none;
  }
  .hero__card svg { width: 16px; height: 16px; }
}

/* ——————————————————————————————————————
   RESPONSIVE — MOBILE
—————————————————————————————————————— */
@media (max-width: 640px) {
  .navbar__nav {
    display: none;
    /* absolute y no fixed: el backdrop-filter del navbar hace de contenedor
       de los hijos "fixed" y el menú quedaba con altura 0 (sin fondo) */
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: calc(100vh - 64px);
    height: calc(100dvh - 64px);
    overflow-y: auto;
    background: var(--color-bg);
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 3.5rem;
    gap: 2rem;
    z-index: 999;
    border-top: 1px solid var(--color-border);
  }
  .navbar__nav.open {
    display: flex;
  }
  .navbar__link {
    font-size: 1.1rem;
  }
  .navbar__link--cta {
    font-size: 1rem;
    padding: 0.75rem 2rem;
  }
  .navbar__toggle {
    display: flex;
  }

  .hero__photo {
    width: min(60%, 230px);
    max-height: 200px;
  }
  .hero__headline { font-size: clamp(1.6rem, 7vw, 2rem); }
  .hero__eyebrow { font-size: 0.72rem; margin-bottom: 0.75rem; }
  .hero__subline { margin-bottom: 1.25rem; }

  .plans__panel,
  .services__grid,
  .why__grid,
  .testimonials__grid {
    grid-template-columns: 1fr;
  }

  .footer__top {
    flex-direction: column;
  }
  .footer__brand {
    max-width: 100%;
  }

  .whatsapp-fab {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 54px;
    height: 54px;
  }

  .faq__layout {
    grid-template-columns: 1fr;
  }
  .faq__intro {
    text-align: center;
  }
  .plans__actions {
    justify-content: center;
  }
  .section__title--left,
  .section__subtitle--left {
    text-align: center;
  }
}

/* ——————————————————————————————————————
   TOP STRIP
—————————————————————————————————————— */
.topstrip {
  background: #080808;
  border-bottom: 1px solid var(--color-border);
  padding: 0.45rem 0;
  font-size: 0.78rem;
}

.topstrip__inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

.topstrip__pulse {
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--color-green-wa);
  border-radius: 50%;
  flex-shrink: 0;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.85); }
}

.topstrip__text {
  color: var(--color-text-muted);
  font-weight: var(--fw-regular);
}
.topstrip--closed .topstrip__pulse {
  background: var(--color-text-faint);
  animation: none;
}

.topstrip__phone {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--color-yellow);
  font-weight: var(--fw-semibold);
  margin-left: auto;
  transition: color var(--duration) var(--ease);
}
.topstrip__phone:hover { color: var(--color-yellow-dark); }

/* ——————————————————————————————————————
   HERO QUOTE FORM
—————————————————————————————————————— */
.hero__quote {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 520px;
}

.hero__quote-label {
  font-size: 0.78rem;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-yellow);
}

.hero__quote-row {
  display: flex;
  gap: 0.5rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 100px;
  padding: 0.35rem 0.35rem 0.35rem 1.25rem;
  transition: border-color var(--duration) var(--ease);
}
.hero__quote-row:focus-within {
  border-color: var(--color-yellow);
  box-shadow: 0 0 0 3px rgba(245, 168, 0, 0.1);
}

.hero__quote-input {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 0.9rem;
  color: var(--color-text);
  min-width: 0;
}
.hero__quote-input::placeholder {
  color: var(--color-text-faint);
}

.hero__quote-btn {
  border-radius: 100px;
  padding: 0.65rem 1.2rem;
  font-size: 0.85rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__quote-hint {
  font-size: 0.78rem;
  color: var(--color-text-faint);
  line-height: 1.5;
}
.hero__quote-hint a {
  color: var(--color-text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color var(--duration) var(--ease);
}
.hero__quote-hint a:hover { color: var(--color-yellow); }

/* ——————————————————————————————————————
   FAQ SECTION
—————————————————————————————————————— */
.faq {
  background: var(--color-bg-alt);
}

.faq__layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
/* Va después de la regla base para que gane en móvil */
@media (max-width: 640px) {
  .faq__layout { grid-template-columns: minmax(0, 1fr); gap: 2.5rem; }
}

.faq__intro {
  position: sticky;
  top: 88px;
}

.section__title--left  { text-align: left; }
.section__subtitle--left { text-align: left; margin-inline: 0; }

.faq__cta {
  margin-top: 1.5rem;
  display: inline-flex;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}
.faq__item:first-child {
  border-top: 1px solid var(--color-border);
}

.faq__q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem 0;
  font-size: 0.95rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  cursor: pointer;
  list-style: none;
  transition: color var(--duration) var(--ease);
}
.faq__q::-webkit-details-marker { display: none; }
.faq__q:hover { color: var(--color-yellow); }

.faq__icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 1.5px solid var(--color-border-strong);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--duration) var(--ease);
  position: relative;
}
.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  background: var(--color-text-muted);
  border-radius: 2px;
  transition: all var(--duration) var(--ease);
}
.faq__icon::before { width: 8px; height: 1.5px; }
.faq__icon::after  { width: 1.5px; height: 8px; }

details[open] .faq__icon {
  border-color: var(--color-yellow);
  background: var(--color-yellow-faint);
}
details[open] .faq__icon::before { background: var(--color-yellow); }
details[open] .faq__icon::after  { transform: scaleY(0); background: var(--color-yellow); }
details[open] .faq__q { color: var(--color-yellow); }

.faq__a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: var(--fw-light);
  padding-bottom: 1.25rem;
  max-width: 580px;
}
.faq__a strong { color: var(--color-text); font-weight: var(--fw-semibold); }

/* Mobile: form stacks vertically */
@media (max-width: 520px) {
  .hero__quote-row {
    flex-direction: column;
    border-radius: var(--radius-lg);
    padding: 0.75rem;
  }
  .hero__quote-input {
    padding: 0.5rem 0.25rem;
  }
  .hero__quote-btn {
    width: 100%;
    justify-content: center;
  }
  .topstrip__text {
    display: none;
  }
}

/* ——————————————————————————————————————
   PÁGINAS INTERIORES (servicios, privacidad)
—————————————————————————————————————— */
.page-hero {
  position: relative;
  padding-block: clamp(2.5rem, 5vw, 4.5rem) clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 70% at 80% 20%, rgba(245, 168, 0, 0.08) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero > .container { position: relative; }

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--color-text-faint);
  margin-bottom: 1.75rem;
}
.breadcrumb a {
  color: var(--color-text-muted);
  transition: color var(--duration) var(--ease);
}
.breadcrumb a:hover { color: var(--color-yellow); }
.breadcrumb li + li::before {
  content: '/';
  margin-right: 0.5rem;
  color: var(--color-text-faint);
}

.page-hero__title {
  font-size: clamp(2rem, 4.4vw, 3.4rem);
  font-weight: var(--fw-bold);
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--color-white);
  max-width: 820px;
  margin-bottom: 1.1rem;
}
.page-hero__title em {
  font-style: normal;
  color: var(--color-yellow);
}
.page-hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 2rem;
}
.page-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.75rem;
}
.page-hero__facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.page-hero__facts li {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border-strong);
  border-radius: 100px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
}
.page-hero__facts svg {
  width: 15px;
  height: 15px;
  color: var(--color-yellow);
  flex-shrink: 0;
}

.section--alt { background: var(--color-bg-alt); }

.split {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: var(--gap-md);
  align-items: start;
}

.detail-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}
.detail-list li {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
}
.detail-list h3 {
  font-size: 1rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: 0.35rem;
}
.detail-list p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.65;
}

.signs {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  position: sticky;
  top: 88px;
}
.signs .btn { margin-top: 1.75rem; }

.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  counter-reset: paso;
}
.steps li {
  counter-increment: paso;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.steps li::before {
  content: counter(paso);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--color-yellow-faint);
  border: 1px solid rgba(245, 168, 0, 0.2);
  color: var(--color-yellow);
  font-weight: var(--fw-bold);
  margin-bottom: 1.1rem;
}
.steps h3 {
  font-size: 1.05rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin-bottom: 0.4rem;
}
.steps p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: var(--fw-light);
  line-height: 1.65;
}

.related {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr));
  gap: 0.75rem;
}
.related a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  font-size: 0.925rem;
  font-weight: var(--fw-semibold);
  color: var(--color-text);
  transition: border-color var(--duration) var(--ease), color var(--duration) var(--ease);
}
.related a:hover {
  border-color: rgba(245, 168, 0, 0.35);
  color: var(--color-yellow);
}

/* Texto corrido (política de privacidad) */
.prose {
  max-width: 720px;
}
.prose h2 {
  font-size: 1.25rem;
  font-weight: var(--fw-semibold);
  color: var(--color-white);
  margin: 2.25rem 0 0.6rem;
}
.prose p,
.prose li {
  font-size: 0.975rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  font-weight: var(--fw-light);
}
.prose h2:first-child { margin-top: 0; }
.prose p + p { margin-top: 0.9rem; }
.prose ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-top: 0.6rem;
}
.prose a {
  color: var(--color-yellow);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose strong { color: var(--color-text); font-weight: var(--fw-semibold); }

@media (max-width: 900px) {
  .split,
  .steps { grid-template-columns: 1fr; }
  .signs { position: static; }
}
