/* Páginas internas */
.page-inner .site-header { position: sticky; }
.page-hero {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: flex-end;
  padding: 120px 0 48px;
  overflow: hidden;
  background: var(--bg);
}
.page-hero-sm { min-height: 280px; padding-bottom: 40px; }
.page-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.45;
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8,9,10,0.55) 0%, rgba(8,9,10,0.92) 100%);
}
.page-hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}
.page-hero h1 {
  font-size: clamp(32px, 5vw, 52px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 12px;
}
.page-hero p {
  color: var(--text-muted);
  font-size: 16px;
  max-width: 48ch;
  margin-bottom: 20px;
}
/* Trayectoria / hitos */
.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .timeline { grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (min-width: 960px) {
  .timeline { grid-template-columns: repeat(4, 1fr); gap: 18px; }
}
.timeline article,
.timeline-item {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  padding: 22px 20px 24px;
  background: rgba(255, 255, 255, 0.04);
  min-height: 148px;
  transition: border-color 220ms ease, background 220ms ease, transform 220ms ease;
}
.timeline article:hover,
.timeline-item:hover {
  border-color: rgba(247, 199, 43, 0.28);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-3px);
}
.timeline article strong,
.timeline-item .year,
.timeline-item strong {
  display: block;
  color: var(--accent);
  font-size: clamp(26px, 2.4vw, 32px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 14px;
}
.timeline article p,
.timeline-item p {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
}
.section-trayectoria .section-head {
  grid-template-columns: 1fr;
  max-width: 520px;
  margin-bottom: clamp(28px, 4vw, 40px);
}
.section-trayectoria .section-head h2 {
  max-width: 11ch;
}
.works-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) { .works-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 960px) { .works-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; } }
.work-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  background: var(--surface);
}
.work-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 500ms var(--ease-out);
}
.work-card:hover img { transform: scale(1.04); }
.work-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 14px 16px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
}
.work-card-body h3 {
  font-size: 15px;
  font-weight: 700;
}
.page-back { margin-top: 28px; }

/* Detalle de servicio: descripción + beneficios + formulario */
.service-desc {
  display: grid;
  gap: 28px;
}
@media (min-width: 900px) {
  .service-desc {
    grid-template-columns: 1.35fr 0.85fr;
    gap: 40px;
    align-items: start;
  }
}
.service-desc-copy h2 {
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}
.service-desc-copy p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.65;
  margin-bottom: 12px;
}
.benefits-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  padding: 22px 22px 18px;
}
.benefits-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.benefits-card ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.benefits-card li {
  position: relative;
  padding-left: 22px;
  color: var(--text);
  font-size: 14px;
  line-height: 1.45;
}
.benefits-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}
.service-inquiry {
  display: grid;
  gap: 24px;
}
@media (min-width: 900px) {
  .service-inquiry {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: start;
  }
}
.service-inquiry .contact-card h2,
.inquiry-side h2 {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 8px;
}
.inquiry-side p,
.inquiry-side a {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}
.inquiry-side .inquiry-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}
.inquiry-side .inquiry-list a {
  color: var(--text);
  text-decoration: none;
}
.inquiry-side .inquiry-list a:hover { color: var(--accent); }
.works-grid-dense {
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (min-width: 640px) {
  .works-grid-dense { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .works-grid-dense { grid-template-columns: repeat(4, 1fr); gap: 12px; }
}
.works-grid-dense .work-card { aspect-ratio: 1; }

.narrow { max-width: 820px; margin-inline: auto; }

/* Documentos legales */
.legal-doc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
}
.legal-doc > .legal-meta {
  color: var(--text-subtle);
  font-size: 13px;
  margin: 0 0 28px;
}
.legal-doc h2 {
  color: var(--text);
  font-size: clamp(18px, 2.2vw, 22px);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin: 28px 0 10px;
}
.legal-doc h3 {
  color: var(--text);
  font-size: 16px;
  font-weight: 700;
  margin: 18px 0 8px;
}
.legal-doc p { margin: 0 0 12px; }
.legal-doc ul {
  list-style: disc;
  list-style-position: outside;
  margin: 0 0 14px;
  padding-left: 1.35em;
}
.legal-doc ol {
  list-style: decimal;
  list-style-position: outside;
  margin: 0 0 14px;
  padding-left: 1.35em;
}
.legal-doc li {
  margin-bottom: 6px;
  padding-left: 0.15em;
}
.legal-doc li::marker {
  color: var(--accent);
}
.legal-doc a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.legal-doc a:hover { color: var(--accent-hover); }
.legal-doc strong { color: var(--text); font-weight: 700; }
.legal-toc {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  padding: 16px 18px;
  margin: 0 0 28px;
}
.legal-toc strong {
  display: block;
  color: var(--text);
  font-size: 13px;
  margin-bottom: 8px;
}
.legal-toc ol {
  list-style: decimal;
  list-style-position: outside;
  margin: 0;
  padding-left: 1.35em;
  color: var(--text-muted);
  font-size: 13.5px;
}
.legal-toc li { margin-bottom: 4px; }
.legal-toc li::marker { color: var(--accent); }
.legal-toc a { color: var(--text-muted); text-decoration: none; }
.legal-toc a:hover { color: var(--accent); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Libro de reclamaciones */
.provider-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--bg-alt);
  padding: 22px 22px 8px;
  margin-bottom: 28px;
}
.provider-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
  margin-bottom: 16px;
}
@media (min-width: 700px) {
  .provider-grid { grid-template-columns: 1fr 1fr; gap: 18px 28px; }
}
.provider-grid dt {
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.provider-grid dd {
  color: var(--text);
  font-size: 15px;
  font-weight: 600;
  margin: 0 0 8px;
}
.claims-note {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px;
}
.claims-note strong { color: var(--accent); font-weight: 700; }
.claims-legal {
  color: var(--text-subtle);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}
.claims-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  padding: 24px 22px 28px;
}
.claims-card h2 {
  font-size: clamp(22px, 3vw, 28px);
  font-weight: 800;
  margin-bottom: 8px;
}
.claims-card > p {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 20px;
}
.claims-card .form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  margin: 8px 0 4px;
}
.claims-card .form-check input {
  margin-top: 3px;
  width: 16px;
  height: 16px;
  flex: 0 0 auto;
  accent-color: var(--accent);
}
.radio-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  padding: 10px 0 4px;
}
.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
}
.radio-row input { accent-color: var(--accent); width: 16px; height: 16px; }
.claims-success {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(247, 199, 43, 0.35);
  background: rgba(247, 199, 43, 0.08);
  color: var(--text);
  font-size: 14px;
}
.claims-success.is-visible { display: block; }
.claims-card fieldset {
  border: 0;
  margin: 0;
  padding: 0;
  min-width: 0;
}
.claims-card legend {
  color: var(--text-subtle);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.provider-grid a { color: var(--text); }
.provider-grid a:hover { color: var(--accent); }
.works-grid-projects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 720px) {
  .works-grid-projects { grid-template-columns: repeat(3, 1fr); gap: 14px; }
}
@media (min-width: 1024px) {
  .works-grid-projects { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.work-card { cursor: zoom-in; }
.work-project .work-card-body {
  opacity: 1;
}
.work-count {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.82);
  border: 1px solid rgba(247, 199, 43, 0.55);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

/* Lightbox galería */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  padding: 16px 16px 0;
  background: rgba(0, 0, 0, 0.92);
  opacity: 0;
  visibility: hidden;
  transition: opacity 220ms ease, visibility 220ms ease;
}
.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}
.lightbox-inner {
  position: relative;
  width: min(1100px, 100%);
  margin-inline: auto;
  flex: 1 1 auto;
  min-height: 0;
  max-height: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  padding-bottom: 12px;
}
.lightbox-figure {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100vh - 168px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  background: #111;
  margin-inline: auto;
  display: block;
}
.lightbox-title {
  margin: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  flex: 0 0 auto;
  order: -1;
  padding-top: 8px;
}
.lightbox-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 600;
  width: 100%;
  text-align: center;
  flex: 0 0 auto;
}
.lightbox-thumbs {
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  width: 100%;
  flex: 0 0 auto;
  margin: 0;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 14px 16px calc(14px + env(safe-area-inset-bottom, 0px));
  background: rgba(0, 0, 0, 0.94);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.35) transparent;
}
.lightbox-thumbs[hidden] {
  display: none !important;
}
.lightbox-thumb {
  width: 64px;
  height: 48px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 6px;
  overflow: hidden;
  background: #111;
  cursor: pointer;
  flex: 0 0 64px;
}
.lightbox-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.lightbox-thumb.is-active {
  border-color: var(--accent);
}
.lightbox-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--accent);
  color: #0B0B0B;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}
.lightbox-btn:hover { background: #fff; }
.lightbox-prev { left: 8px; }
.lightbox-next { right: 8px; }
.lightbox-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(20, 20, 20, 0.75);
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  z-index: 3;
}
.lightbox-close:hover {
  background: var(--accent);
  color: #0B0B0B;
  border-color: var(--accent);
}
@media (max-width: 700px) {
  .lightbox-btn {
    width: 40px;
    height: 40px;
    font-size: 22px;
    top: auto;
    bottom: 88px;
    transform: none;
  }
  .lightbox-prev { left: calc(50% - 56px); }
  .lightbox-next { right: calc(50% - 56px); }
  .lightbox-figure img { max-height: calc(100vh - 200px); }
  .lightbox-thumbs { padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px)); }
}

:root {
  --bg: #08090A;
  --bg-alt: #101113;
  --surface: #141518;
  --surface-hover: #1B1D20;
  --border: #303236;
  --text: #F7F7F6;
  --text-muted: #A7AAAF;
  --text-subtle: #73777D;
  --accent: #F7C72B;
  --accent-hover: #FFE05D;
  --accent-foreground: #0B0B0B;
  --brand-blue: #3EC6F0; /* azul del logo “Full” */
  --brand-blue-soft: rgba(62, 198, 240, 0.18);
  --success: #25D366;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1240px;
  --header-height: 84px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft: cubic-bezier(0.33, 1, 0.68, 1);
}

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

html { scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .parallax-media img,
  .cinema-frame img,
  .hero-slide img,
  .hero-caption h1,
  .hero-caption .lead,
  .hero-caption .eyebrow,
  .hero-caption .hero-ctas { transform: none !important; }
}

html, body {
  width: 100%;
  background: var(--bg);
}

body {
  font-family: Manrope, sans-serif;
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}

main {
  width: 100%;
  background: var(--bg);
}

/* Ambient page wash */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(900px 480px at 12% -10%, rgba(247, 199, 43, 0.05), transparent 60%),
    radial-gradient(700px 420px at 100% 20%, rgba(255, 255, 255, 0.03), transparent 55%),
    var(--bg);
}

img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
ul { list-style: none; }
iframe { border: 0; }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  position: relative;
}

.icon {
  width: 1em;
  height: 1em;
  display: inline-block;
  flex-shrink: 0;
  vertical-align: middle;
}
.icon:not(.icon-stroke) { fill: currentColor; }
.icon-stroke {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--brand-blue);
  opacity: 0.9;
}

.section {
  padding: clamp(48px, 6vw, 72px) 0;
  position: relative;
  background: var(--bg);
  overflow: hidden;
}

.section-tight {
  padding: clamp(36px, 4.5vw, 56px) 0;
}

/* Foto de fondo (como testimonios del original) */
.section-photo {
  background-color: var(--bg);
  overflow: hidden;
}
.section-photo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: var(--section-bg);
  background-size: cover;
  background-position: center;
}
.section-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: rgba(0, 0, 0, 0.62);
}
.section-photo > .container,
.section-photo > .container-full {
  position: relative;
  z-index: 1;
}

/* Partículas de fondo (canvas) */
.particles {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  opacity: 0.55;
}
.hero > .particles {
  z-index: 2;
  opacity: 0.7;
  mix-blend-mode: screen;
}
.cinema > .particles,
.section-particles > .particles {
  opacity: 0.7;
}
.hero-nav,
.hero-side-btn { z-index: 30; }
.hero-slide .hero-caption { z-index: 3; }
.cinema > .particles,
.section-particles > .particles { z-index: 0; }
.section-particles { position: relative; overflow: hidden; }
.section-particles > .container { position: relative; z-index: 1; }

/* Bandas cinema — imagen 50% viewport edge-to-edge + texto */
.cinema {
  position: relative;
  padding: 0;
  background: var(--bg);
  overflow: hidden;
}
.cinema-shell {
  position: relative;
  z-index: 1;
  width: 100%;
  margin: 0;
  display: grid;
  gap: 0;
  align-items: stretch;
}
@media (min-width: 960px) {
  .cinema-shell {
    grid-template-columns: 50% 50%;
    min-height: 420px;
    max-height: 480px;
  }
  .cinema-shell.is-reverse {
    grid-template-columns: 50% 50%;
  }
}
.cinema-media {
  position: relative;
  margin: 0;
  min-width: 0;
  width: 100%;
  height: 100%;
}
.cinema-frame,
.parallax-media {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  width: 100%;
  height: 100%;
}
.cinema-frame {
  aspect-ratio: 4 / 3;
  background: #0a0a0a;
}
@media (min-width: 960px) {
  .cinema-frame {
    aspect-ratio: auto;
    min-height: 420px;
    max-height: 480px;
    height: 100%;
  }
}
.cinema-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  will-change: transform;
  transform: translate3d(0, 0, 0) scale(1.18);
  transform-origin: center center;
  backface-visibility: hidden;
}
/* Fundido de la foto hacia el texto */
.cinema-media::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.cinema-left .cinema-media::after {
  background: linear-gradient(90deg, transparent 55%, rgba(8, 9, 10, 0.45) 82%, var(--bg) 100%);
}
.cinema-right .cinema-media::after {
  background: linear-gradient(270deg, transparent 55%, rgba(8, 9, 10, 0.45) 82%, var(--bg) 100%);
}
@media (max-width: 959px) {
  .cinema {
    padding: clamp(28px, 6vw, 48px) 0;
  }
  .cinema-shell {
    width: min(1280px, calc(100% - 32px));
    margin-inline: auto;
    gap: 20px;
  }
  .cinema-media::after {
    background: linear-gradient(180deg, transparent 55%, rgba(8, 9, 10, 0.5) 82%, var(--bg) 100%) !important;
  }
}

.cinema-copy {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: clamp(24px, 3.5vw, 40px) clamp(20px, 4vw, 48px);
}
.cinema-copy-inner {
  width: 100%;
  max-width: 420px;
}
@media (min-width: 960px) {
  /* Imagen izq → texto pegado al borde de la foto */
  .cinema-left .cinema-copy {
    padding-left: clamp(24px, 3vw, 40px);
    padding-right: clamp(40px, 7vw, 96px);
    align-items: flex-start;
  }
  /* Texto izq → bloque alineado a la derecha (junto a la foto) */
  .cinema-right .cinema-copy {
    padding-right: clamp(24px, 3vw, 40px);
    padding-left: clamp(40px, 7vw, 96px);
    align-items: flex-end;
  }
  .cinema-right .cinema-copy-inner {
    text-align: left;
  }
}
.cinema-copy .eyebrow {
  margin-bottom: 16px;
}
.cinema-copy h2 {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.1;
  margin-bottom: 14px;
}
.cinema-copy p {
  color: rgba(236, 237, 239, 0.78);
  font-size: clamp(14.5px, 1.15vw, 16.5px);
  line-height: 1.65;
  margin-bottom: 22px;
}
.cinema-copy .btn-primary {
  text-transform: uppercase;
  letter-spacing: 0.04em;
  font-size: 13px;
  font-weight: 800;
  align-self: flex-start;
}

/* Testimonios — carrusel */
.testimonials-carousel {
  --t-gap: 22px;
  --t-per-view: 1;
  position: relative;
  margin-top: 28px;
}
@media (min-width: 700px) {
  .testimonials-carousel { --t-per-view: 2; }
}
@media (min-width: 1000px) {
  .testimonials-carousel { --t-per-view: 3; }
}
.testimonials-viewport {
  overflow: hidden;
  width: 100%;
  padding-top: 40px; /* espacio para avatares que sobresalen */
  margin-top: -4px;
  container-type: inline-size;
  container-name: testimonials;
}
.testimonials-track {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: var(--t-gap);
  width: max-content;
  max-width: none;
  transition: transform 480ms var(--ease-soft, cubic-bezier(0.22, 1, 0.36, 1));
  will-change: transform;
}
.testimonials-track .t-classic {
  flex: 0 0 auto;
  width: var(--t-card-w, calc((100cqi - (var(--t-per-view) - 1) * var(--t-gap)) / var(--t-per-view)));
  min-width: 0;
  max-width: none;
  box-sizing: border-box;
}
.t-classic {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 4px;
  padding: 48px 22px 22px;
  background: rgba(0, 0, 0, 0.35);
  text-align: center;
  min-height: 100%;
}
.t-classic .t-avatar {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 2;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(255, 255, 255, 0.85);
  transform: translate(-50%, -50%);
  background: #111;
  display: block;
}
.t-classic h3 {
  font-size: 15px;
  font-weight: 800;
  margin: 8px 0 12px;
  line-height: 1.35;
}
.t-classic p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13.5px;
  line-height: 1.55;
  margin-bottom: 14px;
}
.t-classic em {
  font-style: italic;
  font-weight: 700;
  margin-right: 4px;
}
.t-classic .stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 14px;
}
.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 26px;
}
.testimonials-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.testimonials-arrow .icon { width: 18px; height: 18px; }
.testimonials-arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #0B0B0B;
}
.testimonials-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: min(100%, 280px);
}
.testimonials-dots button {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  transition: background 180ms ease, width 180ms ease;
}
.testimonials-dots button.is-active {
  width: 26px;
  background: var(--accent);
}

.section-full {
  width: 100%;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
  background: var(--bg);
}

.section-full > .container-full {
  width: 100%;
  max-width: none;
  padding-inline: clamp(16px, 3vw, 40px);
}

.section-full .section-head,
.section-full .ba-actions,
.section-full .ba-note {
  width: min(100%, var(--container));
  margin-inline: auto;
}

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

.section-head {
  display: grid;
  gap: 14px;
  margin-bottom: clamp(22px, 3.5vw, 36px);
}
@media (min-width: 900px) {
  .section-head {
    grid-template-columns: 1.15fr 0.85fr;
    align-items: end;
    gap: 32px;
  }
}

.section-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch;
}

.section-head p,
.lead {
  color: var(--text-muted);
  max-width: 42ch;
  font-size: 15.5px;
  line-height: 1.7;
}

.accent { color: var(--accent); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: 1px solid transparent;
  transition:
    background 220ms var(--ease-soft),
    color 220ms var(--ease-soft),
    border-color 220ms var(--ease-soft),
    transform 220ms var(--ease-soft),
    box-shadow 220ms var(--ease-soft);
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}
.btn .icon { width: 16px; height: 16px; transition: transform 220ms var(--ease-soft); }
.btn:hover .icon-arrow { transform: translateX(3px); }
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--accent);
  color: var(--accent-foreground);
  box-shadow: 0 10px 28px rgba(247, 199, 43, 0.14);
}
.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(247, 199, 43, 0.2);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.02);
  border-color: var(--border);
  color: var(--text);
  backdrop-filter: blur(8px);
}
.btn-secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-link {
  color: var(--brand-blue);
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}
.btn-link .icon { width: 15px; height: 15px; transition: transform 220ms var(--ease-soft); }
.btn-link:hover { color: var(--accent); }
.btn-link:hover .icon { transform: translateX(4px); }

/* Scroll progress */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--brand-blue), var(--accent), #ffe28a);
  z-index: 200;
  pointer-events: none;
  transform-origin: left;
}

/* Header — overlay limpio + sello + 2 WhatsApp */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.78) 0%, rgba(8, 9, 10, 0.28) 70%, transparent 100%);
  border-bottom: none;
  box-shadow: none;
  transition:
    border-color 280ms var(--ease-soft),
    background 280ms var(--ease-soft),
    backdrop-filter 280ms var(--ease-soft),
    box-shadow 280ms var(--ease-soft),
    height 280ms var(--ease-soft);
}
.site-header.is-scrolled {
  border-bottom: none;
  box-shadow: none;
  background: rgba(8, 9, 10, 0.96);
  backdrop-filter: blur(16px) saturate(1.15);
  -webkit-backdrop-filter: blur(16px) saturate(1.15);
  height: 72px;
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px 28px;
  width: min(100% - 32px, var(--container));
  margin-inline: auto;
}

.brand {
  transition: transform 250ms var(--ease-soft), opacity 250ms var(--ease-soft);
  flex-shrink: 0;
}
.brand:hover { transform: translateY(-1px); opacity: 0.92; }
.brand img { height: 42px; width: auto; display: block; }

.nav-desktop {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 22px;
}
.nav-desktop > a,
.nav-drop > summary {
  font-size: 13.5px;
  font-weight: 600;
  color: rgba(247, 247, 246, 0.78);
  list-style: none;
  cursor: pointer;
  position: relative;
  padding: 6px 0;
  transition: color 200ms ease;
}
.nav-desktop > a:hover,
.nav-drop > summary:hover { color: #fff; }
.nav-desktop > a.is-active { color: var(--accent); }
.nav-desktop > a::after,
.nav-drop > summary::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 260ms var(--ease-out);
}
.nav-desktop > a:hover::after,
.nav-desktop > a.is-active::after,
.nav-drop:hover > summary::after { transform: scaleX(1); }

.nav-drop { position: relative; }
.nav-drop > summary::-webkit-details-marker { display: none; }
.nav-drop > summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.nav-drop > summary .icon { width: 12px; height: 12px; opacity: 0.7; transition: transform 200ms ease; }
.nav-drop[open] > summary .icon { transform: rotate(180deg); }

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  width: 300px;
  background: rgba(20, 21, 24, 0.96);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 8px;
  display: grid;
  gap: 2px;
  box-shadow: 0 28px 60px rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(12px);
  opacity: 0;
  transform: translate(-50%, 8px);
  animation: dropIn 220ms var(--ease-out) forwards;
}
@keyframes dropIn {
  to { opacity: 1; transform: translate(-50%, 0); }
}
.nav-drop-panel a {
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}
.nav-drop-panel a:hover {
  background: var(--surface-hover);
  color: var(--accent);
  transform: translateX(3px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  justify-self: end;
}
.header-wa {
  display: none;
  align-items: center;
  gap: 10px;
  color: var(--accent);
  white-space: nowrap;
}
.header-wa-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--accent);
}
.header-wa-nums {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 800;
  font-style: italic;
  font-size: 14.5px;
  letter-spacing: 0.01em;
}
.header-wa a {
  color: var(--accent);
  transition: color 180ms ease;
}
.header-wa a:hover { color: var(--accent-hover); }
.header-wa-sep {
  opacity: 0.65;
  font-style: normal;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
}
.header-sello {
  display: none;
  height: 64px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}
.site-header.is-scrolled .header-sello { height: 54px; }

.menu-toggle {
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  display: grid;
  place-items: center;
  cursor: pointer;
  color: var(--text);
  transition: border-color 200ms ease, background 200ms ease;
}
.menu-toggle:hover { border-color: var(--accent); }
.menu-toggle .icon { width: 20px; height: 20px; }

.mobile-nav {
  position: fixed;
  inset: var(--header-height) 0 0 0;
  background: rgba(8, 9, 10, 0.98);
  padding: 8px 20px 32px;
  transform: translateX(100%);
  transition: transform 320ms var(--ease-out);
  z-index: 99;
  overflow-y: auto;
  backdrop-filter: blur(16px);
  -webkit-overflow-scrolling: touch;
}
.mobile-nav.is-open { transform: translateX(0); }
.mobile-nav-list {
  display: flex;
  flex-direction: column;
}
.mobile-nav-list > a,
.mobile-nav-group {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mobile-nav-list > a {
  display: block;
  padding: 16px 0;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.mobile-nav-group > a.mobile-nav-parent {
  display: block;
  padding: 16px 0 8px;
  font-weight: 700;
  font-size: 17px;
  color: var(--text);
  text-decoration: none;
}
.mobile-nav-subs {
  display: grid;
  gap: 0;
  padding: 0 0 14px 14px;
  margin: 0;
}
.mobile-nav-subs a,
.mobile-nav .sub {
  display: block;
  padding: 8px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  border: 0;
  line-height: 1.35;
}
.mobile-nav-subs a:active,
.mobile-nav-list > a:active {
  color: var(--accent);
}
.mobile-nav .btn { width: 100%; }
.mobile-wa {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 4px;
}
.mobile-wa .btn {
  justify-content: center;
  min-height: 48px;
  border-radius: 999px;
  font-weight: 700;
}
.mobile-sello {
  display: block;
  width: 72px;
  height: auto;
  margin: 20px auto 8px;
  opacity: 0.95;
}

@media (min-width: 1100px) {
  .nav-desktop { display: flex; }
  .header-wa { display: inline-flex; }
  .header-sello { display: block; }
  .menu-toggle { display: none; }
}
@media (min-width: 1024px) and (max-width: 1099px) {
  .header-wa { display: inline-flex; }
  .header-sello { display: block; height: 52px; }
  .header-wa-nums { font-size: 13px; }
}

/* Hero — 100% viewport con header encima */
.hero {
  position: relative;
  min-height: 100svh;
  min-height: 100dvh;
  height: 100svh;
  height: 100dvh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: var(--bg);
  width: 100%;
  padding-top: var(--header-height);
}

.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 900ms var(--ease-soft);
  will-change: opacity;
  z-index: 0;
  pointer-events: none;
}
.hero-slide.is-active {
  opacity: 1;
  z-index: 1;
  pointer-events: auto;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  transform: scale(1.06);
  will-change: transform;
}
.hero-slide.is-active img {
  animation: kenBurns 8s ease forwards;
}
@keyframes kenBurns {
  from { transform: scale(1.08) translate3d(0, 0, 0); }
  to { transform: scale(1.02) translate3d(0, -1%, 0); }
}

.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(105deg, rgba(8, 9, 10, 0.96) 0%, rgba(8, 9, 10, 0.72) 36%, rgba(8, 9, 10, 0.2) 70%, rgba(8, 9, 10, 0.45) 100%),
    linear-gradient(180deg, rgba(8, 9, 10, 0.35) 0%, rgba(8, 9, 10, 0.05) 45%, rgba(8, 9, 10, 0.82) 100%);
}

.hero-noise {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Flechas laterales del hero */
.hero-side-btn {
  position: absolute;
  top: 50%;
  z-index: 30;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: var(--accent);
  color: #0B0B0B;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: background 180ms ease, transform 180ms ease, color 180ms ease, border-color 180ms ease;
  padding: 0;
}
.hero-side-btn .icon {
  width: 26px;
  height: 26px;
  stroke-width: 2.25;
}
.hero-side-prev { left: 16px; }
.hero-side-next { right: 16px; }
.hero-side-btn:hover {
  background: #fff;
  border-color: #fff;
  transform: translateY(-50%) scale(1.05);
}
@media (max-width: 700px) {
  .hero-side-btn {
    width: 44px;
    height: 44px;
    top: auto;
    bottom: 90px;
    transform: none;
  }
  .hero-side-btn .icon { width: 22px; height: 22px; }
  .hero-side-btn:hover { transform: scale(1.05); }
}

.hero-nav {
  position: absolute;
  left: 50%;
  bottom: 28px;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.55);
}

.hero-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.hero-dots button {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  overflow: hidden;
  transition: background 200ms ease, width 200ms ease;
}
.hero-dots button.is-active {
  background: rgba(247, 199, 43, 0.28);
  width: 28px;
}
.hero-dots button.is-active::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  transform: scaleX(var(--hero-progress, 0));
  transform-origin: left center;
  transition: transform var(--hero-autoplay-ms, 5000ms) linear;
}

.hero-caption {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 12px) 0 72px;
  pointer-events: none;
}
.hero-caption .container {
  pointer-events: auto;
  max-width: min(var(--container), calc(100% - 40px));
}
.hero-caption .eyebrow,
.hero-caption h1,
.hero-caption .lead,
.hero-caption .hero-ctas {
  opacity: 0;
  transform: translateY(22px);
}
.hero-slide.is-active .hero-caption .eyebrow,
.hero-slide.is-active .hero-caption h1,
.hero-slide.is-active .hero-caption .lead,
.hero-slide.is-active .hero-caption .hero-ctas {
  animation: riseIn 700ms var(--ease-out) forwards;
}
.hero-slide.is-active .hero-caption .eyebrow { animation-delay: 80ms; }
.hero-slide.is-active .hero-caption h1 { animation-delay: 160ms; }
.hero-slide.is-active .hero-caption .lead { animation-delay: 240ms; }
.hero-slide.is-active .hero-caption .hero-ctas { animation-delay: 320ms; }

@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

.hero-caption h1 {
  font-size: clamp(34px, 5.2vw, 64px);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-caption .lead {
  margin-bottom: 26px;
  font-size: 16.5px;
  max-width: 42ch;
  color: rgba(247, 247, 246, 0.86);
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 0;
}

.hero-strengths {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 14px;
}
.hero-strengths li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 10px 12px;
  border: 1px solid rgba(48, 50, 54, 0.7);
  border-radius: 12px;
  background: rgba(8, 9, 10, 0.35);
  backdrop-filter: blur(8px);
  transition: border-color 220ms ease, transform 220ms ease, background 220ms ease;
}
.hero-strengths li:hover {
  border-color: rgba(247, 199, 43, 0.35);
  transform: translateY(-2px);
  background: rgba(8, 9, 10, 0.5);
}
.strength-icon {
  width: 32px;
  height: 32px;
  border-radius: 9px;
  border: 1px solid var(--border);
  background: rgba(20, 21, 24, 0.75);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
}
.strength-icon .icon { width: 15px; height: 15px; }

@media (min-width: 900px) {
  .hero-strengths {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
  }
}

/* scroll hint removido: competía con los controles del slider */

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 640px) {
  .services-grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 960px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
}

.service-card {
  position: relative;
  display: block;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  transition:
    border-color 280ms var(--ease-soft),
    transform 280ms var(--ease-soft),
    box-shadow 280ms var(--ease-soft);
  will-change: transform;
}
.service-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 560ms var(--ease-out);
}
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 28%, rgba(8, 9, 10, 0.94) 100%);
  transition: opacity 280ms ease;
}
.service-card-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 1;
  padding: 16px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
}
.service-card h3 {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.3;
  transition: transform 280ms var(--ease-soft);
}
.service-card .arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  flex-shrink: 0;
  background: rgba(8, 9, 10, 0.45);
  transition: transform 280ms var(--ease-soft), border-color 280ms ease, background 280ms ease;
}
.service-card .arrow .icon { width: 13px; height: 13px; }
.service-card:hover {
  border-color: rgba(247, 199, 43, 0.35);
  transform: translateY(-6px);
  box-shadow: 0 22px 40px rgba(0, 0, 0, 0.35);
}
.service-card:hover img { transform: scale(1.06); }
.service-card:hover h3 { transform: translateY(-2px); }
.service-card:hover .arrow {
  transform: translateX(3px);
  border-color: var(--accent);
  background: rgba(247, 199, 43, 0.12);
}

/* Editorial / Materials split */
.split {
  display: grid;
  gap: clamp(24px, 3.5vw, 48px);
  align-items: center;
}
@media (min-width: 960px) {
  .split { grid-template-columns: 0.95fr 1.15fr; }
  .split.is-reverse { grid-template-columns: 1.15fr 0.95fr; }
  .split.is-reverse .split-media { order: 2; }
}

.split-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 4 / 3;
  position: relative;
  background: var(--surface);
}
.split-media img {
  width: 100%;
  height: 120%;
  object-fit: cover;
  position: absolute;
  inset: -10% 0 0;
  will-change: transform;
  transition: transform 700ms var(--ease-out);
}
.split-media:hover img { transform: scale(1.04); }

.split-copy {
  min-width: 0;
  max-width: 560px;
}
.split-copy h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
  max-width: none;
}
.split-copy p {
  color: var(--text-muted);
  margin-bottom: 22px;
  max-width: none;
  font-size: 15.5px;
  line-height: 1.7;
}

.material-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.material-tags span {
  padding: 8px 13px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
  background: rgba(20, 21, 24, 0.7);
  transition: border-color 200ms ease, color 200ms ease, transform 200ms ease;
}
.material-tags span:hover {
  border-color: rgba(247, 199, 43, 0.4);
  color: var(--accent);
  transform: translateY(-2px);
}

/* Before / After — full width */
.ba-layout {
  display: grid;
  gap: 14px;
  width: 100%;
}
@media (min-width: 1024px) {
  .ba-layout {
    grid-template-columns: 1fr 180px;
    gap: 14px;
    align-items: stretch;
  }
}

.ba-stage {
  position: relative;
  border-radius: clamp(12px, 1.5vw, 18px);
  overflow: hidden;
  border: 1px solid var(--border);
  aspect-ratio: 16 / 9;
  min-height: clamp(280px, 48vw, 560px);
  user-select: none;
  touch-action: none;
  background: var(--surface);
  outline: none;
}
.ba-stage:focus-visible { border-color: var(--accent); }
.ba-stage img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-after { z-index: 1; }
.ba-before-wrap {
  position: absolute;
  inset: 0;
  z-index: 2;
  width: 50%;
  overflow: hidden;
}
.ba-before-wrap img {
  width: 100vw;
  max-width: none;
  height: 100%;
  object-fit: cover;
}
.ba-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent);
  z-index: 3;
  transform: translateX(-50%);
}
.ba-handle-knob {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-foreground);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
  cursor: ew-resize;
  transition: transform 180ms ease;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 1px;
  line-height: 1;
  user-select: none;
}
.ba-stage:active .ba-handle-knob { transform: translate(-50%, -50%) scale(1.06); }
.ba-label {
  position: absolute;
  top: 14px;
  z-index: 4;
  padding: 6px 11px;
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.78);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.ba-label.before { left: 14px; }
.ba-label.after { right: 14px; }

.ba-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (min-width: 1024px) {
  .ba-thumbs { grid-template-columns: 1fr; gap: 10px; }
}
.ba-thumb {
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  background: var(--surface);
  padding: 0;
  opacity: 0.55;
  transition: opacity 220ms ease, border-color 220ms ease, transform 220ms ease;
}
.ba-thumb.is-active,
.ba-thumb:hover {
  opacity: 1;
  border-color: var(--accent);
  transform: translateY(-2px);
}
.ba-thumb img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.ba-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: var(--text-subtle);
}

/* Process */
.process-grid {
  display: grid;
  gap: 14px;
  counter-reset: step;
}
@media (min-width: 900px) {
  .process-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
}
.process-step {
  padding: 28px 22px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, rgba(20, 21, 24, 0.9), rgba(16, 17, 19, 0.75));
  position: relative;
  overflow: hidden;
  transition: transform 280ms var(--ease-soft), border-color 280ms ease;
}
.process-step::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), transparent);
  opacity: 0;
  transition: opacity 280ms ease;
}
.process-step:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 199, 43, 0.28);
}
.process-step:hover::before { opacity: 1; }
.process-step .num {
  font-size: 11px;
  font-weight: 800;
  color: var(--accent);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}
.process-step .step-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  color: var(--accent);
  margin-bottom: 16px;
  background: rgba(8, 9, 10, 0.35);
  transition: transform 280ms var(--ease-soft), border-color 280ms ease;
}
.process-step:hover .step-icon {
  transform: scale(1.06);
  border-color: rgba(247, 199, 43, 0.4);
}
.process-step .step-icon .icon { width: 18px; height: 18px; }
.process-step h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 13.5px;
  line-height: 1.55;
}

/* Legacy t-card (unused on home carousel; keep styles if reused) */
.t-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: rgba(20, 21, 24, 0.85);
  padding: 28px 24px;
  transition: transform 280ms var(--ease-soft), border-color 280ms ease, box-shadow 280ms ease;
}
.t-card:hover {
  transform: translateY(-5px);
  border-color: rgba(247, 199, 43, 0.28);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.28);
}
.t-card .stars {
  color: var(--accent);
  letter-spacing: 2px;
  font-size: 12px;
  margin-bottom: 12px;
}
.t-card blockquote {
  color: var(--text);
  font-size: 14.5px;
  line-height: 1.65;
  margin-bottom: 22px;
  min-height: 6.4em;
}
.t-meta { display: flex; align-items: center; gap: 12px; }
.t-meta img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.t-meta strong { display: block; font-size: 13.5px; font-weight: 700; }
.t-meta span { display: block; font-size: 12px; color: var(--text-subtle); }

/* (timeline unificado arriba en páginas internas) */

/* Recent — full bleed */
.recent-wrap {
  width: 100%;
}
.recent {
  position: relative;
  border-radius: clamp(12px, 1.5vw, 18px);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: clamp(360px, 56vw, 620px);
  width: 100%;
  display: grid;
  align-items: end;
}
.recent-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 500ms var(--ease-soft);
  pointer-events: none;
}
.recent-slide.is-active {
  opacity: 1;
  pointer-events: auto;
}
.recent-slide img {
  width: 100%;
  height: 115%;
  object-fit: cover;
  position: absolute;
  inset: -8% 0 0;
  will-change: transform;
  transition: transform 700ms var(--ease-out);
}
.recent-slide.is-active img { animation: recentDrift 7s ease alternate infinite; }
@keyframes recentDrift {
  from { transform: translate3d(0, 0, 0) scale(1.02); }
  to { transform: translate3d(0, -3%, 0) scale(1.06); }
}
.recent-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.1) 15%, rgba(8, 9, 10, 0.92) 100%);
}
.recent-copy {
  position: relative;
  z-index: 2;
  padding: clamp(24px, 4vw, 40px);
}
.recent-copy h3 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.recent-nav {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.recent-nav button {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(8, 9, 10, 0.75);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  backdrop-filter: blur(8px);
  transition: border-color 200ms ease, color 200ms ease, background 200ms ease, transform 200ms ease;
}
.recent-nav button svg {
  width: 20px;
  height: 20px;
  display: block;
  pointer-events: none;
}
.recent-nav button:hover {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--accent-foreground);
  transform: translateY(-1px);
}

/* Brands — Confían en nosotros */
.section-head-center {
  text-align: center;
  justify-items: center;
  gap: 10px;
  margin-bottom: 36px;
}
@media (min-width: 900px) {
  .section-head-center {
    grid-template-columns: 1fr;
    align-items: center;
  }
}
.section-head-center h2 {
  max-width: none;
}
.section-head-center > div {
  max-width: none;
  margin-inline: auto;
}
.section-head-center p {
  max-width: 46ch;
  margin-inline: auto;
}
.brands-title-line {
  white-space: nowrap;
  max-width: none !important;
  font-size: clamp(34px, 5vw, 56px) !important;
}
#marcas .section-head-center p {
  font-size: clamp(15px, 1.4vw, 18px);
  max-width: 52ch;
}

/* Carousel marcas — 100% ancho */
.brands-carousel {
  width: 100%;
  max-width: none;
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  padding: 20px 0 12px;
}
.brands-track {
  display: flex;
  width: max-content;
  animation: brands-marquee 42s linear infinite;
}
.brands-carousel:hover .brands-track {
  animation-play-state: paused;
}
.brands-group {
  display: flex;
  align-items: center;
  gap: clamp(48px, 6vw, 88px);
  padding-inline: clamp(24px, 3vw, 44px);
  flex-shrink: 0;
}
.brands-group img {
  height: clamp(48px, 5.5vw, 72px);
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(1) brightness(1.45);
  opacity: 0.8;
  transition: opacity 220ms ease, filter 220ms ease, transform 220ms ease;
}
.brands-group img:hover {
  opacity: 1;
  filter: grayscale(0) brightness(1);
  transform: translateY(-2px);
}
@keyframes brands-marquee {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}
@media (prefers-reduced-motion: reduce) {
  .brands-track { animation: none; }
  .brands-carousel {
    overflow-x: auto;
    mask-image: none;
    -webkit-mask-image: none;
  }
  .brands-track { width: 100%; }
  .brands-group[aria-hidden="true"] { display: none; }
  .brands-group {
    width: 100%;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 24px 32px;
  }
}

/* Contact — full width grid */
.contact-grid {
  display: grid;
  gap: 14px;
  width: 100%;
}
@media (min-width: 1100px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr) minmax(240px, 0.7fr);
    gap: 14px;
    align-items: stretch;
  }
}
.contact-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  padding: clamp(20px, 2.5vw, 26px);
  height: 100%;
  transition: border-color 280ms ease;
}
.contact-card:hover { border-color: rgba(247, 199, 43, 0.22); }
.contact-card h2 {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
}
.contact-card .sub {
  color: var(--text-muted);
  font-size: 13.5px;
  margin-bottom: 22px;
}
.form-grid { display: grid; gap: 12px; }
.form-grid label {
  display: grid;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-muted);
}
.form-grid input:not([type="checkbox"]):not([type="radio"]),
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 13px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: rgba(8, 9, 10, 0.55);
  color: var(--text);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}
.form-grid select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 42px;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--accent) 50%),
    linear-gradient(135deg, var(--accent) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) 50%,
    calc(100% - 12px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  cursor: pointer;
}
.form-grid select option {
  background: #121418;
  color: #fff;
}
.form-grid label.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  line-height: 1.45;
  text-transform: none;
  letter-spacing: 0;
}
.form-grid textarea { min-height: 100px; resize: vertical; }
.form-grid input:not([type="checkbox"]):not([type="radio"]):focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--accent);
  background: rgba(8, 9, 10, 0.75);
  box-shadow: 0 0 0 3px rgba(247, 199, 43, 0.12);
}
.form-row { display: grid; gap: 12px; }
@media (min-width: 560px) {
  .form-row { grid-template-columns: 1fr 1fr; }
}

.workshop-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 100%;
  background: var(--surface);
  position: relative;
  transition: border-color 280ms ease;
}
.workshop-map:hover {
  border-color: rgba(247, 199, 43, 0.25);
}
.workshop-map iframe {
  width: 100%;
  height: 100%;
  min-height: 460px;
  filter: grayscale(0.25) contrast(1.05) brightness(0.9);
  transition: filter 400ms ease;
}
@media (min-width: 1100px) {
  .workshop-map iframe { min-height: 100%; position: absolute; inset: 0; }
  .workshop-map { min-height: 520px; }
}
.workshop-map:hover iframe { filter: grayscale(0.05) contrast(1.05) brightness(0.95); }
.workshop-map .map-badge {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.88);
  border: 1px solid var(--border);
  font-size: 12px;
  font-weight: 700;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.contact-info h3 {
  font-size: 19px;
  font-weight: 800;
  margin-bottom: 18px;
}
.contact-info dl {
  display: grid;
  gap: 16px;
  margin-bottom: 22px;
}
.contact-info dt {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 5px;
}
.contact-info dd {
  font-size: 14.5px;
  font-weight: 600;
  color: var(--text);
}
.contact-info a { transition: color 180ms ease; }
.contact-info a:hover { color: var(--accent); }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 20px;
  background: var(--bg);
  width: 100%;
}
.footer-grid {
  display: grid;
  gap: 28px;
  margin-bottom: 28px;
}
.footer-grid-slim {
  gap: 28px 40px;
}
@media (min-width: 800px) {
  .footer-grid-slim {
    grid-template-columns: 1.2fr 0.8fr 1.2fr;
    align-items: start;
  }
}
.footer-brand p {
  color: var(--text-muted);
  font-size: 13px;
  margin-top: 12px;
  max-width: 28ch;
}
.footer-brand img { height: 34px; width: auto; }
.footer-col h4 {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-subtle);
  margin-bottom: 12px;
}
.footer-col a {
  display: block;
  color: var(--text-muted);
  font-size: 13.5px;
  font-weight: 600;
  padding: 4px 0;
  transition: color 180ms ease;
}
.footer-col a:hover {
  color: var(--accent);
}
.footer-hours {
  display: block;
  color: var(--text-subtle);
  font-size: 12.5px;
  margin-top: 8px;
  line-height: 1.45;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid var(--border);
  color: var(--text-subtle);
  font-size: 12.5px;
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 16px; }
.footer-legal a:hover { color: var(--accent); }

/* Floating WhatsApp */
.float-wa {
  position: fixed;
  right: max(16px, env(safe-area-inset-right));
  bottom: max(16px, env(safe-area-inset-bottom));
  z-index: 120;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.35);
  transition: transform 220ms var(--ease-soft), box-shadow 220ms ease;
  animation: waIn 600ms var(--ease-out) 800ms both;
}
@keyframes waIn {
  from { opacity: 0; transform: translateY(16px) scale(0.9); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.float-wa:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 18px 36px rgba(37, 211, 102, 0.42);
}
.float-wa .icon { width: 30px; height: 30px; }

/* Reveal system */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 700ms var(--ease-out),
    transform 700ms var(--ease-out);
  transition-delay: var(--delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(28px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.96) translateY(18px);
  transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.stagger > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 560ms var(--ease-out), transform 560ms var(--ease-out);
}
.stagger.is-visible > *:nth-child(1) { transition-delay: 40ms; }
.stagger.is-visible > *:nth-child(2) { transition-delay: 90ms; }
.stagger.is-visible > *:nth-child(3) { transition-delay: 140ms; }
.stagger.is-visible > *:nth-child(4) { transition-delay: 190ms; }
.stagger.is-visible > *:nth-child(5) { transition-delay: 240ms; }
.stagger.is-visible > *:nth-child(6) { transition-delay: 290ms; }
.stagger.is-visible > *:nth-child(7) { transition-delay: 340ms; }
.stagger.is-visible > *:nth-child(8) { transition-delay: 390ms; }
.stagger.is-visible > *:nth-child(9) { transition-delay: 440ms; }
.stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal,
  .reveal-left,
  .reveal-right,
  .reveal-scale,
  .stagger > *,
  .hero-caption .eyebrow,
  .hero-caption h1,
  .hero-caption .lead,
  .hero-caption .hero-ctas,
  .float-wa,
  .mobile-nav a {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
}

/* =========================================================
   PROPUESTA C — paneles espejo Antes | Después
   ========================================================= */

.section-bleed {
  width: 100%;
  max-width: none;
  padding: clamp(40px, 5vw, 64px) 0;
  background: var(--bg);
}

.ba-mirror {
  width: min(100% - 32px, 1440px);
  margin-inline: auto;
  display: grid;
  gap: 22px;
}

.ba-mirror-head {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .ba-mirror-head {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: end;
    gap: 40px;
  }
}
.ba-mirror-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  line-height: 1.08;
  font-weight: 800;
  letter-spacing: -0.03em;
  max-width: 14ch;
}
.ba-mirror-meta {
  display: grid;
  gap: 10px;
  justify-items: start;
}
.ba-mirror-meta p {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
}

.ba-mirror-grid {
  display: grid;
  gap: 12px;
}
@media (min-width: 860px) {
  .ba-mirror-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }
}

.ba-panel {
  position: relative;
  margin: 0;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  aspect-ratio: 4 / 3;
  isolation: isolate;
}
.ba-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 700ms var(--ease-out), opacity 320ms ease;
}
.ba-panel:hover img { transform: scale(1.04); }

.ba-panel figcaption {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
}
.ba-panel-after figcaption { left: auto; right: 14px; }
.ba-panel figcaption span {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(8, 9, 10, 0.82);
  border: 1px solid var(--border);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.ba-panel-after figcaption span {
  border-color: rgba(247, 199, 43, 0.45);
  color: var(--accent);
}

.ba-mirror-grid.is-swapping .ba-panel img {
  animation: baFade 420ms var(--ease-out);
}
@keyframes baFade {
  from { opacity: 0.35; transform: scale(1.02); }
  to { opacity: 1; transform: scale(1); }
}

.ba-picker {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 800px) {
  .ba-picker {
    grid-auto-flow: column;
    grid-auto-columns: minmax(160px, 72%);
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 4px;
  }
  .ba-pick { scroll-snap-align: start; }
}

.ba-pick {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: rgba(20, 21, 24, 0.8);
  color: var(--text-muted);
  cursor: pointer;
  text-align: left;
  transition: border-color 200ms ease, color 200ms ease, transform 200ms ease, background 200ms ease;
}
.ba-pick img {
  width: 72px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
}
.ba-pick span {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}
.ba-pick:hover,
.ba-pick.is-active {
  border-color: var(--accent);
  color: var(--text);
  background: rgba(247, 199, 43, 0.06);
  transform: translateY(-2px);
}

/* Testimonios visuales con foto */
.testimonials-visual {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .testimonials-visual { grid-template-columns: repeat(3, 1fr); }
}
.t-visual {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: 360px;
  display: grid;
  align-items: end;
  isolation: isolate;
}
.t-visual-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  transition: transform 500ms var(--ease-out);
}
.t-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(8, 9, 10, 0.15) 20%, rgba(8, 9, 10, 0.92) 100%);
}
.t-visual-body {
  position: relative;
  z-index: 2;
  padding: 22px 18px;
  display: grid;
  gap: 12px;
}
.t-visual .stars { color: var(--accent); letter-spacing: 2px; font-size: 12px; }
.t-visual blockquote {
  font-size: 15px;
  line-height: 1.55;
  min-height: 4.5em;
}
.t-visual:hover .t-visual-bg { transform: scale(1.05); }
.t-visual .t-meta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.t-visual .t-meta img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border);
}
.t-visual .t-meta strong { display: block; font-size: 13.5px; }
.t-visual .t-meta span { display: block; font-size: 12px; color: var(--text-subtle); }

.about-points {
  display: grid;
  gap: 12px;
  margin: 0 0 26px;
}
.about-points li {
  color: var(--text-muted);
  font-size: 15px;
  font-weight: 600;
  padding-left: 18px;
  position: relative;
  line-height: 1.45;
}
.about-points li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Proyectos recientes — grilla 3 visibles */
.projects-grid {
  display: grid;
  gap: 14px;
}
@media (min-width: 900px) {
  .projects-grid {
    grid-template-columns: 1.35fr 1fr;
    grid-template-rows: 1fr 1fr;
    min-height: 560px;
  }
  .project-card-featured {
    grid-row: 1 / span 2;
  }
}

.project-card {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 260px;
  isolation: isolate;
  transition: border-color 240ms ease, transform 240ms var(--ease-soft);
}
.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  transition: transform 500ms var(--ease-out);
}
.project-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(8, 9, 10, 0.92) 100%);
  z-index: 1;
}
.project-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 20px 18px;
  display: grid;
  gap: 8px;
}
.project-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}
.project-card h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
}
.project-cta {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  transition: color 200ms ease, transform 200ms ease;
}
.project-card:hover {
  border-color: rgba(247, 199, 43, 0.4);
  transform: translateY(-4px);
}
.project-card:hover img { transform: scale(1.08); }
.project-card { cursor: zoom-in; }
.project-card:hover .project-cta {
  color: var(--accent);
  transform: translateX(3px);
}

@media (max-width: 899px) {
  .projects-grid {
    grid-template-columns: 1fr;
  }
  .project-card { aspect-ratio: 16 / 11; min-height: 0; }
  .project-card-featured { aspect-ratio: 16 / 12; }
}

/* Contacto: formulario + mapa limpio */
.contact-duo {
  display: grid;
  gap: 16px;
}
@media (min-width: 960px) {
  .contact-duo {
    grid-template-columns: 1fr 1.05fr;
    align-items: stretch;
  }
}

.contact-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  background: var(--bg-alt);
  padding: clamp(18px, 2.4vw, 26px);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.contact-card .form-grid {
  flex: 1;
  align-content: start;
}
.contact-card select:disabled {
  opacity: 0.85;
  cursor: default;
  color: var(--text);
}

.map-card {
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  display: flex;
  flex-direction: column;
  min-height: 460px;
}
.map-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px;
  background: #f4f4f4;
  color: #111;
  border-bottom: 1px solid #e4e4e4;
}
.map-card-head strong {
  display: block;
  font-size: 15px;
  font-weight: 800;
}
.map-card-head span {
  display: block;
  font-size: 12.5px;
  color: #555;
  margin-top: 2px;
}
.map-card-head .btn-sm {
  min-height: 38px;
  padding: 0 14px;
  font-size: 12.5px;
  background: #111;
  color: #fff;
  border-color: #111;
}
.map-card-head .btn-sm:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #111;
}
.map-card-frame {
  flex: 1;
  min-height: 380px;
  position: relative;
  background: #e8e8e8;
}
.map-card-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  filter: none;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 18px;
}
.social-row-footer { margin-top: 14px; margin-bottom: 0; }
.social-row-footer .social-btn {
  width: 36px;
  height: 36px;
}
.social-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  display: grid;
  place-items: center;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease, transform 180ms ease;
}
.social-btn .icon { width: 18px; height: 18px; }
.social-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--accent-foreground);
  transform: translateY(-2px);
}
