:root {
    --blue: #008fd3;
    --blue-dark: #006aa8;
    --ink: #202534;
    --charcoal: #343746;
    --muted: #667085;
    --line: #d8dee8;
    --paper: #f5f7fa;
    --white: #ffffff;
}

/* Final dark theme cascade */
body {
    color: #fff;
    background: #0B1220;
}

.site-header {
    background: rgba(11, 18, 32, .97);
    border-bottom-color: rgba(29, 155, 240, .3);
}

.main-nav a {
    color: #fff;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: #1D9BF0;
}

.nav-button span {
    background: #fff;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(11, 18, 32, .96), rgba(11, 18, 32, .78) 52%, rgba(11, 18, 32, .48)),
        linear-gradient(0deg, rgba(11, 18, 32, .46), rgba(11, 18, 32, .18));
}

.hero-kicker,
.eyebrow,
.page-hero .eyebrow {
    color: #1D9BF0;
}

.section,
.page-hero,
.service-preview,
.case-grid,
.contact-form-section {
    background-color: #0B1220;
}

.card,
.two-col article,
.contact-card,
.logo-section article,
.timeline article,
.process-grid article,
.case-card,
.stat-strip span {
    color: #fff;
    background: #162338;
    border-color: rgba(200, 210, 224, .18);
    border-top-color: #1D9BF0;
}

.card h2,
.card h3,
.two-col h2,
.contact-card h2,
.timeline h2,
.process-grid h2,
.case-card h2,
.logo-section h2 {
    color: #fff;
}

.card h2 {
    font-size: clamp(24px, 2.4vw, 34px);
}

.card h3 {
    font-size: 17px;
}

.section-head p,
.card p,
.timeline p,
.process-grid p,
.case-card p,
.contact-card p,
.site-footer p {
    color: #C8D2E0;
}

.dark-panel,
.quote-band,
.image-band,
.site-footer {
    color: #fff;
    background: #111A2E;
}

.stat-strip {
    gap: 16px;
    background: transparent;
}

.stat-strip span {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 12px;
}

.stat-strip strong,
.timeline span,
.process-grid span {
    color: #1D9BF0;
}

.button.primary {
    background: #1D9BF0;
}

.button.whatsapp {
    background: #1fa855;
}

.ui-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.button .ui-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

.card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin: -28px -28px 24px;
    max-width: calc(100% + 56px);
}

.card .ui-icon,
.process-grid .ui-icon,
.dark-panel .ui-icon {
    margin-bottom: 18px;
}

.process-grid,
.timeline {
    gap: 18px;
    background: transparent;
}

.case-card div {
    background: #162338;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    align-items: center;
}

.logo-grid img {
    width: 100%;
    height: 82px;
    object-fit: contain;
    padding: 16px;
    background: rgba(255, 255, 255, .96);
}

.contact-card a,
.site-footer a,
.text-link {
    color: #8bd0ff;
}

.contact-line,
.footer-contact span,
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-line .ui-icon,
.footer-contact .ui-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.field-group label {
    color: #fff;
}

.field-group input,
.field-group textarea {
    color: #fff;
    background: #0f1a2c;
    border-color: rgba(200, 210, 224, .28);
}

.footer-contact {
    display: grid;
    gap: 10px;
    max-width: 560px;
}

@media (max-width: 1120px) {
    .main-nav {
        background: #0B1220;
        border-bottom-color: rgba(29, 155, 240, .28);
    }

    .case-card img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .stat-strip span {
        grid-template-columns: 48px 1fr;
    }

    .ui-icon {
        width: 42px;
        height: 42px;
    }

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

    .brand img {
        width: 150px;
    }

    .site-header {
        min-height: 82px;
    }

    .whatsapp-float span:last-child {
        display: none;
    }

    .whatsapp-float {
        width: 54px;
        padding: 0;
        justify-content: center;
    }
}

/* Dark corporate theme requested in Modificaciones para el sitio web */
:root {
    --blue: #1D9BF0;
    --blue-dark: #1479bf;
    --ink: #ffffff;
    --charcoal: #111A2E;
    --muted: #C8D2E0;
    --line: rgba(200, 210, 224, .18);
    --paper: #0B1220;
    --white: #ffffff;
    --card: #162338;
    --footer: #111A2E;
}

body {
    color: var(--ink);
    background: var(--paper);
}

.site-header {
    background: rgba(11, 18, 32, .96);
    border-bottom-color: rgba(29, 155, 240, .28);
}

.brand img {
    width: clamp(162px, 17vw, 232px);
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .25));
}

.main-nav a {
    color: var(--white);
    background: transparent;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--white);
    background: var(--blue);
}

.nav-button span {
    background: var(--white);
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(11, 18, 32, .96), rgba(11, 18, 32, .78) 52%, rgba(11, 18, 32, .48)),
        linear-gradient(0deg, rgba(11, 18, 32, .46), rgba(11, 18, 32, .18));
}

.hero-kicker {
    margin: 0 0 20px;
    color: var(--blue);
    font-size: clamp(14px, 2vw, 18px);
    font-weight: 900;
    text-transform: uppercase;
}

.hero-actions .ui-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

.button.primary,
.button.whatsapp {
    color: var(--white);
    background: var(--blue);
}

.button.whatsapp {
    background: #1fa855;
}

.button.ghost {
    color: var(--white);
    border-color: rgba(200, 210, 224, .65);
}

.section,
.service-preview,
.case-grid,
.contact-form-section {
    background: var(--paper);
}

.section-head p,
.page-hero p,
.hero p,
.card p,
.timeline p,
.process-grid p,
.case-card p,
.contact-card p,
.site-footer p {
    color: var(--muted);
}

.eyebrow,
.page-hero .eyebrow,
.hero .eyebrow {
    color: var(--blue);
}

.intro-grid,
.two-col,
.logo-section {
    color: var(--white);
}

.stat-strip {
    gap: 16px;
    background: transparent;
}

.stat-strip span {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 12px;
    min-height: 112px;
    color: var(--muted);
    background: var(--card);
    border-top: 4px solid var(--blue);
}

.stat-strip strong {
    color: var(--white);
    font-size: 22px;
}

.ui-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.card,
.two-col article,
.contact-card,
.logo-section article,
.timeline article,
.process-grid article,
.case-card {
    color: var(--white);
    background: var(--card);
    border-color: var(--line);
    border-top-color: var(--blue);
}

.card h2,
.card h3,
.two-col h2,
.contact-card h2,
.timeline h2,
.process-grid h2,
.case-card h2,
.logo-section h2 {
    color: var(--white);
}

.card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin: -28px -28px 24px;
    max-width: calc(100% + 56px);
}

.card .ui-icon,
.process-grid .ui-icon,
.dark-panel .ui-icon {
    margin-bottom: 18px;
}

.dark-panel,
.quote-band,
.image-band,
.site-footer {
    color: var(--white);
    background: var(--footer);
}

.image-band {
    background: var(--card);
}

.pill-grid span {
    color: var(--white);
    border-color: rgba(29, 155, 240, .42);
    background: rgba(29, 155, 240, .08);
}

.timeline,
.process-grid {
    gap: 18px;
    background: transparent;
}

.timeline span,
.process-grid span {
    color: var(--blue);
}

.process-grid article {
    border-top: 4px solid var(--blue);
}

.case-card div {
    background: var(--card);
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    align-items: center;
}

.logo-grid img {
    width: 100%;
    height: 82px;
    object-fit: contain;
    padding: 16px;
    background: rgba(255, 255, 255, .96);
}

.contact-card a,
.site-footer a,
.text-link {
    color: #8bd0ff;
}

.contact-line,
.footer-contact span,
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-line .ui-icon,
.footer-contact .ui-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.contact-form-card {
    background: var(--card);
}

.field-group label {
    color: var(--white);
}

.field-group input,
.field-group textarea {
    color: var(--white);
    background: #0f1a2c;
    border-color: rgba(200, 210, 224, .28);
}

.form-alert {
    color: var(--white);
    background: #0f1a2c;
}

.site-footer {
    align-items: flex-start;
}

.footer-contact {
    display: grid;
    gap: 10px;
    max-width: 560px;
}

.whatsapp-float {
    background: #1fa855;
}

@media (max-width: 1120px) {
    .main-nav {
        background: #0B1220;
        border-bottom-color: rgba(29, 155, 240, .28);
    }

    .card-media {
        margin: -28px -28px 22px;
    }
}

@media (max-width: 640px) {
    .brand img {
        width: 178px;
    }

    .hero-kicker {
        font-size: 13px;
        line-height: 1.35;
    }

    .stat-strip span {
        grid-template-columns: 48px 1fr;
    }

    .ui-icon {
        width: 42px;
        height: 42px;
    }

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

    .footer-contact span,
    .footer-contact a,
    .contact-line {
        align-items: flex-start;
    }
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.55;
}

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

a {
    color: inherit;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px clamp(18px, 3vw, 48px);
    background: rgba(255, 255, 255, .94);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(16px);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    letter-spacing: 0;
}

.brand img {
    width: clamp(152px, 16vw, 220px);
    height: auto;
}

.brand-mark {
    display: grid;
    place-items: center;
    width: 40px;
    height: 40px;
    color: var(--white);
    background: var(--blue);
    font-weight: 800;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: var(--muted);
    font-size: 12px;
    text-transform: uppercase;
}

.main-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 2px;
    flex-wrap: nowrap;
}

.main-nav a {
    padding: 9px 7px;
    color: #3d4352;
    font-size: 12px;
    text-decoration: none;
    text-transform: uppercase;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--blue-dark);
    background: #eaf6fc;
}

.nav-toggle,
.nav-button {
    display: none;
}

.hero {
    position: relative;
    min-height: 78vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    color: var(--white);
}

.hero-slider,
.hero-slide,
.hero-overlay {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.hero-slider {
    overflow: hidden;
}

.hero-slide {
    object-fit: cover;
    opacity: 0;
    transform: scale(1.06);
    animation-duration: 24s;
    animation-iteration-count: infinite;
}

.hero-slide.slide-1 {
    opacity: 1;
    animation-name: heroSlideOne;
}

.hero-slide.slide-2 {
    animation-name: heroSlideTwo;
}

.hero-slide.slide-3 {
    animation-name: heroSlideThree;
}

.hero-slide.slide-4 {
    animation-name: heroSlideFour;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(14, 18, 28, .94), rgba(14, 18, 28, .70) 52%, rgba(14, 18, 28, .38)),
        linear-gradient(0deg, rgba(14, 18, 28, .36), rgba(14, 18, 28, .08));
}

.hero-cut {
    position: absolute;
    right: -8vw;
    bottom: -16vh;
    width: 58vw;
    height: 52vh;
    background: linear-gradient(135deg, rgba(0, 143, 211, .74), rgba(0, 106, 168, .36));
    clip-path: polygon(18% 42%, 100% 0, 100% 100%, 0 100%);
    mix-blend-mode: screen;
    opacity: .78;
}

.hero-content {
    position: relative;
    max-width: 760px;
    padding: 130px clamp(24px, 6vw, 90px) 90px;
}

.hero-logo {
    width: min(220px, 58vw);
    margin-bottom: 24px;
    filter: drop-shadow(0 8px 22px rgba(0, 0, 0, .42));
}

@keyframes heroSlideOne {
    0%, 21% { opacity: 1; transform: scale(1.02); }
    27%, 94% { opacity: 0; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.02); }
}

@keyframes heroSlideTwo {
    0%, 19% { opacity: 0; transform: scale(1.06); }
    25%, 46% { opacity: 1; transform: scale(1.01); }
    52%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes heroSlideThree {
    0%, 44% { opacity: 0; transform: scale(1.06); }
    50%, 71% { opacity: 1; transform: scale(1.01); }
    77%, 100% { opacity: 0; transform: scale(1); }
}

@keyframes heroSlideFour {
    0%, 69% { opacity: 0; transform: scale(1.06); }
    75%, 93% { opacity: 1; transform: scale(1.01); }
    99%, 100% { opacity: 0; transform: scale(1); }
}

.hero h1,
.page-hero h1 {
    margin: 0;
    font-size: clamp(42px, 7vw, 84px);
    line-height: .98;
    letter-spacing: 0;
}

.hero h1,
.hero p {
    text-shadow: 0 4px 28px rgba(0, 0, 0, .72);
}

.hero p,
.page-hero p {
    max-width: 720px;
    font-size: 19px;
}

.eyebrow {
    margin: 0 0 12px;
    color: var(--blue);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.hero .eyebrow {
    color: #74d7ff;
}

.button,
.text-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 0;
    padding: 0 18px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 13px;
    cursor: pointer;
}

.button.primary {
    color: var(--white);
    background: var(--blue);
}

.button.ghost {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .7);
}

.hero-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.section,
.page-hero,
.image-band,
.site-footer {
    padding: clamp(56px, 8vw, 110px) clamp(24px, 6vw, 90px);
}

.page-hero {
    position: relative;
    overflow: hidden;
    min-height: 520px;
    display: grid;
    align-content: center;
    color: var(--white);
    background:
        linear-gradient(90deg, rgba(10, 14, 24, .97), rgba(10, 14, 24, .80) 50%, rgba(10, 14, 24, .50)),
        var(--banner-image, url("../img/control-industrial.jpg")) center / cover no-repeat;
}

.page-hero::before,
.page-hero::after {
    content: "";
    position: absolute;
}

.page-hero::before {
    inset: 0;
    background:
        linear-gradient(180deg, rgba(0, 143, 211, .18), rgba(0, 143, 211, 0) 48%),
        linear-gradient(0deg, rgba(0, 0, 0, .32), rgba(0, 0, 0, 0) 46%),
        radial-gradient(circle at 78% 18%, rgba(116, 215, 255, .22), transparent 34%);
}

.page-hero::after {
    right: -8vw;
    bottom: -18%;
    width: 58vw;
    height: 60%;
    background: linear-gradient(135deg, rgba(0, 143, 211, .82), rgba(0, 106, 168, .22));
    clip-path: polygon(20% 40%, 100% 0, 100% 100%, 0 100%);
    opacity: .72;
}

.page-hero.split {
    grid-template-columns: minmax(0, 780px);
    align-items: center;
    gap: 0;
}

.page-hero > * {
    position: relative;
    z-index: 1;
}

.page-hero .eyebrow {
    color: #7bdcff;
}

.page-hero h1,
.page-hero p {
    text-shadow: 0 4px 26px rgba(0, 0, 0, .72);
}

.page-hero.split img {
    display: none;
}

.page-hero:not(.split) {
    display: grid;
    align-content: center;
}

.section-head {
    max-width: 760px;
    margin-bottom: 34px;
}

h2,
h3,
p {
    margin-top: 0;
}

h2 {
    font-size: clamp(28px, 4vw, 48px);
    line-height: 1.08;
}

h3 {
    font-size: 18px;
    line-height: 1.2;
    text-transform: uppercase;
}

.intro-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.2fr) minmax(300px, .8fr);
    gap: 36px;
    align-items: start;
}

.stat-strip {
    display: grid;
    gap: 1px;
    background: var(--line);
}

.stat-strip span {
    display: block;
    padding: 22px;
    background: var(--white);
}

.stat-strip strong {
    display: block;
    color: var(--blue);
    font-size: 30px;
}

.cards {
    display: grid;
    gap: 18px;
}

.cards.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards.four {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
    min-height: 250px;
    padding: 28px;
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
}

.card.tall {
    min-height: 320px;
}

.card-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin-bottom: 20px;
    color: var(--white);
    background: var(--charcoal);
    font-weight: 800;
}

.service-preview,
.case-grid {
    background: var(--paper);
}

.image-band {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    align-items: center;
    gap: clamp(30px, 5vw, 70px);
    color: var(--white);
    background: var(--charcoal);
}

.image-band img {
    width: 100%;
    aspect-ratio: 16 / 8;
    object-fit: cover;
}

.text-link {
    padding: 0;
    color: #77d9ff;
}

.two-col,
.contact-grid,
.logo-section {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px;
}

.two-col article,
.contact-card,
.logo-section article {
    padding: 32px;
    border: 1px solid var(--line);
}

.dark-panel {
    color: var(--white);
    background: var(--charcoal);
}

.dark-panel .eyebrow,
.dark-panel h2 {
    color: #6fd6ff;
}

.pill-grid {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.pill-grid span {
    padding: 10px 14px;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .28);
}

.timeline {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.timeline article {
    padding: 30px;
    background: var(--white);
}

.timeline span,
.process-grid span {
    color: var(--blue);
    font-weight: 800;
}

.quote-band {
    padding: 46px clamp(24px, 6vw, 90px);
    color: var(--white);
    background: var(--blue-dark);
    font-size: clamp(24px, 4vw, 42px);
    line-height: 1.16;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    background: var(--line);
}

.process-grid article {
    padding: 30px;
    background: var(--white);
}

.case-grid {
    display: grid;
    gap: 24px;
}

.case-card {
    display: grid;
    grid-template-columns: minmax(280px, .8fr) minmax(0, 1fr);
    background: var(--white);
    border: 1px solid var(--line);
    overflow: hidden;
}

.case-card img {
    width: 100%;
    height: 100%;
    min-height: 310px;
    object-fit: cover;
}

.case-card div {
    padding: clamp(28px, 4vw, 52px);
    background: var(--white);
}

.case-card h2 {
    color: var(--ink);
    font-size: clamp(26px, 3.2vw, 44px);
    line-height: 1.08;
}

.case-card p {
    color: #4c5566;
}

.logo-section img {
    width: 100%;
    background: var(--white);
}

.contact-card a {
    color: var(--blue-dark);
    text-decoration: none;
}

.contact-form-section {
    background: var(--paper);
}

.contact-form-card {
    background: var(--paper);
}

.contact-form {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    max-width: 1080px;
    padding: clamp(24px, 4vw, 42px);
    background: var(--white);
    border: 1px solid var(--line);
    border-top: 4px solid var(--blue);
}

.contact-form.compact {
    grid-template-columns: 1fr;
    max-width: none;
    padding: 0;
    background: transparent;
    border: 0;
    margin-top: 22px;
}

.field-group {
    display: grid;
    gap: 8px;
}

.field-group.full {
    grid-column: 1 / -1;
}

.field-group label {
    color: var(--ink);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
}

.field-group input,
.field-group textarea {
    width: 100%;
    border: 1px solid #cdd5df;
    background: #fbfcfe;
    color: var(--ink);
    font: inherit;
    padding: 13px 14px;
}

.field-group input:focus,
.field-group textarea:focus {
    outline: 2px solid rgba(0, 143, 211, .24);
    border-color: var(--blue);
}

.hidden-field {
    position: absolute;
    left: -9999px;
}

.form-alert {
    max-width: 1080px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-left: 4px solid var(--blue);
    background: var(--white);
}

.form-alert p {
    margin: 0;
}

.form-alert.error {
    border-left-color: #b42318;
}

.form-alert.success {
    border-left-color: #16803c;
}

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 18px 0 10px;
    color: var(--white);
    background: #1fa855;
    box-shadow: 0 16px 38px rgba(20, 24, 36, .28);
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.whatsapp-float:hover {
    background: #168d46;
}

.whatsapp-icon {
    display: grid;
    place-items: center;
    width: 34px;
    height: 34px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    font-size: 11px;
}

.site-footer {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    color: var(--white);
    background: #202331;
}

.site-footer a {
    display: block;
    color: #9ce2ff;
    text-decoration: none;
}

@media (max-width: 1120px) {
    .nav-button {
        display: grid;
        gap: 5px;
        width: 42px;
        cursor: pointer;
    }

    .nav-button span {
        height: 2px;
        background: var(--ink);
    }

    .main-nav {
        position: absolute;
        left: 0;
        right: 0;
        top: 73px;
        display: none;
        padding: 18px 24px 24px;
        background: var(--white);
        border-bottom: 1px solid var(--line);
    }

    .nav-toggle:checked ~ .main-nav {
        display: grid;
    }

    .main-nav a {
        padding: 12px;
    }

    .page-hero.split,
    .intro-grid,
    .image-band,
    .two-col,
    .contact-grid,
    .logo-section,
    .case-card {
        grid-template-columns: 1fr;
    }

    .cards.three,
    .cards.four,
    .timeline,
    .process-grid,
    .contact-form {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .case-card img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: 14px 18px;
    }

    .hero {
        min-height: 680px;
    }

    .hero-content {
        padding: 110px 22px 60px;
    }

    .brand img {
        width: 178px;
    }

    .hero-logo {
        width: min(180px, 54vw);
        margin-bottom: 20px;
    }

    .hero h1,
    .page-hero h1 {
        font-size: 42px;
    }

    .case-card h2 {
        font-size: 25px;
    }

    .cards.three,
    .cards.four,
    .timeline,
    .process-grid,
    .contact-form {
        grid-template-columns: 1fr;
    }

    .section,
    .page-hero,
    .image-band,
    .site-footer {
        padding: 44px 20px;
    }

    .site-footer {
        display: grid;
    }

    .whatsapp-float {
        right: 16px;
        bottom: 16px;
        min-height: 50px;
        padding-right: 14px;
    }
}

/* Final dark theme cascade - must remain last */
body {
    color: #fff;
    background: #0B1220;
}

.site-header {
    background: rgba(11, 18, 32, .97);
    border-bottom-color: rgba(29, 155, 240, .3);
}

.main-nav a {
    color: #fff;
}

.main-nav a:hover,
.main-nav a.active {
    color: #fff;
    background: #1D9BF0;
}

.nav-button span {
    background: #fff;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(11, 18, 32, .96), rgba(11, 18, 32, .78) 52%, rgba(11, 18, 32, .48)),
        linear-gradient(0deg, rgba(11, 18, 32, .46), rgba(11, 18, 32, .18));
}

.hero-kicker,
.eyebrow,
.page-hero .eyebrow {
    color: #1D9BF0;
}

.section,
.page-hero,
.service-preview,
.case-grid,
.contact-form-section {
    background-color: #0B1220;
}

.card,
.two-col article,
.contact-card,
.logo-section article,
.timeline article,
.process-grid article,
.case-card,
.stat-strip span {
    color: #fff;
    background: #162338;
    border-color: rgba(200, 210, 224, .18);
    border-top-color: #1D9BF0;
}

.card h2,
.card h3,
.two-col h2,
.contact-card h2,
.timeline h2,
.process-grid h2,
.case-card h2,
.logo-section h2 {
    color: #fff;
}

.section-head p,
.card p,
.timeline p,
.process-grid p,
.case-card p,
.contact-card p,
.site-footer p {
    color: #C8D2E0;
}

.dark-panel,
.quote-band,
.image-band,
.site-footer {
    color: #fff;
    background: #111A2E;
}

.stat-strip {
    gap: 16px;
    background: transparent;
}

.stat-strip span {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: center;
    gap: 12px;
}

.stat-strip strong,
.timeline span,
.process-grid span {
    color: #1D9BF0;
}

.button.primary {
    background: #1D9BF0;
}

.button.whatsapp {
    background: #1fa855;
}

.ui-icon {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.button .ui-icon {
    width: 22px;
    height: 22px;
    margin-right: 8px;
}

.card-media {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    margin: -28px -28px 24px;
    max-width: calc(100% + 56px);
}

.card .ui-icon,
.process-grid .ui-icon,
.dark-panel .ui-icon {
    margin-bottom: 18px;
}

.process-grid,
.timeline {
    gap: 18px;
    background: transparent;
}

.case-card div {
    background: #162338;
}

.logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 16px;
    align-items: center;
}

.logo-grid img {
    width: 100%;
    height: 82px;
    object-fit: contain;
    padding: 16px;
    background: rgba(255, 255, 255, .96);
}

.contact-card a,
.site-footer a,
.text-link {
    color: #8bd0ff;
}

.contact-line,
.footer-contact span,
.footer-contact a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-line .ui-icon,
.footer-contact .ui-icon {
    width: 24px;
    height: 24px;
    flex: 0 0 24px;
}

.field-group label {
    color: #fff;
}

.field-group input,
.field-group textarea {
    color: #fff;
    background: #0f1a2c;
    border-color: rgba(200, 210, 224, .28);
}

.footer-contact {
    display: grid;
    gap: 10px;
    max-width: 560px;
}

@media (max-width: 1120px) {
    .main-nav {
        background: #0B1220;
        border-bottom-color: rgba(29, 155, 240, .28);
    }

    .case-card img {
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
    }
}

@media (max-width: 640px) {
    .stat-strip span {
        grid-template-columns: 48px 1fr;
    }

    .ui-icon {
        width: 42px;
        height: 42px;
    }

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

/* Ajustes solicitados por cliente - 2026-07-09 */
.brand {
    min-width: 260px;
}

.brand img {
    width: 300px;
    height: 78px;
    object-fit: contain;
}

.hero-kicker {
    color: #1D9BF0 !important;
}

.card-media {
    display: block;
    width: calc(100% + 56px);
    max-width: none;
    height: 238px;
    aspect-ratio: auto;
    object-fit: cover;
    object-position: center;
    background: #0B1220;
}

.cards.four .card-media {
    height: 206px;
}

.cards.three .card-media {
    height: 250px;
}

.process-grid article {
    min-height: 240px;
}

.process-grid .ui-icon {
    display: block;
    width: 92px;
    height: 92px;
    margin: 0 12px 10px auto;
    object-fit: contain;
}

.logo-grid img {
    background: transparent;
    padding: 8px;
    box-shadow: none;
    filter: none;
}

.site-footer {
    display: grid;
    grid-template-columns: minmax(220px, 1fr) auto minmax(320px, 1fr);
    align-items: center;
    gap: 42px;
}

.footer-brand-copy {
    max-width: 360px;
}

.footer-logo-panel {
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 360px;
    padding: 0 46px;
    border-left: 2px solid rgba(29, 155, 240, .72);
    border-right: 2px solid rgba(29, 155, 240, .72);
}

.footer-logo-panel img {
    display: block;
    width: min(360px, 30vw);
    height: auto;
    max-height: 150px;
    object-fit: contain;
}

.footer-contact {
    justify-self: end;
    max-width: 620px;
}

.whatsapp-float .whatsapp-icon {
    color: transparent;
    background: transparent url('../icons/contact-whatsapp-white.png') center / 22px 22px no-repeat;
    border-color: rgba(255, 255, 255, .55);
}

@media (max-width: 1120px) {
    .brand {
        min-width: auto;
    }

    .brand img {
        width: 232px;
        height: 64px;
    }

    .site-footer {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .footer-logo-panel {
        justify-content: flex-start;
        min-width: 0;
        width: 100%;
        padding: 24px 0;
        border-left: 0;
        border-right: 0;
        border-top: 2px solid rgba(29, 155, 240, .72);
        border-bottom: 2px solid rgba(29, 155, 240, .72);
    }

    .footer-logo-panel img {
        width: min(320px, 82vw);
    }

    .footer-contact {
        justify-self: stretch;
    }
}

@media (max-width: 640px) {
    .card-media,
    .cards.four .card-media,
    .cards.three .card-media {
        height: 190px;
    }

    .process-grid .ui-icon {
        width: 74px;
        height: 74px;
        margin-right: 0;
    }
}

/* Ajustes página de inicio - 2026-07-09 */
.site-header .brand {
    min-width: 240px;
}

.site-header .brand img {
    width: 248px;
    height: 70px;
    object-fit: contain;
}

.hero-slide.slide-1 {
    object-position: center center;
}

.hero-overlay {
    background:
        linear-gradient(90deg, rgba(6, 12, 24, .95), rgba(6, 12, 24, .76) 42%, rgba(6, 12, 24, .36)),
        linear-gradient(0deg, rgba(6, 12, 24, .64), rgba(6, 12, 24, .2));
}

.hero-actions {
    gap: 12px;
}

.hero-actions .button {
    position: relative;
    min-width: 190px;
    min-height: 54px;
    padding: 15px 46px 15px 22px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, .22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18), 0 12px 30px rgba(0, 0, 0, .22);
    overflow: hidden;
}

.hero-actions .button::after {
    content: "";
    position: absolute;
    right: 18px;
    top: 50%;
    width: 14px;
    height: 14px;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    transform: translateY(-50%) rotate(45deg);
}

.hero-actions .button.primary {
    background:
        linear-gradient(135deg, rgba(71, 190, 255, .38), rgba(29, 155, 240, 0) 58%),
        #1D9BF0;
}

.hero-actions .button.ghost {
    background: rgba(6, 12, 24, .7);
    border-color: rgba(29, 155, 240, .85);
}

.hero-actions .button.whatsapp {
    background:
        linear-gradient(135deg, rgba(87, 255, 151, .34), rgba(31, 168, 85, 0) 58%),
        #16a34a;
    border-color: rgba(88, 255, 158, .55);
}

.hero-actions .button .ui-icon {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}

.intro-grid {
    display: block;
}

.home-stats {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    width: 100%;
    padding: 28px;
    border: 1px solid rgba(200, 210, 224, .35);
    border-radius: 8px;
    background: rgba(7, 14, 28, .72);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .16);
}

.home-stats > span {
    display: grid;
    grid-template-columns: 58px 1fr;
    align-items: center;
    gap: 16px;
    padding: 0 22px;
    color: #fff;
    background: transparent;
    border: 0;
    border-right: 1px solid rgba(200, 210, 224, .45);
}

.home-stats > span:last-child {
    border-right: 0;
}

.home-stats .ui-icon {
    width: 58px;
    height: 58px;
    object-fit: contain;
}

.home-stats strong {
    display: block;
    color: #fff;
    font-size: clamp(26px, 2.4vw, 46px);
    line-height: 1;
    letter-spacing: 0;
}

.home-stats > span {
    font-size: 17px;
    line-height: 1.24;
}

.home-stats .counter {
    display: inline;
    padding: 0;
    border: 0;
}

.service-preview .section-head {
    max-width: 920px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.service-preview .section-head .eyebrow {
    color: #1D9BF0;
    font-size: 18px;
}

.service-preview .section-head h2 {
    font-size: clamp(36px, 4vw, 62px);
    line-height: 1.08;
}

.service-preview .section-head::after {
    content: "";
    display: block;
    width: 86px;
    height: 5px;
    margin: 28px auto 0;
    border-radius: 999px;
    background: #1D9BF0;
}

.whatsapp-float {
    border-radius: 8px;
    background:
        linear-gradient(135deg, rgba(87, 255, 151, .3), rgba(31, 168, 85, 0) 58%),
        #16a34a;
    box-shadow: 0 16px 34px rgba(0, 0, 0, .25);
}

.whatsapp-float .whatsapp-icon {
    background-size: 24px 24px;
}

@media (max-width: 1180px) {
    .home-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-stats > span {
        border-right: 0;
        border-bottom: 1px solid rgba(200, 210, 224, .22);
        padding: 18px 10px;
    }

    .home-stats > span:last-child {
        border-bottom: 0;
    }
}

@media (max-width: 720px) {
    .site-header .brand img {
        width: 174px;
        height: 52px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: min(460px, 100%);
    }

    .hero-actions .button {
        width: 100%;
        min-height: 66px;
        justify-content: center;
        font-size: 17px;
    }

    .home-stats {
        grid-template-columns: 1fr;
        padding: 16px;
    }

    .home-stats > span {
        grid-template-columns: 54px 1fr;
        min-height: 82px;
    }

    .home-stats .ui-icon {
        width: 52px;
        height: 52px;
    }
}

/* Alineación fina de inicio - 2026-07-10 */
.hero-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    width: max-content;
    max-width: 100%;
}

.hero-actions .button {
    flex: 0 0 auto;
    min-width: 202px;
}

.hero-actions .button.whatsapp .ui-icon,
.whatsapp-float .whatsapp-icon {
    background-image: url('../icons/contact-whatsapp-white.png');
}

.hero-actions .button.whatsapp .ui-icon {
    width: 22px;
    height: 22px;
    object-fit: contain;
}

.home-stats {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    align-items: stretch;
    padding: 30px 28px;
}

.home-stats > .home-stat-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 18px;
    padding: 0 26px;
}

.home-stats > .home-stat-item .ui-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
}

.home-stat-copy {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    color: #fff;
}

.home-stat-copy strong {
    display: block;
    white-space: nowrap;
}

.home-stat-copy small {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: 17px;
    line-height: 1.1;
    white-space: nowrap;
}

.home-stat-copy strong:only-child {
    white-space: normal;
}

@media (min-width: 1181px) {
    .home-stats > .home-stat-item:last-child {
        justify-content: flex-start;
    }

    .home-stats > .home-stat-item:last-child .home-stat-copy strong {
        white-space: normal;
        font-size: clamp(30px, 2.5vw, 46px);
        line-height: .98;
    }
}

@media (max-width: 1320px) and (min-width: 1181px) {
    .hero-actions .button {
        min-width: 184px;
        padding-right: 42px;
        padding-left: 18px;
    }

    .home-stats > .home-stat-item {
        gap: 12px;
        padding: 0 16px;
    }

    .home-stats > .home-stat-item .ui-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }

    .home-stat-copy small {
        font-size: 15px;
    }
}

@media (max-width: 1180px) {
    .home-stats > .home-stat-item {
        justify-content: flex-start;
    }
}

@media (max-width: 720px) {
    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        width: min(460px, 100%);
    }

    .hero-actions .button {
        min-width: 0;
    }

    .home-stat-copy small {
        white-space: normal;
    }
}

/* Corrección de fondos y descripción en stats - 2026-07-10 */
.home-stats .home-stat-copy,
.home-stats .counter,
.home-stats .home-stat-copy small {
    width: auto;
    height: auto;
    padding: 0;
    margin-right: 0;
    margin-left: 0;
    color: #fff;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.home-stats > .home-stat-item {
    align-items: center;
}

.home-stat-copy {
    display: grid;
    grid-template-rows: auto auto;
    align-content: center;
    row-gap: 12px;
}

.home-stat-copy strong {
    display: block;
    margin: 0;
    background: transparent !important;
}

.home-stat-copy small {
    display: block;
    clear: both;
    margin-top: 0;
    line-height: 1;
    opacity: .96;
}

.home-stat-copy strong:only-child {
    display: block;
}

/* Stats sin herencia de .stat-strip span - 2026-07-10 */
.home-stats > div.home-stat-item {
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 0;
    gap: 18px;
    padding: 0 26px;
    color: #fff;
    background: transparent !important;
    border-top: 0 !important;
    border-right: 1px solid rgba(200, 210, 224, .45) !important;
    border-bottom: 0 !important;
    border-left: 0 !important;
}

.home-stats > div.home-stat-item:last-child {
    border-right: 0 !important;
}

.home-stats > div.home-stat-item .ui-icon {
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
}

.home-stats > div.home-stat-item .home-stat-copy {
    display: grid !important;
    grid-template-rows: auto auto;
    row-gap: 14px;
    min-width: 0;
    padding: 0 !important;
    background: transparent !important;
}

.home-stats > div.home-stat-item strong,
.home-stats > div.home-stat-item small,
.home-stats > div.home-stat-item .counter {
    padding: 0 !important;
    margin: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.home-stats > div.home-stat-item strong {
    line-height: .95;
}

.home-stats > div.home-stat-item small {
    display: block;
    line-height: 1.1;
    white-space: nowrap;
}

@media (max-width: 1320px) and (min-width: 1181px) {
    .home-stats > div.home-stat-item {
        gap: 12px;
        padding: 0 16px;
    }

    .home-stats > div.home-stat-item .ui-icon {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
}

@media (max-width: 1180px) {
    .home-stats > div.home-stat-item {
        justify-content: flex-start;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(200, 210, 224, .22) !important;
        padding: 18px 10px;
    }
}

/* Ajuste de tamaño y contención de stats - 2026-07-10 */
.home-stats {
    overflow: hidden;
    padding: 28px 22px;
}

.home-stats > div.home-stat-item {
    justify-content: flex-start !important;
    gap: 10px;
    overflow: hidden;
    padding: 0 18px 0 12px;
}

.home-stats > div.home-stat-item .ui-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
}

.home-stats > div.home-stat-item .home-stat-copy {
    min-width: 0;
    max-width: 100%;
    row-gap: 10px;
    overflow: hidden;
}

.home-stats > div.home-stat-item strong {
    max-width: 100%;
    font-size: clamp(24px, 1.9vw, 34px);
    line-height: .98;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.home-stats > div.home-stat-item small {
    max-width: 100%;
    font-size: clamp(12px, .86vw, 15px);
    line-height: 1.05;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: clip;
}

.home-stats > div.home-stat-item:last-child {
    gap: 12px;
}

.home-stats > div.home-stat-item:last-child strong {
    font-size: clamp(24px, 1.9vw, 34px);
    line-height: 1;
    white-space: normal;
}

@media (max-width: 1320px) and (min-width: 1181px) {
    .home-stats {
        padding-right: 16px;
        padding-left: 16px;
    }

    .home-stats > div.home-stat-item {
        gap: 8px;
        padding-right: 12px;
        padding-left: 8px;
    }

    .home-stats > div.home-stat-item .ui-icon {
        flex-basis: 38px;
        width: 38px;
        height: 38px;
    }

    .home-stats > div.home-stat-item strong {
        font-size: clamp(22px, 1.65vw, 30px);
    }

    .home-stats > div.home-stat-item small {
        font-size: 12px;
    }
}

/* Homologar Cobertura nacional con los demás indicadores */
.home-stats > div.home-stat-item:last-child .home-stat-copy strong {
    font-size: clamp(18px, 1.35vw, 25px) !important;
    line-height: 1.08;
    font-weight: 800;
}

@media (max-width: 1320px) and (min-width: 1181px) {
    .home-stats > div.home-stat-item:last-child .home-stat-copy strong {
        font-size: clamp(17px, 1.18vw, 22px) !important;
    }
}

/* Versión móvil legible de indicadores */
@media (max-width: 720px) {
    .home-stats {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 0;
        padding: 10px 18px !important;
        overflow: visible;
    }

    .home-stats > div.home-stat-item {
        display: grid !important;
        grid-template-columns: 48px minmax(0, 1fr);
        align-items: center;
        gap: 16px;
        min-height: 76px;
        padding: 14px 0 !important;
        border-right: 0 !important;
        border-bottom: 1px solid rgba(200, 210, 224, .24) !important;
        overflow: visible;
    }

    .home-stats > div.home-stat-item:last-child {
        border-bottom: 0 !important;
    }

    .home-stats > div.home-stat-item .ui-icon {
        justify-self: start;
        flex: none;
        width: 42px;
        height: 42px;
    }

    .home-stats > div.home-stat-item .home-stat-copy {
        display: grid !important;
        row-gap: 6px;
        overflow: visible;
    }

    .home-stats > div.home-stat-item strong,
    .home-stats > div.home-stat-item:last-child .home-stat-copy strong {
        font-size: 24px !important;
        line-height: 1.05;
        white-space: normal;
        overflow: visible;
    }

    .home-stats > div.home-stat-item small {
        font-size: 14px;
        line-height: 1.15;
        white-space: normal;
        overflow: visible;
    }
}

/* Footer: mantener dirección visible y enlazada */
.site-footer {
    display: grid !important;
    grid-template-columns: minmax(230px, .9fr) minmax(280px, 360px) minmax(360px, 1.15fr) !important;
    align-items: center;
    column-gap: clamp(24px, 4vw, 56px);
    overflow: visible;
}

.footer-logo-panel {
    min-width: 0;
    padding-right: clamp(24px, 3vw, 42px);
    padding-left: clamp(24px, 3vw, 42px);
}

.footer-logo-panel img {
    width: min(320px, 100%);
}

.footer-contact {
    display: grid !important;
    justify-self: stretch !important;
    min-width: 0;
    max-width: none;
    gap: 10px;
}

.footer-contact a,
.footer-contact span {
    display: grid !important;
    grid-template-columns: 24px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
    min-width: 0;
    color: #C8D2E0;
    line-height: 1.28;
    overflow-wrap: anywhere;
}

.footer-contact a:hover {
    color: #8bd0ff;
}

@media (max-width: 1180px) {
    .site-footer {
        grid-template-columns: 1fr !important;
        row-gap: 30px;
    }

    .footer-logo-panel {
        width: 100%;
        padding: 24px 0;
        border-left: 0;
        border-right: 0;
        border-top: 2px solid rgba(29, 155, 240, .72);
        border-bottom: 2px solid rgba(29, 155, 240, .72);
    }
}

/* Móvil: textos de indicadores alineados a la izquierda */
@media (max-width: 720px) {
    .home-stats > div.home-stat-item .home-stat-copy {
        justify-items: start !important;
        text-align: left !important;
    }

    .home-stats > div.home-stat-item strong,
    .home-stats > div.home-stat-item small {
        text-align: left !important;
    }
}

/* Móvil: forzar columna de texto alineada */
@media (max-width: 720px) {
    .home-stats > div.home-stat-item {
        grid-template-columns: 86px minmax(0, 1fr) !important;
        justify-items: stretch !important;
        justify-content: stretch !important;
    }

    .home-stats > div.home-stat-item .ui-icon {
        justify-self: start !important;
        margin-left: 0 !important;
    }

    .home-stats > div.home-stat-item .home-stat-copy {
        justify-self: stretch !important;
        align-self: center !important;
        align-items: start !important;
        justify-items: start !important;
        width: 100% !important;
        text-align: left !important;
    }

    .home-stats > div.home-stat-item strong,
    .home-stats > div.home-stat-item small {
        display: block;
        width: 100%;
        text-align: left !important;
    }

    .home-stats > div.home-stat-item .counter {
        display: inline !important;
        width: auto !important;
        text-align: inherit !important;
    }
}

/* Móvil: alineación final compacta de indicadores */
@media (max-width: 720px) {
    .home-stats {
        padding-right: 20px !important;
        padding-left: 20px !important;
    }

    .home-stats > div.home-stat-item {
        grid-template-columns: 50px minmax(0, 1fr) !important;
        gap: 8px !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .home-stats > div.home-stat-item .ui-icon {
        width: 40px !important;
        height: 40px !important;
        justify-self: start !important;
    }

    .home-stats > div.home-stat-item .home-stat-copy {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .home-stats > div.home-stat-item strong,
    .home-stats > div.home-stat-item small {
        display: block !important;
        width: 100% !important;
        margin-left: 0 !important;
        text-align: left !important;
    }

    .home-stats > div.home-stat-item .counter {
        display: inline !important;
        width: auto !important;
    }
}

/* Hard mobile override: nuevo archivo para evitar cache de styles.css */
@media (max-width: 720px) {
    .home-stats {
        display: grid !important;
        grid-template-columns: 1fr !important;
        padding: 10px 22px !important;
    }

    .home-stats > * {
        display: grid !important;
        grid-template-columns: 42px 1fr !important;
        column-gap: 10px !important;
        align-items: center !important;
        justify-items: stretch !important;
        min-height: 76px !important;
        padding: 12px 0 !important;
        margin: 0 !important;
        text-align: left !important;
    }

    .home-stats > * > .ui-icon,
    .home-stats > * img.ui-icon {
        grid-column: 1 !important;
        justify-self: start !important;
        align-self: center !important;
        width: 38px !important;
        height: 38px !important;
        margin: 0 !important;
    }

    .home-stats .home-stat-copy {
        grid-column: 2 !important;
        justify-self: stretch !important;
        align-self: center !important;
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .home-stats .home-stat-copy strong,
    .home-stats .home-stat-copy small {
        display: block !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        text-align: left !important;
    }

    .home-stats .home-stat-copy small {
        margin-top: 7px !important;
    }

    .home-stats .counter {
        display: inline !important;
        width: auto !important;
    }
}
