/* =========================================================
   SISAP · Sistemas Aplicados del Guadiana
   Hoja de estilos principal
   ========================================================= */

:root {
  --navy: #212970;
  --navy-700: #1a2159;
  --navy-900: #0f1438;
  --cyan: #28ade3;
  --cyan-600: #1b93c6;
  --ink: #141833;
  --text: #4a4f6a;
  --muted: #7a7f98;
  --line: #e6e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f7fc;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(20, 24, 51, .06), 0 2px 8px rgba(20, 24, 51, .05);
  --shadow: 0 10px 30px -10px rgba(20, 24, 51, .18);
  --shadow-lg: 0 24px 60px -20px rgba(20, 24, 51, .35);
  --container: 1200px;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

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

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

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--cyan-600); text-decoration: none; transition: color .2s; }
a:hover { color: var(--navy); }

h1, h2, h3, h4, h5 {
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 800;
  letter-spacing: -.02em;
}
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.text-center { text-align: center; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); border: 0;
}

/* ---------- Títulos de sección ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--cyan-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 24px; height: 2px; background: currentColor; border-radius: 2px; }
.section-head h2 { font-size: clamp(28px, 4vw, 42px); }
.section-head p { font-size: 18px; color: var(--muted); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 26px; border-radius: 999px; border: 0;
  font: inherit; font-weight: 700; font-size: 15px; line-height: 1;
  cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s, background .2s, color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--cyan); color: #fff; box-shadow: 0 10px 24px -8px rgba(40, 173, 227, .7); }
.btn--primary:hover { background: var(--cyan-600); color: #fff; }
.btn--navy { background: var(--navy); color: #fff; box-shadow: 0 10px 24px -8px rgba(33, 41, 112, .6); }
.btn--navy:hover { background: var(--navy-700); color: #fff; }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1px solid rgba(255, 255, 255, .35); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: #fff; color: var(--navy); }
.btn--outline { background: transparent; color: var(--navy); border: 2px solid var(--navy); }
.btn--outline:hover { background: var(--navy); color: #fff; }

/* ---------- Barra superior ---------- */
.topbar { background: var(--navy-900); color: rgba(255, 255, 255, .8); font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 42px; gap: 16px; }
.topbar a { color: rgba(255, 255, 255, .85); }
.topbar a:hover { color: var(--cyan); }
.topbar__info { display: flex; gap: 24px; flex-wrap: wrap; }
.topbar__info span { white-space: nowrap; }
.topbar__info i { color: var(--cyan); margin-right: 8px; }

.social { display: flex; gap: 6px; list-style: none; margin: 0; padding: 0; }
.social a {
  display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%;
  color: inherit; transition: background .2s, color .2s, transform .2s;
}
.social a:hover { background: var(--cyan); color: #fff; transform: translateY(-2px); }

/* ---------- Encabezado / navegación ---------- */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.header.is-scrolled { border-color: var(--line); box-shadow: var(--shadow-sm); }
.header .container { display: flex; align-items: center; justify-content: space-between; height: var(--header-h); }

.logo { display: inline-flex; align-items: center; gap: 12px; color: var(--ink); }
.logo:hover { color: var(--ink); }
.logo__mark {
  display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--cyan) 100%);
  color: #fff; font-weight: 800; font-size: 22px; letter-spacing: -.04em;
  box-shadow: 0 8px 18px -6px rgba(33, 41, 112, .55);
}
.logo__text { display: flex; flex-direction: column; line-height: 1.1; }
.logo__text strong { font-size: 22px; font-weight: 800; letter-spacing: .02em; color: var(--navy); }
.logo__text small { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: .02em; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__text small { color: rgba(255, 255, 255, .65); }

.nav__list { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav__list a {
  position: relative; display: block; padding: 10px 16px; border-radius: 999px;
  color: var(--ink); font-weight: 600; font-size: 15px;
}
.nav__list a:hover { color: var(--navy); background: var(--bg-soft); }
.nav__list a.active { color: #fff; background: var(--navy); }

.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; border-radius: 12px;
  background: var(--bg-soft); color: var(--navy); font-size: 20px; cursor: pointer;
}

/* ---------- Hero / slider de inicio ---------- */
.hero-slider { position: relative; height: min(86vh, 760px); min-height: 520px; overflow: hidden; background: var(--navy-900); }
.slide {
  position: absolute; inset: 0; display: flex; align-items: center;
  opacity: 0; visibility: hidden; transition: opacity 1s var(--ease), visibility 1s;
}
.slide.is-active { opacity: 1; visibility: visible; }
.slide__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.08); transition: transform 7s linear; }
.slide.is-active .slide__bg { transform: scale(1); }
.slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(15, 20, 56, .92) 0%, rgba(33, 41, 112, .75) 45%, rgba(33, 41, 112, .15) 100%);
}
.slide__content { position: relative; z-index: 2; color: #fff; max-width: 640px; }
.slide__content .eyebrow { color: var(--cyan); }
.slide__content h1, .slide__content h2 { color: #fff; font-size: clamp(36px, 6vw, 64px); margin-bottom: 18px; }
.slide__content p { font-size: 19px; color: rgba(255, 255, 255, .85); margin-bottom: 32px; max-width: 520px; }
.slide__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.slide.is-active .slide__content > * { animation: rise .9s var(--ease) both; }
.slide.is-active .slide__content > *:nth-child(2) { animation-delay: .1s; }
.slide.is-active .slide__content > *:nth-child(3) { animation-delay: .2s; }
.slide.is-active .slide__content > *:nth-child(4) { animation-delay: .3s; }

.slider-controls { position: absolute; z-index: 5; left: 0; right: 0; bottom: 36px; }
.slider-controls .container { display: flex; align-items: center; justify-content: space-between; }
.slider-dots { display: flex; gap: 10px; }
.slider-dots button {
  width: 34px; height: 4px; padding: 0; border: 0; border-radius: 4px; cursor: pointer;
  background: rgba(255, 255, 255, .35); transition: background .3s, width .3s;
}
.slider-dots button.is-active { background: var(--cyan); width: 56px; }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrows button, .carousel-btn {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; cursor: pointer;
  border: 1px solid rgba(255, 255, 255, .35); background: rgba(255, 255, 255, .1); color: #fff;
  backdrop-filter: blur(6px); transition: background .2s, color .2s;
}
.slider-arrows button:hover { background: #fff; color: var(--navy); }

/* ---------- Encabezado de páginas internas ---------- */
.page-hero { position: relative; padding: 120px 0 100px; color: #fff; overflow: hidden; background: var(--navy-900); }
.page-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, rgba(15, 20, 56, .94) 10%, rgba(33, 41, 112, .78) 60%, rgba(40, 173, 227, .45) 100%);
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero .eyebrow { color: var(--cyan); }
.page-hero h1 { color: #fff; font-size: clamp(34px, 5vw, 56px); margin-bottom: 14px; }
.page-hero p { font-size: 18px; color: rgba(255, 255, 255, .82); max-width: 640px; margin: 0; }
.breadcrumb { display: flex; gap: 8px; font-size: 14px; margin-top: 24px; color: rgba(255, 255, 255, .7); }
.breadcrumb a { color: #fff; }

/* ---------- Bienvenida / misión y visión ---------- */
.welcome { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.welcome__media { position: relative; }
.welcome__media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3.2; object-fit: cover; width: 100%; }
.welcome__badge {
  position: absolute; right: -24px; bottom: -28px; background: #fff; border-radius: 20px;
  padding: 22px 26px; box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 16px;
}
.welcome__badge strong { font-size: 44px; line-height: 1; color: var(--navy); font-weight: 800; }
.welcome__badge span { font-size: 14px; line-height: 1.35; color: var(--muted); font-weight: 600; }
.welcome h2 { font-size: clamp(28px, 3.6vw, 40px); }
.welcome .lead { font-size: 19px; color: var(--text); }

.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 32px; }
.mv-card {
  padding: 28px; border-radius: var(--radius); background: var(--bg-soft);
  border: 1px solid var(--line); transition: transform .3s var(--ease), box-shadow .3s, background .3s;
}
.mv-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); background: #fff; }
.mv-card__icon {
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: rgba(40, 173, 227, .12); color: var(--cyan-600); font-size: 20px;
}
.mv-card h3 { font-size: 20px; margin-bottom: 8px; }
.mv-card p { font-size: 15px; margin: 0; }

/* ---------- Timbres fiscales ---------- */
.pricing { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.price-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  background: #fff; border-radius: var(--radius); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.price-card__img { aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.price-card__body { padding: 22px 20px 24px; display: flex; flex-direction: column; flex: 1; }
.price-card__tag { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-600); margin-bottom: 6px; }
.price-card h3 { font-size: 16px; line-height: 1.35; margin-bottom: 16px; }
.price-card__qty { font-size: 34px; font-weight: 800; color: var(--navy); line-height: 1; letter-spacing: -.03em; }
.price-card__qty small { display: block; font-size: 12px; font-weight: 600; color: var(--muted); letter-spacing: .04em; margin-top: 6px; text-transform: uppercase; }
.price-card__price {
  margin-top: auto; padding-top: 18px; border-top: 1px dashed var(--line);
  font-size: 22px; font-weight: 800; color: var(--ink);
}
.price-card--featured { border-color: var(--cyan); box-shadow: 0 0 0 1px var(--cyan), var(--shadow); }

/* ---------- Videos ---------- */
.video-card {
  position: relative; display: block; width: 100%; padding: 0; border: 0; cursor: pointer;
  aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: var(--navy-900);
  box-shadow: var(--shadow);
}
.video-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .3s; opacity: .9; }
.video-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(15, 20, 56, .6)); }
.video-card__play {
  position: absolute; z-index: 2; top: 50%; left: 50%; transform: translate(-50%, -50%);
  display: grid; place-items: center; width: 68px; height: 68px; border-radius: 50%;
  background: rgba(255, 255, 255, .95); color: var(--navy); font-size: 22px; padding-left: 4px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35); transition: transform .3s var(--ease), background .3s, color .3s;
}
.video-card:hover img { transform: scale(1.06); opacity: 1; }
.video-card:hover .video-card__play { transform: translate(-50%, -50%) scale(1.1); background: var(--cyan); color: #fff; }
.video-card iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.carousel { position: relative; }
.carousel__track {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 56px) / 3); gap: 28px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  padding: 8px 4px 24px; scrollbar-width: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * { scroll-snap-align: start; }
.carousel__nav { display: flex; justify-content: center; gap: 12px; margin-top: 12px; }
.carousel-btn { border-color: var(--line); background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); }
.carousel-btn:hover { background: var(--navy); color: #fff; }

/* ---------- Módulos ---------- */
.modules { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.module-card {
  position: relative; display: flex; flex-direction: column; overflow: hidden;
  border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  color: var(--text); box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
.module-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); color: var(--text); }
.module-card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.module-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.module-card:hover .module-card__media img { transform: scale(1.08); }
.module-card__icon {
  position: absolute; left: 20px; bottom: -22px; z-index: 2;
  display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--navy); color: #fff; font-size: 20px; box-shadow: 0 8px 18px -4px rgba(33, 41, 112, .5);
  transition: background .3s;
}
.module-card:hover .module-card__icon { background: var(--cyan); }
.module-card__body { padding: 36px 20px 22px; display: flex; flex-direction: column; flex: 1; }
.module-card h3 { font-size: 18px; margin-bottom: 14px; }
.module-card__link { margin-top: auto; font-size: 14px; font-weight: 700; color: var(--cyan-600); display: inline-flex; align-items: center; gap: 8px; }
.module-card:hover .module-card__link i { transform: translateX(4px); }
.module-card__link i { transition: transform .3s var(--ease); }

.promo-grid { display: grid; grid-template-columns: 1fr 2fr; gap: 24px; }
.promo {
  position: relative; display: flex; align-items: flex-end; min-height: 320px; overflow: hidden;
  border-radius: 24px; color: #fff; padding: 36px; box-shadow: var(--shadow);
}
.promo:hover { color: #fff; }
.promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.promo:hover img { transform: scale(1.05); }
.promo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(15, 20, 56, .1) 0%, rgba(15, 20, 56, .88) 100%); }
.promo--navy::after { background: linear-gradient(100deg, rgba(33, 41, 112, .95) 0%, rgba(33, 41, 112, .7) 50%, rgba(40, 173, 227, .25) 100%); }
.promo__content { position: relative; z-index: 2; }
.promo .eyebrow { color: var(--cyan); }
.promo h3 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.promo p { color: rgba(255, 255, 255, .85); margin-bottom: 20px; }

/* ---------- Servoescolar ---------- */
.se-brand {
  display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; margin-bottom: 26px;
  border-radius: 999px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25);
  color: #fff; font-weight: 700; backdrop-filter: blur(6px);
}
.se-brand:hover { background: #fff; color: var(--navy); }
.se-brand__mark { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--cyan); color: #fff; font-size: 16px; }

.se-intro { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.se-intro__media img { border-radius: 24px; box-shadow: var(--shadow-lg); aspect-ratio: 1 / 1; object-fit: cover; width: 100%; }
.se-intro h2 { font-size: clamp(22px, 2.8vw, 30px); text-transform: uppercase; letter-spacing: .01em; }
.se-intro p { font-size: 17px; }

.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 64px; }
.feature { padding: 26px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature i { font-size: 24px; color: var(--cyan-600); margin-bottom: 14px; display: block; }
.feature h3 { font-size: 16px; margin: 0; }

.cta-banner { position: relative; overflow: hidden; padding: 120px 0; color: #fff; background: var(--navy-900); }
.cta-banner__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cta-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(270deg, rgba(15, 20, 56, .95) 0%, rgba(33, 41, 112, .78) 50%, rgba(33, 41, 112, .2) 100%); }
.cta-banner .container { position: relative; z-index: 2; display: flex; justify-content: flex-end; }
.cta-banner__content { max-width: 560px; text-align: right; }
.cta-banner h2 { color: #fff; font-size: clamp(30px, 4.4vw, 48px); margin-bottom: 26px; }

.showcase img { border-radius: 24px; box-shadow: var(--shadow-lg); margin: 0 auto; max-width: 880px; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }

/* ---------- Contacto ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 32px; align-items: start; }
.contact-info {
  position: relative; overflow: hidden; padding: 40px; border-radius: 24px; color: rgba(255, 255, 255, .85);
  background: linear-gradient(150deg, var(--navy) 0%, var(--navy-900) 100%); box-shadow: var(--shadow-lg);
}
.contact-info::before {
  content: ""; position: absolute; width: 320px; height: 320px; right: -120px; top: -120px; border-radius: 50%;
  background: radial-gradient(circle, rgba(40, 173, 227, .45), transparent 70%);
}
.contact-info h2 { color: #fff; font-size: 28px; position: relative; }
.contact-list { list-style: none; padding: 0; margin: 28px 0 32px; position: relative; display: grid; gap: 22px; }
.contact-list li { display: flex; gap: 16px; }
.contact-list__icon { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .1); color: var(--cyan); font-size: 17px; }
.contact-list h3 { color: #fff; font-size: 15px; margin: 0 0 2px; letter-spacing: 0; }
.contact-list p { margin: 0; font-size: 15px; }
.contact-list a { color: rgba(255, 255, 255, .9); }
.contact-list a:hover { color: var(--cyan); }

.form-card { padding: 40px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.form-card h2 { font-size: 28px; }
.form-card > p { color: var(--muted); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 700; color: var(--ink); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border-radius: var(--radius-sm); border: 1.5px solid var(--line);
  background: var(--bg-soft); font: inherit; font-size: 15px; color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgba(40, 173, 227, .15); }
.hp { position: absolute; left: -9999px; }
.form-actions { margin-top: 22px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-message { margin-top: 18px; padding: 14px 18px; border-radius: var(--radius-sm); font-weight: 600; display: none; }
.form-message.is-success { display: block; background: #e8f8ef; color: #17733f; }
.form-message.is-error { display: block; background: #fdecec; color: #a12626; }
.btn[disabled] { opacity: .65; pointer-events: none; }

.team { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.team-card {
  display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: 20px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.team-card img { width: 96px; height: 96px; border-radius: 50%; flex: none; box-shadow: 0 0 0 4px #fff, 0 0 0 6px rgba(40, 173, 227, .35); }
.team-card__role { font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--cyan-600); margin: 0 0 4px; }
.team-card h3 { font-size: 19px; margin-bottom: 4px; }
.team-card p { margin: 0; font-size: 15px; }

.map { line-height: 0; }
.map iframe { width: 100%; height: 440px; border: 0; filter: grayscale(.2); }

/* ---------- Pie de página ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .72); }
.footer__main { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 48px; padding: 80px 0 56px; }
.footer h3 { color: #fff; font-size: 16px; letter-spacing: .04em; margin-bottom: 20px; }
.footer a { color: rgba(255, 255, 255, .8); }
.footer a:hover { color: var(--cyan); }
.footer__about p { margin: 20px 0; font-size: 15px; }
.footer__links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer__links a { display: inline-flex; align-items: center; gap: 8px; }
.footer__links a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); opacity: .6; }
.footer__contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; font-size: 15px; }
.footer__contact li { display: flex; gap: 12px; }
.footer__contact i { color: var(--cyan); margin-top: 5px; width: 16px; text-align: center; }
.footer .social a { background: rgba(255, 255, 255, .08); width: 38px; height: 38px; }
.footer .social a:hover { background: var(--cyan); color: #fff; }

.privacy {
  display: grid; grid-template-columns: auto 1fr auto; gap: 24px; align-items: center;
  padding: 28px 32px; border-radius: 20px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08);
  margin-bottom: 40px;
}
.privacy__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: rgba(40, 173, 227, .15); color: var(--cyan); font-size: 22px; }
.privacy h3 { margin: 0 0 6px; }
.privacy p { margin: 0; font-size: 14px; line-height: 1.6; }

.copyright { border-top: 1px solid rgba(255, 255, 255, .08); padding: 22px 0; font-size: 14px; }
.copyright .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.copyright p { margin: 0; }

/* ---------- Botones flotantes ---------- */
.fab {
  position: fixed; right: 24px; z-index: 60; display: grid; place-items: center;
  width: 56px; height: 56px; border-radius: 50%; border: 0; cursor: pointer; color: #fff;
  box-shadow: 0 12px 28px -8px rgba(0, 0, 0, .4); transition: transform .3s var(--ease), opacity .3s, visibility .3s;
}
.fab:hover { color: #fff; transform: translateY(-3px) scale(1.05); }
.fab--wa { bottom: 24px; background: #25d366; font-size: 28px; }
.fab--top { bottom: 92px; width: 46px; height: 46px; right: 29px; background: var(--navy); font-size: 16px; opacity: 0; visibility: hidden; }
.fab--top.is-visible { opacity: 1; visibility: visible; }

/* ---------- Animaciones de entrada ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsivo ---------- */
@media (max-width: 1100px) {
  .pricing { grid-template-columns: repeat(3, 1fr); }
  .modules { grid-template-columns: repeat(3, 1fr); }
  .features { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .section { padding: 72px 0; }
  .nav-toggle { display: grid; place-items: center; }
  .nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    max-height: 0; overflow: hidden; transition: max-height .4s var(--ease);
  }
  .nav.is-open { max-height: 420px; }
  .nav__list { flex-direction: column; padding: 12px 24px 20px; gap: 4px; }
  .nav__list a { padding: 14px 16px; border-radius: 12px; }
  .welcome, .se-intro, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .welcome__badge { right: 16px; }
  .video-grid { grid-template-columns: repeat(2, 1fr); }
  .carousel__track { grid-auto-columns: calc((100% - 28px) / 2); }
  .promo-grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr 1fr; }
  .footer__about { grid-column: 1 / -1; }
  .team { grid-template-columns: 1fr; }
  .cta-banner__content { text-align: left; }
  .cta-banner .container { justify-content: flex-start; }
  .cta-banner::after { background: linear-gradient(0deg, rgba(15, 20, 56, .92), rgba(33, 41, 112, .7)); }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .topbar__info span:not(:first-child) { display: none; }
  .logo__text small { display: none; }
  .hero-slider { min-height: 560px; }
  .slider-arrows { display: none; }
  .pricing { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .modules { grid-template-columns: 1fr 1fr; gap: 14px; }
  .module-card__body { padding: 32px 14px 16px; }
  .module-card h3 { font-size: 15px; }
  .mv-grid, .form-grid, .features { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .carousel__track { grid-auto-columns: 86%; gap: 16px; }
  .footer__main { grid-template-columns: 1fr; padding: 56px 0 40px; }
  .privacy { grid-template-columns: 1fr; text-align: left; padding: 24px; }
  .contact-info, .form-card { padding: 28px 22px; }
  .team-card { flex-direction: column; text-align: center; }
  .page-hero { padding: 88px 0 72px; }
  .welcome__badge { position: relative; right: auto; bottom: auto; z-index: 2; margin-top: -40px; margin-left: 16px; width: max-content; }
}
@media (max-width: 400px) {
  .pricing, .modules { grid-template-columns: 1fr; }
}
