/* ═══════════════════════════════════════════════════════════════
   BLANKA'S SERVICES LLC — styles.css (v3)
   Dirección: logística corporativa premium.
   Fotografía real + tipografía fuerte + disciplina.
   Paleta: blanco · gris suave #F6F7F9 · carbón #16191E
           naranja corporativo #E64A00 (solo CTAs y microdetalles)
   Tipografía: Archivo 600–800 (titulares) · Inter (texto)
   ═══════════════════════════════════════════════════════════════ */

/* ── Tokens ─────────────────────────────────────────────────── */
:root {
  --bg: #ffffff;
  --soft: #f6f7f9;
  --border-btn: rgba(12, 13, 15, 0.25);
  --carbon: #16191e;
  --text: #1b1f24;
  --muted: #5c6672;
  --line: #e6e9ed;
  --line-dark: #cfd5db;
  --orange: #e64a00;
  /* CTAs (AA con texto blanco) */
  --orange-hi: #ff4d00;
  /* microacentos */
  --green-wa: #25d366;

  --font-display: "Archivo", "Inter", sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 14px;
  --radius-sm: 9px;
  --container: 1160px;
  --nav-h: 72px;

  --shadow-soft: 0 14px 34px -18px rgba(22, 25, 30, .22);
  --shadow-hover: 0 18px 44px -18px rgba(22, 25, 30, .28);
  --ease: cubic-bezier(.22, .8, .3, 1);
}

/* ── Reset y base ───────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul,
ol {
  list-style: none;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

::selection {
  background: var(--orange);
  color: #fff;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -.022em;
  text-wrap: balance;
  color: var(--carbon);
}

h2 {
  font-size: clamp(1.7rem, 1rem + 2.4vw, 2.6rem);
}

h3 {
  font-size: 1.2rem;
}

.container {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
}

.container--narrow {
  width: min(820px, 100% - 3rem);
}

/* ── Eyebrow corporativo ────────────────────────────────────── */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.eyebrow span {
  width: 8px;
  height: 8px;
  background: var(--orange-hi);
  border-radius: 2px;
  flex: none;
}

/* ── Botones ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .95rem;
  padding: .78rem 1.4rem;
  border-radius: var(--radius-sm);
  transition: background .2s, color .2s, border-color .2s,
    transform .2s var(--ease), box-shadow .2s var(--ease);
}

.btn svg {
  width: 19px;
  height: 19px;
  flex: none;
}

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--orange);
  color: #fff;
}

.btn--primary:hover {
  background: #cc4200;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(230, 74, 0, .55);
}

.btn--secondary {
  background: var(--bg);
  color: var(--carbon);
  border: 1.5px solid var(--border-btn);
}

.btn--secondary:hover {
  background: var(--soft);
  border-color: var(--border-btn);
  box-shadow: var(--shadow-soft);
  transform: translateY(-1px);
}

.btn--lg {
  padding: .95rem 1.75rem;
  font-size: 1rem;
}

/* ── Navbar ─────────────────────────────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  height: var(--nav-h);
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s;
}

.nav.is-solid {
  border-bottom-color: var(--line);
}

/* Mientras el menú móvil está abierto, el header queda "anclado":
   mismo tratamiento que al hacer scroll, más una sombra ligera. */
.nav:has(.nav__burger.is-open) {
  border-bottom-color: var(--line);
  box-shadow: var(--shadow-soft);
  /* backdrop-filter convierte a .nav en el "contenedor" de sus
     descendientes fixed (como .nav__links). Como .nav mide solo
     var(--nav-h) de alto, el panel calculaba su posición contra
     esos 72px en vez del viewport y quedaba con alto cero.
     Se apaga aquí, sin efecto visible porque el panel blanco ya
     cubre todo lo de abajo. */
  backdrop-filter: none;
}

.nav__inner {
  width: min(var(--container), 100% - 3rem);
  margin-inline: auto;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.img_logo {
  border-radius: 10px;
}

.nav__logo {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
}

.nav__logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--carbon);
  color: #fff;
}

.nav__logo-mark svg {
  width: 21px;
  height: 21px;
}

.nav__logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -.01em;
  font-size: 1.05rem;
  color: var(--carbon);
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.nav__logo-text em {
  font-style: normal;
  font-weight: 600;
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 1.6rem;
}

.nav__link {
  font-size: .9rem;
  font-weight: 600;
  color: var(--muted);
  position: relative;
  padding: .3rem 0;
  transition: color .2s;
}

.nav__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s var(--ease);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--carbon);
}

.nav__link:hover::after,
.nav__link.is-active::after {
  transform: scaleX(1);
}

.nav__cta {
  margin-left: .4rem;
  padding: .6rem 1.2rem;
  font-size: .88rem;
}

.nav__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: .6rem;
  z-index: 110;
}

.nav__burger span {
  width: 24px;
  height: 2px;
  background: var(--carbon);
  transition: transform .3s var(--ease), opacity .3s;
}

.nav__burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav__burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav__burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero (foto real, garantizado en viewport) ──────────────── */
.hero {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: var(--nav-h);
}

.hero__body {
  flex: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  min-height: 0;
}

.hero__copy {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1.5rem, 4vh, 3rem) clamp(1.5rem, 3vw, 3rem);
}

.hero__copy-inner {
  width: min(560px, 100%);
}

.hero__title {
  font-size: clamp(2.05rem, 1rem + 2.9vw, 3.4rem);
  font-weight: 800;
  margin: clamp(.8rem, 2vh, 1.2rem) 0 clamp(.7rem, 1.6vh, 1rem);
}

.hero__sub {
  color: var(--muted);
  font-size: clamp(.95rem, .82rem + .4vw, 1.08rem);
  max-width: 32rem;
}

.hero__sub strong {
  color: var(--text);
}

.hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: .85rem;
  margin-top: clamp(1rem, 2.6vh, 1.7rem);
}

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem 1.35rem;
  margin-top: clamp(.9rem, 2.2vh, 1.4rem);
  font-size: .84rem;
  font-weight: 500;
  color: var(--muted);
}

.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
}

.hero__chips li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
}

.hero__media {
  position: relative;
  min-height: 0;
  overflow: hidden;
}

.hero__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--soft);
  /* respaldo mientras carga */
}

.hero__card {
  position: absolute;
  left: clamp(1rem, 2.5vw, 2rem);
  bottom: clamp(1rem, 3vh, 2rem);
  display: flex;
  align-items: center;
  gap: .9rem;
  background: var(--bg);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  padding: .9rem 1.2rem;
}

.hero__card strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -.02em;
  color: var(--carbon);
}

.hero__card span {
  font-size: .74rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--muted);
  border-left: 2px solid var(--orange);
  padding-left: .9rem;
}

/* Barra informativa al pie del hero */
.hero__bar {
  flex: none;
  background: var(--carbon);
  padding: .85rem clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem 3rem;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #b8bec7;
}

.hero__bar span {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.hero__bar span::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange-hi);
}

/* ── Estadísticas ───────────────────────────────────────────── */
.stats {
  border-bottom: 1px solid var(--line-dark);
}

.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: clamp(2rem, 5vw, 3.2rem) 0;
  text-align: center;
}

.stat {
  padding: .4rem 1rem;
}

.stat+.stat {
  border-left: 1px solid var(--line-dark);
}

.stat p {
  line-height: 1;
}

.stat__num,
.stat__suffix {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 1.1rem + 2.4vw, 3rem);
  letter-spacing: -.02em;
  color: var(--carbon);
}

.stat__suffix {
  color: var(--orange);
}

.stat small {
  display: block;
  color: var(--muted);
  font-size: .83rem;
  margin-top: .5rem;
}

/* ── Secciones ──────────────────────────────────────────────── */
.section {
  padding: clamp(4rem, 8vw, 6.2rem) 0;
}

.section--soft {
  background: var(--soft);
  border-block: 1px solid var(--line-dark);
}

.section__head {
  max-width: 46rem;
  margin-bottom: clamp(2.2rem, 5vw, 3.2rem);
}

.section__head h2 {
  margin: .9rem 0 .7rem;
}

.section__sub {
  color: var(--muted);
  font-size: 1.02rem;
}

/* ── Servicios ──────────────────────────────────────────────── */
.services__main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.svc {
  position: relative;
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 2rem;
  box-shadow: var(--shadow-soft);
  transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease);
}

.svc:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.svc__badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 1.1rem;
}

.svc__badge--soft {
  color: var(--muted);
}

.svc__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  color: var(--carbon);
  background: var(--soft);
  border: 1px solid var(--line);
  margin-bottom: 1.15rem;
}

.svc__icon svg {
  width: 25px;
  height: 25px;
}

.svc--featured h3 {
  font-size: 1.35rem;
  margin-bottom: .65rem;
}

.svc--featured>p {
  color: var(--muted);
  font-size: .95rem;
}

.svc__list {
  margin: 1.15rem 0 1.35rem;
  display: grid;
  gap: .5rem;
}

.svc__list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .9rem;
  font-weight: 500;
}

.svc__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--orange);
  font-weight: 700;
}

.svc__cta {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .94rem;
  color: var(--carbon);
}

.svc__cta span {
  color: var(--orange);
  transition: transform .25s var(--ease);
}

.svc__cta:hover {
  color: var(--orange);
}

.svc__cta:hover span {
  transform: translateX(4px);
}

.services__extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.svc--mini {
  padding: 1.5rem;
  box-shadow: var(--shadow-soft);
}

.svc--mini h4 {
  font-size: 1rem;
  margin-bottom: .45rem;
}

.svc--mini p {
  color: var(--muted);
  font-size: .88rem;
}

/* ── Licencias ──────────────────────────────────────────────── */
.license {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

.lic-steps {
  display: grid;
  align-content: center;
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: .8rem 1.7rem;
}

.lic-step {
  display: grid;
  grid-template-columns: 2.6rem 1fr;
  gap: .9rem;
  align-items: start;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line);
}

.lic-step:last-child {
  border-bottom: 0;
}

.lic-step .step__num {
  margin: 0;
  font-size: 1.6rem;
  line-height: 1.1;
}

.lic-step h3 {
  font-size: 1rem;
  margin-bottom: .25rem;
}

.lic-step p {
  color: var(--muted);
  font-size: .88rem;
}

.lic-types {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .7rem 1rem;
  margin-top: 1.5rem;
}

.lic-types__label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
}

.lic-types ul {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
}

.lic-types li {
  font-size: .84rem;
  font-weight: 600;
  color: var(--carbon);
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: 99px;
  padding: .4rem .95rem;
}

.lic-owner {
  margin-top: .7rem;
  font-size: .84rem;
  color: var(--muted);
}

.lic-owner strong {
  color: var(--carbon);
}

.lic-cta {
  margin-top: 1.8rem;
}

/* ── Productos ecuatorianos (servicio secundario) ───────────── */
.products {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.products__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  padding: 1.2rem 1.5rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.products__cta p {
  color: var(--muted);
  font-size: .92rem;
}

/* ── Proceso ────────────────────────────────────────────────── */
.steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
}

.step {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-top: 2px solid var(--muted);
  border-radius: var(--radius-sm);
  padding: 1.4rem 1.25rem;
  box-shadow: var(--shadow-soft);
  transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease);
}

.step:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.step__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.9rem;
  letter-spacing: -.02em;
  color: var(--line-dark);
  margin-bottom: .6rem;
}

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

.step h3 {
  font-size: .99rem;
  margin-bottom: .45rem;
}

.step p {
  font-size: .83rem;
  color: var(--muted);
}

.step p strong {
  color: var(--text);
}

/* ── Beneficios ─────────────────────────────────────────────── */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.benefit {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: 1.7rem;
  box-shadow: var(--shadow-soft);
  transition: border-color .25s, box-shadow .25s var(--ease), transform .25s var(--ease);
}

.benefit:hover {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-hover);
  transform: translateY(-3px);
}

.benefit__icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  color: var(--orange);
  background: var(--soft);
  border: 1px solid var(--line);
  margin-bottom: 1rem;
}

.benefit__icon svg {
  width: 23px;
  height: 23px;
}

.benefit h3 {
  font-size: 1.04rem;
  margin-bottom: .45rem;
}

.benefit p {
  color: var(--muted);
  font-size: .89rem;
}

/* ── Testimonios ────────────────────────────────────────────── */
.slider {
  max-width: 840px;
  margin-inline: auto;
}

.slider__viewport {
  overflow: hidden;
  border-radius: var(--radius);
}

.slider__track {
  display: flex;
  transition: transform .5s var(--ease);
}

.quote {
  flex: 0 0 100%;
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  padding: clamp(1.8rem, 4vw, 2.6rem);
  box-shadow: var(--shadow-soft);
}

.quote::before {
  content: "“";
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 3rem;
  line-height: .6;
  color: var(--orange);
  margin-bottom: .9rem;
}

.quote p {
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  font-weight: 500;
  line-height: 1.65;
  color: var(--text);
}

.quote footer {
  margin-top: 1.3rem;
  display: flex;
  flex-direction: column;
  gap: .1rem;
}

.quote footer strong {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--carbon);
}

.quote footer span {
  font-size: .74rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

.slider__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  margin-top: 1.4rem;
}

.slider__btn {
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  background: var(--bg);
  font-weight: 700;
  transition: border-color .2s, background .2s, color .2s;
}

.slider__btn:hover {
  background: var(--carbon);
  border-color: red;
  color: #fff;
}

.slider__dots {
  display: flex;
  gap: .45rem;
}

.slider__dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: var(--line-dark);
  transition: background .25s, width .25s var(--ease);
}

.slider__dot.is-active {
  background: var(--orange);
  width: 24px;
}

/* ── FAQ ────────────────────────────────────────────────────── */
.faq {
  display: grid;
  gap: .8rem;
}

.faq__item {
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}

.faq__item[open] {
  border-color: var(--line-dark);
  box-shadow: var(--shadow-hover);
}

.faq__item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.05rem 1.3rem;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .98rem;
  color: var(--carbon);
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__chev {
  flex: none;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--orange);
  font-weight: 600;
  transition: transform .3s var(--ease), background .25s, color .25s;
}

.faq__item[open] .faq__chev {
  transform: rotate(45deg);
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
}

.faq__body {
  padding: 0 1.3rem 1.2rem;
}

.faq__body p {
  color: var(--muted);
  font-size: .92rem;
}

.faq__body strong {
  color: var(--text);
}

/* ── Banda CTA ──────────────────────────────────────────────── */
.ctaband {
  background: var(--carbon);
  padding: clamp(3rem, 7vw, 4.4rem) 0;
}

.ctaband__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.6rem;
}

.ctaband__eyebrow {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-hi);
  margin-bottom: .55rem;
}

.ctaband h2 {
  color: #fff;
  max-width: 24ch;
}

/* ── Contacto ───────────────────────────────────────────────── */
.contact {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 1.6rem;
  align-items: start;
}

.form {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  padding: clamp(1.6rem, 3.5vw, 2.3rem);
  display: grid;
  gap: 1.15rem;
}

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

.form__field {
  display: grid;
  gap: .4rem;
}

.form__field label {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--carbon);
}

.form__field input,
.form__field select,
.form__field textarea {
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius-sm);
  padding: .78rem .95rem;
  transition: border-color .2s, box-shadow .2s;
  width: 100%;
}

.form__field select {
  appearance: none;
  cursor: pointer;
}

.form__field textarea {
  resize: vertical;
  min-height: 106px;
}

.form__field input::placeholder,
.form__field textarea::placeholder {
  color: #9aa3ad;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(230, 74, 0, .14);
}

.form__error {
  display: none;
  font-size: .76rem;
  font-weight: 600;
  color: var(--orange);
}

.form__field.is-invalid input,
.form__field.is-invalid select,
.form__field.is-invalid textarea {
  border-color: var(--orange);
}

.form__field.is-invalid .form__error {
  display: block;
}

.form__submit {
  justify-self: start;
}

.form__note {
  font-size: .78rem;
  color: var(--muted);
}

.info {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(1.6rem, 3.5vw, 2.1rem);
}

.info h3 {
  margin-bottom: 1.3rem;
}

.info__list {
  display: grid;
  gap: 1.25rem;
}

.info__list li {
  display: flex;
  gap: .9rem;
}

.info__icon {
  flex: none;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--orange);
  background: var(--bg);
}

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

.info__list strong {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .94rem;
  color: var(--carbon);
}

.info__list p {
  color: var(--muted);
  font-size: .87rem;
}

.info__list a {
  color: var(--orange);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.info__list li>div {
  min-width: 0;
}

.info__list a:hover {
  text-decoration: underline;
}

.info__badge {
  margin-top: 1.5rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--line);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--carbon);
  color: #d7dce2;
}

.footer__inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
  padding: clamp(2.6rem, 6vw, 3.8rem) 0 2rem;
}

.nav__logo--light .nav__logo-mark {
  background: #fff;
  color: var(--carbon);
}

.nav__logo--light .nav__logo-text {
  color: #fff;
}

.nav__logo--light .nav__logo-text em {
  color: #9aa3ad;
}

.footer__brand .nav__logo-mark {
  width: 96px;
  height: 96px;
  border-radius: 50%;
}

.footer__brand .img_logo {
  border-radius: 50%;
}

.footer__brand p {
  color: #9aa3ad;
  font-size: .88rem;
  max-width: 24rem;
  margin-top: 1rem;
}

.footer__nav,
.footer__contact {
  display: grid;
  gap: .55rem;
  align-content: start;
}

.footer__nav strong,
.footer__contact strong {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange-hi);
  margin-bottom: .35rem;
}

.footer__nav a,
.footer__contact a {
  color: #c2c9d1;
  font-size: .9rem;
  transition: color .2s;
}

.footer__nav a:hover,
.footer__contact a:hover {
  color: #fff;
}

.footer__contact p {
  color: #9aa3ad;
  font-size: .88rem;
}

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .8rem;
  padding: 1.3rem 0;
  border-top: 1px solid #262b33;
  font-size: .78rem;
  color: #9aa3ad;
}

/* ── WhatsApp flotante ──────────────────────────────────────── */
.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green-wa);
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(37, 211, 102, .55);
  transition: transform .2s var(--ease);
}

.wa-float svg {
  width: 29px;
  height: 29px;
}

.wa-float:hover {
  transform: scale(1.07);
}

/* ── Revelado al hacer scroll ───────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s var(--ease), transform .55s var(--ease);
}

.reveal[data-delay="1"] {
  transition-delay: .09s;
}

.reveal[data-delay="2"] {
  transition-delay: .18s;
}

.reveal[data-delay="3"] {
  transition-delay: .27s;
}

.reveal[data-delay="4"] {
  transition-delay: .36s;
}

.reveal[data-delay="5"] {
  transition-delay: .45s;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Responsivo ─────────────────────────────────────────────── */
/* Laptops de poca altura: compactar hero para que todo entre */
@media (max-height: 760px) and (min-width: 1025px) {
  .hero__copy {
    padding-block: 1.1rem;
  }

  .hero__title {
    font-size: clamp(1.9rem, .85rem + 2.6vw, 2.9rem);
  }

  .hero__sub {
    font-size: .95rem;
  }

  .hero__ctas {
    margin-top: 1rem;
  }

  .hero__chips {
    margin-top: .85rem;
  }

  .hero__bar {
    padding-block: .65rem;
  }
}

@media (max-width: 760px) and (max-height: 620px) {
  .hero__copy {
    padding-top: .6rem;
    padding-bottom: 1rem;
  }

  .hero__title {
    font-size: clamp(1.3rem, 1rem + 3.4vw, 1.7rem);
    margin: .4rem 0 .35rem;
  }

  .hero__sub {
    font-size: .8rem;
    line-height: 1.4;
  }

  .hero__ctas {
    margin-top: .55rem;
  }

  .hero__ctas .btn {
    padding: .6rem 1.1rem;
    font-size: .84rem;
  }

  .hero__chips {
    margin-top: .5rem;
    font-size: .72rem;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: 0;
  }

  .hero__body {
    grid-template-columns: 1fr;
  }

  .hero__copy {
    padding: .9rem 1.25rem 1.4rem;
  }

  .hero__media {
    min-height: clamp(260px, 42vw, 380px);
    position: relative;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
  }

  .step--final,
  .steps li:last-child {
    grid-column: 1 / -1;
  }

  .benefits {
    grid-template-columns: repeat(2, 1fr);
  }

  .services__main,
  .license {
    grid-template-columns: 1fr;
  }

  .products {
    grid-template-columns: 1fr 1fr;
  }

  .services__extra {
    grid-template-columns: 1fr 1fr;
  }

  .services__extra .svc--mini:last-child {
    grid-column: 1 / -1;
  }

  .contact {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr 1fr;
  }

  .hero__bar {
    gap: .5rem 1.8rem;
  }

  /* Navbar: a partir de aquí el menú horizontal completo ya no cabe
     (6 enlaces + CTA + logo necesitan ~950-1000px libres), así que
     pasamos al menú hamburguesa antes de que se rompa el layout. */
  .nav__burger {
    display: flex;
  }

  /* El panel se despliega debajo del header (que permanece visible,
     con logo y todo) en vez de tapar la pantalla completa. */
  .nav__links {
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--bg);
    flex-direction: column;
    padding: 1.25rem clamp(1.5rem, 6vw, 2.5rem) calc(1.25rem + env(safe-area-inset-bottom, 0px));
    gap: 0;
    opacity: 0;
    pointer-events: none;
    transform: scale(.98);
    transition: opacity .3s var(--ease), transform .3s var(--ease);
    overflow-y: auto;
  }

  /* Marca de agua: una ruta punteada muy sutil (envíos aéreos). */
  .nav__links::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: .05;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 800'%3E%3Cpath d='M-20 720 C120 620 90 420 220 360 C350 300 300 120 420 40' fill='none' stroke='%23e64a00' stroke-width='3' stroke-dasharray='2 14' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .nav__links.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
  }

  /* Cada enlace se ve como una fila real de menú: divisor, buen
     área de toque, flecha a la derecha, y entrada en cascada. */
  .nav__links .nav__link {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1.05rem;
    padding: .95rem .1rem;
    border-bottom: 1px solid var(--line);
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s var(--ease), transform .4s var(--ease),
      color .2s, background-color .15s;
  }

  .nav__links .nav__link:active {
    background-color: var(--soft);
  }

  .nav__links .nav__link:nth-child(6) {
    border-bottom: none;
  }

  .nav__links .nav__link:nth-child(1) {
    transition-delay: .05s;
  }

  .nav__links .nav__link:nth-child(2) {
    transition-delay: .1s;
  }

  .nav__links .nav__link:nth-child(3) {
    transition-delay: .15s;
  }

  .nav__links .nav__link:nth-child(4) {
    transition-delay: .2s;
  }

  .nav__links .nav__link:nth-child(5) {
    transition-delay: .25s;
  }

  .nav__links .nav__link:nth-child(6) {
    transition-delay: .3s;
  }

  /* Reemplaza la línea de subrayado (desktop) por una flechita */
  .nav__links .nav__link::after {
    content: "›";
    position: static;
    width: auto;
    height: auto;
    background: none;
    transform: none;
    margin-left: auto;
    padding-left: .75rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    line-height: 1;
    color: var(--line-dark);
    transition: color .2s;
  }

  .nav__links .nav__link:hover::after,
  .nav__links .nav__link.is-active::after,
  .nav__links .nav__link:active::after {
    transform: none;
    color: var(--orange);
  }

  .nav__links.is-open .nav__link {
    opacity: 1;
    transform: translateY(0);
  }

  /* CTA de WhatsApp anclado al fondo del panel: es la acción principal. */
  .nav__links .nav__cta {
    margin: auto 0 0;
    width: 100%;
    justify-content: center;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    opacity: 0;
    transform: translateY(14px);
    transition: opacity .4s var(--ease) .35s, transform .4s var(--ease) .35s;
  }

  .nav__links.is-open .nav__cta {
    opacity: 1;
    transform: translateY(0);
  }

  .nav__logo-text em {
    display: none;
  }
}

@media (max-width: 760px) {
  :root {
    --nav-h: 64px;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__bar {
    justify-content: flex-start;
    gap: .45rem 1.4rem;
    font-size: .66rem;
  }

  /* Hero compacto para que quepa en la pantalla sin scroll */
  .hero__copy {
    padding: .9rem 1.25rem 1.4rem;
  }

  .hero__title {
    font-size: clamp(1.5rem, 1.05rem + 4vw, 2rem);
    margin: .55rem 0 .45rem;
  }

  .hero__sub {
    font-size: .86rem;
    line-height: 1.45;
  }

  .hero__ctas {
    margin-top: .7rem;
    gap: .55rem;
  }

  .hero__ctas .btn {
    padding: .7rem 1.2rem;
    font-size: .88rem;
  }

  .hero__chips {
    margin-top: .65rem;
    gap: .3rem .9rem;
    font-size: .76rem;
  }

  .stats__grid {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 1.6rem;
  }

  .stat:nth-child(3) {
    border-left: 0;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .benefits {
    grid-template-columns: 1fr;
  }

  .services__extra,
  .products {
    grid-template-columns: 1fr;
  }

  .lic-cta .btn {
    width: 100%;
  }

  .services__extra .svc--mini:last-child {
    grid-column: auto;
  }

  .form__row {
    grid-template-columns: 1fr;
  }

  .footer__inner {
    grid-template-columns: 1fr;
  }

  .ctaband__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ── Accesibilidad ──────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .nav__links .nav__link,
  .nav__links .nav__cta {
    transition-delay: 0s !important;
  }

  .slider__pause {
    display: none;
  }
}

:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
  border-radius: 4px;
}
