:root {
  --navy: #050E1F;
  --navy-2: #061a35;
  --blue: #1976D2;
  --blue-dark: #075fb1;
  --gold: #c99a22;
  --gold-light: #f2e6bd;
  --text: #172033;
    --font-body: "Geist", sans-serif;
    --font-heading: "Outfit", sans-serif;
  --muted: #687386;
  --light: #f5f8fb;
  --border: #e4e9ef;
  --white: #ffffff;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(3, 17, 38, .07);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: #fff;
  font-size: 0.875rem;
}

h1,
h2,
h3,
h4,
h5,
h6,
.brand-text strong,
.footer-brand strong,
.benefit-card strong,
.hospital-box strong {
  font-family: var(--font-heading);
}

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

a {
  text-decoration: none;
}

.section-padding {
  padding: 72px 0;
}
#logo{
  width: 200px;
  height: auto;
}
.section-heading {
  max-width: 900px;
  margin: 0 auto 42px;
}

.section-heading h2 {
  margin: 0 0 8px;
  font-size: clamp(1.5rem, 3vw, 2.125rem);
  line-height: 1.15;
  font-weight: 800;
  color: var(--navy);
}

.section-heading p {
  margin: 0 auto;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.5;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 0.88rem;
  line-height: 1.2;
  font-weight: 700;
}

.eyebrow-dark {
  padding: 5px 10px;
  border: 1px solid #C8A951;
  border-radius: 99px;
  color: #C8A951;
  background: #C8A95126;
}

.eyebrow-white {
  padding: 5px 13px;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  color: #C8A951;
  background: #C8A95126;
}

/* ========================= NAVBAR ========================= */

.site-header { 
   position: sticky;
  top: 0;
  z-index: 20;
  width: 100%;
}

.navbar {
  min-height: 54px;
  padding: 0;
  background: #050E1F;
}

.navbar-brand,
.footer-brand {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}

.brand-mark {
  width: 30px;
  height: 38px;
  display: grid;
  place-items: center;
  color: #11a8ee;
  font-size: 1.375rem;
  transform: rotate(45deg);
}

.brand-mark i {
  transform: rotate(-45deg);
}

.brand-text,
.footer-brand > div:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong,
.footer-brand strong {
  color: #0784d8;
  font-size: 0.875rem;
  letter-spacing: 1px;
}

.brand-text span,
.footer-brand span {
  margin-top: 3px;
  color: #8292a9;
  font-size: 0.75rem;
  letter-spacing: 1px;
}

.btn {
  border-radius: 99px;
  font-size: 1rem;
  font-weight: 700;
  padding: 9px 20px;
}

.btn-primary {
  background: var(--blue);
  border-color: var(--blue);
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
}

.btn-cta {
  font-family: Outfit;
  padding: 6px 16px;
}

.navbar-toggler {
  border: 0;
  padding: 4px 6px;
}

@media (max-width: 575.98px) {
  #logo {
    width: 145px;
  }

  .btn-cta {
    padding: 6px 10px;
    font-size: 0.75rem;
  }
}


/* ========================= HERO ========================= */

.hero-section {
  position: relative;
  min-height: 650px;
  display: flex;
  align-items: center;
  overflow: hidden;

  /* Sustituir por la imagen real del Figma:*/
  background-image: url("../img/hero.webp");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; 
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(3, 17, 38, .88), rgba(3, 17, 38, .64)),
    linear-gradient(0deg, rgba(3, 17, 38, .45), transparent 55%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 55px;
}

.hero-section h1 {
  margin: 12px 0 18px;
  color: #fff;
  font-size: clamp(2.125rem, 4vw, 3.625rem);
  line-height: 1.03;
  font-weight: 800;
}

.hero-copy {
  margin: 0 auto 24px;
  color: rgba(255,255,255,.85);
  font-size: 1.1rem;
  line-height: 1.5;
  font-weight: 400;
}

.btn-main {
  padding: 11px 24px;
  box-shadow: 0px 4px 12px 0px #1976D233;
  margin-top: 10px;
}



.lista-iconos {
    list-style: none;
    padding: 0;
    margin: 0;
}

.lista-iconos li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 15px;
}

.lista-iconos li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 1px;
    width: 20px;
    height: 20px;
    background-image: url("../img/alert.webp");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* ========================= SÍNTOMAS ========================= */

.symptoms-section {
  background: linear-gradient(123.84deg, #F8FAFC 0%, #FFFFFF 100%);

}

.info-card {
  height: 100%;
  padding: 30px 20px;
  border: 1px solid #C8A95126;
  border-radius: 16px;
  background: #fff;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 9px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #C8A95126;
}

.card-title h3 {
  margin: 0;
  color: #050E1F;
  font-size: 1.2rem;
  font-weight: 800;
}
.iconlabel{
  width: 53px;
  margin-right: 6px;
}

.icon-circle {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5edcf;
  color: var(--gold);
  font-size: 0.8125rem;
}

.info-card ul {
  padding-left: 15px;
  margin: 0;
}

.info-card li {
  margin-bottom: 8px;
  color: #050E1F;
  font-size:0.95rem;
  line-height: 1.45;
}



/* ========================= BENEFICIOS ========================= */

.benefits-section {
  background: var(--navy);
}

.section-heading-dark h2 {
  color: #fff;
}

.section-heading-dark a {
  color: #1976D2;
  font-size: 1rem;
  font-weight: 600;
}
.ventja{
  color: #1976D2;
  font-size: 1.2rem;
  font-weight: 600;
}
.benefit-card {
  min-height: 105px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 23px 20px;
  border-radius: 12px;
  background: #0B1F3A;
  text-align: center;
}
.benefit-card img{
  width: 52px;
}

.benefit-card i {
  color: #087fd8;
  font-size: 1.125rem;
}

.benefit-card strong {
     color: #fff;
    font-size: 1.2rem;
    font-weight: 800;
    margin-top: 7px;
}


/* ========================= TECNOLOGÍA ========================= */

.technology-section {
  background: #F8FAFC;
}

.technology-section h2 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
}

.section-copy {
  margin-bottom: 24px;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.7;
}

.technology-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 15px;
  align-items: start;
  padding: 20px;
  margin-bottom: 12px;
  border: 1px solid #E2E8F0;
  border-radius: 16px;
  background: #fff;
}

.technology-image {
  width: 180px;
  height: auto;
  overflow: hidden;
}
.certifocadoicon{
  width: 40px;
  height: 40px;
  margin-bottom: 15px;
}

.image-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  padding: 5px;
  background: linear-gradient(135deg, #03264c, #0b83d8);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 800;
  text-align: center;
}

.technology-card h3 {
  margin: 0 0 5px;
  color: var(--navy);
  font-size: 1.1rem;
  font-weight: 700;
}

.technology-card p {
  margin: 0;
  color: var(--navy);
  font-size: 0.95rem;
  line-height: 1.45;
}

.doctor-card {
  padding: 38px;
 border-width: 4px 1px 1px 1px;
  border-style: solid;
  border-color: #C8A951;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0px 8px 24px 0px #0F172A08;
}
#imgdr{
  width: 87px;
}

.doctor-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 35px;
}

.doctor-photo {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #dfe6ee;
  color: var(--navy);
  font-weight: 800;
  font-size: 0.75rem;
}

.doctor-card h3 {
  margin: 0 0 4px;
  color: var(--navy);
  font-size: 1.5rem;
  font-weight: 800;
}

.doctor-card .doctor-header span {
  color: #C8A951;
  font-size: 0.98rem;
  font-weight: 700;
}

.doctor-card p,
.doctor-card blockquote {
  color: #050E1F;
  font-size:0.95rem;
  line-height: 1.6;
}

.doctor-card blockquote {
 margin: 25px 0 0;
    padding: 1px 0px;
    padding-left: 12px;
    border-left: 4px solid #1976D2;
}


/* ========================= DIRECTORIO ========================= */

.directory-section {
  background: #fff;
}

.specialist-card {
    height: 100%;
    padding: 25px;
    border-radius: 16px;
    border: 1px solid #E2E8F0;
    background: #fff;
    box-shadow: 0px 4px 16px 0px #0F172A05;
}

.specialist-photo {
  height: 150px;
  margin-bottom: 10px;
  display: grid;
  place-items: center;
  border-radius: 6px; 
}
.imgespecialist {
    height: auto;
    width: 100%;
    object-fit: cover;
        border-radius: 15px;
}

.specialist-card h3 {
     margin: 20px 0px 10px;
    color: var(--navy);
    font-size: 1.1rem;
    font-weight: 800;
}

.specialist-card span {
     display: block;
    margin-bottom: 7px;
    color: #C8A951;
    font-size: 0.95rem;
    font-weight: 700;
}

.specialist-card small {
  display: block;
  color: var(--navy);
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 3px;
}

.specialist-card a {
  display: block;
  margin-top: 14px;
    padding: 7px 8px;
  border: 1px solid #1976D2;
  border-radius: 99px;
  color: #1976D2;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 700;
  transition: .2s ease;
}

.specialist-card a:hover {
  color: #fff;
  background: #1976D2;
}


/* ========================= FORMULARIO ========================= */

.appointment-section {
  background: #E2E8F0;
}

.appointment-card {
  padding: 38px 42px;
  border-radius: 20px;
  background: #fff;
  border: 1px solid #E2E8F0;
  box-shadow: 0px 12px 32px 0px #0F172A12;
}
.agendaicon{
      width: 52px;
    margin: auto;
    margin-bottom: 13px;
}

.form-icon {
  width: 34px;
  height: 34px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f5edcf;
  color: var(--gold);
}

.appointment-card h2 {
    margin: 0 0 7px;
    color: var(--navy);
    font-size: 1.5rem;
    font-weight: 800;
}

.appointment-card > div > p {
    margin: 0;
    color: var(--navy);
    font-size: 0.88rem;
    line-height: 1.3;
}

.form-label {
      margin-bottom: 5px;
    color: var(--navy);
    font-size: 0.9rem;
    font-weight: 600;
}

.form-control,
.form-select {
  min-height: 40px;
  border-color: #E2E8F0;
  border-radius: 8px;
  color: var(--navy);
  font-size: 0.9rem;
}

.form-control::placeholder {
  color: #a1aab7;
}

.form-control:focus,
.form-select:focus {
  border-color: #73b7ea;
  box-shadow: 0 0 0 .15rem rgba(8, 121, 220, .1);
}

.btn-submit {
  background: #1976D2;
  box-shadow: 0px 4px 12px 0px #1976D233;
  border-radius: 8px;
  padding: 11px;
  font-family: Outfit;
  font-weight: 700;
  font-size: 1rem;
}

.privacy-note {
  display: flex;
  margin: 12px 0 0;
  color: var(--navy);
  text-align: center;
  font-size: 0.75rem;
  line-height: 1.3;
}
.candadoicon{
     width: 15px;
    height: 15px;
    margin-right: 4px;
}
.privacy-note i {
  color: var(--navy);
}

.form-message {
  margin-top: 12px;
  padding: 9px;
  border-radius: 5px;
  background: #edf8f0;
  color: #23733a;
  text-align: center;
  font-size: 0.75rem;
}


/* ========================= FOOTER ========================= */

.site-footer {
  padding: 48px 0 20px;
  background: var(--navy);
  color: #91a0b4;
}

.footer-brand {
  margin-bottom: 18px;
}

.footer-brand .brand-mark {
  color: #12a8ed;
}
#logofooter{
  width: 370px;
}

.site-footer h3 {
      margin: 0 0 15px;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.site-footer p {
    margin: 0;
    font-weight: 400;
    font-size: 0.88rem;
    line-height: 1.4;
    color: white;
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}

.social-links a {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: #0b294d;
  font-size: 0.75rem;
}

.footer-list {
  padding: 0;
  margin: 0;
  list-style: none;
}

.footer-list li {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  color: #FFFFFF;
  font-size: 0.88rem;
  line-height: 1.5;
}
.footer-list li a{
  color: #FFFFFF;
}

.footer-list i {
  font-size: 0.85rem;
  color: #1976D2;
}

.hospital-box {
    display: flex;
    flex-direction: row;
    gap: 10px;
    padding: 14px;
    border-radius: 8px;
    background: #0B1F3A;
    margin-bottom: 18px;
        align-items: center;
}
.hospital-box img{
      width: auto;
    height: 30px;
}
.inthostp{
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.hospital-box i {
  color: #fff;
}

.hospital-box strong {
  color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    font-family: Outfit;
}

.hospital-box span {
  color: white;
  font-size: 0.74rem;
}

.footer-small {
  margin-top: 10px !important;
}

.footer-bottom {
     display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 35px;
    padding-top: 15px;
    border-top: 1px solid #1F2937;
    color: #ffffff;
    font-size: 0.78rem;
}
.footer-small2{
  font-weight: 400 !important;
  font-size: 0.75rem !important;
    line-height: 140% !important;
    color: white !important;
}
.footer-small{
   font-weight: 400 !important;
  font-size: 0.73rem !important;
  color: #1976D2 !important;
}
.linkgallo{
  color: white !important;
}
/* =========================================================
   AJUSTES FINOS.
   El GRID principal lo hace Bootstrap.
   ========================================================= */

@media (max-width: 991.98px) {
  .hero-section {
    min-height: 500px;
  }

  .section-padding {
    padding: 58px 0;
  }

  .specialist-photo {
    height: 135px;
  }
}

@media (max-width: 767.98px) {
  body {
    font-size: 0.8125rem;
  }

  .section-padding {
    padding: 48px 0;
  }

  .hero-section {
    min-height: 570px;
  }

  .hero-section h1 {
    font-size: 2.125rem;
  }

  .hero-copy {
    font-size: 0.75rem;
  }

 

  .appointment-card {
    padding: 30px 22px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .hero-content {
    padding-left: 20px;
    padding-right: 20px;
  }

  .hero-section h1 {
    font-size: 1.875rem;
  }

  .section-heading {
    margin-bottom: 30px;
  }

  .section-heading h2 {
    font-size: 1.5rem;
  }

  .doctor-card {
    padding: 18px;
  }

  .specialist-photo {
    height: 180px;
  }
  .hero-section {
      background-position: 20%;
  }
  .eyebrow {
      font-size: 0.8rem;
  }
  .hero-copy {
        font-size: 0.85rem;
  }
  .btn {
      font-size: 0.9rem;
  }
  .section-heading p {
      font-size: 0.85rem;
  }
  .info-card li {
      font-size: 0.9rem;
  }

  .benefit-card {
      width: 73%;
      margin: auto;
      min-height: auto;
  }
  .section-copy {
      font-size: 0.9rem;
      line-height: 1.5;
  }
  .technology-card {
      grid-template-columns: 130px 1fr;
      gap: 10px;
          align-items: center;
  }
  .technology-image {
      width: 130px;
  }
  .certifocadoicon {
      display: none;
  }
  .technology-card h3 {
      font-size: 1rem;
  }
  .technology-card p {
      font-size: 0.9rem;
      line-height: 1.3;
  }
  .doctor-card h3 {
      font-size: 1.3rem;
  }
  .doctor-card .doctor-header span {
      font-size: 0.9rem;
  }
  .doctor-card p, .doctor-card blockquote {
      font-size: 0.9rem;
      line-height: 1.5;
  }
      .section-padding {
        padding: 44px 0;
    }
    .specialist-card {
      width: 92%;
      margin: auto;
  }
  #logofooter {
      width: 260px;
      margin: auto;
  }
  .site-footer p {
      font-size: 0.85rem;
      text-align: center;
      width: 71%;
        margin: auto;
  }
  .social-links {
      justify-content: center;
  }
  .footer-bottom {
      text-align: center;
  }
  .site-footer h3 {
      text-align: center;
      margin-top: 20px;
  }
  .hospital-box {
      width: 85%;
      margin: auto;
      margin-bottom: 20px;
      justify-content: center;
  }
  .footer-list {
      width: 65%;
      margin: auto;
  }
      .btn-cta {
        font-size: 0.75rem !important;
    }
}
