/* =========================================================
   LLAMIA LANDING — CSS COMPLETO ARREGLADO + EFECTOS PREMIUM
   Estructura: index.html + assets/css/styles.css + assets/js/main.js
========================================================= */

:root {
  --bg: #041113;
  --bg-2: #061a1d;
  --bg-3: #08272b;
  --panel: rgba(255, 255, 255, 0.065);
  --panel-2: rgba(255, 255, 255, 0.105);
  --line: rgba(255, 255, 255, 0.11);
  --line-strong: rgba(30, 212, 222, 0.32);
  --text: #f4ffff;
  --muted: rgba(230, 250, 250, 0.72);
  --muted-2: rgba(230, 250, 250, 0.54);
  --teal: #139da6;
  --teal-light: #1ed4de;
  --cyan-soft: #9ffaff;
  --cyan: #35f0f8;
  --dark-cyan: #06282d;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
  --shadow-soft: 0 18px 42px rgba(0, 0, 0, 0.24);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1180px;
  --ease: cubic-bezier(.2,.8,.2,1);
  --font-head: "Sora", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(30, 212, 222, 0.12), transparent 34%),
    radial-gradient(circle at 90% 10%, rgba(19, 157, 166, 0.10), transparent 32%),
    linear-gradient(180deg, #041113 0%, #061618 42%, #041113 100%);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, black 0%, transparent 80%);
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(circle at var(--mx, 50%) var(--my, 20%), rgba(30, 212, 222, 0.11), transparent 28%);
  transition: background-position .2s linear;
}

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

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

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

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

section {
  position: relative;
  padding: clamp(72px, 8vw, 126px) 0;
}

h1, h2, h3, strong, .logo, .btn, .btn-send {
  font-family: var(--font-head);
}

h1, h2, h3, p {
  margin-top: 0;
}

mark {
  color: inherit;
  background: none;
  padding: 0;
}

::selection {
  color: #021416;
  background: var(--teal-light);
}

/* ========================= NAV ========================= */

#nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  padding: 18px 0;
  transition: padding .28s var(--ease), background .28s var(--ease), border-color .28s var(--ease), backdrop-filter .28s var(--ease);
}

#nav.nav-scrolled {
  padding: 10px 0;
  background: rgba(3, 18, 20, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.095);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.28);
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 212, 222, 0.26);
  border-radius: 15px;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.24), transparent 34%),
    linear-gradient(135deg, var(--teal-light), var(--teal));
  box-shadow: 0 0 34px rgba(30, 212, 222, 0.22);
}

.logo-mark svg {
  width: 20px;
  height: 20px;
}

/* ========================= BUTTONS ========================= */

.btn,
.btn-send {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  overflow: hidden;
  min-height: 48px;
  padding: 13px 22px;
  border-radius: 999px;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.12);
  transition: transform .24s var(--ease), box-shadow .24s var(--ease), border-color .24s var(--ease), filter .24s var(--ease);
}

.btn::after,
.btn-send::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,.75) 42%, transparent 60%);
  transform: translateX(-125%);
  transition: transform .7s var(--ease);
}

.btn:hover,
.btn-send:hover {
  transform: translateY(-3px);
}

.btn:hover::after,
.btn-send:hover::before {
  transform: translateX(125%);
}

.btn-solid {
  color: #021416;
  background: linear-gradient(135deg, var(--teal-light), #51f7ff 44%, var(--teal));
  box-shadow: 0 18px 42px rgba(30, 212, 222, 0.28);
}

.btn-solid:hover {
  box-shadow: 0 26px 62px rgba(30, 212, 222, 0.46);
  filter: brightness(1.04);
}

.btn-outline {
  color: rgba(246, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(30, 212, 222, 0.22);
  backdrop-filter: blur(10px);
}

.btn-outline:hover {
  border-color: rgba(30, 212, 222, 0.46);
  box-shadow: 0 18px 42px rgba(0,0,0,.26), 0 0 28px rgba(30,212,222,.12);
}

.ico {
  width: 15px;
  height: 15px;
}

/* ========================= REVEAL EFFECTS ========================= */

.rv {
  opacity: 0;
  transform: translate3d(0, 28px, 0) scale(.98);
  filter: blur(4px);
  transition:
    opacity .62s var(--ease),
    transform .62s var(--ease),
    filter .48s var(--ease);
  transition-delay: var(--delay, 0ms);
  will-change: opacity, transform, filter;
}

.rv.in-view {
  opacity: 1;
  transform: translate3d(0, 0, 0) scale(1);
  filter: blur(0);
}

.d1 { --delay: 90ms; }
.d2 { --delay: 180ms; }
.d3 { --delay: 270ms; }
.d4 { --delay: 360ms; }

/* ========================= HERO ========================= */

#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 138px 0 94px;
  overflow: hidden;
  background:
    radial-gradient(circle at 18% 16%, rgba(30, 212, 222, .18), transparent 34%),
    radial-gradient(circle at 83% 22%, rgba(19, 157, 166, .18), transparent 32%),
    linear-gradient(145deg, #041113 0%, #071e21 45%, #041113 100%);
}

.hero-grid {
  position: absolute;
  inset: 0;
  opacity: .4;
  background:
    linear-gradient(rgba(30, 212, 222, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(30, 212, 222, 0.045) 1px, transparent 1px);
  background-size: 70px 70px;
  mask-image: radial-gradient(circle at 50% 35%, black 0%, transparent 72%);
  animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
  from { background-position: 0 0; }
  to { background-position: 140px 70px; }
}

.hero-orb {
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(52px);
  opacity: .74;
  mix-blend-mode: screen;
}

.hero-orb-a {
  width: 430px;
  height: 430px;
  left: -145px;
  top: 14%;
  background: rgba(30, 212, 222, .22);
  animation: orbFloat 8s ease-in-out infinite alternate;
}

.hero-orb-b {
  width: 490px;
  height: 490px;
  right: -170px;
  bottom: 10%;
  background: rgba(19, 157, 166, .26);
  animation: orbFloat 10s ease-in-out infinite alternate-reverse;
}

@keyframes orbFloat {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(34px, -28px, 0) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 440px);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.hero-text {
  min-width: 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  width: fit-content;
  margin-bottom: 18px;
  padding: 7px 12px;
  border: 1px solid rgba(30, 212, 222, .24);
  border-radius: 999px;
  color: rgba(200, 255, 255, .88);
  background: rgba(30, 212, 222, .07);
  font-family: var(--font-head);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .045em;
  text-transform: uppercase;
  box-shadow: 0 0 24px rgba(30, 212, 222, .08);
}

.pip {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal-light);
  box-shadow: 0 0 16px var(--teal-light);
  animation: pipPulse 1.45s ease-in-out infinite;
}

@keyframes pipPulse {
  0%, 100% { transform: scale(.85); opacity: .58; }
  50% { transform: scale(1.22); opacity: 1; }
}

h1 {
  margin-bottom: 22px;
  color: #fff;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1em;
  max-width: 780px;
  font-size: clamp(2.8rem, 4vw, 3.8rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
  font-weight: 800;
}

.hero-title > span {
  display: block;
}

.hero-highlight {
  display: inline-block;
  width: fit-content;
  white-space: nowrap;
  padding: 0.07em 0.22em 0.12em;
  border-radius: 0.18em;
  background: linear-gradient(135deg, #17cdd6 0%, #1ed4de 55%, #15c5ce 100%);
  color: #021416;
  box-shadow: 0 6px 22px rgba(30, 212, 222, 0.18);
  font-weight: inherit;
  font-style: normal;
}

.nowrap {
  white-space: nowrap;
}

.lead {
  max-width: 680px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: clamp(1.08rem, 1.55vw, 1.28rem);
  line-height: 1.72;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-bottom: 28px;
}

.hero-proof {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  max-width: 680px;
}

.proof-item {
  position: relative;
  overflow: hidden;
  padding: 16px 16px 15px;
  border: 1px solid rgba(255, 255, 255, .105);
  border-radius: 20px;
  background: rgba(255, 255, 255, .055);
  box-shadow: 0 16px 36px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.proof-item::before {
  content: "";
  position: absolute;
  inset: -1px;
  opacity: 0;
  background: linear-gradient(135deg, rgba(30, 212, 222, .22), transparent 56%);
  transition: opacity .25s var(--ease);
}

.proof-item:hover {
  transform: translateY(-5px);
  border-color: rgba(30, 212, 222, .34);
  background: rgba(255,255,255,.075);
  box-shadow: 0 22px 48px rgba(0,0,0,.24);
}

.proof-item:hover::before { opacity: 1; }

.proof-item strong,
.proof-item span {
  position: relative;
  z-index: 1;
  display: block;
}

.proof-item strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: -0.04em;
}

.proof-item span {
  margin-top: 4px;
  color: var(--muted-2);
  font-size: .82rem;
}

/* Hero panel */

.hero-panel {
  position: relative;
  perspective: 1100px;
}

.dash {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(30, 212, 222, .18);
  border-radius: 30px;
  background:
    radial-gradient(circle at 25% 0%, rgba(30,212,222,.12), transparent 32%),
    linear-gradient(180deg, rgba(255,255,255,.085), rgba(255,255,255,.03)),
    rgba(3, 22, 24, .88);
  box-shadow:
    0 34px 90px rgba(0,0,0,.44),
    0 0 60px rgba(30,212,222,.10),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(16px);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform .28s var(--ease), box-shadow .28s var(--ease), border-color .28s var(--ease);
}

.hero-panel:hover .dash,
.hero-panel.is-active .dash {
  border-color: rgba(30,212,222,.48);
  box-shadow:
    0 46px 120px rgba(0,0,0,.54),
    0 0 110px rgba(30,212,222,.2),
    inset 0 1px 0 rgba(255,255,255,.18);
}

.dash::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(115deg, transparent 0%, rgba(30,212,222,.18) 42%, transparent 60%);
  transform: translateX(-130%);
  animation: panelSweep 4.9s ease-in-out infinite;
}

@keyframes panelSweep {
  0%, 48% { transform: translateX(-130%); }
  70%, 100% { transform: translateX(130%); }
}

.dash-bar {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px 18px;
  border-bottom: 1px solid rgba(255,255,255,.09);
}

.dash-dots {
  display: flex;
  gap: 6px;
}

.dash-dots span {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255,255,255,.25);
}

.dash-dots span:nth-child(1) { background: #ff6b6b; }
.dash-dots span:nth-child(2) { background: #ffd166; }
.dash-dots span:nth-child(3) { background: var(--teal-light); }

.dash-title {
  color: rgba(240,255,255,.72);
  font-size: .82rem;
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--cyan-soft);
  background: rgba(30,212,222,.08);
  border: 1px solid rgba(30,212,222,.18);
  font-size: .72rem;
  font-weight: 800;
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--teal-light);
  box-shadow: 0 0 18px var(--teal-light);
  animation: livePulse 1.2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { transform: scale(.8); opacity: .65; }
  50% { transform: scale(1.28); opacity: 1; }
}

.dash-body {
  position: relative;
  z-index: 1;
  padding: 22px;
}

.call-card {
  padding: 18px;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 24px;
  background: rgba(255,255,255,.065);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 18px 44px rgba(0,0,0,.24);
}

.call-top {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 12px;
  align-items: center;
}

.caller-avatar {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--teal-light), var(--teal));
  box-shadow: 0 0 34px rgba(30,212,222,.24);
}

.caller-avatar svg { width: 22px; height: 22px; }

.caller-meta .name {
  color: #fff;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.03em;
}

.caller-meta .number {
  margin-top: 2px;
  color: var(--muted-2);
  font-size: .86rem;
}

.call-badge {
  padding: 7px 10px;
  border-radius: 999px;
  color: #d8ffff;
  border: 1px solid rgba(30,212,222,.24);
  background: rgba(30,212,222,.08);
  font-size: .74rem;
  font-weight: 800;
}

.wave {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 88px;
  margin-top: 14px;
  padding-right: 70px;
}

.wave b {
  width: 9px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--cyan), var(--teal));
  box-shadow: 0 0 20px rgba(30,212,222,.32);
  animation: waveBars 1.15s ease-in-out infinite;
}

.wave b:nth-child(1) { height: 26px; animation-delay: 0s; }
.wave b:nth-child(2) { height: 48px; animation-delay: .1s; }
.wave b:nth-child(3) { height: 34px; animation-delay: .2s; }
.wave b:nth-child(4) { height: 72px; animation-delay: .3s; }
.wave b:nth-child(5) { height: 44px; animation-delay: .4s; }
.wave b:nth-child(6) { height: 60px; animation-delay: .5s; }
.wave b:nth-child(7) { height: 30px; animation-delay: .6s; }
.wave b:nth-child(8) { height: 68px; animation-delay: .7s; }
.wave b:nth-child(9) { height: 40px; animation-delay: .8s; }
.wave b:nth-child(10) { height: 52px; animation-delay: .9s; }

@keyframes waveBars {
  0%, 100% { transform: scaleY(.58); opacity: .58; }
  50% { transform: scaleY(1.12); opacity: 1; }
}

.timer {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan-soft);
  font-family: var(--font-head);
  font-size: .86rem;
  font-weight: 800;
}

.pipeline {
  position: relative;
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.pipeline::before {
  content: none;
}

@keyframes pipelineGlow {
  0%, 100% { opacity: .45; }
  50% { opacity: 1; }
}

.pipe-step {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 38px 1fr 38px;
  gap: 12px;
  align-items: center;
  min-height: 58px;
  padding: 10px 14px;
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 18px;
  background: rgba(255,255,255,.035);
}

.pipe-step:not(.done) {
  opacity: 0.52;
}

.pipe-step.done {
  border-color: rgba(30,212,222,.15);
  background: linear-gradient(90deg, rgba(30,212,222,.07), rgba(255,255,255,.03));
}

.pipe-icon,
.pipe-check {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(255,255,255,.055);
}

.pipe-icon svg,
.pipe-check svg { width: 18px; height: 18px; }

.pipe-label {
  color: rgba(244,255,255,.82);
  font-size: .84rem;
}

.chip {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 210px;
  padding: 12px 14px;
  border: 1px solid rgba(30,212,222,.24);
  border-radius: 18px;
  background: rgba(3, 22, 24, .76);
  box-shadow: 0 20px 50px rgba(0,0,0,.3), 0 0 34px rgba(30,212,222,.14);
  backdrop-filter: blur(14px);
  animation: chipFloat 4.2s ease-in-out infinite;
}

.chip-a { top: -68px; left: 16px; }
.chip-b { right: 18px; bottom: -22px; animation-delay: -1.6s; }

@keyframes chipFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.ci {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: rgba(30,212,222,.11);
}

.ci svg { width: 20px; height: 20px; }

.chip strong {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: .82rem;
  letter-spacing: -0.02em;
}

.chip small {
  display: block;
  margin-top: 1px;
  color: var(--muted-2);
  font-size: .72rem;
}

/* ========================= INTRO / COMMON ========================= */

.section-intro {
  max-width: 790px;
  margin: 0 auto 38px;
  text-align: center;
}

.section-intro h2,
.problem-text h2 {
  margin-bottom: 14px;
  color: #fff;
  font-size: clamp(2.1rem, 4.6vw, 4.3rem);
  line-height: .98;
  letter-spacing: -0.065em;
}

.section-intro p,
.problem-text p {
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.75;
}

/* ========================= PROBLEM ========================= */

#problem {
  background:
    radial-gradient(circle at 80% 12%, rgba(30,212,222,.10), transparent 30%),
    linear-gradient(180deg, #061618 0%, #082024 100%);
}

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(420px, 1.1fr);
  gap: clamp(26px, 5vw, 60px);
  align-items: center;
}

.problem-text .btn { margin-top: 10px; }

.problem-cards {
  display: grid;
  gap: 14px;
}

.problem-card,
.sol-card,
.sector,
.how-step,
.faq-item {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.105);
  background:
    radial-gradient(circle at 12% 0%, rgba(30,212,222,.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease), background .28s var(--ease);
}

.problem-card::before,
.sol-card::before,
.sector::before,
.how-step::before,
.faq-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(30,212,222,.18), transparent 45%);
  transition: opacity .28s var(--ease);
}

.problem-card:hover,
.sol-card:hover,
.sector:hover,
.how-step:hover,
.faq-item:hover {
  transform: translateY(-7px);
  border-color: rgba(30,212,222,.38);
  box-shadow: 0 28px 66px rgba(0,0,0,.34), 0 0 42px rgba(30,212,222,.12);
}

.problem-card:hover::before,
.sol-card:hover::before,
.sector:hover::before,
.how-step:hover::before,
.faq-item:hover::before { opacity: 1; }

.problem-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
}

.pc-icon,
.sol-icon,
.sector-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  color: var(--cyan-soft);
  background: rgba(30,212,222,.11);
  border: 1px solid rgba(30,212,222,.18);
  box-shadow: 0 0 32px rgba(30,212,222,.12);
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}

.problem-card:hover .pc-icon,
.sol-card:hover .sol-icon,
.sector:hover .sector-icon {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 44px rgba(30,212,222,.22);
}

.pc-icon svg,
.sol-icon svg,
.sector-icon svg {
  width: 23px;
  height: 23px;
  stroke: currentColor;
}

.pc-body { position: relative; z-index: 1; }

.pc-body strong {
  display: block;
  margin-bottom: 5px;
  color: #fff;
  font-size: 1.02rem;
  letter-spacing: -0.025em;
}

.pc-body p {
  margin: 0;
  color: var(--muted-2);
  font-size: .94rem;
  line-height: 1.6;
}

/* ========================= SOLUTION ========================= */

#solution {
  background: #041113;
}

.solution-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 14px;
}

.sol-card {
  min-height: 300px;
  padding: 22px;
  border-radius: 26px;
}

.sol-num {
  position: absolute;
  right: 18px;
  top: 16px;
  color: rgba(255,255,255,.12);
  font-family: var(--font-head);
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -0.08em;
}

.sol-icon { margin-bottom: 52px; }

.sol-card h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: #fff;
  font-size: 1.18rem;
  line-height: 1.12;
  letter-spacing: -0.04em;
}

.sol-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted-2);
  font-size: .93rem;
  line-height: 1.65;
}

/* ========================= USE CASES ========================= */

#usecases {
  background:
    radial-gradient(circle at 12% 20%, rgba(19,157,166,.14), transparent 30%),
    linear-gradient(180deg, #06191b 0%, #041113 100%);
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.sector {
  min-height: 174px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border-radius: 24px;
}

.sector strong,
.sector span {
  position: relative;
  z-index: 1;
}

.sector strong {
  margin-top: 24px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.02rem;
  letter-spacing: -0.035em;
}

.sector span {
  margin-top: 6px;
  color: var(--muted-2);
  font-size: .88rem;
  line-height: 1.45;
}

/* ========================= NOT-IVR ========================= */

#not-ivr {
  background:
    radial-gradient(circle at 72% 18%, rgba(19,157,166,.12), transparent 28%),
    linear-gradient(180deg, #041113 0%, #061618 100%);
}

.not-ivr-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.not-ivr-item {
  position: relative;
  overflow: hidden;
  padding: 26px;
  border: 1px solid rgba(255,255,255,.105);
  border-radius: 24px;
  background:
    radial-gradient(circle at 12% 0%, rgba(30,212,222,.10), transparent 28%),
    linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.035));
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(12px);
  transition: transform .28s var(--ease), border-color .28s var(--ease), box-shadow .28s var(--ease);
}

.not-ivr-item::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  background: linear-gradient(130deg, rgba(30,212,222,.18), transparent 45%);
  transition: opacity .28s var(--ease);
}

.not-ivr-item:hover {
  transform: translateY(-7px);
  border-color: rgba(30,212,222,.38);
  box-shadow: 0 28px 66px rgba(0,0,0,.34), 0 0 42px rgba(30,212,222,.12);
}

.not-ivr-item:hover::before { opacity: 1; }

.not-ivr-icon {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  color: var(--cyan-soft);
  background: rgba(30,212,222,.11);
  border: 1px solid rgba(30,212,222,.18);
  box-shadow: 0 0 32px rgba(30,212,222,.12);
  margin-bottom: 20px;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}

.not-ivr-item:hover .not-ivr-icon {
  transform: scale(1.06) rotate(-2deg);
  box-shadow: 0 0 44px rgba(30,212,222,.22);
}

.not-ivr-icon svg { width: 23px; height: 23px; stroke: currentColor; }

.not-ivr-item h3 {
  position: relative;
  z-index: 1;
  margin-bottom: 10px;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.08rem;
  letter-spacing: -0.035em;
}

.not-ivr-item p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: var(--muted-2);
  font-size: .92rem;
  line-height: 1.65;
}

@media (max-width: 760px) {
  .not-ivr-list { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .not-ivr-list { grid-template-columns: 1fr; }
  .not-ivr-item { padding: 20px; }
}

@media (max-width: 480px) {
  .not-ivr-item { padding: 15px; }
}

/* ========================= HOW ========================= */

#how {
  padding-top: clamp(96px, 10vw, 148px);
  background:
    radial-gradient(circle at 18% 0%, rgba(30,212,222,.10), transparent 32%),
    radial-gradient(circle at 84% 90%, rgba(19,157,166,.08), transparent 26%),
    linear-gradient(180deg, #071d21 0%, #041b1e 40%, #041113 100%);
}

#how::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(700px, 72%);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(30,212,222,.26), transparent);
  pointer-events: none;
}

.how-wrap {
  position: relative;
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.how-line {
  position: absolute;
  left: 33px;
  top: 34px;
  bottom: 34px;
  width: 2px;
  background: linear-gradient(180deg, rgba(30,212,222,.8), rgba(30,212,222,.06));
  box-shadow: 0 0 22px rgba(30,212,222,.32);
}

.how-step {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border-radius: 24px;
}

.how-n {
  position: relative;
  z-index: 2;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  color: #021416;
  background: linear-gradient(135deg, var(--cyan), var(--teal-light));
  box-shadow: 0 0 36px rgba(30,212,222,.22);
  font-family: var(--font-head);
  font-weight: 900;
  transition: transform .28s var(--ease), box-shadow .28s var(--ease);
}

.how-step:hover .how-n {
  transform: scale(1.1);
  box-shadow: 0 0 52px rgba(30,212,222,.48);
}

.how-body { position: relative; z-index: 1; }

.how-body h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.16rem;
  letter-spacing: -0.035em;
}

.how-body p {
  margin: 0;
  color: var(--muted-2);
  font-size: .95rem;
  line-height: 1.65;
}

/* ========================= FAQ ========================= */

#faq {
  background:
    radial-gradient(circle at 80% 15%, rgba(30,212,222,.10), transparent 30%),
    linear-gradient(180deg, #06191b 0%, #061618 100%);
}

.faq-list {
  max-width: 920px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: 22px;
}

.faq-q {
  position: relative;
  z-index: 1;
  width: 100%;
  min-height: 70px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
  align-items: center;
  padding: 20px 22px;
  border: 0;
  color: #fff;
  background: transparent;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-head);
  font-weight: 800;
  letter-spacing: -0.025em;
}

.faq-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  color: var(--cyan-soft);
  background: rgba(30,212,222,.10);
  border: 1px solid rgba(30,212,222,.18);
  transition: transform .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

.faq-q:hover .faq-icon {
  box-shadow: 0 0 22px rgba(30,212,222,.34);
  border-color: rgba(30,212,222,.36);
}

.faq-icon svg { width: 17px; height: 17px; stroke: currentColor; }

.faq-q[aria-expanded="true"] .faq-icon {
  transform: rotate(45deg);
  background: rgba(30,212,222,.18);
}

.faq-a {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .35s var(--ease);
}

.faq-item.open .faq-a {
  grid-template-rows: 1fr;
}

.faq-a > p {
  overflow: hidden;
  margin: 0;
  padding: 0 22px;
  color: var(--muted);
  line-height: 1.68;
  transition: padding .35s var(--ease);
}

.faq-item.open .faq-a > p {
  padding: 0 22px 22px;
}

/* ========================= CTA / FORM PREMIUM ========================= */

#cta {
  position: relative;
  overflow: hidden;
  padding: clamp(78px, 9vw, 132px) 0;
  background:
    radial-gradient(circle at 15% 20%, rgba(30, 212, 222, 0.20), transparent 32%),
    radial-gradient(circle at 85% 12%, rgba(19, 157, 166, 0.22), transparent 35%),
    radial-gradient(circle at 50% 100%, rgba(30, 212, 222, 0.12), transparent 38%),
    linear-gradient(180deg, #041516 0%, #071f22 52%, #041315 100%);
}

#cta::before,
#cta::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  filter: blur(52px);
  opacity: .55;
  pointer-events: none;
}

#cta::before {
  width: 360px;
  height: 360px;
  left: -140px;
  top: 10%;
  background: rgba(30, 212, 222, .22);
  animation: ctaGlowMove 8s ease-in-out infinite alternate;
}

#cta::after {
  width: 420px;
  height: 420px;
  right: -160px;
  bottom: 8%;
  background: rgba(19, 157, 166, .28);
  animation: ctaGlowMove 9s ease-in-out infinite alternate-reverse;
}

@keyframes ctaGlowMove {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(28px, -22px, 0) scale(1.08); }
}

#cta .cta-wrap {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: clamp(26px, 4vw, 56px);
  align-items: stretch;
  padding: clamp(24px, 4vw, 52px);
  border: 1px solid rgba(30, 212, 222, .24);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255,255,255,.085), rgba(255,255,255,.035)),
    rgba(3, 22, 24, .72);
  box-shadow:
    0 34px 90px rgba(0,0,0,.42),
    inset 0 1px 0 rgba(255,255,255,.12);
  backdrop-filter: blur(18px);
  overflow: hidden;
}

#cta .cta-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(30, 212, 222, .12) 38%, transparent 68%);
  transform: translateX(-120%);
  animation: ctaPanelShine 7s ease-in-out infinite;
}

@keyframes ctaPanelShine {
  0%, 44% { transform: translateX(-120%); }
  68%, 100% { transform: translateX(120%); }
}

#cta .cta-left,
#cta .cta-right {
  position: relative;
  z-index: 2;
}

#cta .cta-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

#cta .cta-title {
  margin: 14px 0 14px;
  font-size: clamp(2.15rem, 5vw, 4.8rem);
  line-height: .94;
  letter-spacing: -0.065em;
  color: #fff;
}

#cta .cta-desc {
  max-width: 620px;
  margin: 0 0 28px;
  color: rgba(230,250,250,.78);
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  line-height: 1.65;
}

#cta .demo-preview {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: grid;
  gap: 12px;
}

#cta .demo-preview li {
  list-style: none !important;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  min-height: auto;
  padding: 15px 16px;
  border: 1px solid rgba(30, 212, 222, .18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(30, 212, 222, .10), rgba(255,255,255,.035)),
    rgba(255,255,255,.045);
  color: rgba(242,255,255,.88);
  font-size: .94rem;
  line-height: 1.45;
  box-shadow: 0 14px 34px rgba(0,0,0,.17);
  transition: transform .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease), box-shadow .25s var(--ease);
}

#cta .demo-preview li::marker { content: "" !important; }

#cta .demo-preview li:hover {
  transform: translateY(-3px);
  border-color: rgba(30, 212, 222, .42);
  background:
    linear-gradient(135deg, rgba(30, 212, 222, .16), rgba(255,255,255,.05)),
    rgba(255,255,255,.06);
  box-shadow: 0 18px 46px rgba(0,0,0,.26);
}

#cta .demo-preview .chk {
  width: 24px !important;
  height: 24px !important;
  min-width: 24px !important;
  max-width: 24px !important;
  min-height: 24px !important;
  max-height: 24px !important;
  flex: 0 0 24px !important;
  display: grid !important;
  place-items: center !important;
  border-radius: 999px;
  background: rgba(30, 212, 222, .12);
  border: 1px solid rgba(30, 212, 222, .36);
  box-shadow: 0 0 0 4px rgba(30,212,222,.055), 0 0 22px rgba(30,212,222,.18);
}

#cta .demo-preview .chk svg,
#cta .demo-preview svg {
  width: 12px !important;
  height: 10px !important;
  min-width: 12px !important;
  max-width: 12px !important;
  min-height: 10px !important;
  max-height: 10px !important;
  display: block !important;
  overflow: visible !important;
}

#cta .f-trust {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 18px 0 0;
  color: rgba(220,255,255,.82);
  font-size: .88rem;
  line-height: 1.4;
}

#cta .tdot {
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: rgba(30,212,222,.85);
  box-shadow: 0 0 14px rgba(30,212,222,.6);
}

#cta .cta-right {
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 26px;
  padding: clamp(20px, 3vw, 34px);
  background:
    radial-gradient(circle at 18% 0%, rgba(30,212,222,.13), transparent 34%),
    linear-gradient(180deg, rgba(255,255,255,.105), rgba(255,255,255,.045));
  box-shadow: 0 24px 70px rgba(0,0,0,.32), inset 0 1px 0 rgba(255,255,255,.12);
}

#cta .cta-form-head {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255,255,255,.095);
}

#cta .cta-form-head h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.28rem, 2vw, 1.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

#cta .cta-form-head p {
  margin: 0;
  color: rgba(220,255,255,.68);
  font-size: .95rem;
}

#cta .demo-form {
  display: grid;
  gap: 17px;
  margin: 0;
}

#cta .f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#cta .f-group {
  display: grid;
  gap: 7px;
  min-width: 0;
}

#cta .f-group label {
  color: rgba(242,255,255,.88);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .015em;
}

#cta .f-opt {
  color: rgba(210,245,245,.5);
  font-weight: 500;
}

#cta .demo-form input {
  width: 100%;
  min-height: 52px;
  border: 1px solid rgba(30, 212, 222, .22) !important;
  border-radius: 16px;
  padding: 0 16px;
  color: #fff;
  background-color: rgba(2, 18, 21, .72) !important;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 10px 26px rgba(0,0,0,.12);
  outline: none !important;
  font: inherit;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background-color .22s var(--ease);
}

#cta .demo-form input::placeholder { color: rgba(220,245,245,.38); }

#cta .demo-form input:hover {
  border-color: rgba(30, 212, 222, .42) !important;
  background-color: rgba(3, 25, 29, .86) !important;
}

#cta .demo-form input:focus,
#cta .demo-form input:focus-visible {
  border-color: rgba(30, 212, 222, .82) !important;
  box-shadow:
    0 0 0 4px rgba(30, 212, 222, .13),
    0 18px 40px rgba(0,0,0,.22),
    inset 0 1px 0 rgba(255,255,255,.08) !important;
  background-color: rgba(3, 28, 32, .95) !important;
}

#cta .f-hint {
  display: block;
  color: rgba(215,245,245,.52);
  font-size: .76rem;
  line-height: 1.35;
}

#cta .btn-send {
  width: 100%;
  min-height: 56px;
  margin-top: 4px;
  border: 0;
  border-radius: 18px;
  color: #021416;
  background: linear-gradient(135deg, #1ed4de 0%, #35f0f8 45%, #139da6 100%);
  box-shadow: 0 18px 44px rgba(30, 212, 222, .28), inset 0 1px 0 rgba(255,255,255,.45);
  font-size: .98rem;
}

#cta .btn-send:hover {
  filter: saturate(1.1) brightness(1.03);
  box-shadow: 0 26px 64px rgba(30, 212, 222, .44), inset 0 1px 0 rgba(255,255,255,.5);
}

#cta .btn-send:focus-visible {
  outline: 2px solid rgba(30,212,222,.82);
  outline-offset: 3px;
  box-shadow: 0 0 0 5px rgba(30,212,222,.16), 0 26px 64px rgba(30,212,222,.38), inset 0 1px 0 rgba(255,255,255,.5);
}

#cta .f-legal {
  margin: 0;
  color: rgba(215,240,240,.48);
  font-size: .74rem;
  line-height: 1.5;
}

#cta .form-msg {
  min-height: 18px;
  color: rgba(220,255,255,.78);
  font-size: .85rem;
}

/* ========================= CUSTOM SELECT ========================= */

.custom-select { position: relative; }

.custom-select-trigger {
  position: relative;
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 0 16px;
  border: 1px solid rgba(30, 212, 222, .22);
  border-radius: 16px;
  background: rgba(2, 18, 21, .72);
  color: rgba(220, 245, 245, .38);
  text-align: left;
  font: inherit;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.055), 0 10px 26px rgba(0,0,0,.12);
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease), background .22s var(--ease);
}

.custom-select-trigger.has-value { color: #fff; }

.custom-select-trigger:hover {
  border-color: rgba(30, 212, 222, .42);
  background: rgba(3, 25, 29, .86);
}

.custom-select-trigger:focus-visible {
  outline: none;
  border-color: rgba(30, 212, 222, .82);
  box-shadow: 0 0 0 4px rgba(30, 212, 222, .13), 0 18px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}

.custom-select.is-open .custom-select-trigger {
  color: #fff;
  border-color: rgba(30, 212, 222, .72);
  background: rgba(3, 28, 32, .95);
  box-shadow: 0 0 0 4px rgba(30, 212, 222, .12), 0 18px 40px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.08);
}

.custom-select.is-invalid .custom-select-trigger {
  border-color: rgba(255, 80, 80, .58);
  box-shadow: 0 0 0 4px rgba(255, 80, 80, .10);
}

.cst-value {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cst-arrow {
  flex-shrink: 0;
  color: var(--teal-light);
  transition: transform .22s var(--ease);
}

.custom-select.is-open .cst-arrow { transform: rotate(180deg); }

/* Menu — moved to <body> portal by JS so it escapes backdrop-filter + overflow:hidden on .cta-wrap */
.custom-select-menu {
  display: none;
  position: fixed;
  z-index: 9999;
  padding: 6px;
  border: 1px solid rgba(30, 212, 222, .26);
  border-radius: 16px;
  background: rgba(3, 18, 22, .98);
  box-shadow: 0 24px 64px rgba(0,0,0,.58), 0 0 0 1px rgba(30,212,222,.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow-y: auto;
  max-height: 280px;
}

.cso {
  display: flex;
  align-items: center;
  width: 100%;
  padding: 11px 14px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: rgba(230,250,250,.80);
  font: inherit;
  font-size: .92rem;
  text-align: left;
  cursor: pointer;
  transition: background .15s var(--ease), color .15s var(--ease);
}

.cso:hover,
.cso:focus-visible {
  background: rgba(30,212,222,.10);
  color: #fff;
  outline: none;
}

.cso[aria-selected="true"] {
  background: rgba(30,212,222,.14);
  color: #fff;
  font-weight: 600;
}

.cso[aria-selected="true"]::after {
  content: "";
  display: block;
  margin-left: auto;
  flex-shrink: 0;
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--teal-light);
  box-shadow: 0 0 10px var(--teal-light);
}

/* Conditional "otro sector" group */
#other-sector-group[hidden] { display: none; }

#other-sector-group:not([hidden]) {
  animation: fadeSlideIn .26s var(--ease) both;
}

@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ========================= FOOTER ========================= */

.site-footer {
  background: linear-gradient(180deg, #041315 0%, #020b0c 100%);
  border-top: 1px solid rgba(30, 212, 222, 0.12);
  padding: 48px 0 28px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 30px;
  flex-wrap: wrap;
}

.footer-logo-text {
  display: block;
  color: #fff;
  font-family: var(--font-head);
  font-size: 1.18rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.footer-tagline {
  color: rgba(230,250,250,.48);
  font-size: .84rem;
  line-height: 1.6;
  max-width: 360px;
  margin: 0;
}

.footer-contact a {
  color: rgba(210,255,255,.78);
  font-size: .88rem;
  text-decoration: none;
  transition: color .22s ease;
}

.footer-contact a:hover {
  color: var(--teal-light);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,.07);
  padding-top: 22px;
}

.footer-copy {
  color: rgba(230,250,250,.38);
  font-size: .79rem;
  line-height: 1.55;
  margin: 0;
  max-width: 560px;
}

.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  align-items: center;
}

.footer-legal-links a {
  color: rgba(230,255,255,.54);
  font-size: .79rem;
  text-decoration: none;
  transition: color .22s ease;
}

.footer-legal-links a:hover {
  color: var(--teal-light);
}

/* ========================= RESPONSIVE ========================= */

@media (max-width: 1100px) {
  .hero-inner,
  .problem-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    max-width: 680px;
    width: 100%;
    margin: 82px auto 32px;
  }

  .hero-title {
    font-size: clamp(2.8rem, 4.5vw, 3.6rem);
  }

  .solution-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .sectors-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  #cta .cta-wrap {
    grid-template-columns: 1fr;
    padding: clamp(22px, 5vw, 36px);
  }

  #cta .cta-title,
  #cta .cta-desc {
    max-width: 720px;
  }

  .footer-top {
    flex-direction: column;
    gap: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
}

@media (max-width: 900px) {
  .hero-title {
    font-size: clamp(2.6rem, 5.5vw, 3.4rem);
    line-height: 0.97;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(100% - 28px, var(--max));
  }

  #hero {
    padding: 116px 0 70px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 7.5vw, 3.2rem);
    line-height: 0.97;
  }

  .hero-highlight {
    padding: 0.07em 0.18em 0.1em;
  }

  .hero-proof {
    grid-template-columns: 1fr;
  }

  .chip {
    position: relative;
    inset: auto;
    min-width: 0;
    width: calc(50% - 8px);
    margin-top: 12px;
    display: inline-flex;
    vertical-align: top;
  }

  .chip-a,
  .chip-b {
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
  }

  .dash-body {
    padding: 16px;
  }

  .dash-bar {
    grid-template-columns: auto 1fr;
  }

  .dash-status {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .call-top {
    grid-template-columns: auto 1fr;
  }

  .call-badge {
    grid-column: 1 / -1;
    width: fit-content;
  }

  .wave {
    min-height: 70px;
    gap: 5px;
  }

  .wave b { width: 7px; }

  .solution-grid,
  .sectors-grid {
    grid-template-columns: 1fr 1fr;
  }

  .problem-card,
  .how-step {
    grid-template-columns: 1fr;
  }

  .how-line {
    display: none;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: clamp(2rem, 7vw, 2.8rem);
    line-height: 0.98;
    letter-spacing: -0.045em;
  }

  .hero-highlight {
    white-space: normal;
    padding: 0.07em 0.16em 0.1em;
  }

  section {
    padding: 64px 0;
  }

  #cta {
    padding: 64px 0;
  }

  #cta .cta-wrap {
    border-radius: 24px;
    padding: 22px;
    gap: 22px;
  }

  #cta .cta-title {
    font-size: clamp(2rem, 12vw, 3.1rem);
    letter-spacing: -0.055em;
  }

  #cta .demo-preview li {
    padding: 13px;
    gap: 10px;
    font-size: .86rem;
    border-radius: 16px;
  }

  #cta .demo-preview .chk {
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    max-width: 22px !important;
    min-height: 22px !important;
    max-height: 22px !important;
    flex-basis: 22px !important;
  }

  #cta .demo-preview .chk svg,
  #cta .demo-preview svg {
    width: 11px !important;
    height: 9px !important;
    max-width: 11px !important;
    max-height: 9px !important;
  }

  #cta .cta-right {
    padding: 18px;
    border-radius: 22px;
  }

  #cta .f-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  #cta .demo-form input {
    min-height: 50px;
    font-size: .94rem;
  }

  #cta .btn-send {
    min-height: 54px;
    font-size: .94rem;
  }

  .solution-grid,
  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .hero-btns .btn {
    width: 100%;
  }

  .chip {
    width: 100%;
  }
}

@media (max-width: 430px) {
  .hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.3rem);
    letter-spacing: -0.035em;
    line-height: 0.99;
    gap: 0.12em;
  }

  .hero-highlight {
    white-space: normal;
    border-radius: 0.22em;
  }
}

@media (max-width: 390px) {
  #cta .cta-wrap {
    padding: 18px;
  }

  #cta .demo-preview li {
    font-size: .82rem;
  }
}

/* ========================= MOBILE OPTIMIZATIONS ========================= */

/* ── ≤768px: transición tablet-móvil ───────────────── */
@media (max-width: 768px) {
  /* Nav más eficiente */
  #nav { padding: 12px 0; }

  /* Secciones: menos aire vertical */
  section { padding: clamp(46px, 7vw, 60px) 0; }

  /* Hero panel: reduce margen al ser stacked (chips ya son inline aquí) */
  .hero-panel { margin: 36px auto 16px; }

  /* Panel interno más compacto */
  .call-card { padding: 13px; }
  .pipeline { gap: 7px; margin-top: 10px; }
  .pipe-step { min-height: 48px; padding: 8px 12px; }

  /* Cards menos relleno */
  .problem-card { padding: 14px 16px; }
  .sol-card { padding: 18px; }
  .sector { padding: 16px; }
  .how-step { padding: 14px 16px; }
  .how-n { width: 42px; height: 42px; border-radius: 14px; font-size: .9rem; }
  .faq-q { min-height: 58px; padding: 14px 18px; }
  .section-intro { margin-bottom: 26px; }

  /* Chips inline más contenidos */
  .chip { padding: 10px 12px; }

  /* Orbs menos agresivos en mobile */
  .hero-orb { opacity: .50; }
}

/* ── ≤640px: mobile principal (complementa el bloque existente) ── */
@media (max-width: 640px) {
  #hero { padding: 106px 0 54px; }
  section { padding: 50px 0; }
  #cta { padding: 50px 0; }

  /* Hero proof: items más compactos */
  .proof-item { padding: 11px 12px 10px; }
  .proof-item strong { font-size: .9rem; }
  .proof-item span { font-size: .76rem; }

  /* Sol cards: sin altura mínima forzada en 1 col */
  .sol-card { min-height: unset; }
  .sol-num { font-size: 1.8rem; }
  .sol-icon { margin-bottom: 32px; }

  /* Sectors sin mínimo forzado */
  .sector { min-height: unset; }
  .sector strong { margin-top: 14px; }

  /* How: más compacto */
  .how-wrap { gap: 11px; }
  .how-step { padding: 12px 14px; gap: 13px; }
  .how-n { width: 38px; height: 38px; border-radius: 12px; font-size: .82rem; }
  .how-body h3 { font-size: 1.04rem; }
  .how-body p { font-size: .9rem; }

  /* FAQ: ítems más cortos en estado cerrado */
  .faq-list { gap: 8px; }
  .faq-q { min-height: 52px; padding: 13px 16px; }
  .faq-icon { width: 30px; height: 30px; border-radius: 11px; }
  .faq-icon svg { width: 14px; height: 14px; }
  .faq-a > p { font-size: .93rem; }

  /* CTA: formulario más compacto */
  #cta .cta-form-head { margin-bottom: 15px; padding-bottom: 13px; }
  #cta .demo-form { gap: 13px; }
  #cta .demo-preview { gap: 8px; }
  #cta .demo-preview li { padding: 11px 13px; }

  /* Footer legal: más limpio en pequeño */
  .footer-legal-links { gap: 8px 10px; }
  .footer-legal-links a { font-size: .77rem; }
  .footer-copy { font-size: .75rem; }
}

/* ── ≤480px: teléfonos pequeños ──────────────────────── */
@media (max-width: 480px) {
  section { padding: 46px 0; }
  #hero { padding: 98px 0 50px; }
  #cta { padding: 46px 0; }

  .sol-card { padding: 15px; }
  .sector { padding: 12px 14px; }
  .how-step { padding: 11px 13px; }
  .faq-q { padding: 12px 14px; gap: 12px; font-size: .94rem; }

  #cta .cta-wrap { padding: 16px; gap: 16px; }
  #cta .cta-right { padding: 14px; }
  #cta .demo-form { gap: 12px; }

  /* Footer legal en grid 2 cols en teléfonos pequeños */
  .footer-legal-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .hero-orb { opacity: .40; }
}

/* ========================= MOBILE: TÁCTIL + REFINADO ========================= */

/* ── ≤768px: touch feedback + aligerar efectos de escritorio ──── */
@media (max-width: 768px) {
  /* Desactivar tilt 3D del hero (hover-tilt no funciona en touch) */
  .dash {
    transform: none !important;
    transition: box-shadow .2s var(--ease), border-color .2s var(--ease);
  }
  .hero-panel { perspective: none; }

  /* El cursor gradient del ratón no aplica en touch → ocultar */
  body::after { opacity: 0; }

  /* Grid de fondo: más sutil en móvil (ahorra GPU) */
  body::before { opacity: .18; background-size: 88px 88px; }

  /* Mockup hero: wave más compacta */
  .wave { min-height: 60px; }
  .dash-body { padding: 15px; }

  /* ── :active táctil ── */
  .btn:active,
  .btn-send:active {
    transform: scale(.96);
    opacity: .84;
    transition: transform .09s ease, opacity .09s ease;
  }

  .sol-card:active,
  .problem-card:active {
    transform: scale(.984);
    background: var(--panel-2);
    transition: transform .09s ease, background .09s ease;
  }

  .sector:active {
    transform: scale(.982);
    background: rgba(255,255,255,.09);
    transition: transform .09s ease, background .09s ease;
  }

  .how-step:active {
    transform: scale(.984);
    background: rgba(255,255,255,.07);
    transition: transform .09s ease, background .09s ease;
  }

  .faq-q:active {
    background: rgba(255,255,255,.08);
    transition: background .09s ease;
  }

  .proof-item:active {
    background: rgba(255,255,255,.09);
    transition: background .09s ease;
  }
}

/* ── ≤640px: mockup hero ligero, nav compacto ─────────────────── */
@media (max-width: 640px) {
  /* Ocultar puntos decorativos mac-style del panel */
  .dash-dots { display: none; }

  /* Barra superior del panel más ajustada */
  .dash-bar { padding: 10px 13px; }

  /* Onda de voz más compacta */
  .wave { min-height: 48px; gap: 5px; padding-right: 36px; }
  .wave b { width: 7px; }
  .wave b:nth-child(4) { height: 52px; }
  .wave b:nth-child(6) { height: 44px; }

  /* Panel interno más apretado */
  .dash-body { padding: 12px; }
  .dash { border-radius: 22px; }
  .call-card { border-radius: 18px; }

  /* Avatar del llamante más pequeño */
  .caller-avatar { width: 40px; height: 40px; border-radius: 14px; }
  .caller-avatar svg { width: 18px; height: 18px; }

  /* Logo-mark más compacto en nav */
  .logo-mark { width: 34px; height: 34px; border-radius: 12px; }
  .logo-mark svg { width: 17px; height: 17px; }

  /* Lead text: algo más compacto */
  .lead { font-size: clamp(1rem, 3.6vw, 1.12rem); margin-bottom: 22px; }
}

/* ── ≤480px: aligerar panel, quitar ruido visual ─────────────── */
@media (max-width: 480px) {
  /* Ocultar indicador de estado en barra del panel (ahorra espacio) */
  .dash-status { display: none; }

  /* Barra del panel: grid simplificado al quitar el tercer elemento */
  .dash-bar { grid-template-columns: auto 1fr; }

  /* Panel: menos padding aún */
  .dash-body { padding: 10px; }
  .call-card { padding: 13px; }
  .wave { min-height: 42px; }

  /* Lead text en 1 columna */
  .lead { font-size: .97rem; line-height: 1.62; }
}

/* ── ≤390px: teléfonos muy pequeños ─────────────────────────── */
@media (max-width: 390px) {
  /* Secciones: mínimo espacio */
  section { padding: 38px 0; }
  #hero { padding: 88px 0 40px; }
  #cta { padding: 38px 0; }

  /* Márgenes laterales mínimos */
  .container { width: min(100% - 20px, var(--max)); }

  /* Título hero más pequeño */
  .hero-title { font-size: clamp(1.7rem, 7vw, 2.05rem); }

  /* Lead text mínimo */
  .lead { font-size: .93rem; margin-bottom: 18px; }

  /* Botones más compactos */
  .btn { min-height: 44px; padding: 11px 18px; font-size: .87rem; }

  /* Panel del hero mínimo */
  .dash-body { padding: 9px; }
  .call-card { padding: 11px; }
  .wave { min-height: 38px; }

  /* CTA title */
  #cta .cta-title { font-size: clamp(1.5rem, 5.8vw, 1.85rem); }
  #cta .cta-wrap { padding: 14px; gap: 13px; }
  #cta .cta-right { padding: 11px; }

  /* Footer: ocultar texto de nombre del logo (solo queda el mark) */
  .footer-logo-text { font-size: 1rem; }
}

/* ========================= FORM SUCCESS BLOCK ========================= */

/* Protección explícita: el atributo [hidden] nunca debe ser sobrescrito por display:flex */
.form-success[hidden] {
  display: none !important;
}

.form-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2.75rem 1.5rem 2rem;
  gap: 1rem;
}

.form-success:focus {
  outline: none;
}

.form-success h3 {
  color: var(--teal-light);
  font-size: 1.2rem;
  margin: 0;
}

.form-success p {
  color: rgba(215, 240, 240, 0.82);
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
  max-width: 340px;
}

/* ========================= LOGO IMAGEN ========================= */

/* Logo en nav
   object-view-box recorta el canvas (1536×1024) a la región visible del
   logotipo (top 35.16 %, right 11.72 %, bottom 42.68 %, left 16.73 %).
   width controla el tamaño real; height: auto usa el ratio del recorte (4.84:1). */
.logo-img {
  display: block;
  object-view-box: inset(35.16% 11.72% 42.68% 16.73%);
  object-fit: contain;
  width: clamp(207px, calc(142px + 17.5vw), 294px);
  height: auto;
  max-width: none;
}

/* Logo en footer */
.footer-logo-img {
  display: block;
  object-view-box: inset(35.16% 11.72% 42.68% 16.73%);
  object-fit: contain;
  width: clamp(165px, calc(110px + 14vw), 210px);
  height: auto;
  max-width: none;
  margin-bottom: 8px;
}

/* ========================= REDUCED MOTION ========================= */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }

  .rv {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}

/* ========================= HONEYPOT ANTI-SPAM ========================= */
/* Debe permanecer al final, después de todas las media queries,
   para garantizar la máxima especificidad y no ser anulado. */

.form-honeypot,
.form-honeypot label,
.form-honeypot input {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  border: 0 !important;
  box-shadow: none !important;
  min-height: 0 !important;
}

.form-honeypot {
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
}

/* ========================= VALIDACIÓN POR CAMPO ========================= */
/* Estado de error en inputs del formulario de demo + mensaje bajo el campo. */

#cta .demo-form input[aria-invalid="true"] {
  border-color: rgba(255, 107, 107, .85) !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, .14) !important;
}

.field-error {
  display: block;
  margin-top: 6px;
  color: #ff8f8f;
  font-size: .8rem;
  line-height: 1.4;
}

.field-error[hidden] { display: none; }
