/* ============================================================
   XPERTIUS — Hoja de estilos corporativa
   Colores: Azul #1B9E5A · Gris oscuro #3D3D3D · Blanco #FFFFFF
   ============================================================ */

:root {
    --cob-lima:        #A9D23E;   /* verde vivo de la O del logo */
    --cob-lima-dark:   #8DBA25;
    --cob-pill:        #EDF6D2;   /* pastillas del hero */
    --cob-pill-hover:  #DFEFB4;
    --cob-texto:       #3F444A;   /* gris del logotipo */
    --xpert-blue:       #76A81F; /* verde Cobratis vivo (legible sobre blanco) */
    --xpert-blue-dark:  #5D8815;
    --xpert-blue-light: #F2F8E1;
    --xpert-dark:       #2E3338;
    --xpert-gray:       #6c757d;
    --xpert-light:      #f8f9fb;
    --xpert-border:     #e2e8f0;
    --xpert-success:    #28a745;
    --xpert-warning:    #ffc107;
    --xpert-danger:     #dc3545;
    --font-main:        'Inter', sans-serif;
    --shadow-sm:        0 2px 10px rgba(93,136,21,0.10);
    --shadow-md:        0 10px 30px rgba(93,136,21,0.16);
    --radius:           10px;
    --radius-lg:        16px;
}

* { box-sizing: border-box; }
body { font-family: var(--font-main); color: var(--xpert-dark); background: #fff; }
a { color: var(--xpert-blue); text-decoration: none; }
a:hover { color: var(--xpert-blue-dark); text-decoration: underline; }

/* ── BOTONES ── */
.btn-primary {
    background: linear-gradient(135deg, #B9DC4E 0%, #8DBA25 100%);
    border: none;
    color: #24320B;
    font-weight: 800;
    border-radius: 12px;
    padding: .6rem 1.5rem;
    box-shadow: 0 6px 16px rgba(141,186,37,.35);
    transition: all .22s ease;
}
.btn-primary:hover, .btn-primary:focus { background: linear-gradient(135deg, #ABD23C 0%, #7DA81E 100%); color: #1B2607; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(141,186,37,.45); }
.btn-outline-primary { color: var(--xpert-blue-dark); border: 2px solid var(--cob-lima-dark); font-weight: 700; border-radius: 12px; }
.btn-outline-primary:hover { background: var(--cob-lima); border-color: var(--cob-lima); color: #24320B; }
.btn-lg { padding: .8rem 2rem; font-size: 1.05rem; }

/* ── NAVBAR ── */
.xpert-navbar {
    background: rgba(255,255,255,.96);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid #EFF3E4;
    box-shadow: 0 8px 30px rgba(46,51,56,.05);
    padding: 1.15rem 0;
}
.xpert-navbar .nav-link { color: var(--cob-texto); font-weight: 600; font-size: 1rem; padding: .65rem .4rem; margin: 0 .7rem; position: relative; transition: color .2s; }
.xpert-navbar .nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px; background: var(--cob-lima); transform: scaleX(0); transform-origin: center; transition: transform .22s ease; }
.xpert-navbar .nav-link:hover { color: var(--xpert-blue-dark); text-decoration: none; }
.xpert-navbar .nav-link:hover::after, .xpert-navbar .nav-link.active::after { transform: scaleX(1); }
.xpert-navbar .nav-link.active { color: var(--xpert-blue-dark); }
/* Logo: solo límites máximos + dimensiones automáticas => nunca se deforma */
.logo-img { transition: opacity .2s; height: auto; width: auto; max-height: 62px; max-width: 320px; display: inline-block; object-fit: contain; }
.logo-img:hover { opacity: .85; }
.xpert-navbar .navbar-brand { padding-top: .2rem; padding-bottom: .2rem; }
@media (max-width: 575px) {
    .logo-img { max-height: 46px; max-width: 60vw; }
}

/* ── HERO ── */
.hero-section {
    background: linear-gradient(135deg, #eefaf3 0%, #ffffff 60%, #e2f5ea 100%);
    padding: 90px 0 80px;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(27,158,90,.12) 0%, transparent 70%);
    border-radius: 50%;
}
.hero-section h1 { font-size: 3rem; font-weight: 800; line-height: 1.15; color: var(--xpert-dark); }
.hero-section h1 span { color: var(--xpert-blue); }
.hero-section .lead { font-size: 1.2rem; color: var(--xpert-gray); }
.hero-badge { background: var(--xpert-blue-light); color: var(--xpert-blue); border-radius: 30px; padding: .35rem 1rem; font-size: .82rem; font-weight: 600; display: inline-block; margin-bottom: 1rem; }
.hero-img-wrapper { position: relative; }
.hero-card {
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
    border: 1px solid var(--xpert-border);
}

/* ── SECCIÓN GENÉRICA ── */
.section-title { font-size: 2rem; font-weight: 800; color: var(--xpert-dark); }
.section-title span { color: var(--xpert-blue); }
.section-subtitle { color: var(--xpert-gray); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }

/* ── COMO FUNCIONA (PASOS) ── */
.step-card {
    background: #fff;
    border: 1px solid var(--xpert-border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    text-align: center;
    transition: all .3s;
    height: 100%;
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: var(--xpert-blue); }
.step-number {
    width: 60px; height: 60px;
    background: var(--xpert-blue);
    color: #fff;
    border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem; font-weight: 800; line-height: 1;
    margin: 0;
    text-align: center;
    flex-shrink: 0;
}
/* Solo dentro de las tarjetas de paso el círculo se centra como bloque con margen inferior */
.step-card .step-number { display: flex; margin: 0 auto 1.2rem; }
/* Los placeholders de inputs en mayúsculas no deben gritar */
input.text-uppercase::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; }
.step-icon { font-size: 2rem; color: var(--xpert-blue); margin-bottom: 1rem; }
.step-card h4 { font-weight: 700; font-size: 1.1rem; margin-bottom: .75rem; }
.step-connector { position: relative; }
.step-connector::after {
    content: '→';
    position: absolute;
    right: -18px; top: 30px;
    color: var(--xpert-blue);
    font-size: 1.5rem;
}

/* ── TARJETAS DE PRECIO ── */
.price-card {
    background: #fff;
    border: 2px solid var(--xpert-border);
    border-radius: var(--radius-lg);
    padding: 2.5rem 2rem;
    text-align: center;
    transition: all .3s;
    height: 100%;
    position: relative;
}
.price-card:hover, .price-card.destacado { border-color: var(--xpert-blue); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.price-card.destacado { border-width: 2px; }
.price-badge-top { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--xpert-blue); color: #fff; border-radius: 20px; padding: .3rem 1.2rem; font-size: .78rem; font-weight: 700; white-space: nowrap; }
.price-amount { font-size: 3.2rem; font-weight: 800; color: var(--xpert-blue); line-height: 1; white-space: nowrap; }
.price-cur { font-size: 1.9rem; font-weight: 700; margin-left: .1rem; }
.price-amount small { font-size: 1rem; color: var(--xpert-gray); font-weight: 400; margin-left: .15rem; }
.price-tramo { font-weight: 600; font-size: 1rem; color: var(--xpert-dark); margin-bottom: .25rem; }
.price-features { list-style: none; padding: 0; margin: 1.5rem 0; text-align: left; }
.price-features li { padding: .4rem 0; font-size: .93rem; color: var(--xpert-gray); }
.price-features li i { color: var(--xpert-blue); margin-right: .5rem; }

/* ── FEATURE CARDS ── */
.feature-card {
    background: #fff;
    border: 1px solid var(--xpert-border);
    border-radius: var(--radius-lg);
    padding: 1.8rem;
    height: 100%;
    transition: all .3s;
}
.feature-card:hover { box-shadow: var(--shadow-md); border-color: var(--xpert-blue); }
.feature-icon {
    width: 52px; height: 52px;
    background: var(--xpert-blue-light);
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem;
    color: var(--xpert-blue);
    margin-bottom: 1rem;
}
.feature-card h5 { font-weight: 700; font-size: 1rem; margin-bottom: .5rem; }
.feature-card p { font-size: .9rem; color: var(--xpert-gray); margin: 0; }

/* ── STATS BAR ── */
.stats-bar { background: linear-gradient(135deg, #3A4046 0%, #2E3338 100%); padding: 56px 0; }
.stat-item { text-align: center; color: #fff; }
.stat-number { font-size: 2.9rem; font-weight: 900; display: block; color: var(--cob-lima); }
.stat-label { font-size: .9rem; opacity: .85; }

/* ── CTA SECTION ── */
.cta-section { background: linear-gradient(135deg, #3A4046 0%, #23272B 100%); padding: 80px 0; }
.cta-section h2 { color: #fff; font-weight: 800; }
.cta-section p { color: rgba(255,255,255,.75); }
.btn-white { background: linear-gradient(135deg, #B9DC4E, #8DBA25); color: #24320B; font-weight: 800; border-radius: 12px; padding: .8rem 2rem; }
.btn-white:hover { background: linear-gradient(135deg, #ABD23C, #7DA81E); color: #1B2607; }

/* ── SECCIÓN COBRATIS ── */
.cobratis-section { background: var(--xpert-blue-light); border-radius: var(--radius-lg); padding: 2.5rem; }

/* ── TESTIMONIOS ── */
.testimonio-card {
    background: #fff;
    border: 1px solid var(--xpert-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    height: 100%;
}
.testimonio-card .stars { color: #ffc107; font-size: 1.1rem; margin-bottom: .75rem; }
.testimonio-card p { font-style: italic; color: var(--xpert-gray); font-size: .95rem; }
.testimonio-autor { font-weight: 700; font-size: .9rem; color: var(--xpert-dark); }
.testimonio-empresa { font-size: .82rem; color: var(--xpert-gray); }

/* ── FAQ ── */
.accordion-button:not(.collapsed) { background: var(--xpert-blue-light); color: var(--xpert-blue); box-shadow: none; }
.accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(27,158,90,.25); }
.accordion-item { border: 1px solid var(--xpert-border); border-radius: var(--radius) !important; margin-bottom: .5rem; }

/* ── BLOG ── */
.blog-card { background: #fff; border: 1px solid var(--xpert-border); border-radius: var(--radius-lg); overflow: hidden; height: 100%; transition: all .3s; }
.blog-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.blog-card img { width: 100%; height: 180px; object-fit: cover; }
.blog-card-body { padding: 1.4rem; }
.blog-cat { font-size: .75rem; font-weight: 700; color: var(--xpert-blue); text-transform: uppercase; letter-spacing: .05em; }
.blog-card h5 { font-weight: 700; font-size: 1rem; margin: .5rem 0; }
.blog-card p { font-size: .88rem; color: var(--xpert-gray); }

/* ── FORMULARIOS ── */
.form-control, .form-select {
    border: 1.5px solid var(--xpert-border);
    border-radius: var(--radius);
    padding: .65rem 1rem;
    font-size: .95rem;
    transition: border-color .2s;
}
.form-control:focus, .form-select:focus {
    border-color: var(--xpert-blue);
    box-shadow: 0 0 0 .2rem rgba(27,158,90,.2);
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--xpert-dark); margin-bottom: .35rem; }

/* ── AUTH PAGES ── */
.auth-wrapper { min-height: 100vh; background: linear-gradient(135deg, #eefaf3 0%, #fff 100%); display: flex; align-items: center; }
.auth-card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-md); padding: 2.5rem; max-width: 460px; width: 100%; margin: 0 auto; }
.auth-logo { text-align: center; margin-bottom: 1.5rem; }
.auth-card h2 { font-weight: 800; font-size: 1.5rem; text-align: center; margin-bottom: .25rem; }
.auth-card .text-muted { text-align: center; font-size: .9rem; display: block; margin-bottom: 1.5rem; }

/* ── DASHBOARD USUARIO ── */
.dash-sidebar {
    background: var(--xpert-dark);
    min-height: 100vh;
    width: 260px;
    position: fixed;
    left: 0; top: 0;
    padding: 0;
    z-index: 100;
}
.dash-sidebar .sidebar-logo { padding: 1.5rem 1.5rem 1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.dash-sidebar .sidebar-logo img { height: 38px; }
.dash-nav { padding: 1rem .75rem; }
.dash-nav .nav-link { color: rgba(255,255,255,.75); font-size: .93rem; font-weight: 500; padding: .7rem 1rem; border-radius: 8px; display: flex; align-items: center; gap: .6rem; margin-bottom: .2rem; transition: all .2s; }
.dash-nav .nav-link:hover, .dash-nav .nav-link.active { background: rgba(27,158,90,.25); color: #fff; }
.dash-nav .nav-link i { font-size: 1.1rem; width: 20px; }
.dash-content { margin-left: 260px; padding: 2rem; min-height: 100vh; background: var(--xpert-light); }
.dash-topbar { background: #fff; border-radius: var(--radius); padding: 1rem 1.5rem; box-shadow: var(--shadow-sm); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.dash-topbar h1 { font-size: 1.3rem; font-weight: 700; margin: 0; }
.stat-dash-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
    border-left: 4px solid var(--xpert-blue);
    height: 100%;
}
.stat-dash-card .stat-val { font-size: 2rem; font-weight: 800; color: var(--xpert-dark); }
.stat-dash-card .stat-lbl { font-size: .85rem; color: var(--xpert-gray); margin-top: .25rem; }
.stat-dash-card .stat-icon { font-size: 2rem; color: var(--xpert-blue); opacity: .4; }

/* Estados de factura */
.badge-activa    { background: #d4edda; color: #155724; }
.badge-vencida   { background: #f8d7da; color: #721c24; }
.badge-cobrada   { background: #d1ecf1; color: #0c5460; }
.badge-pendiente { background: #fff3cd; color: #856404; }

/* ── ADMIN PANEL ── */
.admin-sidebar { background: #1a1a2e; }
.admin-sidebar .dash-nav .nav-link:hover,
.admin-sidebar .dash-nav .nav-link.active { background: rgba(27,158,90,.3); }

/* ── TABLAS ── */
.xpert-table { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.xpert-table table { margin: 0; }
.xpert-table thead th { background: var(--xpert-light); font-weight: 700; font-size: .85rem; text-transform: uppercase; letter-spacing: .04em; color: var(--xpert-gray); border: none; padding: 1rem 1.25rem; }
.xpert-table tbody td { padding: .9rem 1.25rem; vertical-align: middle; border-color: var(--xpert-border); font-size: .92rem; }
.xpert-table tbody tr:hover { background: var(--xpert-blue-light); }

/* ── ALERTAS ── */
.alert { border-radius: var(--radius); border: none; font-size: .92rem; }
.alert-success { background: #d4edda; color: #155724; }
.alert-danger   { background: #f8d7da; color: #721c24; }
.alert-info     { background: #d1ecf1; color: #0c5460; }
.alert-warning  { background: #fff3cd; color: #856404; }

/* ── FOOTER ── */
.xpert-footer { background: #2B3036; padding: 60px 0 0; color: rgba(255,255,255,.72); }
.footer-title { color: #fff; font-weight: 700; font-size: .9rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 1rem; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.65); font-size: .88rem; transition: color .2s; text-decoration: none; }
.footer-links a:hover { color: var(--cob-lima); text-decoration: none; }
/* En el footer oscuro forzamos texto claro (Bootstrap .text-muted es gris oscuro e ilegible aquí) */
.xpert-footer .text-muted { color: rgba(255,255,255,.6) !important; }
.xpert-footer a { color: rgba(255,255,255,.7); text-decoration: none; }
.xpert-footer a:hover { text-decoration: none; }
.xpert-footer a:hover { color: var(--cob-lima); }
.xpert-footer strong { color: rgba(255,255,255,.9); }
.xpert-footer hr { border-color: rgba(255,255,255,.12) !important; opacity: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 991px) {
    .dash-sidebar { width: 100%; min-height: auto; position: relative; }
    .dash-content { margin-left: 0; }
    .hero-section h1 { font-size: 2.2rem; }
}
@media (max-width: 767px) {
    .hero-section { padding: 60px 0 50px; }
    .hero-section h1 { font-size: 1.9rem; }
    .section-title { font-size: 1.6rem; }
    .price-amount { font-size: 2.5rem; }
    .stat-number { font-size: 2rem; }
}

/* ── UTILIDADES ── */
.bg-xpert { background: var(--xpert-blue) !important; }
.text-xpert { color: var(--xpert-blue) !important; }
.border-xpert { border-color: var(--xpert-blue) !important; }
.bg-xpert-light { background: var(--xpert-blue-light) !important; }
.rounded-xpert { border-radius: var(--radius) !important; }
.shadow-xpert { box-shadow: var(--shadow-md) !important; }
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 50px 0; }

/* ============================================================
   AJUSTES v2 — badges de estado en paleta verde y contenido migrado
   ============================================================ */
.badge-nuevo    { background: var(--xpert-blue-light); color: var(--xpert-blue-dark); border: 1px solid #bfe8d2; }
.badge-judicial { background: #157A46; color: #fff; }
.badge.bg-primary { background-color: var(--xpert-blue) !important; }
.nav-pills .nav-link { color: var(--xpert-blue); font-weight: 600; }
.nav-pills .nav-link.active { background-color: var(--xpert-blue); }

/* Contenido migrado de WordPress: tipografía y encuadre limpios */
.contenido-migrado { font-size: 1.02rem; line-height: 1.75; color: #37413b; }
.contenido-migrado h2 { font-weight: 800; color: #223; margin: 2.2rem 0 .9rem; font-size: 1.55rem; }
.contenido-migrado h2:first-child { margin-top: 0; }
.contenido-migrado h3 { font-weight: 700; color: var(--xpert-blue-dark); margin: 1.7rem 0 .7rem; font-size: 1.22rem; }
.contenido-migrado h4 { font-weight: 700; margin: 1.4rem 0 .6rem; font-size: 1.05rem; }
.contenido-migrado p { margin-bottom: 1rem; }
.contenido-migrado ul, .contenido-migrado ol { margin: 0 0 1.1rem; padding-left: 1.4rem; }
.contenido-migrado li { margin-bottom: .45rem; }
.contenido-migrado li::marker { color: var(--xpert-blue); font-weight: 700; }
.contenido-migrado img { max-width: 100%; height: auto; border-radius: 12px; margin: .6rem 0 1rem; }
.contenido-migrado figure { margin: 1.2rem 0; }
.contenido-migrado figcaption { font-size: .85rem; color: #7b857f; }
.contenido-migrado table { width: 100%; border-collapse: collapse; margin: 1.2rem 0; font-size: .95rem; }
.contenido-migrado table td, .contenido-migrado table th { border: 1px solid #e2e8e4; padding: .55rem .75rem; }
.contenido-migrado table th { background: var(--xpert-blue-light); }
.contenido-migrado blockquote { border-left: 4px solid var(--xpert-blue); padding: .5rem 1.1rem; background: #f5faf7; border-radius: 0 10px 10px 0; color: #40514a; margin: 1.2rem 0; }
.contenido-migrado a { font-weight: 600; }
.contenido-migrado iframe { max-width: 100%; border-radius: 12px; }
.contenido-migrado hr { margin: 2rem 0; opacity: .12; }

/* Ilustración propia del hero (sin imágenes heredadas) */
.ilustracion-cobro { background: linear-gradient(145deg, var(--xpert-blue-light), #d3efe0); border-radius: 20px; padding: 2.4rem; }


/* ============================================================
   v4 — Diseño según cobratis.es (hero, pills, dos columnas)
   ============================================================ */

/* Mini barra superior */
.topbar-cobratis { background: #2E3338; font-size: .84rem; }
.topbar-cobratis a { color: rgba(255,255,255,.78); padding: .42rem .8rem; display: inline-block; font-weight: 500; }
.topbar-cobratis a:hover { color: var(--cob-lima); text-decoration: none; }

/* Botones del navbar */
.xpert-navbar .btn-outline-primary.btn-sm { padding: .45rem 1.05rem; font-size: .88rem; }
.xpert-navbar .btn-primary.btn-sm { padding: .5rem 1.25rem; font-size: .9rem; border-radius: 30px; }

/* HERO estilo cobratis.es */
.hero-cobratis { background:
        radial-gradient(900px 500px at 85% 20%, #EAF5CB 0%, transparent 60%),
        radial-gradient(700px 460px at 5% 90%, #F1F8DC 0%, transparent 55%),
        linear-gradient(160deg, #FCFEF6 0%, #F4FAE3 60%, #EDF6D3 100%);
    position: relative; overflow: hidden; }
.hero-cobratis::before { content: ""; position: absolute; right: -12%; top: -30%; width: 900px; height: 900px;
    background: radial-gradient(circle at 35% 35%, #E3F2BC 0%, #EDF6D2 70%); border-radius: 46% 54% 60% 40% / 45% 48% 52% 55%;
    animation: blobFloat 14s ease-in-out infinite alternate; }
@keyframes blobFloat { from { transform: translateY(0) rotate(0deg); } to { transform: translateY(26px) rotate(2.5deg); } }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid #E4EFC2;
    color: #5D8815; font-weight: 700; font-size: .88rem; padding: .45rem 1rem; border-radius: 30px;
    box-shadow: 0 4px 14px rgba(93,136,21,.10); margin-bottom: 1.1rem; }
.hero-eyebrow .punto { width: 9px; height: 9px; border-radius: 50%; background: var(--cob-lima); box-shadow: 0 0 0 4px rgba(169,210,62,.25); }
.hero-confianza { display: flex; flex-wrap: wrap; gap: 1.1rem 1.8rem; margin-top: 1.3rem; }
.hero-confianza span { display: inline-flex; align-items: center; gap: 7px; font-weight: 600; color: #47521F; font-size: .95rem; }
.hero-confianza i { color: var(--cob-lima-dark); font-size: 1.1rem; }
.hero-cobratis .container { position: relative; }
.hero-cobratis h1 { font-size: 4rem; font-weight: 900; color: var(--cob-texto); }
.hero-cobratis p.lead-cb { font-size: 1.35rem; line-height: 1.6; color: #333; margin-bottom: .9rem; }

/* Botón RECLAMAR (blanco degradado con borde verde, como el actual) */
.btn-reclamar { display: inline-flex; align-items: center; gap: 12px;
    background: linear-gradient(135deg, #BFE156 0%, #8DBA25 100%); color: #24320B;
    padding: 18px 54px; font-size: 1.25rem; font-weight: 900; border-radius: 40px;
    border: none; margin: 20px 0 14px; text-transform: uppercase;
    letter-spacing: .8px; box-shadow: 0 12px 28px rgba(141,186,37,.42); transition: all .25s ease; }
.btn-reclamar .bi-arrow-right { transition: transform .25s; }
.btn-reclamar:hover .bi-arrow-right { transform: translateX(5px); }
.btn-reclamar:hover { background: linear-gradient(135deg, #B2D845 0%, #7DA81E 100%);
    transform: translateY(-3px); box-shadow: 0 18px 36px rgba(141,186,37,.5);
    color: #1B2607; text-decoration: none; }

/* Pills del hero */
.hero-pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.hero-pills a { background: var(--cob-pill); color: var(--cob-texto); padding: 10px 16px;
    border-radius: 8px; font-weight: 600; font-size: .98rem; transition: background .2s; }
.hero-pills a:hover { background: var(--cob-pill-hover); text-decoration: none; }

/* Mascota con cartel de años dinámico */
.mascota-wrap { position: relative; max-width: 320px; margin-left: auto; margin-right: 8%; }
.mascota-wrap img { width: 100%; height: auto; display: block; filter: drop-shadow(0 24px 40px rgba(46,51,56,.22)); }
.badge-anios { position: absolute; left: -8%; top: 32%; background: #fff; color: var(--cob-texto);
    padding: 16px 20px 14px; border-radius: 16px; box-shadow: 0 16px 40px rgba(46,51,56,.18);
    text-align: center; line-height: 1; min-width: 46%; }
.badge-anios .num { font-size: 3.2rem; font-weight: 900; letter-spacing: -2px;
    background: linear-gradient(135deg, #A9D23E, #6D9A17); -webkit-background-clip: text; background-clip: text; color: transparent; }
.badge-anios .anios { font-size: 1.02rem; font-weight: 900; letter-spacing: 2.5px; color: var(--cob-texto); }
.badge-anios .rango { font-size: 1.1rem; font-weight: 800; margin-top: 7px; border-top: 3px solid var(--cob-lima); padding-top: 6px; color: #5D8815; }

/* Cabecera de sección tipo banda verde clara (páginas interiores) */
.banda-titulo { background: linear-gradient(100deg, #EAF5C9, #F6FBE7); border-radius: 14px;
    padding: 1.1rem 1.5rem; display: flex; align-items: center; gap: .9rem; margin-bottom: 1.4rem; }
.banda-titulo h1 { font-size: 1.7rem; font-weight: 900; color: var(--cob-texto); margin: 0; }
.banda-titulo i { font-size: 1.9rem; color: var(--xpert-blue); }

/* Tarjeta principal de contenido + sidebar verde (como la web actual) */
.tarjeta-contenido { background: #fff; border-radius: 14px; box-shadow: 0 6px 18px rgba(0,0,0,.07); padding: 1.8rem 2rem; }
.sidebar-verde { background: #F5FAE4; border: 1px solid #E4EFC2; border-radius: 14px; padding: 1.5rem; box-shadow: 0 6px 18px rgba(0,0,0,.06); }
.sidebar-verde h3, .sidebar-verde h4 { color: var(--xpert-blue); font-weight: 800; font-size: 1.25rem; margin-bottom: 1rem; }
.sidebar-verde ul { padding-left: 1.2rem; margin: 0; }
.sidebar-verde li { margin-bottom: .8rem; }
.sidebar-verde li::marker { color: var(--xpert-blue); }
.btn-lima { background: var(--cob-lima); border: none; color: #fff !important; font-weight: 700; border-radius: 8px; padding: .7rem 1.4rem; }
.btn-lima:hover { background: var(--cob-lima-dark); color: #fff; }

@media (max-width: 991px) {
    .hero-cobratis h1 { font-size: 2.5rem; }
    .mascota-wrap { margin: 1.5rem auto 0; }
    .badge-anios { left: 0; }
}

/* CTA al final de cada artículo del blog */
.cta-articulo { background: linear-gradient(120deg, #EFF7D6, #F8FCEC); border-left: 6px solid var(--cob-lima);
    border-radius: 14px; padding: 1.6rem 1.8rem; margin-top: 2.2rem; }
.cta-articulo h3 { color: var(--xpert-blue-dark); font-weight: 900; font-size: 1.3rem; margin-bottom: .6rem; }
.cta-articulo p { margin-bottom: .8rem; }
.cta-articulo p:last-child { margin-bottom: 0; }
.btn-cta-articulo { display: inline-block; background: linear-gradient(135deg, #B9DC4E, #8DBA25); color: #24320B !important; font-weight: 800;
    border-radius: 8px; padding: .65rem 1.3rem; margin: .2rem .35rem .2rem 0; text-decoration: none; transition: background .2s; }
.btn-cta-articulo:hover { background: linear-gradient(135deg, #ABD23C, #7DA81E); text-decoration: none; }
.btn-cta-articulo.secundario { background: #fff; color: var(--xpert-blue-dark) !important; border: 2px solid var(--cob-lima-dark); }
.btn-cta-articulo.secundario:hover { background: var(--cob-pill); }


/* Footer: barra inferior bien alineada */
.footer-bottom { border-top: 1px solid rgba(255,255,255,.10); margin-top: 2.6rem; padding: 1.8rem 0 2.2rem; }
.footer-bottom .legal-links { display: flex; flex-wrap: wrap; gap: .8rem 2.2rem; justify-content: center; margin-bottom: 1.4rem; }
.footer-bottom .legal-links a { color: rgba(255,255,255,.78); font-size: .92rem; padding: .15rem 0; white-space: nowrap; }
.footer-bottom .legal-links a:hover { color: var(--cob-lima); }
.footer-copy { display: flex; flex-wrap: wrap; gap: .8rem 1.5rem; justify-content: space-between; align-items: center;
    border-top: 1px solid rgba(255,255,255,.07); padding-top: 1.3rem; }
.footer-copy small { color: rgba(255,255,255,.55); font-size: .84rem; }
@media (max-width: 767px) { .footer-copy { justify-content: center; text-align: center; } }

/* CTA compacta al inicio de los artículos */
.cta-inline { background: #F4F9E4; border-left: 4px solid var(--cob-lima); border-radius: 8px;
    padding: .75rem 1.1rem; font-size: .95rem; margin: 0 0 1.4rem; }
.cta-inline a { font-weight: 700; color: var(--xpert-blue-dark); text-decoration: underline; }
