/* =========================================================
   Ranking Dental – HOME (Blocksy) – CSS
   Objetivo:
   - TODAS las cajas con el mismo ancho REAL
   - ESPACIO ENTRE CAJAS = 10px
   - ESPACIO ENTRE CABECERA (header) y 1ª caja = 10px
   Scope: SOLO Home
   ========================================================= */

/* =========================================================
   0) VARIABLES GLOBALES
   ========================================================= */
:root{
  --rd-box-width: min(1220px, 94vw);
  --rd-section-gap: 30px; /* ✅ separación fija entre secciones */
}

/* =========================================================
   0.1) ANCHO ÚNICO PARA TODAS LAS CAJAS “GRANDES”
   ========================================================= */
body.home .rd-outer,
body.front-page .rd-outer,
body.home .rd-cityblock,
body.front-page .rd-cityblock,
body.home .rd-specialties,
body.front-page .rd-specialties,
body.home .rd-authority,
body.front-page .rd-authority,
body.home .rd-faqblock,
body.front-page .rd-faqblock,
body.home .rd-cta-clinics,
body.front-page .rd-cta-clinics{
  width: var(--rd-box-width) !important;
  max-width: none !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box !important;
}

/* =========================================================
   0.2) ESPACIADO UNIFORME ENTRE SECCIONES (10px)
   ========================================================= */
body.home .rd-outer,
body.front-page .rd-outer,
body.home .rd-cityblock,
body.front-page .rd-cityblock,
body.home .rd-specialties,
body.front-page .rd-specialties,
body.home .rd-authority,
body.front-page .rd-authority,
body.home .rd-faqblock,
body.front-page .rd-faqblock,
body.home .rd-cta-wrapper,
body.front-page .rd-cta-wrapper{
  margin-top: var(--rd-section-gap) !important;
  margin-bottom: var(--rd-section-gap) !important;
}

/* =========================================================
   0.3) CABECERA → 1ª CAJA (10px)
   - Quita el margin-top heredado del primer bloque real (HERO outer)
   - Deja exactamente 10px desde el header
   ========================================================= */
body.home .rd-outer,
body.front-page .rd-outer{
  margin-top: 10px !important;
}

/* =========================================================
   0.4) EVITA MARGENES EXTRA DEL CONTENIDO (a veces Gutenberg mete espacio arriba)
   ========================================================= */
body.home .entry-content,
body.front-page .entry-content{
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Si tu theme mete padding superior al contenido, esto lo neutraliza */
body.home .site-main,
body.front-page .site-main{
  padding-top: 0 !important;
}

/* =========================================================
   1) FIX BLOCKSY/GUTENBERG
   Evita que el BLOQUE PADRE meta padding lateral distinto
   (esto es lo que suele hacer que el HERO “parezca” más estrecho)
   ========================================================= */

/* El hero como sección no debe tener gutter lateral */
body.home .rd-hero,
body.front-page .rd-hero{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Si rd-hero está dentro de grupos/covers de Gutenberg que meten padding */
body.home .rd-hero.wp-block-group,
body.front-page .rd-hero.wp-block-group,
body.home .rd-hero.wp-block-cover,
body.front-page .rd-hero.wp-block-cover{
  padding-left: 0 !important;
  padding-right: 0 !important;
}

/* Si Blocksy limita bloques dentro del contenido */
body.home .entry-content > .rd-hero,
body.front-page .entry-content > .rd-hero{
  max-width: none !important;
  width: 100% !important;
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* OJO: wrappers internos típicos que limitan ancho dentro del HERO */
body.home .rd-outer .ct-container,
body.front-page .rd-outer .ct-container,
body.home .rd-outer .entry-content > *,
body.front-page .rd-outer .entry-content > *,
body.home .rd-outer .wp-block-group__inner-container,
body.front-page .rd-outer .wp-block-group__inner-container{
  max-width: none !important;
  width: 100% !important;
}

/* El wrapper interior del HERO nunca debe limitar */
body.home .rd-wrap,
body.front-page .rd-wrap{
  max-width: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

/* =========================================================
   2) HERO
   ========================================================= */

body.home .rd-hero,
body.front-page .rd-hero{
  --theme-heading-color: #ffffff;
  --theme-text-color: rgba(255,255,255,.92);
  --theme-link-initial-color: #bcd6ff;
  --theme-link-hover-color: #ffffff;

  padding: 0 0 0px;
  color: #fff;
}

/* Caja exterior redondeada + fondo (HERO BOX) */
body.home .rd-outer,
body.front-page .rd-outer{
  /* ✅ vertical controlado arriba (0.3 + 0.2), aquí solo horizontal */
  margin-left: auto !important;
  margin-right: auto !important;
  margin-bottom: var(--rd-section-gap) !important;

  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.10);

  background:
    radial-gradient(1100px 650px at 18% 12%, rgba(59,130,246,.35), transparent 56%),
    radial-gradient(900px 520px at 92% 38%, rgba(96,165,250,.22), transparent 52%),
    linear-gradient(180deg, #0b1220, #070b14);

  box-shadow: 0 24px 80px rgba(0,0,0,.45);
  overflow: hidden;
}

/* Padding interior HERO */
body.home .rd-wrap,
body.front-page .rd-wrap{
  padding: clamp(18px, 2.4vw, 28px);
}

/* Grid */
body.home .rd-hero__grid,
body.front-page .rd-hero__grid{
  display: grid;
  grid-template-columns: 1.28fr 0.92fr;
  gap: clamp(18px, 2.6vw, 30px);
  align-items: start;
}

/* Kicker */
body.home .rd-kicker,
body.front-page .rd-kicker{
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color: rgba(255,255,255,.82);
  font-size: .95rem;
  margin: 0 0 14px 0;
}

/* Title */
body.home .rd-hero__title,
body.front-page .rd-hero__title{
  margin: 0 0 12px 0;
  color: #fff !important;
  font-size: clamp(2.05rem, 3.45vw, 3.25rem);
  line-height: 1.06;
  letter-spacing: -0.02em;
}

/* Lead */
body.home .rd-hero__lead,
body.front-page .rd-hero__lead{
  margin: 0 0 18px 0;
  max-width: 68ch;
  color: rgba(255,255,255,.76) !important;
  font-size: clamp(1.02rem, 1.18vw, 1.15rem);
}

/* Summary box */
body.home .rd-summary,
body.front-page .rd-summary{
  margin: 0 0 14px 0;
  padding: 14px 14px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

body.home .rd-summary__title,
body.front-page .rd-summary__title{
  margin: 0 0 10px 0;
  font-weight: 900;
  color: #fff;
}

body.home .rd-summary__list,
body.front-page .rd-summary__list{
  margin: 0;
  padding-left: 18px;
  color: rgba(255,255,255,.78);
}
body.home .rd-summary__list li,
body.front-page .rd-summary__list li{ margin: 8px 0; }
body.home .rd-summary__list strong,
body.front-page .rd-summary__list strong{ color: #fff; }

/* Pills */
body.home .rd-trustlist,
body.front-page .rd-trustlist{
  display: grid;
  gap: 10px;
  margin: 14px 0 16px 0;
}

body.home .rd-pill,
body.front-page .rd-pill{
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

body.home .rd-pill__icon,
body.front-page .rd-pill__icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  font-weight: 900;
  flex: 0 0 auto;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
}

body.home .rd-pill__icon--check,
body.front-page .rd-pill__icon--check{
  background: rgba(34,197,94,.16);
  border-color: rgba(34,197,94,.30);
}
body.home .rd-pill__icon--star,
body.front-page .rd-pill__icon--star{
  background: rgba(59,130,246,.18);
  border-color: rgba(59,130,246,.34);
}
body.home .rd-pill__icon--pin,
body.front-page .rd-pill__icon--pin{
  background: rgba(239,68,68,.14);
  border-color: rgba(239,68,68,.30);
}

body.home .rd-pill__text,
body.front-page .rd-pill__text{ color: rgba(255,255,255,.85); }
body.home .rd-pill__text strong,
body.front-page .rd-pill__text strong{ color: #fff; }

/* CTAs */
body.home .rd-hero__ctas,
body.front-page .rd-hero__ctas{
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 8px;
}

/* Buttons */
body.home .rd-btn,
body.front-page .rd-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none !important;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .08s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
  line-height: 1.1;
}
body.home .rd-btn:active,
body.front-page .rd-btn:active{ transform: translateY(1px); }

body.home .rd-btn--primary,
body.front-page .rd-btn--primary{
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff !important;
  box-shadow: 0 12px 28px rgba(37,99,235,.28);
}
body.home .rd-btn--primary:hover,
body.front-page .rd-btn--primary:hover{
  background: linear-gradient(180deg, #60a5fa, #3b82f6);
}

body.home .rd-btn--ghost,
body.front-page .rd-btn--ghost{
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.14);
  color: #fff !important;
}
body.home .rd-btn--ghost:hover,
body.front-page .rd-btn--ghost:hover{
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.22);
}

body.home .rd-btn--full,
body.front-page .rd-btn--full{ width: 100%; }

/* Links */
body.home .rd-links,
body.front-page .rd-links{
  margin: 14px 0 0 0;
  color: rgba(255,255,255,.68);
  font-size: .95rem;
}
body.home .rd-links a,
body.front-page .rd-links a{
  color: #bcd6ff !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}
body.home .rd-links a:hover,
body.front-page .rd-links a:hover{ color: #fff !important; }

/* Panel derecho */
body.home .rd-hero__panel,
body.front-page .rd-hero__panel{
  border-radius: 22px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
  padding: 16px;
}

/* Caja buscar */
body.home .rd-search,
body.front-page .rd-search{
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.18);
  padding: 16px;
}

body.home .rd-search__title,
body.front-page .rd-search__title{
  margin: 0;
  font-weight: 900;
  color: #fff !important;
  font-size: 1.05rem;
}

body.home .rd-search__subtitle,
body.front-page .rd-search__subtitle{
  margin: 6px 0 0 0;
  color: rgba(255,255,255,.70);
  font-size: .92rem;
}

body.home .rd-search__fields,
body.front-page .rd-search__fields{
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

/* Labels */
body.home .rd-field__label,
body.front-page .rd-field__label{
  display: block;
  margin-bottom: 7px;
  font-weight: 800;
  font-size: .92rem;
  color: rgba(255,255,255,.90) !important;
}

/* Selects */
body.home .rd-field__select,
body.front-page .rd-field__select{
  width: 100%;
  padding: 12px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  color: #fff !important;
  outline: none;
  appearance: none;
  -webkit-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, rgba(255,255,255,.75) 50%),
    linear-gradient(135deg, rgba(255,255,255,.75) 50%, transparent 50%);
  background-position:
    calc(100% - 18px) calc(50% - 2px),
    calc(100% - 12px) calc(50% - 2px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 38px;
}
body.home .rd-field__select option,
body.front-page .rd-field__select option{ color: #0b1220; }

/* Minihelp */
body.home .rd-minihelp,
body.front-page .rd-minihelp{
  margin-top: 12px;
  padding: 16px;
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
}

body.home .rd-minihelp__title,
body.front-page .rd-minihelp__title{
  margin: 0;
  font-weight: 900;
  color: #fff;
}

body.home .rd-minihelp__text,
body.front-page .rd-minihelp__text{
  margin: 8px 0 12px 0;
  color: rgba(255,255,255,.72);
  font-size: .92rem;
}

/* Focus visible */
body.home .rd-hero a:focus-visible,
body.home .rd-hero button:focus-visible,
body.home .rd-hero select:focus-visible,
body.front-page .rd-hero a:focus-visible,
body.front-page .rd-hero button:focus-visible,
body.front-page .rd-hero select:focus-visible{
  outline: 3px solid rgba(96,165,250,.78);
  outline-offset: 3px;
  border-radius: 12px;
}

/* Responsive */
@media (max-width: 920px){
  body.home .rd-hero__grid,
  body.front-page .rd-hero__grid{
    grid-template-columns: 1fr;
  }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce){
  body.home .rd-btn,
  body.front-page .rd-btn{ transition: none; }
}

/* =========================================================
   RD – Ranking por Ciudad
   ========================================================= */

.rd-cityblock{
  /* ✅ vertical unificado por 0.2; aquí solo horizontal */
  margin-left: auto !important;
  margin-right: auto !important;

  border-radius: 28px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 24px 70px rgba(0,0,0,.22);

  padding: clamp(40px, 4vw, 60px);

  background:
    radial-gradient(780px 360px at 12% 0%, rgba(59,130,246,.22), transparent 62%),
    radial-gradient(640px 320px at 94% 22%, rgba(220,38,38,.16), transparent 60%),
    linear-gradient(180deg, #475569, #334155);

  --theme-heading-color: #ffffff;
  --theme-text-color: rgba(255,255,255,.92);
  color: #ffffff;
}

.rd-cityblock__inner{ width: 100%; margin: 0 auto; }
.rd-cityblock h2, .rd-cityblock h3{ color: #ffffff !important; }

.rd-cityblock__header h2{
  margin: 0 0 12px 0;
  letter-spacing: -0.01em;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
}

.rd-cityblock__lead{
  margin: 0 0 22px 0;
  max-width: 75ch;
  color: rgba(255,255,255,.88) !important;
  line-height: 1.6;
}

.rd-cityblock__quick{
  margin: 24px 0 30px 0;
  padding: 18px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  backdrop-filter: blur(4px);
}

.rd-cityblock__label{ display:block; font-weight:900; margin-bottom:12px; color:#fff; }

.rd-cityblock__quickrow{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 14px;
  align-items: center;
}

.rd-cityblock__select{
  width: 100%;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.26);
  background: rgba(255,255,255,.14);
  color: #fff;
  outline: none;
}

.rd-cityblock__btn{
  padding: 14px 18px;
  border-radius: 14px;
  border: none;
  background: linear-gradient(180deg, #3b82f6, #2563eb);
  color: #fff;
  font-weight: 900;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease;
}
.rd-cityblock__btn:hover{ transform: translateY(-2px); box-shadow: 0 14px 34px rgba(59,130,246,.38); }

.rd-cityblock__grid{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.rd-cityblock__card{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:16px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(255,255,255,.10);
  text-decoration:none;
  transition: all .2s ease;
}
.rd-cityblock__card:hover{ background: rgba(255,255,255,.16); transform: translateY(-2px); }

.rd-cityblock__name{ font-weight:900; color:#fff; }
.rd-cityblock__cta{ font-weight:800; color:#bfdbfe; font-size:.95rem; white-space:nowrap; }

@media (max-width: 980px){ .rd-cityblock__grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 720px){
  .rd-cityblock__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rd-cityblock__quickrow{ grid-template-columns: 1fr; }
}
@media (max-width: 480px){ .rd-cityblock__grid{ grid-template-columns: 1fr; } }

/* =========================================================
   RD – Especialidades
   ========================================================= */

.rd-specialties{
  margin-left: auto !important;
  margin-right: auto !important;

  border-radius: 28px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 30px 80px rgba(0,0,0,.35);

  padding: clamp(40px, 4vw, 60px);

  background:
    radial-gradient(760px 340px at 12% 0%, rgba(16,185,129,.22), transparent 60%),
    radial-gradient(640px 320px at 96% 22%, rgba(59,130,246,.14), transparent 58%),
    linear-gradient(180deg, #064e3b, #052e2b);

  --theme-heading-color: #ffffff;
  --theme-text-color: rgba(255,255,255,.88);
  color: #fff;
}

.rd-specialties__inner{ width:100%; margin:0 auto; }
.rd-specialties h2, .rd-specialties h3{ color:#fff !important; }

.rd-specialties__header h2{
  margin: 0 0 12px 0;
  font-size: clamp(1.7rem, 2.4vw, 2.2rem);
  letter-spacing: -0.01em;
}

.rd-specialties__lead{
  margin: 0 0 24px 0;
  max-width: 75ch;
  color: rgba(255,255,255,.80) !important;
  line-height: 1.6;
}

.rd-specialties__grid{
  list-style:none;
  padding:0;
  margin:0;
  display:grid;
  gap:14px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.rd-specialties__card{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:18px;
  border-radius:20px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.07);
  text-decoration:none;
  transition: transform .15s ease, background .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.rd-specialties__card:hover{
  background: rgba(255,255,255,.11);
  border-color: rgba(16,185,129,.35);
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
}

.rd-specialties__name{ font-weight:950; font-size:1.05rem; color:#fff !important; }
.rd-specialties__desc{ font-size:.95rem; line-height:1.55; color: rgba(255,255,255,.78) !important; }

.rd-specialties a:focus-visible{
  outline: 3px solid rgba(16,185,129,.7);
  outline-offset: 3px;
  border-radius: 16px;
}

@media (max-width: 980px){ .rd-specialties__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px){ .rd-specialties__grid{ grid-template-columns: 1fr; } }

/* =========================================================
   RD – Autoridad
   ========================================================= */

.rd-authority{
  margin-left: auto !important;
  margin-right: auto !important;

  border-radius: 32px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.10);
  box-shadow: 0 30px 80px rgba(0,0,0,.28);

  padding: clamp(40px, 4vw, 60px);

  background:
    radial-gradient(760px 360px at 10% 0%, rgba(14,165,233,.20), transparent 60%),
    radial-gradient(600px 320px at 90% 25%, rgba(99,102,241,.18), transparent 60%),
    linear-gradient(180deg, #1e3a5f, #162a45);

  --theme-heading-color: #ffffff;
  --theme-text-color: rgba(255,255,255,.92);
  color: #fff;
}

.rd-authority__inner{ width:min(920px, 100%); margin:0 auto; text-align:center; }

.rd-authority__header h2{
  margin: 0 0 16px 0;
  font-size: clamp(1.75rem, 2.4vw, 2.2rem);
  letter-spacing: -0.01em;
  color: #fff !important;
}

.rd-authority__lead{
  margin: 0 auto 28px auto;
  max-width: 72ch;
  color: rgba(255,255,255,.85) !important;
  line-height: 1.65;
}

.rd-authority__points{
  list-style:none;
  padding:0;
  margin:0 0 28px 0;
  display:grid;
  gap:14px;
}

.rd-authority__points li{
  padding:16px 20px;
  border-radius:18px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.15);
  font-weight:600;
  color:#fff;
  backdrop-filter: blur(4px);
  transition: transform .15s ease, background .2s ease;
}
.rd-authority__points li:hover{ background: rgba(255,255,255,.16); transform: translateY(-2px); }

.rd-disclaimer{
  margin: 0 auto 20px auto;
  padding: 16px 22px;
  border-radius: 20px;
  background: rgba(0,0,0,.28);
  border: 1px solid rgba(255,255,255,.18);
  max-width: 720px;
  font-size: .95rem;
  color: rgba(255,255,255,.88);
}

.rd-authority__more a{
  font-weight:700;
  color:#7dd3fc;
  text-decoration:none;
}
.rd-authority__more a:hover{ text-decoration: underline; opacity:.85; }

.rd-authority a:focus-visible{
  outline: 3px solid rgba(125,211,252,.8);
  outline-offset: 3px;
  border-radius: 8px;
}

@media (max-width: 720px){ .rd-authority{ padding: 36px 22px; } }

/* =========================================================
   RD – FAQ
   ========================================================= */

.rd-faqblock{
  margin-left: auto !important;
  margin-right: auto !important;

  border-radius: 32px;
  overflow: hidden;

  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 40px 90px rgba(0,0,0,.35);

  background:
    radial-gradient(800px 400px at 10% 0%, rgba(190,24,93,.25), transparent 60%),
    radial-gradient(600px 300px at 90% 100%, rgba(220,38,38,.18), transparent 60%),
    linear-gradient(180deg, #4c0519, #7f1d1d);

  padding: clamp(40px, 4vw, 70px);

  --theme-heading-color: #ffffff;
  --theme-text-color: rgba(255,255,255,.85);
  color: #fff;
}

.rd-faqblock__inner{ width:min(1000px, 100%); margin:0 auto; }
.rd-faqblock h2, .rd-faqblock h3{ color:#fff !important; }

.rd-faqblock__header h2{
  margin:0 0 14px 0;
  font-size: clamp(1.7rem, 2.5vw, 2.2rem);
  letter-spacing: -0.01em;
}

.rd-faqblock__lead{ margin: 0 0 36px 0; color: rgba(255,255,255,.85); }

.rd-faqblock__columns{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 40px;
}

.rd-faqblock__group-title{
  margin: 0 0 18px 0;
  font-size: 1.1rem;
  font-weight: 900;
  color: #fda4af;
}

.rd-faqblock__item{
  margin-bottom: 12px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.15);
  background: rgba(255,255,255,.06);
  padding: 14px 16px;
  transition: background .2s ease;
}
.rd-faqblock__item:hover{ background: rgba(255,255,255,.10); }

.rd-faqblock__item summary{ cursor:pointer; font-weight:700; color:#fff; }
.rd-faqblock__item p{ margin: 10px 0 0 0; color: rgba(255,255,255,.85); }

.rd-faqblock summary:focus-visible{
  outline: 3px solid rgba(253,164,175,.7);
  outline-offset: 3px;
  border-radius: 8px;
}

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

/* ======================================================
   CTA FINAL
   ====================================================== */

.rd-cta-wrapper{
  margin-left: auto !important;
  margin-right: auto !important;
}

.rd-cta-clinics{
  margin-left: auto !important;
  margin-right: auto !important;

  border-radius: 32px;
  overflow: hidden;

  padding: clamp(50px, 6vw, 80px);

  background: linear-gradient(135deg, #0f3d2e, #064e3b);
  box-shadow: 0 40px 90px rgba(0,0,0,.35);
  border: 1px solid rgba(255,255,255,.10);

  --theme-heading-color: #ffffff;
  --theme-text-color: rgba(255,255,255,.90);
  color: #fff;
}

.rd-cta-clinics__inner{
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.rd-cta-clinics h2{
  margin: 0;
  color: #fff !important;
  font-size: clamp(1.9rem, 2.8vw, 2.5rem);
  line-height: 1.05;
  letter-spacing: -0.015em;
}

.rd-cta-clinics__lead{
  margin: 0 auto;
  max-width: 72ch;
  color: rgba(255,255,255,.86) !important;
  font-size: clamp(1.05rem, 1.2vw, 1.15rem);
  line-height: 1.6;
}

.rd-cta-clinics__benefits{
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 16px;
}

.rd-cta-clinics__benefits li{
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.07);
  color: rgba(255,255,255,.90) !important;
  text-align: left;
  line-height: 1.55;
}

.rd-cta-clinics__benefits li::before{
  content: "★";
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(16,185,129,.28);
  border: 1px solid rgba(16,185,129,.45);
  font-size: .9rem;
}

.rd-cta-clinics__actions{
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.rd-cta-clinics .rd-cta-btn{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  padding: 16px 26px !important;
  min-height: 52px;
  border-radius: 16px !important;
  font-weight: 950;
  font-size: 1rem;
  text-decoration: none !important;
  cursor: pointer;
  box-sizing: border-box;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease, filter .2s ease;
}

.rd-cta-clinics .rd-cta-btn--primary{
  background: linear-gradient(180deg, #10b981, #059669) !important;
  color: #052e2b !important;
  border: 0 !important;
  box-shadow: 0 18px 45px rgba(16,185,129,.35);
}
.rd-cta-clinics .rd-cta-btn--primary:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 60px rgba(16,185,129,.45);
}

.rd-cta-clinics .rd-cta-btn--ghost{
  background: rgba(255,255,255,.10) !important;
  border: 1px solid rgba(255,255,255,.25) !important;
  color: #fff !important;
}
.rd-cta-clinics .rd-cta-btn--ghost:hover{
  background: rgba(255,255,255,.18) !important;
  transform: translateY(-2px);
}

.rd-cta-clinics__micro{
  margin: 0 auto;
  max-width: 68ch;
  color: rgba(255,255,255,.78) !important;
  font-size: .95rem;
  line-height: 1.6;
}

.rd-cta-clinics a:focus-visible{
  outline: 3px solid rgba(16,185,129,.8);
  outline-offset: 4px;
  border-radius: 14px;
}

@media (max-width: 820px){
  .rd-cta-clinics{ padding: 40px 22px; }
  .rd-cta-clinics__inner{ gap: 22px; }
}
@media (max-width: 520px){
  .rd-cta-clinics__benefits li{ padding: 16px 16px; }
}
