* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: #f1f5f9;
    color: #0f172a;
}

/* ================= HEADER ================= */

.app-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0.75rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
}

.logo-wrap img {
    height: 56px;
}

/* ================= USER ================= */

.user {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.9rem;
}

.logout {
    background: none;
    border: none;
    color: #0f766e;
    cursor: pointer;
    font-weight: 600;
}

.logout:hover {
    text-decoration: underline;
}

/* ================= LAYOUT ================= */

main {
    padding: 3rem 2rem;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* ================= GRID ================= */

.grid {
    display: grid;
    gap: 1.5rem;
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* ================= CARDS ================= */

.card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.75rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    transition: transform .2s ease, box-shadow .2s ease;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-title {
    font-size: .85rem;
    color: #64748b;
    display: flex;
    justify-content: space-between;
}

.card-value {
    margin-top: .75rem;
    font-size: 2.2rem;
    font-weight: 700;
}

.card-sub {
    margin-top: .25rem;
    font-size: .75rem;
    color: #94a3b8;
}

/* ================= PROGRESS ================= */

.progress {
    margin-top: .5rem;
    background: #e5e7eb;
    border-radius: 999px;
    height: 8px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #0f766e, #14b8a6);
    width: 0;
    transition: width .6s ease;
}

/* ================= NAV CARDS ================= */

.nav-grid {
    margin-top: 3rem;
    display: grid;
    gap: 1.5rem;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.nav-card {
    background: #ffffff;
    border-radius: 18px;
    padding: 2rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
    text-decoration: none;
    color: inherit;
}

.nav-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

/* =========================
   HEADER / NAV
========================= */

.app-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: #ffffff;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.app-header .nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.nav-left,
.nav-center,
.nav-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-left {
    flex: 0 0 auto;
}

.nav-center {
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
}

.nav-right {
    flex: 0 0 auto;
    justify-content: flex-end;
    gap: 12px;
}

.nav-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.nav-logo img {
    height: 34px;
    /* súbelo aquí */
    width: auto;
    display: block;
}

.app-header a {
    color: #0f172a;
    text-decoration: none;
    font-size: 0.95rem;
    padding: 8px 10px;
    border-radius: 10px;
    transition: background .15s ease;
}

.app-header a:hover {
    background: rgba(15, 23, 42, 0.06);
}

.nav-user {
    font-size: 0.9rem;
    color: #334155;
    padding: 6px 10px;
    background: rgba(15, 23, 42, 0.04);
    border-radius: 999px;
}

.nav-logout {
    border: 0;
    background: rgba(220, 38, 38, 0.10);
    color: #dc2626;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
}

.nav-logout:hover {
    background: rgba(220, 38, 38, 0.16);
}

/* Responsive: en móvil apilamos para que no “explote” */
@media (max-width: 820px) {
    .app-header .nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-left {
        width: 100%;
        justify-content: center;
    }

    .nav-center {
        width: 100%;
        justify-content: center;
    }

    .nav-right {
        width: 100%;
        justify-content: center;
    }
}

.sr-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
}

.sr-table th,
.sr-table td {
    padding: 12px;
    border-bottom: 1px solid #e5e7eb;
    text-align: left;
}

.sr-table tbody tr:hover {
    background: #f9fafb;
}

/* BADGES */
.badge {
    display: inline-block;
    padding: 4px 10px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 20px;
}

.badge-green {
    background: #dcfce7;
    color: #166534;
}

.badge-blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge-orange {
    background: #ffedd5;
    color: #9a3412;
}

/* BOTONES */
.btn {
    padding: 6px 12px;
    font-size: 13px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.btn-info {
    background: #3b82f6;
    color: #fff;
}

.btn-success {
    background: #16a34a;
    color: #fff;
}

.btn-danger {
    background: #dc2626;
    color: #fff;
}


.editor-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn {
    border: none;
    background: none;
    font-size: 20px;
    cursor: pointer;
}

.controls {
    display: grid;
    gap: 15px;
}

.plate-image {
    cursor: grab;
}

/* =========================
   MODAL BASE
========================= */

.editor-modal {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 40px 20px;
    /* importante */
}

.editor-modal.active {
    display: flex;
}

/* =========================
   CONTENIDO
========================= */

.editor-content {
    background: #ffffff;
    border-radius: 16px;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    /* 🔥 clave */
    overflow-y: auto;
    /* 🔥 clave */
    padding: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    animation: modalFade .25s ease;
}

@keyframes modalFade {
    from {
        opacity: 0;
        transform: scale(.96);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* =========================
   CANVAS
========================= */

.canvas-preview {
    position: relative;
    width: 100%;
    max-width: 700px;
    height: 420px;
    margin: 20px auto;
    background: #e9eef4;
    border-radius: 12px;
    overflow: hidden;
}

/* =========================
   IMAGENES
========================= */

.car-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.plate-image {
    position: absolute;
    left: 50%;
    bottom: 110px;
    transform: translateX(-50%);
    width: 160px;
    cursor: grab;
    pointer-events: auto;
    /* importante para drag */
}

.image-preview {
    max-width: 320px;
    border-radius: 10px;
}

.hidden-preview {
    display: none;
}

/* =========================
   CARDS
========================= */

.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.offer-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform .2s ease;
}

.offer-card:hover {
    transform: translateY(-5px);
}

.card-image-wrapper {
    height: 200px;
    background: #f3f4f6;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.card-body {
    padding: 15px;
}

.price {
    font-size: 20px;
    font-weight: 700;
    margin: 8px 0;
}

/* ========================================
   PAGINADOR SAFETYRENT (LIMPIO Y SEGURO)
======================================== */

.pagination {
    display: flex;
    list-style: none;
    gap: 6px;
    padding: 0;
    margin: 20px 0;
    align-items: center;
    font-size: 14px;
}

.pagination li {
    display: inline-flex;
}

.pagination a,
.pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 34px;
    height: 34px;
    padding: 0 10px;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #0f172a;
    text-decoration: none;
    font-weight: 500;
    transition: all .15s ease;
}

.pagination a:hover {
    background: #f1f5f9;
}

.pagination .active span {
    background: #0f766e;
    color: #ffffff;
    border-color: #0f766e;
}

.pagination svg {
    width: 14px;
    height: 14px;
}

/* ===== MARKET STUDY LAYOUT ===== */

.market-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 30px;
}

.market-filters {
    background: #ffffff;
    padding: 20px;
    border-radius: 14px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    height: fit-content;
}

.market-filters h3 {
    margin-top: 0;
}

.filter-group {
    margin-bottom: 15px;
}

.filter-group label {
    display: block;
    font-size: 12px;
    margin-bottom: 4px;
    color: #64748b;
}

.filter-group input,
.filter-group select {
    width: 100%;
    padding: 6px 8px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
}

.market-results h2 {
    margin-top: 0;
}

.section-title {
    margin: 30px 0 15px;
}

.pagination-wrapper {
    margin-top: 30px;
}

/* =========================
   AUTH (LOGIN / RESET)
========================= */

.auth-page {
    margin: 0;
    min-height: 100vh;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.auth-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
    text-align: center;
}

.auth-logo {
    max-width: 220px;
    margin-bottom: 2rem;
}

.auth-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: #0f172a;
}

.auth-field {
    margin-bottom: 1.25rem;
    text-align: left;
}

.auth-field label {
    display: block;
    font-size: 0.9rem;
    color: #334155;
    margin-bottom: 0.35rem;
}

.auth-field input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    border: 1px solid #cbd5f5;
    font-size: 0.95rem;
}

.auth-field input:focus {
    outline: none;
    border-color: #0f766e;
    box-shadow: 0 0 0 2px rgba(15, 118, 110, 0.15);
}

.auth-error {
    background: #fee2e2;
    color: #991b1b;
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.auth-status {
    background: #dcfce7;
    color: #166534;
    padding: 0.75rem;
    border-radius: 10px;
    margin-bottom: 1.25rem;
    font-size: 0.9rem;
}

.auth-btn {
    width: 100%;
    margin-top: 0.5rem;
    background: #0f766e;
    color: #ffffff;
    padding: 0.75rem;
    border-radius: 999px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background .15s ease, transform .15s ease, box-shadow .15s ease;
}

.auth-btn:hover {
    background: #115e59;
    transform: translateY(-1px);
    box-shadow: 0 10px 20px rgba(15, 118, 110, 0.3);
}

.auth-links {
    margin-top: 1.25rem;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-links a {
    font-size: 0.9rem;
    color: #64748b;
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* =========================
   FRONT (Apple-minimal + decisión)
========================= */
.sr-front {
    background: #ffffff;
    color: #0f172a;
}

.sr-shell {
    max-width: 1120px;
    margin: 0 auto;
    padding: 28px 20px 60px;
}

.sr-front-header {
    position: sticky;
    top: 0;
    z-index: 40;
    background: rgba(255, 255, 255, 0.86);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.sr-front-header__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.sr-brand img {
    display: block;
}

.sr-front-nav {
    display: flex;
    gap: 14px;
    align-items: center;
}

.sr-front-nav a {
    text-decoration: none;
    color: #0f172a;
    font-size: 0.95rem;
    padding: 8px 10px;
    border-radius: 10px;
}

.sr-front-nav a:hover {
    background: rgba(15, 23, 42, 0.06);
}

.sr-front-main {
    min-height: 70vh;
}

.sr-front-footer {
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    padding: 22px 0;
    margin-top: 40px;
}

.sr-front-footer__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    color: #64748b;
}

.sr-front-footer a {
    color: #0f766e;
    text-decoration: none;
}

.sr-front-footer a:hover {
    text-decoration: underline;
}

.sr-dot {
    opacity: .6;
    padding: 0 6px;
}

/* HERO */
.sr-hero {
    padding: 34px 0 18px;
}

.sr-hero__inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    align-items: start;
}

.sr-hero__h1 {
    margin: 0;
    font-size: clamp(34px, 4vw, 54px);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.sr-hero__sub {
    margin: 14px 0 0;
    font-size: 1.06rem;
    color: #475569;
    max-width: 52ch;
    line-height: 1.55;
}

.sr-hero__box {
    border: 1px solid rgba(15, 23, 42, 0.10);
    border-radius: 20px;
    padding: 18px;
    background: #fff;
    box-shadow: 0 18px 60px rgba(15, 23, 42, 0.06);
}

.sr-label {
    font-size: 0.88rem;
    color: #64748b;
    display: block;
    margin-bottom: 8px;
}

.sr-budget__row {
    display: flex;
    align-items: baseline;
    gap: 10px;
    padding: 12px 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 14px;
}

.sr-budget__input {
    border: 0;
    outline: none;
    font-size: 34px;
    font-weight: 750;
    width: 100%;
    letter-spacing: -0.02em;
}

.sr-budget__suffix {
    font-size: 18px;
    color: #0f172a;
    opacity: .8;
}

.sr-budget__hint {
    margin-top: 10px;
    font-size: 0.86rem;
    color: #94a3b8;
}

.sr-tabs {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.sr-tab {
    border: 1px solid rgba(15, 23, 42, 0.12);
    background: #fff;
    padding: 10px 12px;
    border-radius: 999px;
    font-size: 0.92rem;
    cursor: pointer;
    color: #0f172a;
}

.sr-tab.is-active {
    border-color: rgba(15, 118, 110, 0.35);
    background: rgba(15, 118, 110, 0.06);
    color: #0f766e;
    font-weight: 650;
}

.sr-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: 14px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 0;
    cursor: pointer;
    background: #0f766e;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

.sr-cta:hover {
    filter: brightness(0.96);
}

.sr-cta--ghost {
    width: auto;
    background: transparent;
    color: #0f766e;
    border: 1px solid rgba(15, 118, 110, 0.35);
}

.sr-cta--ghost:hover {
    background: rgba(15, 118, 110, 0.06);
}

.sr-hero__micro {
    margin-top: 10px;
    font-size: 0.88rem;
    color: #64748b;
}

/* Blocks */
.sr-block {
    padding: 28px 0;
}

.sr-block--soft {
    padding: 28px 22px;
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.sr-block__head {
    margin-bottom: 14px;
}

.sr-h2 {
    margin: 0;
    font-size: 1.5rem;
    letter-spacing: -0.01em;
}

.sr-muted {
    margin: 8px 0 0;
    color: #64748b;
}

/* Cards grid */
.sr-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.sr-card {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 14px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 12px;
    text-decoration: none;
    color: inherit;
    background: #fff;
    transition: transform .15s ease, box-shadow .15s ease;
}

.sr-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.sr-card__img {
    width: 120px;
    height: 84px;
    border-radius: 14px;
    overflow: hidden;
    background: rgba(15, 23, 42, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-card__img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sr-card__placeholder {
    width: 38px;
    height: 38px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.sr-card__price {
    margin-top: 6px;
    color: #0f172a;
    font-weight: 650;
}

.sr-card__price span {
    font-size: 1.15rem;
}

.sr-card__insight {
    margin-top: 8px;
    color: #64748b;
    font-size: 0.92rem;
}

/* Steps */
.sr-steps {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(3, 1fr);
    margin-top: 14px;
}

.sr-step {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 14px;
}

.sr-step__n {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
}

.sr-step__t {
    margin-top: 10px;
    font-weight: 750;
}

.sr-step__d {
    margin-top: 6px;
    color: #64748b;
    line-height: 1.5;
}

/* CTA2 */
.sr-cta2 {
    display: flex;
    gap: 14px;
    align-items: center;
    justify-content: space-between;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    padding: 18px;
    background: #fff;
}

/* Empty */
.sr-empty {
    border: 1px dashed rgba(15, 23, 42, 0.14);
    border-radius: 18px;
    padding: 18px;
    color: #64748b;
    background: rgba(15, 23, 42, 0.02);
}

/* Responsive */
@media (max-width: 980px) {
    .sr-hero__inner {
        grid-template-columns: 1fr;
    }

    .sr-grid {
        grid-template-columns: 1fr;
    }

    .sr-steps {
        grid-template-columns: 1fr;
    }

    .sr-cta2 {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* OFFERS PAGE */

.sr-offers-head {
    margin-bottom: 20px;
}

.sr-filter-box {
    margin: 20px 0 30px;
    padding: 18px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.03);
    border: 1px solid rgba(15, 23, 42, 0.06);
}

.sr-filter-row {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
    align-items: end;
}

.sr-filter-item label {
    font-size: 0.85rem;
    color: #64748b;
    display: block;
    margin-bottom: 6px;
}

.sr-filter-input {
    display: flex;
    align-items: center;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 12px;
    padding: 8px 10px;
}

.sr-filter-input input {
    border: 0;
    outline: none;
    font-size: 1rem;
    width: 100px;
}

.sr-filter-input span {
    font-size: 0.9rem;
    opacity: .7;
}

.sr-filter-item select {
    padding: 8px 10px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
}

.sr-filter-item--btn {
    margin-left: auto;
}

.sr-offers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 18px;
}

.sr-offer-card {
    text-decoration: none;
    color: inherit;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 20px;
    padding: 16px;
    background: #fff;
    transition: all .18s ease;
}

.sr-offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
}

.sr-offer-image {
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.sr-offer-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.sr-offer-title {
    font-weight: 700;
    font-size: 1.05rem;
}

.sr-offer-price {
    margin-top: 8px;
    font-weight: 600;
}

.sr-offer-price span {
    font-size: 1.2rem;
}

.sr-offer-meta {
    margin-top: 6px;
    font-size: 0.9rem;
    color: #64748b;
}

.sr-offer-insight {
    margin-top: 10px;
    font-size: 0.9rem;
    color: #0f766e;
    font-weight: 600;
}

/* =========================
   SHOW (Ficha) - Apple + Decisión
========================= */

.sr-show {
    padding-top: 18px;
}

.sr-show-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 26px;
    align-items: start;
}

.sr-show-hero__media {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 22px;
    background: rgba(15, 23, 42, 0.02);
    padding: 16px;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sr-show-hero__media img {
    width: 100%;
    height: 100%;
    max-height: 360px;
    object-fit: contain;
}

.sr-show-hero__placeholder {
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(15, 118, 110, 0.12);
    color: #0f766e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
}

.sr-show-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 10px;
}

.sr-badge {
    display: inline-flex;
    align-items: center;
    padding: 6px 10px;
    border-radius: 999px;
    font-size: .86rem;
    font-weight: 650;
    border: 1px solid rgba(15, 118, 110, 0.28);
    background: rgba(15, 118, 110, 0.06);
    color: #0f766e;
}

.sr-badge--soft {
    border-color: rgba(15, 23, 42, 0.10);
    background: rgba(15, 23, 42, 0.03);
    color: #334155;
}

.sr-show-title {
    margin: 0;
    font-size: clamp(30px, 3.2vw, 46px);
    letter-spacing: -0.02em;
    line-height: 1.05;
}

.sr-show-sub {
    margin: 12px 0 0;
    color: #475569;
    line-height: 1.55;
}

.sr-show-price {
    margin-top: 18px;
    padding: 14px 14px;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    background: #fff;
}

.sr-show-price__label {
    font-size: .85rem;
    color: #64748b;
}

.sr-show-price__value {
    margin-top: 6px;
    font-weight: 800;
    font-size: 44px;
    letter-spacing: -0.02em;
}

.sr-show-price__value span {
    font-size: 16px;
    font-weight: 700;
    opacity: .75;
}

.sr-show-price__micro {
    margin-top: 6px;
    font-size: .88rem;
    color: #94a3b8;
}

.sr-show-cta-row {
    margin-top: 14px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sr-show-meta {
    margin-top: 12px;
    color: #64748b;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.sr-rational-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.sr-rational-card {
    background: #fff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 14px;
}

.sr-rational-title {
    font-size: .86rem;
    color: #64748b;
    font-weight: 650;
}

.sr-rational-big {
    margin-top: 10px;
    font-weight: 780;
    letter-spacing: -0.01em;
    line-height: 1.25;
}

.sr-rational-mini {
    margin-top: 8px;
    color: #94a3b8;
    font-size: .88rem;
}

.sr-rational-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.55;
}

.sr-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 14px;
}

.sr-feature-box {
    border: 1px solid rgba(15, 23, 42, 0.08);
    border-radius: 18px;
    padding: 14px;
    background: #fff;
}

.sr-feature-title {
    font-weight: 750;
    letter-spacing: -0.01em;
}

.sr-feature-list {
    margin: 10px 0 0;
    padding-left: 18px;
    color: #334155;
    line-height: 1.55;
}

.sr-tabs--line {
    margin-top: 10px;
}

.sr-table--clean th {
    font-size: .86rem;
    color: #64748b;
    font-weight: 650;
}

.sr-table--clean td {
    vertical-align: middle;
}

.sr-pill {
    display: inline-flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 999px;
    font-size: .78rem;
    font-weight: 700;
    margin-left: 8px;
    color: #0f766e;
    background: rgba(15, 118, 110, 0.08);
    border: 1px solid rgba(15, 118, 110, 0.18);
}

.sr-pill--soft {
    color: #334155;
    background: rgba(15, 23, 42, 0.04);
    border-color: rgba(15, 23, 42, 0.10);
}

.sr-conditions-note {
    margin-top: 10px;
    color: #94a3b8;
    font-size: .88rem;
}

@media (max-width: 980px) {
    .sr-show-hero__grid {
        grid-template-columns: 1fr;
    }

    .sr-rational-grid {
        grid-template-columns: 1fr;
    }

    .sr-features-grid {
        grid-template-columns: 1fr;
    }
}

/* SAFETY INDEX */

.sr-index-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.sr-index-label {
    font-size: .9rem;
    color: #64748b;
}

.sr-index-score {
    font-size: 48px;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.sr-index-score span {
    font-size: 16px;
    opacity: .7;
}

.sr-index-note {
    color: #334155;
    font-size: .95rem;
}

/* MINI FUNNEL INVISIBLE */

.sr-soft-funnel__box {
    margin-top: 20px;
    padding: 20px;
    border-radius: 22px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    background: rgba(15, 23, 42, 0.02);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.sr-soft-funnel__copy h3 {
    margin: 0;
    font-size: 1.1rem;
}

.sr-soft-funnel__copy p {
    margin: 6px 0 0;
    color: #64748b;
}

.sr-soft-funnel__form {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.sr-soft-funnel__form input {
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    outline: none;
}