/* =========================================
   Landing · Clínica Dental (Bootstrap 5.3)
   ========================================= */

:root{
  --brand-900:#0b2a33;
  --brand-800:#0f3b4a;
  --brand-700:#145769;
  --brand-600:#1a6f86;
  --brand-500:#1f8ea8;

  --accent:#f7b500; /* warm yellow */
  --wa:#1fa764;
}

body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
}

/* Navbar brand dot */
.brand-dot{
  width:10px;height:10px;border-radius:999px;
  background: radial-gradient(circle at 30% 30%, #fff, rgba(255,255,255,.25));
  box-shadow: 0 0 0 6px rgba(255,255,255,.12);
  display:inline-block;
}

/* HERO */
.hero{
  position: relative;
  min-height: 86vh;
  padding: 7.5rem 0 3.5rem;
  color: #fff;
  overflow: hidden; /* 🔑 evita cortes/efecto repetido del overlay */

  background-image:
    linear-gradient(
      90deg,
      rgba(11,42,51,.65) 0%,
      rgba(11,42,51,.40) 45%,
      rgba(11,42,51,.15) 100%
    ),
    url('../assets/banner.png');

  background-repeat: no-repeat;      /* 🔑 evita que se repita */
  background-size: cover;            /* 🔑 llena el hero sin tile */
  background-position: center top;   /* ajustá a center/center si querés */
}


.hero-overlay{
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 25% 25%, rgba(247,181,0,.18), transparent 60%),
    radial-gradient(700px 360px at 60% 35%, rgba(31,142,168,.28), transparent 60%),
    radial-gradient(700px 360px at 70% 90%, rgba(31,167,100,.18), transparent 60%);
  pointer-events:none;
}

.hero-bottom-fade{
  position:absolute; left:0; right:0; bottom:0; height:80px;
  background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(248,249,250,1));
  pointer-events:none;
}

.text-white-75{ color: rgba(255,255,255,.78) !important; }

.hero-badge{
  padding: .45rem .75rem;
  border-radius: 999px;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
  color: rgba(255,255,255,.9);
  font-size: .9rem;
}

.hero-card{
  border-radius: 18px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(10px);
}

.chip-price{
  font-weight: 700;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: rgba(247,181,0,.18);
  color: #7a5200;
  border: 1px solid rgba(247,181,0,.25);
}

.section-pad{
  padding: 4rem 0 5rem;
  background: #f8f9fa;
}

.feature{
  border-radius: 16px;
  transition: transform .15s ease, box-shadow .15s ease;
}

.feature:hover{
  transform: translateY(-2px);
  box-shadow: 0 .6rem 1.4rem rgba(0,0,0,.08) !important;
}

.feature-icon{
  width: 46px; height: 46px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(31,142,168,.14);
  color: var(--brand-600);
  font-size: 1.35rem;
}

/* Footer */
.footer{
  background: linear-gradient(180deg, var(--brand-700), var(--brand-900));
}

/* Buttons tweaks */
.btn-success{
  background-color: var(--wa);
  border-color: var(--wa);
}
.btn-success:hover{
  filter: brightness(.97);
}

/* Form polish */
.form-control{
  border-radius: 12px;
  padding: .75rem .9rem;
}
.form-label{
  font-size: .9rem;
  color: #5b6770;
}

@media (max-width: 991.98px){
  .hero{
    padding-top: 6.5rem;
    min-height: 92vh;
  }
}

.logo-white {
  filter: brightness(0) invert(1);
}

/* =========================================
   NUEVO CÓDIGO INTEGRADO
   ========================================= */

.whatsapp-float{
  position:fixed; right:18px; bottom:18px; z-index:9999;
  width:56px; height:56px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  box-shadow:0 12px 28px rgba(0,0,0,.25);
  text-decoration:none;
}

.avatar-initials{
  width:46px; height:46px; border-radius:999px;
  display:inline-flex; align-items:center; justify-content:center;
  font-weight:700;
}

.rating i{ margin-right:2px; }

.section-soft{ background: #f7f9fc; }

/* ✅ Imágenes en cards de confianza */
.trust-img{
  width: 100%;
  height: 240px;
  object-fit: cover;
  object-position: center;
  border-radius: 14px;
  margin-bottom: 14px;
}
@media (max-width: 576px){
  .trust-img{ height: 180px; }
}

/* ✅ Bloque de precios (Hero) */
.price-box{
  border-radius:18px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  padding: 14px 16px;
  max-width: 520px;
}
.price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 6px 0;
  border-bottom: 1px dashed rgba(255,255,255,.25);
}
.price-row:last-child{ border-bottom:0; }
.price-label{ color: rgba(255,255,255,.85); }
.price-val{ color:#fff; font-weight:700; }
.strike{ text-decoration: line-through; opacity:.85; }
.disc{ color: #ffd166; font-weight:800; }
.final{
  background: rgba(255,193,7,.18);
  border-radius: 14px;
  padding: 10px 12px;
  margin-top: 10px;
}

/* ✅ Bloque de precios (Card) */
.price-box-light{
  border-radius:16px;
  background:#f8f9fb;
  border:1px solid #e9ecef;
  padding: 12px 14px;
}
.price-row-light{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding: 6px 0;
  border-bottom: 1px dashed #dfe3e7;
  font-size: .95rem;
}
.price-row-light:last-child{ border-bottom:0; }
.final-light{
  background:#fff3cd;
  border:1px solid #ffe69c;
  border-radius:12px;
  padding: 10px 12px;
  margin-top: 10px;
  font-weight:800;
}

/* ✅ CONTADOR (nuevo) */
.countdown-wrap{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(220,53,69,.15);
  border: 1px solid rgba(220,53,69,.35);
  color: #fff;
  max-width: 520px;
}
.countdown-chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 12px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 800;
  letter-spacing: .5px;
  font-variant-numeric: tabular-nums;
}
.countdown-muted{ color: rgba(255,255,255,.85); }


/* =========================================
   FIN NUEVO CÓDIGO INTEGRADO
   ========================================= */
  /* 🔴 CONTADOR URGENTE – ALERTA DE PROMO */
.countdown-urgent{
  border-radius: 18px;
  padding: 16px;
  background: linear-gradient(135deg, #f59e0b, #d97706); /* 🟠 naranja ámbar */
  border: 2px solid #fde68a;
  box-shadow:
    0 18px 40px rgba(245,158,11,.45),
    inset 0 0 0 1px rgba(255,255,255,.15);
  color: #fff;
}

/* Ícono */
.countdown-icon{
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: #fff;
  color: #dc3545;
  font-size: 1.25rem;
  box-shadow: 0 8px 18px rgba(0,0,0,.25);
}

/* Texto */
.countdown-title{
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: .3px;
}

.countdown-sub{
  font-size: .9rem;
  opacity: .95;
}

/* ⏱ TIEMPO – PROTAGONISTA */
.countdown-time{
  font-weight: 900;
  font-size: 1.6rem;
  letter-spacing: 1.5px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #1f1f1f;
  border: 2px solid rgba(255,255,255,.35);
  color: #fff;
  min-width: 120px;
  text-align: center;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.08),
    0 6px 18px rgba(0,0,0,.35);
}

/* ⚠️ Cuando está por terminar */
.countdown-urgent.is-ending{
  animation: shake 0.9s infinite;
}

.countdown-urgent.is-ending .countdown-time{
  animation: pulse 0.8s infinite;
}

/* Animaciones */
@keyframes pulse{
  0%{ transform: scale(1); }
  50%{ transform: scale(1.06); }
  100%{ transform: scale(1); }
}

@keyframes shake{
  0%{ transform: translateX(0); }
  25%{ transform: translateX(-1px); }
  50%{ transform: translateX(1px); }
  75%{ transform: translateX(-1px); }
  100%{ transform: translateX(0); }
}

