@charset "UTF-8";
html {
  line-height: 1.15; /* 1 */
  -webkit-text-size-adjust: 100%; /* 2 */
}

/* Sections
   ========================================================================== */
/**
 * Remove the margin in all browsers.
 */
body {
  margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
  display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0;
}

/* Grouping content
   ========================================================================== */
/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box; /* 1 */
  height: 0; /* 1 */
  overflow: visible; /* 2 */
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/* Text-level semantics
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none; /* 1 */
  text-decoration: underline; /* 2 */
  text-decoration: underline dotted; /* 2 */
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
  font-family: monospace, monospace; /* 1 */
  font-size: 1em; /* 2 */
}

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}

sub {
  bottom: -0.25em;
}

sup {
  top: -0.5em;
}

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10.
 */
img {
  border-style: none;
}

/* Forms
   ========================================================================== */
/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit; /* 1 */
  font-size: 100%; /* 1 */
  line-height: 1.15; /* 1 */
  margin: 0; /* 2 */
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input { /* 1 */
  overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select { /* 1 */
  text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type=button],
[type=reset],
[type=submit] {
  -webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type=button]::-moz-focus-inner,
[type=reset]::-moz-focus-inner,
[type=submit]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type=button]:-moz-focusring,
[type=reset]:-moz-focusring,
[type=submit]:-moz-focusring {
  outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
  padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box; /* 1 */
  color: inherit; /* 2 */
  display: table; /* 1 */
  max-width: 100%; /* 1 */
  padding: 0; /* 3 */
  white-space: normal; /* 1 */
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
  overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type=checkbox],
[type=radio] {
  box-sizing: border-box; /* 1 */
  padding: 0; /* 2 */
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type=number]::-webkit-inner-spin-button,
[type=number]::-webkit-outer-spin-button {
  height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type=search] {
  -webkit-appearance: textfield; /* 1 */
  outline-offset: -2px; /* 2 */
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type=search]::-webkit-search-decoration {
  -webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
  -webkit-appearance: button; /* 1 */
  font: inherit; /* 2 */
}

/* Interactive
   ========================================================================== */
/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
  display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
  display: list-item;
}

/* Misc
   ========================================================================== */
/**
 * Add the correct display in IE 10+.
 */
template {
  display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
  display: none;
}

/** Media Queries (conservados) **/
html {
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

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

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 1.8rem;
  line-height: 1.6;
  color: #1b1f2b;
  background: #f2f6fc;
  margin: 0;
}

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Contenedor */
.container {
  width: min(92%, 120rem);
  margin-inline: auto;
}

/* Botón genérico (BEM modifier-ready) */
.btn {
  background-color: #2584f8;
  padding: 1rem 1.6rem;
  color: #ffffff;
  font-weight: 700;
  border: 0;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: filter 0.2s ease, background-color 0.2s ease;
}
.btn:hover {
  filter: brightness(1.05);
  cursor: pointer;
}
.btn--primary {
  background-color: #2584f8;
  padding: 1rem 1.6rem;
  color: #ffffff;
  font-weight: 700;
  border: 0;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: filter 0.2s ease, background-color 0.2s ease;
}
.btn--primary:hover {
  filter: brightness(1.05);
  cursor: pointer;
}
.btn--primary {
  box-shadow: 0 0.5rem 1.25rem rgba(37, 132, 248, 0.15);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Cabeceras de sección */
.section-head {
  margin-bottom: 1.6rem;
  text-align: center;
}
.section-head__eyebrow {
  display: inline-block;
  font-weight: 700;
  color: #04ddb2;
  background: rgba(4, 221, 178, 0.12);
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 1.4rem;
}
.section-head__title {
  margin: 0.6rem 0 0.4rem;
  font-size: clamp(2.2rem, 3.2vw, 3.2rem);
  font-weight: 900;
}
.section-head__lead {
  max-width: 65ch;
  margin-inline: auto;
  color: #64748b;
}

/* Secciones */
section {
  padding-block: 3.2rem;
  scroll-margin-top: 7rem;
}

/* Accesibilidad */
:focus-visible {
  outline: 3px solid rgba(37, 132, 248, 0.22);
  outline-offset: 2px;
  border-radius: 0.5rem;
}

h1, h2, h3 {
  margin: 0 0 0.5rem;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(2.6rem, 5vw, 3.6rem);
}

h2 {
  font-size: clamp(2.2rem, 3.6vw, 3rem);
}

h3 {
  font-size: clamp(1.9rem, 3vw, 2.2rem);
}

.about {
  background: linear-gradient(to bottom, #eff6ff 0%, #ffffff 100%);
  /* G R I D – imagen pegadita a las tarjetas */
}
.about__grid {
  display: grid;
  align-items: center; /* centra verticalmente foto y tarjetas */
  row-gap: 1rem; /* menos hueco vertical en mobile */
  column-gap: 1rem;
}
@media (min-width: 768px) {
  .about__grid {
    grid-template-columns: minmax(300px, 520px) 1fr; /* foto ~520px máx */
    column-gap: 3rem; /* + juntitas */
  }
}
@media (min-width: 1024px) {
  .about__grid {
    column-gap: 6rem;
  }
}
.about__media {
  justify-self: end;
}
.about { /* empuja la foto hacia las tarjetas */ }
.about__media img {
  display: block;
  width: 100%;
  max-width: 520px; /* evita que se haga gigante */
  border-radius: 0.8rem;
  box-shadow: 0 0.6rem 1.6rem rgba(2, 8, 23, 0.1);
  margin: 0; /* por si algo le mete margen */
}
.about__text {
  align-self: center;
}

.values {
  margin-top: 2.4rem;
  text-align: center;
}
.values__title {
  margin-bottom: 1.4rem;
  font-size: 2rem;
  font-weight: 700;
  color: #2584f8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
}
.values__chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.8rem;
  max-width: 100rem;
  margin-inline: auto;
}

.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: linear-gradient(180deg, #fbfdff, #fff);
  border: 1px solid #e6eefb;
  font-weight: 600;
  color: #1b1f2b;
  box-shadow: 0 1px 0 rgba(2, 8, 23, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}
.chip i {
  color: #04ddb2;
}
.chip:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  background: #2584f8;
  color: #fff;
}
.chip:hover i {
  color: #fff;
}

.grid-2 {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

.card {
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 0.9rem;
  padding: 1.2rem;
  box-shadow: 0 0.125rem 0.5rem rgba(3, 7, 18, 0.08), 0 0.5rem 1.25rem rgba(2, 8, 23, 0.06);
  height: 100%;
  text-align: left;
}
.card__icon {
  font-size: 2rem;
  color: #04ddb2;
}
.card__title {
  margin: 0.3rem 0 0.2rem;
  color: #2584f8;
  font-size: 2rem;
}
.card__text {
  margin: 0;
}

/* =======================================================
   A N I M A C I O N E S  (solo CSS, sin JS)
   ======================================================= */
/* variables locales de easing/duración */
.about, .values {
  --easing: cubic-bezier(.21,.61,.35,1);
  --dur: .65s;
}

/* Keyframes */
@keyframes aparecer-arriba {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes aparecer-derecha {
  from {
    opacity: 0;
    transform: translateX(18px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes aparecer-escala {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.97);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes aparecer-blur {
  from {
    opacity: 0;
    filter: blur(6px);
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    filter: blur(0);
    transform: none;
  }
}
/* --- Animación al cargar (fallback universal) --- */
.about__media img {
  will-change: transform, opacity;
  animation: aparecer-derecha var(--dur) var(--easing) both 0.08s;
}

.about__text {
  animation: aparecer-arriba var(--dur) var(--easing) both 0.12s;
}

.values__title {
  animation: aparecer-blur var(--dur) var(--easing) both 0.06s;
}

.values .chip {
  animation: aparecer-escala var(--dur) var(--easing) both;
}

/* escalonado para chips */
.values .chip:nth-child(1) {
  animation-delay: 0.05s;
}

.values .chip:nth-child(2) {
  animation-delay: 0.12s;
}

.values .chip:nth-child(3) {
  animation-delay: 0.19s;
}

.values .chip:nth-child(4) {
  animation-delay: 0.26s;
}

.values .chip:nth-child(5) {
  animation-delay: 0.33s;
}

.values .chip:nth-child(6) {
  animation-delay: 0.4s;
}

.about .card, .grid-2 .card {
  animation: aparecer-arriba var(--dur) var(--easing) both;
}

.grid-2 .card:nth-child(1) {
  animation-delay: 0.06s;
}

.grid-2 .card:nth-child(2) {
  animation-delay: 0.14s;
}

.grid-2 .card:nth-child(3) {
  animation-delay: 0.22s;
}

.grid-2 .card:nth-child(4) {
  animation-delay: 0.3s;
}

/* --- Scroll-driven (si el navegador lo soporta) --- */
@supports (animation-timeline: view()) {
  /* la animación se reproduce al entrar/salir del viewport */
  .about__media img {
    animation-timeline: view();
    animation-range: entry 10% cover 30%;
  }
  .about__text {
    animation-timeline: view();
    animation-range: entry 10% cover 25%;
  }
  .values__title {
    animation-timeline: view();
    animation-range: entry 0% cover 20%;
  }
  .values .chip {
    animation-timeline: view();
    animation-range: entry 10% cover 25%;
  }
  .about .card, .grid-2 .card {
    animation-timeline: view();
    animation-range: entry 12% cover 28%;
  }
}
/* Respeta usuarios que reducen movimiento */
@media (prefers-reduced-motion: reduce) {
  .about__media img,
  .about__text,
  .values__title,
  .values .chip,
  .about .card, .grid-2 .card {
    animation: none !important;
  }
}
.contact .container {
  max-width: 96rem;
}
.contact .form {
  background: #fff;
  border: 1px solid #e6eef5;
  border-radius: 1rem;
  box-shadow: 0 0.125rem 0.5rem rgba(3, 7, 18, 0.08), 0 0.5rem 1.25rem rgba(2, 8, 23, 0.06);
  padding: 1.4rem;
  max-width: 76rem;
  margin: 1rem auto 0;
}
.contact .form__title {
  margin: 0 0 0.9rem;
  font-weight: 900;
  color: #2584f8;
  display: flex;
  gap: 0.6rem;
  align-items: center;
}
.contact .form__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 768px) {
  .contact .form__grid {
    grid-template-columns: 1fr 1fr;
  }
}
.contact .form__group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact .form__group--full {
  grid-column: 1/-1;
}
.contact .form__label {
  font-weight: 600;
  font-size: 1.6rem;
}
.contact .form__control {
  appearance: none;
  border: 1px solid #e6eef5;
  background: #fbfdff;
  border-radius: 0.7rem;
  padding: 0.9rem 1rem;
  font: inherit;
  color: #1b1f2b;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.contact .form__control:focus {
  outline: none;
  border-color: rgba(37, 132, 248, 0.45);
  box-shadow: 0 0 0 0.2rem rgba(37, 132, 248, 0.22);
  background: #fff;
}
.contact .form__error {
  display: none;
  color: #b91c1c;
  font-size: 1.3rem;
}
.contact .form__note {
  margin-top: 0.8rem;
  font-size: 1.5rem;
  color: #64748b;
}
.contact .form__hp {
  position: absolute !important;
  left: -9999px !important;
}
.contact .form__footer {
  margin-top: 0.8rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.9rem 1rem;
  justify-content: space-between;
}
.contact {
  /* Validación progresiva */
}
.contact .form-validated .form__control:invalid[required],
.contact .form__control[data-touched=true]:invalid {
  border-color: #fecaca;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
  background: #fff;
}
.contact .form-validated .form__control:invalid[required] ~ .form__error,
.contact .form__control[data-touched=true]:invalid ~ .form__error {
  display: block;
}
.contact .check {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.5rem;
  color: #64748b;
}
.contact .check__input {
  width: 1.2rem;
  height: 1.2rem;
  accent-color: #2584f8;
}
.hero {
  position: relative;
  min-height: 88vh;
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  background: #0f172a;
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding-block: 4rem;
}
.hero__logo {
  width: 12rem;
  margin-inline: auto;
  margin-bottom: 1rem;
}
.hero__title {
  font-weight: 900;
}
.hero__lead {
  max-width: 42ch;
  margin: 0.5rem auto 1.2rem;
  color: #e2e8f0;
}
.hero__actions {
  display: flex;
  gap: 0.8rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.2rem;
}

.services {
  background: #fff;
  /* variables de animación */
  --dur: .65s;
  --ease: cubic-bezier(.21,.61,.35,1);
}
.services__grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 768px) {
  .services__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (min-width: 1024px) {
  .services__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- Tarjeta ---------- */
.service {
  background: linear-gradient(180deg, #fbfdff, #fff);
  border: 1px solid #eef2f7;
  border-radius: 0.9rem;
  padding: 1.25rem;
  box-shadow: 0 0.125rem 0.5rem rgba(3, 7, 18, 0.08), 0 0.5rem 1.25rem rgba(2, 8, 23, 0.06);
  text-align: left;
  will-change: transform, opacity, filter;
  /* Animación de entrada (fallback universal) */
  animation: servicio-subir var(--dur) var(--ease) both;
  /* Hover/interacción */
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}
.service:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 22px rgba(2, 8, 23, 0.12), 0 2px 8px rgba(2, 8, 23, 0.08);
  border-color: rgba(37, 132, 248, 0.28);
  background: linear-gradient(180deg, #ffffff, #fbfdff);
}
.service__icon {
  font-size: 2.2rem;
  color: #2584f8;
  transform-origin: 20% 80%;
  animation: servicio-pop var(--dur) var(--ease) both 0.08s;
}
.service__title {
  margin: 0.5rem 0 0.25rem;
  font-size: 2rem;
}
.service__text {
  margin: 0;
  font-size: 1.6rem;
}

/* ---------- Stagger (sin JS) ---------- */
.services__grid > .service:nth-child(1) {
  animation-delay: 0.04s;
}

.services__grid > .service:nth-child(2) {
  animation-delay: 0.1s;
}

.services__grid > .service:nth-child(3) {
  animation-delay: 0.16s;
}

.services__grid > .service:nth-child(4) {
  animation-delay: 0.22s;
}

.services__grid > .service:nth-child(5) {
  animation-delay: 0.28s;
}

.services__grid > .service:nth-child(6) {
  animation-delay: 0.34s;
}

.services__grid > .service:nth-child(7) {
  animation-delay: 0.4s;
}

.services__grid > .service:nth-child(8) {
  animation-delay: 0.46s;
}

/* ---------- Keyframes ---------- */
@keyframes servicio-subir {
  from {
    opacity: 0;
    transform: translateY(14px);
    filter: blur(4px);
  }
  to {
    opacity: 1;
    transform: none;
    filter: blur(0);
  }
}
@keyframes servicio-pop {
  from {
    opacity: 0;
    transform: translateY(8px) scale(0.92) rotate(-3deg);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
/* ---------- Scroll-driven (si hay soporte) ---------- */
@supports (animation-timeline: view()) {
  .service {
    animation-timeline: view();
    animation-range: entry 12% cover 26%;
  }
  .service__icon {
    animation-timeline: view();
    animation-range: entry 10% cover 22%;
  }
}
/* ---------- Accesibilidad: reducir movimiento ---------- */
@media (prefers-reduced-motion: reduce) {
  .service, .service__icon {
    animation: none !important;
    transition: none !important;
  }
}
/* ======================
   Footer – móvil primero
   ====================== */
.footer {
  background: linear-gradient(180deg, #0b1324 0%, #071829 100%);
  color: #cbd5e1;
  position: relative;
  padding-top: 2rem;
}
.footer .container {
  max-width: 1100px;
  margin-inline: auto;
  padding: 0 1rem;
}
.footer {
  /* GRID principal */
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr; /* móvil: 1 columna */
  gap: 1.2rem;
  padding: 2rem 0 1.5rem;
  align-items: start;
}
.footer {
  /* ===== Marca + contacto (móvil centrado) ===== */
}
.footer__brand {
  display: grid;
  justify-items: center; /* centra logo, tagline y enlaces */
  text-align: center;
  row-gap: 0.8rem;
}
.footer__logo picture, .footer__logo img {
  display: block;
  width: clamp(60px, 26vw, 80px); /* tamaño agradable en móvil */
  height: auto;
  margin-inline: auto;
  filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.35));
}
.footer__tagline {
  max-width: 34ch;
  font-size: clamp(1rem, 0.35vw + 0.95rem, 1.25rem);
  opacity: 0.95;
}
.footer__contact {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  align-items: center; /* centra mail/teléfono/botón */
  font-style: normal;
}
.footer {
  /* Botón WA: ancho completo en móvil */
}
.footer__btn-wa {
  background-color: #04ddb2;
  padding: 1rem 1.6rem;
  color: #1b1f2b;
  font-weight: 700;
  border: 0;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: filter 0.2s ease, background-color 0.2s ease;
}
.footer__btn-wa:hover {
  filter: brightness(1.05);
  cursor: pointer;
}
.footer__btn-wa {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: 100%;
  justify-content: center;
  font-weight: 700;
  padding: 0.85rem 1rem;
}
.footer__btn-wa i {
  font-size: 1.1rem;
}
.footer {
  /* ===== Navegación (dos columnas en móvil) ===== */
}
.footer__nav {
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.16);
}
.footer__heading {
  margin: 0.25rem 0 0.6rem;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.05rem, 0.6vw + 1rem, 1.35rem);
  color: #e2e8f0;
  text-align: center;
}
.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.75rem 1rem;
  grid-template-columns: 1fr 1fr; /* móvil: 2 columnas */
  justify-items: center; /* centra cada enlace */
}
.footer__link, .footer__legal-links a {
  color: #cbd5e1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: clamp(1rem, 0.25vw + 0.95rem, 1.2rem);
  opacity: 0.95;
}
.footer__link i, .footer__legal-links a i {
  width: 1.1rem;
  text-align: center;
}
.footer__link:hover, .footer__legal-links a:hover {
  color: #fff;
  opacity: 1;
}
.footer__link:focus-visible, .footer__legal-links a:focus-visible {
  outline: 3px solid rgba(37, 132, 248, 0.22);
  outline-offset: 3px;
  border-radius: 0.4rem;
}
.footer {
  /* ===== Social centrado con separación visual ===== */
}
.footer__social {
  padding-top: 1rem;
  border-top: 1px solid rgba(226, 232, 240, 0.16);
}
.footer__social-list {
  list-style: none;
  margin: 0.4rem 0 0;
  padding: 0;
  display: flex;
  gap: 0.6rem;
  justify-content: center; /* ⬅️ clave */
  flex-wrap: wrap; /* por si se desbordan */
}
.footer .soc {
  width: 42px;
  height: 42px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  text-decoration: none;
}
.footer .soc:hover {
  background: rgba(255, 255, 255, 0.12);
}
.footer .soc:focus-visible {
  outline: 3px solid rgba(37, 132, 248, 0.22);
  outline-offset: 3px;
}
.footer {
  /* ===== Legal ===== */
}
.footer__bottom {
  border-top: 1px solid rgba(226, 232, 240, 0.16);
  margin-top: 0.5rem;
}
.footer__legal {
  padding: 0.9rem 0 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
}
.footer__legal small {
  font-size: 1.2rem;
  opacity: 0.9;
}
.footer__legal-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
  justify-content: center;
}
.footer__legal-links a {
  font-size: 1.1rem;
  opacity: 0.9;
}
.footer {
  /* Volver arriba */
}
.footer__toTop {
  position: absolute;
  right: 1rem;
  bottom: 1.1rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: filter 0.2s ease, background-color 0.2s ease;
}
.footer__toTop:hover {
  background: rgba(255, 255, 255, 0.14);
}
.footer__toTop:focus-visible {
  outline: 3px solid rgba(37, 132, 248, 0.22);
  outline-offset: 3px;
}
.footer {
  /* ===== Tablet y Desktop: vuelve a tu diseño original ===== */
}
@media (min-width: 768px) {
  .footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 2rem;
    padding: 2.4rem 0 1.8rem;
  }
  .footer__brand {
    justify-items: start;
    text-align: left;
  }
  .footer__contact {
    align-items: flex-start;
  }
  .footer__btn-wa {
    width: auto;
  }
  .footer { /* ya no full width */ }
  .footer__list {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer__social-list {
    justify-content: flex-start;
  }
  .footer__heading {
    text-align: left;
  }
}

.header {
  /* Alto del header: controlado por variable */
  --h: 64px;
  position: sticky;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  backdrop-filter: saturate(160%) blur(6px);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 1px 0 rgba(2, 8, 23, 0.06);
}
.header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.5rem 0; /* móvil compacto */
  min-height: var(--h);
}
.header__brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: inherit;
  text-decoration: none;
}
.header__brand-img img {
  height: 28px; /* móvil */
  width: auto;
  max-width: none;
  display: block;
}
@media (min-width: 768px) {
  .header__brand-img img {
    height: 40px;
  }
}
.header__brand-title {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  line-height: 1;
}
@media (min-width: 768px) {
  .header__brand-title {
    font-size: 1.25rem;
  }
}
@media (min-width: 768px) {
  .header {
    --h: 80px; /* desktop más alto */
  }
}

/* ===== Nav ===== */
.nav__toggle {
  border: 0;
  background: transparent;
  padding: 0.375rem;
  border-radius: 0.5rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  color: #0f172a;
}
.nav__toggle:focus-visible {
  outline: 3px solid rgba(37, 132, 248, 0.22);
}
@media (min-width: 768px) {
  .nav__toggle {
    display: none;
  }
}
.nav {
  /* Panel móvil */
}
.nav__links {
  position: fixed;
  top: var(--h);
  left: 0;
  right: 0;
  background: #fff;
  border-top: 1px solid #eef2f7;
  box-shadow: 0 0.5rem 1.25rem rgba(2, 8, 23, 0.06);
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding: 0.5rem 0.75rem;
  max-height: calc(100dvh - var(--h));
  overflow: auto;
  z-index: 40;
  /* Animación de aparición */
  transform: translateY(-8px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0s linear 0.22s;
}
.nav__links.is-open {
  transform: none;
  opacity: 1;
  visibility: visible;
  transition: transform 0.22s ease, opacity 0.22s ease, visibility 0s;
}
.nav__links {
  /* Desktop: vuelve a fila tradicional */
}
@media (min-width: 768px) {
  .nav__links {
    position: static;
    background: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
    gap: 1rem;
    max-height: none;
    overflow: visible;
    transform: none;
    opacity: 1;
    visibility: visible;
    flex-direction: row;
  }
}
.nav__link, .nav__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.75rem;
  border-radius: 0.6rem;
  font-weight: 500;
  line-height: 1;
  color: #1b1f2b;
  background: transparent;
  border: 0;
  cursor: pointer;
  text-align: left;
}
.nav__link:hover, .nav__btn:hover {
  background: linear-gradient(90deg, rgba(37, 132, 248, 0.08), rgba(4, 221, 178, 0.08));
}
.nav__dropdown {
  position: relative;
}
.nav__menu {
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  display: none;
  flex-direction: column;
  background: #fff;
  border: 1px solid #eef2f7;
  border-radius: 0.6rem;
  box-shadow: 0 0.5rem 1.25rem rgba(2, 8, 23, 0.06);
  /* En desktop, desplegable absoluto */
}
@media (min-width: 768px) {
  .nav__menu {
    position: absolute;
    top: calc(100% + 0.35rem);
    left: 0;
    min-width: 20rem;
  }
}
.nav {
  /* Mostrar menú cuando el dropdown está expandido (móvil y desktop) */
}
.nav__dropdown[aria-expanded=true] .nav__menu {
  display: flex;
}
.nav {
  /* Rotar chevron cuando está abierto */
}
.nav__dropdown[aria-expanded=true] .fa-chevron-down {
  transform: rotate(180deg);
  transition: transform 0.2s;
}

/* Bloqueo de scroll cuando el menú móvil está abierto */
.no-scroll {
  overflow: hidden;
}

/* ===========================
   Página: Productos (SGH)
   =========================== */
.prod {
  color: #1b1f2b;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  /* Base de lectura grande */
}
.prod p {
  font-size: clamp(1.1rem, 0.9vw + 1rem, 1.4rem);
  line-height: 1.7;
}

/* Contenedor consistente con el sitio */
.prod .container {
  max-width: 1100px;
  margin-inline: auto;
  padding-inline: 1rem;
}

/* ===== Hero ===== */
.prod__hero {
  padding: 3rem 0 1.6rem;
  background: linear-gradient(180deg, #071829 0%, #0b1324 100%);
  color: #e7ecf5;
  position: relative;
  overflow: hidden;
}
.prod__hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(0.95rem, 0.5vw + 0.85rem, 1.05rem);
  opacity: 0.85;
  margin: 0 0 0.45rem;
}
.prod__hero .prod__title {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2.4rem, 2vw + 1.6rem, 3.4rem);
  line-height: 1.08;
  margin: 0.2rem 0 0.8rem;
}
.prod__hero .prod__lead {
  max-width: 60ch;
  font-size: clamp(1.2rem, 1vw + 1.05rem, 1.45rem);
  opacity: 0.95;
}
.prod__hero .prod__actions {
  display: flex;
  gap: 1rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}
.prod__hero .prod__actions .btn {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  border-radius: 0.9rem;
}
.prod__hero .prod__actions .btn--primary {
  background-color: #2584f8;
  padding: 1rem 1.6rem;
  color: #ffffff;
  font-weight: 700;
  border: 0;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: filter 0.2s ease, background-color 0.2s ease;
}
.prod__hero .prod__actions .btn--primary:hover {
  filter: brightness(1.05);
  cursor: pointer;
}
.prod__hero .prod__actions .btn--ghost {
  background-color: transparent;
  padding: 1rem 1.6rem;
  color: #ffffff;
  font-weight: 700;
  border: 0;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: filter 0.2s ease, background-color 0.2s ease;
}
.prod__hero .prod__actions .btn--ghost:hover {
  filter: brightness(1.05);
  cursor: pointer;
}
.prod__hero .prod__actions .btn--ghost {
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.prod__hero .prod__actions .btn--ghost:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* Imagen del hero */
.prod__hero-media {
  position: absolute;
  inset: auto 0 -10% 50%;
  transform: translateX(-50%);
  opacity: 0.12;
  z-index: 1;
}
.prod__hero-media picture, .prod__hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9; /* alinea con tus capturas (cámbialo si usas 1920x800 → 12/5) */
  object-fit: cover;
  max-width: none; /* quita el tope de 1200px */
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
}

/* ===== Beneficios ===== */
.prod__bullets {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr; /* mobile-first */
  padding: 2.4rem 1rem;
  margin-top: 0.8rem;
}
.prod__bullets .bullet {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 1.2rem;
  display: grid;
  gap: 0.55rem;
}
.prod__bullets .bullet h3 {
  font-weight: 900;
  margin: 0;
  font-size: clamp(1.35rem, 1.2vw + 1.1rem, 1.8rem);
  line-height: 1.25;
}
.prod__bullets .bullet i {
  font-size: 1.55rem;
  color: #04ddb2;
}
.prod__bullets .bullet p {
  margin: 0;
  color: #64748b;
  font-size: clamp(1.15rem, 0.8vw + 1rem, 1.55rem);
}
@media (min-width: 768px) {
  .prod__bullets {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ===== Features / módulos ===== */
.prod__features {
  padding: 2.4rem 0;
  background: #f7f9fc;
}
.prod__features .section-title {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.1rem);
  margin: 0 0 1.2rem;
}
.prod__features .feat-grid {
  display: grid;
  gap: 1.2rem;
  grid-template-columns: 1fr; /* mobile-first */
}
@media (min-width: 768px) {
  .prod__features .feat-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.prod__features .card {
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 14px;
  padding: 1.2rem;
}
.prod__features .card h4 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.3rem, 1vw + 1.05rem, 1.65rem);
  font-weight: 900;
  line-height: 1.25;
}
.prod__features .card i {
  color: #2584f8;
  margin-right: 0.5rem;
}
.prod__features .card p {
  margin: 0;
  color: #64748b;
  font-size: clamp(1.15rem, 0.8vw + 1rem, 1.55rem);
}

/* ===== Flujo ===== */
.prod__flow {
  padding: 2.4rem 1rem;
}
.prod__flow .section-title {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.1rem);
  margin: 0 0 1rem;
}
.prod__flow .flow {
  margin: 0;
  padding-left: 1.2rem;
  display: grid;
  gap: 0.6rem;
}
.prod__flow .flow li {
  line-height: 1.75;
  font-size: clamp(1.2rem, 0.9vw + 1.05rem, 1.55rem);
}

/* ===== Galería ===== */
.prod__gallery {
  padding: 2.4rem 0;
  background: #ffffff;
}
.prod__gallery .section-title {
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(1.6rem, 1.4vw + 1.1rem, 2.1rem);
  margin: 0 0 1.2rem 1rem;
}
.prod__gallery {
  /* 1 col → 2 col ≥480 → 3 col ≥768 */
}
.prod__gallery .gal-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}
@media (min-width: 480px) {
  .prod__gallery .gal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 768px) {
  .prod__gallery .gal-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.prod__gallery .gal {
  display: grid;
  gap: 0.45rem;
  background: #ffffff;
  border: 1px solid #eef2f7;
  border-radius: 12px;
  padding: 0.7rem;
  text-decoration: none;
  color: inherit;
}
.prod__gallery .gal picture, .prod__gallery .gal img {
  display: block;
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  border-radius: 10px;
}
.prod__gallery .gal span {
  font-size: clamp(1.05rem, 0.7vw + 0.95rem, 1.4rem);
  color: #64748b;
}

/* ===== CTA ===== */
.prod__cta {
  padding: 2.6rem 1rem 3.2rem;
  text-align: center;
  background: linear-gradient(180deg, #0b1324 0%, #071829 100%);
  color: #e7ecf5;
}
.prod__cta h2 {
  margin: 0 0 0.7rem;
  font-family: "Plus Jakarta Sans", "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 900;
  font-size: clamp(2rem, 1.6vw + 1.3rem, 2.4rem);
}
.prod__cta p {
  margin: 0 0 1.2rem;
  opacity: 0.9;
  font-size: clamp(1.2rem, 0.8vw + 1.05rem, 1.4rem);
}
.prod__cta .btn--primary {
  background-color: #2584f8;
  padding: 1rem 1.6rem;
  color: #ffffff;
  font-weight: 700;
  border: 0;
  border-radius: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: filter 0.2s ease, background-color 0.2s ease;
}
.prod__cta .btn--primary:hover {
  filter: brightness(1.05);
  cursor: pointer;
}

/* Utilidad global */
.no-scroll {
  overflow: hidden;
}

/* ===== Animaciones (mobile-first, sin dependencias) ===== */
.prod {
  /* variables de animación */
  --anim-duracion: .7s;
  --anim-easing: cubic-bezier(.21,.61,.35,1);
}

/* Elemento animable (inicia oculto/sutilmente desplazado) */
.animable {
  opacity: 0;
  transform: translateY(14px);
  filter: blur(0);
  transition: opacity var(--anim-duracion) var(--anim-easing), transform var(--anim-duracion) var(--anim-easing), filter var(--anim-duracion) var(--anim-easing);
  will-change: opacity, transform, filter;
  /* Soporte para “stagger”: cada elemento puede traer --i (índice) para retardar */
  transition-delay: calc(var(--anim-retardo, 0ms) + var(--i, 0) * 90ms);
}

/* Estado visible */
.esta-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Variantes */
.anim--arriba { /* ya cubierto por defecto con translateY */ }

.anim--escala {
  transform: translateY(8px) scale(0.98);
}

.anim--opacidad {
  transform: none;
  filter: blur(6px);
}

/* Cuando aparecen, limpian el blur si lo hubiera */
.esta-visible.anim--opacidad {
  filter: blur(0);
}

/* Imagen del hero — ocupa 100% del viewport y usa 16:9 si tus capturas son 16:9 */
.prod__hero-media {
  position: absolute;
  inset: auto 0 -8% 50%; /* un poquito menos de -10% para que no se “corte” */
  transform: translateX(-50%) translateY(var(--parallax, 0px));
  opacity: 0.14; /* como lo traías, apenas visible detrás del texto */
  z-index: 1;
  pointer-events: none; /* que no intercepte clics del hero */
}
.prod__hero-media picture, .prod__hero-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 12/5; /* alinea con tus capturas (cámbialo si usas 1920x800 → 12/5) */
  object-fit: cover;
  max-width: none; /* quita el tope de 1200px */
  filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.4));
}

/* Respeto a usuarios que reducen movimiento */
@media (prefers-reduced-motion: reduce) {
  .animable {
    transition: none !important;
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
  }
}
/*# sourceMappingURL=app.css.map */
