:root {
    --blue: #0A2E6E;
    --blue-2: #061D45;
    --red: #D91E2E;
    --gray: #4A5568;
    --light: #F5F7FA;
    --white: #FFFFFF;
    --line: #E5EAF2;
    --shadow: 0 18px 45px rgba(10, 46, 110, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: "Inter", "Poppins", Arial, sans-serif;
    color: #132238;
    background: var(--white);
    line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.topbar {
    background: var(--blue);
    color: rgba(255,255,255,.88);
    font-size: .82rem;
    padding: .45rem 0;
}
.topbar a { transition: color .2s ease; }
.topbar a:hover { color: #fff; }
.topbar__links, .topbar__social { display: flex; gap: 1.2rem; align-items: center; flex-wrap: wrap; }
.topbar__social { gap: .55rem; }
.topbar__social span { margin-right: .45rem; }
.social-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .45rem;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,.2);
    background: rgba(255,255,255,.08);
    color: #fff;
    transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
.social-btn svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 0;
}
.social-btn:hover {
    transform: translateY(-2px);
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}
.social-btn--top {
    width: 30px;
    height: 30px;
    color: #fff;
}
.social-btn--top svg { width: 15px; height: 15px; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
    background: rgba(255,255,255,.94);
    border-bottom: 1px solid rgba(229,234,242,.8);
    backdrop-filter: blur(16px);
}
.navbar { min-height: 82px; }
.brand { display: inline-flex; align-items: center; }
.brand img {
    width: clamp(240px, 26vw, 320px);
    height: auto;
    object-fit: contain;
}
.nav-link {
    color: #102448;
    font-weight: 700;
    font-size: .86rem;
    text-transform: uppercase;
    margin: 0 .25rem;
}
.nav-link:hover, .nav-link:focus { color: var(--red); }
.nav-link--portal { color: var(--blue); }
.btn {
    border-radius: 6px;
    padding: .85rem 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    font-size: .82rem;
    letter-spacing: 0;
}
.btn-red { background: var(--red); color: var(--white); border: 1px solid var(--red); box-shadow: 0 14px 30px rgba(217,30,46,.22); }
.btn-red:hover { background: #B91624; border-color: #B91624; color: #fff; transform: translateY(-1px); }
.btn-blue { background: var(--blue); color: var(--white); border: 1px solid var(--blue); }
.btn-blue:hover { background: var(--blue-2); color: #fff; }

.hero-slider { position: relative; min-height: 680px; overflow: hidden; background: var(--blue-2); }
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.02);
    background-size: cover;
    background-position: center;
    transition: opacity .8s ease, transform 5s ease;
}
.hero-slide.active { opacity: 1; transform: scale(1); z-index: 1; }
.hero-slide__shade {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(4,19,48,.96) 0%, rgba(10,46,110,.74) 43%, rgba(10,46,110,.22) 100%),
        linear-gradient(0deg, rgba(0,0,0,.28), rgba(0,0,0,0));
}
.hero-slide__content {
    position: relative;
    z-index: 2;
    min-height: 680px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 1180px;
}
.eyebrow {
    display: inline-flex;
    color: var(--red);
    font-weight: 800;
    text-transform: uppercase;
    font-size: .78rem;
    margin-bottom: .85rem;
}
.hero-slide h1, .hero-slide h2 {
    max-width: 760px;
    color: var(--white);
    font-family: "Montserrat", sans-serif;
    font-size: clamp(2.65rem, 5vw, 5.4rem);
    line-height: 1.02;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
}
.hero-slide p {
    color: rgba(255,255,255,.9);
    max-width: 590px;
    font-size: 1.15rem;
    margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; }
.hero-dots {
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    display: flex;
    gap: .7rem;
}
.hero-dots button {
    width: 42px;
    height: 5px;
    border: 0;
    border-radius: 20px;
    background: rgba(255,255,255,.45);
}
.hero-dots button.active { background: var(--red); width: 68px; }

.section-pad { padding: 92px 0; }
.section-pad-sm { padding: 64px 0; }
.section-heading { max-width: 720px; margin: 0 auto 2.7rem; text-align: center; }
.section-heading.compact { margin-bottom: 2rem; }
.section-heading h2, .about h2, .coverage h2, .quote h2, .portal h2 {
    color: var(--blue);
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    line-height: 1.14;
    margin-bottom: .85rem;
}
.section-heading p, .about p, .coverage p, .quote p { color: var(--gray); }

.stats-band { background: var(--light); }
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.stat-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.65rem;
    box-shadow: var(--shadow);
}
.stat-card strong { display: block; color: var(--blue); font-size: 2.4rem; font-family: "Montserrat", sans-serif; line-height: 1; }
.stat-card strong::before { content: "+"; color: var(--red); font-size: 1.3rem; margin-right: .1rem; }
.stat-card strong[data-text]::before { content: ""; }
.stat-card span { color: var(--gray); font-weight: 700; text-transform: uppercase; font-size: .78rem; }

.category-grid, .featured-grid, .testimonial-grid, .process-grid, .differential-grid, .blog-grid {
    display: grid;
    gap: 1.25rem;
}
.category-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.category-card, .product-card, .testimonial-grid article {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 34px rgba(10,46,110,.08);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.category-card:hover, .product-card:hover, .testimonial-grid article:hover {
    transform: translateY(-5px);
    border-color: rgba(217,30,46,.22);
    box-shadow: var(--shadow);
}
.category-card__image, .product-card__image {
    height: 205px;
    background:
        linear-gradient(180deg, #fff 0%, #F8FAFD 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 1px solid var(--line);
}
.category-card__image img, .product-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 12px 18px rgba(10, 46, 110, .12));
    transition: transform .25s ease;
}
.category-card:hover .category-card__image img,
.product-card:hover .product-card__image img {
    transform: scale(1.035);
}
.category-card__body, .product-card__body { padding: 1.25rem; }
.category-card span, .sku {
    color: var(--red);
    font-weight: 800;
    font-size: .74rem;
    text-transform: uppercase;
}
.category-card h3, .product-card strong, .differential-item h3, .process-step h3 {
    color: var(--blue);
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    line-height: 1.2;
}
.category-card h3 { font-size: 1.05rem; margin: .45rem 0; }
.category-card p, .product-card p { color: var(--gray); font-size: .92rem; }
.category-card a { color: var(--blue); font-weight: 800; }

.about { background: linear-gradient(180deg, #fff 0%, var(--light) 100%); }
.check-list { display: grid; gap: .7rem; margin: 1.4rem 0; }
.check-list span { position: relative; padding-left: 1.7rem; color: #20304C; font-weight: 600; }
.check-list span::before {
    content: "";
    position: absolute;
    left: 0;
    top: .35rem;
    width: .85rem;
    height: .85rem;
    border-radius: 50%;
    background: var(--blue);
    box-shadow: inset 0 0 0 3px #fff, 0 0 0 1px var(--blue);
}
.timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .8rem;
    margin-top: 1.5rem;
}
.timeline div { border-left: 3px solid var(--red); padding: .85rem; background: #fff; border-radius: 6px; }
.timeline strong { display: block; color: var(--blue); font-size: 1.35rem; }
.timeline span { color: var(--gray); font-size: .85rem; }
.media-frame { position: relative; margin: 0; border-radius: 8px; overflow: hidden; box-shadow: var(--shadow); }
.media-frame::after { content: ""; position: absolute; inset: 1rem; border: 1px solid rgba(255,255,255,.45); border-radius: 6px; pointer-events: none; }

.brand-strip { background: #fff; }
.brand-marquee {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background:
        linear-gradient(90deg, rgba(10,46,110,.06), rgba(217,30,46,.04), rgba(10,46,110,.06));
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.8), var(--shadow);
    position: relative;
}
.brand-marquee::before,
.brand-marquee::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 120px;
    z-index: 2;
    pointer-events: none;
}
.brand-marquee::before { left: 0; background: linear-gradient(90deg, #fff, transparent); }
.brand-marquee::after { right: 0; background: linear-gradient(270deg, #fff, transparent); }
.brand-marquee__track {
    display: flex;
    gap: 1rem;
    width: max-content;
    padding: 1rem;
    animation: marquee 24s linear infinite;
}
.brand-logo-card {
    display: grid;
    place-items: center;
    min-width: 178px;
    height: 86px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 6px;
    box-shadow: 0 10px 22px rgba(10,46,110,.08);
    transition: transform .2s ease, box-shadow .2s ease;
}
.brand-logo-card img {
    width: 148px;
    max-height: 58px;
    object-fit: contain;
}
.brand-logo-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 16px 32px rgba(10,46,110,.14);
}
@keyframes marquee { to { transform: translateX(-50%); } }

.products-featured { background: var(--light); }
.featured-grid { grid-template-columns: repeat(auto-fit, minmax(255px, 1fr)); }
.product-card__image { height: 230px; }
.product-card strong { display: block; font-size: 1.1rem; margin: .35rem 0; }

.differentials {
    background: var(--blue);
    color: #fff;
}
.differential-grid { grid-template-columns: repeat(6, 1fr); }
.differential-item {
    min-height: 150px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 8px;
    padding: 1.3rem;
    background: rgba(255,255,255,.05);
}
.differential-item h3 { color: #fff; font-size: .98rem; margin: 1rem 0 0; }
.line-icon { width: 42px; height: 42px; display: block; border: 2px solid #fff; border-radius: 10px; position: relative; }
.line-icon::after { content: ""; position: absolute; inset: 10px; border-top: 2px solid var(--red); border-right: 2px solid var(--red); transform: rotate(45deg); }

.testimonials {
    background:
        radial-gradient(circle at 14% 20%, rgba(217,30,46,.08), transparent 24%),
        linear-gradient(135deg, #fff 0%, #F7FAFE 52%, #EEF3FA 100%);
    position: relative;
}
.testimonials::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 6px;
    background: linear-gradient(90deg, var(--blue), var(--red), var(--blue));
}
.testimonial-grid { grid-template-columns: repeat(3, 1fr); }
.testimonial-grid article {
    padding: 1.75rem;
    position: relative;
    isolation: isolate;
    border-top: 4px solid var(--blue);
}
.testimonial-grid article::before {
    content: "“";
    position: absolute;
    top: .2rem;
    right: 1.2rem;
    color: rgba(10,46,110,.08);
    font-family: Georgia, serif;
    font-size: 5.5rem;
    line-height: 1;
    z-index: -1;
}
.testimonial-grid p { color: #243654; font-size: 1rem; }
.testimonial-grid strong { display: block; color: var(--blue); }
.testimonial-grid span { color: var(--red); font-weight: 700; font-size: .86rem; }

.blog-section {
    background:
        linear-gradient(180deg, #EEF3FA 0%, #fff 100%);
    position: relative;
}
.blog-grid { grid-template-columns: repeat(3, 1fr); }
.blog-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: 1.5rem;
    box-shadow: 0 10px 34px rgba(10,46,110,.08);
    transition: transform .25s ease, box-shadow .25s ease;
    position: relative;
    overflow: hidden;
}
.blog-card::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 78px;
    background: linear-gradient(135deg, rgba(10,46,110,.1), rgba(217,30,46,.08));
}
.blog-card > * { position: relative; }
.blog-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.blog-card span { color: var(--red); font-weight: 800; font-size: .74rem; text-transform: uppercase; }
.blog-card h3 { color: var(--blue); font-family: "Poppins", sans-serif; font-weight: 700; margin: .7rem 0; }
.blog-card p { color: var(--gray); }
.blog-card a { color: var(--blue); font-weight: 800; }

.process {
    background: var(--blue);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.process::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px),
        linear-gradient(0deg, rgba(255,255,255,.05) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .55;
}
.process .container { position: relative; }
.process .section-heading h2,
.process .section-heading p { color: #fff; }
.process .eyebrow { color: #FFB8BE; }
.process-grid {
    grid-template-columns: repeat(4, 1fr);
    counter-reset: step;
    position: relative;
}
.process-grid::before {
    content: "";
    position: absolute;
    left: 8%;
    right: 8%;
    top: 44px;
    height: 2px;
    background: rgba(255,255,255,.22);
}
.process-step {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 8px;
    padding: 1.5rem;
    position: relative;
    backdrop-filter: blur(10px);
}
.process-step span {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    color: #fff;
    background: var(--red);
    border: 5px solid var(--blue);
    border-radius: 50%;
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 1rem;
    box-shadow: 0 14px 28px rgba(0,0,0,.2);
}
.process-step h3 { color: #fff; font-size: 1rem; margin: .8rem 0 .4rem; }
.process-step p { color: rgba(255,255,255,.78); margin: 0; font-size: .86rem; }

.coverage {
    background:
        linear-gradient(90deg, #fff 0%, #fff 48%, #F0F5FB 48%, #F0F5FB 100%);
}
.city-list { display: flex; gap: .65rem; flex-wrap: wrap; margin-top: 1.3rem; }
.city-list span {
    border: 1px solid var(--line);
    border-radius: 6px;
    padding: .55rem .75rem;
    color: var(--blue);
    font-weight: 700;
    background: var(--light);
}
.map-card {
    border-radius: 8px;
    background:
        radial-gradient(circle at 28% 22%, rgba(217,30,46,.1), transparent 28%),
        linear-gradient(135deg, #fff 0%, #E8EFF8 100%);
    border: 1px solid var(--line);
    min-height: 430px;
    display: grid;
    place-items: center;
    box-shadow: var(--shadow);
    position: relative;
    overflow: hidden;
}
.map-card::before {
    content: "";
    position: absolute;
    top: 1.2rem;
    left: 1.4rem;
}
.colombia-map {
    width: min(560px, 90vw);
    height: 545px;
    position: relative;
    display: grid;
    place-items: center;
}
.colombia-map__image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    position: relative;
    z-index: 1;
}

.quote { background: var(--light); }
.quote-shell {
    display: grid;
    grid-template-columns: .85fr 1.15fr;
    gap: 2rem;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    padding: clamp(1.2rem, 3vw, 2.5rem);
    box-shadow: var(--shadow);
}
.quote-contact { display: grid; gap: .75rem; margin-top: 1.5rem; }
.quote-contact a { color: var(--blue); font-weight: 800; }
.quote-form label { width: 100%; color: #22324C; font-weight: 700; font-size: .86rem; }
.quote-form input, .quote-form textarea {
    width: 100%;
    border: 1px solid #D9E1EC;
    border-radius: 6px;
    padding: .9rem .95rem;
    margin-top: .35rem;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}
.quote-form input:focus, .quote-form textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(10,46,110,.1); }
.honeypot { position: absolute; left: -9999px; opacity: 0; }
.form-alert {
    border-radius: 6px;
    padding: .9rem 1rem;
    margin-bottom: 1rem;
    font-weight: 700;
}
.form-alert--ok { background: #E9F8EF; color: #126534; border: 1px solid #BDE8CA; }
.form-alert--error { background: #FFF0F1; color: #9F1220; border: 1px solid #F1BCC3; }

.portal { background: #fff; }
.portal-band {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--blue) 0%, var(--blue-2) 100%);
    padding: 2rem;
    color: #fff;
}
.portal h2 { color: #fff; margin: 0; }

.site-footer { background: #061D45; color: rgba(255,255,255,.82); padding: 56px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 2rem; }
.brand--footer {
    background: rgba(255,255,255,.98);
    border-radius: 8px;
    padding: .45rem .7rem;
    margin-bottom: 1rem;
}
.brand--footer img { width: min(300px, 100%); }
.site-footer h3 { color: #fff; font-size: .95rem; text-transform: uppercase; font-weight: 800; margin-bottom: 1rem; }
.site-footer a, .site-footer span { display: block; color: rgba(255,255,255,.78); margin-bottom: .45rem; }
.site-footer a:hover { color: #fff; }
.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-top: 1rem;
}
.site-footer .social-row a {
    display: inline-flex;
    width: auto;
    min-width: 42px;
    padding: 0 .8rem;
    border-radius: 999px;
    margin-bottom: 0;
}
.site-footer .social-row span {
    display: inline;
    margin: 0;
    color: currentColor;
    font-size: .82rem;
    font-weight: 700;
}
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); margin-top: 2rem; padding-top: 1rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .82rem; }

.whatsapp-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 30;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25D366;
    display: grid;
    place-items: center;
    box-shadow: 0 14px 30px rgba(0,0,0,.22);
}
.whatsapp-float span {
    width: 26px;
    height: 26px;
    border: 3px solid #fff;
    border-radius: 50%;
    position: relative;
}
.whatsapp-float span::after { content: ""; position: absolute; left: 0; bottom: -5px; border: 7px solid transparent; border-top-color: #fff; transform: rotate(35deg); }

.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1199px) {
    .category-grid, .featured-grid { grid-template-columns: repeat(2, 1fr); }
    .differential-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991px) {
    .hero-slider, .hero-slide__content { min-height: 590px; }
    .stats-grid, .process-grid { grid-template-columns: repeat(2, 1fr); }
    .quote-shell, .footer-grid { grid-template-columns: 1fr; }
    .navbar-nav { padding: 1rem 0; }
}
@media (max-width: 767px) {
    .topbar__links { gap: .7rem; }
    .hero-slider, .hero-slide__content { min-height: 620px; }
    .hero-slide__shade { background: linear-gradient(90deg, rgba(4,19,48,.97), rgba(10,46,110,.78)); }
    .hero-slide h1, .hero-slide h2 { font-size: 2.35rem; }
    .section-pad { padding: 64px 0; }
    .category-grid, .featured-grid, .testimonial-grid, .blog-grid, .stats-grid, .process-grid, .differential-grid, .timeline { grid-template-columns: 1fr; }
    .portal-band { align-items: flex-start; flex-direction: column; }
    .map-card { min-height: 350px; }
    .colombia-map { height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
