/**
 * BigData brand layer on top of Hyvä styles.css.
 * Plain CSS (unlayered) so it wins over Tailwind utilities without a theme build.
 * Brand palette from the logo: cyan #00ADEF, navy #03466E, graphite #545454.
 */

:root {
    --bigdata-cyan: #00adef;
    --bigdata-cyan-soft: #e6f7fe;
    --bigdata-cyan-deep: #0089c0;
    --bigdata-navy: #03466e;
    --bigdata-navy-soft: #0a5d8f;
    --bigdata-navy-deep: #022d48;
    --bigdata-graphite: #545454;
    --bigdata-ink: #0d1b26;
    --bigdata-muted: #9db4c4;
    --bigdata-line: #e2ebf1;
    --bigdata-font: "Archivo", ui-sans-serif, system-ui, sans-serif;

    /* Hyvä tokens: buttons, badges and links pick up the brand. */
    --color-primary: var(--bigdata-navy);
    --color-on-primary: #fff;
    --color-secondary: var(--bigdata-cyan);
    --color-on-secondary: var(--bigdata-navy-deep);
}

body {
    font-family: var(--bigdata-font);
    overflow-x: clip;
}

/* Header ------------------------------------------------------------------ */

#header {
    background: #fff;
    border-top: 4px solid var(--bigdata-cyan);
    border-bottom: 1px solid var(--bigdata-line);
    color: var(--bigdata-ink);
}

/* Plain header links/icons only: .btn buttons (e.g. "Pagar" in the cart drawer) keep their on-primary text. */
#header a:not(.btn),
#header button:not(.btn) {
    color: var(--bigdata-navy);
}

#header nav a {
    font-weight: 700;
}

#header nav a:hover,
#header nav a:focus-visible {
    color: var(--bigdata-cyan-deep);
    text-decoration: underline;
    text-decoration-color: var(--bigdata-cyan);
    text-decoration-thickness: 3px;
    text-underline-offset: 8px;
}

#header img[alt="BigData"] {
    width: auto;
    height: 56px;
}

/* Shared ------------------------------------------------------------------ */

.bigdata-wrap {
    width: 100%;
    max-width: 1200px;
    margin-inline: auto;
    padding-inline: 16px;
}

.bigdata-title {
    margin: 0 0 36px;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 900;
    letter-spacing: -.01em;
    color: var(--bigdata-navy);
    text-align: center;
}

.bigdata-title::after {
    content: "";
    display: block;
    width: 72px;
    height: 6px;
    margin: 14px auto 0;
    border-radius: 99px;
    background: linear-gradient(90deg, var(--bigdata-navy) 0 40%, var(--bigdata-cyan) 40%);
}

.bigdata-title--light {
    color: #fff;
}

.bigdata-title--light::after {
    background: var(--bigdata-cyan);
}

.bigdata-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 12px 28px;
    border: 2px solid transparent;
    border-radius: 10px;
    font-weight: 800;
    text-decoration: none;
    transition: transform .15s ease, background-color .15s ease, color .15s ease, border-color .15s ease;
}

.bigdata-btn:hover {
    transform: translateY(-2px);
}

.bigdata-btn--accent {
    background: var(--bigdata-cyan);
    color: var(--bigdata-navy-deep);
}

.bigdata-btn--accent:hover {
    background: #fff;
}

.bigdata-btn--outline {
    border-color: rgb(255 255 255 / .6);
    color: #fff;
}

.bigdata-btn--outline:hover {
    border-color: #fff;
    background: #fff;
    color: var(--bigdata-navy);
}

/* Home ---------------------------------------------------------------------- */

.cms-index-index .page-main {
    margin-top: 0;
}

.bigdata-home {
    /* Full-bleed bands inside Hyvä's centered content column. */
    margin-inline: calc(50% - 50vw);
    color: var(--bigdata-ink);
}

.bigdata-hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(circle at 80% 20%, rgb(0 173 239 / .35) 0, transparent 45%),
        linear-gradient(135deg, var(--bigdata-navy) 0%, var(--bigdata-navy-deep) 100%);
    color: #fff;
}

.bigdata-hero__inner {
    display: grid;
    gap: 40px;
    align-items: center;
    padding-block: 56px 64px;
}

.bigdata-hero__eyebrow {
    margin: 0 0 16px;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--bigdata-cyan);
}

.bigdata-hero__title {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 3.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -.02em;
    color: #fff;
}

.bigdata-hero__highlight {
    display: block;
    color: var(--bigdata-cyan);
    font-weight: 900;
}

.bigdata-hero__lead {
    max-width: 34em;
    margin: 20px 0 32px;
    font-size: 1.125rem;
    line-height: 1.6;
    color: #d3e3ee;
}

.bigdata-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Logo-inspired arcs behind the product stage. */
.bigdata-hero__media {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 360px;
}

.bigdata-hero__ring {
    position: absolute;
    border-radius: 50%;
    border: 18px solid transparent;
}

.bigdata-hero__ring--outer {
    width: min(440px, 92vw);
    aspect-ratio: 1;
    border-left-color: var(--bigdata-cyan);
    border-bottom-color: var(--bigdata-cyan);
    transform: rotate(20deg);
}

.bigdata-hero__ring--inner {
    width: min(360px, 76vw);
    aspect-ratio: 1;
    border-width: 12px;
    border-top-color: rgb(255 255 255 / .35);
    border-left-color: rgb(255 255 255 / .35);
    transform: rotate(-10deg);
}

.bigdata-hero__stage {
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 0;
    width: min(420px, 100%);
    padding: 28px 24px 24px;
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 30px 60px rgb(0 0 0 / .35);
}

.bigdata-hero__stage img {
    display: block;
    height: auto;
}

.bigdata-hero__kiosk {
    width: 34%;
    z-index: 1;
}

.bigdata-hero__pos {
    width: 44%;
    margin-left: -4%;
    z-index: 2;
}

.bigdata-hero__printer {
    width: 30%;
    margin-left: -6%;
    z-index: 3;
}

.bigdata-benefits {
    background: var(--bigdata-cyan);
    color: var(--bigdata-navy-deep);
}

.bigdata-benefits__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 16px;
    margin-block: 0;
    padding-block: 26px;
    list-style: none;
}

.bigdata-benefits__item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.bigdata-benefits__value {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--bigdata-navy-deep);
}

.bigdata-benefits__label {
    font-size: .9rem;
    font-weight: 500;
    color: var(--bigdata-navy-deep);
}

.bigdata-section {
    padding-block: 64px;
    background: #fff;
}

.bigdata-section--flush {
    padding-top: 0;
}

.bigdata-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bigdata-category {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 28px 20px;
    border: 2px solid var(--bigdata-line);
    border-radius: 18px;
    background: #fff;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.bigdata-category:hover,
.bigdata-category:focus-visible {
    border-color: var(--bigdata-cyan);
    box-shadow: 0 16px 32px rgb(3 70 110 / .12);
    transform: translateY(-4px);
}

.bigdata-category__icon {
    width: 140px;
    height: 140px;
    object-fit: contain;
    transition: transform .3s ease;
}

.bigdata-category:hover .bigdata-category__icon {
    transform: scale(1.06);
}

.bigdata-category__label {
    margin-top: 18px;
    font-size: 1.15rem;
    font-weight: 900;
    letter-spacing: .03em;
    text-transform: uppercase;
    color: var(--bigdata-navy);
}

.bigdata-category__note {
    flex-grow: 1;
    margin-top: 8px;
    font-size: .95rem;
    line-height: 1.5;
    color: var(--bigdata-graphite);
}

.bigdata-category__cta {
    margin-top: 18px;
    padding: 8px 20px;
    border-radius: 8px;
    background: var(--bigdata-cyan-soft);
    font-size: .9rem;
    font-weight: 800;
    color: var(--bigdata-navy);
    transition: background-color .2s ease, color .2s ease;
}

.bigdata-category:hover .bigdata-category__cta {
    background: var(--bigdata-navy);
    color: #fff;
}

.bigdata-solutions {
    padding-block: 64px;
    background:
        radial-gradient(circle at 10% 90%, rgb(0 173 239 / .25) 0, transparent 40%),
        var(--bigdata-navy);
    color: #fff;
}

.bigdata-solutions__list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bigdata-solution {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 28px 24px;
    border: 1px solid rgb(255 255 255 / .15);
    border-top: 4px solid var(--bigdata-cyan);
    border-radius: 16px;
    background: rgb(255 255 255 / .06);
}

.bigdata-solution__title {
    font-size: 1.15rem;
    font-weight: 800;
}

.bigdata-solution__text {
    line-height: 1.6;
    color: #c9dbe7;
}

.bigdata-brands {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 12px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bigdata-brand {
    display: grid;
    place-items: center;
    min-height: 88px;
    padding: 16px;
    border: 1px solid var(--bigdata-line);
    border-radius: 14px;
    background: #fff;
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: -.01em;
    color: var(--bigdata-graphite);
    filter: grayscale(1);
    opacity: .8;
    transition: filter .2s ease, opacity .2s ease, border-color .2s ease;
}

.bigdata-brand:hover {
    border-color: var(--bigdata-cyan);
    filter: none;
    opacity: 1;
}

.bigdata-brand img {
    width: auto;
    max-width: 100%;
    max-height: 48px;
}

.bigdata-terms {
    background: var(--bigdata-cyan-soft);
    border-block: 1px solid #cdeefc;
}

.bigdata-terms__inner {
    display: grid;
    gap: 32px;
    padding-block: 64px;
}

.bigdata-terms__title {
    margin: 0 0 16px;
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    font-weight: 900;
    color: var(--bigdata-navy);
}

.bigdata-terms__lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--bigdata-graphite);
}

.bigdata-terms__list {
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bigdata-terms__list li {
    position: relative;
    padding-left: 32px;
    line-height: 1.55;
}

.bigdata-terms__list li::before {
    content: "";
    position: absolute;
    top: .3em;
    left: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat,
        var(--bigdata-cyan);
}

.bigdata-contact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bigdata-contact__card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 24px;
    border-left: 6px solid var(--bigdata-cyan);
    border-radius: 12px;
    background: #f4f8fb;
}

.bigdata-contact__label {
    font-size: .85rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--bigdata-graphite);
}

.bigdata-contact__value {
    font-size: 1.2rem;
    font-weight: 900;
    color: var(--bigdata-navy);
    text-decoration: none;
    overflow-wrap: anywhere;
}

.bigdata-contact__value:hover {
    color: var(--bigdata-cyan-deep);
}

/* Footer -------------------------------------------------------------------- */

.bigdata-footer {
    background: var(--bigdata-navy-deep);
    color: var(--bigdata-muted);
}

.bigdata-footer__grid {
    display: grid;
    gap: 40px;
    padding-block: 64px 40px;
}

.bigdata-footer__brand img {
    width: 160px;
    height: auto;
}

.bigdata-footer__brand p {
    max-width: 24em;
    margin: 16px 0;
    line-height: 1.6;
}

.bigdata-footer__cta {
    display: inline-flex;
    padding: 8px 18px;
    border-radius: 8px;
    background: var(--bigdata-cyan);
    font-weight: 700;
    color: var(--bigdata-navy-deep);
    text-decoration: none;
}

.bigdata-footer__heading {
    margin: 0 0 16px;
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
}

.bigdata-footer ul {
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bigdata-footer__col a {
    color: var(--bigdata-muted);
    text-decoration: none;
}

.bigdata-footer__col a:hover,
.bigdata-footer__col a:focus-visible {
    color: var(--bigdata-cyan);
}

.bigdata-footer__bottom {
    padding-block: 20px;
    border-top: 1px solid rgb(255 255 255 / .12);
    font-size: .875rem;
    text-align: center;
}

/* Catalog --------------------------------------------------------------------- */

.catalog-product-view .product-info-main .price,
.product-item .price {
    color: var(--bigdata-navy);
    font-weight: 900;
}

.catalog-product-view .product.attribute.description ul {
    padding-left: 1.25rem;
    list-style: disc;
}

.catalog-product-view .product.attribute.description li {
    margin-bottom: .35rem;
}

/* Breakpoints --------------------------------------------------------------- */

@media (max-width: 479px) {
    .bigdata-category {
        padding: 20px 8px;
    }

    .bigdata-category__icon {
        width: 96px;
        height: 96px;
    }

    .bigdata-category__label {
        max-width: 100%;
        font-size: .8rem;
        letter-spacing: 0;
        hyphens: auto;
    }

    .bigdata-category__note {
        display: none;
    }

    .bigdata-hero__media {
        min-height: 280px;
    }
}

@media (min-width: 768px) {
    .bigdata-hero__inner {
        grid-template-columns: 1.15fr 1fr;
        padding-block: 80px 96px;
    }

    .bigdata-categories {
        gap: 20px;
    }

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

    .bigdata-terms__inner {
        grid-template-columns: 1fr 1.4fr;
        gap: 56px;
    }

    .bigdata-footer__grid {
        grid-template-columns: 1.4fr repeat(3, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    .bigdata-btn,
    .bigdata-category,
    .bigdata-category__icon,
    .bigdata-brand {
        transition: none;
    }
}

/* Featured products slider ---------------------------------------------------- */

.bigdata-featured {
    margin-block: 0;
}
