/* PACK 005A · Tarifas visuales + página de gatos con filtros */

.rates-hero-visual,
.cats-visual-heading,
.cats-filter-panel,
.rates-options-grid,
.voucher-flow-section,
.cats-visual-page {
    width: min(1480px, calc(100% - clamp(32px, 6vw, 112px)));
    margin-left: auto;
    margin-right: auto;
}

.rates-hero-visual {
    margin-top: clamp(46px, 6vw, 82px);
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 30px;
    padding: clamp(34px, 5vw, 70px);
    border-radius: clamp(32px, 4vw, 56px);
    background:
        radial-gradient(circle at 12% 18%, rgba(255, 133, 98, 0.12), transparent 24rem),
        radial-gradient(circle at 86% 10%, rgba(220, 235, 187, 0.48), transparent 24rem),
        rgba(255, 253, 248, 0.92);
    border: 1px solid rgba(98, 125, 60, 0.14);
    box-shadow: 0 24px 66px rgba(73, 89, 49, 0.12);
}

.rates-hero-copy h1,
.cats-visual-heading h1 {
    margin: 0 0 18px;
    font-size: clamp(44px, 6vw, 84px);
    line-height: 0.98;
    letter-spacing: -0.055em;
    color: var(--text);
}

.rates-hero-copy p:not(.eyebrow),
.cats-visual-heading p {
    max-width: 780px;
    color: var(--muted);
    font-size: clamp(18px, 1.6vw, 22px);
    line-height: 1.62;
}

.rates-hero-badge {
    width: clamp(150px, 16vw, 230px);
    height: clamp(150px, 16vw, 230px);
    border-radius: 42px;
    display: grid;
    place-items: center;
    background: linear-gradient(145deg, rgba(255, 133, 98, 0.92), rgba(255, 190, 150, 0.88));
    color: #fff;
    box-shadow: 0 22px 42px rgba(255, 133, 98, 0.22);
    text-align: center;
}

.rates-hero-badge span { font-size: 34px; }
.rates-hero-badge strong { display: block; font-size: clamp(40px, 5vw, 70px); line-height: 0.9; }
.rates-hero-badge small { display: block; font-size: 20px; font-weight: 900; }

.rates-options-grid {
    margin-top: clamp(28px, 4vw, 44px);
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.rate-card {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    padding: clamp(26px, 3vw, 42px);
    border-radius: 36px;
    border: 1px solid rgba(98, 125, 60, 0.14);
    background: rgba(255, 253, 248, 0.88);
    box-shadow: 0 20px 52px rgba(73, 89, 49, 0.10);
}

.rate-card-base { background: linear-gradient(145deg, rgba(255, 253, 248, 0.94), rgba(255, 244, 235, 0.90)); }
.featured-rate-card { background: linear-gradient(145deg, rgba(238, 245, 223, 0.98), rgba(255, 253, 248, 0.92)); transform: translateY(-10px); }
.rate-card-happy { background: linear-gradient(145deg, rgba(255, 234, 210, 0.90), rgba(255, 253, 248, 0.92)); }

.rate-card-icon {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    border-radius: 20px;
    background: rgba(220, 235, 187, 0.72);
    font-size: 28px;
    margin-bottom: 18px;
}

.rate-card h2 {
    margin: 0 0 16px;
    font-size: clamp(28px, 3.1vw, 48px);
    line-height: 1.03;
    letter-spacing: -0.04em;
}

.rate-card p { color: var(--muted); line-height: 1.62; font-size: 17px; }

.rate-clean-list {
    list-style: none;
    padding: 0;
    margin: 24px 0;
    display: grid;
    gap: 10px;
}

.rate-clean-list li {
    position: relative;
    padding-left: 34px;
    color: var(--text);
    font-weight: 700;
    line-height: 1.45;
}

.rate-clean-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: -1px;
    width: 24px;
    height: 24px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: var(--green-soft);
    color: var(--green-dark);
    font-weight: 900;
    font-size: 13px;
}

.voucher-examples {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0 28px;
}

.voucher-examples span {
    padding: 10px 13px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.78);
    border: 1px solid rgba(98, 125, 60, 0.14);
    color: var(--green-dark);
    font-weight: 800;
    font-size: 14px;
}

.voucher-flow-section {
    margin-top: clamp(32px, 5vw, 62px);
    margin-bottom: clamp(70px, 8vw, 118px);
    padding: clamp(30px, 4vw, 56px);
    border-radius: 38px;
    background: rgba(255, 253, 248, 0.86);
    border: 1px solid rgba(98, 125, 60, 0.13);
    box-shadow: 0 18px 48px rgba(73, 89, 49, 0.10);
}

.voucher-flow-heading h2 {
    margin: 0 0 24px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.02;
}

.voucher-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.voucher-flow-grid article {
    padding: 22px;
    border-radius: 24px;
    background: rgba(238, 245, 223, 0.55);
}

.voucher-flow-grid span {
    display: inline-flex;
    margin-bottom: 12px;
    color: var(--coral);
    font-weight: 900;
    letter-spacing: 0.08em;
}

.voucher-flow-grid p { margin: 0; color: var(--text); font-weight: 700; line-height: 1.45; }

/* Gatos */
.cats-visual-page { padding: clamp(46px, 6vw, 82px) 0 clamp(70px, 8vw, 116px); }
.cats-visual-heading { text-align: center; margin-bottom: 28px; }
.cats-visual-heading p { margin-left: auto; margin-right: auto; }

.cats-filter-panel {
    margin-bottom: 32px;
    padding: clamp(22px, 3vw, 34px);
    border-radius: 34px;
    display: grid;
    grid-template-columns: minmax(240px, 0.5fr) 1fr;
    align-items: center;
    gap: 22px;
    background: rgba(255, 253, 248, 0.86);
    border: 1px solid rgba(98, 125, 60, 0.13);
    box-shadow: 0 18px 42px rgba(73, 89, 49, 0.10);
}

.cats-filter-panel strong { display: block; margin-bottom: 6px; color: var(--text); font-size: 20px; }
.cats-filter-panel p { margin: 0; color: var(--muted); line-height: 1.5; }

.cats-filter-buttons { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }

.cat-filter-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--green-dark);
    background: rgba(238, 245, 223, 0.78);
    border: 1px solid rgba(98, 125, 60, 0.15);
    font-weight: 800;
}

.cat-filter-button small {
    min-width: 28px;
    height: 28px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    background: rgba(255,255,255,0.78);
    color: var(--text);
}

.cat-filter-button.active {
    background: var(--green-dark);
    color: #fff;
}

.cat-filter-button.active small { color: var(--green-dark); }

.cats-visual-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(22px, 2.4vw, 34px);
}

.cat-visual-card {
    overflow: hidden;
    border-radius: 34px;
    background: rgba(255, 253, 248, 0.88);
    border: 1px solid rgba(98, 125, 60, 0.13);
    box-shadow: 0 20px 52px rgba(73, 89, 49, 0.10);
}

.cat-visual-photo {
    position: relative;
    aspect-ratio: 1 / 0.96;
    overflow: hidden;
    background: var(--green-soft);
}

.cat-visual-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-visual-photo > span { display: grid; place-items: center; width: 100%; height: 100%; font-size: 64px; }

.cat-status-badge {
    position: absolute;
    left: 16px;
    bottom: 16px;
    padding: 8px 12px;
    border-radius: 999px;
    background: rgba(255, 253, 248, 0.92);
    color: var(--green-dark);
    font-weight: 900;
    font-size: 13px;
    box-shadow: 0 10px 22px rgba(0,0,0,0.10);
}

.status-adoptado .cat-status-badge { color: #7b6854; }
.status-reservado .cat-status-badge { color: var(--coral); }

.cat-visual-copy { padding: 22px; }
.cat-visual-copy h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.1; }
.cat-visual-copy p { margin: 0; color: var(--muted); line-height: 1.58; font-size: 15px; }

.cats-empty-card {
    max-width: 620px;
    margin: 40px auto 0;
    padding: 40px;
    border-radius: 34px;
    text-align: center;
    background: rgba(255, 253, 248, 0.88);
    border: 1px solid rgba(98, 125, 60, 0.13);
    box-shadow: 0 18px 42px rgba(73, 89, 49, 0.10);
}
.cats-empty-card > span { display: block; font-size: 44px; margin-bottom: 10px; }
.cats-empty-card h2 { margin: 0 0 18px; }

@media (max-width: 1180px) {
    .rates-options-grid { grid-template-columns: 1fr; }
    .featured-rate-card { transform: none; }
    .voucher-flow-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .cats-visual-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 780px) {
    .rates-hero-visual { grid-template-columns: 1fr; }
    .rates-hero-badge { width: 150px; height: 150px; }
    .cats-filter-panel { grid-template-columns: 1fr; }
    .cats-filter-buttons { justify-content: flex-start; }
    .voucher-flow-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .rates-hero-visual,
    .rates-options-grid,
    .voucher-flow-section,
    .cats-visual-heading,
    .cats-filter-panel,
    .cats-visual-page {
        width: calc(100% - 24px);
    }
    .cats-visual-grid { grid-template-columns: 1fr; }
}


/* PACK 005B · Tarifas: mascota, botones alineados y bono digital preciso */

.rates-hero-cat {
    overflow: hidden;
    background: none !important;
    color: inherit !important;
    padding: 0 !important;
}

.rates-hero-cat svg {
    display: block;
    width: 100%;
    height: 100%;
    border-radius: 42px;
    background: linear-gradient(145deg, rgba(255, 133, 98, 0.92), rgba(255, 190, 150, 0.88));
    box-shadow: 0 22px 42px rgba(255, 133, 98, 0.22);
}

.rates-hero-cat .cat-panel-bg { fill: transparent; }
.rates-hero-cat .cat-shadow { fill: rgba(178, 81, 55, 0.18); }
.rates-hero-cat .cat-body,
.rates-hero-cat .cat-face,
.rates-hero-cat .cat-ear { fill: #fffaf1; }
.rates-hero-cat .cat-patch,
.rates-hero-cat .cat-tail,
.rates-hero-cat .cat-eye,
.rates-hero-cat .paw { fill: #253126; }
.rates-hero-cat .cat-smile,
.rates-hero-cat .cat-whisker,
.rates-hero-cat .cat-collar {
    fill: none;
    stroke: #253126;
    stroke-width: 5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.rates-hero-cat .cat-collar { stroke: #ff6f56; }
.rates-hero-cat .cat-tag { fill: #ff6f56; }
.rates-hero-cat .sparkle { fill: rgba(255, 253, 248, 0.86); }
.rates-hero-cat .small { opacity: 0.75; }

.rates-options-grid {
    align-items: stretch;
}

.rate-card {
    min-height: 640px;
    display: flex;
    flex-direction: column;
}

.rate-card-content {
    flex: 1 1 auto;
}

.rate-card-actions {
    margin-top: auto;
    padding-top: 28px;
}

.rate-main-button {
    width: min(100%, 320px);
    min-height: 58px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    font-weight: 900;
    box-shadow: 0 14px 30px rgba(255, 133, 98, 0.20);
}

.rate-card-voucher .rate-main-button,
.rate-card-happy .rate-main-button {
    background: var(--coral);
    color: #fff !important;
    border-color: var(--coral);
}

.voucher-flow-grid article {
    min-height: 132px;
}

.voucher-flow-grid p {
    font-size: 15px;
}

@media (max-width: 1280px) {
    .voucher-flow-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 780px) {
    .rate-card {
        min-height: auto;
    }

    .rate-main-button {
        width: 100%;
    }

    .rates-hero-cat {
        justify-self: start;
    }
}


/* PACK 005C · Hotfix bono sin 15 min visibles + tarjeta central alineada */
.featured-rate-card {
    transform: none !important;
}
