/* =========================================================
   VARIABLES
   ========================================================= */

:root {
    --green: #06452f;
    --deep: #023121;
    --gold: #f2c45d;
    --ink: #153f30;
    --cream: #fbfaf6;
    --muted: #52635b;
}


/* =========================================================
   RESET / BASE
   ========================================================= */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background: var(--cream);
    color: #173b2e;
    font: 16px "DM Sans", Arial, sans-serif;
}

h1,
h2,
h3 {
    margin: 0;
}

h1 {
    font-family: "Playfair Display", Georgia, serif;
}

.s-shell {
    width: min(1320px, calc(100% - 48px));
    margin: auto;
}



/* =========================================================
   HERO / PORTADA
   ========================================================= */

.claims-hero {
    position: relative;
    isolation: isolate;
    min-height: 390px;
    overflow: hidden;
    background: var(--deep);
    color: #fff;
}

/* Imagen de fondo */

.hero-photo {
    position: absolute;
    inset: 0;
    z-index: -3;

    background: url("../img/siniestros.jpg")
        center / cover no-repeat;
}

/* Capa sobre la imagen */

.hero-wash {
    position: absolute;
    inset: 0;
    z-index: -2;

    background:
        linear-gradient(
            90deg,
            rgba(2, 51, 35, 0.98) 0%,
            rgba(3, 76, 52, 0.95) 42%,
            rgba(2, 43, 30, 0.32) 78%
        ),
        radial-gradient(
            circle at 27% 5%,
            rgba(42, 143, 99, 0.3),
            transparent 32%
        );
}

/* Contenido */

.hero-content {
    min-height: 390px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    padding: 35px 0;
}

.hero-copy {
    max-width: 780px;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 0 0 6px;

    color: #f9d56f;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-label span {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
}



/* Descripción */

.intro {
    max-width: 630px;
    margin: 16px 0 20px;
    line-height: 1.55;
}

.intro strong {
    font-size: 1.03rem;
}

/* Botón WhatsApp */

.whatsapp-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    padding: 13px 24px;
    border-radius: 999px;

    background: linear-gradient(135deg, #ffdd7f, #edbd52);
    color: #153b2c;

    font-weight: 700;
    text-decoration: none;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.22);
}

.whatsapp-button i {
    font-size: 1.35rem;
}

.privacy {
    margin: 13px 0 0;
    font-size: 0.82rem;
}

.privacy i {
    margin-right: 7px;
    color: var(--gold);
}


/* =========================================================
   HORARIO / ATENCIÓN
   ========================================================= */

.hours-card {
    width: 198px;
    flex: 0 0 198px;

    padding: 22px 20px;
    border-radius: 16px;

    background: rgba(255, 255, 255, 0.93);
    color: #203c31;

    box-shadow: 0 16px 35px rgba(0, 0, 0, 0.25);
}



.hours-card h2 {
    margin: 7px 0 12px;
    font-size: 0.9rem;
}

.hours-card p {
    margin: 8px 0;
    font-size: 0.82rem;
    line-height: 1.45;
}


/* =========================================================
   GUÍA DE ACCIÓN DURANTE UN SINIESTRO
   ========================================================= */

.claim-process { padding: 8px 0 0; }
.claim-process__heading { max-width: 680px; margin-bottom: 22px; }
.claim-process__heading h2 { color: #123629; font-size: clamp(1.8rem, 3vw, 2.35rem); letter-spacing: -.025em; }
.claim-process__heading > p:last-child { margin: 8px 0 0; color: #53675e; line-height: 1.6; }
.claim-process__steps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; margin: 0; padding: 0; list-style: none; }
.claim-process__step { display: grid; grid-template-columns: 42px 1fr; align-items: start; gap: 14px; min-height: 164px; padding: 21px; border: 1px solid #e1e9e4; border-radius: 15px; background: #fff; box-shadow: 0 8px 24px rgba(19,52,37,.05); }
.claim-process__number { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; background: #0c6b48; font-size: .82rem; font-weight: 800; }
.claim-process__step h3 { margin: 2px 0 8px; color: #17382a; font-size: 1rem; }
.claim-process__step p { margin: 0; color: #53675e; font-size: .9rem; line-height: 1.6; }
.claim-process__step a { color: #075b40; font-weight: 800; text-decoration: underline; text-underline-offset: 2px; white-space: nowrap; }
.claim-process__step a:focus-visible { outline: 3px solid #dfa82e; outline-offset: 3px; }

@media (max-width: 760px) {
    .claim-process { padding-top: 8px; }
    .claim-process__steps { grid-template-columns: 1fr; }
    .claim-process__step { min-height: 0; padding: 18px; }
}

/* =========================================================
   CONTACTO URGENTE
   ========================================================= */

.urgent-support {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin: 38px auto 58px;
    padding: 26px 30px;
    border: 1px solid #dce7e1;
    border-left: 5px solid #0a694d;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(7, 53, 38, 0.07);
}

.urgent-support__copy .directory-kicker { margin: 0 0 7px; }
.urgent-support__copy h2 { color: #134733; font-size: clamp(1.25rem, 2vw, 1.65rem); }
.urgent-support__copy > p:last-child { margin: 8px 0 0; color: #52635b; line-height: 1.5; }
.urgent-support__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.urgent-support__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 46px;
    padding: 0 17px;
    border: 1px solid #0a694d;
    border-radius: 9px;
    color: #075b40;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.urgent-support__actions .urgent-support__whatsapp { background: #08734e; color: #fff; }
.urgent-support__actions a:hover { filter: brightness(.95); }
.urgent-support__actions a:focus-visible { outline: 3px solid #dfa82e; outline-offset: 3px; }

@media (max-width: 760px) {
    .urgent-support { align-items: stretch; flex-direction: column; margin: 28px auto 42px; padding: 22px; }
    .urgent-support__actions { display: grid; grid-template-columns: 1fr; }
}

/* =========================================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================================= */

.floating-whatsapp {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 5;

    display: grid;
    place-items: center;

    width: 54px;
    height: 54px;

    border-radius: 50%;

    background: #25d366;
    color: #fff;

    font-size: 1.7rem;

    box-shadow: 0 9px 24px rgba(7, 85, 45, 0.32);
}


/* =========================================================
   RESPONSIVE - MÓVIL
   ========================================================= */

@media (max-width: 760px) {

    .s-shell {
        width: min(100% - 32px, 600px);
    }

/* Hero */

    .hero-content {
        min-height: 560px;

        align-items: flex-start;
        flex-direction: column;

        padding: 50px 0 32px;
    }

    .hours-card {
        width: min(100%, 330px);
        flex-basis: auto;
    }

    .hero-wash {
        background:
            linear-gradient(
                180deg,
                rgba(2, 51, 35, 0.97),
                rgba(3, 76, 52, 0.83)
            );
    }
}

/* =========================================================
   RESPONSIVE - MÓVIL PEQUEÑO
   ========================================================= */
@media (max-width: 430px) {
    h1 { font-size: 2.6rem; }
    .whatsapp-button { padding: 13px 17px; font-size: 0.84rem; }
}
/* Componentes propios de la página de siniestros */
.claims-hero .hero-content { position: relative; z-index: 1; }
.headset {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #e7f2eb;
    color: #0a694d;
    font-size: 1.55rem;
}
.section-claims-alert,
.claims-alert {
    background: #fff6dc;
    border-bottom: 1px solid #f0dfaa;
}
.claims-alert__content {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    padding: 18px 0;
}
.claims-alert__icon { color: #a87512; font-size: 1.7rem; }
.claims-alert__content p { margin: 0; color: #514728; line-height: 1.5; }
.claims-alert__content a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #075b40;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}
.whatsapp-button:hover, .claims-alert__content a:hover { filter: brightness(.96); }
.whatsapp-button:focus-visible, .claims-alert__content a:focus-visible, .floating-whatsapp:focus-visible { outline: 3px solid #dfa82e; outline-offset: 3px; }

.floating-whatsapp { display: grid; text-decoration: none; }

@media (max-width: 760px) {
    .claims-alert__content { grid-template-columns: auto 1fr; gap: 10px 14px; }
    .claims-alert__content a { grid-column: 2; }
    .hero-copy { width: 100%; }
    .claims-hero h1 { font-size: clamp(2.2rem, 10vw, 3rem); }

}

@media (max-width: 430px) {
    .claims-alert__content { grid-template-columns: 1fr; }
    .claims-alert__icon { display: none; }
    .claims-alert__content a { grid-column: 1; }
}
/* Hero de siniestros: una capa degradada sobre la fotografía y texto más legible. */
.claims-hero .hero-wash {
    background:
        linear-gradient(105deg, rgba(2, 41, 28, .97) 0%, rgba(3, 76, 52, .88) 48%, rgba(3, 76, 52, .48) 100%),
        radial-gradient(circle at 30% 8%, rgba(242, 196, 93, .14), transparent 38%);
}
.claims-hero h1 {
    max-width: 780px;
    font-size: clamp(2.8rem, 4.7vw, 4.6rem);
    line-height: 1.08;
    letter-spacing: -.015em;
    word-spacing: .035em;
    text-wrap: balance;
}
.claims-hero .intro {
    letter-spacing: .01em;
    word-spacing: .025em;
    line-height: 1.65;
}
.hours-card {
    width: 238px;
    flex-basis: 238px;
    padding: 27px 25px;
}
.hours-card h2 { font-size: 1rem; line-height: 1.3; }
.hours-card p { font-size: .9rem; line-height: 1.55; }
.headset { width: 54px; height: 54px; }
@media (max-width: 760px) {
    .claims-hero .hero-wash {
        background: linear-gradient(180deg, rgba(2, 41, 28, .94), rgba(3, 76, 52, .74));
    }
    .claims-hero h1 { font-size: clamp(2.3rem, 9vw, 3.2rem); }
    .hours-card { width: min(100%, 350px); }
}
@media (max-width: 430px) {
    .claims-hero h1 { font-size: clamp(2.15rem, 9vw, 2.7rem); }
}

/* Directorio de aseguradoras y fichas de emergencia */
.insurer-directory { padding-block: clamp(26px, 3.5vw, 42px) 14px; }
.insurer-heading { display:flex; justify-content:flex-start; align-items:end; gap:28px; margin-bottom:20px; }
.directory-kicker { margin:0 0 8px; color:#16845b; font-size:.76rem; font-weight:800; letter-spacing:.13em; }
.insurer-heading h2 { margin:0 0 10px; color:#123629; font-size:clamp(1.9rem,3.5vw,2.8rem); letter-spacing:-.035em; }
.insurer-heading > div:first-child > p:last-child { max-width:650px; margin:0; color:#53675e; line-height:1.65; }
.insurer-carousel { display:grid; grid-template-columns:44px minmax(0,1fr) 44px; align-items:center; gap:12px; }
.insurer-track { display:grid; grid-auto-columns:minmax(245px,1fr); grid-auto-flow:column; gap:16px; overflow-x:auto; overscroll-behavior-inline:contain; scroll-snap-type:x mandatory; scrollbar-width:none; padding:5px 2px 14px; }
.insurer-track::-webkit-scrollbar { display:none; }
.insurer-card { min-height:255px; display:flex; flex-direction:column; align-items:flex-start; padding:22px; border:1px solid #e1e9e4; border-radius:18px; background:#fff; box-shadow:0 12px 35px rgba(19,52,37,.07); scroll-snap-align:start; }
.insurer-card[hidden] { display:none; }
.insurer-logo { width:72px; height:58px; display:grid; place-items:center; padding:8px; border:1px solid #eef2ef; border-radius:13px; background:#fff; }
.insurer-logo img { display:block; max-width:100%; max-height:100%; object-fit:contain; }
.insurer-logo-button { display:inline-grid; padding:0; border:0; border-radius:14px; background:transparent; cursor:pointer; }
.insurer-logo-button:hover .insurer-logo { border-color:#a9cbb6; box-shadow:0 5px 16px rgba(17,88,53,.12); }
.insurer-type { margin:15px 0 5px; color:#16845b; font-size:.72rem; font-weight:800; letter-spacing:.055em; text-transform:uppercase; }
.insurer-card h3 { margin:0 0 8px; color:#17382a; font-size:1.22rem; }
.insurer-card > p:not(.insurer-type) { margin:0 0 18px; color:#596c62; font-size:.91rem; line-height:1.5; }
.insurer-card > button { display:flex; justify-content:space-between; align-items:center; width:100%; margin-top:auto; padding:12px 14px; border:0; border-radius:10px; color:#fff; background:#0c6b48; font:inherit; font-size:.87rem; font-weight:750; cursor:pointer; }
.insurer-card > button:hover { background:#084b35; }
.insurer-card > .insurer-logo-button { display:inline-grid; width:auto; margin:0; padding:0; border-radius:14px; background:transparent; }
.insurer-card > .insurer-logo-button:hover { background:transparent; }
.insurer-arrow { width:42px; height:42px; border:1px solid #dbe6df; border-radius:50%; color:#0c6b48; background:#fff; font-size:1.25rem; cursor:pointer; }
.insurer-arrow:hover { color:#fff; background:#0c6b48; }
.insurer-dots { display:flex; justify-content:center; gap:8px; margin:10px 0 12px; }
.insurer-dots button { width:8px; height:8px; padding:0; border:0; border-radius:20px; background:#c7d5cc; cursor:pointer; transition:width .2s,background .2s; }
.insurer-dots button.is-active { width:24px; background:#0c6b48; }
.emergency-panel { padding:clamp(22px,4vw,38px); border:1px solid #dce8e0; border-radius:22px; color:#20382d; background:linear-gradient(145deg,#fff 0%,#f6faf7 100%); box-shadow:0 22px 60px rgba(13,60,39,.12); scroll-margin-top:28px; }
.emergency-panel[hidden] { display:none; }
.emergency-panel__top { display:flex; justify-content:space-between; align-items:flex-start; gap:20px; padding-bottom:22px; border-bottom:1px solid #e3ebe5; }
.emergency-brand { display:flex; align-items:center; gap:17px; }
.emergency-brand .insurer-logo { flex:0 0 76px; width:76px; height:68px; border-radius:15px; }
.emergency-brand .directory-kicker { margin-bottom:4px; }
.emergency-brand h2 { margin:0 0 4px; color:#17382a; font-size:clamp(1.3rem,2.4vw,1.8rem); }
.emergency-brand p:last-child { margin:0; color:#5b6e63; line-height:1.5; }
.emergency-close { flex:0 0 40px; width:40px; height:40px; border:1px solid #dbe6df; border-radius:50%; color:#315342; background:#fff; font-size:1.6rem; line-height:1; cursor:pointer; }
.emergency-content { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr)); align-items:start; gap:10px; padding-top:14px; }
.emergency-resource { align-self:start; padding:14px 16px; border:1px solid #e3ebe5; border-radius:14px; background:#fff; }
.emergency-resource--wide { grid-column:1/-1; }
.emergency-resource h3 { margin:0 0 8px; color:#163c2b; font-size:1rem; }
.emergency-resource p { margin:0; color:#465c50; line-height:1.55; }
.emergency-resource ul { margin:8px 0 0; padding-left:20px; color:#465c50; line-height:1.7; }
.emergency-links { grid-column:1/-1; display:flex; flex-wrap:wrap; gap:10px; padding-top:3px; }
.emergency-links a { display:inline-flex; padding:10px 14px; border-radius:9px; color:#075b40; background:#e9f4ed; font-size:.88rem; font-weight:750; text-decoration:none; }
.emergency-links a:hover { background:#d9ecdf; }
.emergency-note { display:flex; align-items:flex-start; gap:9px; margin:18px 0 0; padding:13px 15px; border-radius:11px; color:#5b4a26; background:#fff6df; font-size:.84rem; line-height:1.55; }
.emergency-note i { margin-top:3px; color:#9d741b; }
.directory-footnote { margin:10px 0 0; color:#78877e; text-align:center; font-size:.78rem; }
@media (max-width:760px) {
    .insurer-heading { align-items:flex-start; flex-direction:column; }
    .insurer-track { grid-auto-columns:minmax(230px,78%); }
    .insurer-carousel { grid-template-columns:34px minmax(0,1fr) 34px; gap:6px; }
    .insurer-arrow { width:34px; height:34px; }
    .emergency-content { grid-template-columns:1fr; }
    .emergency-links { grid-column:1; }
}
@media (max-width:430px) {
    .insurer-track { grid-auto-columns:minmax(205px,88%); }
    .emergency-brand { align-items:flex-start; gap:11px; }
    .emergency-brand .insurer-logo { flex-basis:60px; width:60px; height:56px; }
    .emergency-panel { padding:18px; }
}
@media (prefers-reduced-motion:reduce) { .insurer-track { scroll-behavior:auto; } }

.emergency-format-link { display:inline-flex; margin-top:12px; padding:9px 12px; border:1px solid #b6ddc8; border-radius:9px; color:#075d3c; background:#eff9f3; font-size:.88rem; font-weight:750; text-decoration:none; }
.emergency-format-link:hover { color:#fff; background:#0c6b48; border-color:#0c6b48; }
.emergency-format-link:focus-visible { outline:3px solid #dfa82e; outline-offset:3px; }

.emergency-resource p { white-space:pre-line; }
.emergency-note strong { color:#62460b; }



