:root {
    --bg: #07111f;
    --bg-soft: #0e1c30;
    --surface: #ffffff;
    --surface-soft: #f5f9fc;
    --text: #102033;
    --text-soft: #4f637a;
    --line: #d9e3ee;
    --primary: #0b7fd0;
    --primary-dark: #055b97;
    --accent: #13b5ea;
    --success: #107869;
    --hero-overlay: .72;
    --radius: 24px;
    --shadow: 0 24px 60px rgba(7, 17, 31, 0.12);
    --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Inter', system-ui, sans-serif;
    color: var(--text);
    background: linear-gradient(180deg, #ffffff 0%, #f7fbff 100%);
    line-height: 1.65;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0; }
h1, h2, h3 { margin: 0; letter-spacing: -0.03em; }
h1 { font-size: clamp(2.4rem, 5vw, 5rem); line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 3vw, 3.2rem); line-height: 1.08; }
h3 { font-size: 1.22rem; line-height: 1.2; }
.container { width: min(var(--container), calc(100% - 2rem)); margin-inline: auto; }
.stack-xs > * + * { margin-top: .55rem; }
.stack-sm > * + * { margin-top: 1rem; }
.stack-md > * + * { margin-top: 1.5rem; }
.stack-lg > * + * { margin-top: 2rem; }
.grid { display: grid; gap: 1.25rem; }
.page-section { padding: clamp(3.5rem, 6vw, 5.5rem) 0; position: relative; }
.alt-section { background: linear-gradient(180deg, #f4f8fc 0%, #eef5fb 100%); }
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .55rem;
    font-size: .8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    color: var(--primary);
}
.eyebrow::before {
    content: '';
    width: 28px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
}
.lead { font-size: clamp(1rem, 2vw, 1.16rem); color: rgba(255,255,255,.88); max-width: 42rem; }
.muted, .content-entry p, .section-heading p, .site-tagline { color: var(--text-soft); }
.section-heading { max-width: 46rem; }
.section-heading p { font-size: 1.02rem; }

.page-banner {
    color: #fff;
    background:
        linear-gradient(rgba(7,17,31,.68), rgba(7,17,31,.68)),
        var(--banner-image, linear-gradient(135deg, #07111f 0%, #123457 100%));
    background-size: cover;
    background-position: center;
    padding: clamp(4rem, 7vw, 6rem) 0;
}
.page-banner-inner {
    max-width: 54rem;
}
.page-banner .lead {
    color: rgba(255,255,255,.82);
    max-width: 46rem;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(7, 17, 31, 0.82);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner {
    min-height: 84px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 1.5rem;
    padding: .9rem 0;
}
.brand-wrap { display: flex; align-items: center; gap: .9rem; min-width: 0; }
.site-logo img { max-height: 54px; width: auto; }
.site-title { color: #fff; font-weight: 800; font-size: 1.1rem; }
.site-tagline { margin-top: .25rem; font-size: .92rem; color: rgba(255,255,255,.65); }
.site-nav { min-width: 0; }
.menu-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.1rem;
    flex-wrap: wrap;
}
.menu-list a { color: rgba(255,255,255,.86); font-weight: 600; position: relative; }
.menu-list a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    transition: width .25s ease;
}
.menu-list a:hover::after, .menu-list .current-menu-item a::after { width: 100%; }
.menu-list a:hover, .menu-list .current-menu-item a { color: #fff; }

.button-group { display: flex; flex-wrap: wrap; gap: .9rem; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .6rem;
    min-height: 52px;
    padding: 0 1.25rem;
    border-radius: 999px;
    font-weight: 700;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}
.button:hover { transform: translateY(-2px); }
.button-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    box-shadow: 0 14px 28px rgba(11,127,208,.24);
}
.button-secondary { color: #fff; background: transparent; border: 1px solid rgba(255,255,255,.18); }
.text-link { color: var(--primary); font-weight: 700; }

.hero-section {
    color: #fff;
    overflow: hidden;
    background:
        linear-gradient(rgba(7,17,31,var(--hero-overlay)), rgba(13,33,55,var(--hero-overlay))),
        radial-gradient(circle at top right, rgba(19,181,234,.18), transparent 28%),
        var(--hero-image, linear-gradient(180deg, #07111f 0%, #0d2137 100%));
    background-size: cover;
    background-position: center;
    padding: clamp(5.4rem, 8vw, 7rem) 0 clamp(3.5rem, 6vw, 5rem);
}
.hero-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr);
    gap: clamp(1.5rem, 3vw, 2.5rem);
    align-items: center;
    position: relative;
    z-index: 2;
}
.hero-orb {
    position: absolute;
    border-radius: 999px;
    filter: blur(10px);
    opacity: .42;
    animation: floatPulse 7s ease-in-out infinite;
}
.hero-orb-one { width: 280px; height: 280px; background: rgba(19,181,234,.18); top: 7%; right: 8%; }
.hero-orb-two { width: 180px; height: 180px; background: rgba(11,127,208,.2); bottom: 10%; left: 6%; animation-delay: -2s; }
.hero-panel {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.10);
    border-radius: 30px;
    padding: clamp(1.35rem, 3vw, 2rem);
    box-shadow: var(--shadow);
}
.hero-visual-frame,
.visual-card,
.visual-placeholder {
    border-radius: 24px;
    overflow: hidden;
}
.hero-visual-frame img,
.visual-card img { width: 100%; object-fit: contain; background: rgba(255,255,255,.04); }
.hero-visual-frame img { max-height: 540px; margin-inline: auto; }
.visual-card img { max-height: 520px; margin-inline: auto; }
.hero-visual-placeholder,
.visual-placeholder {
    min-height: 280px;
    display: grid;
    place-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255,255,255,.08);
    border: 1px dashed rgba(255,255,255,.24);
}
.experience-pill {
    display: inline-flex;
    align-items: center;
    gap: .85rem;
    width: fit-content;
    padding: .85rem 1rem;
    border-radius: 999px;
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.12);
}
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}
.hero-badges span,
.contact-list li {
    background: rgba(255,255,255,.10);
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 999px;
    padding: .7rem 1rem;
}
.hero-metrics {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: .9rem;
}
.metric-card {
    display: flex;
    flex-direction: column;
    gap: .2rem;
    padding: 1rem 1.1rem;
    border-radius: 20px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.08);
}
.metric-card strong { font-size: clamp(1.7rem, 3vw, 2.4rem); }

.split-section,
.cta-grid,
.media-layout,
.footer-grid {
    display: grid;
    gap: clamp(1.4rem, 3vw, 2.2rem);
}
.split-section { grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr); align-items: center; }
.cta-grid { grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr); align-items: start; }
.media-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: start; }
.media-column { min-width: 0; }
.section-mini-head { display: grid; gap: .5rem; margin-bottom: 1.1rem; }
.section-mini-head p { color: var(--text-soft); }

.benefits-grid, .cards-grid, .why-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.video-grid { display: grid; gap: 1rem; }
.video-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}
.card, .gallery-card, .video-card {
    background: rgba(255,255,255,.9);
    border: 1px solid rgba(217,227,238,.9);
    border-radius: var(--radius);
    padding: clamp(1.1rem, 2vw, 1.5rem);
    box-shadow: var(--shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}
.card:hover, .gallery-card:hover, .video-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 70px rgba(7,17,31,.16);
}
.solution-thumb,
.video-thumb,
.gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 20px;
}
.solution-thumb img,
.video-thumb img,
.gallery-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: contain;
    background: #eef5fb;
}
.video-preview-media {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: #0f1724;
}
.card-title a:hover { color: var(--primary); }
.check-list, .contact-list {
    margin: 0;
    padding: 0;
    list-style: none;
    display: grid;
    gap: .85rem;
}
.check-list li {
    color: var(--text);
    background: var(--surface-soft);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 1rem 1rem 1rem 1.2rem;
    position: relative;
}
.check-list li::before {
    content: '•';
    color: var(--primary);
    font-size: 1.2rem;
    margin-right: .5rem;
}
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}
.gallery-grid-page {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}
.gallery-item-page {
    border-radius: 24px;
    background: #eef5fb;
    border: 1px solid var(--line);
}
.section-actions {
    margin-top: 1.25rem;
    display: flex;
    justify-content: center;
}
.archive-navigation {
    margin-top: 1rem;
}
.gallery-empty {
    padding: 1.25rem;
    border-radius: 18px;
    border: 1px dashed var(--line);
    background: rgba(255,255,255,.75);
    color: var(--text-soft);
}
.video-card .stack-xs > * + * { margin-top: .55rem; }
.video-card-featured {
    padding: 1rem;
}
.video-card-featured .video-thumb {
    margin-bottom: 1rem;
}
.video-play {
    position: absolute;
    left: 1rem;
    bottom: 1rem;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(7,17,31,.72);
    color: #fff;
    font-size: .88rem;
    font-weight: 700;
}
.video-thumb { position: relative; }
.video-placeholder-play {
    min-height: 220px;
    display: grid;
    place-items: center;
    background: linear-gradient(135deg, rgba(11,127,208,.14), rgba(19,181,234,.08));
    font-size: 2rem;
}
.video-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    background: rgba(4, 10, 18, 0.82);
}
.video-modal.is-open {
    display: flex;
}
.video-modal-backdrop {
    position: absolute;
    inset: 0;
}
.video-modal-dialog {
    position: relative;
    z-index: 1;
    width: min(980px, 100%);
    border-radius: 24px;
    overflow: hidden;
    background: #09111c;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.video-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    width: 42px;
    height: 42px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.14);
    color: #fff;
    font-size: 1.35rem;
    cursor: pointer;
}
.video-modal-body {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
}
.video-modal-body iframe,
.video-modal-body video {
    width: 100%;
    height: 100%;
    border: 0;
}
.video-modal-caption {
    padding: 1rem 1.25rem 1.2rem;
    color: #fff;
    font-weight: 600;
}
.testimonial-track {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
}
.quote-mark { font-size: 2rem; line-height: 1; color: var(--primary); }
.faq-list { max-width: 1000px; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1rem 1.25rem;
    box-shadow: var(--shadow);
}
.faq-item summary { cursor: pointer; font-weight: 700; list-style: none; }
.faq-item[open] summary { margin-bottom: 1rem; }

.cta-section { background: linear-gradient(180deg, #07111f 0%, #102a45 100%); color: #fff; }
.form-card { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.1); color: #fff; }
.contact-list { gap: .9rem; }
.contact-form label { font-weight: 600; }
.contact-form input, .contact-form textarea {
    width: 100%;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    border-radius: 16px;
    padding: .95rem 1rem;
    outline: none;
}
.contact-form input::placeholder, .contact-form textarea::placeholder { color: rgba(255,255,255,.5); }
.form-notice { border-radius: 14px; padding: .85rem 1rem; font-weight: 600; }
.form-notice.success { background: rgba(16,120,105,.18); }
.form-notice.error { background: rgba(206,53,53,.20); }

.site-footer { background: #06101d; color: rgba(255,255,255,.82); padding: 3rem 0 2.2rem; }
.footer-grid { grid-template-columns: minmax(0, 1.2fr) minmax(0, .9fr) minmax(0, .9fr); }
.footer-brand { font-size: 1.25rem; font-weight: 800; color: #fff; }
.footer-grid h3 { color: #fff; font-size: 1rem; margin-bottom: .7rem; }
.footer-grid a { color: rgba(255,255,255,.82); }
.footer-grid a:hover { color: #fff; }
.footer-button { margin-top: .5rem; width: fit-content; }
.footer-meta { margin-top: 2rem; padding-top: 1.1rem; border-top: 1px solid rgba(255,255,255,.12); }
.footer-meta p { margin: 0; color: rgba(255,255,255,.64); font-size: .95rem; }
.footer-meta a { color: #fff; font-weight: 700; }

.whatsapp-float {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 40;
    min-height: 54px;
    padding: 0 1.15rem;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #25d366, #1ebe5d);
    color: #fff;
    font-weight: 800;
    box-shadow: 0 16px 35px rgba(37,211,102,.35);
}

.content-entry > * + * { margin-top: .9rem; }
.content-entry ul, .content-entry ol { padding-left: 1.25rem; }
.reveal-up {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s ease, transform .7s ease;
}
.reveal-up.is-visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }

@keyframes floatPulse {
    0%, 100% { transform: translate3d(0,0,0) scale(1); }
    50% { transform: translate3d(0,-10px,0) scale(1.04); }
}

@media (max-width: 1100px) {
    .header-inner,
    .hero-grid,
    .split-section,
    .cta-grid,
    .media-layout,
    .footer-grid { grid-template-columns: 1fr; }

    .header-inner { gap: 1rem; }
    .header-cta { justify-self: start; }
    .benefits-grid, .cards-grid, .why-grid, .gallery-grid, .gallery-grid-page, .testimonial-track { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .video-showcase-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .hero-metrics { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .container { width: min(var(--container), calc(100% - 1.2rem)); }
    .page-section { padding: 3.4rem 0; }
    .site-header { position: static; }
    .header-inner { padding: 1rem 0; }
    .brand-wrap { justify-content: center; text-align: center; }
    .site-nav { width: 100%; }
    .menu-list {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: .25rem;
        scrollbar-width: thin;
    }
    .menu-list li { flex: 0 0 auto; }
    .header-cta,
    .header-cta .button { width: 100%; }
    .hero-section { padding-top: 4.4rem; }
    .hero-badges,
    .button-group { flex-direction: column; }
    .button-group .button,
    .hero-badges span { width: 100%; }
    .hero-metrics,
    .benefits-grid,
    .cards-grid,
    .why-grid,
    .gallery-grid,
    .gallery-grid-page,
    .video-showcase-grid,
    .testimonial-track { grid-template-columns: 1fr; }
    .metric-card { width: 100%; }
    .video-placeholder-play { min-height: 180px; }
    .video-modal {
        padding: .75rem;
    }
    .faq-item { padding: .95rem 1rem; }
    .contact-list li {
        border-radius: 20px;
        padding: .95rem 1rem;
    }
    .footer-grid { gap: 1.5rem; }
    .footer-button,
    .whatsapp-float {
        width: calc(100% - 1.2rem);
        right: .6rem;
        left: .6rem;
    }
}
