:root {
    --ink: #102033;
    --text: #263746;
    --muted: #657789;
    --sky: #dff5ff;
    --sky-strong: #8fdcff;
    --blue: #1467c8;
    --teal: #12a8a0;
    --copper: #9b6d4c;
    --white: #ffffff;
    --glass: rgba(255, 255, 255, .66);
    --glass-strong: rgba(255, 255, 255, .84);
    --line: rgba(72, 152, 202, .24);
    --shadow: 0 24px 70px rgba(38, 102, 143, .16);
    --radius: 8px;
    --body: "Inter", Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    overflow-x: hidden;
    color: var(--text);
    font-family: var(--body);
    background:
        radial-gradient(circle at 8% 12%, rgba(143, 220, 255, .62), transparent 24rem),
        radial-gradient(circle at 92% 8%, rgba(18, 168, 160, .16), transparent 22rem),
        linear-gradient(180deg, #f7fcff 0%, #eaf8ff 42%, #ffffff 100%);
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(20, 103, 200, .055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(20, 103, 200, .055) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: linear-gradient(to bottom, black, transparent 78%);
}

a {
    color: inherit;
    text-decoration: none;
}

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

svg {
    width: 1.08rem;
    height: 1.08rem;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 4vw;
    transition: padding .22s ease, background .22s ease, box-shadow .22s ease;
}

.site-header.scrolled {
    padding-top: .65rem;
    padding-bottom: .65rem;
    background: rgba(247, 252, 255, .78);
    box-shadow: 0 14px 34px rgba(38, 102, 143, .14);
    backdrop-filter: blur(18px);
}

.navbar,
.hero-shell,
.section-shell,
.footer-shell {
    width: min(1180px, 100%);
    margin: 0 auto;
}

.navbar {
    min-height: 4.65rem;
    display: grid;
    grid-template-columns: 20rem 1fr auto;
    align-items: center;
    gap: 1rem;
    padding: .65rem .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    box-shadow: 0 18px 44px rgba(38, 102, 143, .12), inset 0 1px 0 rgba(255, 255, 255, .9);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.brand-lockup,
.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: .78rem;
}

.brand-mark {
    width: 3.15rem;
    height: 3.15rem;
    display: grid;
    place-items: center;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .9);
    border-radius: 50%;
    background: white;
    box-shadow: 0 10px 26px rgba(38, 102, 143, .13);
}

.brand-mark img,
.footer-brand img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.brand-copy {
    display: grid;
    gap: .24rem;
    line-height: 1.05;
}

.brand-copy strong {
    color: var(--ink);
    font-size: .94rem;
    font-weight: 900;
    letter-spacing: .08em;
}

.brand-copy small {
    color: #587086;
    font-size: .61rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: clamp(1rem, 2.4vw, 2.2rem);
    color: #31495d;
    font-size: .88rem;
    font-weight: 800;
}

.nav-menu a {
    position: relative;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -.5rem;
    height: 2px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--blue), var(--teal));
    transform: scaleX(0);
    transition: transform .22s ease;
}

.nav-menu a:hover::after {
    transform: scaleX(1);
}

.nav-cta,
.primary-button,
.secondary-button {
    min-height: 2.9rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .55rem;
    padding: 0 1.15rem;
    border-radius: var(--radius);
    font-size: .86rem;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.nav-cta,
.primary-button {
    color: white;
    border: 1px solid rgba(20, 103, 200, .25);
    background: linear-gradient(135deg, var(--blue), var(--teal));
    box-shadow: 0 14px 28px rgba(20, 103, 200, .22);
}

.secondary-button {
    color: var(--ink);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .74);
    backdrop-filter: blur(16px);
}

.nav-cta:hover,
.primary-button:hover,
.secondary-button:hover,
.service-card:hover {
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    width: 2.85rem;
    height: 2.85rem;
    justify-self: end;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .75);
}

.nav-toggle span {
    display: block;
    width: 1.2rem;
    height: 2px;
    margin: .24rem auto;
    background: var(--ink);
}

.hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    padding: 8.4rem 4vw 3rem;
}

.hero-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(19rem, 28rem);
    gap: clamp(2rem, 5vw, 4.8rem);
    align-items: center;
}

.hero-copy {
    max-width: 780px;
}

.eyebrow {
    color: var(--blue);
    font-size: .76rem;
    font-weight: 900;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.pos-copy h2,
.process-band h2 {
    color: var(--ink);
    font-weight: 900;
    letter-spacing: 0;
}

.hero h1 {
    max-width: 760px;
    margin-top: -1.1rem;
    font-size: clamp(3rem, 6.8vw, 6.2rem);
    line-height: .98;
}

.hero-subtext {
    max-width: 680px;
    margin-top: 1.2rem;
    color: #475d70;
    font-weight: 580;
    font-size: clamp(1rem, 1.35vw, 1.18rem);
    line-height: 1.78;
}

.hero-actions,
.pos-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
    margin-top: 2rem;
}

.hero-panel,
.service-card,
.pos-panel,
.process-band,
.map-card,
.hero-marquee {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--glass);
    box-shadow: var(--shadow);
    backdrop-filter: blur(24px) saturate(160%);
    -webkit-backdrop-filter: blur(24px) saturate(160%);
}

.hero-panel {
    margin-top: -2.2rem;
    padding: 1rem;
    transform-style: preserve-3d;
    transition: transform .18s ease;
}

.panel-heading {
    min-height: 7.5rem;
    display: grid;
    grid-template-columns: 4.8rem 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .58);
}

.panel-heading img {
    width: 4.8rem;
    height: 4.8rem;
    border-radius: 50%;
    object-fit: contain;
    background: white;
}

.panel-heading span {
    color: var(--blue);
    font-size: .72rem;
    font-weight: 900;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.panel-heading strong {
    display: block;
    margin-top: .35rem;
    color: var(--ink);
    font-size: 1.28rem;
    line-height: 1.2;
}

.metric-grid {
    display: grid;
    gap: .75rem;
    margin-top: .8rem;
}

.metric-grid div,
.map-strip {
    border: 1px solid rgba(255, 255, 255, .8);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .56);
}

.metric-grid div {
    min-height: 4.15rem;
    display: grid;
    grid-template-columns: 3.6rem 1fr;
    align-items: center;
    gap: .75rem;
    padding: .8rem;
}

.metric-grid strong {
    color: var(--teal);
    font-size: 1rem;
    line-height: 1;
}

.metric-grid span,
.map-strip span {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    color: #415a70;
    font-size: .84rem;
    font-weight: 800;
    line-height: 1.4;
}

.map-strip {
    display: grid;
    gap: .25rem;
    margin-top: .8rem;
    padding: 1rem;
}

.map-strip strong {
    color: var(--ink);
}

.hero-marquee {
    width: min(1180px, 100%);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0;
    margin: clamp(2.2rem, 5vw, 3.4rem) auto 0;
    overflow: hidden;
}

.hero-marquee span {
    min-height: 6rem;
    display: grid;
    align-content: center;
    gap: .35rem;
    padding: 1.1rem;
    border-right: 1px solid var(--line);
}

.hero-marquee span:last-child {
    border-right: 0;
}

.hero-marquee strong {
    color: var(--ink);
    font-size: .95rem;
}

.hero-marquee em {
    color: var(--muted);
    font-size: .8rem;
    font-style: normal;
    font-weight: 650;
    line-height: 1.45;
}

.section {
    padding: clamp(4.8rem, 8vw, 7rem) 4vw;
}

.services-section,
.location-section {
    background: rgba(255, 255, 255, .52);
}

.section-heading.centered {
    max-width: 850px;
    margin: 0 auto 2.6rem;
    text-align: center;
}

.section-heading h2,
.pos-copy h2 {
    margin-top: .6rem;
    font-size: clamp(2rem, 4.15vw, 4rem);
    line-height: 1.06;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.service-card {
    min-height: 16rem;
    display: grid;
    grid-template-rows: auto auto 1fr;
    align-content: start;
    gap: .9rem;
    padding: 1.45rem;
    background: rgba(255, 255, 255, .7);
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.service-card:hover {
    background: rgba(255, 255, 255, .86);
    box-shadow: 0 28px 76px rgba(38, 102, 143, .2);
}

.service-card span {
    width: 3rem;
    height: 3rem;
    display: grid;
    place-items: center;
    border-radius: var(--radius);
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--teal));
}

.service-card h3 {
    color: var(--ink);
    font-size: 1.16rem;
}

.service-card p,
.process-steps p {
    color: var(--muted);
    font-weight: 550;
    line-height: 1.68;
}

.pos-section {
    background:
        linear-gradient(180deg, rgba(223, 245, 255, .7), rgba(255, 255, 255, .85));
}

.pos-grid,
.location-grid {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

.pos-copy p,
.location-note {
    max-width: 660px;
    margin-top: 1rem;
    color: var(--muted);
    font-weight: 550;
    font-size: clamp(1rem, 1.25vw, 1.12rem);
    line-height: 1.78;
}

.pos-panel {
    padding: 1rem;
    background: rgba(255, 255, 255, .68);
    transform-style: preserve-3d;
    transition: transform .18s ease;
}

.pos-screen {
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid rgba(20, 103, 200, .18);
    background: linear-gradient(135deg, #11253a, #165c8f);
    color: white;
}

.pos-top {
    min-height: 3rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: .7rem;
    padding: .8rem;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.pos-top span {
    width: .65rem;
    height: .65rem;
    border-radius: 50%;
    background: #45e39c;
}

.pos-top em {
    color: #dff5ff;
    font-size: .75rem;
    font-style: normal;
    font-weight: 900;
}

.pos-brand {
    display: flex;
    align-items: center;
    gap: .9rem;
    padding: 1rem;
}

.pos-brand img {
    width: 4.2rem;
    height: 4.2rem;
    border-radius: 50%;
    background: white;
    object-fit: contain;
}

.pos-brand strong,
.pos-brand span {
    display: block;
}

.pos-brand span {
    margin-top: .25rem;
    color: rgba(255, 255, 255, .74);
    font-size: .85rem;
    font-weight: 700;
}

.pos-items {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .65rem;
    padding: 1rem;
}

.pos-items span {
    min-height: 3.1rem;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .12);
    color: rgba(255, 255, 255, .92);
    font-size: .8rem;
    font-weight: 900;
    text-align: center;
}

.feature-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: .65rem;
    margin-top: 1rem;
    list-style: none;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: .55rem;
    min-height: 3.35rem;
    padding: .75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .62);
    color: #334b61;
    font-size: .82rem;
    font-weight: 800;
}

.feature-list svg {
    flex: 0 0 auto;
    color: var(--teal);
}

.process-section {
    background: linear-gradient(135deg, #f8fdff, #eaf8ff);
}

.process-band {
    display: grid;
    grid-template-columns: .9fr 1.25fr;
    gap: clamp(1.5rem, 4vw, 3rem);
    padding: clamp(1.6rem, 3vw, 2.4rem);
}

.process-band h2 {
    margin-top: .55rem;
    font-size: clamp(2rem, 4vw, 4rem);
    line-height: 1.04;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: .85rem;
}

.process-steps article {
    min-height: 12rem;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, .62);
}

.process-steps span {
    color: var(--blue);
    font-size: .78rem;
    font-weight: 900;
}

.process-steps h3 {
    margin-top: .7rem;
    color: var(--ink);
    font-size: 1.1rem;
}

.process-steps p {
    margin-top: .45rem;
}

.location-section {
    padding-top: clamp(4.8rem, 8vw, 7rem);
}

.social-row {
    display: flex;
    flex-wrap: wrap;
    gap: .7rem;
    margin-top: 1.5rem;
}

.social-row a {
    min-height: 3rem;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: 0 .9rem;
    border-radius: var(--radius);
    color: white;
    background: var(--blue);
    box-shadow: 0 12px 24px rgba(38, 102, 143, .14);
    font-size: .84rem;
    font-weight: 900;
    transition: transform .18s ease, box-shadow .18s ease;
}

.social-row a:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(38, 102, 143, .2);
}

.social-row .instagram { background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045); }
.social-row .facebook { background: #1877f2; }
.social-row .linkedin { background: #0a66c2; }
.social-row .youtube { background: #ff0000; }
.social-row .whatsapp { background: #25d366; color: #082216; }

.map-card {
    overflow: hidden;
    padding: .8rem;
}

.map-card iframe {
    width: 100%;
    min-height: 25rem;
    display: block;
    border: 0;
    border-radius: var(--radius);
    background: white;
}

.map-card a {
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    margin-top: .8rem;
    border-radius: var(--radius);
    color: white;
    background: linear-gradient(135deg, var(--blue), var(--teal));
    font-weight: 900;
}

.site-footer {
    padding: 2.2rem 4vw 1rem;
    color: #5c7184;
    background: rgba(255, 255, 255, .68);
    border-top: 1px solid var(--line);
}

.footer-shell {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1.5rem;
}

.footer-brand img {
    width: 2.7rem;
    height: 2.7rem;
    border-radius: 50%;
    background: white;
}

.footer-brand span {
    color: var(--ink);
    font-weight: 900;
    letter-spacing: .08em;
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: .88rem;
    font-weight: 800;
}

.copyright {
    width: min(1180px, 100%);
    margin: 1.2rem auto 0;
    padding-top: .85rem;
    border-top: 1px solid var(--line);
    font-size: .82rem;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .6s ease, transform .6s cubic-bezier(.2, .8, .2, 1);
    transition-delay: var(--reveal-delay, 0ms);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

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

@media (max-width: 1080px) {
    .service-grid,
    .hero-marquee,
    .process-steps {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 920px) {
    .navbar {
        grid-template-columns: 1fr 2.85rem;
    }

    .nav-cta {
        display: none;
    }

    .nav-toggle {
        display: block;
    }

    .nav-menu {
        position: absolute;
        top: 5.4rem;
        left: 4vw;
        right: 4vw;
        display: grid;
        overflow: hidden;
        max-height: 0;
        padding: 0 1rem;
        border: 1px solid var(--line);
        border-radius: var(--radius);
        background: rgba(255, 255, 255, .92);
        box-shadow: var(--shadow);
        backdrop-filter: blur(20px);
        transition: max-height .22s ease, padding .22s ease;
    }

    .nav-menu.open {
        max-height: 18rem;
        padding: .7rem 1rem;
    }

    .nav-menu a {
        padding: .75rem 0;
    }

    .hero {
        min-height: auto;
    }

    .hero-shell,
    .pos-grid,
    .location-grid,
    .process-band {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        margin-top: 0;
        max-width: 34rem;
    }
}

@media (max-width: 640px) {
    .site-header {
        padding: .75rem 1rem;
    }

    .brand-copy small {
        display: none;
    }

    .brand-copy strong {
        font-size: .82rem;
    }

    .hero {
        padding: 6.8rem 1rem 3.5rem;
    }

    .hero h1 {
        font-size: clamp(2.75rem, 14vw, 4.45rem);
    }

    .hero-actions,
    .hero-marquee,
    .service-grid,
    .process-steps,
    .footer-shell {
        display: grid;
        grid-template-columns: 1fr;
    }

    .hero-marquee span {
        border-right: 0;
        border-bottom: 1px solid var(--line);
    }

    .hero-marquee span:last-child {
        border-bottom: 0;
    }

    .section {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .panel-heading,
    .pos-items,
    .feature-list {
        grid-template-columns: 1fr;
    }

    .panel-heading img {
        width: 4.5rem;
        height: 4.5rem;
    }

    .social-row {
        display: grid;
        grid-template-columns: 1fr;
    }

    .footer-shell {
        align-items: start;
    }
}
