/* ===== Tema Doclik — puente del template ThemeForest al engine =====
   El look lo pone el style.css ORIGINAL de Doclik (cargado antes). Aquí solo:
   1) fixes para usar el banner sin swiper.js, 2) logo/wordmark de texto,
   3) grid de cards fuera de bootstrap, 4) secciones propias dk-*,
   5) puente de las páginas interiores del engine al lenguaje Doclik. */

/* --- 1. Banner estático (sin swiper.js) --- */
.theme-doclik .banner-slider { overflow: hidden; }
.theme-doclik .banner-section .swiper-wrapper { display: block; }
.theme-doclik .banner-section .content-box { min-height: 660px; }
.theme-doclik .banner-section .content-box h1 { font-size: 54px; line-height: 62px; }
.theme-doclik .banner-section .content-box form .form-wrapper .box select { -webkit-appearance: none; appearance: none; border: 0; outline: 0; height: 100%; width: 100%; font: 500 16px 'Barlow', sans-serif; color: #222; background: transparent; padding: 0 15px; }
@media (max-width: 820px) {
  .theme-doclik .banner-section .content-box { min-height: 540px; }
  .theme-doclik .banner-section .content-box h1 { font-size: 36px; line-height: 42px; }
}

/* --- 2. Logo de texto (el template usa <img>) --- */
.theme-doclik .dk-wordmark a { display: inline-flex; align-items: center; gap: 10px; font: 800 26px/1 'Barlow', sans-serif; color: #212121; text-decoration: none; }
.theme-doclik .dk-wordmark b { color: var(--thm-color-one, #f36827); }
.theme-doclik .dk-logo-mark { width: 36px; height: 36px; display: inline-flex; }
.theme-doclik .dk-logo-mark svg { width: 100%; height: 100%; --ink: #212121; --accent: var(--thm-color-one, #f36827); }
.theme-doclik .main-footer .dk-wordmark a { color: #fff; }
.theme-doclik .mobile-nav-toggler { display: none; }
@media (max-width: 991px) {
  .theme-doclik .main-menu { display: block; }
  .theme-doclik .navigation > li { margin: 0 14px 0 0; }
  .theme-doclik .header-upper .inner-container { flex-wrap: wrap; }
}

/* --- 3. Cards doctor-block fuera del grid bootstrap --- */
.theme-doclik .doctor-block.dk-col { padding: 0 15px; margin-bottom: 30px; width: 33.333%; float: left; }
@media (max-width: 991px) { .theme-doclik .doctor-block.dk-col { width: 50%; } }
@media (max-width: 640px) { .theme-doclik .doctor-block.dk-col { width: 100%; } }
.theme-doclik .doctors-section .row:after, .theme-doclik .cards:after, .theme-doclik .list:after { content: ""; display: block; clear: both; }
.theme-doclik .doctor-block .image { background: #e1f1f9; }
.theme-doclik .doctor-block .image .dk-initial { display: flex; align-items: center; justify-content: center; aspect-ratio: 16/11; font: 700 52px 'Barlow', sans-serif; color: #2591c2; }
.theme-doclik .doctor-block .image img { width: 100%; aspect-ratio: 16/11; object-fit: cover; }

/* --- 4. Secciones propias (provincias, promo, seo-intro) --- */
.theme-doclik .dk-prov-section { position: relative; padding: 90px 0 70px; background: #f4fafc; }
.theme-doclik .dk-prov-pills { list-style: none; margin: 30px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.theme-doclik .dk-prov-pills a { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #dff0f8; border-radius: 50px; padding: 10px 20px; font: 600 15px 'Barlow', sans-serif; color: #212121; text-decoration: none; transition: all .2s; }
.theme-doclik .dk-prov-pills a:hover { border-color: var(--thm-color-two, #34a3d5); color: var(--thm-color-two, #34a3d5); }
.theme-doclik .dk-prov-pills a span { background: #e1f1f9; color: #2591c2; border-radius: 50px; font-size: 12px; padding: 2px 9px; }

.theme-doclik .dk-promo { position: relative; padding: 90px 0; background: #284d9b url(/themes/doclik/assets/images/shape/shape-7.png) no-repeat right bottom; }
.theme-doclik .dk-promo .sec-title h2 { color: #fff; }
.theme-doclik .dk-promo .sec-title .sub-title { color: #ffce4a; }
.theme-doclik .dk-promo p { color: rgba(255,255,255,.85); font-size: 17px; max-width: 480px; }
.theme-doclik .dk-promo-stats { list-style: none; display: flex; gap: 40px; margin: 30px 0 0; padding: 0; }
.theme-doclik .dk-promo-stats b { display: block; font: 800 34px 'Barlow', sans-serif; color: #fff; }
.theme-doclik .dk-promo-stats span { color: rgba(255,255,255,.7); font-size: 14px; }
.theme-doclik .dk-promo-form { background: #fff; border-radius: 10px; padding: 32px; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.theme-doclik .dk-pf-title { font: 700 20px 'Barlow', sans-serif; color: #212121; margin-bottom: 18px; }
.theme-doclik .dk-promo-form input, .theme-doclik .lead-form input, .theme-doclik .lead-form textarea, .theme-doclik .dk-promo-form textarea { width: 100%; height: 54px; border: 1px solid #e6edf2; border-radius: 7px; background: #f4fafc; padding: 0 18px; margin-bottom: 14px; font: 500 15px 'Barlow', sans-serif; color: #222; outline: 0; }
.theme-doclik .lead-form textarea { height: auto; padding: 14px 18px; }
.theme-doclik .dk-promo-form .theme-btn, .theme-doclik .lead-form button, .theme-doclik form .theme-btn { width: 100%; border: 0; cursor: pointer; }
.theme-doclik .lead-form button { height: 54px; background: var(--thm-color-one, #f36827); color: #fff; border-radius: 7px; font: 700 16px 'Barlow', sans-serif; }
.theme-doclik .dk-pf-note { font-size: 13px; color: #888; margin-top: 10px; }

.theme-doclik .dk-seo-intro { padding: 90px 0; }
.theme-doclik .dk-seo-intro p { max-width: 760px; margin: 0 auto; color: #555; font-size: 17px; line-height: 30px; }

/* --- 5. Puente páginas interiores (ficha, provincia, búsqueda, legal...) --- */
.theme-doclik .dk-main > .crumbs, .theme-doclik .dk-main > .ficha, .theme-doclik .dk-main > .related,
.theme-doclik .dk-main > .legal-wrap, .theme-doclik .dk-main > .exito, .theme-doclik .dk-main > .notfound,
.theme-doclik .dk-main > .esp-head, .theme-doclik .dk-main > .esp-filterbar, .theme-doclik .dk-main > .esp-layout,
.theme-doclik .dk-main > .ciudad-content, .theme-doclik .dk-main > .landing-content, .theme-doclik .dk-main > .list,
.theme-doclik .dk-main > .cards, .theme-doclik .dk-main > .section-block, .theme-doclik .dk-main > h1,
.theme-doclik .dk-main > .muted, .theme-doclik .dk-main > .legal-article, .theme-doclik .dk-main > section:not([class*=-section]):not(.dk-promo):not(.dk-seo-intro):not(.banner-section) {
  max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 15px; padding-right: 15px;
}
.theme-doclik .dk-main { display: block; }
.theme-doclik .crumbs { font-size: 14px; color: #888; padding-top: 26px; padding-bottom: 18px; }
.theme-doclik .crumbs a { color: var(--thm-color-two, #34a3d5); text-decoration: none; }
.theme-doclik h1 { font-weight: 700; color: #212121; }
.theme-doclik .ficha-grid { display: grid; grid-template-columns: 1.5fr 1fr; gap: 30px; margin: 30px 0; }
@media (max-width: 820px) { .theme-doclik .ficha-grid { grid-template-columns: 1fr; } }
.theme-doclik .ficha-head { display: flex; gap: 22px; align-items: center; margin: 10px 0 24px; }
.theme-doclik .ficha .avatar { width: 110px; height: 110px; border-radius: 10px; background: #e1f1f9; color: #2591c2; display: flex; align-items: center; justify-content: center; font: 700 44px 'Barlow', sans-serif; overflow: hidden; flex: none; }
.theme-doclik .ficha .avatar img { width: 100%; height: 100%; object-fit: cover; }
.theme-doclik .badge { display: inline-block; background: #e1f1f9; color: #2591c2; border-radius: 50px; font: 600 13px 'Barlow', sans-serif; padding: 5px 14px; margin-top: 8px; }
.theme-doclik .datos, .theme-doclik .contact-cta, .theme-doclik .claim-box, .theme-doclik .desc, .theme-doclik .section-block { background: #fff; border: 1px solid #e6edf2; border-radius: 10px; padding: 26px; box-shadow: 0 4px 14px rgba(33,61,92,.05); }
.theme-doclik .desc { margin-bottom: 26px; line-height: 30px; color: #444; }
.theme-doclik .datos h2, .theme-doclik .contact-cta h2 { font-size: 22px; margin-bottom: 14px; }
.theme-doclik .datos p { margin-bottom: 8px; color: #555; }
.theme-doclik .datos a { color: var(--thm-color-two, #34a3d5); }
.theme-doclik .hours { list-style: none; padding: 0; }
.theme-doclik .hours li { display: flex; justify-content: space-between; border-bottom: 1px solid #eef4f8; padding: 6px 0; font-size: 14px; color: #555; }
.theme-doclik .chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 22px; }
.theme-doclik .chips li, .theme-doclik .tag { background: #fde8df; color: #d9531a; border-radius: 50px; font: 600 13px 'Barlow', sans-serif; padding: 6px 14px; }
.theme-doclik .tag { text-decoration: none; display: inline-block; margin: 0 6px 8px 0; }
.theme-doclik .map iframe { border-radius: 10px; margin: 10px 0 26px; }
.theme-doclik .stars .s { color: #ffb400; }
.theme-doclik .muted { color: #889; }
.theme-doclik .btn, .theme-doclik .btn-primary { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--thm-color-one, #f36827); color: #fff; border: 0; border-radius: 7px; height: 50px; padding: 0 26px; font: 700 15px 'Barlow', sans-serif; cursor: pointer; text-decoration: none; }
.theme-doclik .btn:hover { background: #d9531a; color: #fff; }
.theme-doclik .exito { text-align: center; padding-top: 70px; padding-bottom: 90px; }
.theme-doclik .exito h1 { margin: 14px 0; }
.theme-doclik .exito-check svg { width: 54px; height: 54px; stroke: #16a34a; }
.theme-doclik .exito-steps { display: flex; gap: 26px; justify-content: center; margin: 36px 0; flex-wrap: wrap; text-align: left; }
.theme-doclik .es { display: flex; gap: 12px; max-width: 240px; }
.theme-doclik .es-n { width: 30px; height: 30px; border-radius: 50%; background: #e1f1f9; color: #2591c2; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; flex: none; }
.theme-doclik .kicker { display: block; font: 600 13px 'Barlow', sans-serif; letter-spacing: .1em; text-transform: uppercase; color: var(--thm-color-two, #34a3d5); margin-bottom: 6px; }
.theme-doclik .legal-wrap { padding-top: 40px; padding-bottom: 70px; }
.theme-doclik .legal-layout { display: grid; grid-template-columns: 280px 1fr; gap: 40px; margin-top: 30px; }
@media (max-width: 820px) { .theme-doclik .legal-layout { grid-template-columns: 1fr; } }
.theme-doclik .legal-toc { position: sticky; top: 20px; align-self: start; background: #f4fafc; border-radius: 10px; padding: 22px; }
.theme-doclik .toc-item { display: flex; gap: 10px; padding: 7px 0; color: #555; text-decoration: none; font-size: 14px; }
.theme-doclik .toc-n { color: #2591c2; font-weight: 700; }
.theme-doclik .legal-article h2 { font-size: 22px; margin: 26px 0 10px; }
.theme-doclik .legal-article p { color: #555; line-height: 29px; }
.theme-doclik .legal-article a { color: var(--thm-color-two, #34a3d5); }
.theme-doclik .esp-layout { display: grid; grid-template-columns: 280px 1fr; gap: 30px; margin-top: 26px; margin-bottom: 60px; }
@media (max-width: 900px) { .theme-doclik .esp-layout { grid-template-columns: 1fr; } }
.theme-doclik .prov-pills a, .theme-doclik .tag-light { background: #fff; border: 1px solid #dff0f8; color: #212121; }
.theme-doclik .dk-ico svg { width: 44px; height: 44px; stroke: var(--thm-color-two, #34a3d5); }
.theme-doclik .service-block .inner-box .icon.dk-ico { background: none; }
.theme-doclik .trust-strip svg, .theme-doclik .dk-trust svg { width: 16px; height: 16px; }
