/* ==========================================================================
   AVN Group Software — Minimalismo editorial de alto contraste (Estilo Globant)
   Paleta: Obsidian (#07080A), Grafito (#0F1116), Blanco (#FFFFFF) + Coral AVN
   ========================================================================== */

:root {
  --bg-obsidian: #07080a;
  --bg-graphite: #0f1116;
  --bg-surface: #0b0d12;
  --bg-elevated: #151821;
  --bg-white: #ffffff;
  --bg-light: #f6f6f3;

  --text-light: #f4f5f7;
  --text-muted-dark: #9ca3af;
  --text-subtle-dark: #6b7280;
  --text-dark: #0e1015;
  --text-muted-light: #4b5563;

  --border-dark: rgba(255, 255, 255, 0.1);
  --border-dark-strong: rgba(255, 255, 255, 0.22);
  --border-light: rgba(14, 16, 21, 0.1);
  --border-light-strong: rgba(14, 16, 21, 0.22);

  --accent-coral: #ff8260;
  --accent-vermilion: #df441e;
  --accent-glow: #ff6b45;
  --accent-soft: rgba(255, 130, 96, 0.14);
  --accent-gradient: linear-gradient(135deg, #ff9a7b 0%, #ff7854 48%, #df441e 100%);

  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;

  --radius-sm: 0.75rem;
  --radius-md: 1.15rem;
  --radius-lg: 1.6rem;
  --radius-xl: 2rem;
  --radius-pill: 9999px;

  --container-max: 1200px;
  --nav-height: 76px;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: clip;
}

body {
  margin: 0;
  background-color: var(--bg-obsidian);
  color: var(--text-light);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
}

::selection {
  background: var(--accent-coral);
  color: var(--bg-obsidian);
}

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

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

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--accent-coral);
  outline-offset: 3px;
}

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

section[id] {
  scroll-margin-top: calc(var(--nav-height) + 1rem);
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-coral);
  margin: 0 0 0.9rem;
}

.eyebrow--dark {
  color: var(--accent-vermilion);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.section-lead {
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.65;
  margin: 0;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Barra de progreso */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  z-index: 100;
  pointer-events: none;
}

.scroll-progress__bar {
  height: 100%;
  width: 0%;
  background: var(--accent-gradient);
  transition: width 0.08s linear;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.88rem 1.6rem;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-out), background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn--primary {
  background: var(--accent-coral);
  color: var(--bg-obsidian);
  box-shadow: 0 14px 30px -10px rgba(223, 68, 30, 0.45);
}

.btn--primary:hover {
  background: var(--accent-glow);
  box-shadow: 0 18px 34px -10px rgba(255, 107, 69, 0.55);
}

.btn--ghost-dark {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--border-dark-strong);
  color: var(--text-light);
}

.btn--ghost-dark:hover {
  border-color: var(--accent-coral);
  background: rgba(255, 255, 255, 0.08);
}

.btn--sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.8rem;
}

.btn--lg {
  padding: 1rem 1.95rem;
  font-size: 0.94rem;
}

.btn[disabled] {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

/* ==========================================================================
   HEADER Y NAVEGACIÓN
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 80;
  height: var(--nav-height);
  background: rgba(7, 8, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(7, 8, 10, 0.92);
  border-bottom-color: var(--border-dark);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  height: 50px;
  width: auto;
  object-fit: contain;
}

.nav-desktop {
  display: none;
  align-items: center;
  gap: 2.25rem;
}

.nav-desktop__link {
  position: relative;
  font-size: 0.88rem;
  font-weight: 500;
  color: #cbd5e1;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-desktop__link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 2px;
  background: var(--accent-coral);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s var(--ease-out);
}

.nav-desktop__link:hover,
.nav-desktop__link.is-active {
  color: #ffffff;
}

.nav-desktop__link.is-active::after {
  transform: scaleX(1);
}

.nav-desktop__link--accent {
  color: var(--accent-coral);
  font-weight: 600;
}

.header-actions {
  display: none;
  align-items: center;
  flex-shrink: 0;
}

.menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-dark);
  color: var(--text-light);
}

.mobile-drawer {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  width: 100%;
  max-height: calc(100svh - var(--nav-height));
  overflow-y: auto;
  background: rgba(10, 12, 16, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
  padding: 1.25rem 1.5rem 2rem;
  z-index: 75;
  display: none;
  flex-direction: column;
  gap: 0.4rem;
}

.mobile-drawer.is-open {
  display: flex;
}

.mobile-drawer__link {
  display: flex;
  align-items: center;
  min-height: 46px;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 1rem;
  font-weight: 500;
  color: #e5e7eb;
}

.mobile-drawer__link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-drawer__link--accent {
  color: var(--accent-coral);
  font-weight: 600;
}

.mobile-drawer__actions {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-dark);
  display: flex;
  flex-direction: column;
}

@media (min-width: 960px) {
  .nav-desktop,
  .header-actions {
    display: flex;
  }

  .menu-toggle,
  .mobile-drawer {
    display: none !important;
  }
}

/* ==========================================================================
   HERO PROTAGONISTA DE MARCA (CENTRADO Y RESPIRABLE)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 2.5rem) 0 4rem;
  background-color: var(--bg-obsidian);
  overflow: hidden;
  text-align: center;
}

.hero__grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 76px 76px;
  mask-image: radial-gradient(circle at 50% 45%, #000 30%, transparent 80%);
  pointer-events: none;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.85;
}

.hero__glow {
  position: absolute;
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(720px, 92vw);
  height: 430px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(223, 68, 30, 0.16) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  transition: transform 0.9s var(--ease-out), opacity 0.9s ease;
}

.hero[data-slide='1'] .hero__glow {
  transform: translate(-42%, -54%);
  background: radial-gradient(circle, rgba(255, 130, 96, 0.18) 0%, transparent 70%);
}

.hero[data-slide='2'] .hero__glow {
  transform: translate(-58%, -46%);
  background: radial-gradient(circle, rgba(223, 68, 30, 0.15) 0%, transparent 70%);
}

.hero-nav-btn {
  display: none;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(7, 8, 10, 0.45);
  backdrop-filter: blur(8px);
  color: #cbd5e1;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease, background-color 0.2s ease;
}

.hero-nav-btn:hover {
  border-color: var(--accent-coral);
  color: #ffffff;
  background: rgba(255, 130, 96, 0.14);
}

.hero-nav-btn--prev {
  left: clamp(1rem, 2.5vw, 2.5rem);
}

.hero-nav-btn--next {
  right: clamp(1rem, 2.5vw, 2.5rem);
}

@media (min-width: 768px) {
  .hero-nav-btn {
    display: inline-flex;
  }

  .hero-slider {
    width: min(calc(100% - 7rem), 760px);
  }
}

.hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__brand-logo {
  width: min(86%, clamp(210px, 36vw, 500px));
  height: auto;
  margin-bottom: 3rem;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.45));
}

.hero-slider {
  display: grid;
  width: min(100%, 760px);
  margin-bottom: 1.5rem;
}

.hero-slide {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.hero-slide.is-active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 4.8vw, 4.05rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.08;
  color: #ffffff;
  margin: 0 0 0.95rem;
}

.hero__subtitle {
  font-size: clamp(1rem, 1.35vw, 1.18rem);
  color: #a1a8b5;
  max-width: 600px;
  margin: 0;
}

.hero-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.hero-dot {
  width: 22px;
  height: 3px;
  padding: 0;
  border: none;
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.2);
  transition: width 0.3s var(--ease-out), background-color 0.3s ease;
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.45);
}

.hero-dot.is-active {
  width: 42px;
  background: var(--accent-coral);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.9rem;
  margin-bottom: 2.5rem;
}

.hero__meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.65rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #8b94a3;
}

.hero__meta-dot {
  color: var(--accent-coral);
}

.hero__scroll-down {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  transition: color 0.2s ease, transform 0.2s ease;
}

.hero__scroll-down:hover {
  color: var(--accent-coral);
  transform: translate(-50%, 3px);
}

/* ==========================================================================
   SECCIONES GENERALES
   ========================================================================== */
.section {
  padding: clamp(3.5rem, 7vw, 6.75rem) 0;
  position: relative;
}

.about-head > *,
.cap-grid > *,
.novalis-grid > *,
.ind-grid > *,
.contact-grid > *,
.channel-card__link > div {
  min-width: 0;
}

.section--white {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

.section--surface {
  background-color: var(--bg-surface);
  color: var(--text-light);
  border-block: 1px solid var(--border-dark);
}

.section--light {
  background-color: var(--bg-light);
  color: var(--text-dark);
}

.section--graphite {
  background-color: var(--bg-graphite);
  color: var(--text-light);
  border-top: 1px solid var(--border-dark);
}

/* ==========================================================================
   NOSOTROS + CAPACIDADES (SECCIÓN BLANCA LIMPIA)
   ========================================================================== */
.about-head {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: end;
  margin-bottom: 3.5rem;
}

@media (min-width: 900px) {
  .about-head {
    grid-template-columns: 1.15fr 0.85fr;
    gap: 3.5rem;
  }
}

.about-head__lead {
  color: var(--text-muted-light);
  font-size: 1.05rem;
  line-height: 1.65;
  margin: 0;
}

.about-head__lead strong {
  color: var(--text-dark);
}

.cap-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

@media (min-width: 640px) {
  .cap-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .cap-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cap-card {
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-light);
  border: 1px solid var(--border-light);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.cap-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 68, 30, 0.45);
}

.cap-card__num {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--accent-vermilion);
  margin-bottom: 1rem;
}

.cap-card__title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 0 0 0.5rem;
}

.cap-card__text {
  font-size: 0.9rem;
  color: var(--text-muted-light);
  margin: 0;
  line-height: 1.55;
}

/* ==========================================================================
   NOVA LIS — PRODUCTO ESTRELLA
   ========================================================================== */
.novalis-ambient {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: min(760px, 90vw);
  height: 380px;
  background: radial-gradient(circle, rgba(223, 68, 30, 0.14) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.novalis-frame {
  position: relative;
  z-index: 2;
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--radius-xl);
  background: linear-gradient(145deg, #141720 0%, #0d1016 100%);
  border: 1px solid var(--border-dark);
  box-shadow: 0 28px 65px -24px rgba(0, 0, 0, 0.75);
}

.novalis-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .novalis-grid {
    grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
    gap: 3rem;
  }
}

.novalis-pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-pill);
  background: rgba(255, 130, 96, 0.14);
  border: 1px solid rgba(255, 130, 96, 0.35);
  color: var(--accent-coral);
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.15rem;
}

.novalis-brand-heading {
  margin: 0 0 1.25rem;
}

.novalis-logo-main {
  width: min(100%, clamp(210px, 26vw, 310px));
  height: auto;
  object-fit: contain;
}

.novalis-desc {
  color: #cbd5e1;
  font-size: 1rem;
  margin: 0 0 1.4rem;
}

.novalis-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.85rem;
  display: grid;
  gap: 0.7rem;
}

.novalis-bullets li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.novalis-bullets svg {
  flex-shrink: 0;
  margin-top: 0.2rem;
  color: var(--accent-coral);
}

.novalis-bullets strong {
  color: #ffffff;
}

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

.nl-tabs {
  display: flex;
  gap: 0.45rem;
  overflow-x: auto;
  padding-bottom: 0.7rem;
  margin-bottom: 0.45rem;
  scrollbar-width: none;
}

.nl-tabs::-webkit-scrollbar {
  display: none;
}

.nl-tab {
  flex-shrink: 0;
  padding: 0.52rem 0.9rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.04);
  color: #d1d5db;
  transition: all 0.2s ease;
}

.nl-tab:hover {
  border-color: var(--border-dark-strong);
  color: #ffffff;
}

.nl-tab.is-active {
  background: var(--accent-coral);
  border-color: var(--accent-coral);
  color: var(--bg-obsidian);
}

.nl-window {
  border-radius: var(--radius-lg);
  background: #0d1117;
  border: 1px solid var(--border-dark);
  overflow: hidden;
  box-shadow: 0 22px 44px -18px rgba(0, 0, 0, 0.68);
}

.nl-window__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.72rem 1rem;
  background: #141923;
  border-bottom: 1px solid var(--border-dark);
}

.nl-window__dots {
  display: flex;
  align-items: center;
  gap: 0.42rem;
  min-width: 0;
}

.nl-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
}

.nl-dot--red { background: rgba(244, 63, 94, 0.85); }
.nl-dot--amber { background: rgba(251, 191, 36, 0.85); }
.nl-dot--green { background: rgba(52, 211, 153, 0.85); }

.nl-window__title {
  margin-left: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: #cbd5e1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nl-expand-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  padding: 0.3rem 0.62rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border-dark);
  color: #e2e8f0;
  font-size: 0.68rem;
  font-weight: 600;
  flex-shrink: 0;
}

.nl-expand-btn:hover {
  border-color: var(--accent-coral);
  background: rgba(255, 130, 96, 0.14);
}

.nl-shot-wrap {
  position: relative;
  aspect-ratio: 16 / 9.2;
  background: #0a0d13;
  overflow: hidden;
  cursor: zoom-in;
}

.nl-shot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.22s ease, transform 0.45s var(--ease-out);
}

.nl-shot-wrap:hover .nl-shot-img {
  transform: scale(1.015);
}

.nl-shot-wrap.is-fading .nl-shot-img {
  opacity: 0.35;
}

.nl-shot-zoom {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  padding: 0.38rem 0.78rem;
  border-radius: var(--radius-pill);
  background: rgba(7, 8, 10, 0.8);
  border: 1px solid var(--border-dark-strong);
  color: #f4f5f7;
  font-size: 0.72rem;
  font-weight: 600;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.nl-shot-wrap:hover .nl-shot-zoom,
.nl-shot-wrap:focus-visible .nl-shot-zoom {
  opacity: 1;
  transform: translateY(0);
}

.nl-window__footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  padding: 0.8rem 1.1rem;
  background: #0a0d13;
  border-top: 1px solid var(--border-dark);
}

.nl-window__caption {
  font-size: 0.78rem;
  color: #9ca3af;
  margin: 0;
  flex: 1 1 220px;
}

.nl-nav-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  flex-shrink: 0;
}

.nl-counter {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--accent-coral);
  margin-right: 0.25rem;
}

.nl-mini-btn {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  color: #e5e7eb;
  font-size: 1.05rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s ease, color 0.2s ease;
}

.nl-mini-btn:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
}

/* Modal Vista Ampliada Nova LIS */
.nl-dialog {
  width: min(1100px, calc(100% - 2rem));
  max-height: calc(100svh - 2.5rem);
  padding: 0;
  border: 1px solid var(--border-dark-strong);
  border-radius: var(--radius-xl);
  background: #0d1016;
  color: var(--text-light);
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.85);
  overflow: hidden;
}

.nl-dialog::backdrop {
  background: rgba(4, 5, 8, 0.86);
  backdrop-filter: blur(10px);
}

.nl-dialog__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.4rem;
  background: #131722;
  border-bottom: 1px solid var(--border-dark);
}

.nl-dialog__brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  min-width: 0;
}

.nl-dialog__logo {
  height: 32px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.nl-dialog__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #cbd5e1;
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.nl-dialog__close {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: 1px solid var(--border-dark);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.nl-dialog__close:hover {
  border-color: var(--accent-coral);
  color: var(--accent-coral);
}

.nl-dialog__body {
  padding: 1.25rem 1.4rem 1.4rem;
  overflow-y: auto;
  max-height: calc(100svh - 7rem);
}

.nl-modal-stage {
  border-radius: var(--radius-md);
  background: #07080a;
  border: 1px solid var(--border-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nl-modal-img {
  width: 100%;
  max-height: 66vh;
  object-fit: contain;
}

.nl-modal-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* ==========================================================================
   INDUSTRIAS — GRILLA COMPACTA SIN MUROS DE TEXTO (SECCIÓN CLARA)
   ========================================================================== */
.section-header-compact {
  max-width: 640px;
  margin-bottom: 3rem;
}

.section-header-compact p.section-lead {
  color: var(--text-muted-light);
}

.ind-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

@media (min-width: 720px) {
  .ind-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1060px) {
  .ind-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.ind-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  background: var(--bg-white);
  border: 1px solid var(--border-light);
  transition: transform 0.25s var(--ease-out), border-color 0.25s ease;
}

.ind-card:hover {
  transform: translateY(-3px);
  border-color: rgba(223, 68, 30, 0.45);
}

.ind-card--featured {
  background: var(--bg-obsidian);
  color: var(--text-light);
  border-color: transparent;
}

@media (min-width: 720px) {
  .ind-card--featured {
    grid-column: span 2;
  }
}

.ind-card__icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(223, 68, 30, 0.1);
  color: var(--accent-vermilion);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.ind-card--featured .ind-card__icon {
  background: rgba(56, 168, 245, 0.14);
}

.ind-card__title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0 0 0.45rem;
}

.ind-card__text {
  font-size: 0.92rem;
  color: var(--text-muted-light);
  margin: 0;
  line-height: 1.55;
}

.ind-card--featured .ind-card__text {
  color: #b4bcc8;
}

.ind-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  align-self: flex-start;
  background: none;
  border: none;
  padding: 0;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-vermilion);
}

.ind-card--featured .ind-card__link {
  color: var(--accent-coral);
}

.ind-card__link:hover {
  text-decoration: underline;
}

/* ==========================================================================
   CONTACTO SOBRIO + FOOTER MINIMALISTA
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 960px) {
  .contact-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 4rem;
  }
}

.contact-intro {
  color: var(--text-muted-dark);
  margin: 0 0 2rem;
}

.contact-intro strong {
  color: #ffffff;
}

.channel-list {
  display: grid;
  gap: 0.9rem;
}

.channel-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 1.1rem 1.2rem;
  border-radius: var(--radius-md);
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
  transition: border-color 0.25s ease;
}

.channel-card:hover {
  border-color: rgba(255, 130, 96, 0.55);
}

.channel-card__link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  flex: 1;
  min-width: 0;
}

.channel-card__icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-card__icon--wa {
  background: rgba(16, 185, 129, 0.14);
  color: #34d399;
}

.channel-card__icon--mail {
  background: var(--accent-soft);
  color: var(--accent-coral);
}

.channel-card__label {
  font-size: 0.75rem;
  color: var(--text-muted-dark);
}

.channel-card__value {
  font-weight: 600;
  color: #ffffff;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.copy-btn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: transparent;
  border: 1px solid transparent;
  color: #9ca3af;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.copy-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
}

.contact-form {
  position: relative;
  padding: clamp(1.5rem, 3.5vw, 2.35rem);
  border-radius: var(--radius-xl);
  background: var(--bg-elevated);
  border: 1px solid var(--border-dark);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.1rem;
  margin-bottom: 1.1rem;
}

@media (min-width: 640px) {
  .form-row--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.field__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: 0.4rem;
}

.field__input {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-obsidian);
  border: 1px solid var(--border-dark);
  color: #ffffff;
  font-size: 1rem;
}

.field__input::placeholder {
  color: #6b7280;
}

.field__input:focus {
  outline: none;
  border-color: var(--accent-coral);
  box-shadow: 0 0 0 3px rgba(255, 130, 96, 0.16);
}

.field__input.has-error {
  border-color: #f87171;
}

.field__error {
  display: block;
  min-height: 1rem;
  font-size: 0.75rem;
  color: #fca5a5;
  margin-top: 0.25rem;
}

.field__textarea {
  resize: vertical;
  min-height: 110px;
}

.hp-trap {
  position: absolute;
  left: -9999px;
  opacity: 0;
  pointer-events: none;
}

.form-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.2rem;
}

.form-note {
  font-size: 0.78rem;
  color: var(--text-subtle-dark);
  margin: 0;
}

.form-status {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  font-size: 0.86rem;
  font-weight: 500;
  display: none;
}

.form-status.is-visible {
  display: block;
}

.form-status--ok {
  background: rgba(16, 185, 129, 0.14);
  border: 1px solid rgba(52, 211, 153, 0.35);
  color: #a7f3d0;
}

.form-status--err {
  background: rgba(239, 68, 68, 0.14);
  border: 1px solid rgba(248, 113, 113, 0.35);
  color: #fecaca;
}

.site-footer {
  background: var(--bg-obsidian);
  border-top: 1px solid var(--border-dark);
  padding: 2.5rem 0;
}

.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

@media (min-width: 820px) {
  .site-footer__inner {
    flex-direction: row;
  }
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  font-size: 0.86rem;
  color: var(--text-muted-dark);
}

.footer-links a:hover {
  color: #ffffff;
}

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

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-subtle-dark);
  margin: 0;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP + TOAST + REVEAL
   ========================================================================== */
.wa-float {
  position: fixed;
  bottom: 1.35rem;
  right: 1.35rem;
  z-index: 90;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
  transition: transform 0.25s var(--ease-out), background-color 0.2s ease;
}

.wa-float:hover {
  transform: scale(1.06);
  background: #16a34a;
}

.toast {
  position: fixed;
  bottom: 5.4rem;
  right: 1.35rem;
  z-index: 110;
  max-width: min(360px, calc(100vw - 2rem));
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-md);
  background: #141720;
  border: 1px solid rgba(255, 130, 96, 0.45);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 500;
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.6);
  transform: translateY(130%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.3s ease;
}

.toast.is-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.toast__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #34d399;
  flex-shrink: 0;
}

.toast.is-error .toast__dot {
  background: #f87171;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   AJUSTES RESPONSIVE TÁCTILES Y MÓVILES
   ========================================================================== */
@media (hover: none) {
  .nl-shot-zoom {
    opacity: 0.92;
    transform: none;
  }
}

@media (max-width: 639px) {
  :root {
    --nav-height: 66px;
  }

  .brand-logo {
    height: 28px;
  }

  .hero {
    padding: calc(var(--nav-height) + 1.75rem) 0 4.25rem;
  }

  .hero__brand-logo {
    margin-bottom: 1.25rem;
  }

  .hero__ctas {
    width: 100%;
    max-width: 320px;
  }

  .hero__ctas .btn,
  .novalis-actions .btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .hero__meta {
    font-size: 0.68rem;
    gap: 0.45rem 0.75rem;
  }

  .novalis-frame {
    padding: 1.15rem;
    border-radius: var(--radius-lg);
  }

  .nl-mini-btn {
    width: 38px;
    height: 38px;
  }

  .nl-dialog {
    width: calc(100% - 1rem);
    max-height: calc(100svh - 1rem);
    border-radius: var(--radius-md);
  }

  .nl-dialog__head,
  .nl-dialog__body {
    padding: 0.85rem;
  }

  .nl-dialog__logo {
    height: 26px;
  }

  .nl-modal-img {
    max-height: 54vh;
  }

  .cap-card,
  .ind-card,
  .contact-form {
    padding: 1.3rem;
  }

  .wa-float {
    width: 48px;
    height: 48px;
    bottom: max(1rem, env(safe-area-inset-bottom));
    right: 1rem;
  }

  .toast {
    left: 1rem;
    right: 1rem;
    bottom: 4.75rem;
    max-width: none;
  }

  .site-footer {
    padding-bottom: 5rem;
  }
}

@media (max-width: 539px) {
  .form-footer .btn {
    width: 100%;
  }
}

@media (max-width: 439px) {
  .nl-dot {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .btn,
  .cap-card,
  .ind-card,
  .wa-float {
    transition: none;
  }
}
