/* =========================================================================
   TecoHannover S.L. — Hoja de estilos unificada
   Dirección: Editorial Dark / Swiss Grid Architectural.
   Maquetación abierta en filas y bloques panorámicos — sin tarjetas,
   sin sombras, sin esquinas redondeadas. Paleta mineral oscura, tipografía
   display de gran formato y micro-revelado al scroll.
   ========================================================================= */

/* -------------------------------------------------------------------- */
/* 1. Tokens                                                             */
/* -------------------------------------------------------------------- */
:root {
  /* Color — paleta mineral oscura */
  --bg: #0b0c0e;
  --surface: #121418;
  --surface-2: #16181d;
  --line: rgba(255, 255, 255, 0.08);
  --line-strong: rgba(255, 255, 255, 0.16);
  --accent: #c5a880;
  --accent-dim: rgba(197, 168, 128, 0.35);
  --text: #ededf0;
  --text-dim: #9ca0aa;
  --on-accent: #0b0c0e;

  /* Tipografía */
  --font-display: "Syne", "Arial Narrow", sans-serif;
  --font-body: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Layout */
  --container: 1320px;
  --gutter: clamp(1.25rem, 4vw, 3rem);

  /* Movimiento */
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --dur: 0.5s;
  --reveal-y: 28px;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur: 0.001s; --reveal-y: 0px; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
}

/* -------------------------------------------------------------------- */
/* 2. Reset                                                              */
/* -------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; }
html {
  overflow-x: hidden;
  width: 100%;
}
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  width: 100%;
  overscroll-behavior-x: none;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
svg { display: block; }

:focus-visible {
  outline: 1px solid var(--accent);
  outline-offset: 4px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--accent);
  color: var(--on-accent);
  padding: 0.75rem 1.25rem;
  font-size: 0.85rem;
  z-index: 300;
}
.skip-link:focus { left: 0.75rem; top: 0.75rem; }

/* -------------------------------------------------------------------- */
/* 3. Layout base                                                        */
/* -------------------------------------------------------------------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  padding-block: clamp(4rem, 9vw, 7.5rem);
}
.section--tight { padding-block: clamp(2.5rem, 5vw, 4rem); }
.section-on-surface { background: var(--surface); }

.section-head {
  display: grid;
  gap: 1.25rem 2rem;
  margin-bottom: clamp(2.5rem, 6vw, 4.5rem);
  grid-template-columns: 1fr;
}
/* Red de seguridad general: en CSS Grid, un hijo no se encoge por debajo
   del ancho mínimo de su propio contenido (p.ej. un titular largo) salvo
   que se le indique explícitamente — por eso un texto puede desbordar su
   columna en móvil aunque el grid tenga "1fr". Se aplica a todos los
   grids de layout del sitio para que esto no vuelva a pasar. */
.section-head > *,
.page-intro-grid > *,
.contact-grid > *,
.specialty-row > *,
.specialty-body > *,
.project-block > * {
  min-width: 0;
}
@media (min-width: 800px) {
  .section-head { grid-template-columns: 7fr 5fr; align-items: end; }
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.85em;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: var(--accent);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.08;
  font-size: clamp(2.1rem, 4.4vw, 3.4rem);
  margin-top: 0.6rem;
}

/* Red de seguridad: ninguna palabra larga de titular debe desbordar
   su caja y quedar invisible bajo overflow-x:hidden en pantallas estrechas. */
.section-title, .page-title, .featured-title, .project-title,
.specialty-title, .final-cta h2 {
  overflow-wrap: break-word;
}

.section-note {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 40ch;
}

/* -------------------------------------------------------------------- */
/* 4. Revelado al hacer scroll                                           */
/* -------------------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(var(--reveal-y));
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* -------------------------------------------------------------------- */
/* 5. Botonera — sobria, sin azules ni verdes                            */
/* -------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border: 1px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.btn svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

.btn--solid {
  background: var(--text);
  color: var(--on-accent);
}
.btn--solid:hover { background: var(--accent); }

.btn--outline {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--outline:hover { border-color: var(--accent); color: var(--accent); }

.btn--text {
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--text-dim);
  gap: 0.5rem;
}
.btn--text:hover { color: var(--accent); }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--text);
}
.link-arrow svg { width: 1.1em; height: 1.1em; transition: transform var(--dur) var(--ease); }
.link-arrow:hover svg { transform: translateX(6px); }
.link-arrow:hover { color: var(--accent); }

/* -------------------------------------------------------------------- */
/* 6. Cabecera                                                           */
/* -------------------------------------------------------------------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 150;
  background: rgba(11, 12, 14, 0.72);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.logo-img {
  height: 66px;
  width: auto;
  display: block;
}
.logo strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}
.logo span {
  font-size: 0.66rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 0.3rem;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: clamp(1.5rem, 2.5vw, 2.5rem);
}
.desktop-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--dur) var(--ease);
}
.desktop-nav a:hover, .desktop-nav a[aria-current="page"] { color: var(--text); }
.desktop-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -2px;
  height: 1px;
  background: var(--accent);
}

.header-whatsapp {
  display: none;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--text);
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 2px;
  transition: color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.header-whatsapp svg { width: 16px; height: 16px; }
.header-whatsapp:hover { color: var(--accent); border-color: var(--accent); }

.nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
}
.nav-toggle span {
  display: block;
  height: 1px;
  background: var(--text);
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (min-width: 960px) {
  .desktop-nav { display: flex; }
  .header-whatsapp { display: inline-flex; }
  .nav-toggle { display: none; }
}

/* Menú móvil — pegado a <body>, nunca dentro de un antecesor con
   backdrop-filter/transform, para que su "fixed" se calcule contra
   el viewport real y no colapse su altura. */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 140;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 6rem var(--gutter) 3rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s linear var(--dur);
}
.mobile-nav[data-open="true"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility 0s;
}
.mobile-nav a {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.55rem, 6.6vw, 2.5rem);
  overflow-wrap: break-word;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--line);
  color: var(--text);
}
.mobile-nav .header-whatsapp { display: inline-flex; margin-top: 2rem; }
@media (min-width: 960px) {
  .mobile-nav { display: none; }
}

/* -------------------------------------------------------------------- */
/* 7. Hero                                                               */
/* -------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  color: var(--text);
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  background: linear-gradient(160deg, #1a1c20, #0b0c0e 60%);
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to top, rgba(11, 12, 14, 0.96) 0%, rgba(11, 12, 14, 0.55) 45%, rgba(11, 12, 14, 0.35) 100%);
}
.hero .container {
  position: relative;
  z-index: 2;
  padding-top: calc(84px + 3rem);
  padding-bottom: clamp(3rem, 8vw, 5.5rem);
  width: 100%;
}

.hero-grid {
  display: grid;
  gap: 1.75rem;
  min-width: 0;
}
.hero-grid > * { min-width: 0; }

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
  font-size: clamp(1.8rem, 3.7vw, 4.2rem);
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  .hero-title { font-size: clamp(1.3rem, 5.6vw, 2.1rem); }
}

.hero-side {
  border-left: 1px solid var(--line-strong);
  padding-left: 1.5rem;
}
.hero-note {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: clamp(2rem, 5vw, 3rem);
}

.scroll-cue {
  position: absolute;
  right: var(--gutter);
  bottom: 1.75rem;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  color: var(--text-dim);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.scroll-cue::after {
  content: "";
  width: 1px;
  height: 34px;
  background: linear-gradient(var(--accent), transparent);
  /* Repeticiones limitadas (no "infinite"): llama la atención al cargar
     sin dejar una animación perpetua corriendo el resto de la sesión. */
  animation: scrollcue 2.2s var(--ease) 3;
}
@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; opacity: 0; }
  40% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  60% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@media (min-width: 700px) { .scroll-cue { display: flex; } }
@media (prefers-reduced-motion: reduce) { .scroll-cue::after { animation: none; } }

/* -------------------------------------------------------------------- */
/* 8. Especialidades — filas abiertas, sin tarjetas                      */
/* -------------------------------------------------------------------- */
.specialty-list {
  border-top: 1px solid var(--line);
}
.specialty-row {
  display: grid;
  gap: 0.75rem 1.5rem;
  padding-block: clamp(2rem, 5vw, 2.75rem);
  border-bottom: 1px solid var(--line);
  grid-template-columns: auto 1fr;
  align-items: center;
  transition: background var(--dur) var(--ease);
}
.specialty-row:hover { background: rgba(255, 255, 255, 0.02); }

.specialty-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  flex-shrink: 0;
}
.specialty-icon svg { width: 28px; height: 28px; }

.specialty-body {
  display: grid;
  gap: 0.6rem 2rem;
  grid-template-columns: 1fr;
}
@media (min-width: 700px) {
  .specialty-body { grid-template-columns: 1.3fr 1fr; align-items: center; }
}

.specialty-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: clamp(1.4rem, 3vw, 2rem);
  line-height: 1.1;
}

.specialty-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
  color: var(--text-dim);
  font-size: 0.92rem;
}
.specialty-points li::before { content: "\2014\00a0"; color: var(--line-strong); }


/* -------------------------------------------------------------------- */
/* 9. Obras destacadas — bloques panorámicos                             */
/* -------------------------------------------------------------------- */
.featured-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  background: var(--line);
}
.featured-block {
  position: relative;
  aspect-ratio: 21 / 9;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: var(--surface);
}
@media (max-width: 700px) {
  /* 21:9 se queda demasiado bajo para el título en móvil; un 4:3 deja
     espacio de sobra y sigue leyéndose como una foto de gran formato. */
  .featured-block { aspect-ratio: 4 / 3; min-height: 0; }
}
.featured-block img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: repeating-linear-gradient(135deg, #16181d 0 24px, #1c1f25 24px 48px);
  transition: transform 1.2s var(--ease);
}
.featured-block:hover img { transform: scale(1.04); }
.featured-block::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11, 12, 14, 0.92), rgba(11, 12, 14, 0.15) 60%);
}
.featured-content {
  position: relative;
  z-index: 1;
  padding: clamp(1.5rem, 4vw, 3rem);
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 1rem 1.5rem;
}
.featured-content > div { min-width: 0; }
.featured-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.6rem;
}
.featured-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.08;
  font-size: clamp(1.6rem, 4.5vw, 3rem);
  max-width: 16ch;
}
.featured-content .link-arrow { flex-shrink: 0; color: var(--text); }

/* -------------------------------------------------------------------- */
/* 10. Contacto                                                          */
/* -------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  gap: clamp(2.5rem, 6vw, 4rem);
}
@media (min-width: 900px) {
  .contact-grid { grid-template-columns: 1fr 1fr; }
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--line);
}
.contact-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}
.contact-row .label {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.contact-row .value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.15rem, 2.6vw, 1.6rem);
  text-align: right;
  transition: color var(--dur) var(--ease);
}
.contact-row a.value:hover, .contact-row button.value:hover { color: var(--accent); }
.contact-row button.value { display: flex; align-items: center; gap: 0.6rem; }
.contact-row button.value svg { width: 18px; height: 18px; flex-shrink: 0; color: var(--text-dim); }

.contact-meta {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--text-dim);
  font-size: 0.95rem;
}
.contact-meta strong { color: var(--text); font-weight: 600; }

.map-frame {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
  filter: invert(92%) hue-rotate(180deg) contrast(88%) brightness(0.92) saturate(0.6);
}

/* -------------------------------------------------------------------- */
/* 11. Pie de página                                                     */
/* -------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding-block: 2.5rem;
}
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.footer-nav a { font-size: 0.78rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dim); }
.footer-nav a:hover { color: var(--text); }
.footer-legal { font-size: 0.78rem; color: var(--text-dim); margin-top: 1.5rem; }

/* -------------------------------------------------------------------- */
/* 12. Pestaña lateral de WhatsApp (elemento de firma)                   */
/* -------------------------------------------------------------------- */
.side-tab {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%) translateX(calc(100% - 34px));
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-right: none;
  color: var(--text);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: transform var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}
.side-tab svg { width: 17px; height: 17px; flex-shrink: 0; }
.side-tab:hover, .side-tab:focus-visible {
  transform: translateY(-50%) translateX(0);
  color: var(--accent);
  border-color: var(--accent);
}
@media (max-width: 640px) {
  .side-tab {
    top: auto;
    bottom: 0;
    right: 0;
    left: 0;
    transform: none;
    justify-content: center;
    border: none;
    border-top: 1px solid var(--line-strong);
    background: var(--bg);
  }
  .side-tab:hover, .side-tab:focus-visible { transform: none; }
}

/* -------------------------------------------------------------------- */
/* 13. Introducción de página (proyectos.html)                           */
/* -------------------------------------------------------------------- */
.page-intro {
  padding-top: calc(84px + clamp(2.5rem, 7vw, 4rem));
}
.page-intro-grid {
  display: grid;
  gap: 1.25rem;
}
.page-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.05;
  font-size: clamp(1.8rem, 3.7vw, 3.6rem);
  overflow-wrap: break-word;
}
@media (max-width: 640px) {
  .page-title { font-size: clamp(1.6rem, 7.5vw, 2.4rem); }
}

/* -------------------------------------------------------------------- */
/* 15. Bloques de proyecto + carrusel panorámico                         */
/* -------------------------------------------------------------------- */
.projects-list {
  display: flex;
  flex-direction: column;
}
.project-block {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  padding-block: clamp(3rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--line);
  transition: opacity 0.3s var(--ease);
}
@media (min-width: 1000px) {
  .project-block { grid-template-columns: 5fr 7fr; align-items: center; }
  .project-block:nth-of-type(even) .carousel { order: 2; }
}

.project-meta-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.project-meta-row .index { color: var(--accent); }

.project-title {
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1;
  font-size: clamp(1.7rem, 3.4vw, 2.4rem);
}

.project-points {
  margin-top: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  color: var(--text-dim);
  font-size: 0.98rem;
}
.project-points li { padding-left: 1.1rem; position: relative; }
.project-points li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.6em;
  width: 6px; height: 1px;
  background: var(--accent);
}

.project-cta { margin-top: 1.75rem; }

/* Carrusel panorámico */
.carousel {
  position: relative;
  background: var(--surface);
}
.carousel-viewport {
  overflow: hidden;
  position: relative;
  aspect-ratio: 16 / 9;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform var(--dur) var(--ease);
}
.carousel-slide {
  min-width: 100%;
  height: 100%;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: repeating-linear-gradient(135deg, #16181d 0 24px, #1c1f25 24px 48px);
}

.carousel-arrow {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  min-width: 44px;
  display: flex;
  align-items: center;
  color: var(--text);
  opacity: 0.7;
  transition: opacity var(--dur) var(--ease), background var(--dur) var(--ease);
}
.carousel-arrow:hover { opacity: 1; background: linear-gradient(90deg, rgba(11,12,14,0.35), transparent); }
.carousel-arrow svg { width: 22px; height: 22px; }
.carousel-arrow--prev { left: 0; justify-content: flex-start; padding-left: 0.75rem; }
.carousel-arrow--next { right: 0; justify-content: flex-end; padding-right: 0.75rem; background: linear-gradient(270deg, rgba(11,12,14,0.35), transparent); }
.carousel-arrow--next:hover { background: linear-gradient(270deg, rgba(11,12,14,0.5), transparent); }

.carousel-indicators {
  position: absolute;
  left: 0.9rem;
  bottom: 0.9rem;
  z-index: 2;
  display: flex;
  gap: 0.4rem;
}
.indicator-line {
  width: 26px;
  height: 2px;
  background: rgba(237, 237, 240, 0.35);
  transition: background var(--dur) var(--ease);
}
.indicator-line[aria-selected="true"] { background: var(--accent); }

/* -------------------------------------------------------------------- */
/* 16. CTA final                                                         */
/* -------------------------------------------------------------------- */
.final-cta {
  border-top: 1px solid var(--line);
  text-align: left;
  padding-block: clamp(3.5rem, 8vw, 6rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}
.final-cta h2 {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(1.8rem, 4.5vw, 2.8rem);
  max-width: 18ch;
}

/* -------------------------------------------------------------------- */
/* 17. Toast de confirmación                                             */
/* -------------------------------------------------------------------- */
.toast {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  transform: translate(-50%, 12px);
  background: var(--text);
  color: var(--on-accent);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  padding: 0.8rem 1.4rem;
  z-index: 250;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.toast[data-visible="true"] {
  opacity: 1;
  transform: translate(-50%, 0);
}
