/* ===========================================================
   MisNovedades — Sistema de diseño
   =========================================================== */

:root{
  /* Color */
  --navy: #0A1830;
  --navy-soft: #101F3D;
  --blue: #2454FF;
  --blue-dark: #1638C4;
  --cyan: #3FC5F0;
  --white: #FFFFFF;
  --gray-50: #F4F6FA;
  --gray-100: #E9EDF5;
  --gray-200: #DCE2EE;
  --gray-400: #8792A6;
  --gray-600: #566079;
  --ink: #101828;
  --green: #15A35C;
  --green-bg: #E7F7EE;
  --amber: #E8960C;
  --amber-bg: #FDF3E1;
  --red: #DC2626;
  --red-bg: #FCEAEA;
  --blue-bg: #EAF0FF;

  /* Type */
  --font-display: 'Manrope', 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;

  /* Elevation */
  --shadow-sm: 0 1px 2px rgba(10,24,48,.06), 0 1px 1px rgba(10,24,48,.04);
  --shadow-md: 0 8px 24px rgba(10,24,48,.08);
  --shadow-lg: 0 24px 60px rgba(10,24,48,.16);

  /* Radius */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-pill: 999px;

  --container: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body{
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

h1, h2, h3, h4{
  font-family: var(--font-display);
  color: var(--navy);
  margin: 0 0 .5em;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

p{ margin: 0 0 1em; color: var(--gray-600); }
a{ color: inherit; text-decoration: none; }
img{ max-width: 100%; display: block; }
ul{ margin: 0; padding: 0; list-style: none; }
button{ font-family: inherit; cursor: pointer; }

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

section{ padding: 96px 0; }
@media (max-width: 768px){ section{ padding: 64px 0; } }

.section-head{
  max-width: 620px;
  margin: 0 0 48px;
}
.section-head.center{ margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2{ font-size: clamp(28px, 3.4vw, 40px); }
.section-head p{ font-size: 17px; }

.eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 14px;
}
.eyebrow::before{
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
}

/* Focus visibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible{
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Buttons */
.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--r-pill);
  font-weight: 600;
  font-size: 15px;
  border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn-primary{
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(36,84,255,.28);
}
.btn-primary:hover{ background: var(--blue-dark); transform: translateY(-1px); }
.btn-ghost{
  background: transparent;
  color: var(--navy);
  border-color: var(--gray-200);
}
.btn-ghost:hover{ border-color: var(--blue); color: var(--blue); }
.btn-on-dark{
  background: var(--white);
  color: var(--navy);
}
.btn-on-dark:hover{ background: var(--cyan); color: var(--navy); transform: translateY(-1px); }
.btn-block{ width: 100%; }
.btn-lg{ padding: 15px 30px; font-size: 16px; }

/* ===========================================================
   Header
   =========================================================== */
.header{
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background-color .25s ease, box-shadow .25s ease, padding .25s ease, border-color .25s ease;
  border-bottom: 1px solid transparent;
}
.header .container{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.header.is-solid{
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 12px 0;
  border-bottom-color: var(--gray-100);
}
.header-logo{ display: flex; align-items: center; }
.header-logo img{ height: 26px; width: auto; }
.header-logo .logo-white{ display: none; }
.header:not(.is-solid) .logo-color{ display: none; }
.header:not(.is-solid) .logo-white{ display: block; }

.nav-desktop{
  display: flex;
  align-items: center;
  gap: 32px;
}
.nav-desktop a{
  font-size: 14.5px;
  font-weight: 500;
  color: var(--navy);
  transition: color .18s ease;
}
.header:not(.is-solid) .nav-desktop a,
.header:not(.is-solid) .header-actions .btn-ghost{
  color: var(--white);
}
.header:not(.is-solid) .header-actions .btn-ghost{ border-color: rgba(255,255,255,.32); }
.nav-desktop a:hover{ color: var(--cyan); }

.header-actions{ display: flex; align-items: center; gap: 12px; }

.menu-toggle{
  display: none;
  background: none;
  border: none;
  padding: 6px;
  width: 40px; height: 40px;
  align-items: center; justify-content: center;
}
.menu-toggle span{
  display: block; width: 22px; height: 2px;
  background: var(--navy);
  position: relative;
  transition: background-color .2s ease;
}
.header:not(.is-solid) .menu-toggle span{ background: var(--white); }
.menu-toggle span::before, .menu-toggle span::after{
  content: '';
  position: absolute; left: 0;
  width: 22px; height: 2px;
  background: currentColor;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease;
}
.header:not(.is-solid) .menu-toggle span::before,
.header:not(.is-solid) .menu-toggle span::after{ background: var(--white); }
.menu-toggle span::before{ top: -7px; }
.menu-toggle span::after{ top: 7px; }
.menu-toggle.is-open span{ background: transparent; }
.menu-toggle.is-open span::before{ transform: translateY(7px) rotate(45deg); background: var(--navy); }
.menu-toggle.is-open span::after{ transform: translateY(-7px) rotate(-45deg); background: var(--navy); }

.mobile-menu{
  position: fixed;
  top: 0; right: 0;
  width: min(340px, 86vw);
  height: 100vh;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  transform: translateX(100%);
  transition: transform .3s ease;
  z-index: 99;
  padding: 96px 28px 32px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.mobile-menu.is-open{ transform: translateX(0); }
.mobile-menu a{
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  padding: 4px 0;
}
.mobile-menu .mobile-actions{
  margin-top: auto;
  display: flex; flex-direction: column; gap: 12px;
}
.menu-backdrop{
  position: fixed; inset: 0;
  background: rgba(10,24,48,.4);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease;
  z-index: 98;
}
.menu-backdrop.is-open{ opacity: 1; pointer-events: auto; }

@media (max-width: 900px){
  .nav-desktop, .header-actions .btn-ghost{ display: none; }
  .menu-toggle{ display: flex; }
}

/* ===========================================================
   Hero
   =========================================================== */
.hero{
  position: relative;
  padding: 180px 0 100px;
  background: radial-gradient(1100px 560px at 18% -10%, #12285C 0%, var(--navy) 55%, #071223 100%);
  overflow: hidden;
  color: var(--white);
}
.hero::after{
  content: '';
  position: absolute; inset: 0;
  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: 56px 56px;
  -webkit-mask-image: radial-gradient(700px 420px at 20% 20%, black, transparent 75%);
  mask-image: radial-gradient(700px 420px at 20% 20%, black, transparent 75%);
  pointer-events: none;
}
.hero .container{
  position: relative;
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  gap: 56px;
  align-items: center;
}
.hero-eyebrow{
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600;
  color: var(--cyan);
  background: rgba(63,197,240,.12);
  border: 1px solid rgba(63,197,240,.28);
  padding: 7px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.hero h1{
  color: var(--white);
  font-size: clamp(34px, 4.6vw, 54px);
  max-width: 15ch;
}
.hero .lead{
  color: rgba(255,255,255,.82);
  font-size: 19px;
  max-width: 46ch;
  margin-bottom: 8px;
}
.hero .sub{
  color: rgba(255,255,255,.56);
  font-size: 15px;
  max-width: 46ch;
  margin-bottom: 32px;
}
.hero-ctas{ display: flex; gap: 14px; flex-wrap: wrap; }
.hero-ctas .btn-ghost{ color: var(--white); border-color: rgba(255,255,255,.28); }
.hero-ctas .btn-ghost:hover{ border-color: var(--cyan); color: var(--cyan); }

/* Dashboard mockup */
.mockup{
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  transform: perspective(1400px) rotateY(-4deg) rotateX(2deg);
}
.mockup-topbar{
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 18px;
}
.mockup-title{ font-family: var(--font-display); font-weight: 700; font-size: 14px; color: var(--navy); }
.mockup-period{ font-size: 12.5px; color: var(--gray-400); }
.mockup-stats{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 18px;
}
.mockup-stat{
  background: var(--gray-50);
  border-radius: var(--r-sm);
  padding: 12px 10px;
  text-align: left;
}
.mockup-stat .num{ font-family: var(--font-display); font-weight: 800; font-size: 20px; color: var(--navy); display:block; }
.mockup-stat .lbl{ font-size: 11px; color: var(--gray-400); }
.mockup-list{ display: flex; flex-direction: column; gap: 8px; }
.mockup-row{
  display: flex; align-items: center; justify-content: space-between;
  background: var(--gray-50);
  border-radius: var(--r-sm);
  padding: 11px 14px;
  font-size: 13.5px;
}
.mockup-row .name{ font-weight: 600; color: var(--navy); }
.status-chip{
  font-size: 11.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--r-pill);
}
.status-approved{ background: var(--green-bg); color: var(--green); }
.status-pending{ background: var(--amber-bg); color: var(--amber); }
.status-review{ background: var(--blue-bg); color: var(--blue); }
.status-sent{ background: #EFEBFB; color: #6D3FE0; }
.status-alert{ background: var(--red-bg); color: var(--red); }
.mockup-badge{
  position: absolute;
  bottom: -18px; left: -18px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-md);
  padding: 12px 16px;
  display: flex; align-items: center; gap: 10px;
}
.mockup-badge .dot{ width: 10px; height: 10px; border-radius: 50%; background: var(--green); }
.mockup-badge .txt{ font-size: 12.5px; font-weight: 600; color: var(--navy); }

@media (max-width: 980px){
  .hero .container{ grid-template-columns: 1fr; }
  .hero{ padding: 140px 0 72px; text-align: left; }
  .mockup{ transform: none; }
}

/* ===========================================================
   Problema
   =========================================================== */
.problem-grid{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.problem-card{
  background: var(--gray-50);
  border-radius: var(--r-md);
  padding: 28px 22px;
  border: 1px solid var(--gray-100);
}
.problem-card .icon{
  width: 42px; height: 42px;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  color: var(--red);
}
.problem-card h3{ font-size: 17px; margin-bottom: 8px; }
.problem-card p{ font-size: 14.5px; margin: 0; }
.problem-close{
  margin-top: 40px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 19px;
  color: var(--navy);
  max-width: 640px;
  margin-left: auto; margin-right: auto;
}

@media (max-width: 980px){
  .problem-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px){
  .problem-grid{ grid-template-columns: 1fr; }
}

/* ===========================================================
   Cómo funciona (workflow)
   =========================================================== */
.workflow-bg{ background: var(--gray-50); }
.workflow{
  display: flex;
  align-items: stretch;
  gap: 0;
}
.workflow-step{
  flex: 1;
  background: var(--white);
  border-radius: var(--r-md);
  padding: 24px 18px;
  text-align: center;
  border: 1px solid var(--gray-100);
  position: relative;
}
.workflow-step .num{
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.workflow-step h4{ font-size: 14.5px; margin-bottom: 4px; }
.workflow-step p{ font-size: 12.5px; margin: 0; }
.workflow-arrow{
  display: flex; align-items: center; justify-content: center;
  width: 40px;
  color: var(--gray-400);
  flex-shrink: 0;
}
@media (max-width: 860px){
  .workflow{ flex-direction: column; gap: 12px; }
  .workflow-arrow{ width: auto; height: 24px; transform: rotate(90deg); margin: 0 auto; }
}

/* ===========================================================
   Multisucursal
   =========================================================== */
.branches-panel{
  background: var(--navy);
  border-radius: var(--r-lg);
  padding: 36px;
  color: var(--white);
}
.branches-panel .panel-head{
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 22px;
  flex-wrap: wrap; gap: 12px;
}
.branches-panel .panel-head h3{ color: var(--white); font-size: 16px; margin: 0; }
.branches-panel .panel-head span{ color: rgba(255,255,255,.5); font-size: 13px; }
.branch-list{ display: flex; flex-direction: column; gap: 10px; }
.branch-row{
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-sm);
  padding: 14px 18px;
}
.branch-row .b-name{ font-weight: 600; font-size: 14.5px; }
.branches-msg{
  text-align: center;
  margin-top: 32px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: var(--navy);
}

/* ===========================================================
   Novedades chips
   =========================================================== */
.chips-wrap{ display: flex; flex-wrap: wrap; gap: 12px; }
.chip{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-pill);
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 500;
  color: var(--navy);
  transition: border-color .18s ease, background-color .18s ease;
}
.chip:hover{ border-color: var(--blue); background: var(--blue-bg); }

/* ===========================================================
   Roles
   =========================================================== */
.roles-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.role-card{
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 30px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
}
.role-card .role-tag{
  display: inline-block;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--blue);
  background: var(--blue-bg);
  padding: 5px 12px;
  border-radius: var(--r-pill);
  margin-bottom: 16px;
}
.role-card ul{ margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.role-card li{
  font-size: 14.5px;
  color: var(--gray-600);
  padding-left: 20px;
  position: relative;
}
.role-card li::before{
  content: '';
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--cyan);
}
.roles-msg{ text-align: center; margin-top: 32px; font-weight: 600; color: var(--navy); }

@media (max-width: 900px){ .roles-grid{ grid-template-columns: 1fr; } }

/* ===========================================================
   Trazabilidad
   =========================================================== */
.trace-bg{ background: var(--navy); color: var(--white); }
.trace-bg .section-head h2{ color: var(--white); }
.trace-bg .section-head p{ color: rgba(255,255,255,.65); }
.trace-card{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-lg);
  padding: 32px;
}
.trace-grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 32px;
  margin-bottom: 24px;
}
.trace-item .k{ font-size: 12px; color: rgba(255,255,255,.45); margin-bottom: 4px; }
.trace-item .v{ font-size: 14.5px; font-weight: 600; }
.trace-status{ display: flex; align-items: center; gap: 10px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.trace-note{
  margin-top: 24px;
  color: rgba(255,255,255,.62);
  font-size: 15px;
}
@media (max-width: 820px){ .trace-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px){ .trace-grid{ grid-template-columns: 1fr; } }

/* ===========================================================
   Reportes
   =========================================================== */
.reports-panel{
  background: var(--gray-50);
  border-radius: var(--r-lg);
  padding: 32px;
  border: 1px solid var(--gray-100);
}
.filters-row{
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-bottom: 22px;
}
.filter-pill{
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  padding: 10px 16px;
  font-size: 13.5px;
  color: var(--gray-600);
  display: flex; align-items: center; gap: 8px;
}
.filter-pill strong{ color: var(--navy); }
.reports-footer{
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
}
.reports-footer p{ margin: 0; font-size: 14px; }

/* ===========================================================
   Pricing
   =========================================================== */
.toggle-wrap{
  display: flex; align-items: center; justify-content: center;
  gap: 14px; margin-bottom: 44px;
}
.toggle-label{ font-size: 14.5px; font-weight: 600; color: var(--gray-400); }
.toggle-label.is-active{ color: var(--navy); }
.toggle-switch{
  width: 52px; height: 28px;
  background: var(--gray-200);
  border-radius: var(--r-pill);
  border: none;
  position: relative;
  transition: background-color .2s ease;
}
.toggle-switch::after{
  content: '';
  position: absolute; top: 3px; left: 3px;
  width: 22px; height: 22px;
  background: var(--white);
  border-radius: 50%;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease;
}
.toggle-switch.is-annual{ background: var(--blue); }
.toggle-switch.is-annual::after{ transform: translateX(24px); }
.save-badge{
  font-size: 12px; font-weight: 700; color: var(--green);
  background: var(--green-bg); padding: 3px 9px; border-radius: var(--r-pill);
}

.pricing-grid{
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}
.price-card{
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  padding: 36px 32px;
  background: var(--white);
}
.price-card.is-featured{
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.price-card.is-featured h3, .price-card.is-featured .price-desc{ color: var(--white); }
.featured-tag{
  position: absolute; top: -13px; left: 32px;
  background: var(--cyan);
  color: var(--navy);
  font-size: 12px; font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--r-pill);
}
.price-desc{ font-size: 14.5px; color: var(--gray-600); margin-bottom: 22px; }
.price-value{
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  margin-bottom: 24px;
}
.price-card.is-featured .price-value{ color: var(--cyan); }
.price-card ul{ display: flex; flex-direction: column; gap: 12px; margin-bottom: 28px; }
.price-card li{
  font-size: 14.5px; padding-left: 26px; position: relative;
}
.price-card li::before{
  content: '✓';
  position: absolute; left: 0; top: -1px;
  color: var(--green);
  font-weight: 700;
}
.price-card.is-featured li::before{ color: var(--cyan); }
.pricing-note{ text-align: center; margin-top: 28px; font-size: 13.5px; color: var(--gray-400); }

@media (max-width: 760px){ .pricing-grid{ grid-template-columns: 1fr; } }

/* ===========================================================
   Onboarding steps
   =========================================================== */
.onboard-bg{ background: var(--gray-50); }
.onboard-grid{
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.onboard-step{
  background: var(--white);
  border-radius: var(--r-md);
  padding: 22px 14px;
  text-align: center;
  border: 1px solid var(--gray-100);
}
.onboard-step .n{
  font-family: var(--font-display); font-weight: 800; font-size: 22px;
  color: var(--blue); margin-bottom: 10px;
}
.onboard-step p{ font-size: 13px; margin: 0; color: var(--navy); font-weight: 600; }
.onboard-cta{ text-align: center; margin-top: 40px; }

@media (max-width: 980px){ .onboard-grid{ grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 560px){ .onboard-grid{ grid-template-columns: repeat(2, 1fr); } }

/* ===========================================================
   FAQ
   =========================================================== */
.faq-list{ max-width: 760px; margin: 0 auto; }
.faq-item{
  border-bottom: 1px solid var(--gray-100);
}
.faq-question{
  width: 100%;
  background: none; border: none;
  display: flex; align-items: center; justify-content: space-between;
  padding: 22px 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--navy);
  text-align: left;
}
.faq-question .plus{
  flex-shrink: 0;
  width: 22px; height: 22px;
  position: relative;
  margin-left: 16px;
}
.faq-question .plus::before, .faq-question .plus::after{
  content: '';
  position: absolute; background: var(--navy);
  transition: transform .25s ease;
}
.faq-question .plus::before{ top: 10px; left: 2px; width: 18px; height: 2px; }
.faq-question .plus::after{ top: 2px; left: 10px; width: 2px; height: 18px; }
.faq-item.is-open .plus::after{ transform: rotate(90deg); opacity: 0; }
.faq-answer{
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s ease;
}
.faq-answer p{ padding-bottom: 22px; margin: 0; font-size: 15px; }

/* ===========================================================
   CTA final
   =========================================================== */
.cta-final{
  background: radial-gradient(900px 420px at 50% 0%, #12285C 0%, var(--navy) 60%);
  color: var(--white);
  text-align: center;
}
.cta-final h2{ color: var(--white); font-size: clamp(28px, 4vw, 42px); }
.cta-final p{ color: rgba(255,255,255,.7); max-width: 560px; margin: 0 auto 32px; font-size: 16.5px; }

/* ===========================================================
   Footer
   =========================================================== */
.footer{
  background: #071223;
  color: rgba(255,255,255,.6);
  padding: 64px 0 28px;
}
.footer-grid{
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.footer-brand img{ height: 24px; margin-bottom: 14px; }
.footer-brand p{ color: rgba(255,255,255,.45); font-size: 13.5px; max-width: 32ch; }
.footer-col h5{
  font-family: var(--font-display);
  color: var(--white);
  font-size: 13.5px;
  margin-bottom: 16px;
}
.footer-col ul{ display: flex; flex-direction: column; gap: 10px; }
.footer-col a{ font-size: 14px; transition: color .18s ease; }
.footer-col a:hover{ color: var(--cyan); }
.footer-bottom{
  padding-top: 24px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px;
  font-size: 13px;
  color: rgba(255,255,255,.4);
}
@media (max-width: 820px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px){
  .footer-grid{ grid-template-columns: 1fr; }
}

/* ===========================================================
   Páginas internas simples (login, registro, planes, legales)
   =========================================================== */
.simple-page{
  padding: 160px 0 100px;
  min-height: 60vh;
}
.simple-page.center{
  display: flex;
  align-items: center;
  justify-content: center;
}
.auth-card{
  width: 100%;
  max-width: 420px;
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 40px 36px;
}
.auth-card h1{ font-size: 24px; }
.auth-card .sub{ font-size: 14.5px; margin-bottom: 28px; }
.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: 13.5px; font-weight: 600; color: var(--navy); margin-bottom: 7px; }
.field input{
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--r-sm);
  font-size: 14.5px;
  font-family: inherit;
  transition: border-color .18s ease;
}
.field input:focus{ outline: none; border-color: var(--blue); }
.auth-foot{ margin-top: 20px; text-align: center; font-size: 14px; }
.auth-foot a{ color: var(--blue); font-weight: 600; }

.legal-content{ max-width: 760px; margin: 0 auto; }
.legal-content h2{ font-size: 20px; margin-top: 36px; }
.legal-content p, .legal-content li{ font-size: 15px; color: var(--gray-600); }
.legal-content li{ margin-bottom: 8px; padding-left: 4px; }
.legal-content ul{ list-style: disc; padding-left: 22px; margin-bottom: 16px; }
.legal-updated{ font-size: 13.5px; color: var(--gray-400); margin-bottom: 32px; }
