/* 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;         /* RGB(36,70,94) */
  --brand-navy-2:#1D3E55;
  --brand-sand:#D2BCB1;
  --brand-sky:#81C8E4;
  --brand-ink:#0B1E2E;
  --brand-gray:#CFCFCF;
}

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

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: var(--brand-sky);
  border-color: var(--brand-sky);
  color: var(--brand-ink);
  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;
}

.hero{
  padding-top: 6rem;
  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: var(--brand-sand);
  border-radius: 1.75rem;
  padding: 2rem 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
}

.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: rgba(255,255,255,.09);
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 1.25rem;
  padding: 1rem;
  display:flex;
  gap: .9rem;
  align-items:center;
}

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

.form-card{
  background: #f7f7f7;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 20px 60px rgba(0,0,0,.12);
  position: relative;
}

.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;
}

.cookie-embed-placeholder{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: #f5f6f8;
  padding: 1rem;
}
