/* ==========================================================================
   SAVEC 2026 · Visión 360 — Landing page
   Marca: CONALPROSE — Colegio Nacional de Asesores Profesionales de Seguros
   ========================================================================== */

@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/Brandon-Light.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/Brandon-Medium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/Brandon-Black.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/Brandon-RegularItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

:root {
  --navy: #1b445e;
  --navy-deep: #0c2233;
  --bg-dark: #0b0f1a;
  --gray: #6d6e71;
  --gray-light: #f1f2f2;
  --gold: #b19a58;
  --gold-light: #d6c493;
  --cyan: #3fd2e6;
  --white: #ffffff;
  --radius: 14px;
  --max-width: 1180px;
  --shadow: 0 20px 50px rgba(6, 14, 23, 0.35);
  font-size: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Brandon Grotesque", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  color: var(--navy-deep);
  background: var(--white);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-weight: 800;
  margin: 0 0 .5em;
  letter-spacing: .01em;
}

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

.eyebrow {
  display: inline-block;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .78rem;
  color: var(--gold);
  margin-bottom: .9em;
}

.section {
  padding: 88px 0;
}
.section-title {
  font-size: clamp(1.8rem, 3.2vw, 2.6rem);
  color: var(--navy);
}
.section-sub {
  color: var(--gray);
  font-size: 1.05rem;
  max-width: 620px;
  margin: 0 auto 3rem;
}
.section-head {
  text-align: center;
  margin-bottom: 3rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  padding: 15px 34px;
  border-radius: 100px;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: .85rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--navy-deep);
  box-shadow: 0 12px 30px rgba(177, 154, 88, .35);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 36px rgba(177,154,88,.45); }
.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.5);
  color: var(--white);
}
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-outline-navy {
  background: transparent;
  border-color: rgba(27,68,94,.35);
  color: var(--navy);
}
.btn-outline-navy:hover { background: var(--navy); color: var(--white); border-color: var(--navy); }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: rgba(6, 14, 23, 0);
  transition: background .3s ease, padding .3s ease, box-shadow .3s ease;
}
.nav.scrolled {
  background: rgba(6, 14, 23, .92);
  backdrop-filter: blur(10px);
  padding: 10px 0;
  box-shadow: 0 6px 24px rgba(0,0,0,.25);
}
.nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo img { height: 34px; width: auto; }
.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0; padding: 0;
}
.nav-links a {
  color: var(--white);
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  font-weight: 500;
  opacity: .85;
}
.nav-links a:hover { opacity: 1; color: var(--cyan); }
.nav-cta { display: none; }
.nav-toggle {
  display: none;
  background: none; border: none; color: var(--white);
  font-size: 1.6rem; cursor: pointer;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: var(--white);
  background:
    radial-gradient(circle at 18% 20%, rgba(63,210,230,.20), transparent 45%),
    radial-gradient(circle at 82% 75%, rgba(177,154,88,.16), transparent 50%),
    linear-gradient(160deg, var(--bg-dark) 0%, var(--navy-deep) 55%, #0a1a27 100%);
  overflow: hidden;
  padding: 140px 0 90px;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(63,210,230,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(63,210,230,.06) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(circle at 50% 35%, black, transparent 72%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero-logo { height: 52px; width: auto; margin-bottom: 40px; opacity: .95; }
.hero-eyebrow {
  color: var(--cyan);
  letter-spacing: .3em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 500;
  margin-bottom: 18px;
}
.hero-title-wrap {
  margin: 0 0 40px;
  width: 100%;
}
.hero-title-graphic {
  width: min(92vw, 620px);
  height: auto;
  margin: 0 auto;
  filter: drop-shadow(0 0 46px rgba(63,210,230,.25));
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}
.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 100px;
  background: rgba(255,255,255,.04);
  font-size: .9rem;
  font-weight: 500;
}
.hero-meta-item svg { width: 18px; height: 18px; color: var(--cyan); flex-shrink: 0; }
.hero-price {
  font-size: .95rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 34px;
}
.hero-price strong { color: var(--gold-light); font-weight: 500; }
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
}
.hero-scroll {
  position: absolute;
  bottom: 28px; left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,.5);
  font-size: .7rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.hero-scroll .line { width: 1px; height: 30px; background: linear-gradient(var(--cyan), transparent); animation: scrollpulse 1.8s infinite; }
@keyframes scrollpulse { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ---------- Video ---------- */
.video-section {
  background: var(--gray-light);
}
.video-wrap {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--navy-deep);
  aspect-ratio: 9/16;
  max-height: 640px;
}
.video-wrap video {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(6,14,23,.35);
  cursor: pointer;
  border: none;
  transition: background .25s ease;
}
.video-play.hidden { display: none; }
.video-play:hover { background: rgba(6,14,23,.5); }
.video-play-icon {
  width: 78px; height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,.94);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
  transition: transform .25s ease;
}
.video-play:hover .video-play-icon { transform: scale(1.08); }
.video-play-icon svg { width: 26px; height: 26px; color: var(--navy); margin-left: 4px; }

/* ---------- Expositores ---------- */
.speakers-section { background: var(--white); }
.speaker-block {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  margin-bottom: 26px;
}
.speaker-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 34px 32px;
  border: 1px solid rgba(27,68,94,.08);
}
.speaker-card.featured {
  background: linear-gradient(150deg, var(--navy-deep), var(--navy));
  color: var(--white);
}
.speaker-topic {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  font-weight: 500;
  margin-bottom: .6em;
}
.speaker-card.featured .speaker-topic { color: var(--cyan); }
.speaker-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: .7em;
}
.speaker-card.featured .speaker-title { color: var(--white); }
.speaker-names { display: flex; flex-direction: column; gap: 4px; }
.speaker-name { font-weight: 500; font-size: 1.05rem; color: var(--navy); }
.speaker-card.featured .speaker-name { color: var(--cyan); }
.speaker-role {
  color: var(--gray);
  font-size: .92rem;
  margin: 0 0 .8em;
}
.speaker-card.featured .speaker-role { color: rgba(255,255,255,.68); }
.panel-list { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.panel-person { font-size: .95rem; }
.panel-person b { font-weight: 500; color: var(--navy); }

@media (min-width: 760px) {
  .speaker-block.grid-3 { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Precios ---------- */
.pricing-section {
  background: linear-gradient(160deg, var(--bg-dark), var(--navy-deep));
  color: var(--white);
}
.pricing-section .section-title,
.pricing-section .section-sub { color: var(--white); }
.pricing-section .section-sub { color: rgba(255,255,255,.65); }
.pricing-grid {
  display: grid;
  gap: 24px;
  grid-template-columns: 1fr;
  max-width: 720px;
  margin: 0 auto;
}
@media (min-width: 700px) { .pricing-grid { grid-template-columns: 1fr 1fr; } }
.price-card {
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 40px 32px;
  text-align: center;
  background: rgba(255,255,255,.03);
  position: relative;
}
.price-card.highlight {
  border-color: var(--gold);
  background: rgba(177,154,88,.08);
}
.price-badge {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
  background: var(--gold);
  color: var(--navy-deep);
  font-size: .7rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 100px;
}
.price-label {
  text-transform: uppercase;
  letter-spacing: .1em;
  font-size: .82rem;
  color: rgba(255,255,255,.6);
  margin-bottom: 14px;
}
.price-amount { font-size: 3rem; font-weight: 800; color: var(--white); }
.price-amount span { font-size: 1.1rem; font-weight: 300; color: rgba(255,255,255,.6); }
.price-note {
  margin-top: 34px;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}
.price-note strong { color: var(--gold-light); font-weight: 500; }

/* ---------- Galería ---------- */
.gallery-section { background: var(--white); }
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}
.gallery-tab {
  padding: 9px 22px;
  border-radius: 100px;
  border: 1px solid rgba(27,68,94,.2);
  background: transparent;
  color: var(--navy);
  font-family: inherit;
  font-size: .82rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all .2s ease;
}
.gallery-tab.active, .gallery-tab:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
@media (min-width: 640px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 980px) { .gallery-grid { grid-template-columns: repeat(4, 1fr); } }
.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 4/3;
  cursor: pointer;
  position: relative;
  background: var(--gray-light);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .4s ease;
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item.is-hidden { display: none; }
.gallery-item.is-extra { display: none; }

.gallery-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}
.gallery-more-wrap .btn.is-done { display: none; }

.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(6,14,23,.92);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 90vw; max-height: 85vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 24px; right: 28px;
  background: none; border: none; color: var(--white);
  font-size: 2rem; cursor: pointer; line-height: 1;
}

/* ---------- Formulario ---------- */
.form-section {
  background: var(--gray-light);
}
.form-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius);
  padding: 44px 38px;
  box-shadow: var(--shadow);
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-row input {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(27,68,94,.2);
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy-deep);
  background: var(--white);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(27,68,94,.12);
}
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(27,68,94,.2);
  font-family: inherit;
  font-size: 1rem;
  color: var(--navy-deep);
  background: var(--white);
  resize: vertical;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.form-row label .optional {
  text-transform: none;
  letter-spacing: 0;
  font-weight: 300;
  color: var(--gray);
}
.required-mark {
  color: #b3261e;
  font-weight: 500;
}
.form-required-note {
  margin: 4px 0 0;
  font-size: .78rem;
  color: var(--gray);
  text-align: right;
}
.form-submit {
  width: 100%;
  justify-content: center;
  border: none;
}
.form-submit:disabled {
  opacity: .45;
  cursor: not-allowed;
  box-shadow: none;
}
.form-msg {
  margin-top: 16px;
  font-size: .9rem;
  text-align: center;
  min-height: 1.2em;
}
.form-msg.success { color: #1c7c4d; }
.form-msg.error { color: #b3261e; }

/* ---------- Modal de confirmación ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 300;
  background: rgba(6,14,23,.6);
  display: none;
  align-items: center; justify-content: center;
  padding: 24px;
}
.modal-overlay.open { display: flex; }
.modal-card {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 48px 40px 38px;
  max-width: 420px;
  width: 100%;
  text-align: center;
  box-shadow: 0 30px 70px rgba(0,0,0,.35);
  animation: modalPop .25s ease;
}
@keyframes modalPop {
  from { opacity: 0; transform: translateY(10px) scale(.97); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(28,124,77,.12);
  color: #1c7c4d;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px;
}
.modal-icon svg { width: 30px; height: 30px; }
.modal-card h3 {
  color: var(--navy);
  font-size: 1.4rem;
  margin-bottom: .5em;
}
.modal-card p {
  color: var(--gray);
  margin-bottom: 26px;
}
.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none;
  font-size: 1.6rem; line-height: 1;
  color: var(--gray);
  cursor: pointer;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,.75);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: space-between;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 24px;
}
.footer-brand img { height: 42px; margin-bottom: 14px; }
.footer-brand p {
  max-width: 340px;
  font-size: .88rem;
  color: rgba(255,255,255,.55);
}
.footer-col h4 {
  color: var(--white);
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: 14px;
}
.footer-col p, .footer-col a {
  display: block;
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  margin-bottom: 8px;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: space-between;
  font-size: .78rem;
  color: rgba(255,255,255,.4);
}

/* ---------- Mobile nav ---------- */
@media (max-width: 860px) {
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    width: min(78vw, 320px);
    height: 100vh;
    background: var(--navy-deep);
    flex-direction: column;
    padding: 100px 32px;
    gap: 28px;
    transition: right .3s ease;
  }
  .nav-links.open { right: 0; }
  .nav-toggle { display: block; }
}
@media (min-width: 861px) {
  .nav-cta { display: inline-flex; }
}

@media (max-width: 600px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 120px; }
  .form-card { padding: 32px 22px; }
}
