/* Tu Perito Médico - Bootstrap 5 theme */
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-VariableFont_slnt,wght.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --brand-navy: #24465E;
  /* 24465E;*/
  /* RGB(36,70,94) */
  --brand-navy-2: #1D3E55;
  --brand-navy-3: #FFFFFF;
  --brand-sand: #D2BCB1;
  --brand-sky: #81C8E4;
  --brand-ink: #0B1E2E;
  --brand-gray: #CFCFCF;
}

html {
  scroll-behavior: smooth;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--brand-ink);
  background: #fff;
}

.equipo {
  font-weight: 600 !important;
  color: var(--brand-ink);
  min-height: 4rem;
}

a {
  text-decoration: none;
}

.link-muted {
  color: rgba(255, 255, 255, .85);
}

.link-muted:hover {
  color: #fff;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: .2px;
}

.navbar-tpm {
  background: var(--brand-navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .15);
}

.navbar-tpm .nav-link {
  color: rgba(255, 255, 255, .92);
  font-weight: 500;
}

.navbar-tpm .nav-link:hover,
.navbar-tpm .nav-link.active {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 6px;
}

.btn-brand {
  background: #24465e;
  border-color: #24465e;
  color: #fff;
  font-weight: 600;
}

.btn-brand:hover {
  background: #98d4ea;
  border-color: #98d4ea;
  color: var(--brand-ink);
}

.btn-outline-brand {
  border-color: rgba(255, 255, 255, .7);
  color: #fff;
  font-weight: 600;
}

.btn-outline-brand:hover {
  background: rgba(255, 255, 255, .12);
  border-color: #fff;
  color: #fff;
}

.section-navy {
  /* background: var(--brand-navy);*/
  color: #fff;
  position: relative;
  overflow: hidden;
}

.section-navy-3 {
  background: transparent;
  color: #fff;
  position: relative;
  overflow: hidden;
  margin-top: -10rem;
}

.hero {
  padding-top: 3rem;
  /* padding-bottom: 4.5rem;*/

}

.hero .hero-filigree {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  height: auto;
  opacity: .45;
  pointer-events: none;
}

.hero .hero-frame {
  position: absolute;
  left: 50%;
  top: 54%;
  transform: translate(-50%, -50%);
  width: min(720px, 90vw);
  opacity: .55;
  pointer-events: none;
}

.hero h1 {
  font-size: clamp(2rem, 3vw, 2.8rem);
  line-height: 1.12;
  font-weight: 800;
}

.hero p.lead {
  font-size: 1.08rem;
  opacity: .95;
}

.hero-card {
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 1.25rem;
  padding: 1rem;
}

.rounded-24 {
  border-radius: 1.5rem;
}

.rounded-20 {
  border-radius: 1.25rem;
}

.panel-sand {
  background: url('../img/fondo_servicios.png');
  border-radius: 0;
  padding: 4rem 1.5rem;
  background-position: bottom;
  min-height: 34rem;
}

.icon-badge {
  width: 88px;
  height: 88px;
  border-radius: 999px;
  background: rgba(129, 200, 228, .25);
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-item img {
  width: 140px;
  height: 140px;
  object-fit: contain;
}

.service-title {
  font-weight: 700;
  color: var(--brand-ink);
  font-size: 1rem;
}

.kicker {
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .8rem;
  font-weight: 700;
  opacity: .85;
}

.card-soft {
  border: 0;
  border-radius: 1.25rem;
  box-shadow: 0 18px 48px rgba(0, 0, 0, .10);
}

.team-grid img {
  width: 92px;
  height: 92px;
  object-fit: contain;
}

.accordion-button {
  font-weight: 700;
}

.accordion-item {
  border: 0;
  border-radius: 1rem !important;
  overflow: hidden;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .08);
}

.accordion-button:not(.collapsed) {
  color: var(--brand-ink);
  background: rgba(129, 200, 228, .22);
}

.contact-pill {
  background: #3e85a1;
  border: 1px solid #3e85a1;
  border-top-right-radius: 1.25rem;
  border-bottom-right-radius: 1.25rem;
  padding: 0.5rem;
  display: flex;
  gap: .9rem;
  align-items: center;
  width: 50%;
  font-size: 2rem;
}

.contact-pill img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

@media all and (max-width:1280px) {
  .contact-pill {
    width: 70%;
  }
}

@media all and (max-width:1024px) {
  #contacto {
    margin-top: 3.8rem;
  }

  .form-card {
    margin-left: 2rem;
  }
}

@media all and (max-width:600px) {
  #contacto {
    margin-top: 3.8rem;
  }

  .section-navy-3.py-5 {
    padding-top: 4.5rem !important;
  }

  .contact-pill {
    font-size: 1rem;
    width: 50%;
  }

  .contact-pill img {
    width: 24px;
    height: 24px;
    object-fit: contain;
  }

  .form-card {
    margin-left: 2rem;
  }

  .panel-sand {
    background: none;
    background-color: var(--brand-navy);
    padding: 4rem 1.5rem;
    min-height: 34rem;
  }
}



.form-card {
  background: #cfcfcf;
  color: #25475e;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .12);
  position: relative;
  margin-right: 2rem;
}

.footer {
  background: var(--brand-navy-2);
  color: rgba(255, 255, 255, .9);
}

.footer a {
  color: rgba(255, 255, 255, .9);
}

.footer a:hover {
  color: #fff;
}

.small-muted {
  opacity: .85;
}

/* Cookie banner + conditional embeds */
.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 1080;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 1.25rem;
  padding: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, .18);
}

.cookie-banner:not(.show) {
  display: none;
}

.cookie-text {
  font-size: .95rem;
  color: #1a1a1a;
}


#servicios .card-soft {
  background: transparent;
  box-shadow: none;
  border: 0;
}

#servicios .service-title {
  color: #fff;
  text-align: center;
  margin-bottom: 1rem;
  min-height: 5rem;
  display: flex;
  align-items: end;
  justify-content: center;
}

#servicios .card-body {
  padding: 0.1rem !important;
}

#servicios .card-body img {
  width: 100%;
  height: auto;
}