/* ============================================================
   911 STUDIO V4 — COMPONENTS.CSS
   Frame editorial: header fino, hero full-bleed, filas de servicio
   ============================================================ */

/* ── Header ── */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  height: var(--header-h);
  z-index: 1000;
  transition: background .35s ease, border-color .35s ease, backdrop-filter .35s ease, box-shadow .35s ease;
  border-bottom: 1px solid transparent;
}
/* Franja sutil: el menú se lee siempre; el slider sigue pasando detrás */
.site-header.transparent {
  background: linear-gradient(180deg, rgba(8, 12, 22, 0.78) 0%, rgba(8, 12, 22, 0.52) 72%, rgba(8, 12, 22, 0.28) 100%);
  backdrop-filter: blur(10px) saturate(1.1);
  -webkit-backdrop-filter: blur(10px) saturate(1.1);
  border-bottom-color: rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.18);
}
.site-header.solid,
.site-header.page-solid {
  background: rgba(238, 242, 247, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: var(--line);
  box-shadow: 0 4px 18px rgba(10, 15, 26, 0.06);
}
.header-inner {
  width: min(100% - 32px, var(--container));
  margin: 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.header-logo { flex-shrink: 0; }
.header-logo-img { height: 40px; width: auto; }
.logo-img-white { display: block; }
.logo-img-color { display: none; }
.site-header.solid .logo-img-color,
.site-header.page-solid .logo-img-color { display: block; }
.site-header.solid .logo-img-white,
.site-header.page-solid .logo-img-white { display: none; }
html[data-theme="dark"] .site-header.solid .logo-img-color,
html[data-theme="dark"] .site-header.page-solid .logo-img-color { display: none; }
html[data-theme="dark"] .site-header.solid .logo-img-white,
html[data-theme="dark"] .site-header.page-solid .logo-img-white { display: block; }
html[data-theme="dark"] .site-header.solid,
html[data-theme="dark"] .site-header.page-solid {
  background: rgba(12, 17, 28, 0.92);
  border-bottom-color: var(--line);
}
html[data-theme="dark"] .dropdown {
  background: var(--ink-soft);
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2px;
}
.nav-item { position: relative; }
.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: .92rem;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  transition: color .2s ease;
}
.nav-link:hover,
.nav-link.active { color: var(--amarillo); }
.site-header.solid .nav-link,
.site-header.page-solid .nav-link { color: var(--texto); }
.site-header.solid .nav-link:hover,
.site-header.solid .nav-link.active,
.site-header.page-solid .nav-link:hover,
.site-header.page-solid .nav-link.active { color: var(--azul); }
.chevron { width: 14px; height: 14px; opacity: .7; }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  padding: 10px;
  background: var(--surface-solid, #fff);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: .2s ease;
  z-index: 20;
}
.has-dropdown.open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.dropdown-link {
  display: block;
  padding: 10px 12px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  color: var(--texto);
}
.dropdown-link:hover { background: rgba(25,92,181,.08); color: var(--azul); }

.header-cta { display: flex; align-items: center; gap: 10px; }
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface, rgba(255,255,255,.55));
  display: grid;
  place-items: center;
  color: var(--texto);
  transition: border-color .2s ease, background .2s ease, color .2s ease;
}
.theme-toggle:hover { border-color: var(--azul); color: var(--azul); }
.theme-toggle svg { width: 18px; height: 18px; }
.theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: block; }
.site-header.transparent .theme-toggle {
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.08);
  color: #fff;
}
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  padding: 3px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
}
.lang-switch a {
  min-width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .04em;
  color: rgba(255,255,255,.75);
  border-radius: 2px;
}
.lang-switch a[aria-current="true"],
.lang-switch a:hover {
  background: var(--amarillo);
  color: var(--ink);
}
.site-header.solid .lang-switch,
.site-header.page-solid .lang-switch {
  border-color: var(--line);
  background: var(--surface-solid);
}
.site-header.solid .lang-switch a,
.site-header.page-solid .lang-switch a { color: var(--texto); }
.site-header.solid .lang-switch a[aria-current="true"],
.site-header.solid .lang-switch a:hover,
.site-header.page-solid .lang-switch a[aria-current="true"],
.site-header.page-solid .lang-switch a:hover {
  background: var(--amarillo);
  color: #0a0f1a;
}
.lang-switch-mobile {
  justify-content: center;
  margin-top: 8px;
  border-color: var(--line-light);
}
.mobile-toggle {
  width: 44px;
  height: 44px;
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
}
.hamburger-line {
  width: 22px;
  height: 2px;
  background: #fff;
  transition: .25s ease;
}
.site-header.solid .hamburger-line,
.site-header.page-solid .hamburger-line { background: var(--texto); }
.mobile-toggle.open .hamburger-line:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.mobile-toggle.open .hamburger-line:nth-child(2) { opacity: 0; }
.mobile-toggle.open .hamburger-line:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
  position: fixed;
  inset: var(--header-h) 0 0;
  background: var(--ink);
  color: #fff;
  transform: translateX(100%);
  transition: transform .35s var(--ease);
  z-index: 999;
  overflow-y: auto;
}
.nav-mobile.open { transform: none; }
.nav-mobile-inner {
  padding: 28px 24px 48px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.mobile-nav-link {
  display: flex;
  justify-content: space-between;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line-light);
  font-size: 1.15rem;
  font-weight: 600;
}
.mobile-dropdown { display: none; padding: 8px 0 12px 12px; }
.mobile-nav-item.has-sub.open .mobile-dropdown { display: grid; gap: 4px; }
.mobile-dropdown-link {
  padding: 10px 0;
  color: rgba(255,255,255,.75);
  font-size: .95rem;
}
.mobile-nav-footer {
  margin-top: 28px;
  display: grid;
  gap: 12px;
}

@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .mobile-toggle { display: none; }
}

/* ── Hero Frame ── */
.hero-frame {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
  background: var(--ink);
}
.hero-frame-media {
  position: absolute;
  inset: 0;
}
.hero-bg,
#hero-slider {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.1s ease, transform 6s ease;
}
.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}
.hero-frame-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,15,26,.82) 0%, rgba(10,15,26,.35) 48%, rgba(10,15,26,.55) 100%),
    linear-gradient(0deg, rgba(10,15,26,.75) 0%, transparent 42%);
}
.hero-frame-content {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  margin: 0 auto;
  padding: calc(var(--header-h) + 48px) 0 56px;
}
.brand-mark {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(3.4rem, 12vw, 8.5rem);
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 0.86;
  margin-bottom: 22px;
}
.brand-mark span {
  color: var(--amarillo);
}
.hero-copy {
  max-width: 32rem;
  margin-bottom: 28px;
  transition: opacity .25s ease, transform .25s ease;
}
.hero-copy.is-switching {
  opacity: 0;
  transform: translateY(8px);
}
.hero-kicker {
  display: inline-block;
  margin-bottom: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--amarillo);
}
.hero-line {
  max-width: 28rem;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.82);
  margin: 0;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 42px;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 28px;
  padding-top: 22px;
  border-top: 1px solid var(--line-light);
  font-size: .9rem;
  color: rgba(255,255,255,.7);
}
.hero-meta strong {
  display: block;
  color: #fff;
  font-family: 'Unbounded', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 2px;
}
.hero-dots {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
}
.hero-dot.active { background: var(--amarillo); }

/* Compat hero viejo */
.hero { min-height: 70vh; }
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 80px;
  background:
    linear-gradient(135deg, rgba(25,92,181,.35), transparent 50%),
    linear-gradient(rgba(10,15,26,.88), rgba(10,15,26,.88)),
    url('../img/hero/2DR00946.jpg') center/cover;
  color: #fff;
  text-align: center;
}
.page-hero .section-badge { color: var(--amarillo); }
.page-hero .display-title { color: #fff; }

/* ── Service rows (editorial, no cards grid) ── */
.service-rail {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
  .service-row {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 20px;
    align-items: stretch;
    padding: 40px 0;
    border-bottom: 1px solid var(--line);
    transition: background .25s ease;
  }
.service-row:hover { background: rgba(25,92,181,.04); }
.service-row-num {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.4rem;
  color: var(--azul);
  padding-top: 6px;
}
.service-row-main {
  display: grid;
  gap: 18px;
}
.service-row-copy h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}
.service-row-copy p {
  color: var(--texto-soft);
  max-width: 48rem;
}
.service-row-media {
  display: none;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d7dee8;
}
.service-row-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-row:hover .service-row-media img { transform: scale(1.05); }

@media (min-width: 900px) {
  .service-row {
    grid-template-columns: 100px 1.2fr .9fr auto;
    align-items: center;
    gap: 28px;
  }
  .service-row-media { display: block; }
  .service-row-cta { justify-self: end; }
}

/* Service cards compat for old pages */
.service-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-card-img { aspect-ratio: 4/3; overflow: hidden; position: relative; }
.service-card-img img { width: 100%; height: 100%; object-fit: cover; }
.service-card-icon {
  position: absolute;
  left: 14px;
  bottom: 14px;
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: var(--azul);
  color: #fff;
  display: grid;
  place-items: center;
}
.service-card-icon svg { width: 20px; height: 20px; }
.service-card-body { padding: 20px; }
.service-card-body h3 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.service-card-body p { color: var(--texto-soft); font-size: .95rem; margin-bottom: 14px; }
.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  color: var(--azul);
}
.service-card-link svg { width: 16px; height: 16px; }

/* ── Split / manifesto ── */
.split {
  display: grid;
  gap: 36px;
}
@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.05fr .95fr;
    gap: 64px;
    align-items: center;
  }
}
.split-media {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  border-radius: var(--radius);
}
.split-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}
.split-caption {
  position: absolute;
  left: 16px;
  bottom: 16px;
  padding: 10px 12px;
  background: rgba(10,15,26,.72);
  color: #fff;
  font-size: .82rem;
  border-radius: var(--radius);
}

/* ── Film strip mini gallery ── */
.film-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(220px, 28vw);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
}
.film-strip::-webkit-scrollbar { height: 6px; }
.film-strip::-webkit-scrollbar-thumb { background: rgba(25,92,181,.35); border-radius: 99px; }
.film-item {
  scroll-snap-align: start;
  aspect-ratio: 4/5;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d5dce6;
}
.film-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.film-item:hover img { transform: scale(1.04); }

.mini-gallery {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 768px) {
  .mini-gallery { grid-template-columns: repeat(3, 1fr); }
}
.mini-gallery-item {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
}
.mini-gallery-item img { width: 100%; height: 100%; object-fit: cover; }
.mini-gallery-overlay { display: none; }

/* Galería automática por servicio (scan-servicio.php) */
.servicio-gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) {
  .servicio-gallery-grid { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 960px) {
  .servicio-gallery-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.servicio-gallery-item {
  margin: 0;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: var(--radius);
  background: #d5dce6;
}
.servicio-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform .45s var(--ease, ease);
}
.servicio-gallery-item:hover img { transform: scale(1.04); }


/* ── Videos ── */
.videos-grid {
  display: grid;
  gap: 20px;
  align-items: start;
}
@media (min-width: 960px) {
  .videos-grid { grid-template-columns: 1.55fr 1fr; }
}

/* Página Canal: reproductor arriba, grid abajo */
.videos-stage {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 960px;
  margin: 0 auto;
}
.videos-stage .video-main-wrap {
  width: 100%;
  box-shadow: var(--shadow-soft);
}
.videos-now-playing {
  font-size: .95rem;
  color: var(--texto-soft);
  text-align: center;
  min-height: 1.4em;
}

.video-main-wrap {
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: #000;
  width: 100%;
}
.video-main-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }
.video-playlist {
  display: grid;
  gap: 10px;
  align-content: start;
}
.video-thumb {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 12px;
  align-items: center;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface, rgba(255,255,255,.55));
  cursor: pointer;
  text-align: left;
  width: 100%;
}
.video-thumb.active { border-color: var(--azul); background: rgba(25,92,181,.08); }
.video-thumb-img { width: 120px; height: 68px; object-fit: cover; border-radius: 2px; }
.video-thumb-title { font-weight: 700; font-size: .92rem; }
.video-thumb-sub { font-size: .8rem; color: var(--texto-soft); }

/* ── Clients ── */
.clients-track { overflow: hidden; }
.clients-scroll {
  display: flex;
  gap: 56px;
  align-items: center;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.client-logo {
  height: clamp(64px, 8vw, 88px);
  width: auto;
  max-width: 220px;
  object-fit: contain;
  opacity: 1;
  filter: none;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ── CTA band ── */
.cta-section {
  padding: clamp(72px, 10vw, 110px) 0;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(120deg, rgba(14,63,132,.92), rgba(10,15,26,.92)),
    url('../img/hero/2DR07628.jpg') center/cover;
}
.cta-section .section-title { color: #fff; }
.cta-section p {
  max-width: 36rem;
  margin: 0 auto 28px;
  color: rgba(255,255,255,.8);
}

/* ── Stats ── */
.stats-section,
.stats-grid,
.hero-stats { }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
@media (min-width: 800px) {
  .stats-grid { grid-template-columns: repeat(4, 1fr); }
}
.stat-item, .hero-stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
}
.stat-num, .hero-stat-num {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--azul);
  margin-bottom: 4px;
}
.stat-label, .hero-stat-label {
  color: var(--texto-soft);
  font-size: .9rem;
}

/* ── Cards / forms compat ── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.contact-form input,
.contact-form textarea,
.contact-form select,
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--texto);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder,
textarea::placeholder {
  color: var(--texto-soft);
}

/* ── Footer ── */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding-top: 72px;
}
.footer-grid {
  display: grid;
  gap: 36px;
  padding-bottom: 48px;
}
@media (min-width: 900px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1.2fr; }
}
.footer-brand p { margin-top: 14px; max-width: 28rem; line-height: 1.7; color: var(--footer-text); }
.footer-logo-img { height: 42px; width: auto; }
.footer-col h4 {
  font-family: 'Unbounded', sans-serif;
  color: var(--footer-heading);
  font-size: .95rem;
  margin-bottom: 14px;
}
.footer-links { display: grid; gap: 8px; }
.footer-link { color: var(--footer-muted); font-size: .92rem; }
.footer-link:hover { color: var(--amarillo); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.social-btn {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  color: var(--footer-heading);
}
.social-btn:hover { border-color: var(--amarillo); color: var(--amarillo); }
.social-btn svg { width: 18px; height: 18px; }
.footer-contact-list { display: grid; gap: 12px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .92rem;
  color: var(--footer-text);
}
.footer-contact-item a { color: inherit; }
.footer-contact-item a:hover { color: var(--amarillo); }
.footer-contact-item svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--footer-heading); }
.footer-bar {
  border-top: 1px solid transparent;
  padding: 16px 0;
  text-align: center;
  font-size: .85rem;
  background: var(--amarillo);
  color: #0a0f1a;
}
.footer-bar p { color: #0a0f1a; }
.footer-bar a {
  color: #0a0f1a;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer-bar a:hover { color: var(--azul); }

/* About visual (sin foto externa) */
.about-mark {
  position: relative;
  min-height: 360px;
  border-radius: var(--radius-xl);
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(25, 92, 181, 0.18), transparent 65%),
    var(--bg-light, #f3f5f8);
  border: 1px solid var(--line, rgba(10, 15, 26, 0.08));
  display: grid;
  place-items: center;
}
.about-mark-ico {
  width: 88px;
  height: 88px;
  opacity: .9;
}
.about-mark-ico::before {
  width: 88px;
  height: 88px;
  background-color: var(--azul);
}
.about-mark-badge {
  position: absolute;
  bottom: 24px;
  left: 24px;
  background: var(--azul);
  color: #fff;
  padding: 20px 24px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-mark-year {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  color: var(--amarillo);
  font-family: 'Unbounded', sans-serif;
}
.about-mark-label {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-top: 4px;
  opacity: .85;
}

/* ── Floating ── */
.whatsapp-float,
.scroll-top {
  position: fixed;
  right: 18px;
  z-index: 900;
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  box-shadow: var(--shadow-soft);
}
.whatsapp-float {
  bottom: 18px;
  background: #25d366;
  color: #fff;
}
.whatsapp-float svg { width: 26px; height: 26px; }
.scroll-top {
  bottom: 80px;
  background: var(--ink);
  color: #fff;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease;
}
.scroll-top.visible {
  opacity: 1;
  pointer-events: auto;
}
.scroll-top svg { width: 18px; height: 18px; }

/* Hub service catalog */
.service-hub-card {
  display: grid;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.65);
  border-radius: var(--radius);
  overflow: hidden;
}
.service-hub-card-media { aspect-ratio: 16/10; overflow: hidden; }
.service-hub-card-media img { width: 100%; height: 100%; object-fit: cover; }
.service-hub-card-body { padding: 24px; }
.service-hub-card-body h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 10px;
}
.service-hub-card-body p { color: var(--texto-soft); margin-bottom: 14px; }
.service-hub-list { display: grid; gap: 8px; margin-bottom: 18px; }
.service-hub-list li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--texto-soft);
  font-size: .92rem;
}
.service-hub-list .dot {
  width: 7px;
  height: 7px;
  margin-top: 8px;
  background: var(--azul);
  flex-shrink: 0;
}
.info-strip {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.info-strip-item {
  border: 1px solid var(--line-light);
  padding: 22px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.04);
}
.info-strip-item h3 {
  color: var(--amarillo);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.info-strip-item p { color: rgba(255,255,255,.8); margin: 0; }
.faq-item { border-bottom: 1px solid var(--line); padding: 20px 0; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }
.faq-item p { color: var(--texto-soft); margin: 0; }

/* ── Cotizador ── */
.quote-layout {
  display: grid;
  gap: 28px;
}
@media (min-width: 960px) {
  .quote-layout {
    grid-template-columns: 1.35fr .85fr;
    align-items: start;
    gap: 36px;
  }
}
.quote-form,
.quote-summary {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(22px, 3vw, 32px);
}
.quote-form h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.quote-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 700px) {
  .quote-grid.two { grid-template-columns: 1fr 1fr; }
}
.quote-form label {
  display: grid;
  gap: 6px;
  font-size: .9rem;
  font-weight: 600;
  color: var(--texto);
}
.quote-form input,
.quote-form select,
.quote-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  font: inherit;
  font-weight: 500;
}
.quote-form textarea { min-height: 120px; resize: vertical; }
.quote-actions {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
@media (min-width: 600px) {
  .quote-actions { grid-template-columns: 1fr 1fr; }
}
.quote-summary .eyebrow { margin-bottom: 10px; }
.quote-summary h2 {
  font-family: 'Unbounded', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 16px;
}
.quote-summary dl { display: grid; gap: 12px; }
.quote-summary dt {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--azul);
}
.quote-summary dd {
  margin: 4px 0 0;
  color: var(--texto);
  font-weight: 600;
  word-break: break-word;
}
.quote-hint {
  margin-top: 18px;
  font-size: .9rem;
  color: var(--texto-soft);
  line-height: 1.6;
}

/* ── YouTube full grid ── */
.yt-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 8px;
}
@media (min-width: 768px) {
  .yt-grid { grid-template-columns: repeat(3, 1fr); gap: 18px; }
}
@media (min-width: 1100px) {
  .yt-grid { grid-template-columns: repeat(4, 1fr); }
}
.yt-card {
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--surface, rgba(255,255,255,.65));
  color: inherit;
  text-align: left;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s ease, border-color .2s ease;
}
.yt-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.yt-card.active {
  border-color: var(--azul);
  box-shadow: 0 0 0 2px rgba(25,92,181,.25);
}
.yt-card-media {
  position: relative;
  aspect-ratio: 16/9;
  background: #111;
}
.yt-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.yt-card-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10,15,26,.72);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .85rem;
}
.yt-card.active .yt-card-play {
  background: var(--azul);
}
.yt-card-body { padding: 12px 14px 16px; }
.yt-card-body h3 {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.35;
}
.yt-card-sub {
  margin-top: 4px;
  font-size: .78rem;
  color: var(--texto-soft);
}

.video-playlist {
  align-content: start;
}

/* ── Reels / Shorts ── */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 700px) {
  .reels-grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
.reel-card {
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  background: #0b0d12;
  color: #fff;
  transition: transform .25s var(--ease), box-shadow .25s ease;
}
.reel-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}
.reel-media {
  position: relative;
  aspect-ratio: 9 / 16;
  background: #111;
}
.reel-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reel-play {
  position: absolute;
  inset: 50% auto auto 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(10,15,26,.72);
  display: grid;
  place-items: center;
  font-size: .85rem;
}
.reel-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(25,92,181,.92);
}
.reel-title {
  padding: 12px 12px 14px;
  font-size: .88rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ── Instagram gallery ── */
.ig-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.7);
  overflow: hidden;
}
.ig-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-bottom: 1px solid var(--line);
}
.ig-user {
  display: flex;
  align-items: center;
  gap: 12px;
}
.ig-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--azul);
}
.ig-user strong {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-size: 1rem;
}
.ig-user span {
  color: var(--texto-soft);
  font-size: .88rem;
}
.ig-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--line);
}
.ig-item {
  aspect-ratio: 1;
  overflow: hidden;
  background: #d7dee8;
}
.ig-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.ig-item:hover img { transform: scale(1.05); }
.ig-empty {
  grid-column: 1 / -1;
  padding: 40px 16px;
  text-align: center;
  color: var(--texto-soft);
  background: #fff;
}
.ig-foot {
  padding: 16px 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}

/* ── TikTok gallery ── */
.tk-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #0b0d12;
  color: #fff;
  overflow: hidden;
}
.tk-panel .ig-user strong { color: #fff; }
.tk-panel .ig-user span { color: rgba(255,255,255,.65); }
.tk-panel .ig-foot {
  border-top-color: rgba(255,255,255,.12);
}
.tk-panel .ig-foot span { color: rgba(255,255,255,.6) !important; }
.tk-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.tk-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4px;
  padding: 4px;
  background: #0b0d12;
}
@media (min-width: 768px) {
  .tk-grid { grid-template-columns: repeat(6, 1fr); }
}
.tk-item {
  position: relative;
  aspect-ratio: 9 / 16;
  overflow: hidden;
  background: #1a1f2a;
  display: block;
}
.tk-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s var(--ease);
}
.tk-item:hover img { transform: scale(1.05); }
.tk-play {
  position: absolute;
  inset: auto 10px 10px auto;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: .7rem;
}

/* ── Social CTA ── */
.social-cta-section {
  padding: clamp(56px, 8vw, 96px) 0;
}
.social-cta {
  text-align: center;
  padding: clamp(40px, 6vw, 64px) clamp(24px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 4px);
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(25, 92, 181, 0.12), transparent 60%),
    var(--surface);
}
.social-cta-kicker {
  margin: 0 0 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--azul);
}
.social-cta-title {
  margin: 0 0 14px;
  font-family: 'Unbounded', sans-serif;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: var(--texto);
}
.social-cta-text {
  margin: 0 auto 32px;
  max-width: 34rem;
  color: var(--texto-soft);
  font-size: 1.05rem;
  line-height: 1.55;
}
.social-cta-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  flex-wrap: wrap;
}
.social-cta-link {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 96px;
  padding: 18px 20px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface-solid);
  color: var(--texto);
  transition: transform .25s var(--ease), border-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.social-cta-link svg {
  width: 32px;
  height: 32px;
}
.social-cta-link span {
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
}
.social-cta-link:hover {
  transform: translateY(-3px);
  border-color: var(--azul);
  color: var(--azul);
  box-shadow: var(--shadow-soft);
}

.video-main-wrap iframe {
  width: 100%;
  height: 100%;
  border: 0;
  min-height: 280px;
}
@media (min-width: 768px) {
  .video-main-wrap iframe { min-height: 360px; }
}

/* ── Theme safety: contrast claro/oscuro ── */
html[data-theme="dark"] .nav-mobile {
  background: #070b14;
  color: #fff;
}
html[data-theme="dark"] .yt-thumb-card,
html[data-theme="dark"] .service-hub-card,
html[data-theme="dark"] .mini-gallery-item,
html[data-theme="dark"] .film-strip-item {
  background: var(--surface);
}
html[data-theme="dark"] .btn-ghost {
  color: var(--texto);
  border-color: var(--line);
}
html[data-theme="dark"] .lang-switch {
  border-color: var(--line);
  background: rgba(255,255,255,.06);
}
html[data-theme="dark"] .site-header.page-solid .lang-switch a,
html[data-theme="dark"] .site-header.solid .lang-switch a {
  color: rgba(238, 242, 247, 0.85);
}
html[data-theme="dark"] .site-header.page-solid .lang-switch a[aria-current="true"],
html[data-theme="dark"] .site-header.solid .lang-switch a[aria-current="true"],
html[data-theme="dark"] .site-header.page-solid .lang-switch a:hover,
html[data-theme="dark"] .site-header.solid .lang-switch a:hover {
  background: var(--amarillo);
  color: #0a0f1a;
}
html[data-theme="dark"] .form-success {
  background: rgba(16, 185, 129, 0.15);
  border-color: rgba(110, 231, 183, 0.4);
  color: #a7f3d0;
}
