/* =============================================
   SYMA.dev — Minimalist Rebrand Styles
   Palette: #004de6 / #000 / #fff
   Inspired by skyboat.pl
   ============================================= */

/* === CSS Variables === */
:root {
    --primary-blue: #004de6;
    --black: #000000;
    --white: #ffffff;
    --light-gray: #f7f7f7;
    --dark-gray: #333333;
    --border: #e8e8e8;
}

/* === Base === */
body {
    font-family: 'Inter', sans-serif !important;
    background-color: #ffffff;
}

/* Headings — font only, no color override so dark sections work */
h1,
h2,
h3,
h4,
h5,
h6,
.h1,
.h2,
.h3,
.h4,
.h5,
.h6 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
}

.text-primary {
    color: #004de6 !important;
}

/* Reset text-transform for body content */
p,
.text-muted,
.page-hero__sub,
.service-card__desc,
.social-card__text,
.modern-text {
    text-transform: none !important;
    letter-spacing: normal !important;
    color: #777777 !important;
}

/* === Navbar === */
.site-navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e8e8e8;
    box-shadow: none;
}

.site-navbar .site-navigation .site-menu>li>a {
    color: #111111 !important;
    text-transform: uppercase !important;
    font-size: 11px !important;
    letter-spacing: 1px !important;
    font-weight: 600 !important;
    padding: 15px 10px !important;
}

.site-navbar .site-navigation .site-menu>li>a:hover {
    color: #004de6 !important;
}

/* === Buttons === */
.btn-primary {
    background-color: #000000 !important;
    border-color: #000000 !important;
    color: #ffffff !important;
    border-radius: 0 !important;
    font-weight: 700;
    padding: 12px 28px;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 12px !important;
}

.btn-primary:hover {
    background-color: #004de6 !important;
    border-color: #004de6 !important;
}

.btn-outline-dark {
    background-color: transparent !important;
    border: 2px solid #000000 !important;
    color: #000000 !important;
    border-radius: 0 !important;
    font-weight: 700;
    padding: 10px 28px;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 12px !important;
}

.btn-outline-dark:hover {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.btn-outline-success {
    background-color: transparent !important;
    border: 2px solid #25d366 !important;
    color: #25d366 !important;
    border-radius: 0 !important;
    font-weight: 700;
    padding: 10px 28px;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    font-size: 12px !important;
}

.btn-outline-success:hover {
    background-color: #25d366 !important;
    color: #ffffff !important;
}

/* === Contact section background === */
#contact-section {
    background-color: #f7f7f7 !important;
}

.site-wrap {
    background-color: #ffffff;
}

/* === Section labels & dividers === */
.section-label {
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase !important;
    color: #004de6;
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 8px;
}

.section-rule {
    border: none;
    border-top: 1px solid #e8e8e8;
    margin: 0;
}

/* ============================================================
   STAT ROW — 4 metrics below homepage hero
   ============================================================ */
.stat-row {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
    -webkit-box-orient: horizontal !important;
    -webkit-box-direction: normal !important;
    -ms-flex-direction: row !important;
    flex-direction: row !important;
    gap: 0;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    overflow: hidden;
    width: 100%;
}

.stat-block {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 0px;
    flex: 1 1 0 !important;
    padding: 40px 32px;
    border-right: 1px solid #e8e8e8;
    min-width: 0;
}

.stat-block:first-child {
    border-left: 1px solid #e8e8e8;
}

.stat-block__number {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -2px !important;
    text-transform: none !important;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-block__number span {
    color: #004de6;
}

.stat-block__label {
    font-size: 0.78rem;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #999999;
    font-weight: 600;
}

@media (max-width: 767px) {
    .stat-row {
        -ms-flex-wrap: wrap !important;
        flex-wrap: wrap !important;
    }

    .stat-block {
        -webkit-box-flex: 0;
        -ms-flex: 0 0 50%;
        flex: 0 0 50% !important;
        border-bottom: 1px solid #e8e8e8;
    }
}

/* ============================================================
   SERVICES GRID — numbered 4-column cards
   ============================================================ */
.services-grid {
    display: -ms-grid !important;
    display: grid !important;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    grid-template-columns: repeat(4, 1fr) !important;
    border-left: 1px solid #e8e8e8;
    width: 100%;
}

@media (max-width: 991px) {
    .services-grid {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

@media (max-width: 575px) {
    .services-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr !important;
    }
}

.service-card {
    border-right: 1px solid #e8e8e8;
    border-top: 1px solid #e8e8e8;
    border-bottom: 1px solid #e8e8e8;
    padding: 40px 32px;
    -webkit-transition: background 0.2s ease, color 0.2s ease;
    transition: background 0.2s ease, color 0.2s ease;
    position: relative;
    text-decoration: none !important;
    display: block;
    color: #000000;
}

.service-card:hover {
    background: #000000;
    color: #ffffff;
    text-decoration: none !important;
}

.service-card:hover .service-card__num,
.service-card:hover .service-card__title,
.service-card:hover .service-card__desc,
.service-card:hover .service-card__icon {
    color: #ffffff !important;
}

.service-card:hover .service-card__arrow {
    color: #004de6;
    -webkit-transform: translateX(4px);
    transform: translateX(4px);
}

.service-card__num {
    font-size: 11px;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    color: #bbbbbb;
    font-weight: 600;
    margin-bottom: 20px;
    display: block;
}

.service-card__icon {
    font-size: 1.4rem;
    color: #000000;
    margin-bottom: 16px;
    display: block;
}

.service-card__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: #000000;
    margin-bottom: 10px;
    display: block;
}

.service-card__desc {
    font-size: 0.88rem;
    color: #666666;
    line-height: 1.6;
    margin-bottom: 24px;
    text-transform: none !important;
}

.service-card__arrow {
    font-size: 1.2rem;
    color: #000000;
    display: inline-block;
    -webkit-transition: -webkit-transform 0.2s ease, color 0.2s ease;
    transition: transform 0.2s ease, color 0.2s ease;
}

/* ============================================================
   PAGE HERO (service pages)
   ============================================================ */
.page-hero {
    background: #ffffff;
    padding: 120px 0 70px;
    border-bottom: 1px solid #e8e8e8;
}

.page-hero__tag {
    display: inline-block;
    font-size: 11px;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    color: #004de6;
    font-weight: 700;
    margin-bottom: 20px;
}

.page-hero__title {
    font-size: clamp(2.6rem, 6vw, 4.5rem) !important;
    font-weight: 900 !important;
    letter-spacing: -2px !important;
    line-height: 1 !important;
    color: #000000 !important;
    margin-bottom: 20px;
}

.page-hero__title span {
    color: #004de6 !important;
}

.page-hero__sub {
    font-size: 1rem;
    color: #666666;
    max-width: 480px;
    line-height: 1.7;
    margin-bottom: 32px;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.page-hero__graphic {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    gap: 10px;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    height: 220px;
}

.page-hero__bar {
    width: 36px;
    background: #e8e8e8;
}

.page-hero__bar--blue {
    background: #004de6;
}

.page-hero__bar--black {
    background: #000000;
}

/* ============================================================
   SOCIAL CARDS (automatizaciones / demos) — PREMIUM DARK UI
   ============================================================ */
.social-card {
    border: none;
    padding: 40px 32px;
    background: linear-gradient(145deg, #050a18, #001233);
    -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), -webkit-box-shadow 0.3s ease;
    transition: transform 0.3s cubic-bezier(0.2, 0, 0.2, 1), box-shadow 0.3s ease;
    border-radius: 4px;
    height: 100%;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.social-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at top right, rgba(0, 77, 230, 0.15), transparent 70%);
    pointer-events: none;
}

.social-card:hover {
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0 20px 50px rgba(0, 77, 230, 0.25);
    box-shadow: 0 20px 50px rgba(0, 77, 230, 0.25);
}

.social-card__icon {
    width: 56px;
    height: 56px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 24px;
    border-radius: 12px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.social-card__title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff !important;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.social-card__text {
    font-size: 0.95rem;
    color: #a0aec0 !important;
    line-height: 1.65;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.social-card .btn-primary {
    margin-top: 24px;
    background: #000000 !important;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 800;
    letter-spacing: 2px;
}

.social-card .btn-primary:hover {
    background: #004de6 !important;
    box-shadow: 0 4px 15px rgba(0, 77, 230, 0.4);
}

/* ============================================================
   MODERN SECTIONS (dashboards)
   ============================================================ */
.modern-section {
    padding-top: 60px;
    padding-bottom: 60px;
}

.modern-title {
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    color: #000000;
    margin-bottom: 16px;
}

.modern-text {
    font-size: 0.95rem;
    line-height: 1.8;
    color: #555555;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.section-divider-dark {
    height: 1px;
    background: #e8e8e8;
    margin: 0;
}

.modern-card img {
    width: 100%;
}

/* ============================================================
   TEMPLATE GALLERY (webs)
   ============================================================ */
.template-pills {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 32px;
}

.pill {
    padding: 7px 18px;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    font-size: 12px;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: background 0.2s, color 0.2s, border-color 0.2s;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
    border-radius: 0;
}

.pill:hover,
.pill.active {
    background: #000000;
    color: #ffffff;
    border-color: #000000;
}

.templates-grid {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 1fr 1fr 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

@media (max-width: 1199px) {
    .templates-grid {
        -ms-grid-columns: 1fr 1fr 1fr;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .templates-grid {
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .templates-grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
}

.template-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #e8e8e8;
    background: #ffffff;
    -webkit-transition: -webkit-box-shadow 0.3s ease;
    transition: box-shadow 0.3s ease;
    grid-column: span 1 !important;
    /* Force 1 column span in the grid override */
}

.template-card:hover {
    -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.template-link {
    display: block;
    text-decoration: none;
}

.template-media img {
    width: 100%;
    display: block;
    -webkit-transition: -webkit-transform 0.4s ease;
    transition: transform 0.4s ease;
    aspect-ratio: 4/3;
    max-height: 140px;
    /* Reduced for "tinier" look */
    -o-object-fit: cover;
    object-fit: cover;
}

.template-card:hover .template-media img {
    -webkit-transform: scale(1.04);
    transform: scale(1.04);
}

.template-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.78);
    padding: 16px;
    -webkit-transform: translateY(100%);
    transform: translateY(100%);
    -webkit-transition: -webkit-transform 0.3s ease;
    transition: transform 0.3s ease;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}

.template-card:hover .template-overlay {
    -webkit-transform: translateY(0);
    transform: translateY(0);
}

.template-title {
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 700;
    margin: 0;
}

.template-badge {
    font-size: 10px;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    color: #004de6;
    font-weight: 700;
}

/* ============================================================
   LOGO / PLATFORMS SLIDER
   ============================================================ */
.slider {
    overflow: hidden;
    position: relative;
    padding: 20px 0;
    pointer-events: none !important;
    /* Strictly no interaction allowed */
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.slide-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    gap: 60px;
    -webkit-animation: scroll-loop 28s linear infinite;
    animation: scroll-loop 28s linear infinite;
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
}

/* Removed hover pause to ensure non-stop movement */

@-webkit-keyframes scroll-loop {
    0% {
        -webkit-transform: translateX(0);
        transform: translateX(0);
    }

    100% {
        -webkit-transform: translateX(-50%);
        transform: translateX(-50%);
    }
}

@keyframes scroll-loop {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.slide {
    -ms-flex-negative: 0;
    flex-shrink: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

.slide img {
    height: 36px;
    width: auto;
    -o-object-fit: contain;
    object-fit: contain;
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
    opacity: 0.3 !important;
    pointer-events: none !important;
    -webkit-transition: none !important;
    transition: none !important;
}

.slide img:hover {
    -webkit-filter: grayscale(100%) !important;
    filter: grayscale(100%) !important;
    opacity: 0.3 !important;
}

.platforms-sub {
    font-size: 0.85rem;
    color: #aaaaaa;
    letter-spacing: 1px !important;
    margin-top: 4px;
    text-transform: none !important;
}

/* ============================================================
   CONTACT & FOOTER
   ============================================================ */
.bg-image2.overlay {
    background-image: none !important;
    background-color: #ffffff !important;
}

.bg-image2.overlay:before {
    display: none;
}

#contact-section h2 {
    color: #000000 !important;
}

.footer-custom {
    background-color: #ffffff;
    border-top: 1px solid #e8e8e8;
    padding: 28px 0;
    font-size: 11px;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    color: #aaaaaa;
}

.footer-custom a {
    color: #aaaaaa;
    margin: 0 12px;
    text-decoration: none;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    -webkit-transition: color 0.2s;
    transition: color 0.2s;
}

.footer-custom a:hover {
    color: #000000;
}

/* ============================================================
   HERO CHART — minimalist bar graphic (homepage)
   ============================================================ */
.minimal-chart-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: end;
    -ms-flex-pack: end;
    justify-content: flex-end;
    height: 380px;
    gap: 14px;
    position: relative;
}

.minimal-bar {
    width: 32px;
    background-color: #ccd5ff;
    border-radius: 4px;
    filter: blur(2px);
    opacity: 0.7;
    transition: all 0.5s ease;
}

.minimal-bar.blue {
    background-color: #004de6;
    filter: blur(2px);
    opacity: 0.95;
}

.minimal-bar.black {
    background-color: #000000;
    filter: blur(2px);
    opacity: 0.9;
}

.minimal-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #eef2ff;
    position: absolute;
    top: 90px;
    left: 20px;
    filter: blur(3px);
    opacity: 0.7;
}

.minimal-circle-outline {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 1px solid #ccd5ff;
    background-color: transparent;
    position: absolute;
    top: 30px;
    right: -20px;
    opacity: 0.2;
}

/* ============================================================
   INFO ROWS (alternating content sections)
   ============================================================ */
.info-section {
    padding: 80px 0;
}

.info-row {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    gap: 80px;
    padding: 60px 0;
    border-bottom: 1px solid #e8e8e8;
}

.info-row:first-child {
    border-top: 1px solid #e8e8e8;
}

.info-row--reverse {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
}

.info-row__text {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
}

.info-row__visual {
    -webkit-box-flex: 0;
    -ms-flex: 0 0 420px;
    flex: 0 0 420px;
    max-width: 420px;
}

.info-row__visual img {
    width: 100%;
    display: block;
    border: 1px solid #e8e8e8;
}

@media (max-width: 991px) {

    .info-row,
    .info-row--reverse {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 40px;
    }

    .info-row__visual {
        -webkit-box-flex: none;
        -ms-flex: none;
        flex: none;
        max-width: 100%;
    }
}

/* ============================================================
   MISC / LEGACY HELPERS
   ============================================================ */
.subtitle-premium {
    letter-spacing: 3px !important;
    font-size: 0.85rem !important;
    text-transform: uppercase !important;
}

.text-readability {
    color: #555555 !important;
    font-size: 0.95rem !important;
    line-height: 1.6;
}

.unit-4 {
    background: #ffffff;
    border: 1px solid #f0f0f0;
    padding: 30px;
    -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.unit-4:hover {
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
    -webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.unit-4-icon .icon-wrap {
    background: none;
    font-size: 30px;
}

.unit-4-icon .icon-wrap span {
    color: #004de6 !important;
}

.mission-image-container img {
    border: 1px solid #e8e8e8;
}

/* ============================================================
   CONNECTED DOTS / NETWORK — PREANIMATED SVG
   ============================================================ */
.hero-bg-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-canvas svg {
    width: 100%;
    height: 100%;
    opacity: 1;
}

.pulse-dot {
    animation: dot-pulse 4s infinite ease-in-out;
}

@keyframes dot-pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.8;
    }
}

@media (max-width: 991px) {
    .hero-bg-canvas svg {
        opacity: 0.6;
        transform: scale(1.5);
    }
}