/* ── PlanSalud Design System ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #07101F;
  --surface:   #0D1A2D;
  --surface2:  #112240;
  --blue:      #1E6FD9;
  --blue-h:    #2B82F2;
  --cyan:      #06B6D4;
  --green:     #10B981;
  --green-h:   #059669;
  --white:     #F0F6FF;
  --muted:     #7A91AD;
  --border:    rgba(255,255,255,0.08);
  --border-h:  rgba(255,255,255,0.15);
  --radius:    14px;
  --radius-sm: 10px;
  --shadow-form: 0 0 0 1px rgba(255,255,255,0.07), 0 24px 60px rgba(0,0,0,0.5);
  --t:         0.18s cubic-bezier(0.4,0,0.2,1);
}

html { scroll-behavior: smooth; }
body {
  font-family: 'Instrument Sans', system-ui, sans-serif;
  background: var(--bg);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

/* ── NAV ── */
nav.topnav {
  position: sticky; top: 0; z-index: 100;
  height: 60px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 32px;
  background: rgba(7,16,31,0.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.logo-link { display: flex; align-items: center; gap: 10px; }
.logo-svg  { width: 34px; height: 34px; flex-shrink: 0; }
.logo-text { font-size: 19px; font-weight: 700; letter-spacing: -0.5px; line-height: 1; }
.logo-text .p1 { color: #60A5FA; }
.logo-text .p2 { color: #34D399; }
.nav-links { display: flex; gap: 24px; align-items: center; }
.nav-links a { font-size: 14px; color: var(--muted); transition: color var(--t); }
.nav-links a:hover { color: var(--white); }
.nav-pill {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green); color: #fff;
  font-size: 13px; font-weight: 600;
  padding: 8px 18px; border-radius: 100px; border: none;
  transition: background var(--t), transform var(--t);
}
.nav-pill:hover { background: var(--green-h); transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: calc(100vh - 60px);
  display: flex; align-items: center;
  padding: 48px 32px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 60% 50% at 70% 50%, rgba(30,111,217,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 10% 80%, rgba(6,182,212,0.08) 0%, transparent 60%);
}
.hero-grid {
  max-width: 1120px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 440px; gap: 64px;
  align-items: center; position: relative;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.12);
  border: 1px solid rgba(16,185,129,0.25);
  color: #34D399;
  font-size: 12px; font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 5px 14px; border-radius: 100px; margin-bottom: 20px;
}
.eyebrow-dot {
  width: 6px; height: 6px; background: #10B981; border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

h1.hero-h1 {
  font-size: clamp(34px, 4vw, 54px);
  font-weight: 800; letter-spacing: -1.5px; line-height: 1.1;
  margin-bottom: 18px;
}
.accent { color: #60A5FA; }
.hero-sub {
  font-size: 16px; color: var(--muted); line-height: 1.7;
  max-width: 460px; margin-bottom: 32px;
}
.prepaga-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.chip {
  display: flex; align-items: center; gap: 7px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 100px; padding: 5px 12px 5px 6px;
  color: var(--white); font-size: 13px; font-weight: 500;
  transition: border-color var(--t), background var(--t);
}
.chip:hover { border-color: var(--border-h); background: rgba(255,255,255,0.06); }
.chip img.chip-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
  padding: 3px;
}
.chip img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: contain;
  background: #fff;
  flex-shrink: 0;
  padding: 2px;
}
.chip-fallback {
  width: 22px; height: 22px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 9px; font-weight: 700; flex-shrink: 0;
}
.hero-trust {
  display: flex; gap: 28px; flex-wrap: wrap;
}
.trust-item { display: flex; flex-direction: column; }
.trust-num { font-size: 22px; font-weight: 800; color: var(--white); line-height: 1; }
.trust-label { font-size: 12px; color: var(--muted); margin-top: 3px; }

/* ── FORM CARD ── */
.form-card {
  background: #0F1B2D;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  box-shadow: var(--shadow-form);
  position: relative;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,0.4), transparent);
  border-radius: 20px 20px 0 0;
}
.form-card-header { margin-bottom: 18px; }
.form-tag {
  display: inline-block;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.2);
  color: #34D399; font-size: 11px; font-weight: 600;
  padding: 2px 10px; border-radius: 100px; margin-bottom: 10px;
}
.form-card-title { font-size: 19px; font-weight: 700; color: var(--white); margin-bottom: 4px; }
.form-card-sub   { font-size: 13px; color: var(--muted); }

.fgroup { display: flex; flex-direction: column; gap: 5px; margin-bottom: 11px; }
.fgroup label {
  font-size: 11px; font-weight: 600; color: #94A3B8;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.fgroup input, .fgroup select {
  width: 100%; height: 44px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0 14px;
  font-family: inherit; font-size: 15px;
  color: var(--white);
  outline: none;
  transition: border-color var(--t), background var(--t);
  -webkit-appearance: none; appearance: none;
}
.fgroup select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A91AD' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.fgroup select option { background: #0D1A2D; color: var(--white); }
.fgroup input::placeholder { color: rgba(120,140,165,0.55); }
.fgroup input:focus, .fgroup select:focus {
  border-color: rgba(96,165,250,0.5);
  background: rgba(96,165,250,0.05);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.08);
}
.fgroup.error input, .fgroup.error select {
  border-color: rgba(239,68,68,0.7);
  box-shadow: 0 0 0 3px rgba(239,68,68,0.1);
}
.fgroup .error-msg {
  display: none;
  font-size: 12px; color: #FCA5A5;
  margin-top: 2px;
}
.fgroup.error .error-msg { display: block; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }

/* Combo país + teléfono */
.phone-combo {
  display: grid; grid-template-columns: 110px 1fr; gap: 6px;
}
.phone-combo .country-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237A91AD' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  padding-right: 30px;
  font-size: 14px;
}

.btn-submit {
  width: 100%; height: 52px;
  background: var(--green); color: #fff;
  border: none; border-radius: var(--radius-sm);
  font-size: 16px; font-weight: 700;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  transition: background var(--t), transform var(--t);
  margin-top: 4px;
}
.btn-submit:hover { background: var(--green-h); transform: translateY(-1px); }
.btn-submit:active { transform: scale(0.99); }
.btn-submit:disabled { opacity: 0.7; cursor: not-allowed; }

.form-microcopy {
  text-align: center; font-size: 12px; color: var(--muted); margin-top: 8px;
}
.form-footnote {
  display: flex; align-items: center; justify-content: center; gap: 5px;
  font-size: 11px; color: rgba(120,140,165,0.6); margin-top: 10px;
}

/* ── SECTIONS ── */
.section { padding: 80px 32px; }
.section.alt { background: var(--surface); }
.section-inner { max-width: 1120px; margin: 0 auto; }
.section-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 10px;
}
.section-title {
  font-size: clamp(26px, 3vw, 38px); font-weight: 800; letter-spacing: -0.8px;
  line-height: 1.15; margin-bottom: 12px;
}
.section-sub { font-size: 15px; color: var(--muted); max-width: 520px; line-height: 1.7; margin-bottom: 48px; }

/* ── OPERATORS BAR ── */
.op-bar {
  display: flex; align-items: center; justify-content: center;
  gap: 16px; flex-wrap: wrap;
  padding: 32px; background: var(--surface);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  overflow-x: auto;
}
.op-bar-label {
  font-size: 11px; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase;
}

/* ── OP CARDS ── */
.op-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.op-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px;
  display: flex; flex-direction: column; gap: 12px;
  color: var(--white);
  transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.op-card:hover {
  border-color: var(--border-h); transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}
.op-logo-wrap {
  width: 60px; height: 60px;
  border-radius: 12px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; flex-shrink: 0;
  padding: 6px;
}
.op-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.op-logo-fallback {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 15px; font-weight: 800;
}
.op-name { font-size: 16px; font-weight: 700; }
.op-desc { font-size: 13px; color: var(--muted); line-height: 1.5; flex-grow: 1; }
.op-cta {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; font-weight: 600; color: #60A5FA;
}

/* ── STEPS ── */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.step-item { display: flex; flex-direction: column; gap: 12px; }
.step-num {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(96,165,250,0.1); border: 1px solid rgba(96,165,250,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #60A5FA;
}
.step-title { font-size: 16px; font-weight: 700; }
.step-desc  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── BENEFICIOS ── */
.benefits-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.benefit-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
}
.benefit-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(30,111,217,0.15); border: 1px solid rgba(30,111,217,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 14px;
}
.benefit-title { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.benefit-desc  { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ── TRUST SIGNALS ── */
.trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; }
.trust-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 24px;
  display: flex; gap: 14px; align-items: flex-start;
}
.trust-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(16,185,129,0.12); border: 1px solid rgba(16,185,129,0.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.trust-card-title { font-size: 15px; font-weight: 700; margin-bottom: 4px; }
.trust-card-desc  { font-size: 13px; color: var(--muted); line-height: 1.6; }

/* ── FAQ ACCORDION ── */
.faq-wrap { max-width: 760px; }
.faq-section { margin-bottom: 32px; }
.faq-section-title {
  font-size: 13px; font-weight: 700; color: var(--cyan);
  letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 14px;
}
details.faq-item {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius-sm); margin-bottom: 8px;
  overflow: hidden; transition: border-color var(--t);
}
details.faq-item[open] { border-color: var(--border-h); }
details.faq-item summary {
  list-style: none; cursor: pointer;
  padding: 16px 20px;
  font-size: 15px; font-weight: 600;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
}
details.faq-item summary::-webkit-details-marker { display: none; }
details.faq-item summary::after {
  content: '+'; font-size: 22px; font-weight: 300; color: var(--muted);
  transition: transform var(--t);
}
details.faq-item[open] summary::after { transform: rotate(45deg); }
details.faq-item .faq-body {
  padding: 0 20px 18px; color: var(--muted); font-size: 14px; line-height: 1.7;
}
details.faq-item .faq-body a { color: #34D399; font-weight: 600; }

/* ── CTA ── */
.cta-section {
  background: linear-gradient(135deg, #0D1A2D, #0A1628);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  text-align: center; padding: 80px 32px;
}
.btn-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--green); color: #fff;
  border-radius: 100px;
  padding: 16px 36px; font-size: 17px; font-weight: 700;
  transition: background var(--t), transform var(--t);
  box-shadow: 0 8px 24px rgba(16,185,129,0.3);
}
.btn-cta:hover { background: var(--green-h); transform: translateY(-2px); }
.cta-note { font-size: 13px; color: var(--muted); margin-top: 14px; }

/* ── FLOATING WHATSAPP ── */
.fab-wa {
  position: fixed; bottom: 20px; right: 20px; z-index: 99;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(37,211,102,0.45);
  transition: transform var(--t);
}
.fab-wa:hover { transform: scale(1.05); }
.fab-wa svg { width: 28px; height: 28px; fill: #fff; }

/* ── FOOTER ── */
footer {
  background: #050D1A; border-top: 1px solid var(--border);
  padding: 40px 32px 24px;
}
.footer-inner {
  max-width: 1120px; margin: 0 auto;
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap;
  padding-bottom: 24px; border-bottom: 1px solid var(--border); margin-bottom: 20px;
}
.footer-desc { font-size: 13px; color: var(--muted); margin-top: 8px; max-width: 360px; line-height: 1.6; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a { font-size: 13px; color: var(--muted); transition: color var(--t); }
.footer-links a:hover { color: var(--white); }
.footer-bottom {
  max-width: 1120px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 8px;
}
.footer-bottom p { font-size: 11px; color: rgba(120,140,165,0.55); line-height: 1.6; }
.footer-bottom .legal { font-size: 10px; }

/* ── SATELLITE HERO ── */
.sat-hero { padding: 56px 32px; position: relative; overflow: hidden; }
.sat-back {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 13px; margin-bottom: 24px;
  transition: color var(--t);
}
.sat-back:hover { color: var(--white); }
.sat-brand-header { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.sat-logo-wrap {
  width: 100px; height: 100px;
  border-radius: 16px;
  background: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.3);
  flex-shrink: 0; overflow: hidden;
  padding: 10px;
}
.sat-logo-wrap img { width: 100%; height: 100%; object-fit: contain; }
.sat-brand-name { font-size: 26px; font-weight: 800; }
.sat-brand-sub  { font-size: 13px; color: var(--muted); }
.sat-h1 { font-size: clamp(28px,3.5vw,46px); font-weight: 800; letter-spacing: -1px; line-height: 1.15; margin-bottom: 16px; }
.sat-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; max-width: 460px; margin-bottom: 28px; }
.sat-stat-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 12px; padding: 16px;
}
.sat-stat-num { font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 3px; }
.sat-stat-label { font-size: 12px; color: var(--muted); }
.sat-checks { display: flex; flex-direction: column; gap: 8px; max-width: 460px; }
.sat-check {
  display: flex; align-items: center; gap: 10px;
  font-size: 14px; color: var(--muted);
}

/* ── INSTITUTIONAL PAGES ── */
.inst-hero {
  padding: 80px 32px 32px; max-width: 800px; margin: 0 auto; text-align: left;
}
.inst-h1 { font-size: clamp(32px, 4vw, 44px); font-weight: 800; letter-spacing: -1px; margin-bottom: 16px; }
.inst-sub { font-size: 16px; color: var(--muted); line-height: 1.7; }
.inst-content {
  max-width: 800px; margin: 0 auto; padding: 0 32px 80px;
}
.inst-content h2 {
  font-size: 22px; font-weight: 700; letter-spacing: -0.4px;
  margin: 32px 0 12px;
}
.inst-content h3 {
  font-size: 16px; font-weight: 700; color: var(--cyan);
  letter-spacing: 0.05em; text-transform: uppercase; margin: 24px 0 10px;
}
.inst-content p { font-size: 15px; color: #B6C5D9; line-height: 1.75; margin-bottom: 12px; }
.inst-content ul { margin: 8px 0 16px 22px; }
.inst-content ul li { font-size: 15px; color: #B6C5D9; line-height: 1.75; margin-bottom: 6px; }
.inst-content a { color: #34D399; font-weight: 600; }
.inst-cta-block {
  margin: 40px 0;
  padding: 32px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius);
  text-align: center;
}
.inst-cta-block h3 { color: var(--white); text-transform: none; letter-spacing: -0.3px; font-size: 20px; margin: 0 0 8px; }
.inst-cta-block p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

/* ── THANK YOU PAGE ── */
.gracias-wrap {
  min-height: 100vh; display: flex; flex-direction: column; align-items: center;
  justify-content: center; padding: 40px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.gracias-wrap::before {
  content:''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 40% at 50% 30%, rgba(16,185,129,0.15) 0%, transparent 60%);
}
.gracias-content { max-width: 540px; position: relative; z-index: 1; }
.gracias-icon {
  width: 88px; height: 88px; border-radius: 50%;
  background: rgba(16,185,129,0.15); border: 2px solid rgba(16,185,129,0.4);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 28px;
  animation: pop 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes pop { from { transform: scale(0); } to { transform: scale(1); } }
.gracias-icon svg { stroke: #10B981; }
.gracias-h1 { font-size: clamp(28px, 4vw, 38px); font-weight: 800; letter-spacing: -0.8px; margin-bottom: 12px; }
.gracias-sub { font-size: 17px; color: var(--muted); margin-bottom: 32px; line-height: 1.6; }
.gracias-cta {
  display: inline-flex; align-items: center; gap: 10px;
  background: #25D366; color: #fff;
  padding: 18px 36px; border-radius: 100px;
  font-size: 17px; font-weight: 700;
  box-shadow: 0 8px 24px rgba(37,211,102,0.4);
  transition: background var(--t), transform var(--t);
  margin-bottom: 14px;
}
.gracias-cta:hover { background: #1ea952; transform: translateY(-2px); }
.gracias-cta svg { width: 22px; height: 22px; fill: #fff; }
.gracias-note { font-size: 14px; color: var(--muted); margin-bottom: 32px; }
.gracias-timer {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 100px; padding: 8px 20px;
  font-size: 13px; color: var(--muted); margin-bottom: 32px;
}
.gracias-back { font-size: 13px; color: var(--muted); transition: color var(--t); }
.gracias-back:hover { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 820px) {
  nav.topnav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { min-height: auto; padding: 24px 20px 40px; }
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .form-card-wrap { order: -1; }
  .hero-content { order: 1; }
  .form-card { padding: 22px; }
  .sat-hero { padding: 32px 20px; }
  .sat-stats { grid-template-columns: 1fr 1fr; gap: 8px; }
  .section { padding: 56px 20px; }
  .frow { grid-template-columns: 1fr; }
  .phone-combo { grid-template-columns: 100px 1fr; }
  .footer-inner { flex-direction: column; gap: 20px; }
  .footer-links { flex-direction: column; gap: 12px; }
  .op-bar { gap: 12px; padding: 20px 16px; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; }
  .op-bar img.logo-img,
  .op-bar img.bar-logo { height: 44px; width: 130px; padding: 4px 8px; }
  .op-bar-label { white-space: nowrap; }
  .inst-hero, .inst-content { padding-left: 20px; padding-right: 20px; }
  .fab-wa { bottom: 16px; right: 16px; width: 50px; height: 50px; }
  .fab-wa svg { width: 26px; height: 26px; }
}

/* ── ANIMATIONS ── */
@keyframes fadeUp { from { opacity:0; transform:translateY(24px); } to { opacity:1; transform:translateY(0); } }
.fade-up    { animation: fadeUp 0.6s ease both; }
.fade-up-d1 { animation-delay: 0.08s; }
.fade-up-d2 { animation-delay: 0.16s; }
.fade-up-d3 { animation-delay: 0.24s; }
.fade-up-d4 { animation-delay: 0.32s; }

/* ── LOGO CHIPS WITH LOCAL IMAGES ── */
.chip img.logo-img {
  background: #fff; padding: 2px;
}

/* ── OPERATOR LOGO STRIPS — show real logos ── */
.op-bar img.logo-img,
.op-bar img.bar-logo {
  height: 56px; width: 168px;
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
  padding: 6px 10px;
  opacity: 0.95;
  transition: opacity var(--t), transform var(--t);
  flex-shrink: 0;
}
.op-bar img.logo-img:hover,
.op-bar img.bar-logo:hover { opacity: 1; transform: translateY(-2px); }

/* SanCor logo has dark blue solid background — wrap adapts */
/* Sancor  Premedic — containers adaptados */
.op-logo-wrap.sancor-style {
  background: #07101F;
  width: auto; min-width: 80px;
  padding: 0 8px;
}
.op-logo-wrap.sancor-style img { width: auto; max-width: 76px; height: auto; max-height: 36px; }

.op-logo-wrap.premedic-style img { padding: 4px; }

/* ── CONTACT FORM ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px;
  align-items: start;
}
.contact-info-card {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.contact-info-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 18px; }
.contact-info-row { display: flex; gap: 14px; align-items: flex-start; padding: 12px 0; border-top: 1px solid var(--border); }
.contact-info-row:first-of-type { border-top: none; }
.contact-info-icon {
  width: 36px; height: 36px; border-radius: 10px;
  background: rgba(30,111,217,0.15); border: 1px solid rgba(30,111,217,0.3);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.contact-info-row p { margin: 0; font-size: 14px; color: var(--white); }
.contact-info-row p.label { font-size: 11px; color: var(--muted); letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 2px; }
.contact-info-row a { color: #34D399; }

.contact-form-card {
  background: #0F1B2D; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px;
}
.contact-form-card h3 { font-size: 18px; font-weight: 700; margin-bottom: 6px; }
.contact-form-card .sub { font-size: 13px; color: var(--muted); margin-bottom: 18px; }
textarea.contact-textarea {
  width: 100%; min-height: 120px; resize: vertical;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 12px 14px;
  font-family: inherit; font-size: 15px; color: var(--white);
  outline: none; transition: border-color var(--t), background var(--t);
}
textarea.contact-textarea::placeholder { color: rgba(120,140,165,0.55); }
textarea.contact-textarea:focus {
  border-color: rgba(96,165,250,0.5);
  background: rgba(96,165,250,0.05);
  box-shadow: 0 0 0 3px rgba(96,165,250,0.08);
}
#contact-success {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  text-align: center; gap: 12px; padding: 32px 16px; min-height: 320px;
}
#contact-success .success-circle {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3);
  display: flex; align-items: center; justify-content: center;
}
#contact-success h4 { font-size: 18px; font-weight: 700; }
#contact-success p { font-size: 14px; color: var(--muted); max-width: 260px; line-height: 1.6; }

.contact-map {
  margin-top: 24px;
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--border);
  height: 320px;
}
.contact-map iframe { width: 100%; height: 100%; border: 0; filter: invert(0.92) hue-rotate(180deg); }

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

/* ── SATELLITE HERO — STRONG CONVERSION FOCUS ── */
.sat-conversion-banner {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.35);
  color: #34D399;
  font-size: 12px; font-weight: 700;
  letter-spacing: 0.04em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  margin-bottom: 16px;
}
.sat-conversion-banner-dot {
  width: 6px; height: 6px; background: #10B981; border-radius: 50%;
  animation: blink 2s ease-in-out infinite;
}


/* ════════════════════════════════════════════════════════════════
   ✨ ANIMACIONES Y EFECTOS GLOBALES — v10
   ════════════════════════════════════════════════════════════════ */

/* ── CARRUSEL DE OPERADORAS (Trabajamos con) ── */
.op-marquee {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}
.op-marquee-label-wrap {
  flex-shrink: 0;
  padding-left: 32px;
  position: relative;
  z-index: 2;
}
.op-marquee-label-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: -32px; bottom: 0;
  width: 32px;
  background: linear-gradient(to right, var(--surface), transparent);
  pointer-events: none;
}
.op-marquee-label {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
  font-weight: 600;
}
.op-marquee-track-wrap {
  flex: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
          mask-image: linear-gradient(to right, transparent, #000 5%, #000 95%, transparent);
}
.op-marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  animation: marquee-scroll 38s linear infinite;
  will-change: transform;
}
.op-marquee:hover .op-marquee-track {
  animation-play-state: paused;
}
.op-marquee-track .bar-logo {
  height: 64px;
  width: 200px;
  object-fit: contain;
  background: #fff;
  border-radius: 12px;
  padding: 8px 14px;
  flex-shrink: 0;
  opacity: 0.92;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.op-marquee-track .bar-logo:hover {
  opacity: 1;
  transform: scale(1.04);
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(calc(-50% - 12px)); }
}

@media (max-width: 820px) {
  .op-marquee { padding: 20px 0; gap: 16px; }
  .op-marquee-label-wrap { padding-left: 20px; }
  .op-marquee-track .bar-logo { height: 48px; width: 150px; padding: 6px 10px; }
  .op-marquee-track { gap: 16px; animation-duration: 28s; }
}

/* ── SCROLL REVEAL: elementos aparecen al entrar al viewport ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-stagger.is-visible > *:nth-child(1) { transition-delay: 0.05s; }
.reveal-stagger.is-visible > *:nth-child(2) { transition-delay: 0.10s; }
.reveal-stagger.is-visible > *:nth-child(3) { transition-delay: 0.15s; }
.reveal-stagger.is-visible > *:nth-child(4) { transition-delay: 0.20s; }
.reveal-stagger.is-visible > *:nth-child(5) { transition-delay: 0.25s; }
.reveal-stagger.is-visible > *:nth-child(6) { transition-delay: 0.30s; }
.reveal-stagger.is-visible > *:nth-child(7) { transition-delay: 0.35s; }
.reveal-stagger.is-visible > *:nth-child(8) { transition-delay: 0.40s; }
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}

/* ── HOVER MEJORADOS EN CARDS ── */
.benefit-card,
.trust-card,
.review-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}
.benefit-card:hover,
.trust-card:hover,
.review-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.3);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.3),
              0 0 0 1px rgba(96, 165, 250, 0.15);
}
.benefit-card .benefit-icon,
.trust-card .trust-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease;
}
.benefit-card:hover .benefit-icon {
  transform: scale(1.08) rotate(-4deg);
  background: rgba(30, 111, 217, 0.25);
}
.trust-card:hover .trust-icon {
  transform: scale(1.08);
}

/* ── OP CARDS: levitación + glow ── */
.op-card {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.3s ease,
              box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.op-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
              rgba(96, 165, 250, 0.08) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}
.op-card:hover {
  transform: translateY(-6px) scale(1.01);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
              0 0 0 1px rgba(96, 165, 250, 0.2);
}
.op-card:hover::before { opacity: 1; }
.op-card .op-logo-wrap {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.op-card:hover .op-logo-wrap {
  transform: scale(1.06) rotate(-2deg);
}
.op-card .op-cta {
  transition: gap 0.25s ease, color 0.25s ease;
}
.op-card:hover .op-cta {
  gap: 8px;
  color: #93C5FD;
}

/* ── CHIPS: scale up al hover ── */
.chip {
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1),
              border-color 0.25s ease,
              background 0.25s ease;
}
.chip:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: rgba(96, 165, 250, 0.4);
  background: rgba(96, 165, 250, 0.08);
}
.chip:hover img.chip-icon {
  transform: scale(1.08);
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── HERO: glow detrás del título (subtle) ── */
.hero-h1 {
  position: relative;
}
.hero h1 .accent {
  position: relative;
  display: inline-block;
}
.hero h1 .accent::after {
  content: '';
  position: absolute;
  inset: -20% -10%;
  background: radial-gradient(ellipse, rgba(96, 165, 250, 0.18), transparent 70%);
  z-index: -1;
  pointer-events: none;
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50%      { opacity: 1.0; transform: scale(1.1); }
}

/* ── TRUST NUMBERS: count-up effect entry ── */
.trust-num,
.sat-stat-num {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.hero-trust:hover .trust-num,
.sat-stat-card:hover .sat-stat-num {
  transform: scale(1.08);
  color: #60A5FA;
}

/* ── FORM CARD: glow border en focus interno ── */
.form-card {
  transition: box-shadow 0.4s ease, border-color 0.3s ease;
}
.form-card:focus-within {
  border-color: rgba(96, 165, 250, 0.35);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.07),
              0 24px 60px rgba(0, 0, 0, 0.5),
              0 0 80px rgba(96, 165, 250, 0.08);
}

/* ── CTA BUTTONS: shine effect ── */
.btn-cta,
.btn-submit {
  position: relative;
  overflow: hidden;
}
.btn-cta::after,
.btn-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transition: left 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.btn-cta:hover::after,
.btn-submit:hover::after {
  left: 100%;
}

/* ── SAT-HERO: floating logo on satellite pages ── */
.sat-logo-wrap {
  animation: float-gentle 5s ease-in-out infinite;
}
@keyframes float-gentle {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-6px); }
}

/* ── STEPS: number bounce on hover ── */
.step-item {
  transition: transform 0.3s ease;
}
.step-item:hover {
  transform: translateY(-3px);
}
.step-item .step-num {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              background 0.3s ease,
              color 0.3s ease;
}
.step-item:hover .step-num {
  transform: scale(1.1) rotate(-6deg);
  background: rgba(96, 165, 250, 0.2);
  color: #93C5FD;
}

/* ── FAQ accordion: smooth open ── */
details.faq-item {
  transition: background 0.25s ease;
}
details.faq-item:hover {
  background: rgba(255, 255, 255, 0.02);
}
details.faq-item[open] summary::after {
  color: #60A5FA;
}

/* ── Reduced motion: respetar preferencia del sistema ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .op-marquee-track { animation: none; }
}
