/* ================================================================
   EMPY — Landing moderna
   Paleta: rojo emergencia + amarillo alerta + neutros
================================================================ */

:root {
    --red-600: #e30613;
    --red-700: #c00510;
    --red-800: #8f030c;
    --yellow: #ffd400;
    --yellow-soft: #fff2a8;

    --ink-900: #0f1115;
    --ink-800: #1a1d23;
    --ink-700: #363a44;
    --ink-500: #6b7280;
    --ink-400: #9aa1ac;
    --ink-200: #e5e7eb;
    --ink-100: #f3f4f6;
    --ink-50:  #f9fafb;
    --white:   #ffffff;

    --shadow-sm: 0 1px 2px rgba(15, 17, 21, 0.06), 0 1px 3px rgba(15, 17, 21, 0.08);
    --shadow-md: 0 8px 24px -6px rgba(15, 17, 21, 0.12), 0 4px 8px -4px rgba(15, 17, 21, 0.06);
    --shadow-lg: 0 24px 48px -12px rgba(15, 17, 21, 0.18), 0 8px 16px -8px rgba(15, 17, 21, 0.08);
    --shadow-red: 0 12px 32px -8px rgba(227, 6, 19, 0.45);

    --radius-sm: 8px;
    --radius: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;

    --container: 1200px;
    --header-h: 72px;

    --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Poppins', 'Inter', sans-serif;
}

/* Reset ligero */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: var(--font-sans);
    color: var(--ink-800);
    background: var(--white);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; }
h1, h2, h3, h4 { font-family: var(--font-display); line-height: 1.15; letter-spacing: -0.02em; }
ul { list-style: none; padding: 0; }

.container {
    width: 100%;
    max-width: var(--container);
    padding-inline: clamp(1.1rem, 3vw, 2rem);
    margin-inline: auto;
}

.text-accent { color: var(--red-600); }
.text-hl {
    background: linear-gradient(120deg, var(--yellow) 0%, #ffe45c 100%);
    background-repeat: no-repeat;
    background-size: 100% 45%;
    background-position: 0 82%;
    padding: 0 4px;
}

/* =========== TOP BAR =========== */
.top-bar {
    background: var(--ink-900);
    color: var(--ink-200);
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.top-bar__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}
.top-bar__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--ink-400);
}
.top-bar__item svg { color: var(--yellow); }
.top-bar__phones {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
}
.top-bar__phone {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--white);
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: color .2s;
}
.top-bar__phone svg { color: var(--red-600); }
.top-bar__phone:hover { color: var(--yellow); }
.top-bar__phone + .top-bar__phone { position: relative; padding-left: 14px; }
.top-bar__phone + .top-bar__phone::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 14px;
    background: rgba(255, 255, 255, 0.18);
}

/* =========== HEADER =========== */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 1px solid transparent;
    transition: border-color .25s, box-shadow .25s, background .25s;
}
.header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    border-bottom-color: var(--ink-200);
    box-shadow: var(--shadow-sm);
}
.header__inner {
    height: var(--header-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
}
.brand__logo {
    height: 44px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,.15));
}
.brand__text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.brand__text strong {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -0.01em;
}
.brand__text em {
    font-style: normal;
    font-size: 11px;
    color: var(--ink-500);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.nav {
    display: flex;
    align-items: center;
    gap: 6px;
}
.nav__link {
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 500;
    color: var(--ink-700);
    transition: color .2s, background .2s;
}
.nav__link:hover { color: var(--red-600); background: var(--ink-100); }
.nav__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 10px;
    padding: 10px 18px;
    background: var(--red-600);
    color: var(--white);
    border-radius: 999px;
    font-weight: 600;
    box-shadow: var(--shadow-red);
    transition: transform .15s, background .2s;
}
.nav__cta:hover { background: var(--red-700); transform: translateY(-1px); }
.nav__cta:active { transform: translateY(0); }

.nav-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--ink-100);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}
.nav-toggle span {
    width: 20px;
    height: 2px;
    background: var(--ink-900);
    border-radius: 2px;
    transition: transform .25s, opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =========== BOTONES =========== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 22px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 15px;
    transition: transform .15s, background .2s, box-shadow .2s, color .2s;
    white-space: nowrap;
}
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--block { display: flex; width: 100%; }
.btn--primary {
    background: var(--red-600);
    color: var(--white);
    box-shadow: var(--shadow-red);
}
.btn--primary:hover { background: var(--red-700); transform: translateY(-2px); }
.btn--ghost {
    background: transparent;
    color: var(--ink-900);
    border: 1.5px solid var(--ink-200);
}
.btn--ghost:hover { border-color: var(--ink-900); background: var(--ink-900); color: var(--white); }
.btn--outline {
    background: transparent;
    color: var(--red-600);
    border: 1.5px solid var(--red-600);
}
.btn--outline:hover { background: var(--red-600); color: var(--white); }
.btn--white {
    background: var(--white);
    color: var(--red-600);
    box-shadow: var(--shadow-md);
}
.btn--white:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

/* =========== HERO =========== */
.hero {
    position: relative;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(4rem, 8vw, 7rem);
    overflow: hidden;
    background: linear-gradient(180deg, #fff 0%, #fff9e6 100%);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero__stripes {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 60%;
    height: 140%;
    background: repeating-linear-gradient(
        115deg,
        transparent 0 24px,
        rgba(255, 212, 0, 0.35) 24px 30px,
        transparent 30px 54px,
        rgba(227, 6, 19, 0.10) 54px 60px
    );
    transform: rotate(-8deg);
    filter: blur(0.3px);
    opacity: .55;
    mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at 60% 40%, #000 30%, transparent 75%);
}
.hero__glow {
    position: absolute;
    bottom: -40%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(227, 6, 19, 0.10) 0%, transparent 60%);
    filter: blur(30px);
}

.hero__inner {
    position: relative;
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.hero__content { max-width: 640px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(227, 6, 19, 0.08);
    color: var(--red-700);
    font-weight: 600;
    font-size: 13px;
    margin-bottom: 22px;
}
.badge__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--red-600);
    box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.18);
    animation: pulse 1.6s infinite;
}
@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 4px rgba(227, 6, 19, 0.18); }
    50%      { box-shadow: 0 0 0 8px rgba(227, 6, 19, 0);    }
}

.hero__title {
    font-size: clamp(2.2rem, 5.2vw, 3.75rem);
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 20px;
}
.hero__lead {
    font-size: clamp(1.02rem, 1.4vw, 1.15rem);
    color: var(--ink-700);
    max-width: 560px;
    margin-bottom: 32px;
}
.hero__lead strong { color: var(--ink-900); }

/* Bloque destacado de teléfonos de emergencia (hero) */
.emergency-phones {
    position: relative;
    margin: 8px 0 28px;
    padding: 22px 22px 18px;
    background: linear-gradient(135deg, #fff 0%, #fff9e6 100%);
    border: 1.5px solid rgba(227, 6, 19, 0.18);
    border-radius: var(--radius-lg);
    box-shadow: 0 18px 40px -18px rgba(227, 6, 19, 0.35);
    overflow: hidden;
}
.emergency-phones::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(
            115deg,
            transparent 0 22px,
            rgba(227, 6, 19, 0.05) 22px 24px,
            transparent 24px 46px
        );
    pointer-events: none;
    opacity: .8;
}
.emergency-phones__label {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--red-700);
    margin-bottom: 12px;
}
.emergency-phones__grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}
.emergency-phone {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    color: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-red);
    transition: transform .2s, box-shadow .2s;
}
.emergency-phone:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 32px -10px rgba(227, 6, 19, 0.55);
}
.emergency-phone svg { flex-shrink: 0; opacity: .95; }
.emergency-phone__code {
    display: block;
    font-size: 12px;
    letter-spacing: 0.08em;
    opacity: 0.85;
    line-height: 1;
    margin-bottom: 2px;
}
.emergency-phone__num {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.55rem, 2.6vw, 1.9rem);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1;
}
.emergency-phones__foot {
    position: relative;
    display: block;
    margin-top: 14px;
    font-size: 13.5px;
    color: var(--ink-700);
}
.emergency-phones__foot a {
    color: var(--ink-900);
    font-weight: 700;
    border-bottom: 1px dashed var(--ink-400);
    transition: color .2s, border-color .2s;
}
.emergency-phones__foot a:hover { color: var(--red-600); border-color: var(--red-600); }

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 40px;
}

.hero__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 28px;
    border-top: 1px solid rgba(15, 17, 21, 0.10);
}
.hero__stats li { display: flex; flex-direction: column; gap: 2px; }
.hero__stats strong {
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: var(--red-600);
    font-weight: 800;
}
.hero__stats span {
    font-size: 12.5px;
    color: var(--ink-500);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* Hero visual card */
.hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}
.pulse-card {
    width: 100%;
    max-width: 420px;
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 24px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--ink-200);
    position: relative;
    z-index: 2;
}
.pulse-card::before {
    content: '';
    position: absolute;
    inset: -14px;
    background: linear-gradient(135deg, var(--red-600), var(--yellow));
    border-radius: calc(var(--radius-xl) + 14px);
    opacity: 0.12;
    z-index: -1;
    filter: blur(10px);
}
.pulse-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--ink-100);
    margin-bottom: 16px;
}
.pulse-card__title {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    color: var(--ink-900);
}
.pulse-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #16a34a;
    box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.2);
    animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 0 4px rgba(22, 163, 74, 0.25); }
    50%      { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0);    }
}
.pulse-card__time { font-size: 12px; color: var(--ink-500); font-weight: 500; }

.pulse-card__row {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 0;
}
.pulse-card__row + .pulse-card__row { border-top: 1px solid var(--ink-100); }
.pulse-card__row strong { display: block; font-weight: 700; color: var(--ink-900); font-size: 15px; }
.pulse-card__row span { font-size: 13px; color: var(--ink-500); }

.pulse-card__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    flex-shrink: 0;
}
.pulse-card__icon--red { background: rgba(227, 6, 19, 0.10); color: var(--red-600); }
.pulse-card__icon--yellow { background: rgba(255, 212, 0, 0.20); color: #b58500; }

.pulse-card__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 16px;
    padding: 10px 14px;
    background: var(--ink-100);
    border-radius: 10px;
    font-size: 13px;
    color: var(--ink-700);
    font-weight: 500;
    width: 100%;
    justify-content: center;
}
.live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--red-600);
    animation: pulse 1.5s infinite;
}

/* =========== SECCIÓN GENÉRICA =========== */
.section {
    padding: clamp(4rem, 8vw, 6.5rem) 0;
}
.section--alt {
    background: linear-gradient(180deg, var(--ink-50), var(--white));
}
.section__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(2.5rem, 5vw, 4rem);
}
.section__eyebrow {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: var(--red-600);
    margin-bottom: 12px;
}
.section__title {
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: var(--ink-900);
    margin-bottom: 14px;
}
.section__lead {
    font-size: clamp(1rem, 1.3vw, 1.1rem);
    color: var(--ink-500);
}

/* =========== GRID / SERVICIOS =========== */
.grid { display: grid; gap: 22px; }
.grid--services { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.service-card {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    transition: transform .25s, box-shadow .25s, border-color .25s;
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 90px;
    height: 90px;
    background: radial-gradient(circle at top right, rgba(255, 212, 0, 0.20), transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity .3s;
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: transparent;
}
.service-card:hover::after { opacity: 1; }
.service-card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    color: var(--white);
    margin-bottom: 20px;
    box-shadow: var(--shadow-red);
}
.service-card h3 {
    font-size: 20px;
    color: var(--ink-900);
    margin-bottom: 8px;
    font-weight: 700;
}
.service-card p { color: var(--ink-500); font-size: 15px; }

/* =========== PLANES =========== */
.grid--plans {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    max-width: 1050px;
    margin: 0 auto;
    align-items: stretch;
}
.plan {
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius-lg);
    padding: 32px 26px;
    display: flex;
    flex-direction: column;
    transition: transform .25s, box-shadow .25s;
    position: relative;
}
.plan:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.plan--featured {
    background: linear-gradient(180deg, #fff 0%, #fff9e6 100%);
    border-color: var(--yellow);
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
}
.plan--featured:hover { transform: translateY(-12px); }
.plan__badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--red-600);
    color: var(--white);
    padding: 6px 16px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    box-shadow: var(--shadow-red);
}
.plan__head {
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--ink-200);
}
.plan__head h3 {
    font-size: 26px;
    color: var(--ink-900);
    margin-bottom: 4px;
    font-weight: 800;
}
.plan__head p { color: var(--ink-500); font-size: 14px; }
.plan__list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}
.plan__list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--ink-700);
    font-size: 15px;
    padding-left: 26px;
    position: relative;
}
.plan__list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 4px;
    width: 18px;
    height: 18px;
    background: var(--red-600);
    -webkit-mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center/contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill='%23000' d='M9 16.2L4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4L9 16.2z'/%3E%3C/svg%3E") center/contain no-repeat;
}

/* =========== NOSOTROS =========== */
.about {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}
.about__media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}
.about__frame {
    position: relative;
    width: 100%;
    max-width: 380px;
    aspect-ratio: 4 / 5;
    border-radius: var(--radius-xl);
    background:
        radial-gradient(circle at 20% 30%, rgba(255, 212, 0, 0.15), transparent 55%),
        linear-gradient(160deg, var(--red-600), var(--red-800));
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 30px;
}
.about__frame::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        115deg,
        transparent 0 30px,
        rgba(255, 212, 0, 0.13) 30px 36px,
        transparent 36px 66px
    );
    mix-blend-mode: overlay;
}
.about__badge {
    position: absolute;
    top: 24px;
    left: 24px;
    background: var(--white);
    padding: 18px 22px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}
.about__badge strong {
    display: block;
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 800;
    color: var(--red-600);
    line-height: 1;
}
.about__badge span {
    display: block;
    font-size: 12px;
    color: var(--ink-700);
    margin-top: 6px;
    font-weight: 500;
}
.about__pulse {
    position: relative;
    width: 100%;
    color: var(--yellow);
    z-index: 1;
}
.about__pulse svg { filter: drop-shadow(0 2px 4px rgba(0,0,0,.3)); }

.about__content { max-width: 560px; }
.about__content h2 { margin: 8px 0 20px; }
.about__content p { color: var(--ink-500); font-size: 1.05rem; margin-bottom: 24px; }

.feature-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.feature-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--ink-800);
    font-weight: 500;
}
.feature-list svg {
    color: var(--white);
    background: var(--red-600);
    padding: 6px;
    border-radius: 50%;
    width: 26px;
    height: 26px;
    flex-shrink: 0;
}

/* =========== CTA STRIP =========== */
.cta-strip {
    background:
        radial-gradient(circle at 90% 10%, rgba(255, 212, 0, 0.20), transparent 40%),
        linear-gradient(120deg, var(--red-700), var(--red-600));
    color: var(--white);
    padding: clamp(2.5rem, 5vw, 3.5rem) 0;
    position: relative;
    overflow: hidden;
}
.cta-strip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        115deg,
        transparent 0 24px,
        rgba(255, 255, 255, 0.06) 24px 26px,
        transparent 26px 50px
    );
    pointer-events: none;
}
.cta-strip__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    position: relative;
    flex-wrap: wrap;
}
.cta-strip__text { max-width: 520px; }
.cta-strip h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    margin-bottom: 6px;
}
.cta-strip p { color: rgba(255, 255, 255, 0.85); }
.cta-strip__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    position: relative;
}
.cta-strip__btn {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: 0.01em;
    font-size: 17px;
}

/* =========== CONTACTO =========== */
.contact {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 32px;
    align-items: stretch;
}
.contact__info { display: flex; flex-direction: column; gap: 14px; }
.contact__card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 20px 22px;
    background: var(--white);
    border: 1px solid var(--ink-200);
    border-radius: var(--radius);
    transition: border-color .2s, transform .2s, box-shadow .2s;
    color: var(--ink-800);
}
a.contact__card:hover {
    border-color: var(--red-600);
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
}
.contact__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--red-600), var(--red-700));
    color: var(--white);
    flex-shrink: 0;
}
.contact__label {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--ink-500);
    margin-bottom: 4px;
    font-weight: 600;
}
.contact__card strong {
    display: block;
    color: var(--ink-900);
    font-size: 17px;
    font-weight: 700;
}
.contact__sub {
    display: block;
    font-size: 13px;
    color: var(--ink-500);
    margin-top: 2px;
}

.contact__card--emergency {
    background: linear-gradient(135deg, #fff 0%, #fff9e6 100%);
    border-color: rgba(227, 6, 19, 0.28);
    box-shadow: 0 12px 28px -14px rgba(227, 6, 19, 0.35);
}
.contact__card--emergency .contact__label { color: var(--red-700); }
.contact__phones {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 20px;
    margin-top: 4px;
}
.contact__phones a {
    display: inline-flex;
    align-items: center;
    transition: color .15s;
}
.contact__phones a strong {
    font-family: var(--font-display);
    font-size: clamp(1.2rem, 2vw, 1.5rem);
    color: var(--red-600);
    font-weight: 800;
    letter-spacing: 0.01em;
    line-height: 1.1;
}
.contact__phones a:hover strong { color: var(--red-700); }
.contact__map {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--ink-200);
    min-height: 380px;
    background: var(--ink-100);
}
.contact__map iframe {
    width: 100%;
    height: 100%;
    min-height: 380px;
    border: 0;
    display: block;
}

/* =========== FOOTER =========== */
.footer {
    background: var(--ink-900);
    color: var(--ink-400);
    padding-top: 60px;
}
.footer__inner {
    display: grid;
    grid-template-columns: 1.3fr 2fr;
    gap: 3rem;
    padding-bottom: 40px;
}
.footer__brand p { max-width: 340px; margin-top: 16px; font-size: 14px; }
.footer__logo { height: 48px; width: auto; }
.footer__cols {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.footer__phone-hl {
    font-family: var(--font-display);
    font-weight: 800;
    color: var(--yellow) !important;
    letter-spacing: 0.01em;
    font-size: 16px !important;
}
.footer__phone-hl:hover { color: var(--white) !important; }
.footer__cols h4 {
    color: var(--white);
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
    font-family: var(--font-sans);
    font-weight: 700;
}
.footer__cols a, .footer__cols span {
    display: block;
    padding: 4px 0;
    font-size: 14.5px;
    color: var(--ink-400);
    transition: color .2s;
}
.footer__cols a:hover { color: var(--yellow); }
.footer__bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    font-size: 13px;
}
.footer__bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}
.footer__note { color: var(--ink-500); }
.footer__credit { color: var(--ink-500); }
.footer__credit a {
    color: var(--yellow);
    font-weight: 600;
    transition: color .2s;
}
.footer__credit a:hover { color: var(--white); }

/* =========== BOTÓN FLOTANTE =========== */
.floating-call {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 20px;
    background: var(--red-600);
    color: var(--white);
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: var(--shadow-red), 0 0 0 6px rgba(227, 6, 19, 0.15);
    z-index: 40;
    animation: floatIn .5s ease .6s both, pulseRing 2.4s infinite 1.2s;
    transition: transform .2s;
}
.floating-call:hover { transform: scale(1.06); }
@keyframes floatIn {
    from { transform: translateY(80px); opacity: 0; }
    to   { transform: translateY(0); opacity: 1; }
}
@keyframes pulseRing {
    0%, 100% { box-shadow: var(--shadow-red), 0 0 0 6px rgba(227, 6, 19, 0.15); }
    50%      { box-shadow: var(--shadow-red), 0 0 0 14px rgba(227, 6, 19, 0);   }
}

/* =========== ANIMACIÓN ON-SCROLL =========== */
.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========== RESPONSIVE =========== */
@media (max-width: 960px) {
    .hero__inner { grid-template-columns: 1fr; }
    .hero__visual { order: -1; margin-bottom: 12px; }
    .pulse-card { max-width: 380px; }

    .about { grid-template-columns: 1fr; }
    .about__frame { max-width: 340px; margin: 0 auto; }

    .contact { grid-template-columns: 1fr; }
    .footer__inner { grid-template-columns: 1fr; gap: 2rem; }
    .footer__cols { grid-template-columns: repeat(2, 1fr); }

    .cta-strip__inner { flex-direction: column; text-align: center; }
    .cta-strip__text { max-width: none; }
    .cta-strip__phones { justify-content: center; }
}

@media (max-width: 780px) {
    .top-bar { display: none; }
    .top-bar__item--hide-mobile { display: none; }

    .nav-toggle { display: flex; }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        align-items: stretch;
        padding: 12px;
        border-bottom: 1px solid var(--ink-200);
        box-shadow: var(--shadow-md);
        gap: 4px;
        transform: translateY(-16px);
        opacity: 0;
        pointer-events: none;
        transition: transform .25s, opacity .25s;
    }
    .nav.is-open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav__link {
        padding: 14px 16px;
        border-radius: 10px;
        text-align: center;
    }
    .nav__cta { margin: 6px 0 0; justify-content: center; }

    .brand__text em { display: none; }

    .hero { padding-top: 2.5rem; }
    .hero__stats { grid-template-columns: 1fr 1fr; row-gap: 20px; }
    .hero__stats li:nth-child(3) { grid-column: span 2; }

    .cta-strip__inner { text-align: center; flex-direction: column; }

    .floating-call span { display: none; }
    .floating-call { padding: 16px; }
}

@media (max-width: 560px) {
    .emergency-phones__grid { grid-template-columns: 1fr; }
    .emergency-phone { justify-content: center; }
    .cta-strip__phones { flex-direction: column; align-items: stretch; }
    .cta-strip__btn { justify-content: center; }
    .footer__cols { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
    .hero__actions .btn { width: 100%; }
    .service-card { padding: 24px 20px; }
    .plan { padding: 26px 22px; }
    .plan--featured { transform: translateY(0); }
    .plan--featured:hover { transform: translateY(-4px); }
    .emergency-phone__num { font-size: 1.6rem; }
    .contact__phones a strong { font-size: 1.2rem; }
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    html { scroll-behavior: auto; }
}
