:root {
    --blue: #112f87;
    --blue-deep: #0b236b;
    --turquoise: #50d8af;
    --white: #ffffff;
    --ink: #17233f;
    --muted: #64708a;
    --line: #dfe5ef;
    --background: #f3f6fb;
    --shadow: 0 18px 48px rgba(17, 47, 135, 0.12);
}

* { box-sizing: border-box; }

html {
    min-width: 320px;
    background: var(--background);
}

body {
    min-height: 100vh;
    margin: 0;
    color: var(--ink);
    background:
        radial-gradient(circle at 100% 0, rgba(80, 216, 175, 0.17), transparent 34rem),
        linear-gradient(180deg, #f9fbff 0%, var(--background) 100%);
    font-family: Inter, Montserrat, "Segoe UI", Roboto, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
}

button,
a { -webkit-tap-highlight-color: transparent; }

[hidden] { display: none !important; }

.service-shell {
    display: grid;
    min-height: 100vh;
    min-height: 100svh;
    padding: 12px;
}

.service-card {
    width: 100%;
    max-width: 760px;
    margin: auto;
    padding: 22px 18px 20px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(17, 47, 135, 0.08);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.service-header {
    padding-bottom: 0;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--blue);
    text-decoration: none;
}

.brand-logo {
    width: auto;
    height: 84px;
    object-fit: contain;
}

.home-link {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    gap: 5px;
    min-height: 32px;
    padding: 4px 2px;
    color: var(--blue);
    font-size: 0.8rem;
    font-weight: 700;
    text-decoration: none;
}

.home-link svg,
.action-icon svg {
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.home-link svg {
    width: 16px;
    height: 16px;
    stroke-width: 1.8;
}

.home-link:focus-visible,
.action-button:focus-visible,
.back-button:focus-visible,
.company-card:focus-visible,
.unknown-company:focus-visible {
    outline: 3px solid rgba(80, 216, 175, 0.55);
    outline-offset: 3px;
}

.intro { padding: 14px 0 16px; }

.section-title {
    max-width: none;
    margin: 0;
    color: var(--blue);
    font-size: clamp(1.55rem, 7vw, 2.625rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.025em;
    text-align: center;
    text-transform: uppercase;
}

.actions {
    display: grid;
    gap: 11px;
    row-gap: 6px;
}

.action-button {
    display: block;
    width: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: transparent;
    border: 0;
    border-radius: 16px;
    cursor: pointer;
    font: inherit;
    line-height: 0;
    text-decoration: none;
    touch-action: manipulation;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.action-card {
    width: 100%;
    aspect-ratio: 3 / 1;
    margin: 0;
    padding: 0;
    overflow: hidden;
    border-radius: 16px;
    appearance: none;
    -webkit-appearance: none;
}

.action-card img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    margin: 0;
    padding: 0;
}

@media (hover: hover) {
    .action-button:hover {
        border-color: rgba(17, 47, 135, 0.35);
        box-shadow: 0 8px 24px rgba(17, 47, 135, 0.1);
        transform: translateY(-1px);
    }
}

.action-button:active { transform: scale(0.99); }

.assistance-view {
    padding-top: 16px;
}

.back-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 44px;
    padding: 8px 12px;
    color: var(--blue);
    background: #eef3ff;
    border: 1px solid rgba(17, 47, 135, 0.14);
    border-radius: 12px;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
}

.back-button span {
    font-size: 1.15rem;
    line-height: 1;
}

.assistance-intro {
    padding: 16px 0 15px;
}

.assistance-title {
    max-width: 590px;
    margin: 0;
    color: var(--blue);
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: -0.025em;
}

.assistance-title:focus { outline: none; }

.assistance-subtitle {
    margin: 4px 0 0;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.35;
}

.companies {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.company-card {
    display: grid;
    min-width: 0;
    min-height: 96px;
    padding: 10px;
    place-items: center;
    color: var(--blue-deep);
    text-align: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 15px;
    box-shadow: 0 4px 14px rgba(17, 47, 135, 0.055);
    cursor: pointer;
    font: inherit;
    touch-action: manipulation;
    transition: border-color 140ms ease, box-shadow 140ms ease, transform 140ms ease;
}

.company-logo-frame {
    display: grid;
    width: 100%;
    height: 68px;
    place-items: center;
}

.company-logo {
    display: block;
    width: auto;
    height: auto;
    max-width: 92%;
    max-height: 58px;
    object-fit: contain;
}

.logo-rus { max-height: 62px; }
.logo-san-cristobal { max-width: 96%; }
.logo-federacion { max-width: 72%; max-height: 66px; }
.logo-la-holando { max-width: 88%; }
.logo-rivadavia { max-width: 95%; }
.logo-provincia { max-width: 91%; max-height: 62px; }
.logo-sancor { max-width: 94%; max-height: 62px; }
.logo-digna { max-width: 88%; max-height: 62px; }
.logo-la-equitativa { max-width: 96%; }

.unknown-company {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 58px;
    margin-top: 16px;
    padding: 12px 14px;
    color: var(--blue-deep);
    text-align: center;
    background: rgba(80, 216, 175, 0.14);
    border: 1px solid rgba(22, 135, 107, 0.34);
    border-radius: 15px;
    cursor: pointer;
    font: inherit;
    font-size: 0.9rem;
    font-weight: 750;
    line-height: 1.3;
    touch-action: manipulation;
}

.unknown-icon {
    display: grid;
    flex: 0 0 auto;
    width: 28px;
    height: 28px;
    color: var(--white);
    background: #16876b;
    border-radius: 50%;
    place-items: center;
    font-weight: 800;
}

@media (hover: hover) {
    .company-card:hover {
        border-color: rgba(17, 47, 135, 0.35);
        box-shadow: 0 8px 22px rgba(17, 47, 135, 0.11);
        transform: translateY(-1px);
    }

    .back-button:hover { background: #e5edff; }
    .unknown-company:hover { background: rgba(80, 216, 175, 0.22); }
}

.company-card:active,
.back-button:active,
.unknown-company:active { transform: scale(0.98); }

.phone-view { padding-top: 22px; }

.phone-navigation {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
}

.back-button-secondary {
    color: var(--muted);
    background: var(--white);
}

.phone-panel {
    display: grid;
    justify-items: center;
    margin-top: 24px;
    padding: 30px 16px;
    text-align: center;
    background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid var(--line);
    border-radius: 20px;
}

.selected-company-name {
    margin: 0;
    color: var(--blue);
    font-size: clamp(1.35rem, 6vw, 2rem);
    line-height: 1.2;
    font-weight: 800;
}

.selected-company-name:focus { outline: none; }

.assistance-type {
    margin: 10px 0 22px;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 700;
}

.assistance-phone {
    color: var(--blue-deep);
    font-size: clamp(1.75rem, 9vw, 2.75rem);
    line-height: 1.1;
    font-weight: 850;
    letter-spacing: -0.04em;
    text-decoration: none;
    white-space: nowrap;
}

.call-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 390px;
    min-height: 60px;
    margin-top: 26px;
    padding: 14px 18px;
    color: var(--blue-deep);
    background: var(--turquoise);
    border: 1px solid #38c89d;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(22, 135, 107, 0.2);
    font-size: 1rem;
    font-weight: 800;
    text-decoration: none;
    touch-action: manipulation;
    transition: box-shadow 140ms ease, transform 140ms ease;
}

.call-button svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.call-button:focus-visible {
    outline: 3px solid rgba(17, 47, 135, 0.32);
    outline-offset: 3px;
}

.call-button:active { transform: scale(0.98); }

@media (hover: hover) {
    .call-button:hover {
        box-shadow: 0 13px 28px rgba(22, 135, 107, 0.28);
        transform: translateY(-1px);
    }
}

.claim-guide-view { padding-top: 16px; }

.guide-content {
    width: 100%;
    max-width: 680px;
    margin-inline: auto;
}

.guide-intro { padding: 20px 0 18px; }

.guide-title {
    margin: 0;
    color: var(--blue);
    font-size: clamp(1.55rem, 7vw, 2.15rem);
    line-height: 1.15;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.guide-title:focus { outline: none; }

.guide-intro p {
    max-width: 590px;
    margin: 8px 0 0;
    color: var(--muted);
    font-size: 0.95rem;
    font-weight: 550;
    line-height: 1.5;
}

.safety-notice {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px;
    background: #eef8f5;
    border: 1px solid rgba(22, 135, 107, 0.25);
    border-left: 5px solid #16876b;
    border-radius: 16px;
}

.safety-symbol {
    display: grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    color: var(--white);
    background: #16876b;
    border-radius: 50%;
    place-items: center;
    font-size: 1rem;
    font-weight: 850;
}

.safety-notice h2,
.safety-notice p { margin: 0; }

.safety-notice h2 {
    color: var(--blue-deep);
    font-size: 1rem;
    line-height: 1.3;
}

.safety-notice p {
    margin-top: 4px;
    color: var(--ink);
    font-size: 0.88rem;
    line-height: 1.48;
}

.guide-steps {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.guide-step {
    padding: 17px 16px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: 0 4px 14px rgba(17, 47, 135, 0.05);
}

.guide-step h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    color: var(--blue);
    font-size: 1rem;
    line-height: 1.3;
    font-weight: 800;
}

.step-number {
    display: grid;
    flex: 0 0 auto;
    width: 30px;
    height: 30px;
    color: var(--blue-deep);
    background: rgba(80, 216, 175, 0.28);
    border-radius: 9px;
    place-items: center;
    font-size: 0.88rem;
}

.guide-checklist {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding: 0;
    list-style: none;
}

.guide-checklist li {
    position: relative;
    padding-left: 24px;
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.4;
}

.guide-checklist li::before {
    position: absolute;
    top: 0.02em;
    left: 0;
    color: #16876b;
    content: "✓";
    font-weight: 850;
}

.step-note {
    margin: 14px 0 0;
    padding: 10px 12px;
    color: var(--muted);
    background: #f7f9fc;
    border-radius: 10px;
    font-size: 0.82rem;
    font-weight: 600;
    line-height: 1.45;
}

.guide-step-final {
    background: linear-gradient(135deg, #f5f9ff 0%, #f2fbf8 100%);
    border-color: rgba(17, 47, 135, 0.14);
}

.guide-step-final p {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.5;
}

.guide-step-copy {
    margin: 12px 0 0;
    color: var(--ink);
    font-size: 0.9rem;
    line-height: 1.5;
}

.theft-final-step { border-left: 5px solid #7650a8; }

.theft-final-step .theft-deadline {
    padding: 11px 12px;
    color: var(--blue-deep);
    background: rgba(118, 80, 168, 0.1);
    border-radius: 10px;
    font-weight: 700;
}

.theft-deadline strong {
    color: #674297;
    font-size: 1.12em;
    white-space: nowrap;
}

@media (max-width: 639px) {
    .service-shell { padding-inline: 10px; }

    .brand {
        display: flex;
        width: fit-content;
        margin-inline: auto;
    }

}

@media (min-width: 640px) {
    .service-shell { padding: 32px; }

    .service-card {
        padding: 30px 34px 26px;
        border-radius: 30px;
    }

    .service-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
    }

    .intro { padding: 16px 0 18px; }

    .actions { grid-template-columns: repeat(2, minmax(0, 1fr)); }

    .assistance-view { padding-top: 16px; }

    .phone-view { padding-top: 28px; }

    .claim-guide-view { padding-top: 20px; }

    .guide-intro { padding: 24px 0 20px; }

    .guide-step { padding: 20px; }

    .guide-checklist {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
    }

    .guide-step-final p { padding-left: 40px; }

    .assistance-intro { padding: 14px 0 14px; }

    .companies {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 12px;
        row-gap: 10px;
    }

    .company-card {
        min-height: 96px;
        padding: 10px;
    }

    .company-logo-frame { height: 70px; }

    .company-logo { max-height: 63px; }

    .logo-rus,
    .logo-provincia,
    .logo-sancor,
    .logo-digna { max-height: 68px; }

    .logo-federacion { max-height: 72px; }

    .phone-panel {
        margin-top: 28px;
        padding: 46px 30px;
    }

}

@media (max-width: 359px) {
    .service-card { padding-inline: 14px; }
    .companies { grid-template-columns: 1fr; }

    .company-card { min-height: 94px; }

    .company-logo-frame { height: 66px; }

    .company-logo {
        max-width: 82%;
        max-height: 58px;
    }

    .logo-federacion { max-width: 62%; max-height: 64px; }

    .phone-navigation .back-button {
        padding-inline: 9px;
        font-size: 0.78rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .action-button,
    .company-card,
    .call-button { transition: none; }
}
