:root{
    --primary:#0A2E6E;            /* azul oscuro principal */
    --primary-600:#1b4b9b;         /* azul medio */
    --accent:#E63946;              /* rojo botón */
    --soft:#F0F6FF;                /* fondo suave */
    --white:#ffffff;
    --text:#223;
  }
  
  *{ box-sizing:border-box; }
  
  @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

  body{
    font-family: "Montserrat", sans-serif;
    color:var(--text);
    background:#fff;
  }
  
  /* ---------- Helpers ---------- */
  .text-primary{ color:var(--primary)!important; }
  .text-primary-600{ color:var(--primary-600)!important; }
  .text-accent{ color:var(--accent)!important; }
  .text-gradient{
    background:linear-gradient(90deg,#ffffff 0%, #dfe9ff 40%, #c9dcff 100%);
    -webkit-background-clip:text; background-clip:text; color:transparent;
  }
  
  /* ---------- Spacing ---------- */
  .py-6{ padding-top:4.5rem; padding-bottom:4.5rem; }
  
  /* ---------- Hero ---------- */
  .hero{
    background-image: url(assets/img/Bg-1.png);
    background-position: bottom center;
    background-repeat: no-repeat;
    min-height: 765px;
    /* background-size: cover; */
  }
  .hero-inner{ padding-top:1rem; padding-bottom:2rem; }
  .hero-bg-circles::before,
  .hero-bg-circles::after{
    content:""; position:absolute; inset:auto; right:-120px; top:80px;
    width:700px; height:700px; border-radius:50%;
    background:radial-gradient(closest-side, rgba(255,255,255,.08), transparent);
    filter:blur(0.5px);
  }
  .hero-card{ background:rgba(255,255,255,0.08); border:1px solid rgba(255,255,255,0.15); }
  .text-hero-sub{ color:#e6edff; }
  .hero-figure{ max-width:520px; }
  .hero-docs{ display:block; width:100%; height:auto; object-fit:contain; }
  .hero-bottom-label{
    padding: 12px 0 24px;
  }

/* Tamaño por defecto de los íconos SVG en las tarjetas (desktop) */
.card .card-body svg{ width:150px !important; height:auto !important; }
  
  /* ---------- Buttons ---------- */
  .btn-accent{
    background: var(--accent);
    color: #fff;
    border: none;
    box-shadow: 0 10px 24px rgba(230, 57, 70, .25);
    padding: 11px 30px;
    font-size: 20px;
    margin: auto;
    z-index: 9;
    position: relative;
  }
  .btn-accent:hover{
    background:var(--accent); color:#fff; border:none;
    box-shadow:0 10px 24px rgba(0, 0, 0, 0.25);
  }
  
  /* ---------- General sections ---------- */
  .section .h3,.section .h4{ color:var(--primary); }
  .section-gradient {
    background-image: linear-gradient(120deg, rgba(10, 46, 110, 0.9) 0%, rgb(230 57 70 / 43%) 60%, rgba(72, 109, 182, 0.7) 100%), url(assets/img/bg-section.jpg) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 150px 0;
  }
  .bg-soft{ background:var(--soft); }
  
  /* ---------- Cards checklist ---------- */
  .card-checklist{
    border:0; border-radius:1rem;
    box-shadow:0 10px 30px rgba(12,27,77,.10);
  }
  .card-checklist .card-body{ padding:1.5rem 1.5rem; }
  
  .list-checked{
    list-style:none; margin:0; padding:0;
  }
  .list-checked li{
    padding-left: 1.6rem;
    margin-bottom: .5rem;
    position: relative;
    font-size: 1.2em;
    font-weight: 400;
  }
  .list-checked li::before{
    content:"\F26E"; /* bi-check2-circle */
    font-family:"bootstrap-icons";
    color: var(--primary-600);
    position:absolute; left:0; top:0.05rem; font-size:1.05rem;
  }
  
  /* ---------- Media helpers ---------- */
  .object-cover{ width:100%; height:100%; object-fit:cover; }
  
  /* ---------- Footer ---------- */
  .footer{
    background:linear-gradient(180deg, #0b316f 0%, #0a2e6e 100%);
  }
  .footer-card{
    background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.12);
    color:#fff;
  }
  .footer-list a, .footer-list span{ color:#cfe0ff; text-decoration:none; }
  .footer-list a:hover{ color:#fff; text-decoration:underline; }
  .footer-list i{ color:#cfe0ff; }
  
  /* ---------- WhatsApp FAB ---------- */
  .whatsapp-fab{
    position: fixed;
    right: 18px;
    bottom: 18px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #25D366;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    box-shadow: 0 10px 24px rgba(0,0,0,.25);
    z-index: 1000;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  }
  .whatsapp-fab:hover{ background:#1ebe5d; transform: translateY(-2px); color:#fff; }
  @media (max-width: 767.98px){
    .whatsapp-fab{ right: 14px; bottom: 14px; width: 56px; height: 56px; font-size: 28px; }
  }

  /* Animaciones deshabilitadas */
  .footer-form-wrapper .form-control,
  .footer-form-wrapper .form-select,
  .footer-form-wrapper .input-group-text{
    background:#0d3a84; border-color:#184da3; color:#fff;
  }
  .footer-form-wrapper .form-control::placeholder{ color:#b9ccff; }
  .footer-form-wrapper .form-label{ opacity:.85; }
  .border-white-10{ border-color: rgba(255,255,255,.1) !important; }
  
  /* ---------- Utilities ---------- */
  .small{ font-size:.925rem; }
  
  /* ---------- Responsive tweaks ---------- */
  @media (max-width: 991.98px){
  html, body{ overflow-x:hidden; }
    .hero{ min-height: auto; }
    .hero-inner{ padding-bottom:3rem; }
    .hero-figure{ max-width:420px; }
  /* Íconos más contenidos en tablet */
  .card .card-body svg{ width:120px !important; }
  /* Títulos grandes más contenidos */
  h3, h2{ font-size: 32px !important; }
  /* Margen negativo suavizado */
  .margin-top-negativo-170{ margin-top:-120px !important; }
  /* Texto inferior de héroe ajustado */
  .text-footer-hero-doctors{ font-size:22px; width:280px; top:28px; display:none !important; }
  }
  
  h3, h2{
    font-family: "Montserrat", Sans-serif !important;
    font-size: 40px !important;
    font-weight: 600 !important;
    line-height: 1.1em !important;
    color: #1B3C74 !important;
  }

  h4{
    font-family: "Montserrat", Sans-serif !important;
    font-size: 25px !important;
    font-weight: 400 !important;
    line-height: 1.4em !important;
  }

  .card1{
    background-color: #FFFFFF;
    padding: 50px 28px 48px 28px;
    border-style: solid;
    border-width: 2px 2px 2px 2px;
    border-color: #3293F1;
    border-radius: 8px 8px 8px 8px;
  }

  p {
    font-size: 19px;
}

.img-degradado {
  mask-image: linear-gradient(
    black 80%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    black 80%,
    transparent
  ); /* Necesario para Safari y Chrome */
}

.elementor-icono {
  font-size: 100px;
  text-align: center;
}

.margin-top-negativo-170 {  
  margin-top: -170px !important;
  margin-bottom: 100px;
}

.text-footer-hero-doctors {
  font-family: monospace;
  font-family: "Montserrat", Sans-serif !important;
  font-size: 26px;
  text-align: center;
  line-height: 1;
  font-weight: 600;
  color: #1b4b9b;
  top: 0px;
  position: relative;
  width: 330px;
  margin: auto;
}

.background-image {
  position: absolute;
  top: 0;
  object-fit: contain;
}

  /* ---------- Testimonios ---------- */
  .testimonials-canvas{
    position: relative;
    max-width: 1060px;
    margin: 0 auto;
    padding: 20px;
  }
  .testimonials-center{
    display:block;
    margin: 0 auto;
    max-width: 560px;
  }
  .testimonial-card{
    position: absolute;
    background:#fff;
    border-radius:16px;
    padding:22px 24px;
    width: 380px;
    box-shadow:0 20px 40px rgba(12,27,77,.12) !important;
  }
  .testimonial-card p{ color:#3b4a67; font-size:16px; }
  .testimonial-author{ color:#0A2E6E; font-weight:700; }
  .testimonial-avatar{ width:56px; height:56px; border-radius:12px; object-fit:cover; }

  /* posiciones aproximadas como el pantallazo */
  .testimonial-card.t1{ left:0; top:20px; }
  .testimonial-card.t2{ right:0; top:20px; }
  .testimonial-card.t3{ left:120px; bottom:-20px; }
  .testimonial-card.t4{ right:120px; bottom:-20px; }

  @media (max-width: 1199.98px){
    .testimonial-card{ width: 320px; }
    .testimonial-card.t3{ left:40px; }
    .testimonial-card.t4{ right:40px; }
  }
  @media (max-width: 991.98px){
    /* Hero: doctora al 70% en responsive */
    .hero-docs{ width:70%; }
    .testimonials-center{ display:none; }
    .testimonial-card{ position:static; width:auto; margin:12px 0; }
    .testimonials-canvas{ display:flex; flex-direction:column; align-items:center; }
    .testimonials h3{ margin-bottom:0 !important; }
    /* Título intermedio sin padding en responsive */
    .titulo-intermedio{ padding:0 !important; }
  }

/* --------- Responsive móvil --------- */
@media (max-width: 767.98px){
  html, body{ overflow-x:hidden; }
  .hero-inner{ padding-top: 0.5rem; padding-bottom: 2rem; }
  .hero-figure{ max-width:360px; }
  /* Hero: doctora al 70% en móviles también */
  .hero-docs{ width:70%; }
  .py-6{ padding-top:3rem; padding-bottom:3rem; }
  /* Íconos más compactos en móvil */
  .card .card-body svg{ width:100px !important; }
  /* Tipografías */
  h3, h2{ font-size: 28px !important; }
  p{ font-size: 16px; }
  /* Margen negativo casi neutralizado */
  .margin-top-negativo-170{ margin-top:-60px !important; margin-bottom: 60px; }
  /* Texto inferior de héroe más compacto */
  .text-footer-hero-doctors{ font-size:18px; width:240px; top:20px; display:none !important; }
}

.testimonials {
    margin-bottom: 30px;
}

@media (max-width: 991.98px){
  .testimonials{ margin-bottom: -10px; }
  .empleo{
    margin-bottom: 50px;
  }
}