/**
 * Resi.pet — CSS global unificado
 *
 * Concatena el CSS de:
 *  - 20_global_brand        (tipografía, colores brand, botones, logo)
 *  - 13_contacto_gated      (sidebar contact card + hero tarifa badge)
 *  - 16_landings_intros     (intro details/summary en archives)
 *  - 17_landings_faqs       (FAQs accordion en archives)
 *  - 18_archive_cards       (Loop Grid card uniform layout)
 *  - 19_home_shortcodes     (home counters, destacadas, animales, etc.)
 *
 * Subir a: /wp-content/uploads/resipet/resipet.css
 * Enqueue via snippet 21.
 *
 * Versionado en assets/resipet.css del repo.
 */

/* ═══ Variables CSS root ═══════════════════════════════════════════════ */
:root {
    --rp-primary: #3B7C7C;
    --rp-primary-dark: #2E6464;
    --rp-secondary: #C17A42;
    --rp-secondary-dark: #A56432;
    --rp-text: #2E2E2E;
    --rp-text-soft: #6E7C7C;
    --rp-accent-bg: #E7D8B1;
    --rp-section-bg: #F7F8F6;
}

/* ═══ 20 Global brand ════════════════════════════════════════════════ */
body,
.elementor-page {
    color: var(--rp-text);
}

.elementor-widget-text-editor,
.elementor-widget-theme-post-content,
.entry-content,
article.residencia,
.single-residencia .elementor-widget-text-editor {
    line-height: 1.6;
}

.elementor-widget-text-editor h1,
.elementor-widget-theme-post-content h1,
.entry-content h1,
.elementor-widget-text-editor h2,
.elementor-widget-theme-post-content h2,
.entry-content h2,
.elementor-widget-text-editor h3,
.elementor-widget-theme-post-content h3,
.entry-content h3,
.elementor-widget-text-editor h4,
.elementor-widget-theme-post-content h4,
.entry-content h4 {
    margin-top: 1.6em;
    margin-bottom: 0.6em;
    line-height: 1.25;
    color: var(--rp-text);
}

.elementor-widget-text-editor h1:first-child,
.elementor-widget-theme-post-content h1:first-child,
.entry-content h1:first-child,
.elementor-widget-text-editor h2:first-child,
.elementor-widget-theme-post-content h2:first-child,
.entry-content h2:first-child {
    margin-top: 0;
}

.elementor-widget-text-editor p,
.elementor-widget-theme-post-content p,
.entry-content p,
article.residencia p {
    margin-top: 0;
    margin-bottom: 1em;
    line-height: 1.6;
}

.elementor-widget-text-editor ul,
.elementor-widget-text-editor ol,
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol,
.entry-content ul,
.entry-content ol {
    margin: 0 0 1.25em 1.5em;
    line-height: 1.6;
}

.elementor-widget-text-editor li,
.elementor-widget-theme-post-content li,
.entry-content li {
    margin-bottom: 0.4em;
}

.elementor-widget-heading h3.elementor-heading-title,
.elementor-widget-text-editor h3,
.elementor-widget-theme-post-content h3,
.entry-content h3 {
    font-size: 1.375rem;
    font-weight: 600;
}

.elementor-widget-heading h1.elementor-heading-title {
    line-height: 1.15;
}
.elementor-widget-heading h2.elementor-heading-title {
    line-height: 1.2;
}

a:not(.elementor-button):not(.resipet-home-card):not(.resipet-home-animal):not(.resipet-home-provincia):not(.resipet-contact__reveal-summary):not(.resipet-contact__claim-cta):not(.resipet-contact__social-link):not(.resipet-home-faq__q):not(.resipet-home-b2b__cta):not(.elementor-icon):not(.custom-logo-link),
.elementor-widget-text-editor a,
.elementor-widget-theme-post-content a,
.entry-content a,
.elementor-widget-icon-list a .elementor-icon-list-text {
    color: var(--rp-primary);
    text-decoration: none;
    transition: color .15s;
}

a:not(.elementor-button):not(.resipet-home-card):not(.resipet-home-animal):not(.resipet-home-provincia):not(.resipet-contact__reveal-summary):not(.resipet-contact__claim-cta):not(.resipet-contact__social-link):not(.resipet-home-faq__q):not(.resipet-home-b2b__cta):not(.elementor-icon):not(.custom-logo-link):hover,
.elementor-widget-text-editor a:hover,
.elementor-widget-theme-post-content a:hover,
.entry-content a:hover {
    color: var(--rp-secondary);
    text-decoration: underline;
}

.elementor-nav-menu a,
nav.menu a,
.menu-item a {
    color: var(--rp-text);
    text-decoration: none;
}
.elementor-nav-menu a:hover,
.elementor-nav-menu a.elementor-item-active,
nav.menu a:hover,
.menu-item a:hover {
    color: var(--rp-primary);
    text-decoration: none;
}

.elementor-button,
.elementor-widget-button .elementor-button-link,
button.elementor-button {
    background-color: var(--rp-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .75em 1.75em;
    font-weight: 600;
    transition: background-color .15s, transform .15s;
    text-decoration: none;
}
.elementor-button:hover,
.elementor-widget-button .elementor-button-link:hover {
    background-color: var(--rp-secondary);
    color: #fff;
    transform: translateY(-1px);
    text-decoration: none;
}

.elementor-button.elementor-button-info,
.elementor-button.is-secondary {
    background-color: transparent;
    color: var(--rp-primary);
    border: 2px solid var(--rp-primary);
}
.elementor-button.elementor-button-info:hover,
.elementor-button.is-secondary:hover {
    background-color: var(--rp-primary);
    color: #fff;
}

.elementor-location-header .elementor-widget-image img,
.elementor-location-header .custom-logo,
header .custom-logo,
.site-header img.custom-logo {
    max-height: 56px;
    width: auto;
    height: auto;
}

.elementor-location-footer .elementor-widget-image img,
footer .custom-logo {
    max-height: 48px;
    width: auto;
    height: auto;
}

::selection {
    background-color: var(--rp-accent-bg);
    color: var(--rp-text);
}

a:focus-visible,
button:focus-visible,
.elementor-button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--rp-primary);
    outline-offset: 2px;
}

strong, b { font-weight: 700; color: inherit; }
em, i { font-style: italic; }

.elementor-loop-container .e-loop-item-1 h3,
.elementor-loop-container .e-loop-item h3,
.elementor-loop-container .e-loop-item h2 {
    margin: .5em 0 .25em;
}
.elementor-loop-container .e-loop-item p {
    margin: 0 0 .5em;
}

/* ═══ 13 Contact card + hero tarifa badge ════════════════════════════ */
.resipet-contact{position:relative;background:#fff;border:1px solid var(--rp-accent-bg);border-radius:12px;padding:1.25rem 1.5rem;font-family:inherit;color:var(--rp-text);}
.resipet-contact__badge{position:absolute;top:-12px;right:1rem;background:var(--rp-primary);color:#fff;padding:.25rem .75rem;border-radius:999px;font-size:.75rem;font-weight:600;}
.resipet-contact__section{padding:1rem 0;border-bottom:1px solid var(--rp-section-bg);}
.resipet-contact__section:last-of-type{border-bottom:0;}
.resipet-contact__title{font-size:.9rem;font-weight:600;margin:0 0 .65rem;color:var(--rp-primary);text-transform:uppercase;letter-spacing:.04em;}
.resipet-contact__address{font-style:normal;line-height:1.5;margin:0 0 .75rem;}
.resipet-contact__map{margin:.75rem 0;}
.resipet-contact__map iframe{display:block;}
.resipet-contact__map-note{margin:.25rem 0 .5rem;color:var(--rp-text-soft);font-size:.8rem;}
.resipet-contact__link{display:inline-block;color:var(--rp-primary);font-weight:500;text-decoration:none;font-size:.9rem;}
.resipet-contact__link:hover{text-decoration:underline;}
.resipet-contact__link--external{padding:.45rem .9rem;background:var(--rp-section-bg);border-radius:8px;}
.resipet-contact__link--external:hover{background:var(--rp-accent-bg);text-decoration:none;}

.resipet-contact__reveal{margin:0 0 .5rem;}
.resipet-contact__reveal[open]{border:1px solid var(--rp-primary);border-radius:8px;}
.resipet-contact__reveal-summary{cursor:pointer;list-style:none;display:flex;align-items:center;gap:.5rem;padding:.65rem 1rem;background:#fff;border:1px solid var(--rp-primary);border-radius:8px;color:var(--rp-primary);font-weight:500;font-size:.95rem;transition:background .15s,color .15s;}
.resipet-contact__reveal-summary::-webkit-details-marker{display:none;}
.resipet-contact__reveal-summary::after{content:"\25BE";margin-left:auto;transition:transform .2s;}
.resipet-contact__reveal[open] .resipet-contact__reveal-summary{background:var(--rp-primary);color:#fff;border-color:var(--rp-primary);border-bottom-left-radius:0;border-bottom-right-radius:0;}
.resipet-contact__reveal[open] .resipet-contact__reveal-summary::after{transform:rotate(180deg);}
.resipet-contact__reveal-summary:hover{background:var(--rp-primary);color:#fff;}
.resipet-contact__reveal-value{display:block;padding:.75rem 1rem;background:var(--rp-section-bg);border:1px solid var(--rp-primary);border-top:0;border-radius:0 0 8px 8px;color:var(--rp-text);text-decoration:none;font-weight:600;word-break:break-word;}
.resipet-contact__reveal-value:hover{background:var(--rp-accent-bg);}

.resipet-contact__horarios{list-style:none;margin:0;padding:0;font-size:.9rem;}
.resipet-contact__horarios li{display:flex;justify-content:space-between;padding:.25rem 0;}
.resipet-contact__horarios .dia{font-weight:600;color:var(--rp-text);min-width:3em;}
.resipet-contact__horarios .hora{color:var(--rp-text-soft);}

.resipet-contact__social{display:flex;flex-wrap:wrap;gap:.5rem;}
.resipet-contact__social-link{padding:.45rem .9rem;background:var(--rp-section-bg);border-radius:8px;color:var(--rp-primary);text-decoration:none;font-size:.85rem;font-weight:500;}
.resipet-contact__social-link:hover{background:var(--rp-accent-bg);}

.resipet-contact__claim{margin-top:1rem;padding:1.25rem 1rem;background:linear-gradient(135deg,var(--rp-primary),var(--rp-secondary));border-radius:8px;text-align:center;color:#fff;}
.resipet-contact__claim-text{margin:0 0 .5rem;font-size:.95rem;}
.resipet-contact__claim-cta{display:inline-block;padding:.65rem 1.5rem;background:#fff;color:var(--rp-primary);border-radius:999px;text-decoration:none;font-weight:600;font-size:.95rem;transition:transform .15s;}
.resipet-contact__claim-cta:hover{transform:translateY(-1px);}
.resipet-contact__claim-note{margin:.75rem 0 0;font-size:.8rem;opacity:.9;}

.resipet-tarifa-hero{display:inline-flex;align-items:center;gap:.5rem;padding:.6rem 1.1rem;background:var(--rp-accent-bg);border:1px solid var(--rp-secondary);border-radius:999px;color:var(--rp-text);font-size:1rem;font-weight:500;}
.resipet-tarifa-hero__icon{font-size:1.1em;line-height:1;}
.resipet-tarifa-hero__text strong{color:var(--rp-secondary);font-size:1.1em;}

/* ═══ 22 Atributos Single (taxonomía atributo-res) ════════════════════ */
.resipet-atributos{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin:1rem 0;}
.resipet-atributo{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:.75rem;text-align:center;flex:1 1 0;min-width:110px;max-width:180px;transition:opacity .2s;}
.resipet-atributo__icon{width:80px;height:72px;display:flex;align-items:center;justify-content:center;}
.resipet-atributo__icon img{max-width:100%;max-height:100%;object-fit:contain;}
.resipet-atributo__label{font-size:.85rem;color:var(--rp-text);font-weight:500;line-height:1.3;}

/* Estado fantasma (atributos no asignados, solo en mode=all) */
.resipet-atributo--inactive{opacity:.35;}
.resipet-atributo--inactive .resipet-atributo__icon img{filter:grayscale(100%);}
.resipet-atributo--inactive .resipet-atributo__label{color:var(--rp-text-soft);}
.resipet-atributo--inactive:hover{opacity:.5;}

/* Variante --all: distribución horizontal forzada cuando se usa fuera del sidebar */
.resipet-atributos--all{justify-content:space-around;}

@media (max-width:600px){
.resipet-atributos{gap:.5rem;}
.resipet-atributo{padding:.5rem .25rem;min-width:80px;max-width:none;}
.resipet-atributo__icon{width:56px;height:50px;}
.resipet-atributo__label{font-size:.7rem;}
}

/* ═══ 16 Landing intros (archive) ═════════════════════════════════════ */
.resipet-intro-details{margin:0 0 1.5em;}
.resipet-intro-summary{list-style:none;cursor:pointer;display:flex;flex-direction:column;align-items:flex-start;gap:.75em;color:var(--rp-text);}
.resipet-intro-summary::-webkit-details-marker{display:none;}
.resipet-intro-text{margin:0;}
.resipet-intro-text p{margin:0 0 .75em;}
.resipet-intro-text p:last-child{margin-bottom:0;}
.resipet-intro-details:not([open]) .resipet-intro-text{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.resipet-intro-toggle{display:inline-block;padding:.35em .9em;background:#fff;border:1px solid var(--rp-primary);border-radius:999px;color:var(--rp-primary);font-size:.875rem;font-weight:500;transition:background .15s,color .15s;user-select:none;}
.resipet-intro-summary:hover .resipet-intro-toggle{background:var(--rp-primary);color:#fff;}
.resipet-intro-details:not([open]) .resipet-intro-toggle::before{content:"Leer m\00e1s \25BE";}
.resipet-intro-details[open] .resipet-intro-toggle::before{content:"Mostrar menos \25B4";}

/* ═══ 17 FAQs archive ═════════════════════════════════════════════════ */
.resipet-faqs{margin:2.5rem 0 1rem;padding:0;}
.resipet-faqs__title{font-size:1.5rem;margin:0 0 1.25rem;font-weight:700;color:var(--rp-text);}
.resipet-faqs__list{display:flex;flex-direction:column;gap:.5rem;}
.resipet-faq{border:1px solid var(--rp-accent-bg);border-radius:8px;background:#fff;}
.resipet-faq[open]{border-color:var(--rp-primary);box-shadow:0 1px 3px rgba(59,124,124,.08);}
.resipet-faq__q{cursor:pointer;list-style:none;padding:1rem 1.25rem;font-weight:600;font-size:1.05rem;display:flex;justify-content:space-between;align-items:center;gap:1rem;color:var(--rp-text);}
.resipet-faq__q::after{content:"+";font-size:1.5rem;line-height:1;color:var(--rp-primary);flex:0 0 auto;transition:transform .2s;font-weight:700;}
.resipet-faq[open] .resipet-faq__q::after{content:"\2212";}
.resipet-faq__q::-webkit-details-marker{display:none;}
.resipet-faq__q:hover{color:var(--rp-primary);}
.resipet-faq__a{padding:0 1.25rem 1.25rem;color:var(--rp-text);line-height:1.6;}
.resipet-faq__a p{margin:0 0 .75rem;}
.resipet-faq__a p:last-child{margin-bottom:0;}

/* ═══ 18 Archive cards layout ═════════════════════════════════════════ */
.elementor-loop-container .e-loop-item img,
.elementor-loop-container .e-loop-item .elementor-widget-image img,
.elementor-loop-container .e-loop-item .elementor-image img{
  aspect-ratio:3/2;
  width:100%;
  height:auto;
  object-fit:cover;
  display:block;
}
.elementor-loop-container .e-loop-item > .e-con-box,
.elementor-loop-container .e-loop-item > .e-con,
.elementor-loop-container .e-loop-item > .e-con-box > .e-con-inner,
.elementor-loop-container .e-loop-item > .e-con > .e-con-inner{
  height:100%;
  display:flex;
  flex-direction:column;
}
.elementor-loop-container .e-loop-item .e-con-inner > .e-con:nth-of-type(2),
.elementor-loop-container .e-loop-item .e-con-inner > .elementor-element[data-element_type="container"]:nth-of-type(2){
  flex:1;
  justify-content:space-between;
}
.elementor-loop-container .e-loop-item .elementor-element-123da3a:not(:has(li)){
  display:none;
}

/* ═══ 19 Home shortcodes ═════════════════════════════════════════════ */
.resipet-home-counters{display:flex;flex-wrap:wrap;justify-content:center;gap:2rem;padding:1.5rem 0;}
.resipet-home-counter{display:flex;flex-direction:column;align-items:center;min-width:120px;}
.resipet-home-counter__num{font-size:2.25rem;font-weight:700;color:var(--rp-primary);line-height:1;}
.resipet-home-counter__label{font-size:.9rem;color:var(--rp-text-soft);margin-top:.25rem;text-transform:uppercase;letter-spacing:.04em;}

.resipet-home-destacadas{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.5rem;}
.resipet-home-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--rp-accent-bg);border-radius:12px;overflow:hidden;text-decoration:none;color:inherit;transition:transform .15s,box-shadow .15s;}
.resipet-home-card:hover{transform:translateY(-2px);box-shadow:0 6px 20px rgba(0,0,0,.08);}
.resipet-home-card__img{aspect-ratio:3/2;overflow:hidden;background:var(--rp-section-bg);}
.resipet-home-card__img img{width:100%;height:100%;object-fit:cover;display:block;}
.resipet-home-card__placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--rp-section-bg),var(--rp-accent-bg));}
.resipet-home-card__body{padding:1rem;display:flex;flex-direction:column;gap:.35rem;}
.resipet-home-card__title{font-size:1.05rem;font-weight:600;margin:0;color:var(--rp-text);line-height:1.3;}
.resipet-home-card__loc{font-size:.85rem;color:var(--rp-text-soft);margin:0;}
.resipet-home-card__rating{display:flex;align-items:center;gap:.4rem;font-size:.9rem;margin:0;}
.resipet-home-card__stars{color:#F5A623;}
.resipet-home-card__count{color:var(--rp-text-soft);font-size:.85rem;}

.resipet-home-animales{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:1rem;}
.resipet-home-animal{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.5rem 1rem;background:#fff;border:1px solid var(--rp-accent-bg);border-radius:12px;text-decoration:none;color:inherit;transition:background .15s,transform .15s;}
.resipet-home-animal:hover{background:var(--rp-section-bg);transform:translateY(-2px);}
.resipet-home-animal__emoji{font-size:2.5rem;line-height:1;}
.resipet-home-animal__name{font-size:1.1rem;font-weight:600;color:var(--rp-text);text-transform:capitalize;}
.resipet-home-animal__count{font-size:.85rem;color:var(--rp-text-soft);}

.resipet-home-provincias{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.6rem;}
.resipet-home-provincia{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:var(--rp-section-bg);border-radius:8px;text-decoration:none;color:var(--rp-text);font-weight:500;transition:background .15s;}
.resipet-home-provincia:hover{background:var(--rp-accent-bg);}
.resipet-home-provincia__name{font-size:.95rem;}
.resipet-home-provincia__count{font-size:.8rem;color:var(--rp-text-soft);background:#fff;padding:.15rem .55rem;border-radius:999px;}

.resipet-home-pasos{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:2rem;}
.resipet-home-paso{text-align:center;}
.resipet-home-paso__num{display:inline-flex;align-items:center;justify-content:center;width:48px;height:48px;border-radius:50%;background:var(--rp-primary);color:#fff;font-size:1.5rem;font-weight:700;margin-bottom:.75rem;}
.resipet-home-paso__title{font-size:1.25rem;font-weight:600;margin:0 0 .5rem;color:var(--rp-text);}
.resipet-home-paso__text{font-size:.95rem;color:var(--rp-text-soft);line-height:1.5;margin:0;}

.resipet-home-b2b{background:linear-gradient(135deg,var(--rp-primary),var(--rp-secondary));border-radius:16px;padding:2.5rem 2rem;color:#fff;text-align:center;}
.resipet-home-b2b__content{max-width:600px;margin:0 auto;}
.resipet-home-b2b__title{font-size:1.75rem;font-weight:700;margin:0 0 .75rem;color:#fff;}
.resipet-home-b2b__text{font-size:1.05rem;margin:0 0 1.25rem;opacity:.95;}
.resipet-home-b2b__benefits{list-style:none;padding:0;margin:0 0 1.5rem;display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;font-size:.95rem;}
.resipet-home-b2b__benefits li::before{content:"\2713 ";font-weight:700;margin-right:.25rem;}
.resipet-home-b2b__cta{display:inline-block;padding:.85rem 2rem;background:#fff;color:var(--rp-primary);border-radius:999px;text-decoration:none;font-weight:600;font-size:1.05rem;transition:transform .15s;}
.resipet-home-b2b__cta:hover{transform:translateY(-2px);text-decoration:none;}

.resipet-home-faqs{max-width:800px;margin:0 auto;display:flex;flex-direction:column;gap:.5rem;}
.resipet-home-faq{background:#fff;border:1px solid var(--rp-accent-bg);border-radius:8px;}
.resipet-home-faq[open]{border-color:var(--rp-primary);}
.resipet-home-faq__q{cursor:pointer;list-style:none;padding:1rem 1.25rem;font-weight:600;color:var(--rp-text);position:relative;padding-right:2.5rem;}
.resipet-home-faq__q::-webkit-details-marker{display:none;}
.resipet-home-faq__q::after{content:"+";position:absolute;right:1.25rem;top:50%;transform:translateY(-50%);font-size:1.5rem;color:var(--rp-primary);font-weight:400;transition:transform .2s;}
.resipet-home-faq[open] .resipet-home-faq__q::after{transform:translateY(-50%) rotate(45deg);}
.resipet-home-faq__a{padding:0 1.25rem 1rem;color:var(--rp-text-soft);line-height:1.6;}
.resipet-home-faq__a p{margin:0;}

/* ═══ 24 Índice provincias ════════════════════════════════════════════ */
.resipet-prov-index{max-width:1100px;margin:1.5rem auto;}
.resipet-prov-index__nav{display:flex;flex-wrap:wrap;gap:.4rem;padding:1rem;background:var(--rp-section-bg);border-radius:8px;margin:0 0 2rem;justify-content:center;position:sticky;top:0;z-index:10;}
.resipet-prov-index__nav-link{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;padding:0 .5rem;border-radius:6px;background:#fff;color:var(--rp-primary);text-decoration:none;font-weight:600;font-size:.95rem;border:1px solid var(--rp-accent-bg);transition:background .15s,color .15s;}
.resipet-prov-index__nav-link:hover{background:var(--rp-primary);color:#fff;border-color:var(--rp-primary);text-decoration:none;}

.resipet-prov-index__group{margin:0 0 2rem;scroll-margin-top:5rem;}
.resipet-prov-index__letter{font-size:2rem;color:var(--rp-primary);margin:0 0 .75rem;border-bottom:2px solid var(--rp-accent-bg);padding-bottom:.25rem;}
.resipet-prov-index__list{list-style:none;padding:0;margin:0;display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:.5rem;}
.resipet-prov-index__link{display:flex;justify-content:space-between;align-items:center;padding:.75rem 1rem;background:#fff;border:1px solid var(--rp-accent-bg);border-radius:8px;text-decoration:none;color:var(--rp-text);font-weight:500;transition:background .15s,border-color .15s,transform .15s;}
.resipet-prov-index__link:hover{background:var(--rp-section-bg);border-color:var(--rp-primary);transform:translateY(-1px);text-decoration:none;color:var(--rp-text);}
.resipet-prov-index__name{font-size:.95rem;}
.resipet-prov-index__count{font-size:.8rem;color:var(--rp-text-soft);background:var(--rp-section-bg);padding:.2rem .55rem;border-radius:999px;font-weight:600;}
.resipet-prov-index--flat .resipet-prov-index__list{grid-template-columns:repeat(auto-fill,minmax(200px,1fr));}

/* ═══ Responsive ═════════════════════════════════════════════════════ */

/* Tablet (601-1024) */
@media (min-width:601px) and (max-width:1024px){
.resipet-home-destacadas{grid-template-columns:repeat(2,1fr);}
.resipet-home-provincias{grid-template-columns:repeat(3,1fr);}
.resipet-home-animales{grid-template-columns:repeat(3,1fr);}
.elementor-widget-heading h1.elementor-heading-title{font-size:2.5rem;}
.elementor-widget-heading h2.elementor-heading-title{font-size:1.85rem;}
}

/* Mobile (≤600) */
@media (max-width:600px){
/* Tipografía mobile */
.elementor-widget-heading h1.elementor-heading-title{font-size:2rem !important;line-height:1.15;}
.elementor-widget-heading h2.elementor-heading-title{font-size:1.5rem !important;line-height:1.2;}
.elementor-widget-heading h3.elementor-heading-title{font-size:1.2rem !important;}

/* Botones mobile */
.elementor-button{padding:.65em 1.25em;font-size:.95rem;}

/* Logo header mobile reducido */
.elementor-location-header img.custom-logo,
.elementor-location-header .elementor-widget-image img,
header .custom-logo{max-height:40px;}

/* Sidebar contact */
.resipet-contact{padding:1rem;}
.resipet-contact__map iframe{height:160px;}

/* Atributos: scroll horizontal si no caben los 5 en mobile estrecho */
.resipet-atributos{overflow-x:auto;flex-wrap:nowrap;-webkit-overflow-scrolling:touch;padding-bottom:.25rem;justify-content:flex-start;}
.resipet-atributo{flex:0 0 auto;min-width:90px;max-width:none;}

/* Home counters */
.resipet-home-counters{gap:1rem;padding:1rem 0;}
.resipet-home-counter__num{font-size:1.75rem;}

/* Home grids: 1 col destacadas, 2 cols animales/provincias */
.resipet-home-destacadas{grid-template-columns:1fr;}
.resipet-home-animales{grid-template-columns:repeat(2,1fr);gap:.75rem;}
.resipet-home-provincias{grid-template-columns:repeat(2,1fr);gap:.5rem;}
.resipet-home-pasos{gap:1.5rem;}

/* Home B2B */
.resipet-home-b2b{padding:1.75rem 1.25rem;}
.resipet-home-b2b__title{font-size:1.4rem;}
.resipet-home-b2b__benefits{flex-direction:column;gap:.5rem;}
.resipet-home-b2b__cta{font-size:1rem;padding:.75rem 1.5rem;}

/* Padding contenido editorial reducido en mobile */
.elementor-widget-text-editor h2,
.elementor-widget-theme-post-content h2,
.entry-content h2{margin-top:1.2em;font-size:1.4rem;}
.elementor-widget-text-editor h3,
.elementor-widget-theme-post-content h3,
.entry-content h3{font-size:1.15rem;}

/* Índice provincias mobile */
.resipet-prov-index__list{grid-template-columns:1fr;}
.resipet-prov-index__letter{font-size:1.5rem;}
.resipet-prov-index__nav{padding:.5rem;gap:.25rem;}
.resipet-prov-index__nav-link{min-width:30px;height:30px;font-size:.85rem;padding:0 .35rem;}
}
