/* ==========================================================================
   Desatasco Rápido — sistema de diseño v1
   Paleta: verde azulado profundo (confianza) + naranja (acción/urgencia) + arena (Mallorca)
   ========================================================================== */
:root {
	--ink: #0e1f1d;
	--ink-2: #344946;
	--muted: #627573;
	--line: #e2e8e5;
	--bg: #ffffff;
	--sand: #f6f2ea;
	--sand-2: #efe8db;
	--teal: #0b5d5b;
	--teal-700: #08474a;
	--teal-500: #12817c;
	--teal-50: #e9f4f2;
	--accent: #f25c1f;
	--accent-700: #cf4510;
	--star: #f2a900;
	--radius: 16px;
	--radius-sm: 10px;
	--shadow-sm: 0 1px 2px rgba(14, 31, 29, .06), 0 2px 8px rgba(14, 31, 29, .05);
	--shadow: 0 10px 30px -10px rgba(14, 31, 29, .18);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--wrap: 1180px;
}

/* ---------- Base ---------- */
body.dr-v2 { font-family: var(--font); color: var(--ink-2); background: var(--bg); -webkit-font-smoothing: antialiased; }
body.dr-v2 h1, body.dr-v2 h2, body.dr-v2 h3, body.dr-v2 h4,
body.dr-v2 .entry-title { font-family: var(--font); color: var(--ink); letter-spacing: -.02em; font-weight: 800; }
body.dr-v2 a { color: var(--teal); }
body.dr-v2 a:hover { color: var(--teal-700); }
body.dr-v2 :focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
body.dr-v2 img { max-width: 100%; height: auto; }
.dr-wrap, .dr .wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; box-sizing: border-box; }

/* ---------- Botones ---------- */
.dr-btn, .dr .btn, .dr-guide .dr-btn, .slot-card a.btn-slot {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	padding: 15px 26px; border-radius: 999px; font-weight: 700; font-size: 16px; line-height: 1.1;
	text-decoration: none !important; border: 2px solid transparent; cursor: pointer;
	transition: background .15s, transform .15s, box-shadow .15s; letter-spacing: 0;
}
.dr-btn--accent, .dr .btn-primary, .dr-guide .dr-btn { background: var(--accent); color: #fff !important; box-shadow: 0 8px 20px -8px rgba(242, 92, 31, .7); }
.dr-btn--accent:hover, .dr .btn-primary:hover, .dr-guide .dr-btn:hover { background: var(--accent-700); color: #fff !important; transform: translateY(-1px); }
.dr-btn--teal, .slot-card a.btn-slot { background: var(--teal); color: #fff !important; }
.dr-btn--teal:hover { background: var(--teal-700); color: #fff !important; }
.dr-btn--ghost, .dr .btn-secondary { background: #fff; color: var(--ink) !important; border-color: var(--line); }
.dr-btn--ghost:hover, .dr .btn-secondary:hover { border-color: var(--teal); color: var(--teal) !important; }
.dr-btn--light { background: rgba(255,255,255,.12); color: #fff !important; border-color: rgba(255,255,255,.35); }
.dr-btn--light:hover { background: rgba(255,255,255,.2); color: #fff !important; }

/* ---------- Barra superior y cabecera ---------- */
.dr-topbar { background: var(--teal-700); color: #d7ebe8; font-size: 13.5px; }
.dr-topbar__in { max-width: var(--wrap); margin: 0 auto; padding: 8px 24px; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.dr-topbar a { color: #fff !important; font-weight: 700; text-decoration: none; white-space: nowrap; }
@media (max-width: 720px) { .dr-topbar__in span { display: none; } .dr-topbar__in { justify-content: center; } }

body.dr-v2 .site-header .ast-primary-header-bar,
body.dr-v2 .site-header .main-header-bar { background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); backdrop-filter: saturate(160%) blur(8px); }
body.dr-v2 .main-header-menu .menu-link { font-weight: 600; color: var(--ink) !important; font-size: 15px; }
body.dr-v2 .main-header-menu .menu-item:hover > .menu-link,
body.dr-v2 .main-header-menu .current-menu-item > .menu-link { color: var(--teal) !important; }
body.dr-v2 .main-header-menu .dr-menu-cta > .menu-link {
	background: var(--accent); color: #fff !important; border-radius: 999px; padding: 10px 18px !important; margin-left: 8px; line-height: 1.2;
}
body.dr-v2 .main-header-menu .dr-menu-cta > .menu-link:hover { background: var(--accent-700); color: #fff !important; }
body.dr-v2 .ast-mobile-popup-drawer .dr-menu-cta > .menu-link,
body.dr-v2 .ast-header-break-point .dr-menu-cta > .menu-link { margin: 12px 16px; text-align: center; display: block; }

/* ---------- Contenedores de Astra ---------- */
body.dr-v2.ast-plain-container .site-content > .ast-container { max-width: var(--wrap); }
body.dr-v2.ast-plain-container .site-content #primary { margin: 0; padding: 48px 0 24px; }
body.dr-v2.ast-page-builder-template .site-content > .ast-container { max-width: 100%; padding: 0; }
body.dr-v2.ast-page-builder-template .entry-content > * { margin-top: 0; }
body.dr-v2 .entry-meta, body.dr-v2 .post-navigation, body.dr-v2.page #comments { display: none !important; }
body.dr-v2 .entry-header { margin-bottom: 20px; }
body.dr-v2 .entry-title { font-size: clamp(30px, 3.4vw, 42px); line-height: 1.12; }
body.dr-v2 .entry-content { font-size: 17px; line-height: 1.72; }
body.dr-v2 .entry-content h2 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; margin: 1.8em 0 .6em; }
body.dr-v2 .entry-content h3 { font-size: 20px; line-height: 1.35; margin: 1.4em 0 .5em; }

/* Lectura cómoda en guías, servicios y fichas */
body.dr-guia .site-content #primary, body.dr-ficha .site-content #primary,
body.single-post .site-content #primary { max-width: 820px; margin: 0 auto; }
body.dr-ranking .site-content #primary { max-width: 960px; margin: 0 auto; }

/* ==========================================================================
   Portada y páginas de aterrizaje (.dr-landing)
   ========================================================================== */
.dr-landing { color: var(--ink-2); }
body.dr-v2 .entry-content .dr-landing > section,
body.dr-v2 .entry-content .dr-landing { max-width: none !important; width: 100% !important; margin-left: 0 !important; margin-right: 0 !important; }
.dr-sec { padding: 88px 0; }
.dr-sec--sand { background: var(--sand); }
.dr-sec--teal { background: var(--teal-700); color: #d8ece9; }
.dr-sec--teal h2, .dr-sec--teal h3 { color: #fff !important; }
.dr-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); margin: 0 0 12px; }
.dr-sec--teal .dr-eyebrow { color: #8fd3c9; }
.dr-h2 { font-size: clamp(28px, 3.2vw, 40px) !important; line-height: 1.12 !important; margin: 0 0 14px !important; }
.dr-lede { font-size: 18px; line-height: 1.6; color: var(--muted); max-width: 680px; margin: 0 0 40px; }
.dr-center { text-align: center; }
.dr-center .dr-lede { margin-left: auto; margin-right: auto; }

/* Hero portada */
.dr-home-hero { position: relative; background: var(--sand); overflow: hidden; }
.dr-home-hero__grid { max-width: var(--wrap); margin: 0 auto; padding: 72px 24px 80px; display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.dr-home-hero h1 { font-size: clamp(36px, 4.6vw, 58px) !important; line-height: 1.04 !important; margin: 0 0 20px !important; letter-spacing: -.035em; }
.dr-home-hero h1 em { font-style: normal; color: var(--teal); }
.dr-home-hero__sub { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0 0 28px; max-width: 560px; }
.dr-home-hero__media { position: relative; }
.dr-home-hero__media img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4/3.4; object-fit: cover; object-position: 30% center; width: 100%; }
.dr-badge-float { position: absolute; left: -22px; bottom: 28px; background: #fff; border-radius: 14px; padding: 14px 18px; box-shadow: var(--shadow); display: flex; gap: 12px; align-items: center; font-size: 14px; color: var(--ink); }
.dr-badge-float b { font-size: 22px; display: block; line-height: 1; }
.dr-badge-float .dr-stars { color: var(--star); font-size: 15px; letter-spacing: 1px; }

.dr-search { display: flex; gap: 8px; background: #fff; padding: 8px; border-radius: 999px; box-shadow: var(--shadow); max-width: 560px; border: 1px solid var(--line); }
.dr-search input { flex: 1; min-width: 0; border: 0 !important; background: transparent !important; padding: 12px 18px !important; font-size: 16px !important; color: var(--ink); box-shadow: none !important; outline: none; }
.dr-search .dr-btn { padding: 13px 24px; }
.dr-hero-alt { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.dr-hero-alt a { font-weight: 700; }
.dr-chips { display: flex; flex-wrap: wrap; gap: 10px 20px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14.5px; color: var(--ink-2); font-weight: 600; }
.dr-chips li { display: flex; gap: 8px; align-items: center; margin: 0; }
.dr-chips li::before { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b5d5b' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; flex-shrink: 0; }

/* Respuesta directa (GEO: bloque citable) */
.dr-answer { background: #fff; border: 1px solid var(--line); border-left: 5px solid var(--teal); border-radius: var(--radius); padding: 28px 32px; box-shadow: var(--shadow-sm); }
.dr-answer h2 { font-size: 22px !important; margin: 0 0 10px !important; }
.dr-answer p { margin: 0 0 12px; font-size: 17px; line-height: 1.65; }
.dr-answer p:last-child { margin: 0; }
.dr-prices { width: 100%; border-collapse: separate; border-spacing: 0; margin: 18px 0 6px; font-size: 15.5px; border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.dr-prices th, .dr-prices td { padding: 13px 16px; text-align: left; border-bottom: 1px solid var(--line); }
.dr-prices tr:last-child th, .dr-prices tr:last-child td { border-bottom: 0; }
.dr-prices thead th { background: var(--teal-50); color: var(--teal-700); font-size: 13px; text-transform: uppercase; letter-spacing: .05em; }
.dr-prices td:last-child { font-weight: 800; color: var(--ink); white-space: nowrap; }
.dr-small { font-size: 14px; color: var(--muted); }

/* Pasos */
.dr-steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: s; }
.dr-step { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; position: relative; }
.dr-step::before { counter-increment: s; content: counter(s); display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: var(--teal); color: #fff; font-weight: 800; font-size: 18px; margin-bottom: 18px; }
.dr-step h3 { font-size: 19px !important; margin: 0 0 8px !important; }
.dr-step p { margin: 0; font-size: 15.5px; line-height: 1.6; color: var(--muted); }

/* Servicios con foto */
.dr-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.dr-service { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; text-decoration: none !important; color: var(--ink-2) !important; transition: transform .18s, box-shadow .18s, border-color .18s; }
.dr-service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.dr-service img { aspect-ratio: 4/3; object-fit: cover; width: 100%; display: block; }
.dr-service__b { padding: 20px 22px 22px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dr-service h3 { font-size: 18.5px !important; margin: 0 !important; }
.dr-service p { margin: 0; font-size: 15px; line-height: 1.55; color: var(--muted); flex: 1; }
.dr-service__price { font-size: 14px; font-weight: 700; color: var(--teal); margin-top: 8px; }

/* Ranking (portada y páginas de municipio) */
.dr .rank-list, .rank-list { display: flex; flex-direction: column; gap: 10px; margin: 0; }
.dr .rank, .rank-list .rank {
	display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 14px;
	padding: 16px 20px; text-decoration: none !important; color: var(--ink) !important; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.dr .rank:hover, .rank-list .rank:hover { border-color: var(--teal-500); box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.rank .pos { font-weight: 800; color: var(--teal) !important; background: var(--teal-50) !important; width: 40px !important; height: 40px; border-radius: 12px; display: grid !important; place-items: center; font-size: 14px !important; flex-shrink: 0; }
.rank-list .rank:nth-child(-n+3) .pos { background: var(--teal) !important; color: #fff !important; }
.rank .rank-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.rank .name { font-weight: 700; font-size: 16.5px; color: var(--ink); display: block; }
.rank .city { color: var(--muted); font-size: 13.5px; }
.rank .score { font-size: 14px; color: var(--ink-2); font-weight: 600; white-space: nowrap; }
.rank .score small { display: block; color: var(--muted); font-weight: 500; font-size: 12px; }
.rank .phone { color: var(--teal) !important; font-weight: 700; font-size: 14.5px; white-space: nowrap; background: var(--teal-50); padding: 8px 12px; border-radius: 999px; }
.rank .arrow { color: var(--muted); font-size: 18px; flex-shrink: 0; transition: transform .15s; }
.rank:hover .arrow { transform: translateX(3px); color: var(--teal); }
@media (max-width: 640px) {
	.dr .rank, .rank-list .rank { flex-wrap: wrap; padding: 14px 16px; gap: 10px 14px; }
	.rank .rank-main { flex-basis: calc(100% - 100px); }
	.rank .phone { margin-left: 54px; }
	.rank .score { width: auto; }
}

/* Municipios */
.dr-towns, .dr .cities-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; }
.dr-town, .dr .city-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 18px; text-decoration: none !important; color: var(--ink) !important; transition: border-color .15s, box-shadow .15s; }
.dr-town:hover, .dr .city-card:hover { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.dr-town b, .dr .city-card b { display: block; font-size: 16.5px; font-weight: 800; }
.dr-town span, .dr .city-card span { font-size: 13.5px; color: var(--muted); }

/* Formulario de presupuesto */
.dr-lead { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.dr-lead__list { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 14px; }
.dr-lead__list li { display: flex; gap: 12px; font-size: 16px; color: #d8ece9; margin: 0; }
.dr-lead__list li::before { content: "✓"; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; font-weight: 800; flex-shrink: 0; font-size: 13px; }
body.dr-v2 .srfm-form-container { background: #fff !important; border: 1px solid var(--line) !important; border-radius: 20px !important; box-shadow: var(--shadow) !important; padding: 32px !important; max-width: 640px !important; margin: 0 auto 40px !important; box-sizing: border-box; color: var(--ink-2); }
.dr-lead .srfm-form-container { margin: 0 !important; max-width: none !important; }
body.dr-v2 .srfm-form-container .srfm-submit-button, body.dr-v2 .srfm-form-container button[type=submit] { background: var(--accent) !important; border-color: var(--accent) !important; border-radius: 999px !important; font-weight: 800 !important; padding: 15px 26px !important; width: 100%; }
body.dr-v2 .srfm-form-container .srfm-submit-button:hover { background: var(--accent-700) !important; }

/* FAQ */
.dr-faqs { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
details.dr-faq { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 0 22px; }
details.dr-faq[open] { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
details.dr-faq summary { cursor: pointer; list-style: none; padding: 20px 32px 20px 0; font-weight: 700; font-size: 17px; color: var(--ink); position: relative; }
details.dr-faq summary::-webkit-details-marker { display: none; }
details.dr-faq summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--teal); font-weight: 400; transition: transform .2s; }
details.dr-faq[open] summary::after { transform: translateY(-50%) rotate(45deg); }
details.dr-faq > div, details.dr-faq > p { padding: 0 0 20px; margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }

/* Banda profesionales */
.dr-pro { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.dr-pro img { border-radius: 24px; box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
.dr-pro ul { padding-left: 0; list-style: none; margin: 20px 0 28px; display: grid; gap: 10px; }
.dr-pro li { margin: 0; padding-left: 28px; position: relative; font-size: 16.5px; }
.dr-pro li::before { content: "→"; position: absolute; left: 0; color: var(--accent); font-weight: 800; }

/* Planes (Anúnciate) */
.dr-plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.dr-plan { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.dr-plan--best { border: 2px solid var(--teal); box-shadow: var(--shadow); }
.dr-plan__tag { position: absolute; top: -13px; left: 28px; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.dr-plan h3 { font-size: 20px !important; margin: 0 0 6px !important; }
.dr-plan__price { font-size: 40px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; margin: 10px 0 2px; line-height: 1; }
.dr-plan__price small { font-size: 15px; font-weight: 600; color: var(--muted); letter-spacing: 0; }
.dr-plan__note { font-size: 14px; color: var(--muted); margin: 0 0 18px; }
.dr-plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; flex: 1; }
.dr-plan li { margin: 0; padding-left: 26px; position: relative; font-size: 15.5px; line-height: 1.5; }
.dr-plan li::before { content: "✓"; position: absolute; left: 0; color: var(--teal); font-weight: 800; }
.dr-plan .dr-btn { width: 100%; }

.dr-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 40px 0 0; }
.dr-stat { background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 16px; padding: 22px; }
.dr-stat b { display: block; font-size: 34px; color: #fff; font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.dr-stat span { font-size: 14px; color: #b9dcd6; }

/* Imagen ancha con texto */
.dr-band { position: relative; border-radius: 24px; overflow: hidden; min-height: 320px; display: flex; align-items: flex-end; }
.dr-band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dr-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,71,74,0) 20%, rgba(8,40,42,.88) 100%); }
.dr-band__in { position: relative; z-index: 1; padding: 40px; color: #e6f3f1; max-width: 720px; }
.dr-band__in h2 { color: #fff !important; }

/* ==========================================================================
   Páginas existentes (estilos heredados unificados)
   ========================================================================== */
/* Rankings de municipio y portada antigua */
.dr .hero { padding: 8px 0 28px !important; text-align: left !important; }
.dr .hero h1 { font-size: clamp(30px, 3.6vw, 44px) !important; line-height: 1.1 !important; margin: 0 0 12px !important; }
.dr .hero p { font-size: 18px; color: var(--muted); max-width: 680px; margin: 0; line-height: 1.6; }
.dr .notice, .dr-guide .dr-card, .notice { background: var(--teal-50); border: 1px solid #cfe5e1; border-radius: var(--radius); padding: 22px 26px; margin: 24px 0; font-size: 15.5px; line-height: 1.65; color: var(--ink-2); }
.dr .back-links { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin: 32px 0 8px; font-size: 15px; }
.dr .back-links a { font-weight: 700; text-decoration: none; }
.dr div[style*="bg-alt"] { background: var(--sand) !important; border: 0 !important; border-radius: var(--radius) !important; padding: 24px !important; }
.dr .destacados-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.slot-card { border: 2px dashed var(--teal-500); border-radius: var(--radius); padding: 26px 20px; text-align: center; background: var(--teal-50); }

/* Guías y páginas de servicio */
.dr-guide { color: var(--ink-2); font-size: 17.5px; line-height: 1.75; }
.dr-guide section { margin: 44px 0; scroll-margin-top: 90px; }
.dr-guide h2 { font-size: clamp(24px, 2.4vw, 30px) !important; line-height: 1.25 !important; margin: 0 0 14px !important; }
.dr-guide h3 { font-size: 20px !important; margin: 22px 0 8px !important; }
.dr-guide .dr-hero { background: linear-gradient(135deg, var(--teal-700), var(--teal)); color: #fff; border-radius: 24px; padding: 44px 40px; margin: 0 0 36px; text-align: left; position: relative; overflow: hidden; }
.dr-guide .dr-hero h1 { color: #fff !important; font-size: clamp(30px, 3.6vw, 44px) !important; line-height: 1.1 !important; }
.dr-guide .dr-hero p { color: #d8ece9; font-size: 18px; margin: 0 0 24px; max-width: 620px; }
.dr-guide .dr-hero-img { display: block; width: calc(100% + 80px); margin: 32px -40px -44px; aspect-ratio: 16/7; object-fit: cover; }
.dr-guide .dr-lead { font-size: 19.5px; color: var(--ink); }
.dr-guide .dr-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 22px 0; }
.dr-guide .dr-grid .dr-card { margin: 0; background: #fff; border-color: var(--line); }
.dr-guide .dr-card ul:last-child, .dr-guide .dr-card p:last-child { margin-bottom: 0; }
.dr-guide .dr-related { padding: 24px 26px; border-radius: var(--radius); background: var(--sand); }
.dr-guide .dr-related a { display: block; padding: 8px 0; font-weight: 700; }
.dr-guide .dr-disclaimer { font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 20px; margin-top: 38px; }
.dr-guide .dr-label { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); margin-bottom: 8px; }
.dr-guide li::marker { color: var(--teal-500); }
.dr-guide table { border-collapse: collapse; width: 100%; font-size: 15.5px; }
.dr-guide th, .dr-guide td { border-bottom: 1px solid var(--line); padding: 12px 10px; text-align: left; }

/* Fichas de fontanero */
.dr-ficha .entry-title { margin-bottom: 8px; }
.fontanero-desc .quick-facts { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 24px 26px; box-shadow: var(--shadow-sm); margin: 0 0 36px; }
.qf-stars { display: flex; gap: 10px; align-items: baseline; flex-wrap: wrap; margin-bottom: 14px; }
.qf-stars-icons { color: var(--star); font-size: 22px; letter-spacing: 2px; }
.qf-stars-icons.qf-empty { color: var(--line); }
.qf-rating-num { font-weight: 800; color: var(--ink); font-size: 20px; }
.qf-reviews { color: var(--muted); font-size: 14.5px; }
.qf-table { width: 100%; border-collapse: collapse; margin: 0; border: 0; font-size: 15.5px; }
.qf-table th, .qf-table td { border: 0; border-top: 1px solid var(--line); padding: 12px 6px; text-align: left; vertical-align: middle; }
.qf-table th { color: var(--muted); font-weight: 600; width: 42%; }
.qf-table td { color: var(--ink); font-weight: 700; }
.qf-table a[href^="tel:"] { display: inline-flex; align-items: center; gap: 6px; background: var(--accent); color: #fff !important; padding: 9px 16px; border-radius: 999px; text-decoration: none; }

.cta-box { background: linear-gradient(135deg, var(--teal-700), var(--teal)); color: #d8ece9; border-radius: 20px; padding: 28px 30px; margin: 40px 0 18px; }
.cta-box h3 { color: #fff !important; margin: 0 0 6px !important; font-size: 22px !important; }
.cta-box p { margin: 0; }
.claim-section { margin: 48px 0 16px; }
.claim-title { display: flex; align-items: center; gap: 12px; font-size: 24px !important; }
.claim-title .bar { width: 6px; height: 28px; background: var(--accent); border-radius: 3px; }
.claim-box { background: var(--sand); border-radius: 20px; padding: 26px 30px; font-size: 16px; }
.claim-box h3 { font-size: 18px !important; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.claim-tag { display: inline-block; background: var(--teal); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }

/* Contacto, metodología, servicios (bloques genéricos) */
.entry-content .card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.entry-content .faq-item { border-bottom: 1px solid var(--line); padding: 16px 0; }

/* ==========================================================================
   Pie con enlazado interno
   ========================================================================== */
.dr-prefooter { background: #0b1b1a; color: #a9bdba; padding: 64px 0 40px; }
.dr-prefooter__in { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.dr-prefooter p { font-size: 15px; line-height: 1.6; margin: 0 0 20px; }
.dr-prefooter ul { list-style: none; margin: 0 0 22px; padding: 0; display: grid; gap: 8px; }
.dr-prefooter li { margin: 0; }
.dr-prefooter a:not(.dr-btn) { color: #d6e4e2 !important; text-decoration: none; font-size: 14.5px; }
.dr-prefooter a:not(.dr-btn):hover { color: #fff !important; text-decoration: underline; }
.dr-prefooter__h { color: #fff !important; font-weight: 800; font-size: 13px !important; letter-spacing: .08em; text-transform: uppercase; margin: 0 0 14px !important; }
.dr-logo-text { font-size: 24px !important; font-weight: 800; color: #fff !important; letter-spacing: -.03em; margin-bottom: 12px !important; }
.dr-logo-text span { color: var(--accent); }

/* El pie antiguo de Astra (widgets) queda sustituido por .dr-prefooter; solo se mantiene el copyright. */
body.dr-v2 .site-primary-footer-wrap, body.dr-v2 .site-above-footer-wrap { display: none !important; }
body.dr-v2 .site-below-footer-wrap { background: #071312 !important; border-top: 1px solid rgba(255,255,255,.08) !important; }
body.dr-v2 .site-below-footer-wrap, body.dr-v2 .site-below-footer-wrap * { color: #7f9794 !important; font-size: 13.5px; }

/* Barra fija inferior (móvil) */
.dr-stickybar { display: none; }
@media (max-width: 921px) {
	.dr-stickybar { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 999; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(14,31,29,.08); transition: transform .25s; }
	.dr-stickybar.is-hidden { transform: translateY(110%); }
	.dr-stickybar a { display: flex; align-items: center; justify-content: center; padding: 14px 10px; border-radius: 999px; font-weight: 800; font-size: 15px; text-decoration: none; }
	.dr-stickybar__main { background: var(--accent); color: #fff !important; }
	.dr-stickybar__alt { background: var(--teal-50); color: var(--teal) !important; }
	body.dr-v2 { padding-bottom: 76px; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.dr-towns, .dr .cities-grid { grid-template-columns: repeat(3, 1fr); }
	.dr-prefooter__in { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 900px) {
	.dr-sec { padding: 60px 0; }
	.dr-home-hero__grid, .dr-lead, .dr-pro { grid-template-columns: 1fr; gap: 36px; }
	.dr-home-hero__grid { padding: 40px 20px 56px; }
	.dr-home-hero__media { order: -1; }
	.dr-home-hero__media img { aspect-ratio: 16/10; }
	.dr-badge-float { left: 12px; bottom: -18px; }
	.dr-steps, .dr-services, .dr-plans { grid-template-columns: 1fr; }
	.dr-stats { grid-template-columns: 1fr 1fr; }
	.dr-guide .dr-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.dr-wrap, .dr .wrap { padding: 0 18px; }
	.dr-towns, .dr .cities-grid { grid-template-columns: 1fr 1fr; }
	.dr-prefooter__in { grid-template-columns: 1fr; }
	.dr-search { border-radius: 18px; flex-direction: column; }
	.dr-search .dr-btn { width: 100%; }
	.dr-answer { padding: 22px; }
	.dr-guide .dr-hero { padding: 32px 24px; }
	.dr-guide .dr-hero-img { width: calc(100% + 48px); margin: 24px -24px -32px; }
	.dr-band__in { padding: 26px; }
	.dr-prices th, .dr-prices td { padding: 11px 10px; font-size: 14.5px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }

/* ---------- Ajustes tras revisión visual ---------- */
.rank-list > br, .rank-list > p:empty { display: none; }
.dr .rank, .rank-list .rank { padding: 13px 18px; }
body.dr-v2 .entry-header { text-align: left !important; }
body.dr-v2 .entry-header .entry-title, body.dr-v2.single .entry-title { font-size: clamp(30px, 3.4vw, 42px) !important; line-height: 1.12 !important; font-weight: 800 !important; color: var(--ink) !important; text-align: left !important; }
/* Logo: icono siempre visible (el span .site-logo-img viene vacío) */
body.dr-v2 .site-logo-img:empty { display: inline-block; width: 40px; height: 40px; margin-right: 10px; border-radius: 50%; background: url("/wp-content/uploads/2026/09/logo-desatascorapido.png") center/contain no-repeat; vertical-align: middle; }
body.dr-v2 .site-branding .site-title a { font-weight: 800 !important; letter-spacing: -.03em; color: var(--teal) !important; }
/* Márgenes de párrafos dentro de las landings (Astra pone 1.6em a .entry-content p) */
body.dr-v2 .entry-content .dr-landing p.dr-plan__price { margin: 10px 0 4px; }
body.dr-v2 .entry-content .dr-landing p.dr-plan__note { margin: 0 0 18px; }
body.dr-v2 .entry-content .dr-landing p.dr-lede { margin-bottom: 40px; }
body.dr-v2 .entry-content .dr-landing p.dr-eyebrow { margin: 0 0 12px; }
body.dr-v2 .entry-content .dr-landing .dr-step p, body.dr-v2 .entry-content .dr-landing .dr-service p { margin: 0; }
body.dr-v2 .entry-content .dr-landing br { display: none; }

@media (max-width: 600px) {
	body.dr-v2.ast-plain-container .site-content #primary { padding-top: 24px; }
	.fontanero-desc .quick-facts { padding: 18px; }
	.qf-table, .qf-table tbody, .qf-table tr { display: block; width: 100%; }
	.qf-table tr { border-top: 1px solid var(--line); padding: 10px 0; }
	.qf-table th, .qf-table td { display: block; width: auto !important; border: 0 !important; padding: 2px 0 !important; }
	.qf-table td a[href^="tel:"] { margin-top: 6px; }
}

/* ==========================================================================
   Ficha de fontanero v2 (.dr-fx)
   ========================================================================== */
body.dr-ficha .site-content #primary { max-width: none; padding: 0; }
.dr-sec--tight { padding: 56px 0; }
.dr-fx-hero { background: var(--sand); padding: 28px 0 64px; }
.dr-crumbs { font-size: 14px; color: var(--muted); margin: 0 0 28px; }
.dr-crumbs a { color: var(--muted) !important; text-decoration: none; }
.dr-crumbs a:hover { color: var(--teal) !important; text-decoration: underline; }
.dr-fx-hero__grid { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: center; }
.dr-fx-hero h1 { font-size: clamp(34px, 4.4vw, 54px) !important; line-height: 1.05 !important; margin: 0 0 16px !important; letter-spacing: -.035em; }
.dr-fx-rating { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 16px; color: var(--ink-2); }
.dr-fx-rating b { font-size: 26px; color: var(--ink); font-weight: 800; }
.dr-stars { position: relative; display: inline-block; color: #d9dfdc; font-size: 22px; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.dr-stars__fill { position: absolute; left: 0; top: 0; overflow: hidden; color: var(--star); }
.dr-stars--empty { color: #d9dfdc; }
.dr-alt .dr-stars { font-size: 14px; letter-spacing: 1px; }
.dr-fx-ctas { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.dr-btn--lg { padding: 18px 30px; font-size: 18px; }

.dr-scorecard { background: #fff; border-radius: 24px; padding: 30px; box-shadow: var(--shadow); border: 1px solid var(--line); }
.dr-scorecard p { margin: 0; }
.dr-scorecard__label { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); }
.dr-scorecard__big { font-size: 64px; font-weight: 800; color: var(--ink); letter-spacing: -.04em; line-height: 1; margin: 10px 0 4px !important; }
.dr-scorecard__big small { font-size: 22px; color: var(--muted); font-weight: 700; letter-spacing: 0; }
.dr-scorecard__sub { font-weight: 700; color: var(--teal); }
.dr-scorecard__rows { margin: 20px 0 16px; padding: 0; display: grid; gap: 0; }
.dr-scorecard__rows div { display: flex; justify-content: space-between; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); font-size: 15px; }
.dr-scorecard__rows dt { color: var(--muted); font-weight: 500; }
.dr-scorecard__rows dd { margin: 0; font-weight: 800; color: var(--ink); }
.dr-scorecard__note { font-size: 13px; color: var(--muted); line-height: 1.5; }
.dr-conf { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 13px; }
.dr-conf--alta { background: #dff3e7; color: #17663a; }
.dr-conf--media { background: #fff1d6; color: #8a5a00; }
.dr-conf--baja, .dr-conf--nula { background: #fde4dc; color: #a33a12; }

.dr-fx-main { max-width: 880px; }
.dr-fx-main > * + * { margin-top: 0; }
body.dr-v2 .entry-content .dr-fx h2.dr-h2s, .dr-h2s { font-size: clamp(24px, 2.4vw, 30px) !important; line-height: 1.2 !important; margin: 56px 0 10px !important; }
.dr-muted { color: var(--muted); margin: 0 0 18px; }
.dr-fx-main > p { font-size: 17px; line-height: 1.7; }

.dr-compare { border: 1px solid var(--line); border-radius: 16px; overflow: hidden; background: #fff; }
.dr-compare__row { display: grid; grid-template-columns: 40px 1fr 70px 30%; gap: 12px; align-items: center; padding: 12px 18px; border-top: 1px solid var(--line); font-size: 15px; }
.dr-compare__row:first-child { border-top: 0; }
.dr-compare__row.is-me { background: var(--teal-50); }
.dr-compare__pos { font-weight: 800; color: var(--muted); }
.dr-compare__row.is-me .dr-compare__pos { color: var(--teal); }
.dr-compare__name a { color: var(--ink) !important; text-decoration: none; font-weight: 600; }
.dr-compare__name a:hover { color: var(--teal) !important; text-decoration: underline; }
.dr-compare__name em { font-style: normal; font-size: 11.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; background: var(--teal); color: #fff; padding: 2px 8px; border-radius: 999px; margin-left: 6px; white-space: nowrap; }
.dr-compare__rating { font-weight: 700; color: var(--ink); white-space: nowrap; }
.dr-compare__bar { display: flex; align-items: center; gap: 8px; }
.dr-compare__bar i { display: block; height: 8px; border-radius: 4px; background: var(--teal-500); opacity: .55; }
.dr-compare__row.is-me .dr-compare__bar i { background: var(--accent); opacity: 1; }
.dr-compare__bar small { font-size: 13px; color: var(--muted); font-weight: 600; }

.dr-fx-two { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 48px; }
.dr-fx .dr-card { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 26px; }
.dr-fx .dr-card h3 { font-size: 19px !important; margin: 0 0 14px !important; }
.dr-checklist, .dr-qlist { margin: 0; padding-left: 20px; display: grid; gap: 10px; font-size: 15.5px; line-height: 1.55; }
.dr-checklist li::marker { color: var(--teal); font-weight: 800; }
.dr-qlist { list-style: none; padding: 0; }
.dr-qlist li { padding-left: 26px; position: relative; margin: 0; }
.dr-qlist li::before { content: "?"; position: absolute; left: 0; top: 1px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 12px; font-weight: 800; display: grid; place-items: center; }
.dr-fx .dr-prices td a { font-weight: 600; }

.dr-map { border: 1px dashed var(--teal-500); border-radius: 18px; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Cpath d='M0 20h40M20 0v40' stroke='%23cfe5e1' stroke-width='1'/%3E%3C/svg%3E"); min-height: 220px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; text-align: center; padding: 24px; }
.dr-map.is-loaded { padding: 0; border: 0; min-height: 0; background: none; }
.dr-map iframe { width: 100%; height: 360px; border: 0; border-radius: 18px; display: block; }

.dr-alts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.dr-alt { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 18px; text-decoration: none !important; color: var(--ink-2) !important; transition: border-color .15s, box-shadow .15s, transform .15s; }
.dr-alt:hover { border-color: var(--teal-500); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.dr-alt__pos { font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--teal-500); }
.dr-alt b { font-size: 16.5px; color: var(--ink); line-height: 1.3; }
.dr-alt__r { font-size: 13.5px; color: var(--muted); }
.dr-alt__tel { margin-top: auto; font-weight: 800; color: var(--teal); font-size: 15px; }
.dr-near { margin: 16px 0 0; font-size: 15px; color: var(--muted); }
.dr-near a { font-weight: 700; }
.dr-fx .dr-faqs { max-width: none; }

.dr-owner { display: grid; grid-template-columns: 1fr 1.2fr; gap: 32px; align-items: center; background: var(--sand); border-radius: 24px; padding: 36px; }
.dr-owner .dr-h2s { margin-top: 0 !important; }
.dr-owner__plans { display: grid; gap: 10px; }
.dr-owner__plan { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; text-decoration: none !important; color: var(--ink) !important; }
.dr-owner__plan span { font-size: 14px; color: var(--muted); text-align: right; }
.dr-owner__plan.is-best { border: 2px solid var(--accent); }
.dr-owner__plan:hover { border-color: var(--teal); }
.dr-fx-foot { margin-top: 28px; }

@media (max-width: 900px) {
	.dr-fx-hero__grid, .dr-fx-two, .dr-owner { grid-template-columns: 1fr; }
	.dr-alts { grid-template-columns: 1fr; }
	.dr-owner { padding: 24px; }
}
@media (max-width: 600px) {
	.dr-fx-hero { padding: 18px 0 40px; }
	.dr-fx-ctas .dr-btn { width: 100%; }
	.dr-compare__row { grid-template-columns: 26px 1fr 58px; padding: 12px 14px; }
	.dr-compare__bar { display: none; }
	.dr-scorecard__big { font-size: 52px; }
	.dr-owner__plan { flex-direction: column; align-items: flex-start; }
	.dr-owner__plan span { text-align: left; }
}
body.dr-ficha .entry-content, body.dr-ficha .ast-post-format- , body.dr-ficha article.fontanero { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.dr-ficha .dr-fx-main { margin: 0 auto; }

/* ==========================================================================
   Rankings por municipio (.dr-rk)
   ========================================================================== */
body.dr-ranking .site-content #primary { max-width: none; padding: 0; }
body.dr-ranking .entry-content, body.dr-ranking article.page { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
.dr-rk-stats { display: flex; gap: 12px; flex-wrap: wrap; margin: 4px 0 0; }
.dr-rk-stats div { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 18px; min-width: 110px; }
.dr-rk-stats b { display: block; font-size: 26px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1.1; }
.dr-rk-stats span { font-size: 13px; color: var(--muted); }
.dr-winner__name { font-size: 24px; font-weight: 800; line-height: 1.2; margin: 10px 0 10px !important; letter-spacing: -.02em; }
.dr-winner__name a { color: var(--ink) !important; text-decoration: none; }
.dr-winner .dr-fx-rating b { font-size: 22px; }
.dr-winner__more { display: block; text-align: center; margin-top: 12px; font-weight: 700; font-size: 14.5px; }

.dr-rk-slot { display: flex; flex-direction: column; gap: 4px; border: 2px dashed var(--accent); background: #fff7f2; border-radius: 16px; padding: 16px 20px; margin: 0 0 14px; text-decoration: none !important; color: var(--ink-2) !important; }
.dr-rk-slot__tag { font-size: 11.5px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; color: var(--accent-700); }
.dr-rk-slot b { color: var(--ink); font-size: 16px; }
.dr-rk-slot span:last-child { font-size: 14px; color: var(--muted); }
.dr-rk-slot:hover { background: #ffefe5; }

.dr-rk-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.dr-rk-card { display: grid; grid-template-columns: 52px 1fr auto auto; gap: 18px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 18px 20px; margin: 0; transition: border-color .15s, box-shadow .15s; }
.dr-rk-card:hover { border-color: var(--teal-500); box-shadow: var(--shadow-sm); }
.dr-rk-card.is-top { border-color: #cfe5e1; box-shadow: var(--shadow-sm); }
.dr-rk-card.is-featured { border: 2px solid var(--accent); background: #fffaf6; }
.dr-rk-card__pos { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; font-size: 20px; font-weight: 800; background: var(--teal-50); color: var(--teal); }
.dr-rk-card.is-top .dr-rk-card__pos { background: var(--teal); color: #fff; }
.dr-rk-card.is-featured .dr-rk-card__pos { background: var(--accent); color: #fff; }
.dr-rk-card h3 { font-size: 18.5px !important; margin: 0 0 6px !important; line-height: 1.25 !important; }
.dr-rk-card h3 a { color: var(--ink) !important; text-decoration: none; }
.dr-rk-card h3 a:hover { color: var(--teal) !important; }
.dr-rk-card__meta { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.dr-rk-card__meta .dr-stars { font-size: 15px; letter-spacing: 1px; }
.dr-rk-card__meta b { color: var(--ink); font-size: 15px; }
.dr-rk-card__meta .dr-conf { font-size: 12px; margin-left: 4px; }
.dr-rk-badge { display: inline-block; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; padding: 3px 9px; border-radius: 999px; margin-bottom: 6px; }
.dr-rk-card__score { text-align: center; min-width: 76px; }
.dr-rk-card__score b { display: block; font-size: 24px; font-weight: 800; color: var(--ink); letter-spacing: -.03em; line-height: 1; }
.dr-rk-card__score small { font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.dr-rk-card__act { display: flex; flex-direction: column; align-items: stretch; gap: 6px; min-width: 170px; }
.dr-rk-card__act .dr-btn { padding: 11px 16px; font-size: 15px; white-space: nowrap; }
.dr-rk-card__link { text-align: center; font-size: 14px; font-weight: 700; text-decoration: none; }
.dr-rk-cta { display: flex; align-items: center; justify-content: space-between; gap: 18px; background: linear-gradient(135deg, var(--teal-700), var(--teal)); color: #d8ece9; border-radius: 18px; padding: 20px 24px; margin: 6px 0; }
.dr-rk-cta b { display: block; color: #fff; font-size: 18px; margin-bottom: 2px; }
.dr-rk-cta span { font-size: 15px; }
.dr-rk-cta .dr-btn { white-space: nowrap; }
.dr-compare__name em.is-feat { background: var(--accent); }

@media (max-width: 760px) {
	.dr-rk-card { grid-template-columns: 44px 1fr auto; gap: 12px 14px; padding: 16px; }
	.dr-rk-card__pos { width: 44px; height: 44px; font-size: 17px; }
	.dr-rk-card__act { grid-column: 1 / -1; flex-direction: row; align-items: center; min-width: 0; }
	.dr-rk-card__act .dr-btn { flex: 1; }
	.dr-rk-card__link { flex: 0 0 auto; padding: 0 6px; }
	.dr-rk-cta { flex-direction: column; align-items: stretch; text-align: left; }
	.dr-rk-stats div { flex: 1; min-width: 0; padding: 10px 12px; }
	.dr-rk-stats b { font-size: 21px; }
}
body.dr-v2 .dr-rk-card h3, body.dr-v2 .dr-rk-card h3 a { font-family: var(--font) !important; font-weight: 800 !important; font-size: 18.5px !important; letter-spacing: -.015em; }
@media (max-width: 760px) { .dr-rk-card__score { min-width: 0; } .dr-rk-card__score small { font-size: 9.5px; letter-spacing: 0; } }

/* ==========================================================================
   Artículos del blog (.dr-art)
   ========================================================================== */
body.dr-articulo .site-content #primary { max-width: none; padding: 0; margin: 0; }
body.dr-articulo .entry-content, body.dr-articulo article.post, body.dr-articulo .ast-post-format- { max-width: none !important; width: 100% !important; margin: 0 !important; padding: 0 !important; }
body.dr-articulo .entry-header, body.dr-articulo .post-thumb-img-content, body.dr-articulo .ast-single-post-featured-section { display: none !important; }

.dr-art-hero { background: var(--sand); padding: 28px 0 56px; }
.dr-art-hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.dr-art-hero h1 { font-size: clamp(32px, 4vw, 50px) !important; line-height: 1.07 !important; letter-spacing: -.03em; margin: 0 0 18px !important; }
.dr-art-hero__lead { font-size: 19px; line-height: 1.6; color: var(--ink-2); margin: 0 0 26px !important; }
.dr-art-hero__img { width: 100%; aspect-ratio: 16 / 10.5; object-fit: cover; border-radius: 24px; box-shadow: var(--shadow); display: block; }
.dr-art-meta { display: flex; align-items: center; gap: 12px; }
.dr-art-meta b { display: block; color: var(--ink); font-size: 15px; }
.dr-art-meta span:not(.dr-art-meta__avatar) { font-size: 14px; color: var(--muted); }
.dr-art-meta__avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 15px; flex-shrink: 0; letter-spacing: .02em; }

.dr-art-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 64px; padding-top: 56px; padding-bottom: 72px; align-items: start; }
.dr-art-body { font-size: 18px; line-height: 1.78; color: var(--ink-2); max-width: 760px; }
.dr-art-body > p, .dr-art-body li { font-size: 18px; }
.dr-art-body h2 { font-size: clamp(25px, 2.5vw, 32px) !important; line-height: 1.2 !important; margin: 56px 0 16px !important; scroll-margin-top: 100px; letter-spacing: -.02em; }
.dr-art-body h3 { font-size: 21px !important; margin: 32px 0 10px !important; }
.dr-art-body a { font-weight: 600; text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 3px; text-decoration-color: rgba(11,93,91,.35); }
.dr-art-body a:hover { text-decoration-color: var(--teal); }
.dr-art-body strong { color: var(--ink); }
.dr-art-body ul { padding-left: 0; list-style: none; margin: 0 0 24px; display: grid; gap: 10px; }
.dr-art-body ul li { position: relative; padding-left: 30px; margin: 0; }
.dr-art-body ul li::before { content: ""; position: absolute; left: 0; top: .5em; width: 18px; height: 18px; border-radius: 50%; background: var(--teal-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3 3 7-7' fill='none' stroke='%230b5d5b' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/12px no-repeat; }

.dr-quick { position: relative; background: #fff; border: 1px solid var(--line); border-left: 6px solid var(--accent); border-radius: 18px; padding: 26px 28px 22px; margin: 0 0 32px; box-shadow: var(--shadow-sm); }
.dr-quick__tag { position: absolute; top: -12px; left: 22px; background: var(--accent); color: #fff; font-size: 11.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; padding: 4px 12px; border-radius: 999px; }
.dr-quick p { margin: 0; font-size: 19px !important; line-height: 1.65; color: var(--ink); }

.dr-table { overflow-x: auto; margin: 24px 0 28px; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.dr-art-body table { width: 100%; border-collapse: collapse; margin: 0; font-size: 15.5px; line-height: 1.5; border: 0; }
.dr-art-body th, .dr-art-body td { padding: 14px 16px; border: 0; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.dr-art-body thead th { background: var(--teal-700); color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; font-weight: 700; }
.dr-art-body tbody tr:nth-child(even) td { background: #fbfaf7; }
.dr-art-body tbody tr:last-child td { border-bottom: 0; }
.dr-art-body td:last-child { font-weight: 600; color: var(--ink); }

.dr-steps-list { list-style: none; counter-reset: st; padding: 0; margin: 8px 0 28px; display: grid; gap: 14px; }
.dr-steps-list > li { counter-increment: st; position: relative; padding: 18px 20px 18px 70px; background: #fff; border: 1px solid var(--line); border-radius: 16px; margin: 0; }
.dr-steps-list > li::before { content: counter(st); position: absolute; left: 18px; top: 16px; width: 36px; height: 36px; border-radius: 10px; background: var(--teal); color: #fff; font-weight: 800; display: grid; place-items: center; font-size: 16px; }

.dr-inline-cta { display: flex; align-items: center; justify-content: space-between; gap: 20px; background: linear-gradient(135deg, var(--teal-700), var(--teal)); color: #d8ece9; border-radius: 20px; padding: 22px 26px; margin: 40px 0 8px; }
.dr-inline-cta b { display: block; color: #fff; font-size: 18px; margin-bottom: 2px; }
.dr-inline-cta span { font-size: 15px; line-height: 1.5; }
.dr-inline-cta .dr-btn { white-space: nowrap; text-decoration: none !important; }

.dr-art-body .dr-article-faq { margin-top: 56px; display: grid; gap: 12px; }
.dr-art-body .dr-article-faq h2 { margin-top: 0 !important; }
.dr-art-body details.dr-faq .aidilegna-faq-a { padding: 0 0 20px; font-size: 16.5px; line-height: 1.65; }

.dr-art-end { margin: 64px 0 0; background: var(--teal-700); border-radius: 24px; padding: 34px; color: #d8ece9; }
.dr-art-end h2 { color: #fff !important; margin: 0 0 10px !important; font-size: clamp(24px, 2.4vw, 30px) !important; }
.dr-art-end p { font-size: 16.5px !important; margin: 0 0 22px; }
.dr-art-end .srfm-form-container { margin: 0 !important; max-width: none !important; }

.dr-art-towns { margin-top: 56px; }
.dr-art-towns h2 { margin: 0 0 6px !important; }
.dr-chiplinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 16px; }
.dr-chiplinks a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 9px 16px; font-size: 15px; font-weight: 700; color: var(--ink) !important; text-decoration: none !important; }
.dr-chiplinks a:hover { border-color: var(--teal-500); color: var(--teal) !important; }
.dr-chiplinks small { background: var(--teal-50); color: var(--teal); border-radius: 999px; padding: 1px 8px; font-size: 12px; }

.dr-art-method { display: flex; gap: 16px; align-items: flex-start; background: var(--sand); border-radius: 20px; padding: 24px; margin-top: 48px; }
.dr-art-method b { display: block; color: var(--ink); margin-bottom: 4px; }
.dr-art-method p { margin: 0; font-size: 15px !important; line-height: 1.6; color: var(--ink-2); }

.dr-art-side__sticky { position: sticky; top: 110px; display: grid; gap: 18px; }
.dr-toc { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px; }
.dr-toc__h { font-size: 12.5px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-500); margin: 0 0 12px !important; }
.dr-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; display: grid; gap: 4px; }
.dr-toc li { counter-increment: toc; margin: 0; }
.dr-toc a { display: flex; gap: 10px; padding: 6px 8px; border-radius: 8px; color: var(--ink-2) !important; text-decoration: none !important; font-size: 14.5px; line-height: 1.4; }
.dr-toc a::before { content: counter(toc); color: var(--muted); font-weight: 700; min-width: 14px; }
.dr-toc a:hover, .dr-toc a.is-active { background: var(--teal-50); color: var(--teal) !important; }
.dr-side-cta { background: var(--sand); border-radius: 18px; padding: 22px; display: grid; gap: 10px; }
.dr-side-cta b { color: var(--ink); font-size: 17px; }
.dr-side-cta p { margin: 0; font-size: 14.5px; color: var(--ink-2); }
.dr-side-cta .dr-btn { width: 100%; padding: 12px 16px; font-size: 15px; }

.dr-related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 24px; }
.dr-related-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; text-decoration: none !important; color: var(--ink-2) !important; transition: transform .15s, box-shadow .15s; }
.dr-related-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.dr-related-card img, .dr-related-card__ph { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; background: var(--teal-50); }
.dr-related-card__b { padding: 18px 20px; display: grid; gap: 6px; }
.dr-related-card b { color: var(--ink); font-size: 17px; line-height: 1.35; }
.dr-related-card__b > span { font-size: 13.5px; color: var(--muted); }

@media (max-width: 1024px) {
	.dr-art-layout { grid-template-columns: 1fr; gap: 0; }
	.dr-art-side { display: none; }
	.dr-art-body { max-width: none; }
}
@media (max-width: 900px) {
	.dr-art-hero__grid { grid-template-columns: 1fr; gap: 28px; }
	.dr-art-hero__media { order: -1; }
	.dr-related-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
	.dr-art-hero { padding: 16px 0 36px; }
	.dr-art-layout { padding-top: 36px; }
	.dr-art-body, .dr-art-body > p, .dr-art-body li { font-size: 17px; }
	.dr-quick { padding: 24px 20px 18px; }
	.dr-quick p { font-size: 17.5px !important; }
	.dr-inline-cta { flex-direction: column; align-items: stretch; }
	.dr-steps-list > li { padding: 16px 16px 16px 62px; }
	.dr-art-end { padding: 24px 18px; }
	.dr-art-method { flex-direction: column; }
}
.dr-art-layout { align-items: stretch; } .dr-art-side { align-self: stretch; }
body.dr-articulo #comments, body.dr-articulo .comments-area { display: none !important; }

/* ==========================================================================
   Revisión móvil (2026-12-03)
   ========================================================================== */
/* Artículos: la columna de texto podía desbordarse en tablet/móvil */
.dr-art-layout > * { min-width: 0; }
.dr-art-body { min-width: 0; overflow-wrap: break-word; }
@media (max-width: 1024px) { .dr-art-layout { grid-template-columns: minmax(0, 1fr); } }

@media (max-width: 900px) {
	/* En móvil el titular va primero */
	.dr-home-hero__media { order: 0; }
	.dr-art-hero__media { order: 0; }
	.dr-badge-float { bottom: -14px; }
}

@media (max-width: 600px) {
	/* Barra fija: textos en una línea */
	.dr-stickybar a { font-size: 14px; padding: 13px 8px; white-space: nowrap; }
	.dr-stickybar { grid-template-columns: 1fr 1fr; }

	/* Tablas de artículos: cada fila se lee como tarjeta */
	.dr-stack-wrap { overflow: visible !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; background: none !important; }
	table.dr-stack thead { display: none; }
	table.dr-stack, table.dr-stack tbody, table.dr-stack tr, table.dr-stack td, table.dr-stack th { display: block; width: 100% !important; box-sizing: border-box; }
	table.dr-stack tr { border: 1px solid var(--line); border-radius: 14px; margin: 0 0 12px; overflow: hidden; background: #fff; }
	table.dr-stack td, table.dr-stack th { padding: 10px 14px !important; border: 0 !important; border-bottom: 1px solid var(--line) !important; text-align: left !important; font-size: 15px; background: #fff !important; }
	table.dr-stack tr > :first-child { background: var(--teal-50) !important; font-weight: 800; color: var(--ink); }
	table.dr-stack tr > :last-child { border-bottom: 0 !important; }
	table.dr-stack td[data-label]:not(:first-child)::before { content: attr(data-label); display: block; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--teal); margin-bottom: 2px; }

	/* Pie: enlaces con zona de toque suficiente */
	.dr-prefooter a:not(.dr-btn) { display: inline-block; padding: 6px 0; }
}
/* Cabecera vacía de Astra (sin título) que dejaba un hueco blanco de ~60 px bajo el menú en fichas y rankings */
body.dr-v2 .entry-header.ast-no-title { display: none !important; }
body.dr-v2 #primary { margin-top: 0 !important; }

/* Enlaces legales del pie (2026-12-03) */
.dr-legal{max-width:1200px;margin:26px auto 0;padding:16px 20px 0;border-top:1px solid rgba(255,255,255,.12);display:flex;flex-wrap:wrap;gap:0 18px;align-items:center;font-size:13.5px;opacity:.85}
.dr-legal a{color:inherit;text-decoration:underline;min-height:44px;display:inline-flex;align-items:center}
.dr-legal span{min-height:44px;display:inline-flex;align-items:center}

/* Formulario de alta de profesionales (2026-12-03) */
.dr-alta__form{max-width:640px;margin:28px auto 0;background:#fff;border-radius:16px;padding:28px 24px;box-shadow:0 10px 30px rgba(11,27,26,.08)}
@media(max-width:600px){.dr-alta__form{padding:20px 16px;border-radius:12px}}
