:root {
    --steel: #14181c;
    --steel-mid: #1e2429;
    --steel-light: #2a3239;
    --orange: #e85d04;
    --orange-bright: #ff7b1a;
    --orange-dark: #c44d03;
    --cream: #f4f1eb;
    --muted: #a8b0b8;
    --white: #ffffff;
    --whatsapp: #128c57;
    --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
    --radius: 6px;
    --font-display: "Bebas Neue", "Arial Narrow", sans-serif;
    --font-body: "Source Sans 3", system-ui, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 17px;
}

body {
    margin: 0;
    font-family: var(--font-body);
    background: var(--steel);
    color: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
    padding-bottom: 72px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

h1, h2, h3 {
    font-family: var(--font-display);
    font-weight: 400;
    letter-spacing: 0.03em;
    line-height: 1.15;
}

a {
    color: var(--orange-bright);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease, transform 0.2s ease;
}

a:hover,
a:focus-visible {
    color: var(--white);
}

.container {
    width: min(1140px, 100% - 32px);
    margin-inline: auto;
}

.d-desktop {
    display: block;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9500;
    display: flex;
    gap: 0;
    box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.45);
}

.sticky-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 12px;
    font-weight: 700;
    font-size: 0.95rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--white);
    border: none;
}

.sticky-btn .icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.sticky-btn-phone {
    background: linear-gradient(180deg, var(--orange-bright), var(--orange-dark));
}

.sticky-btn-whatsapp {
    background: var(--whatsapp);
}

.sticky-btn:hover {
    color: var(--white);
    opacity: 0.95;
}

.pulse-cta {
    animation: pulse-cta 2.4s ease-in-out infinite;
}

@keyframes pulse-cta {
    0%, 100% { box-shadow: inset 0 0 0 0 rgba(255, 255, 255, 0); }
    50% { box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35); }
}

.pulse-soft {
    animation: pulse-soft 2.8s ease-in-out infinite;
}

@keyframes pulse-soft {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

/* Top bar */
.top-bar {
    background: var(--orange-dark);
    color: var(--white);
    font-size: 0.85rem;
}

.top-bar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 40px;
    flex-wrap: wrap;
}

.top-bar-tag {
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.top-bar-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.top-bar-link {
    color: var(--white);
    font-weight: 700;
    padding: 4px 12px;
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.2);
}

.top-bar-link:hover {
    color: var(--white);
    background: rgba(0, 0, 0, 0.35);
}

/* Nav */
#navigation {
    position: relative;
    background: rgba(20, 24, 28, 0.96);
    border-bottom: 2px solid var(--orange);
    z-index: 9000;
}

#navigation.nav-fixed {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
}

.nav-inner {
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.logo img {
    height: 46px;
    width: auto;
}

.logo:hover {
    opacity: 0.88;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: 1px solid var(--orange);
    color: var(--orange-bright);
    border-radius: var(--radius);
    width: 48px;
    height: 44px;
    font-size: 1.4rem;
    cursor: pointer;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 2px;
    flex-wrap: wrap;
}

.main-menu a {
    display: block;
    color: var(--cream);
    padding: 10px 10px;
    font-weight: 600;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.main-menu a:hover {
    color: var(--orange-bright);
}

.main-menu .nav-call {
    background: var(--orange);
    color: var(--white);
    border-radius: var(--radius);
    margin-left: 6px;
    padding: 10px 16px;
}

.main-menu .nav-call:hover {
    color: var(--white);
    background: var(--orange-bright);
}

/* Hero */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    background:
        linear-gradient(105deg, rgba(20, 24, 28, 0.94) 0%, rgba(20, 24, 28, 0.78) 42%, rgba(20, 24, 28, 0.45) 100%),
        url(../img/header.jpg) center / cover no-repeat;
    color: var(--white);
    padding: 36px 0 40px;
}

.hero-inner {
    max-width: 640px;
}

.hero-eyebrow {
    margin: 0 0 12px;
    color: var(--orange-bright);
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-size: 0.82rem;
}

.hero-title {
    margin: 0 0 10px;
    font-size: clamp(2rem, 5vw, 3.15rem);
    text-transform: uppercase;
}

.hero-kicker {
    margin: 0 0 8px;
    color: var(--orange-bright);
    font-weight: 700;
    font-size: 1.15rem;
}

.hero-lead {
    margin: 0 0 18px;
    font-size: 1.05rem;
    color: var(--muted);
    max-width: 52ch;
}

.hero-phone {
    display: block;
    background: var(--steel-light);
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    padding: 12px 18px;
    margin-bottom: 14px;
    color: var(--white);
    text-align: center;
    max-width: 360px;
}

.hero-phone:hover {
    color: var(--white);
    border-color: var(--orange-bright);
    background: var(--steel-mid);
}

.hero-phone-label {
    display: block;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-bright);
    margin-bottom: 4px;
}

.hero-phone-number {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 5vw, 2.4rem);
    letter-spacing: 0.06em;
}

.hero-ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 16px;
}

.trust-row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 20px;
}

.trust-item {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--muted);
    padding-left: 18px;
    position: relative;
}

.trust-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 8px;
    height: 8px;
    background: var(--orange);
    border-radius: 2px;
}

/* Buttons */
.btn-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 22px;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-cta-phone {
    background: var(--orange);
    color: var(--white);
    border-color: var(--orange);
}

.btn-cta-phone:hover {
    color: var(--white);
    background: var(--orange-bright);
}

.btn-cta-whatsapp {
    background: var(--whatsapp);
    color: var(--white);
    border-color: var(--whatsapp);
}

.btn-cta-whatsapp:hover {
    color: var(--white);
    opacity: 0.92;
}

.btn-cta-lg {
    padding: 16px 28px;
    font-size: 1rem;
}

/* Pillars */
.pillars {
    background: var(--cream);
    color: var(--steel);
    padding: 28px 0 24px;
    border-bottom: 4px solid var(--orange);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.pillar {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    padding: 8px 18px;
    position: relative;
}

.pillar:not(:last-child)::after {
    content: "";
    position: absolute;
    right: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: rgba(20, 24, 28, 0.16);
}

.pillar-icon {
    width: 58px;
    height: 58px;
    color: var(--orange);
}

.pillar h2 {
    margin: 0;
    max-width: 16ch;
    font-size: clamp(1.2rem, 2.2vw, 1.5rem);
    text-transform: uppercase;
    color: var(--steel);
}

.chip-grid {
    list-style: none;
    margin: 0 auto 32px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    max-width: 880px;
}

.chip-grid li {
    background: var(--steel);
    border: 1px solid var(--steel-light);
    border-left: 3px solid var(--orange);
    padding: 10px 16px;
    font-weight: 600;
}

.service-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.25fr) minmax(240px, 0.75fr);
    gap: 28px;
    align-items: start;
    margin-bottom: 36px;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.service-list li {
    position: relative;
    padding: 13px 8px 13px 36px;
    border-bottom: 1px solid var(--steel-light);
    font-size: 1.05rem;
}

.service-list li::before {
    content: "✓";
    position: absolute;
    left: 8px;
    color: var(--orange-bright);
    font-weight: 700;
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 14px;
    background: var(--steel);
    border: 1px solid var(--steel-light);
    border-radius: var(--radius);
    padding: 16px 18px;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-size: 0.82rem;
    color: var(--cream);
}

.trust-badge svg {
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    color: var(--orange);
}

.materials-grid + .buy-list {
    margin-top: 40px;
}

/* Urgency */
.urgency-banner {
    background: var(--orange-dark);
    color: var(--white);
    text-align: center;
    padding: 14px 16px;
    font-size: 0.95rem;
}

.urgency-banner a {
    color: var(--white);
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.urgency-banner strong {
    color: var(--cream);
}

/* Sections */
.section,
.pillars {
    scroll-margin-top: 88px;
}

.section {
    padding: 64px 0;
}

.section-accent {
    background: linear-gradient(180deg, var(--steel-mid), var(--steel));
}

.section-dark {
    background: var(--steel-mid);
    border-block: 1px solid var(--steel-light);
}

.section-title {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    text-transform: uppercase;
    text-align: center;
    color: var(--white);
}

.section-intro {
    margin: 0 auto 32px;
    max-width: 58ch;
    text-align: center;
    color: var(--muted);
    font-size: 1.05rem;
}

.buy-list {
    list-style: none;
    margin: 0 auto 32px;
    padding: 0;
    max-width: 640px;
}

.buy-list li {
    padding: 12px 16px 12px 36px;
    position: relative;
    border-bottom: 1px solid var(--steel-light);
    font-size: 1.02rem;
}

.buy-list li::before {
    content: "▸";
    position: absolute;
    left: 12px;
    color: var(--orange);
    font-weight: 700;
}

.section-cta {
    text-align: center;
}

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

.material-card {
    background: var(--steel-mid);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--steel-light);
    transition: transform 0.25s ease, border-color 0.25s ease;
}

.material-card:hover {
    transform: translateY(-4px);
    border-color: var(--orange);
}

.material-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.material-card h3 {
    margin: 0;
    padding: 14px 16px;
    font-size: 1.15rem;
    text-transform: uppercase;
    color: var(--cream);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.step-card {
    background: var(--steel);
    padding: 24px 20px;
    border-radius: var(--radius);
    border-left: 4px solid var(--orange);
}

.step-num {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--orange);
    line-height: 1;
    margin-bottom: 8px;
}

.step-card h3 {
    margin: 0 0 8px;
    font-size: 1.25rem;
    text-transform: uppercase;
    color: var(--white);
}

.step-card p {
    margin: 0;
    color: var(--muted);
    font-size: 0.95rem;
}

.coverage {
    text-align: center;
    padding: 24px;
    background: rgba(232, 93, 4, 0.12);
    border-radius: var(--radius);
    border: 1px solid rgba(232, 93, 4, 0.35);
}

.coverage h3 {
    margin: 0 0 8px;
    font-size: 1.4rem;
    text-transform: uppercase;
    color: var(--orange-bright);
}

.coverage p {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
}

.cta-band {
    background:
        linear-gradient(rgba(20, 24, 28, 0.88), rgba(20, 24, 28, 0.92)),
        url(../img/chatarra.jpg) center / cover no-repeat fixed;
    text-align: center;
}

.cta-band-inner h2 {
    margin: 0 0 12px;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    text-transform: uppercase;
    color: var(--white);
}

.cta-band-inner p {
    margin: 0 0 24px;
    color: var(--muted);
    font-size: 1.1rem;
}

.cta-band-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.section-contact {
    padding-bottom: 80px;
}

.contact-box {
    text-align: center;
    background: var(--steel-mid);
    padding: 40px 24px;
    border-radius: var(--radius);
    border: 1px solid var(--steel-light);
    box-shadow: var(--shadow);
}

.contact-lead {
    color: var(--muted);
    max-width: 48ch;
    margin: 0 auto 28px;
}

.contact-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.contact-phone {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 16px 28px;
    background: var(--steel);
    border: 2px solid var(--orange);
    border-radius: var(--radius);
    color: var(--white);
}

.contact-phone span {
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--orange-bright);
}

.contact-phone strong {
    font-family: var(--font-display);
    font-size: 2rem;
    letter-spacing: 0.05em;
    font-weight: 400;
}

.contact-phone:hover {
    color: var(--white);
}

.contact-web {
    margin: 0;
    font-size: 0.85rem;
    letter-spacing: 0.15em;
    color: var(--muted);
}

/* Footer */
.site-footer {
    background: #0a0c0e;
    padding: 24px 0 12px;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    border-top: 2px solid var(--orange-dark);
}

.footer-inner {
    text-align: center;
}

.footer-logo {
    height: 54px;
    width: auto;
    margin: 0 auto 14px;
}

.footer-copy {
    margin: 0 0 10px;
    font-size: 0.85rem;
    color: var(--muted);
}

.footer-signature {
    margin: 0;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-signature a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.68rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(168, 176, 184, 0.55);
}

.footer-signature a:hover {
    color: rgba(168, 176, 184, 0.85);
}

.footer-signature img {
    width: auto;
    height: 14px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.footer-signature a:hover img {
    opacity: 0.75;
}

/* Reveal */
.reveal,
.reveal-hero {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible,
.reveal-hero.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .logo img {
        height: 40px;
    }

    .main-menu {
        flex-wrap: nowrap;
    }

    .main-menu a {
        padding: 8px 7px;
        letter-spacing: 0.04em;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .d-desktop {
        display: none;
    }

    #navigation.nav-fixed + .hero,
    .hero {
        padding-top: 24px;
    }

    .hero {
        background:
            linear-gradient(180deg, rgba(20, 24, 28, 0.92) 0%, rgba(20, 24, 28, 0.75) 100%),
            url(../img/portada_celu.jpg) center top / contain no-repeat;
        background-color: var(--steel);
        min-height: auto;
        padding-bottom: 48px;
    }

    .hero-phone {
        max-width: 100%;
    }

    .logo img {
        height: 42px;
    }

    .pillars-grid {
        grid-template-columns: 1fr;
        gap: 4px;
    }

    .pillar {
        flex-direction: row;
        text-align: left;
        justify-content: flex-start;
        padding: 10px 4px;
    }

    .pillar:not(:last-child)::after {
        display: none;
    }

    .pillar h2 {
        max-width: none;
    }

    .pillar-icon {
        width: 46px;
        height: 46px;
        flex-shrink: 0;
    }

    .service-layout {
        grid-template-columns: 1fr;
    }

    .menu-toggle {
        display: block;
    }

    .main-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--steel-mid);
        border-bottom: 2px solid var(--orange);
        padding: 8px 0 16px;
    }

    .main-menu.is-open {
        display: flex;
    }

    .main-menu .nav-call {
        margin: 8px 16px 0;
        text-align: center;
    }

    #navigation,
    #navigation.nav-fixed {
        position: sticky;
        top: 0;
        left: auto;
        right: auto;
    }

    .cta-band {
        background-attachment: scroll;
    }

    .section {
        padding: 48px 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .reveal,
    .reveal-hero {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .pulse-cta,
    .pulse-soft {
        animation: none;
    }
}
