/* ===================================================
   Vibromera.it — Design System
   Italian flag accents (green/red) on a light, white UI
   =================================================== */
:root {
    /* Brand / flag palette */
    --it-green: #008C45;       /* primary */
    --it-green-dark: #006B34;  /* hover / links / dark text */
    --it-green-700: #004f26;   /* deepest green (footer) */
    --it-red: #CD212A;         /* accent / CTA */
    --it-red-dark: #A91B22;    /* hover red */
    --cta-warm: #E8730C;       /* warm CTA accent */
    --cta-warm-dark: #C75F00;

    /* Neutrals */
    --ink: #1A1A1A;            /* near-black headings */
    --text-color: #212529;     /* body */
    --muted: #5b6470;          /* muted gray */
    --line: #e4e8ee;           /* hairlines / borders */
    --bg: #ffffff;             /* white */
    --bg-soft: #f7f9fc;        /* light section bg */
    --tint-green: #e8f5ee;     /* soft green tint */
    --tint-red: #fdeced;       /* soft red tint */

    /* Spacing scale */
    --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px; --sp-4: 16px;
    --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px;

    /* Radius */
    --r-sm: 8px;  --r-md: 14px; --r-lg: 20px; --r-pill: 999px;

    /* Shadows */
    --shadow-1: 0 2px 8px rgba(16, 40, 25, 0.06);
    --shadow-2: 0 16px 40px rgba(16, 40, 25, 0.12);

    /* Type scale */
    --fs-h1: clamp(2.1rem, 4.6vw, 3.25rem);
    --fs-h2: clamp(1.7rem, 3vw, 2.3rem);
    --fs-h3: 1.35rem;
    --fs-body: 1.05rem;
    --fs-small: 0.9rem;

    --maxw: 1160px;
    --transition: 0.25s ease;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.65;
    margin: 0;
    padding: 0;
    background-color: var(--bg);
    color: var(--text-color);
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; }

a { color: var(--it-green-dark); }

:focus-visible {
    outline: 3px solid var(--it-green);
    outline-offset: 2px;
    border-radius: 4px;
}

.container {
    width: 90%;
    max-width: var(--maxw);
    margin: 0 auto;
    padding: 0;
}

/* ===================================================
   Header & Navigation (sticky)
   =================================================== */
header {
    background-color: var(--bg);
    color: var(--text-color);
}

.site-bar {
    position: sticky;
    top: 0;
    z-index: 900;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 1px 0 rgba(0,0,0,0.02);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 0;
    gap: var(--sp-5);
}

.logo a {
    color: var(--it-green);
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}
.logo a::before {
    content: "";
    width: 12px; height: 24px;
    border-radius: 3px;
    background: linear-gradient(180deg, var(--it-green) 0 50%, var(--it-red) 50% 100%);
}

.desktop-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 4px;
}
/* Hard reset so nav items NEVER inherit the global list check-icon */
.desktop-nav li,
.mobile-nav li {
    margin: 0;
    padding: 0;
    background: none !important;
}

.desktop-nav a {
    color: #404954;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    padding: 8px 12px;
    border-radius: var(--r-sm);
    transition: color var(--transition), background var(--transition);
}
.desktop-nav a:hover,
.desktop-nav a[aria-current="page"] {
    color: var(--it-green-dark);
    background: var(--tint-green);
}

.nav-cta {
    margin-left: 6px;
}

/* ===================================================
   Buttons
   =================================================== */
.button, .button-secondary, .button-ebay, .button-cta, .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 22px;
    border-radius: var(--r-pill);
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    text-align: center;
    cursor: pointer;
    transition: transform var(--transition), background var(--transition), border-color var(--transition), box-shadow var(--transition);
    border: 2px solid transparent;
    line-height: 1.2;
}
.button:hover, .button-secondary:hover, .button-ebay:hover, .button-cta:hover, .btn:hover {
    transform: translateY(-2px);
}

/* Primary = solid green */
.button-secondary, .btn-primary {
    background-color: var(--it-green);
    color: #fff;
    border-color: var(--it-green);
    box-shadow: var(--shadow-1);
}
.button-secondary:hover, .btn-primary:hover {
    background-color: var(--it-green-dark);
    border-color: var(--it-green-dark);
}

/* Outline green */
.button, .btn-outline {
    background-color: #fff;
    color: var(--it-green-dark);
    border: 2px solid var(--it-green);
}
.button:hover, .btn-outline:hover {
    background-color: var(--tint-green);
    border-color: var(--it-green-dark);
}

/* Red accent CTA */
.button-cta, .btn-accent {
    background-color: var(--it-red);
    color: #fff;
    border-color: var(--it-red);
    box-shadow: 0 8px 20px rgba(205, 33, 42, 0.25);
}
.button-cta:hover, .btn-accent:hover {
    background-color: var(--it-red-dark);
    border-color: var(--it-red-dark);
}

/* eBay button */
.button-ebay {
    background-color: var(--cta-warm);
    color: #fff;
    border-color: var(--cta-warm);
}
.button-ebay:hover {
    background-color: var(--cta-warm-dark);
    border-color: var(--cta-warm-dark);
}

.button-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: var(--sp-3);
}

.price-chip {
    display: inline-block;
    margin-left: 4px;
    padding: 2px 10px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,0.22);
    font-weight: 800;
}

/* ===================================================
   HERO (homepage)
   =================================================== */
.hero {
    position: relative;
    overflow: hidden;
    background:
        radial-gradient(1100px 480px at 12% -10%, rgba(0,140,69,0.14), transparent 60%),
        radial-gradient(900px 460px at 100% 0%, rgba(205,33,42,0.08), transparent 55%),
        var(--bg);
    border-bottom: 1px solid var(--line);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: var(--sp-7);
    align-items: center;
    padding: var(--sp-8) 0;
}

.pill-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: var(--r-pill);
    background: var(--tint-green);
    color: var(--it-green-dark);
    font-weight: 700;
    font-size: 0.88rem;
    border: 1px solid #bfe6cf;
}
.pill-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--it-green);
    box-shadow: 0 0 0 4px rgba(0,140,69,0.18);
}

.hero h1 {
    font-size: var(--fs-h1);
    line-height: 1.08;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--ink);
    margin: var(--sp-4) 0 var(--sp-3);
}
.hero h1 .accent { color: var(--it-green); }

.hero-sub {
    font-size: 1.18rem;
    color: var(--muted);
    max-width: 56ch;
    margin: 0 0 var(--sp-5);
}

.hero-features {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--sp-6);
    display: grid;
    gap: 12px;
}
.hero-features li {
    background: none;
    padding: 0 0 0 34px;
    margin: 0;
    position: relative;
    font-size: 1.03rem;
    line-height: 1.4;
}
.hero-features li::before {
    content: "";
    position: absolute;
    left: 0; top: 1px;
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--it-green) url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 24 24" fill="none" stroke="%23ffffff" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat center;
}
.hero-features b { color: var(--ink); }

.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: var(--sp-5);
    font-size: 0.92rem;
    color: var(--muted);
}
.hero-trust span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
}
.hero-trust span::before {
    content: "✓";
    color: var(--it-green);
    font-weight: 900;
}

/* Hero visual: product card + badges + value card */
.hero-visual {
    position: relative;
}
.product-shot {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-2);
    padding: 22px;
    position: relative;
}
.product-shot img {
    width: 100%;
    border-radius: var(--r-md);
    display: block;
}
.stock-badge {
    position: absolute;
    top: 16px; left: 16px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: #fff;
    color: var(--it-green-dark);
    border: 1px solid #bfe6cf;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: var(--shadow-1);
}
.stock-badge .dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: var(--it-green);
    box-shadow: 0 0 0 4px rgba(0,140,69,0.16);
}
.value-card {
    position: absolute;
    right: -10px; bottom: -22px;
    max-width: 250px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-md);
    padding: 16px 18px;
    box-shadow: var(--shadow-2);
}
.value-card strong {
    color: #fff;
    display: block;
    font-size: 1.05rem;
    margin-bottom: 4px;
}
.value-card span { color: #c9d2cc; font-size: 0.86rem; line-height: 1.4; }
.value-card .vc-accent { color: #6fe09b; }

/* ===================================================
   Sections
   =================================================== */
main { padding-bottom: var(--sp-7); }

section {
    padding: var(--sp-8) 0;
}
.container > section:first-child { padding-top: var(--sp-7); }

.highlight-section { background-color: var(--bg-soft); }

section h2 {
    text-align: center;
    font-size: var(--fs-h2);
    font-weight: 800;
    letter-spacing: -0.01em;
    margin: 0 auto var(--sp-6);
    color: var(--ink);
    max-width: 22ch;
}
section h3 {
    font-size: var(--fs-h3);
    color: var(--it-green-dark);
    margin-bottom: var(--sp-3);
}

.section-subtitle {
    text-align: center;
    font-size: 1.12rem;
    color: var(--muted);
    margin: -18px auto var(--sp-6);
    max-width: 62ch;
}

/* Eyebrow above section titles */
.eyebrow {
    display: block;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--it-red);
    margin-bottom: 10px;
}

/* ===================================================
   Cards
   =================================================== */
.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: var(--sp-5);
}
.four-columns { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.three-columns { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.two-columns { grid-template-columns: repeat(auto-fit, minmax(380px, 1fr)); }

.card {
    background-color: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: var(--sp-5);
    box-shadow: var(--shadow-1);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-2);
}
.card .price {
    margin-top: auto;
    font-weight: 800;
    color: var(--it-green-dark);
    font-size: 1.2rem;
    padding-top: var(--sp-3);
}

/* numbered benefit cards (home applications) */
.card h3 .num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px; height: 30px;
    margin-right: 10px;
    border-radius: 50%;
    background: var(--tint-green);
    color: var(--it-green-dark);
    font-size: 0.95rem;
    font-weight: 800;
}

.product-card-image {
    width: 100%;
    max-height: 210px;
    object-fit: contain;
    margin-bottom: var(--sp-4);
    border-radius: var(--r-sm);
    background: var(--bg-soft);
}

/* ===================================================
   Feature cards (icon circles)
   =================================================== */
.feature-block {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--sp-6);
}
.feature-card { text-align: center; padding: var(--sp-4); }
.feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--tint-green);
    border-radius: 50%;
    width: 72px; height: 72px;
    margin-bottom: var(--sp-4);
    color: var(--it-green);
}
.feature-icon svg { width: 34px; height: 34px; display: block; }
.feature-card h3 { font-size: 1.2rem; margin-bottom: 8px; color: var(--ink); }

/* ===================================================
   Generic content lists (check icon) — scoped, NOT global
   =================================================== */
.card ul, article ul, .product-info ul, .check-list {
    list-style: none;
    padding-left: 0;
    margin: var(--sp-3) 0;
}
.card ul li, article ul li, .product-info ul li, .check-list li {
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="22" height="22" viewBox="0 0 24 24" fill="none" stroke="%23008C45" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left 4px;
    padding-left: 32px;
    margin-bottom: 10px;
    line-height: 1.55;
}

/* ===================================================
   Comparison table
   =================================================== */
.comparison-table {
    width: 100%;
    margin-top: var(--sp-5);
    border-collapse: collapse;
    text-align: center;
    font-size: 1.02rem;
    background: #fff;
    border-radius: var(--r-md);
    overflow: hidden;
    box-shadow: var(--shadow-1);
}
.comparison-table th, .comparison-table td {
    padding: 14px;
    border-bottom: 1px solid var(--line);
}
.comparison-table th {
    background-color: var(--it-green);
    color: #fff;
    font-weight: 700;
}
.comparison-table tbody tr:nth-child(odd) { background-color: var(--bg-soft); }
.comparison-table td:first-child { text-align: left; font-weight: 500; }
.check-mark { color: var(--it-green); font-size: 1.4rem; font-weight: bold; }
.cross-mark { color: var(--it-red); font-size: 1.4rem; font-weight: bold; }

/* ===================================================
   CTA section (band)
   =================================================== */
.cta-section {
    background: linear-gradient(135deg, var(--it-green) 0%, var(--it-green-dark) 100%);
    color: #fff;
}
.cta-section h2, .cta-section .section-subtitle { color: #fff; }
.cta-section .section-subtitle { opacity: 0.92; }
.cta-section .eyebrow { color: #ffd2d4; }

.cta-box {
    background-color: var(--tint-green);
    border: 1px solid #bfe6cf;
    border-radius: var(--r-md);
    padding: var(--sp-5);
    text-align: center;
    margin: var(--sp-6) 0;
}
.cta-box h3 { margin-top: 0; color: var(--it-green-dark); }

/* ===================================================
   Support cards
   =================================================== */
.support-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: var(--sp-6);
    margin: var(--sp-6) 0;
}
.support-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--r-md);
    padding: var(--sp-5);
    box-shadow: var(--shadow-1);
    transition: transform var(--transition), box-shadow var(--transition);
    color: var(--text-color);
    text-align: left;
}
.support-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-2); }
.support-card-icon {
    width: 60px; height: 60px;
    background: var(--tint-green);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: var(--sp-4);
    font-size: 1.9rem;
}
.support-card h3 { color: var(--it-green-dark); font-size: 1.25rem; margin-bottom: var(--sp-3); }
.support-card ul { list-style: none; padding: 0; }
.support-card li {
    font-size: 0.97rem; line-height: 1.55; margin-bottom: 10px;
    padding-left: 28px;
    background: url('data:image/svg+xml;charset=UTF-8,<svg xmlns="http://www.w3.org/2000/svg" width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="%23008C45" stroke-width="2.5" stroke-linecap="round" stroke-linejoin="round"><polyline points="20 6 9 17 4 12"></polyline></svg>') no-repeat left 4px;
}
.support-card ol { list-style: none; counter-reset: step-counter; padding: 0; }
.support-card ol li {
    position: relative; padding-left: 38px; margin-bottom: 12px;
    font-size: 0.97rem; line-height: 1.5; background: none;
}
.support-card ol li::before {
    content: counter(step-counter);
    counter-increment: step-counter;
    position: absolute; left: 0; top: 0;
    width: 26px; height: 26px;
    background: var(--it-green); color: #fff;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: bold;
}
.support-info-box {
    background: rgba(255,255,255,0.12);
    border: 1px solid rgba(255,255,255,0.32);
    color: #fff;
    border-radius: var(--r-md);
    padding: var(--sp-5);
    margin: var(--sp-6) auto;
    max-width: 760px;
    text-align: center;
}
.support-info-box p { margin: 6px 0; font-size: 0.97rem; color: #fff; }
.support-info-box a { color: #fff; text-decoration: underline; }

/* ===================================================
   Testimonials
   =================================================== */
#testimonials { background-color: var(--bg-soft); }
.testimonial-card { border-top: 4px solid var(--it-green); }
.testimonial-text { font-style: italic; color: #2e3640; flex-grow: 1; margin-bottom: var(--sp-4); font-size: 1.04rem; }
.testimonial-author { font-weight: 700; color: var(--it-green-dark); text-align: right; }
.testimonial-author a { color: var(--it-green-dark); }

/* ===================================================
   Social proof
   =================================================== */
#social-proof { text-align: center; }
.social-links { display: flex; justify-content: center; gap: var(--sp-7); margin: var(--sp-6) 0; }
.social-link-icon {
    display: flex; flex-direction: column; align-items: center;
    text-decoration: none; color: var(--ink);
    font-size: 1.1rem; font-weight: 700;
    transition: transform var(--transition), color var(--transition);
}
.social-link-icon:hover { transform: translateY(-5px); color: var(--it-green); }
.social-link-icon svg { margin-bottom: 10px; }

/* ===================================================
   Footer (multi-column)
   =================================================== */
footer {
    background-color: var(--it-green-700);
    color: #e8efe9;
    padding: var(--sp-7) 0 var(--sp-5);
    border-top: 4px solid var(--it-red);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr;
    gap: var(--sp-6);
    align-items: start;
}
.footer-col h4 {
    color: #fff;
    font-size: 1.05rem;
    margin: 0 0 var(--sp-3);
}
.footer-brand .logo-text {
    font-size: 1.5rem; font-weight: 800; color: #fff; display: block; margin-bottom: 10px;
}
.footer-col p { margin: 6px 0; font-size: 0.95rem; line-height: 1.6; }
footer a { color: #aee9c4; text-decoration: none; }
footer a:hover { color: #fff; text-decoration: underline; }
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { background: none; padding: 0; margin: 7px 0; font-size: 0.95rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.14);
    margin-top: var(--sp-6);
    padding-top: var(--sp-4);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px;
    font-size: 0.85rem;
    color: #bcd6c5;
}
.footer-bottom .legal-links a { margin: 0 8px; }
.footer-note { font-size: 0.8rem; opacity: 0.75; }

.external-icon {
    font-size: 0.78em;
    display: inline-block;
    margin-left: 4px;
    transform: translateY(-1px);
}

/* ===================================================
   Burger / mobile nav
   =================================================== */
.burger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 2.2rem; height: 1.9rem;
    background: transparent; border: none; cursor: pointer; padding: 0;
    z-index: 1001;
}
.burger-bar {
    width: 100%; height: 3px;
    background: var(--it-green);
    border-radius: 10px;
    transition: all 0.3s linear;
}
.mobile-nav {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: fixed; top: 0; right: -100%; height: 100vh; width: 100%;
    background: var(--it-green-700);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
}
.mobile-nav.active { right: 0; }
.mobile-nav ul { list-style: none; padding: 0; text-align: center; }
.mobile-nav li { margin: 18px 0; }
.mobile-nav a { color: #fff; font-size: 1.6rem; text-decoration: none; font-weight: 600; }
.mobile-nav a:hover { color: #aee9c4; }
.close-btn {
    position: absolute; top: 18px; right: 24px;
    background: none; border: none; color: #fff; font-size: 3rem; cursor: pointer; line-height: 1;
}

/* ===================================================
   Page-specific: Product
   =================================================== */
#product-details .product-main {
    display: flex; gap: var(--sp-7); align-items: flex-start;
    padding-bottom: var(--sp-6); border-bottom: 1px solid var(--line); margin-bottom: var(--sp-6);
}
#product-details .product-image { flex: 1; max-width: 420px; }
#product-details .product-image img { width: 100%; border-radius: var(--r-md); box-shadow: var(--shadow-2); }
.product-info-col { flex: 1.4; display: flex; flex-direction: column; gap: var(--sp-4); }
#product-details h1 { font-size: clamp(2rem, 3.5vw, 2.6rem); margin-bottom: 8px; color: var(--ink); }
#product-details .subtitle { font-size: 1.15rem; color: var(--muted); }
.product-price-box {
    background-color: var(--tint-green);
    border: 1px solid #bfe6cf;
    border-radius: var(--r-md);
    padding: var(--sp-5);
    text-align: center;
}
.product-price-box .price { font-size: 2.4rem; font-weight: 800; color: var(--it-green-dark); margin: 0 0 10px; }

.product-tabs { margin-top: var(--sp-7); }
.tab-nav { display: flex; flex-wrap: wrap; border-bottom: 2px solid var(--line); }
.tab-btn {
    padding: 14px 24px; cursor: pointer; border: none; background: transparent;
    font-size: 1.05rem; font-weight: 600; color: var(--muted);
    position: relative; bottom: -2px; border-bottom: 3px solid transparent;
}
.tab-btn.active { color: var(--it-green-dark); border-bottom-color: var(--it-green); }
.tab-pane { display: none; padding: var(--sp-6) 4px; animation: fadeIn 0.4s; }
.tab-pane.active { display: block; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: var(--sp-4); }
.spec-table td { padding: 12px; border: 1px solid var(--line); }
.spec-table tr:nth-child(odd) { background-color: var(--bg-soft); }

/* ===================================================
   Service & Application pages
   =================================================== */
.service-item {
    display: flex; gap: var(--sp-6); align-items: center;
    padding: var(--sp-5); margin-bottom: var(--sp-4);
    border: 1px solid var(--line); border-radius: var(--r-md); background: #fff;
    box-shadow: var(--shadow-1);
}
.service-content { flex: 2; }
.service-image { flex: 1; max-width: 360px; }
.service-image img { width: 100%; border-radius: var(--r-sm); box-shadow: var(--shadow-1); }
.service-details {
    padding: var(--sp-5);
    margin-bottom: var(--sp-6);
    border: 1px solid var(--line); border-top: none;
    border-radius: 0 0 var(--r-md) var(--r-md); background: #fff; margin-top: -21px;
}
.service-item h2 {
    text-align: left; margin-top: 0;
    border-bottom: 2px solid var(--it-green); padding-bottom: 10px; margin-bottom: var(--sp-4);
}
.service-details .price { text-align: right; font-weight: bold; margin-top: var(--sp-4); font-size: 1.1rem; color: var(--it-green-dark); }
.service-item.partner-network { display: block; text-align: center; background: transparent; border: none; box-shadow: none; }

/* ===================================================
   Blog / Article
   =================================================== */
.article-container {
    max-width: 820px; background: #fff;
    padding: var(--sp-7); margin: var(--sp-6) auto; border-radius: var(--r-md);
    box-shadow: var(--shadow-1);
}
.article-container h1 { font-size: clamp(1.9rem, 4vw, 2.5rem); color: var(--ink); line-height: 1.15; }
.article-meta { font-size: 0.92rem; color: var(--muted); margin-bottom: var(--sp-6); border-bottom: 1px solid var(--line); padding-bottom: var(--sp-4); }
article h2 { font-size: 1.7rem; margin-top: var(--sp-7); margin-bottom: var(--sp-4); color: var(--it-green-dark); text-align: left; }
article p, article li { font-size: 1.08rem; line-height: 1.75; }
article p { max-width: 72ch; }
article a { color: var(--it-green-dark); font-weight: 600; }
.mini-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 15px; margin: var(--sp-6) 0; }
.mini-gallery img { width: 100%; height: auto; border-radius: var(--r-sm); box-shadow: var(--shadow-1); cursor: pointer; transition: opacity var(--transition); }
.mini-gallery img:hover { opacity: 0.85; }
.article-card .article-excerpt { flex-grow: 1; color: var(--muted); margin-top: 10px; }
.article-card .article-category { font-size: 0.88rem; color: var(--it-red); margin-top: var(--sp-4); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

blockquote { border-left: 4px solid var(--it-green); margin: var(--sp-6) 0; padding: 12px 22px; background: var(--bg-soft); font-style: italic; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.case-study-box { background: var(--bg-soft); border-left: 4px solid var(--it-green); padding: var(--sp-5); margin: var(--sp-6) 0; border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.case-study-box h3 { margin-top: 0; }

/* ===================================================
   Videos
   =================================================== */
.video-container-responsive { position: relative; overflow: hidden; width: 100%; padding-top: 56.25%; }
.video-container-responsive iframe { position: absolute; inset: 0; width: 100%; height: 100%; border-radius: var(--r-md); }
.videos-section { margin: var(--sp-6) 0; }
.videos-section h3 { color: var(--it-green-dark); font-size: 1.4rem; margin-bottom: var(--sp-5); text-align: center; }
.shorts-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--sp-6); margin-bottom: var(--sp-7); }
.short-video { text-align: center; }
.short-video iframe { width: 100%; max-width: 350px; height: 500px; border-radius: var(--r-md); box-shadow: var(--shadow-1); margin: 0 auto 1rem; display: block; }
.short-video p { font-size: 0.9rem; color: var(--muted); margin: 0; padding: 0 1rem; }
.main-video { text-align: center; max-width: 800px; margin: 0 auto; }
.main-video iframe { width: 100%; height: 450px; border-radius: var(--r-md); box-shadow: var(--shadow-1); margin-bottom: 1rem; }
.main-video p { font-size: 1rem; color: var(--muted); margin: 0; padding: 0 2rem; }

/* ===================================================
   Image modal (lightbox)
   =================================================== */
.modal { display: none; position: fixed; z-index: 2000; padding-top: 60px; inset: 0; width: 100%; height: 100%; overflow: auto; background-color: rgba(0,0,0,0.9); }
.modal-content { margin: auto; display: block; width: 80%; max-width: 900px; animation: zoom 0.5s; }
.modal-caption { margin: auto; display: block; width: 80%; max-width: 700px; text-align: center; color: #ccc; padding: 10px 0; }
.modal-close-btn { position: absolute; top: 15px; right: 35px; color: #f1f1f1; font-size: 40px; font-weight: bold; transition: 0.3s; cursor: pointer; }
.modal-close-btn:hover { color: #bbb; }
@keyframes zoom { from { transform: scale(0.85); opacity: 0; } to { transform: scale(1); opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ===================================================
   WhatsApp float
   =================================================== */
.whatsapp-float {
    position: fixed; width: 58px; height: 58px; bottom: 32px; right: 32px;
    background-color: #25d366; color: #fff; border-radius: 50%;
    text-align: center; box-shadow: 0 8px 20px rgba(37,211,102,0.4);
    z-index: 800; display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: transform var(--transition);
}
.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 34px; height: 34px; fill: #fff; }

/* ===================================================
   Page hero (interior pages, non-home)
   =================================================== */
.page-hero {
    background:
        radial-gradient(900px 360px at 10% -20%, rgba(0,140,69,0.12), transparent 60%),
        var(--bg-soft);
    border-bottom: 1px solid var(--line);
    padding: var(--sp-7) 0;
    text-align: center;
}
.page-hero h1 { font-size: var(--fs-h1); color: var(--ink); margin: 0 0 12px; letter-spacing: -0.02em; }
.page-hero p { font-size: 1.15rem; color: var(--muted); max-width: 62ch; margin: 0 auto; }

/* legacy interior header-content fallback */
.header-content { padding: var(--sp-6) 0; }
.header-content > h1 { font-size: var(--fs-h1); color: var(--ink); margin: 0 0 10px; }
.header-content > p { font-size: 1.15rem; color: var(--muted); }

/* ===================================================
   Responsive
   =================================================== */
@media (max-width: 900px) {
    .hero-grid { grid-template-columns: 1fr; gap: var(--sp-6); padding: var(--sp-7) 0; }
    .hero-visual { margin-top: var(--sp-4); }
    .value-card { right: 8px; bottom: -16px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .desktop-nav, .nav-cta { display: none; }
    .burger-menu { display: flex; }
    #product-details .product-main, .service-item { flex-direction: column; }
    .service-image { max-width: 100%; }
    .footer-grid { grid-template-columns: 1fr; gap: var(--sp-5); }
    .footer-bottom { flex-direction: column; align-items: flex-start; }
    section { padding: var(--sp-7) 0; }
    .shorts-container { grid-template-columns: 1fr; }
    .short-video iframe { height: 420px; max-width: 300px; }
    .main-video iframe { height: 280px; }
}

@media (max-width: 420px) {
    .value-card { position: static; max-width: none; margin-top: var(--sp-4); }
    .button-group .button, .button-group .button-secondary, .button-group .button-ebay { width: 100%; }
}

/* fix: keep aspect ratio for content images */
.product-shot img,#product-details .product-image img,.service-image img{height:auto}
/* VBM header/menu parity patch 20260531a
   Normalizes header geometry and mobile drawer behavior across static locales. */
:root {
    --vbm-header-min-height: 64px;
    --vbm-header-gap: clamp(10px, 1.2vw, 18px);
}

html,
body {
    overflow-x: hidden;
}

.site-nav,
.site-bar,
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: saturate(180%) blur(10px);
    -webkit-backdrop-filter: saturate(180%) blur(10px);
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.navbar,
.header-inner {
    min-height: var(--vbm-header-min-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--vbm-header-gap);
    padding-top: 10px;
    padding-bottom: 10px;
}

.logo,
.brand {
    flex: 0 0 auto;
}

.logo a,
.brand,
.brand-logo {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    white-space: nowrap;
}

.desktop-nav {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.desktop-nav ul,
.primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: nowrap;
    gap: clamp(2px, 0.45vw, 8px);
    list-style: none;
    margin: 0;
    padding: 0;
}

.desktop-nav li,
.mobile-nav li {
    list-style: none;
    margin: 0;
    padding: 0;
    background: none !important;
}

.desktop-nav a,
.primary-nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 8px clamp(6px, 0.58vw, 10px);
    border-radius: 9px;
    line-height: 1.12;
    white-space: nowrap;
    text-decoration: none;
    font-size: clamp(0.86rem, 0.82vw, 0.96rem);
}

.nav-cta {
    margin-left: 4px;
    flex: 0 0 auto;
}

body.vbm-menu-open {
    overflow: hidden;
}

@media (min-width: 769px) {
    .burger-menu,
    .burger {
        display: none !important;
    }

    .desktop-nav {
        display: flex !important;
    }

    .primary-nav {
        position: static !important;
        width: auto !important;
        height: auto !important;
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
    }
}

@media (max-width: 768px) {
    .navbar,
    .header-inner {
        min-height: 60px;
        padding-top: 8px;
        padding-bottom: 8px;
    }

    .desktop-nav {
        display: none !important;
    }

    .burger-menu,
    .burger {
        display: flex !important;
        flex: 0 0 auto;
    }

    .mobile-nav,
    #mobile-nav,
    .primary-nav {
        box-sizing: border-box;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: auto !important;
        width: min(100vw, 390px) !important;
        max-width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        transform: translateX(105%) !important;
        transition: transform 0.25s ease !important;
        z-index: 1200 !important;
        padding: 72px 20px 32px !important;
        pointer-events: none;
    }

    .mobile-nav.active,
    #mobile-nav.active,
    .primary-nav.open,
    .primary-nav.active {
        transform: translateX(0) !important;
        pointer-events: auto;
    }

    .mobile-nav ul,
    #mobile-nav ul {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        padding: 0;
        list-style: none;
    }

    .mobile-nav a,
    #mobile-nav a,
    .primary-nav a {
        width: 100%;
        min-height: 44px;
        justify-content: center;
        white-space: normal !important;
        overflow-wrap: anywhere;
        text-align: center;
    }
}
/* VBM header/menu padding correction 20260531b */
.site-nav,
.site-bar,
.site-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.site-nav .navbar,
.site-bar .navbar,
.site-header .header-inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

@media (max-width: 768px) {
    .site-nav .navbar,
    .site-bar .navbar,
    .site-header .header-inner {
        min-height: 60px !important;
    }
}
/* VBM header/menu container padding correction 20260531d */
.site-nav,
.site-bar,
.site-header {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.site-nav .navbar,
.site-bar .navbar,
.site-header .header-inner {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.site-nav > .container,
.site-bar > .container,
.site-header > .container {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

@media (max-width: 768px) {
    .site-nav .navbar,
    .site-bar .navbar,
    .site-header .header-inner {
        min-height: 60px !important;
    }
}
/* VBM YouTube lite embed 20260531e
   Prevents YouTube cookies, console issues and heavy third-party JS before user interaction. */
.vbm-youtube-lite {
    position: relative;
    display: flex;
    width: 100%;
    aspect-ratio: 16 / 9;
    min-height: 220px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    padding: 24px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    border-radius: 16px;
    background:
        radial-gradient(circle at 30% 20%, rgba(0, 114, 206, 0.18), transparent 36%),
        linear-gradient(135deg, #0f172a, #1e3a5f);
    color: #fff;
    text-align: center;
    cursor: pointer;
    overflow: hidden;
    box-shadow: 0 14px 34px rgba(15, 23, 42, 0.16);
}

.vbm-youtube-lite:focus-visible {
    outline: 3px solid #0072ce;
    outline-offset: 3px;
}

.vbm-youtube-lite__play {
    width: 68px;
    height: 48px;
    border-radius: 14px;
    background: #ff0033;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
}

.vbm-youtube-lite__play::before {
    content: "";
    display: block;
    margin: 13px auto 0;
    width: 0;
    height: 0;
    border-top: 11px solid transparent;
    border-bottom: 11px solid transparent;
    border-left: 18px solid #fff;
}

.vbm-youtube-lite__text {
    font-weight: 700;
    line-height: 1.35;
}

.vbm-youtube-lite iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 520px) {
    .vbm-youtube-lite {
        min-height: 190px;
        border-radius: 12px;
    }
}


/* VBM pricing/header alignment patch 20260531k */
body.pricing-page-wrapper {
    margin: 0 !important;
    padding: 0 !important;
    width: auto !important;
    min-height: 100vh;
}
body.pricing-page-wrapper .site-header,
body.pricing-page-wrapper .site-nav,
body.pricing-page-wrapper .site-bar,
body.pricing-page-wrapper > header {
    margin-left: 0 !important;
    margin-right: 0 !important;
    width: 100% !important;
    max-width: none !important;
}
body.pricing-page-wrapper .pricing-container {
    padding-left: 20px;
    padding-right: 20px;
}


/* VBM IT mobile card overflow fix 20260601it1 */
@media (max-width: 480px) {
    .cards-container,
    .cards-container.two-columns,
    .two-columns {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .card {
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }
}


/* VBM IT mobile overflow fix 20260601it2 */
@media (max-width: 480px) {
    html, body {
        overflow-x: clip;
        max-width: 100vw;
    }
    body.pricing-page-wrapper {
        padding: 16px 12px !important;
        width: 100% !important;
        min-width: 0 !important;
    }
    .pricing-container,
    .pricing-header,
    .pricing-cards,
    .pricing-card {
        min-width: 0 !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
    .pricing-cards {
        grid-template-columns: minmax(0, 1fr) !important;
        gap: 16px !important;
    }
    .popular-badge,
    .google-ads-badge {
        right: 8px !important;
        left: auto !important;
        padding: 4px 12px !important;
        font-size: 0.65em !important;
        white-space: normal !important;
        max-width: calc(100% - 16px) !important;
    }
    .period-toggle {
        flex-wrap: wrap !important;
        gap: 10px !important;
        padding: 0 4px !important;
    }
    .article-container,
    .article-container article,
    .contact-container,
    #contact-cards .container {
        min-width: 0 !important;
        max-width: 100% !important;
    }
    .cards-container.three-columns,
    .cards-container.two-columns,
    .three-columns,
    .two-columns {
        grid-template-columns: minmax(0, 1fr) !important;
    }
    .card,
    .pricing-card {
        overflow-wrap: anywhere;
    }
    .contact-container iframe,
    iframe {
        max-width: 100% !important;
    }
    pre, table {
        display: block;
        max-width: 100%;
        overflow-x: auto;
    }
}

@media (max-width: 768px) {
    .mobile-nav:not(.active):not(.open),
    #mobile-nav:not(.active):not(.open) {
        transform: translateX(105%) !important;
        pointer-events: none !important;
    }
}

/* VBM video gap fix 20260604 */
.video-container-responsive .vbm-youtube-lite{position:absolute;inset:0;width:100%;height:100%;min-height:0;aspect-ratio:auto;}
