/* ===== HCE Colombia — Landing ===== */

:root {
  --navy: #1B3A5C;
  --blue: #2E6DA4;
  --sky: #90CAF9;
  --bg-soft: #F5F8FF;
  --bg-soft-2: #F9FAFB;
  --white: #FFFFFF;
  --ink: #1F2933;
  --ink-soft: #52606D;
  --border: #EAEFF6;
  --border-dark: rgba(15, 23, 42, 0.14);

  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --shadow-soft: 0 16px 36px rgba(15, 23, 42, 0.12);
  --shadow-card: 0 12px 28px rgba(15, 23, 42, 0.10), 0 2px 8px rgba(15, 23, 42, 0.06);

  --font: "Plus Jakarta Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;

  /* App product colors (sampled from the real HCE Colombia UI) */
  --app-blue: #155CFF;
  --app-ink: #0B1220;
  --app-gray: #6B7280;
  --app-bg: #F7F9FC;
  --app-border: #E7EAF0;
  --app-green-bg: #D6FCC9;
  --app-green-text: #17803D;
  --app-amber-bg: #FFE8A1;
  --app-amber-text: #8A5A00;
  --app-sky-bg: #BEE3FE;
  --app-sky-text: #155CFF;
}

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

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

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

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: var(--white);
  padding: 10px 16px;
  border-radius: 0 0 8px 0;
  z-index: 999;
}
.skip-link:focus { left: 0; }

h1, h2, h3 { color: var(--navy); margin: 0; font-weight: 800; }
p { margin: 0; color: var(--ink-soft); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1.5px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
  cursor: pointer;
  white-space: nowrap;
}
.btn--primary {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 6px 16px rgba(27, 58, 92, 0.25);
}
.btn--primary:hover { background: var(--blue); transform: translateY(-1px); }

.btn--outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--border);
}
.btn--outline:hover { border-color: var(--blue); color: var(--blue); }

.btn--ghost {
  background: transparent;
  color: var(--navy);
}
.btn--ghost:hover { color: var(--blue); }

.btn--lg { padding: 12px 26px; font-size: 0.95rem; }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand__mark { display: flex; }
.brand__text {
  font-weight: 500;
  color: var(--navy);
  font-size: 1.05rem;
}
.brand__text strong { font-weight: 800; }

.nav__links {
  display: flex;
  gap: 28px;
}
.nav__links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
}
.nav__links a:hover { color: var(--navy); }

.nav__actions { display: flex; align-items: center; gap: 8px; }

.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
}

/* ---------- Hero ---------- */
.hero { padding: 72px 0 96px; background: var(--bg-soft); }
.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--blue);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
}
.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.text-accent { color: var(--blue); }
.hero__sub {
  margin-top: 18px;
  font-size: 1.15rem;
  color: var(--ink-soft);
  max-width: 46ch;
}
.hero__ctas {
  display: flex;
  gap: 14px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero__trustlist {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.hero__trustlist li {
  font-size: 0.92rem;
  color: var(--ink-soft);
  padding-left: 22px;
  position: relative;
}
.hero__trustlist li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--sky);
}

/* ---- Hero mock visual ---- */
.hero__visual { position: relative; }
.mock-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-dark);
  overflow: hidden;
}
.mock-card__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--bg-soft-2);
  border-bottom: 1px solid var(--border);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; }
.mock-dot--a { background: #F3B7B7; }
.mock-dot--b { background: #F4D9A0; }
.mock-dot--c { background: #A8DDBB; }
.mock-card__title {
  margin-left: 8px;
  font-size: 0.82rem;
  color: var(--ink-soft);
  font-weight: 600;
}
.mock-card__body { padding: 22px; display: flex; flex-direction: column; gap: 20px; }
.mock-field { display: flex; flex-direction: column; gap: 8px; }
.mock-label { font-size: 0.78rem; font-weight: 700; color: var(--navy); }
.mock-line {
  height: 10px;
  border-radius: 6px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
}
.mock-line--60 { width: 62%; }
.mock-chip {
  display: inline-block;
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--bg-soft);
  border: 1px solid var(--sky);
  color: var(--blue);
  font-size: 0.82rem;
  font-weight: 600;
}
.mock-photos { display: flex; gap: 10px; }
.mock-photo {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--sky), var(--bg-soft));
  border: 1px solid var(--border);
}
.mock-photo--add {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-soft-2);
  color: var(--blue);
  font-weight: 700;
  font-size: 1.1rem;
}
.mock-field--sign { border-top: 1px solid var(--border); padding-top: 16px; }
.mock-signature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg-soft);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  width: fit-content;
}

.hero__badge {
  position: absolute;
  bottom: -18px;
  right: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--white);
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow-card);
  border: 1px solid var(--border);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Section headings ---------- */
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  text-align: center;
  letter-spacing: -0.01em;
}
.section-sub {
  text-align: center;
  margin: 12px auto 0;
  max-width: 52ch;
  font-size: 1.05rem;
}
.section-title--left, .section-sub--left { text-align: left; margin-left: 0; }

/* ---------- Pain ---------- */
.pain { padding: 96px 0; }
.pain__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 44px;
}
.pain-card {
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 28px;
  text-align: center;
}
.pain-card h3 { font-size: 1.1rem; margin-bottom: 8px; }
.pain-card p { font-size: 0.95rem; }
.pain__pivot {
  text-align: center;
  margin-top: 40px;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

/* ---------- Features ---------- */
.features { padding: 96px 0; background: var(--white); border-top: 1px solid var(--border); }
.features__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-dark);
  padding: 26px;
  box-shadow: var(--shadow-card);
}
.feature-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; }

/* ---------- Product tour ---------- */
.tour { padding: 96px 0; background: var(--white); border-top: 1px solid var(--border); }

.app-mock {
  background: var(--app-bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.app-mock__bar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 18px;
  background: var(--white);
  border-bottom: 1px solid var(--app-border);
}
.app-mock__body {
  padding: 24px;
  font-family: var(--font);
}

.app-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
}
.app-badge--green { background: var(--app-green-bg); color: var(--app-green-text); }
.app-badge--amber { background: var(--app-amber-bg); color: var(--app-amber-text); }
.app-badge--blue { background: var(--app-blue); color: var(--white); font-weight: 600; }
.app-badge--blue-soft { background: rgba(255,255,255,0.85); color: var(--app-sky-text); }
.app-badge--amber-soft { background: rgba(255,255,255,0.85); color: var(--app-amber-text); }

.tour__main { margin-top: 44px; max-width: 760px; margin-left: auto; margin-right: auto; }

.dash-greeting h3 { font-size: 1.2rem; color: var(--app-ink); }
.dash-greeting p { font-size: 0.85rem; color: var(--app-gray); margin-top: 2px; }

.dash-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 18px;
}
.dash-stat {
  background: var(--white);
  border: 1px solid var(--app-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dash-stat__label { font-size: 0.72rem; color: var(--app-gray); }
.dash-stat__value { font-size: 1.3rem; font-weight: 800; color: var(--app-ink); }

.dash-actions { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; }
.dash-action {
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  background: var(--white);
  border: 1px solid var(--app-border);
  color: var(--app-ink);
}
.dash-action--primary { background: var(--app-blue); color: var(--white); border-color: var(--app-blue); }
.dash-action--sm { padding: 6px 12px; font-size: 0.75rem; }

.dash-list { margin-top: 18px; background: var(--white); border: 1px solid var(--app-border); border-radius: var(--radius-sm); overflow: hidden; }
.dash-list__head { display: flex; justify-content: space-between; padding: 12px 16px; font-size: 0.85rem; font-weight: 700; color: var(--app-ink); border-bottom: 1px solid var(--app-border); }
.dash-list__link { color: var(--app-blue); font-weight: 600; font-size: 0.78rem; }
.dash-list__row { display: flex; align-items: center; gap: 14px; padding: 12px 16px; font-size: 0.85rem; border-top: 1px solid var(--app-border); }
.dash-list__time { color: var(--app-gray); font-weight: 600; width: 44px; flex-shrink: 0; }
.dash-list__name { flex: 1; color: var(--app-ink); font-weight: 600; display: flex; flex-direction: column; }
.dash-list__name small { color: var(--app-gray); font-weight: 500; font-size: 0.75rem; }

.tour__grid { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.tour__grid .app-mock__body { padding: 20px; }

.pac-head, .fc-head { display: flex; align-items: center; justify-content: space-between; }
.pac-head h3, .fc-head h3, .hv-head h3 { font-size: 1rem; color: var(--app-ink); }
.pac-search {
  margin-top: 14px;
  padding: 9px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--app-border);
  background: var(--white);
  color: var(--app-gray);
  font-size: 0.78rem;
}
.pac-row { display: flex; justify-content: space-between; padding: 11px 4px; font-size: 0.82rem; border-top: 1px solid var(--app-border); color: var(--app-ink); }
.pac-row:first-of-type { margin-top: 12px; }
.pac-row span:last-child { color: var(--app-gray); }

.hv-head p { font-size: 0.78rem; color: var(--app-gray); margin-top: 2px; }
.hv-list { margin-top: 16px; display: flex; flex-direction: column; gap: 14px; }
.hv-row { padding: 12px; background: var(--white); border: 1px solid var(--app-border); border-radius: var(--radius-sm); }
.hv-row__top { display: flex; align-items: center; justify-content: space-between; }
.hv-date { font-size: 0.78rem; font-weight: 700; color: var(--app-ink); }
.hv-row p { font-size: 0.8rem; color: var(--app-gray); margin-top: 6px; }

.fc-tabs { display: flex; gap: 8px; margin-top: 14px; }
.fc-tab { font-size: 0.72rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--app-border); color: var(--app-gray); background: var(--white); }
.fc-tab--active { background: var(--app-ink); color: var(--white); border-color: var(--app-ink); }
.fc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 14px; }
.fc-photo { position: relative; aspect-ratio: 1; border-radius: var(--radius-sm); display: flex; align-items: flex-end; padding: 8px; }
.fc-photo--a { background: linear-gradient(135deg, var(--sky), var(--bg-soft)); }
.fc-photo--b { background: linear-gradient(135deg, #C9D6E8, var(--bg-soft)); }

/* ---------- Specialties ---------- */
.specialties { padding: 96px 0; }
.specialties__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}
.specialty-list {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.specialty-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.specialty-item__index {
  font-weight: 800;
  color: var(--sky);
  font-size: 1.1rem;
  line-height: 1.4;
}
.specialty-item h3 { font-size: 1.05rem; margin-bottom: 4px; }
.specialty-item p { font-size: 0.92rem; }

.specialties__visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-dark);
  box-shadow: var(--shadow-soft);
  aspect-ratio: 4 / 5;
}
.specialties__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ---------- Trust ---------- */
.trust {
  padding: 96px 0;
  background:
    linear-gradient(135deg, rgba(11, 20, 38, 0.92), rgba(27, 58, 92, 0.9)),
    url("../img/foto-examen.jpg") center 30% / cover no-repeat;
}
.trust .section-title, .trust .section-sub { color: var(--white); }
.trust .section-sub { color: rgba(255,255,255,0.75); }
.trust__badges {
  margin-top: 44px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.trust-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}
.trust-badge strong {
  display: block;
  color: var(--sky);
  font-size: 1.05rem;
  margin-bottom: 6px;
}
.trust-badge span { color: rgba(255,255,255,0.75); font-size: 0.85rem; }

/* ---------- Testimonials ---------- */
.testimonials { padding: 108px 0 96px; background: var(--white); }
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
}
.testimonial {
  margin: 0;
  position: relative;
}
.testimonial--offset { transform: translateY(36px); }
.testimonial__mark {
  width: 52px;
  height: auto;
  fill: var(--sky);
  opacity: 0.9;
  margin-bottom: 4px;
}
.testimonial__text {
  margin: 0;
  font-family: "Lora", Georgia, serif;
  font-style: italic;
  font-weight: 600;
  font-size: 1.4rem;
  line-height: 1.4;
  color: var(--navy);
}
.testimonial__by {
  margin-top: 16px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

/* ---------- Pricing ---------- */
.pricing { padding: 96px 0; }
.pricing__card {
  max-width: 520px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: var(--shadow-card);
}
.pricing__header h3 { font-size: 1.3rem; }
.pricing__price {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--blue);
  font-weight: 600;
}
.pricing__list {
  list-style: none;
  padding: 0;
  margin: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  text-align: left;
}
.pricing__list li {
  padding-left: 26px;
  position: relative;
  font-size: 0.95rem;
  color: var(--ink);
}
.pricing__list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--blue);
  font-weight: 800;
}
.pricing__cta { width: 100%; }
.pricing__note { margin-top: 16px; font-size: 0.85rem; }

/* ---------- FAQ ---------- */
.faq { padding: 96px 0; background: var(--white); border-top: 1px solid var(--border); }
.faq__list {
  max-width: 760px;
  margin: 44px auto 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border-dark);
  border-radius: var(--radius-md);
  padding: 6px 22px;
  box-shadow: var(--shadow-card);
}
.faq-item summary {
  padding: 13px 0;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  color: var(--blue);
  font-size: 1.3rem;
  font-weight: 400;
  margin-left: 12px;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item p { padding: 0 0 18px; font-size: 0.95rem; }

/* ---------- CTA final ---------- */
.cta-final { padding: 96px 0; }
.cta-final__inner {
  text-align: center;
  background:
    linear-gradient(135deg, rgba(27, 58, 92, 0.93), rgba(46, 109, 164, 0.88)),
    url("../img/foto-procedimiento.jpg") center / cover no-repeat;
  border-radius: var(--radius-lg);
  padding: 64px 32px;
}
.cta-final h2 { color: var(--white); font-size: clamp(1.6rem, 3vw, 2.1rem); }
.cta-final p { color: rgba(255,255,255,0.85); margin: 14px 0 28px; font-size: 1.05rem; }
.cta-final .btn--primary { background: var(--white); color: var(--navy); }
.cta-final .btn--primary:hover { background: var(--sky); }

/* ---------- Footer ---------- */
.footer { padding: 48px 0 24px; border-top: 1px solid var(--border); }
.footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__brand { display: flex; gap: 10px; }
.footer__brand p { font-size: 0.9rem; color: var(--ink-soft); }
.footer__brand p strong { color: var(--navy); }
.footer__links, .footer__legal {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.footer__links a, .footer__legal a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 0.9rem;
}
.footer__links a:hover, .footer__legal a:hover { color: var(--navy); }
.footer__copy {
  text-align: center;
  margin-top: 32px;
  font-size: 0.8rem;
  color: #98A2B3;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .specialties__grid { grid-template-columns: 1fr; }
  .specialties__visual { order: -1; }
  .pain__grid, .features__grid { grid-template-columns: repeat(2, 1fr); }
  .trust__badges { grid-template-columns: repeat(2, 1fr); }
  .testimonials__grid { grid-template-columns: repeat(2, 1fr); row-gap: 40px; }
  .testimonial--offset { transform: none; }
  .tour__grid { grid-template-columns: 1fr; max-width: 460px; margin-left: auto; margin-right: auto; }
}

@media (max-width: 720px) {
  .nav__links { display: none; }
  .nav__actions .btn--ghost { display: none; }
  .nav__toggle { display: flex; flex-shrink: 0; }
  .nav__inner { padding: 12px 16px; gap: 10px; }
  .brand__text { white-space: nowrap; font-size: 0.95rem; }
  .nav__actions .btn--primary { padding: 8px 16px; font-size: 0.85rem; }

  .nav.nav--open .nav__links {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    gap: 16px;
  }

  .pain__grid, .features__grid { grid-template-columns: 1fr; }
  .trust__badges { grid-template-columns: 1fr; }
  .testimonials__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero { padding: 48px 0 64px; }
  .pain, .features, .specialties, .trust, .pricing, .faq, .cta-final, .tour { padding: 64px 0; }
  .testimonials { padding: 64px 0; }
  .footer__inner { flex-direction: column; }
}
