/* ════════════════════════════════════════════════════════════
   INFORMÁTICA SOLER — styles.css
   Estilo 2: Blanco perla & azul marino
   Paleta: pearl (#f0f7ff) · white (#fff) · navy (#0c2558)
           cobalt (#104fa0) · cyan (#1ea6eb) · sky (#52c4f8)
   Tipografía: Cormorant Garamond (serif) + Outfit (body)
   Iconos: Material Symbols Outlined weight-200
════════════════════════════════════════════════════════════ */


/* ─── Variables ──────────────────────────────────────────── */

:root {
  --c-pearl:      #f0f7ff;
  --c-white:      #ffffff;
  --c-ice:        #e4f1fb;
  --c-navy:       #0c2558;
  --c-cobalt:     #104fa0;
  --c-cyan:       #1ea6eb;
  --c-sky:        #52c4f8;

  --t-hi:         #0a1f3e;
  --t-body:       #1a2d45;
  --t-mid:        #3a5a7f;
  --t-lo:         #7a9ab5;

  --b-light:      rgba(16, 79, 160, .15);
  --b-mid:        rgba(16, 79, 160, .28);
  --b-cyan:       rgba(30, 166, 235, .35);

  --serif:        'Cormorant Garamond', Georgia, serif;
  --sans:         'Outfit', system-ui, sans-serif;

  --r:            10px;
  --r-lg:         18px;
  --r-xl:         26px;

  --shadow-sm:    0 2px 12px rgba(12, 37, 88, .08);
  --shadow:       0 4px 28px rgba(12, 37, 88, .14);
  --shadow-blue:  0 6px 28px rgba(30, 166, 235, .32);

  --tr:           .3s cubic-bezier(.4, 0, .2, 1);
  --mw:           1200px;
}


/* ─── Reset ──────────────────────────────────────────────── */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  background: var(--c-pearl);
  color: var(--t-body);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  font-size: 16px;
}

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

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

ul {
  list-style: none;
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  user-select: none;
  line-height: 1;
}


/* ─── Layout ─────────────────────────────────────────────── */

.container {
  width: 88%;
  max-width: var(--mw);
  margin-inline: auto;
}

.section {
  padding: 110px 0;
}


/* ─── Tipografía ─────────────────────────────────────────── */

h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--t-hi);
  margin-bottom: 18px;
  letter-spacing: -.01em;
}

h2 em {
  font-style: italic;
  color: var(--c-cyan);
}

h2.h2-inv {
  color: #fff;
}

h2.h2-inv em {
  color: var(--c-sky);
}

.tag {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: #ffffff !important;
  background: var(--c-cobalt);
  border: 1.5px solid var(--c-cobalt);
  padding: 7px 16px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.tag.tag-alt {
  color: #ffffff !important;
  background: var(--c-cyan);
  border-color: var(--c-cyan);
}

.sec-hd {
  text-align: center;
  margin-bottom: 64px;
}

.sec-sub {
  font-size: 1.1rem;
  color: var(--t-mid);
  max-width: 560px;
  margin-inline: auto;
  line-height: 1.8;
}


.sec-sub-hosting {
  color: var(--c-pearl);
}

.sec-sub-software {
  color: var(--c-pearl);
}

.sec-sub.sec-inv {
  color: rgba(255, 255, 255, .72);
}

.sec-rule {
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, var(--c-cyan), var(--c-cobalt));
  border-radius: 2px;
  margin: 14px auto 0;
}


/* ─── Section Banner ──────────────────────────────────────── */

.section-banner {
  margin-bottom: 52px;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--tr), box-shadow var(--tr);
  display: flex;
  align-items: center;
  aspect-ratio: 16 / 6;
}

.section-banner:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(12, 37, 88, .15);
}

.section-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform .4s ease;
}

.section-banner:hover img {
  transform: scale(1.02);
}

/* ── Alturas específicas por sección ── */

/* SERVICIOS - priorizar parte derecha */
.servicios .section-banner img {
  object-position: right center;
}

/* Responsive: reducir altura en tablets */

/* ─── Botones ────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: var(--tr);
  white-space: nowrap;
}

.btn .material-symbols-outlined {
  font-size: 18px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--c-cobalt), var(--c-cyan));
  color: #fff;
  box-shadow: var(--shadow-blue);
  border-color: transparent;
  background-clip: padding-box;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 36px rgba(30, 166, 235, .42);
}

.btn-navy {
  background: var(--c-navy);
  color: #fff;
  box-shadow: 0 6px 24px rgba(12, 37, 88, .25);
}

.btn-navy:hover {
  transform: translateY(-2px);
  background: var(--c-cobalt);
}

.btn-outline {
  background: transparent;
  color: var(--c-navy);
  border-color: rgba(12, 37, 88, .25);
}

.btn-outline:hover {
  background: var(--c-navy);
  color: #fff;
  border-color: var(--c-navy);
}

.btn-outline-inv {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, .35);
}

.btn-outline-inv:hover {
  background: rgba(255, 255, 255, .12);
  border-color: rgba(255, 255, 255, .6);
}

.btn-full {
  width: 100%;
  justify-content: center;
}


/* ─── Reveal animation ───────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}

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


/* ════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════ */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 80px;
  padding: 8px 0;
  display: flex;
  align-items: center;
  background: rgba(224, 238, 252, .99);
  box-shadow: 0 1px 0 rgba(16, 79, 160, .12), 0 4px 20px rgba(12, 37, 88, .08);
  transition: box-shadow var(--tr);
}

.site-header.scrolled {
  background: rgba(220, 235, 250, .98);
  box-shadow: 0 1px 0 rgba(16, 79, 160, .15), 0 6px 28px rgba(12, 37, 88, .12);
}

.nav-inner {
  width: 88%;
  max-width: var(--mw);
  margin-inline: auto;
  display: flex;
  align-items: center;
}

/* Logo sin fondo extra — ya hay fondo blanco */
.nav-logo {
  position: fixed;
  top: 0;
  left: 3%;
  z-index: 101;
  display: flex;
  align-items: center;
  height: 80px;
  padding: 4px 0;
}

.nav-logo img {
  height: 72px;
  width: auto;
}

.nav-logo-placeholder {
  width: 190px;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

/* Link base — sin subrayado, con pill */
.nav-links a {
  font-size: .87rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--t-mid);
  padding: 6px 14px;
  border-radius: 50px;
  transition: color .25s ease, background .25s ease;
}

/* Sin pseudo-elemento ::after */
.nav-links a::after {
  display: none;
}

/* Hover: pill suave (excluye el CTA) */
.nav-links a:not(.nav-cta):hover {
  color: var(--c-cobalt) !important;
  background: rgba(16, 79, 160, .07);
}

/* Active: pill más marcado (excluye el botón CTA) */
.nav-links a.active:not(.nav-cta) {
  color: var(--c-cobalt) !important;
  background: rgba(16, 79, 160, .11);
  font-weight: 600;
}

.site-header.scrolled .nav-links a {
  color: var(--t-mid);
}

.site-header.scrolled .nav-links a:not(.nav-cta):hover {
  color: var(--c-cobalt) !important;
  background: rgba(16, 79, 160, .07);
}

.site-header.scrolled .nav-links a.active:not(.nav-cta) {
  color: var(--c-cobalt) !important;
  background: rgba(16, 79, 160, .11);
}

/* ── Botón Contacto ── */
/* Estado normal: gradiente cobalt→cyan */
.nav-cta {
  background: linear-gradient(135deg, var(--c-cobalt), var(--c-cyan)) !important;
  color: #fff !important;
  padding: 7px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  border: none !important;
  box-shadow: 0 3px 14px rgba(30, 166, 235, .3);
  transition: transform .25s ease, box-shadow .25s ease, background .3s ease !important;
  /* Anular pill de fondo del estado normal/activo */
  background-clip: padding-box;
}

/* Anular ::after heredado */
.nav-cta::after {
  display: none !important;
}

/* Hover: sube ligeramente */
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 10px 32px rgba(30, 166, 235, .7), 0 4px 12px rgba(12, 37, 88, .25) !important;
  background: linear-gradient(135deg, var(--c-cobalt), var(--c-cyan)) !important;
  color: #fff !important;
}

/* Active (sección contacto visible): efecto pulsado */
.nav-cta.active,
.nav-links a.nav-cta.active {
  background: linear-gradient(135deg, var(--c-cobalt), var(--c-cyan)) !important;
  color: #fff !important;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .35), inset 0 1px 3px rgba(0, 0, 0, .2), 0 3px 14px rgba(30, 166, 235, .3) !important;
  transform: translateY(1px);
  outline: 2px solid rgba(255, 255, 255, .25);
  outline-offset: -3px;
}

/* Forzar letra blanca en el CTA siempre — anula cualquier herencia de .active */
.nav-links .nav-cta,
.nav-links .nav-cta:hover,
.nav-links .nav-cta.active,
.site-header .nav-links .nav-cta,
.site-header .nav-links .nav-cta.active {
  color: #fff !important;
}

.site-header.scrolled .nav-cta {
  background: linear-gradient(135deg, var(--c-cobalt), var(--c-cyan)) !important;
  box-shadow: 0 3px 14px rgba(30, 166, 235, .3);
}

.site-header.scrolled .nav-cta.active {
  background: linear-gradient(135deg, var(--c-cobalt), var(--c-cyan)) !important;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, .35), inset 0 1px 3px rgba(0, 0, 0, .2), 0 3px 14px rgba(30, 166, 235, .3) !important;
  transform: translateY(1px);
  outline: 2px solid rgba(255, 255, 255, .25);
  outline-offset: -3px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  margin-left: auto;
  z-index: 102;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--t-mid);
  border-radius: 2px;
  transition: var(--tr);
}

.site-header.scrolled .nav-toggle span {
  background: var(--t-mid);
}

/* Botón X dentro del menú abierto */
.nav-close {
  display: none;
  position: absolute;
  top: 24px;
  right: 24px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s ease;
}

.nav-close:hover {
  background: rgba(255,255,255,.2);
}

.nav-close .material-symbols-outlined {
  font-size: 22px;
  line-height: 1;
}

/* ── Botón scroll to top ── */
.scroll-top {
  position: fixed;
  bottom: 32px;
  right: 28px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--c-cobalt), var(--c-cyan));
  color: #fff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 18px rgba(30,166,235,.4);
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
  transition: opacity .3s ease, transform .3s ease;
  z-index: 150;
}

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

.scroll-top:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30,166,235,.5);
}

.scroll-top .material-symbols-outlined {
  font-size: 24px;
}


/* ════════════════════════════════════════════════════════════
   HERO — imagen de portada + overlay gradiente
════════════════════════════════════════════════════════════ */

.hero {
  position: relative;
  background: url('/img/cabecera-inicio-1.jpg') center 32% / cover no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 130px 6% 100px;
  overflow: hidden;
}

/* Overlay oscuro para mejorar contraste del texto */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse at center,
    rgba(12, 37, 88, 0.3) 0%,
    rgba(12, 37, 88, 0.5) 50%,
    rgba(12, 37, 88, 0.6) 100%
  );
  z-index: 0;
}

/* Grid sutil sobre la imagen — eliminado de aquí, será el ::before */

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hbg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
}

.hbg-orb-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(216, 238, 251, .18), transparent 70%);
  top: -200px;
  right: -100px;
  animation: orb-drift 16s ease-in-out infinite alternate;
}

.hbg-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 255, 255, .12), transparent 70%);
  bottom: -120px;
  left: -80px;
  animation: orb-drift 20s ease-in-out infinite alternate-reverse;
}

@keyframes orb-drift {
  from { transform: translate(0, 0); }
  to   { transform: translate(40px, 28px); }
}

.hero-layout {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 820px;
}

/* Logo oculto en el hero (se usa solo en nav y footer) */
.hero-logo-col  { display: none; }
.hero-logo-ring { display: none; }
.hero-logo      { display: none; }

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.hero-location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: .73rem;
  font-weight: 600;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .5);
  margin-bottom: 20px;
}

.hero-location .material-symbols-outlined {
  font-size: 14px;
  color: var(--c-sky);
}

.hero-title {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.2rem);
  font-weight: 700;
  line-height: 1.08;
  color: #fff;
  letter-spacing: -.025em;
  margin-bottom: 22px;
  text-align: center;
  text-shadow: 0 2px 8px rgba(0, 0, 0, .4);
}

.hero-title em {
  font-style: italic;
  color: var(--c-sky);
}

.hero-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, .95);
  line-height: 1.8;
  max-width: 580px;
  margin-bottom: 38px;
  text-align: center;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 52px;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, .18);
}

.hstat {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hstat strong {
  font-family: var(--serif);
  font-size: 2.1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hstat span {
  font-size: .7rem;
  color: rgba(255, 255, 255, .48);
  letter-spacing: .04em;
}

.hstat-sep {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, .18);
}

.hero-scroll {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

.hero-scroll-dot {
  width: 7px;
  height: 7px;
  background: rgba(255, 255, 255, .45);
  border-radius: 50%;
  animation: sdot 2.2s ease-in-out infinite;
}

@keyframes sdot {
  0%, 100% { transform: translateY(0);    opacity: .55; }
  50%       { transform: translateY(10px); opacity: .18; }
}

/* Ola de transición al contenido */
.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  line-height: 0;
  z-index: 2;
}

.hero-wave svg {
  display: block;
  width: 100%;
}


/* ════════════════════════════════════════════════════════════
   SOBRE NOSOTROS
════════════════════════════════════════════════════════════ */

.sobre {
  background: var(--c-white);
}

.sobre-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

.sobre-left p {
  margin-bottom: 16px;
  font-size: 1.02rem;
  color: var(--t-body);
  line-height: 1.85;
}

.sobre-left strong {
  color: var(--c-cobalt);
  font-weight: 600;
}

.sobre-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.vcard {
  background: var(--c-pearl);
  border: 1.5px solid var(--b-light);
  border-radius: var(--r-lg);
  padding: 26px 22px;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.vcard:hover {
  transform: translateY(-4px);
  border-color: var(--b-cyan);
  box-shadow: var(--shadow);
}

.vcard-ic {
  font-size: 24px !important;
  color: var(--c-cobalt);
  margin-bottom: 12px;
  display: block;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.vcard h4 {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--t-hi);
  margin-bottom: 8px;
}

.vcard p {
  font-size: .92rem;
  color: var(--t-mid);
  line-height: 1.65;
}


/* ════════════════════════════════════════════════════════════
   SERVICIOS
════════════════════════════════════════════════════════════ */

.servicios {
  background: var(--c-pearl);
}

/* ── Layout filas ── */
.svc-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Fila de servicio ── */
.svc-card {
  background: var(--c-white);
  border: 1px solid var(--b-light);
  border-radius: 18px;
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 52px 1fr 1fr;
  gap: 0 24px;
  align-items: start;
  position: relative;
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

/* Línea de acento izquierda */
.svc-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--c-cobalt), var(--c-cyan));
  transform: scaleY(0);
  transform-origin: top;
  border-radius: 0 0 0 18px;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}

.svc-card:hover::before { transform: scaleY(1); }

.svc-card:hover {
  transform: translateX(4px);
  border-color: rgba(16, 79, 160, .25);
  box-shadow: 0 8px 32px rgba(12, 37, 88, .09);
}

/* ── Columna 1: icono ── */
.svc-card-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding-top: 2px;
}

.svc-ic-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16,79,160,.1), rgba(30,166,235,.08));
  border: 1px solid rgba(16,79,160,.12);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .3s ease, border-color .3s ease;
}

.svc-card:hover .svc-ic-wrap {
  background: linear-gradient(135deg, rgba(16,79,160,.16), rgba(30,166,235,.14));
  border-color: rgba(30,166,235,.3);
}

.svc-ic {
  font-size: 24px !important;
  color: var(--c-cobalt);
  display: block;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  transition: color .3s ease;
}

.svc-card:hover .svc-ic { color: var(--c-cyan); }

.svc-num {
  display: none;
}

/* ── Columna 2: texto intro ── */
.svc-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 16px;
  border-right: 1px solid var(--b-light);
}

.svc-card h3 {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--t-hi);
  line-height: 1.2;
  letter-spacing: -.01em;
  margin-bottom: 8px;
}

.svc-card p {
  font-size: .92rem;
  color: var(--t-body);
  line-height: 1.75;
  margin: 0;
}

.svc-detail {
  font-size: .88rem !important;
  color: var(--t-mid) !important;
  line-height: 1.7;
}

.svc-card strong { color: var(--c-cobalt); font-weight: 600; }

/* ── Columna 3: lista / bloque ── */
.svc-block {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.svc-block + .svc-block {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--b-light);
}

.svc-divider { display: none; }

.svc-sub {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-cobalt);
  opacity: .75;
  margin: 0;
}

.svc-card ul {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}

.svc-card li {
  font-size: .9rem;
  color: var(--t-mid);
  padding-left: 15px;
  position: relative;
  line-height: 1.6;
}

.svc-card li::before {
  content: '';
  position: absolute;
  left: 2px; top: 7px;
  width: 5px; height: 5px;
  border-radius: 50%;
  background: var(--c-cyan);
  opacity: .55;
  transition: opacity .25s ease;
}

.svc-card:hover li::before { opacity: 1; }

.process-list {
  padding-left: 16px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin: 0;
}

.process-list li {
  font-size: .81rem;
  color: var(--t-mid);
  line-height: 1.5;
}

.mini-plans {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mini-plan {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--c-pearl);
  border: 1px solid var(--b-light);
  border-radius: var(--r);
  padding: 7px 12px;
}

.mini-plan strong {
  font-family: var(--serif);
  font-size: .9rem;
  color: var(--t-hi);
  min-width: 80px;
}

.mini-plan span {
  font-size: .77rem;
  color: var(--t-lo);
  flex: 1;
}

.mini-plan a {
  font-size: .74rem;
  color: var(--c-cobalt);
  font-weight: 600;
}

.mini-plan a:hover { color: var(--c-cyan); }

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.svc-tags span {
  font-size: .71rem;
  font-weight: 600;
  color: var(--c-cobalt);
  background: rgba(16,79,160,.07);
  border: 1px solid rgba(16,79,160,.18);
  padding: 3px 10px;
  border-radius: 50px;
}


/* ════════════════════════════════════════════════════════════
   SOFTWARE — fondo navy
════════════════════════════════════════════════════════════ */

.software {
  background: var(--c-navy);
  position: relative;
  overflow: hidden;
}

.software::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px);
  background-size: 48px 48px;
}

.sw-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  position: relative;
  z-index: 1;
}

.sw-card-wide {
  grid-column: 1 / -1;
}

.sw-card {
  background: rgba(255, 255, 255, .05);
  border: 1.5px solid rgba(255, 255, 255, .15);
  border-radius: var(--r-xl);
  padding: 44px 40px;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.sw-card:hover {
  transform: translateY(-4px);
  border-color: rgba(30, 166, 235, .4);
  box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
}

.sw-card-header {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 24px;
}

.sw-ic {
  font-size: 34px !important;
  color: var(--c-sky);
  flex-shrink: 0;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.sw-tag {
  font-size: .66rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-bottom: 4px;
}

.sw-card h3 {
  font-family: var(--serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 10px;
}

.sw-tag {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--c-sky);
  margin-bottom: 6px;
}

.sw-sub {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, .55);
  margin-top: 4px;
  line-height: 1.6;
  font-weight: 500;
}

.sw-card p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, .85);
  line-height: 1.85;
  margin-bottom: 14px;
}

.sw-card strong {
  color: var(--c-sky);
  font-weight: 700;
}

.sw-card ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
}

.sw-card li {
  font-size: 1.02rem;
  color: rgba(255, 255, 255, .70);
  padding-left: 18px;
  position: relative;
  line-height: 1.75;
}

.sw-card li::before {
  content: '›';
  position: absolute;
  left: 0;
  color: var(--c-cyan);
  font-weight: 700;
  line-height: 1.5;
}

.sw-btn {
  margin-top: 12px;
  font-size: 1rem;
  padding: 14px 32px;
}

.sw-btn .material-symbols-outlined {
  font-size: 20px;
}

.odoo-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}

.odoo-features span {
  font-size: .74rem;
  font-weight: 500;
  color: var(--c-sky);
  background: rgba(30, 166, 235, .1);
  border: 1px solid rgba(30, 166, 235, .22);
  padding: 4px 12px;
  border-radius: 50px;
}


/* ════════════════════════════════════════════════════════════
   FORMACIÓN
════════════════════════════════════════════════════════════ */

.formacion {
  background: var(--c-ice);
}

.form-cats {
  display: flex;
  flex-direction: column;
  gap: 48px;
}

.form-cat-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--t-hi);
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--b-light);
}

.form-cat-title .material-symbols-outlined {
  color: var(--c-cobalt);
  font-size: 20px !important;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 14px;
}

.course-card {
  background: var(--c-white);
  border: 1px solid var(--b-light);
  border-radius: var(--r-lg);
  padding: 22px 20px;
  transition: transform var(--tr), box-shadow var(--tr), border-color var(--tr);
}

.course-card:hover {
  transform: translateY(-3px);
  border-color: var(--b-mid);
  box-shadow: var(--shadow-sm);
}

.course-card h4 {
  font-family: var(--serif);
  font-size: 1.08rem;
  font-weight: 600;
  color: var(--t-hi);
  margin-bottom: 12px;
  line-height: 1.3;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.course-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: .78rem;
  color: var(--t-mid);
}

.course-meta .material-symbols-outlined {
  font-size: 14px !important;
  color: var(--c-cobalt);
}

.course-modes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.mode-btn {
  font-size: .72rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 50px;
  border: 1px solid rgba(16, 79, 160, .22);
  color: var(--c-cobalt);
  background: rgba(16, 79, 160, .06);
  transition: var(--tr);
}

.mode-btn:hover {
  background: var(--c-cobalt);
  color: #fff;
  border-color: var(--c-cobalt);
}

.mode-btn-online {
  color: var(--c-cyan);
  border-color: rgba(30, 166, 235, .25);
  background: rgba(30, 166, 235, .06);
}

.mode-btn-online:hover {
  background: var(--c-cyan);
  color: #fff;
  border-color: var(--c-cyan);
}

.formacion-cta {
  text-align: center;
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--b-light);
}

.formacion-cta p {
  font-size: 1rem;
  color: var(--t-mid);
  margin-bottom: 20px;
}


/* ════════════════════════════════════════════════════════════
   HOSTING — gradiente cobalt → cyan
════════════════════════════════════════════════════════════ */

.hosting {
  background: linear-gradient(150deg, var(--c-cobalt) 0%, #1065b8 55%, var(--c-cyan) 100%);
  position: relative;
  overflow: hidden;
}

.hosting::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
  background-size: 52px 52px;
}

.hosting-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: 36px;
  position: relative;
  z-index: 1;
}

.hcard {
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  backdrop-filter: blur(8px);
  border-radius: var(--r-xl);
  padding: 42px 28px;
  text-align: center;
  position: relative;
  transition: transform var(--tr), box-shadow var(--tr);
}

.hcard:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, .2);
}

.hcard-pro {
  background: rgba(255, 255, 255, .92);
  border-color: rgba(255, 255, 255, .9);
  box-shadow: 0 8px 40px rgba(0, 0, 0, .15);
}

.hcard-pro .hcard-plan {
  color: var(--c-cobalt);
}

.hcard-pro .hcard-price strong {
  color: var(--c-navy);
}

.hcard-pro .hcard-desc {
  color: var(--t-mid);
}

.hcard-badge {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--c-navy);
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 18px;
  border-radius: 50px;
  white-space: nowrap;
}

.hcard-plan {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 22px;
}

.hcard-price {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1px;
  margin-bottom: 14px;
}

.hcard-price small {
  font-size: .76rem;
  color: rgba(255, 255, 255, .8);
}

.hcard-pro .hcard-price small {
  color: var(--t-lo);
}

.hcard-price strong {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.hcard-custom {
  font-size: 1.7rem !important;
}

.hcard-desc {
  font-size: .86rem;
  color: rgba(255, 255, 255, .9);
  margin-bottom: 28px;
}

.hcard .btn {
  min-width: 160px;
  justify-content: center;
}

.hosting-note {
  text-align: center;
  font-size: .88rem;
  color: rgba(255, 255, 255, .8);
  max-width: 560px;
  margin-inline: auto;
  position: relative;
  z-index: 1;
}


/* ════════════════════════════════════════════════════════════
   CONTACTO
════════════════════════════════════════════════════════════ */

.contacto {
  background: var(--c-white);
}

.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* Info blocks en 2 columnas */
.contact-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* El mapa ocupa las 2 columnas */
.contact-map-wrap {
  grid-column: 1 / -1;
}

.cblock {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: var(--c-pearl);
  border: 1px solid var(--b-light);
  border-radius: var(--r);
  padding: 16px 18px;
  transition: border-color var(--tr), box-shadow var(--tr);
}

.cblock:hover {
  border-color: var(--b-mid);
  box-shadow: var(--shadow-sm);
}

.cblock > .material-symbols-outlined {
  font-size: 20px !important;
  color: var(--c-cobalt);
  flex-shrink: 0;
  margin-top: 2px;
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
}

.cblock h4 {
  font-family: var(--serif);
  font-size: .95rem;
  font-weight: 600;
  color: var(--t-hi);
  margin-bottom: 3px;
}

.cblock p,
.cblock a {
  font-size: .84rem;
  color: var(--t-mid);
  line-height: 1.5;
}

.cblock a:hover {
  color: var(--c-cobalt);
}

/* Mapa */
.contact-map {
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid var(--b-light);
}

.contact-map iframe {
  width: 100%;
  height: 390px;
  display: block;
  border: none;
}

/* Formulario a ancho completo */
.contact-form {
  background: var(--c-pearl);
  border: 1px solid var(--b-light);
  border-radius: var(--r-xl);
  padding: 40px 38px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  box-shadow: var(--shadow-sm);
}

/* Nombre y Email en la primera fila (2 cols cada uno) */
.contact-form .fg:nth-child(1),
.contact-form .fg:nth-child(2) {
  grid-column: span 2;
}

/* Teléfono y Servicio en la segunda fila (2 cols cada uno) */
.contact-form .fg:nth-child(3),
.contact-form .fg:nth-child(4) {
  grid-column: span 2;
}

.fg {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.fg-full {
  grid-column: 1 / -1;
}

.fg label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--t-hi);
  margin-bottom: 8px;
}

.fg input,
.fg select,
.fg textarea {
  padding: 14px 16px;
  background: var(--c-white);
  border: 1.5px solid var(--b-light);
  border-radius: var(--r);
  color: var(--t-hi);
  font-family: var(--sans);
  font-size: .98rem;
  outline: none;
  transition: border-color var(--tr), box-shadow var(--tr);
  width: 100%;
  line-height: 1.6;
}

.fg input::placeholder,
.fg textarea::placeholder {
  color: var(--t-lo);
  font-size: .95rem;
}

.fg select {
  cursor: pointer;
  padding: 14px 16px;
}

.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--c-cobalt);
  box-shadow: 0 0 0 4px rgba(16, 79, 160, .12);
}

.fg textarea {
  resize: vertical;
  min-height: 140px;
}

.form-note {
  font-size: .72rem;
  color: var(--t-lo);
  margin-top: 10px;
  text-align: center;
}

/* Mensaje de éxito — fuera del form, ocupa todo el ancho */
.form-ok {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 22px 24px;
  margin-top: 16px;
  background: rgba(16, 79, 160, .06);
  border: 1px solid rgba(16, 79, 160, .22);
  border-radius: var(--r-lg);
  color: var(--c-cobalt);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.4;
}

.form-ok[hidden] {
  display: none;
}

.form-ok .material-symbols-outlined {
  font-size: 28px !important;
  color: var(--c-cyan);
  flex-shrink: 0;
}


/* ════════════════════════════════════════════════════════════
   FOOTER — navy
════════════════════════════════════════════════════════════ */

.site-footer {
  background: linear-gradient(180deg, rgba(224, 238, 252, .97) 0%, rgba(224, 238, 252, .97) 20%, #104fa0 100%);
}

/* ── Zona superior: transparente — hereda gradiente ── */
.footer-top {
  background: transparent;
  border-bottom: 1px solid rgba(16, 79, 160, .12);
}

.footer-top-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 32px 0;
}

.footer-logo-link {
  flex-shrink: 0;
}

.footer-logo {
  height: 72px;
  width: auto;
  display: block;
  transition: opacity .25s ease;
}

.footer-logo:hover { opacity: .8; }

.footer-tagline {
  font-size: .88rem;
  color: var(--t-body);
  line-height: 1.6;
  flex: 1;
  max-width: 320px;
}

.footer-address {
  font-style: normal;
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-left: auto;
}

.footer-address > p {
  font-size: .82rem;
  color: var(--t-mid);
}

.footer-contact a {
  font-size: .82rem;
  color: var(--c-cobalt);
  transition: color .2s ease;
}

.footer-contact a:hover { color: var(--c-cyan); }

/* ── Zona inferior: transparente — hereda gradiente ── */
.footer-cols-wrap {
  background: transparent;
}

.footer-cols {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 40px;
  padding: 48px 0 44px;
}

.footer-col h5 {
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--c-cobalt);
  margin-bottom: 16px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: .82rem;
  color: var(--t-hi);
  transition: color .2s ease;
}

.footer-col a:hover { color: rgba(255,255,255,.92); }

.footer-bottom {
  background: transparent;
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: .74rem;
  color: rgba(255,255,255,.38);
  width: 88%;
  max-width: var(--mw);
  margin-inline: auto;
}


/* ── Overlay menú móvil (fuera del header) ── */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(8, 22, 60, .97);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 500;
  padding: 56px 24px 28px;
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
}

.nav-overlay.open {
  display: flex;
}

.nav-overlay .nav-close {
  position: absolute;
  top: 14px;
  right: 16px;
  display: flex;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  transition: background .2s ease;
  flex-shrink: 0;
}

.nav-overlay .nav-close:hover {
  background: rgba(255,255,255,.2);
}

.nav-overlay .nav-close .material-symbols-outlined {
  font-size: 22px;
}

.nav-menu-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
  padding: 0;
  margin: 0;
}

.nav-menu-list li {
  width: 100%;
  display: flex;
  justify-content: center;
}

.nav-menu-list a {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255,255,255,.88);
  padding: 9px 28px;
  border-radius: 50px;
  width: 100%;
  max-width: 260px;
  text-align: center;
  display: block;
  transition: background .2s ease, color .2s ease;
}

.nav-menu-list a:hover {
  background: rgba(255,255,255,.1);
  color: #fff;
}

.nav-menu-list .nav-cta {
  background: linear-gradient(135deg, var(--c-cobalt), var(--c-cyan)) !important;
  color: #fff !important;
  padding: 9px 32px !important;
  font-size: 1rem !important;
  font-weight: 600 !important;
  margin-top: 6px;
  box-shadow: 0 4px 18px rgba(30,166,235,.4);
}

/* ════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════ */

/* ── TABLETS GRANDES (768px+) - MEGA AUMENTOS ──────────────── */
@media (min-width: 768px) and (max-width: 1024px) {

  /* Títulos y encabezados */
  h2 {
    font-size: 2.4rem;
    line-height: 1.2;
    margin-bottom: 24px;
  }

  .tag {
    font-size: .82rem;
    padding: 8px 18px;
  }

  .tag.tag-alt {
    font-size: .82rem;
  }

  .sec-sub {
    font-size: 1.3rem;
    line-height: 1.9;
  }

  /* SERVICIOS */
  .svc-card h3 {
    font-size: 1.6rem;
    margin-bottom: 12px;
  }

  .svc-card p {
    font-size: 1.1rem;
    line-height: 1.85;
  }

  .svc-card li {
    font-size: 1.05rem;
    line-height: 1.75;
  }

  .svc-sub {
    font-size: .75rem;
  }

  .svc-detail {
    font-size: .95rem !important;
    line-height: 1.8 !important;
  }

  /* SOFTWARE - AUMENTOS MASIVOS */
  .sw-card {
    padding: 52px 48px;
  }

  .sw-card h3 {
    font-size: 2.6rem;
    line-height: 1.2;
    margin-bottom: 12px;
  }

  .sw-tag {
    font-size: .9rem;
    margin-bottom: 10px;
  }

  .sw-sub {
    font-size: 1.25rem;
    line-height: 1.7;
    margin-top: 8px;
  }

  .sw-card p {
    font-size: 1.35rem;
    line-height: 1.9;
    margin-bottom: 18px;
  }

  .sw-card li {
    font-size: 1.25rem;
    line-height: 1.85;
    padding-left: 22px;
    margin-bottom: 4px;
  }

  .sw-card ul {
    gap: 12px;
    margin-bottom: 36px;
  }

  .sw-card-header {
    gap: 24px;
    margin-bottom: 28px;
  }

  .sw-ic {
    font-size: 42px !important;
  }

  .sw-btn {
    font-size: 1.1rem;
    padding: 16px 36px;
  }

  .odoo-features {
    gap: 12px;
    margin: 24px 0 32px;
  }

  .odoo-features span {
    font-size: .9rem;
    padding: 7px 16px;
  }

  /* HOSTING */
  .hcard-plan {
    font-size: .78rem;
  }

  .hcard-price strong {
    font-size: 3.5rem;
  }

  .hcard-desc {
    font-size: .95rem;
  }

  /* CONTACTO */
  .cblock h4 {
    font-size: 1.15rem;
    margin-bottom: 5px;
  }

  .cblock p,
  .cblock a {
    font-size: .98rem;
    line-height: 1.75;
  }

  /* FORMULARIO */
  .fg label {
    font-size: .85rem;
    margin-bottom: 10px;
  }

  .fg input,
  .fg select,
  .fg textarea {
    font-size: 1.1rem;
    padding: 16px 18px;
  }

  .fg input::placeholder,
  .fg textarea::placeholder {
    font-size: 1.05rem;
  }

  .fg textarea {
    min-height: 160px;
  }

  /* BANNERS */
  /* Mantienen aspect-ratio consistente */
}

/* ── iPad Pro y tablets grandes (1100px - 1366px) ──────────── */
@media (min-width: 1101px) and (max-width: 1366px) {

  h2 {
    font-size: clamp(2.1rem, 4vw, 3rem);
  }

  .section {
    padding: 90px 0;
  }

  .sec-sub {
    font-size: 1.15rem;
  }

  .svc-card h3 {
    font-size: 1.4rem;
  }

  .svc-card p {
    font-size: .98rem;
  }

  .svc-card li {
    font-size: .95rem;
  }

  /* AUMENTOS DRÁSTICOS PARA SOFTWARE EN IPAD */
  .sw-card {
    padding: 48px 44px;
  }

  .sw-card h3 {
    font-size: 2.4rem;
  }

  .sw-tag {
    font-size: .85rem;
    margin-bottom: 8px;
  }

  .sw-sub {
    font-size: 1.15rem;
    margin-top: 6px;
  }

  .sw-card p {
    font-size: 1.25rem;
    margin-bottom: 16px;
  }

  .sw-card li {
    font-size: 1.15rem;
    padding-left: 20px;
    margin-bottom: 2px;
  }

  .sw-card ul {
    gap: 10px;
    margin-bottom: 32px;
  }

  .odoo-features {
    gap: 10px;
    margin: 20px 0 28px;
  }

  .odoo-features span {
    font-size: .82rem;
    padding: 6px 14px;
  }

  .cblock h4 {
    font-size: 1rem;
  }

  .cblock p,
  .cblock a {
    font-size: .9rem;
  }
}

/* ── Tablet grande (≤ 1100px) ──────────────────────────── */
@media (max-width: 1100px) {

  .sobre-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .footer-top-inner {
    flex-wrap: wrap;
    gap: 20px;
    padding: 28px 0;
  }

  .footer-tagline {
    max-width: 260px;
  }

  .footer-address {
    margin-left: 0;
    width: 100%;
  }

  .footer-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 40px 0 36px;
  }
}

/* ── Tablet (≤ 900px) ──────────────────────────────────── */
@media (max-width: 900px) {

  .site-header {
    min-height: 80px;
  }

  .nav-logo {
    height: 80px;
    padding: 4px 0;
  }

  .nav-logo img {
    height: 72px;
    width: auto;
  }

  .nav-logo-placeholder {
    width: 160px;
  }

  .svc-grid {
    gap: 14px;
  }

  .svc-card {
    grid-template-columns: 52px 1fr;
    grid-template-rows: auto auto;
    padding: 26px 28px;
  }

  .svc-card-body {
    border-right: none;
    border-bottom: 1px solid var(--b-light);
    padding-right: 0;
    padding-bottom: 14px;
    margin-bottom: 3px;
  }

  .svc-block {
    grid-column: 2;
  }

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

  .sw-card-wide {
    grid-column: auto;
  }

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

  /* El plan premium baja solo */
  .hosting-grid .hcard:last-child {
    grid-column: 1 / -1;
    max-width: 380px;
    margin-inline: auto;
  }
}

/* ── Móvil (≤ 768px) ───────────────────────────────────── */
@media (max-width: 768px) {

  .section {
    padding: 72px 0;
  }

  /* Header */
  .nav-toggle {
    display: flex;
  }

  /* nav-links en móvil: ocultar (el overlay lo reemplaza) */
  .nav-links {
    display: none !important;
  }

  /* Ocultar scroll-top cuando el overlay está abierto */
  body:has(.nav-overlay.open) .scroll-top {
    opacity: 0 !important;
    pointer-events: none !important;
  }

  .site-header {
    min-height: 80px;
  }

  .nav-logo {
    height: 80px;
    padding: 4px 0;
  }

  .nav-logo img {
    height: 58px;
    width: auto;
  }

  .nav-logo-placeholder {
    width: 130px;
  }

  /* Scroll-top más pequeño en móvil */
  .scroll-top {
    bottom: 20px;
    right: 16px;
    width: 42px;
    height: 42px;
  }

  /* Hero */
  .hero {
    padding: 100px 5% 72px;
    min-height: 100svh;
  }

  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .hero-desc {
    font-size: 1rem;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 18px;
  }

  .hstat-sep {
    display: none;
  }

  /* Sobre */
  .sobre-right {
    grid-template-columns: 1fr;
  }

  /* Servicios */
  .svc-card {
    display: flex;
    flex-direction: column;
    padding: 20px 18px;
    gap: 0;
  }

  .svc-card-head {
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    margin-bottom: 12px;
  }

  .svc-ic-wrap {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }

  .svc-num {
    margin-left: auto;
  }

  .svc-card-body {
    border-right: none;
    border-bottom: 1px solid var(--b-light);
    padding-right: 0;
    padding-bottom: 14px;
  }

  .svc-block {
    margin-top: 14px;
    padding-top: 0;
    border-top: none;
  }

  /* Hosting */
  .hosting-grid {
    grid-template-columns: 1fr;
  }

  .hosting-grid .hcard:last-child {
    grid-column: auto;
    max-width: 100%;
  }

  /* Contacto */
  .contact-info {
    grid-template-columns: 1fr;
  }

  .contact-form {
    grid-template-columns: 1fr 1fr;
    padding: 26px 20px;
  }

  /* Formación */
  .courses-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-top-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 24px 0;
  }

  .footer-address {
    margin-left: 0;
  }

  .footer-logo {
    height: 72px;
  }

  .footer-cols {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 36px 0 28px;
  }
}

/* ── Móvil pequeño (≤ 480px) ───────────────────────────── */
@media (max-width: 480px) {

  .nav-logo img {
    height: 54px;
    width: auto;
  }

  .container {
    width: 92%;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .sobre-right {
    grid-template-columns: 1fr;
  }

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

  .contact-form {
    grid-template-columns: 1fr;
    padding: 22px 16px;
  }

  .contact-form .fg:nth-child(1),
  .contact-form .fg:nth-child(2),
  .contact-form .fg:nth-child(3),
  .contact-form .fg:nth-child(4) {
    grid-column: span 1;
  }

  .hstat strong {
    font-size: 1.7rem;
  }
}

/* ════════════════════════════════════════════════════════════
   PÁGINAS LEGALES
════════════════════════════════════════════════════════════ */

.legal-header {
  background: rgba(224, 238, 252, .97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(16, 79, 160, .12);
  box-shadow: 0 1px 0 rgba(16, 79, 160, .1), 0 4px 20px rgba(12, 37, 88, .07);
  padding: 12px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.legal-header .wrap {
  width: 88%;
  max-width: var(--mw);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.legal-header .logo-img {
  height: 3.2rem;
  width: auto;
  display: block;
}

.back-btn {
  font-size: .84rem;
  font-weight: 500;
  color: var(--c-cobalt);
  padding: 6px 16px;
  border-radius: 50px;
  border: 1.5px solid rgba(16, 79, 160, .22);
  transition: background .2s ease, color .2s ease;
}

.back-btn:hover {
  background: var(--c-cobalt);
  color: #fff;
}

/* ── Cuerpo legal ── */
.legal-body {
  background: var(--c-pearl);
  min-height: 100vh;
  padding: 56px 0 0;
}

.legal-body .wrap {
  width: 88%;
  max-width: 820px;
  margin-inline: auto;
}

/* Nav legal */
.nav-legal {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(16, 79, 160, .1);
}

.nav-legal a {
  font-size: .8rem;
  font-weight: 500;
  color: var(--t-mid);
  padding: 5px 14px;
  border-radius: 50px;
  border: 1px solid rgba(16, 79, 160, .15);
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.nav-legal a:hover {
  background: rgba(16, 79, 160, .07);
  color: var(--c-cobalt);
}

.nav-legal a.active {
  background: var(--c-cobalt);
  color: #fff;
  border-color: var(--c-cobalt);
}

/* Etiqueta de sección */
.page-tag {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-cyan);
  margin-bottom: 10px;
}

/* Título principal */
.legal-body h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--t-hi);
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -.02em;
}

.legal-body h1 span {
  color: var(--c-cobalt);
  font-style: italic;
}

.lead {
  font-size: 1rem;
  color: var(--t-body);
  line-height: 1.75;
  max-width: 680px;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 2px solid rgba(16, 79, 160, .1);
}

/* Subtítulos */
.legal-body h2 {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--t-hi);
  margin: 36px 0 10px;
  padding-left: 14px;
  border-left: 3px solid var(--c-cobalt);
  line-height: 1.3;
}

.legal-body h3 {
  font-size: .95rem;
  font-weight: 600;
  color: var(--c-cobalt);
  margin: 20px 0 6px;
}

/* Párrafos y listas */
.legal-body p {
  font-size: .9rem;
  color: var(--t-body);
  line-height: 1.75;
  margin-bottom: 12px;
}

.legal-body ul,
.legal-body ol {
  padding-left: 20px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-body li {
  font-size: .9rem;
  color: var(--t-body);
  line-height: 1.65;
}

.legal-body a {
  color: var(--c-cobalt);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-body a:hover { color: var(--c-cyan); }

.legal-body strong { color: var(--t-hi); }

code {
  font-family: 'Courier New', monospace;
  font-size: .82rem;
  background: rgba(16, 79, 160, .08);
  color: var(--c-cobalt);
  padding: 2px 6px;
  border-radius: 4px;
}

/* Bloque de datos de contacto */
.datos-contacto {
  background: var(--c-white);
  border: 1px solid rgba(16, 79, 160, .12);
  border-left: 3px solid var(--c-cyan);
  border-radius: var(--r);
  padding: 18px 22px;
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.datos-contacto p {
  margin: 0;
  font-size: .87rem;
}

/* Footer legal */
.legal-footer {
  margin-top: 60px;
  padding: 24px 0 32px;
  border-top: 1px solid rgba(16, 79, 160, .1);
}

.legal-footer .inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.legal-footer span {
  font-size: .78rem;
  color: var(--t-mid);
}

.btn-top {
  font-size: .78rem;
  font-weight: 600;
  color: var(--c-cobalt);
  background: transparent;
  border: 1.5px solid rgba(16, 79, 160, .22);
  border-radius: 50px;
  padding: 5px 16px;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.btn-top:hover {
  background: var(--c-cobalt);
  color: #fff;
}

/* ── Legales tablet (≤ 768px) ── */
@media (max-width: 768px) {
  .legal-header .wrap {
    gap: 12px;
  }
  .legal-header .logo-img {
    height: 2.6rem;
  }
  .back-btn {
    font-size: .78rem;
    padding: 5px 12px;
  }
  .legal-body {
    padding-top: 40px;
  }
  .legal-body .wrap {
    width: 92%;
  }
  .legal-body h1 {
    font-size: clamp(1.7rem, 7vw, 2.4rem);
  }
  .datos-contacto {
    padding: 14px 16px;
  }
}

/* ── Legales móvil (≤ 600px) ── */
@media (max-width: 600px) {
  .legal-body {
    padding-top: 28px;
  }
  .legal-body .wrap {
    width: 94%;
  }
  .nav-legal {
    gap: 4px;
    margin-bottom: 28px;
  }
  .nav-legal a {
    font-size: .73rem;
    padding: 4px 10px;
  }
  .legal-body h1 {
    font-size: clamp(1.5rem, 8vw, 2rem);
    margin-bottom: 14px;
  }
  .lead {
    font-size: .9rem;
    margin-bottom: 28px;
    padding-bottom: 24px;
  }
  .legal-body h2 {
    font-size: 1.1rem;
    margin-top: 28px;
    padding-left: 10px;
  }
  .legal-body h3 {
    font-size: .88rem;
  }
  .legal-body p,
  .legal-body li {
    font-size: .85rem;
  }
  .datos-contacto {
    padding: 12px 14px;
  }
  .legal-footer .inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}