:root {
  --blue: #0b7df2;
  --green: #2bc84c;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  overflow-x: hidden;
}

p {
  font-size: 18px;
}

img {
  max-width: 100%;
  height: auto;
}

.section {
  padding: 56px 18px;
}

.section__title {
  text-align: center;
  margin: 0 auto 24px;
  font-size: 22px;
  letter-spacing: 0.4px;
  color: #113355;
}

.section__subtitle {
  text-align: center;
  margin: -12px 0 28px;
  color: #d6e3f7;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid #d9e2ec;
  padding: 12px 16px;
}

.topbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand__logo {
  height: 58px;
  width: auto;
  object-fit: contain;
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border-radius: 4px;
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
}

.pill--phone {
  background: var(--blue);
}

.pill--wa {
  background: var(--green);
}

.pill__icon {
  width: 22px;
  height: 22px;
  object-fit: contain;
}

.hero {
  position: relative;
  background: linear-gradient(180deg, rgba(23, 73, 128, 0.45), rgba(23, 73, 128, 0.65)), url('images/ccab7066-medico.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  padding: 68px 18px 96px;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 67, 126, 0.4), rgba(10, 67, 126, 0.7));
}

.hero__inner {
  position: relative;
  max-width: 1240px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  align-items: start;
}

.hero__copy h1 {
  margin: 8px 0 14px;
  font-size: 33px;
  line-height: 1.25;
}

.hero__eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 700;
  color: #b8ddff;
  font-size: 17px;
}

.hero__lead {
  margin: 0 0 16px;
  max-width: 520px;
}

.hero__pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-start;
}

.hero__pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  border: none;
  border-radius: 4px;
  font-weight: 700;
  font-size: 18px;
  cursor: pointer;
  color: #fff;
  background: #2bc84c;
  text-decoration: none;
}

.hero__formcard {
  background: #f5fbff;
  color: #0f2d4f;
  padding: 18px;
  border-radius: 10px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
  display: grid;
  gap: 8px;
  min-width: 300px;
  align-items: center;
  justify-items: center;
}

.formcard__title {
  margin: 0;
  font-weight: 700;
  text-align: center;
  font-size: 21px;
}

.formcard__subtitle {
  margin: 4px 0 4px;
  color: #1d4a7a;
  font-weight: 600;
  text-align: center;
  font-size: 18px;
}

.formcard__form {
  display: grid;
  gap: 6px;
  width: 100%;
}

.formcard__form input {
  padding: 10px 12px;
  border-radius: 4px;
  border: 1px solid #c7d9ed;
  font-size: 17px;
}

.formcard__submit {
  padding: 12px;
  border: none;
  border-radius: 4px;
  background: #2bc84c;
  color: #fff;
  font-weight: 800;
  font-size: 18px;
  cursor: pointer;
}

.formcard__badges {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-weight: 700;
  color: #0f2d4f;
}

.formcard__badges--icons {
  justify-content: center;
  gap: 14px;
  margin-top: 4px;
  padding-bottom: 10px;
}

.formcard__badges--icons img {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.hero__formwrap {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.hero__note {
  margin: 0;
  font-weight: 600;
  text-align: center;
  color: #d7e8ff;
}

.hero__cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 16px;
}

.hero__cta .hero__pill {
  min-width: 240px;
  text-transform: uppercase;
  text-align: center;
}

.hero__after {
  display: none;
}

.spacer-band {
  height: 48px;
  background: #e7eaed;
}

.section--why {
  background: #f9fcff;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 1fr));
  gap: 48px 40px;
  max-width: 1100px;
  margin: 0 auto;
  align-items: start;
}

.feature-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0 10px;
  text-align: left;
  box-shadow: none;
  display: grid;
  grid-template-columns: 110px 1fr;
  grid-template-areas:
    "icon title"
    "icon text";
  align-items: start;
  column-gap: 16px;
  row-gap: 6px;
}

.feature-card__icon {
  margin-bottom: 0;
  grid-area: icon;
  align-self: start;
}

.feature-card__icon img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.feature-card h3 {
  margin: 0 0 6px;
  font-size: 20px;
  color: #0b7df2;
  grid-area: title;
  text-align: center;
}

.feature-card p {
  margin: 0;
  max-width: none;
  grid-area: text;
  text-align: center;
}

.section--benefits {
  background: #ffffff;
  color: #0f2d4f;
  padding: 0;
}

.benefits {
  display: grid;
  grid-template-columns: minmax(360px, 1fr) minmax(280px, 420px);
  grid-template-areas: "list image";
  gap: 24px 32px;
  max-width: 1180px;
  margin: 0 auto;
  align-items: center;
}

.benefits__list {
  grid-area: list;
}

.benefits__image {
  grid-area: image;
}

.benefits__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.benefits__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.benefits__image img {
  max-width: 100%;
  height: auto;
}

.benefits__list li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: start;
  gap: 10px;
  padding: 12px 14px;
  border: 1px solid #dfe5ef;
  border-radius: 8px;
  background: #fff;
  color: #1f2937;
  line-height: 1.45;
  font-size: 18px;
}

.benefits__list li::before {
  content: '';
  width: 18px;
  height: 18px;
  display: inline-block;
  background: url('images/cb6373ac-garrapata_100k00k000000000000028.png') center/contain no-repeat;
  margin-top: 2px;
}

.benefits__band {
  height: 54px;
  background: #0b7df2;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.benefits__band--top {
  margin-bottom: 18px;
}

.benefits__band--bottom {
  margin-top: 18px;
}

.benefits__title {
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.section--credit {
  background: #f7fbff;
}

.credit {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: center;
}

.credit__text h3 {
  margin: 0 0 10px;
  color: #0b7df2;
}

.credit__text p {
  margin: 0;
  color: #294c6f;
}

.credit__image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.credit__image img {
  max-width: 100%;
  height: auto;
  display: block;
}

.section--steps {
  position: relative;
  background: linear-gradient(180deg, rgba(5, 30, 66, 0.7), rgba(5, 30, 66, 0.85)), url('images/07664261-thumb01_10000000f807s00000w01o.jpg');
  background-size: cover;
  background-position: center;
  color: #fff;
  overflow: hidden;
}

.section__title--light {
  color: #fff;
}

.steps {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.step {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 10px;
  padding: 16px;
  text-align: center;
}

.step h3 {
  font-size: 21px;
}

.step p {
  font-size: 18px;
}

.step__icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.step__icon--img img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  display: inline-block;
  filter: drop-shadow(0 4px 10px rgba(0,0,0,0.25));
}

@media (min-width: 960px) {
  .steps {
    display: flex;
    gap: 24px;
    justify-content: space-between;
    align-items: flex-start;
  }

  .step {
    flex: 1 1 0;
    position: relative;
  }
}

.section--testimonials {
  background: #f5f7fb;
}

.section--testimonials .section__title {
  color: #0b7df2;
  font-size: 24px;
}

.testimonials {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 18px;
}

.testimonial {
  background: #0b7df2;
  color: #fff;
  border-radius: 12px;
  padding: 18px;
  text-align: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
  border: none;
}

.testimonial h3 {
  font-size: 21px;
}

.testimonial:nth-child(2) {
  background: #8f9399;
}

.testimonial__avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin: 0 auto 12px;
}

.testimonial__role {
  margin: 0 0 8px;
  color: rgba(255,255,255,0.85);
  font-size: 18px;
}

.testimonial__quote {
  margin: 0;
  color: #fff;
  font-style: italic;
  font-size: 18px;
}

.testimonial__avatar--img img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: contain;
}

.section--cta {
  background: url('images/8e25587b-bannersaludback.png') center/cover no-repeat;
  position: relative;
  color: #fff;
  padding: 64px 18px;
}

.section--cta::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 31, 63, 0.6);
  z-index: 0;
  pointer-events: none;
}

.cta {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  display: grid;
  gap: 12px;
}

.cta h3 {
  font-size: 21px;
}

.cta p {
  font-size: 18px;
}

.cta__lead {
  margin: 0;
  color: #fff;
  line-height: 1.5;
}

.cta__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  color: #fff;
  border: 1px solid transparent;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-cta img {
  width: 26px;
  height: 26px;
  object-fit: contain;
}

.btn-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.3);
}

.btn-cta--phone {
  background: #0b7df2;
}

.btn-cta--wa {
  background: #1fa855;
}

.cta__footer {
  margin-top: 6px;
  color: #fff;
  text-decoration: underline;
  font-weight: 600;
  display: inline-block;
}

.cta__footer:hover {
  color: #dbeafe;
}

.footer {
  background: #0b7df2;
  padding: 14px 24px;
  text-align: center;
}

.footer__credits a {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
}

.footer__credits a:hover {
  color: #dbeafe;
}

@media (max-width: 720px) {
  .hero {
    padding: 0;
    background: #f5f7fb;
  }

  .hero__overlay {
    display: none;
  }

  .hero__inner {
    max-width: 100%;
    gap: 0;
  }

  .hero__copy {
    padding: 64px 18px 24px;
    text-align: center;
    background: linear-gradient(180deg, rgba(23, 73, 128, 0.45), rgba(23, 73, 128, 0.65)), url('images/ccab7066-medico.jpg');
    background-size: cover;
    background-position: 20% center;
    min-height: 320px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero__lead {
    max-width: none;
  }

  .topbar {
    padding: 12px;
  }
  .topbar__inner {
    flex-direction: column;
  }
  .actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .pill {
    width: 100%;
    justify-content: center;
  }

  .hero__inner {
    grid-template-columns: 1fr;
  }

  .hero__formcard {
    width: 100%;
    min-width: 0;
  }

  .hero__formwrap {
    padding: 18px;
  }

  .hero__note {
    order: -1;
    width: calc(100% + 36px);
    margin: 0 -18px 12px;
    padding: 10px 12px;
    background: #e7eaed;
    color: #4b5563;
    font-weight: 600;
  }

  .hero__copy .hero__lead,
  .hero__copy .hero__cta {
    display: none;
  }

  .hero__after {
    display: block;
    padding: 0 18px 24px;
    text-align: center;
    background: #f5f7fb;
    color: #1f2937;
  }

  .hero__copy h1 {
    font-size: 27px;
  }

  .cta__actions .pill {
    width: auto;
    justify-content: center;
  }

  .feature-grid,
  .benefits,
  .credit {
    grid-template-columns: 1fr;
  }

  .feature-card {
    text-align: center;
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "icon"
      "text";
    row-gap: 8px;
  }

  .feature-card__icon {
    align-self: center;
  }

  .feature-card h3,
  .feature-card p {
    text-align: center;
  }

  .benefits {
    grid-template-areas:
      "image"
      "list";
  }
}

