/* =========================================================
   Ranking Dental – Página SERVICIOS (CSS) – COMPLETO
   Paleta: Royal Blue + Gold (sin pastel)
   Botones: sólidos, premium, texto legible + hover cambia a dorado
   Scope: SOLO .rd-serv
   ========================================================= */

.rd-serv{
  --bg:#ffffff;
  --text:#0B0F19;
  --muted:rgba(11,15,25,.72);
  --line:rgba(11,15,25,.14);

  /* Paleta fuerte (sin pastel) */
  --p:#1E40AF;          /* royal blue */
  --p2:#F59E0B;         /* gold */

  /* Superficies */
  --soft:rgba(30,64,175,.10);
  --soft2:rgba(245,158,11,.12);

  --ok:#16a34a;

  --r:18px;
  --r2:24px;

  --wrap:min(1120px, 92vw);
  --shadow:0 12px 34px rgba(11,15,25,.12);

  /* Botones (final) */
  --btnText:#ffffff;
  --btnBg:var(--p);
  --btnBgActive:#132F8A;
  --btnBorder:rgba(255,255,255,.16);

  --btnHoverBg:var(--p2);
  --btnHoverText:#0B0F19;

  --btnGhostText:var(--text);
  --btnGhostBg:rgba(11,15,25,.03);
  --btnGhostHover:rgba(11,15,25,.06);

  --focus:rgba(245,158,11,.65);

  color:var(--text);
}

.rd-serv *{ box-sizing:border-box; }
.rd-serv a{ color:inherit; text-decoration:none; }
.rd-serv a:hover{ text-decoration:underline; }

.rd-serv :focus-visible{
  outline:3px solid var(--focus);
  outline-offset:3px;
  border-radius:12px;
}

.rd-serv__wrap{ width:var(--wrap); margin:0 auto; }

/* =========================================================
   HERO
   ========================================================= */
.rd-serv__hero{
  background:
    radial-gradient(900px 420px at 15% 18%, var(--soft), transparent 62%),
    radial-gradient(900px 420px at 85% 22%, var(--soft2), transparent 58%),
    linear-gradient(180deg, rgba(11,15,25,.02), rgba(11,15,25,0));
  padding: clamp(26px, 4vw, 44px) 0;
}

.rd-serv__heroGrid{
  display:grid;
  grid-template-columns: 1.25fr .9fr;
  gap:16px;
  align-items:start;
}

@media (max-width: 980px){
  .rd-serv__heroGrid{ grid-template-columns: 1fr; }
}

.rd-serv__eyebrow{
  display:inline-block;
  font-weight:850;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
  color:var(--muted);
  padding:8px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  background:rgba(255,255,255,.9);
}

.rd-serv__h1{
  margin:12px 0 10px;
  font-size: clamp(28px, 3.2vw, 44px);
  line-height:1.12;
  letter-spacing:-.02em;
}

.rd-serv__h1Accent{
  background: linear-gradient(90deg, var(--p), var(--p2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}

.rd-serv__lead{
  margin:0 0 14px;
  font-size: clamp(16px, 1.25vw, 18px);
  line-height:1.55;
  color:var(--muted);
}

.rd-serv__ctaRow{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin: 14px 0 10px;
}

/* =========================================================
   BOTONES (final, sin degradado)
   ========================================================= */
.rd-serv__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-height:44px;
  padding: 11px 16px;
  border-radius: 999px;
  border:1px solid var(--line);
  font-weight:900;
  letter-spacing:.01em;
  background:#fff;
  box-shadow: 0 8px 22px rgba(11,15,25,.10);
  transition: background-color .14s ease, border-color .14s ease, transform .12s ease, box-shadow .14s ease, color .14s ease;
  user-select:none;
  -webkit-tap-highlight-color: transparent;
}

.rd-serv a.rd-serv__btn:hover{ text-decoration:none; }

.rd-serv__btnBlock{ width:100%; border-radius:14px; }

.rd-serv__btn--primary{
  background: var(--btnBg);
  color: var(--btnText) !important;
  border: 1px solid var(--btnBorder);
  text-decoration:none;
  box-shadow:
    0 12px 26px rgba(30,64,175,.24),
    inset 0 1px 0 rgba(255,255,255,.14);
}

.rd-serv__btn--primary:hover{
  background: var(--btnHoverBg);
  color: var(--btnHoverText) !important;
  border-color: rgba(11,15,25,.18);
  text-decoration:none;
  transform: translateY(-1px);
  box-shadow:
    0 16px 34px rgba(245,158,11,.22),
    inset 0 1px 0 rgba(255,255,255,.20);
}

.rd-serv__btn--primary:active{
  background: var(--btnBgActive);
  color: var(--btnText) !important;
  transform: translateY(0);
  box-shadow:
    0 10px 22px rgba(30,64,175,.20),
    inset 0 2px 10px rgba(0,0,0,.20);
}

.rd-serv__btn--ghost{
  background: var(--btnGhostBg);
  color: var(--btnGhostText);
  border-color: rgba(11,15,25,.22);
  box-shadow: 0 10px 22px rgba(11,15,25,.06);
}

.rd-serv__btn--ghost:hover{
  background: var(--btnGhostHover);
  border-color: rgba(30,64,175,.35);
  color: var(--btnGhostText);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(11,15,25,.10);
}

.rd-serv__btn--ghost:active{
  transform: translateY(0);
  box-shadow: 0 10px 20px rgba(11,15,25,.08);
}

/* =========================================================
   MICRO + LISTA BENEFICIOS
   ========================================================= */
.rd-serv__micro{
  margin: 8px 0 12px;
  padding: 10px 12px;
  border-left:4px solid rgba(245,158,11,.85);
  background: rgba(245,158,11,.12);
  border-radius: 14px;
  color: var(--muted);
}

.rd-serv__bullets{
  margin: 10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}

.rd-serv__bullets li{
  padding-left:28px;
  position:relative;
  color:var(--muted);
  line-height:1.45;
}
.rd-serv__bullets li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  width:20px; height:20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(245,158,11,.18);
  color: rgba(245,158,11,.95);
  font-weight:1000;
}

/* =========================================================
   HERO CARD
   ========================================================= */
.rd-serv__heroCard{
  background: rgba(255,255,255,.92);
  border:1px solid var(--line);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  padding: 14px;
}

.rd-serv__kpis{ display:grid; gap:10px; margin-bottom:12px; }
.rd-serv__kpi{
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
}
.rd-serv__kpiN{ margin:0; font-weight:950; }
.rd-serv__kpiT{ margin:6px 0 0; color:var(--muted); line-height:1.45; }

.rd-serv__note{
  border-radius: var(--r);
  border:1px dashed rgba(11,15,25,.26);
  padding: 12px;
  background: linear-gradient(180deg, rgba(30,64,175,.06), rgba(245,158,11,.10));
}
.rd-serv__noteTitle{ margin:0; font-weight:950; }
.rd-serv__noteText{ margin:6px 0 0; color:var(--muted); line-height:1.5; }

.rd-serv__proof{
  margin-top: 12px;
  border:1px solid rgba(11,15,25,.12);
  border-radius: var(--r);
  padding: 12px;
  background: linear-gradient(180deg, rgba(11,15,25,.01), rgba(30,64,175,.04));
}
.rd-serv__proofTitle{ margin:0; font-weight:950; }
.rd-serv__proofList{
  margin:8px 0 0;
  padding-left: 18px;
  color: var(--muted);
  line-height:1.55;
}

/* =========================================================
   MAIN + SECCIONES
   ========================================================= */
.rd-serv__main{ padding: 14px 0 34px; }

.rd-serv__section{
  margin-top: 14px;
  background:#fff;
  border:1px solid var(--line);
  border-radius: var(--r2);
  box-shadow: 0 10px 28px rgba(11,15,25,.07);
  padding: clamp(14px, 2.2vw, 22px);
}

.rd-serv__h2{
  margin:0 0 10px;
  font-size: clamp(22px, 2.2vw, 30px);
  letter-spacing:-.02em;
}

.rd-serv__sub{
  margin: 0 0 12px;
  color: var(--muted);
  line-height:1.55;
}

/* Cards */
.rd-serv__cards{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px){
  .rd-serv__cards{ grid-template-columns: 1fr; }
}

.rd-serv__card{
  border:1px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
  background: linear-gradient(180deg, rgba(11,15,25,.01), rgba(11,15,25,0));
}

.rd-serv__h3{
  margin:0 0 6px;
  font-size: 16px;
  font-weight:950;
}
.rd-serv__card p{ margin:0; color:var(--muted); line-height:1.55; }

/* Quote */
.rd-serv__quote{
  margin-top: 12px;
  border-radius: var(--r);
  padding: 12px;
  background: linear-gradient(90deg, rgba(30,64,175,.10), rgba(245,158,11,.12));
  border:1px solid rgba(30,64,175,.22);
}
.rd-serv__quoteText{
  margin:0;
  font-weight:950;
  line-height:1.45;
}

/* Head + mini CTA */
.rd-serv__sectionHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}

.rd-serv__miniCta{
  border:1px solid rgba(245,158,11,.28);
  background: rgba(245,158,11,.12);
  border-radius: 16px;
  padding: 10px 12px;
  max-width: 320px;
}
.rd-serv__miniCtaT{ margin:0; font-weight:1000; }
.rd-serv__miniCtaS{ margin:6px 0 0; color:var(--muted); line-height:1.45; }

/* =========================================================
   PRICING
   ========================================================= */
.rd-serv__pricing{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 12px;
}
.rd-serv__pricing--two{
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 980px){
  .rd-serv__pricing{ grid-template-columns: 1fr; }
  .rd-serv__pricing--two{ grid-template-columns: 1fr; }
}

.rd-serv__plan{
  position:relative;
  border:1px solid var(--line);
  border-radius: var(--r2);
  background:#fff;
  padding: 14px;
  box-shadow: 0 10px 26px rgba(11,15,25,.06);
  display:flex;
  flex-direction:column;
  min-height: 100%;
}

.rd-serv__plan--featured{
  border: 1px solid rgba(245,158,11,.45);
  box-shadow: 0 18px 46px rgba(30,64,175,.10);
  transform: translateY(-2px);
}

.rd-serv__badge{
  position:absolute;
  top: 12px;
  right: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight:1000;
  color:#0B0F19;
  background: linear-gradient(90deg, var(--p2), var(--p2));
}

.rd-serv__planHead{ margin-bottom: 10px; }
.rd-serv__planTitle{ margin:0 0 6px; font-size:18px; font-weight:950; }
.rd-serv__price{ margin:0; display:flex; align-items:baseline; gap:8px; }
.rd-serv__priceN{ font-size:28px; font-weight:1000; letter-spacing:-.02em; }
.rd-serv__priceS{ color:var(--muted); font-weight:850; font-size:12px; }

.rd-serv__planList{
  margin: 10px 0 12px;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
  color:var(--muted);
}
.rd-serv__planList li{
  padding-left:26px;
  position:relative;
  line-height:1.45;
}
.rd-serv__planList li::before{
  content:"•";
  position:absolute;
  left:10px; top:0;
  color: rgba(245,158,11,.95);
  font-weight:1000;
}

.rd-serv__planFoot{
  margin: 10px 0 0;
  color: var(--muted);
  line-height:1.45;
}

/* =========================================================
   STEPS
   ========================================================= */
.rd-serv__steps{
  margin: 10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 980px){
  .rd-serv__steps{ grid-template-columns: 1fr; }
}

.rd-serv__step{
  border:1px solid var(--line);
  border-radius: var(--r);
  padding: 12px;
  background: linear-gradient(180deg, rgba(30,64,175,.06), rgba(255,255,255,0));
}
.rd-serv__step p{ margin:0; color:var(--muted); line-height:1.55; }

/* Band CTA */
.rd-serv__ctaBand{
  margin-top: 12px;
  border-radius: var(--r2);
  padding: 14px;
  border: 1px solid rgba(30,64,175,.20);
  background: linear-gradient(90deg, rgba(30,64,175,.10), rgba(245,158,11,.12));
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;
}
.rd-serv__ctaBandT{ margin:0; font-weight:1000; }
.rd-serv__ctaBandS{ margin:6px 0 0; color:var(--muted); line-height:1.45; }

/* =========================================================
   FAQ
   ========================================================= */
.rd-serv__faq{
  display:grid;
  gap:10px;
  margin-top: 10px;
}

.rd-serv__faqItem{
  border:1px solid var(--line);
  border-radius: var(--r);
  background:#fff;
  overflow:hidden;
}
.rd-serv__faqQ{
  cursor:pointer;
  padding: 12px;
  font-weight:950;
  list-style:none;
}
.rd-serv__faqQ::-webkit-details-marker{ display:none; }
.rd-serv__faqA{
  padding: 0 12px 12px;
  color:var(--muted);
  line-height:1.55;
}

/* =========================================================
   CONTACTO / FORM
   ========================================================= */
.rd-serv__contact{
  background: linear-gradient(180deg, rgba(11,15,25,.01), rgba(30,64,175,.05));
}

.rd-serv__contactGrid{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 12px;
  align-items: start;
}
@media (max-width: 980px){
  .rd-serv__contactGrid{ grid-template-columns: 1fr; }
}

.rd-serv__contactPitch{
  margin-top: 10px;
  border:1px solid rgba(245,158,11,.25);
  background: linear-gradient(90deg, rgba(30,64,175,.12), rgba(245,158,11,.12));
  border-radius: var(--r2);
  padding: 12px;
}
.rd-serv__contactPitchT{ margin:0; font-weight:1000; }
.rd-serv__contactPitchS{ margin:6px 0 0; color:var(--muted); line-height:1.55; }

.rd-serv__trust{
  margin: 10px 0 0;
  padding:0;
  list-style:none;
  display:grid;
  gap:8px;
}
.rd-serv__trust li{
  padding-left:28px;
  position:relative;
  color:var(--muted);
  line-height:1.45;
}
.rd-serv__trust li::before{
  content:"✓";
  position:absolute;
  left:0; top:0;
  width:20px; height:20px;
  border-radius:999px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background: rgba(245,158,11,.18);
  color: rgba(245,158,11,.95);
  font-weight:1000;
}

.rd-serv__formCard{
  border:1px solid rgba(11,15,25,.14);
  background: rgba(255,255,255,.96);
  border-radius: var(--r2);
  box-shadow: var(--shadow);
  padding: 14px;
}

.rd-serv__formTitle{ margin:0; font-weight:1000; font-size: 18px; }
.rd-serv__formLead{ margin:6px 0 12px; color:var(--muted); line-height:1.55; }

.rd-serv__fieldset{
  border:1px solid rgba(11,15,25,.12);
  border-radius: var(--r2);
  padding: 12px;
  margin: 0 0 12px;
  background: linear-gradient(180deg, rgba(11,15,25,.01), rgba(30,64,175,.03));
}
.rd-serv__legend{
  padding: 0 8px;
  font-weight:1000;
  color: var(--text);
}

.rd-serv__radioGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 8px;
}
.rd-serv__radioGrid--two{
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 980px){
  .rd-serv__radioGrid{ grid-template-columns: 1fr; }
  .rd-serv__radioGrid--two{ grid-template-columns: 1fr; }
}

.rd-serv__radio{ display:block; cursor:pointer; }
.rd-serv__radio input{
  position:absolute;
  opacity:0;
  pointer-events:none;
}

.rd-serv__radioBox{
  display:block;
  border:1px solid rgba(11,15,25,.16);
  border-radius: 16px;
  padding: 10px;
  background:#fff;
  box-shadow: 0 10px 24px rgba(11,15,25,.06);
}

.rd-serv__radio--best .rd-serv__radioBox{
  border:1px solid rgba(245,158,11,.38);
  background: linear-gradient(180deg, rgba(245,158,11,.10), rgba(30,64,175,.04));
}

.rd-serv__radioTop{
  display:flex;
  justify-content:space-between;
  align-items:baseline;
  gap:10px;
}
.rd-serv__radioName{ font-weight:1000; }
.rd-serv__radioPrice{ font-weight:1000; color: rgba(30,64,175,.95); }
.rd-serv__radioDesc{
  display:block;
  margin-top: 6px;
  color: var(--muted);
  line-height:1.35;
  font-size: 13px;
}

.rd-serv__radio input:checked + .rd-serv__radioBox{
  border: 2px solid rgba(245,158,11,.80);
  box-shadow: 0 18px 44px rgba(245,158,11,.14);
}

.rd-serv__fieldGrid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}
@media (max-width: 720px){
  .rd-serv__fieldGrid{ grid-template-columns: 1fr; }
}

.rd-serv__field--full{ grid-column: 1 / -1; }

.rd-serv__label{
  display:block;
  font-weight:950;
  margin-bottom: 6px;
  font-size: 13px;
}

.rd-serv__input,
.rd-serv__select,
.rd-serv__textarea{
  width:100%;
  border:1px solid rgba(11,15,25,.18);
  border-radius: 14px;
  padding: 11px 12px;
  font-size: 14px;
  background:#fff;
  color: var(--text);
}

.rd-serv__input::placeholder,
.rd-serv__textarea::placeholder{ color: rgba(11,15,25,.45); }

.rd-serv__input:focus,
.rd-serv__select:focus,
.rd-serv__textarea:focus{
  outline: none;
  border-color: rgba(245,158,11,.75);
  box-shadow: 0 0 0 4px rgba(245,158,11,.18);
}

.rd-serv__check{
  display:flex;
  gap:10px;
  align-items:flex-start;
  color: var(--muted);
  line-height:1.4;
}
.rd-serv__check input{ margin-top: 3px; }

.rd-serv__tiny{
  margin: 10px 0 0;
  font-size: 12px;
  color: rgba(11,15,25,.58);
  line-height:1.45;
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce){
  .rd-serv__plan--featured{ transform:none; }
  .rd-serv__btn{ transition:none; }
}
