/* =========================================
   Nettan Solutions — Main CSS
   Stack: JS thuần + PHP thuần
   Font: Inter (Google Fonts)
   ========================================= */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Variables (Light Mode) --- */
:root {
    /* Brand */
    --cyan:        #00AEDB;
    --teal:        #06AF84;
    --cyan-light:  #27C1E5;
    --cyan-pale:   #A2D8EC;

    /* Light mode */
    --bg:          #ffffff;
    --bg-alt:      #f4f8fc;
    --bg-card:     #ffffff;
    --text:        #1a1a2e;
    --text-muted:  #6b7280;
    --border:      #e5e7eb;
    --shadow:      0 4px 24px rgba(0,0,0,.08);
    --shadow-hover:0 8px 40px rgba(0,174,219,.18);

    /* Nav */
    --nav-bg:      rgba(255,255,255,.95);
    --nav-border:  rgba(0,0,0,.06);

    /* Transitions */
    --t: .3s ease;

    /* Nav height — referenced by both .nav-inner and mobile menu */
    --nav-h: 6rem;
}

/* --- Dark Mode --- */
[data-theme="dark"] {
    --bg:         #0d1117;
    --bg-alt:     #161b22;
    --bg-card:    #1c2333;
    --text:       #e6edf3;
    --text-muted: #8b949e;
    --border:     #30363d;
    --shadow:     0 4px 24px rgba(0,0,0,.4);
    --shadow-hover:0 8px 40px rgba(0,174,219,.25);
    --nav-bg:     rgba(13,17,23,.95);
    --nav-border: rgba(255,255,255,.06);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
@media (max-width: 768px) {
    html { font-size: 15px; }
}
body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    transition: background var(--t), color var(--t);
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* --- Typography --- */
h1 { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; line-height: 1.15; }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 600; }
h4 { font-size: 1.1rem; font-weight: 600; }
p  { color: var(--text-muted); }

/* --- Utilities --- */
.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.text-cyan  { color: var(--cyan); }
.text-teal  { color: var(--teal); }
.text-center{ text-align: center; }
.flex       { display: flex; }
.flex-center{ display: flex; align-items: center; justify-content: center; }
.gap-1      { gap: .5rem; }
.gap-2      { gap: 1rem; }
.gap-3      { gap: 1.5rem; }
.grid-4     { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-3     { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-2     { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }

/* --- Buttons --- */
.btn {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .75rem 1.75rem; border-radius: 8px;
    font-weight: 600; font-size: .95rem;
    transition: all var(--t); white-space: nowrap;
}
.btn-primary {
    background: var(--cyan); color: #fff;
    box-shadow: 0 4px 16px rgba(0,174,219,.35);
}
.btn-primary:hover {
    background: var(--cyan-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,174,219,.45);
}
.btn-outline {
    border: 2px solid var(--cyan); color: var(--cyan);
}
.btn-outline:hover {
    background: var(--cyan); color: #fff;
    transform: translateY(-2px);
}
.btn-ghost {
    color: var(--text-muted);
    border: 2px solid var(--border);
}
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

/* --- Section Headers --- */
.section-label {
    display: inline-block;
    font-size: .8rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
    color: var(--cyan); background: rgba(0,174,219,.1);
    padding: .3rem .9rem; border-radius: 99px; margin-bottom: 1rem;
}
.section-title { margin-bottom: .75rem; }
.section-desc  { color: var(--text-muted); max-width: 680px; margin-left: auto; margin-right: auto; }


/* =========================================
   HERO — Parallax
   ========================================= */
.hero {
    min-height: 100vh;
    background: var(--bg-alt);
    position: relative; overflow: hidden;
    display: flex; align-items: center;
    padding-top: var(--nav-h);
}
.hero-bg {
    position: absolute; inset: 0;
    background-image: url('/assets/img/hero-bg.jpg');
    background-size: cover; background-position: center;
    background-attachment: fixed;
    opacity: .12;
    transition: opacity var(--t);
}
[data-theme="dark"] .hero-bg { opacity: .08; }

.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg,
        rgba(0,174,219,.15) 0%,
        rgba(6,175,132,.08) 50%,
        transparent 100%);
}
.hero-content {
    position: relative; z-index: 1;
    max-width: 780px;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(0,174,219,.12); border: 1px solid rgba(0,174,219,.3);
    color: var(--cyan); padding: .4rem 1rem; border-radius: 99px;
    font-size: .8rem; font-weight: 600; letter-spacing: .05em;
    text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-title { margin-bottom: 1.5rem; }
.hero-title span { color: var(--cyan); }
.hero-desc {
    font-size: 1.15rem; color: var(--text-muted);
    max-width: 580px; margin-bottom: 2.5rem; line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Animated gradient orbs */
.hero-orb {
    position: absolute; border-radius: 50%;
    filter: blur(80px); opacity: .15; pointer-events: none;
}
.hero-orb-1 {
    width: 600px; height: 600px;
    background: var(--cyan); top: -200px; right: -150px;
    animation: orb-float 8s ease-in-out infinite;
}
.hero-orb-2 {
    width: 400px; height: 400px;
    background: var(--teal); bottom: -100px; left: -100px;
    animation: orb-float 10s ease-in-out infinite reverse;
}
@keyframes orb-float {
    0%, 100% { transform: translate(0, 0); }
    50%       { transform: translate(30px, -30px); }
}

/* =========================================
   SOLUTION CARDS — Card Overlay (Hitachi style)
   ========================================= */
.solutions { background: var(--bg); }
.solutions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.solution-card {
    position: relative; border-radius: 16px; overflow: hidden;
    box-shadow: var(--shadow); transition: all var(--t);
    background: var(--bg-card);
    border: 1px solid var(--border);
}
.solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
}
.solution-card-img {
    height: 200px; overflow: hidden; position: relative;
}
.solution-card-img img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .5s ease;
}
.solution-card:hover .solution-card-img img { transform: scale(1.05); }

/* Card overlay — floating on boundary */
.solution-card-body {
    position: relative;
    margin-top: -2rem;
    margin-left: 1.25rem; margin-right: 1.25rem;
    background: var(--bg-card);
    border-radius: 12px;
    padding: 1.25rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.08);
    border: 1px solid var(--border);
    z-index: 1;
    transition: all var(--t);
}
.solution-card:hover .solution-card-body {
    box-shadow: 0 -4px 20px rgba(0,174,219,.12);
}
.solution-card-icon {
    width: 42px; height: 42px; border-radius: 10px;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem; margin-bottom: .75rem;
}
.solution-card-title { font-size: 1rem; font-weight: 600; margin-bottom: .4rem; }
.solution-card-desc  { font-size: .85rem; color: var(--text-muted); margin-bottom: 1rem; line-height: 1.5; }
.solution-card-link  {
    font-size: .85rem; font-weight: 600; color: var(--cyan);
    display: flex; align-items: center; gap: .3rem;
    transition: gap var(--t);
}
.solution-card:hover .solution-card-link { gap: .6rem; }

/* =========================================
   INDUSTRIES
   ========================================= */
.industries {
    position: relative;
    background: url('/assets/img/nettan/nettan-golf-pc.webp') center / cover no-repeat fixed;
}
.industries::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(8, 14, 28, 0.68);
    pointer-events: none; z-index: 0;
}
.industries > .container { position: relative; z-index: 1; }
.industries .section-label { color: var(--cyan); }
.industries .section-title,
.industries .section-desc  { color: rgba(255, 255, 255, .9); }
@media (max-width: 768px) {
    .industries { background-image: url('/assets/img/nettan/nettan-golf-mobile.webp'); background-attachment: scroll; }
}
.industries-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem; margin-top: 3rem;
}
.industry-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; padding: 2rem 1.5rem;
    text-align: center; transition: all var(--t);
    cursor: pointer;
}
.industry-card:hover {
    border-color: var(--cyan); transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
}
.industry-icon {
    width: 56px; height: 56px; border-radius: 14px; margin: 0 auto 1rem;
    background: linear-gradient(135deg, rgba(0,174,219,.15), rgba(6,175,132,.15));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; transition: all var(--t);
}
.industry-card:hover .industry-icon {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    color: #fff;
}
.industry-name { font-weight: 600; font-size: .95rem; margin-bottom: .4rem; }
.industry-desc { font-size: .8rem; color: var(--text-muted); line-height: 1.4; }

/* =========================================
   SERVICES
   ========================================= */
.nettan-services { background: var(--bg-alt); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}
.service-card {
    position: relative;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: border-color var(--t), transform var(--t), box-shadow var(--t);
}
.service-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,174,219,.12);
}
.service-card-step {
    font-size: .72rem;
    font-weight: 700;
    color: var(--cyan);
    letter-spacing: .08em;
    opacity: .7;
    margin-bottom: .6rem;
}
.service-card-header {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .6rem;
}
.service-card-icon {
    width: 2rem;
    height: 2rem;
    flex-shrink: 0;
    color: var(--cyan);
}
.service-card-title {
    font-size: 1rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.3;
}
.service-card-desc {
    font-size: .85rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}
@media (max-width: 900px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
    .services-grid { grid-template-columns: 1fr; }
    .services-method-steps {
        display: grid !important;
        grid-template-columns: 1fr;
        gap: 1rem !important;
    }
    .services-method-step {
        min-width: 0 !important;
        padding: 1.25rem 1rem !important;
        text-align: left !important;
        background: var(--bg-card);
        border: 1px solid var(--border);
        border-radius: 14px;
    }
    .services-method-connector,
    .step-connector-v {
        display: none !important;
    }
    .services-method-step > div[style*="border-radius:50%"] {
        margin-bottom: .75rem !important;
    }
}

/* =========================================
   WHY NETTAN — Stats
   ========================================= */
.why-nettan { background: var(--bg); }
.why-nettan-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}
@media (max-width: 900px) {
    .why-nettan-grid { grid-template-columns: 1fr; gap: 2.5rem; }
    .why-nettan-grid .why-nettan-video { max-height: 380px; }
}
@media (max-width: 540px) {
    .why-nettan-grid .why-nettan-video { max-height: 260px; }
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.stat-card {
    text-align: center; padding: 2rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; transition: all var(--t);
}
.stat-card:hover { border-color: var(--cyan); box-shadow: var(--shadow-hover); }
.stat-number {
    font-size: 2rem; font-weight: 800;
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; margin-bottom: .25rem;
}
.stat-label { font-size: .9rem; color: var(--text-muted); font-weight: 500; }

/* =========================================
   PARTNERS
   ========================================= */
.partners { background: var(--bg-alt); }
.partners-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 2rem 2.5rem;
    margin-top: 3rem;
    align-items: center;
    justify-items: center;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.partner-item {
    display: flex; align-items: center; justify-content: center;
    min-height: 56px; width: 100%; max-width: 100%;
    min-width: 0; overflow: hidden;
    transition: opacity var(--t);
}
.partner-item:hover { transform: none; }
.partner-logo {
    opacity: .5; filter: grayscale(1);
    transition: opacity var(--t), filter var(--t);
    max-height: 48px; width: auto; height: auto; max-width: min(150px, 100%);
    object-fit: contain;
    display: block;
}
.partner-item:hover .partner-logo { opacity: 1; filter: grayscale(0); }
.brand-text-fallback {
    display: none;
    font-size: .95rem; font-weight: 700; letter-spacing: .03em;
    color: var(--text-muted); opacity: .55; text-align: center;
    transition: opacity var(--t);
}
.partner-item:hover .brand-text-fallback { opacity: 1; }
.partner-more {
    display: flex; align-items: center; justify-content: center;
}
.brand-more-dots {
    font-size: 1.5rem; letter-spacing: .25em;
    color: var(--text-muted); opacity: .35;
}
.compat-brands {
    display: flex; flex-wrap: wrap; align-items: center;
    justify-content: center; gap: .5rem;
    margin-top: 1.75rem;
}
.compat-brands-label {
    font-size: .8rem; color: var(--text-muted);
    letter-spacing: .03em; margin-right: .25rem;
}
.compat-brand-chip {
    font-size: .78rem; font-weight: 500;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 999px;
    padding: .25rem .75rem;
    transition: color var(--t), border-color var(--t);
}
.compat-brand-chip:hover {
    color: var(--text);
    border-color: var(--cyan);
}
.compat-brand-more {
    opacity: .55;
}
@media (max-width: 900px) {
    .partners-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.75rem 2rem; }
}
@media (max-width: 540px) {
    .partners-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
    .partner-item { min-height: 48px; }
    .partner-logo { max-height: 42px; max-width: min(132px, 100%); }
    .partners-grid .partner-item-omniverter {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: min(180px, 100%);
    }
    .about-partner-cards {
        grid-template-columns: 1fr !important;
        text-align: left;
    }
    .about-partner-card {
        padding: 1.15rem !important;
    }
}
@media (max-width: 390px) {
    .partners-grid { gap: 1rem .75rem; }
    .partner-logo { max-width: min(120px, 100%); }
}

/* =========================================
   CASE STUDIES
   ========================================= */
.case-studies { background: var(--bg); }
.case-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem; margin-top: 3rem;
}
.case-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 16px; overflow: hidden;
    transition: all var(--t);
}
.case-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.case-card-img { height: 180px; overflow: hidden; }
.case-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.case-card:hover .case-card-img img { transform: scale(1.05); }
.case-card-body { padding: 1.5rem; }
.case-card-tags { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 1rem; }
.tag {
    font-size: .75rem; font-weight: 600; padding: .25rem .75rem;
    border-radius: 99px; background: rgba(0,174,219,.1); color: var(--cyan);
}
.tag-teal { background: rgba(6,175,132,.1); color: var(--teal); }
.case-card-title { font-size: 1rem; font-weight: 600; margin-bottom: .5rem; }
.case-card-desc  { font-size: .85rem; color: var(--text-muted); line-height: 1.5; }
.case-metric {
    display: flex; align-items: center; gap: .5rem;
    margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--border);
    font-size: .85rem; font-weight: 600; color: var(--teal);
}

/* =========================================
   POWER AUDIT CTA BANNER
   ========================================= */
.audit-banner {
    background: url('/assets/img/nettan/nettan-air-pc.webp') center / cover no-repeat;
    padding: 5rem 0; text-align: center; position: relative; overflow: hidden;
}
.audit-banner::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(8, 14, 28, 0.68);
    pointer-events: none;
}
.audit-banner-content { position: relative; z-index: 1; }
.audit-banner h2 { color: #fff; margin-bottom: 1rem; }
.audit-banner p  { color: rgba(255,255,255,.85); max-width: 540px; margin: 0 auto 2rem; }
@media (max-width: 768px) {
    .audit-banner { background-image: url('/assets/img/nettan/nettan-air-mobile.webp'); }
}
.btn-white {
    background: #fff; color: var(--cyan);
    box-shadow: 0 4px 20px rgba(0,0,0,.15);
}
.btn-white:hover { background: #f0f9ff; transform: translateY(-2px); }

/* =========================================
   CONTACT TEASER
   ========================================= */
.contact-teaser { background: var(--bg-alt); }
.contact-teaser-inner {
    display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.contact-info h2 { margin-bottom: 1rem; }
.contact-info p  { margin-bottom: 2rem; }
.contact-detail  { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.contact-icon    {
    width: 40px; height: 40px; border-radius: 10px;
    background: rgba(0,174,219,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan); flex-shrink: 0;
}
.contact-form-mini {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 20px; padding: 2rem;
    box-shadow: var(--shadow);
}
.contact-page-grid { display:grid; grid-template-columns:1fr 1.6fr; gap:4rem; align-items:start; }

/* =========================================
   FORM
   ========================================= */
.form-group { margin-bottom: 1.25rem; }
.form-label { display: block; font-size: .85rem; font-weight: 600; margin-bottom: .4rem; }
.form-control {
    width: 100%; padding: .75rem 1rem;
    background: var(--bg-alt); border: 1px solid var(--border);
    border-radius: 8px; color: var(--text);
    font-family: inherit; font-size: .9rem;
    transition: border-color var(--t), box-shadow var(--t);
}
.form-control:focus {
    outline: none; border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0,174,219,.15);
}
.form-control::placeholder { color: var(--text-muted); }
textarea.form-control { resize: vertical; min-height: 120px; }
select.form-control { appearance: none; cursor: pointer; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:1rem; }

/* =========================================
   FOOTER
   ========================================= */
.footer { background: var(--bg-alt); border-top: 1px solid var(--border); padding: 4rem 0 2rem; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem; margin-bottom: 3rem;
}
.footer-brand img   { height: 56px; margin-bottom: 1rem; }
.footer-brand p     { font-size: .875rem; color: var(--text-muted); max-width: 280px; line-height: 1.6; }
.footer-col h4      { font-size: .9rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer-col ul li   { margin-bottom: .6rem; }
.footer-col ul li a { font-size: .875rem; color: var(--text-muted); transition: color var(--t); }
.footer-col ul li a:hover { color: var(--cyan); }
.footer-bottom {
    padding-top: 2rem; border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .8rem; color: var(--text-muted); }
.footer-links    { display: flex; gap: 1.5rem; }
.footer-links a  { font-size: .8rem; color: var(--text-muted); transition: color var(--t); }
.footer-links a:hover { color: var(--cyan); }
.footer-social { display: flex; gap: .75rem; margin-top: 1.25rem; }
.social-btn {
    width: 46px; height: 46px; border-radius: 10px;
    background: rgba(0,174,219,.08); border: 1px solid rgba(0,174,219,.15);
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted); transition: all var(--t);
    flex-shrink: 0;
}
.social-btn:hover {
    background: var(--cyan); border-color: var(--cyan);
    color: #fff; transform: translateY(-2px);
}

/* =========================================
   SOCIAL SIDEBAR (Fixed left, always visible)
   ========================================= */
.social-sidebar {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 500;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.social-sidebar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 42px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-left: 3px solid var(--cyan);
    border-radius: 0 8px 8px 0;
    color: var(--text-muted);
    transition: all var(--t);
}
.social-sidebar-btn:hover {
    background: var(--cyan);
    border-color: var(--cyan);
    color: #fff;
    transform: translateX(5px);
}
@media (max-width: 900px) {
    .social-sidebar { display: none; }
}

/* =========================================
   PRODUCT CARDS (Listing)
   ========================================= */
.product-card {
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; overflow: hidden;
    transition: all var(--t); position: relative;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(0,174,219,.3);
}
.product-card-img {
    position: relative; height: 200px; overflow: hidden;
    background: var(--bg-alt);
}
.product-card-img img {
    width: 100%; height: 100%; object-fit: contain;
    padding: 1rem; transition: transform .4s ease;
}
.product-card:hover .product-card-img img { transform: scale(1.06); }

/* Hover overlay */
.product-hover-info {
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 50%);
    display: flex; flex-direction: column; justify-content: flex-end;
    padding: 1.25rem;
    opacity: 0; transition: opacity var(--t);
}
.product-card:hover .product-hover-info { opacity: 1; }
.product-hover-info .hover-brand  { font-size: .75rem; color: var(--cyan-pale); font-weight: 600; margin-bottom: .25rem; }
.product-hover-info .hover-desc   { font-size: .8rem; color: #fff; line-height: 1.4; }

.product-card-body { padding: 1.25rem; }
.product-brand {
    display: inline-block; font-size: .72rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .06em;
    color: var(--cyan); background: rgba(0,174,219,.1);
    padding: .2rem .65rem; border-radius: 99px;
}
.product-brand,
.tag {
    margin-bottom: .5rem;
}
.product-name { font-size: .95rem; font-weight: 600; margin-bottom: .35rem; }
.product-cat  { font-size: .8rem; color: var(--text-muted); margin-bottom: 1rem; }
.product-card-footer {
    padding: 0 1.25rem 1.25rem;
}
.product-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    grid-template-areas:
        "media main"
        "media tabs";
    gap: 4rem;
    align-items: start;
}
.product-detail-main {
    grid-area: main;
    min-width: 0;
}
.product-detail-media {
    grid-area: media;
    position: sticky;
    top: 90px;
    min-width: 0;
}
.product-tabs {
    grid-area: tabs;
    min-width: 0;
}
.related-products-title {
    font-size: 1.4rem;
    margin-bottom: 2rem;
}

/* Nettan-exclusive card */
.product-card--exclusive {
    border-color: rgba(0,174,219,.45);
    box-shadow: 0 0 0 1px rgba(0,174,219,.12), 0 4px 24px rgba(0,174,219,.1);
}
.product-card--exclusive:hover {
    border-color: var(--cyan);
    box-shadow: 0 8px 36px rgba(0,174,219,.22);
}
.product-card--exclusive .product-brand {
    background: rgba(6,175,132,.12);
    color: var(--teal);
}
.exclusive-badge {
    position: absolute; top: .75rem; left: .75rem; z-index: 2;
    display: inline-flex; align-items: center; gap: .3rem;
    padding: .28rem .7rem;
    background: linear-gradient(135deg, var(--cyan) 0%, var(--teal) 100%);
    color: #fff; font-size: .68rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    border-radius: 99px;
    box-shadow: 0 2px 10px rgba(0,174,219,.4);
}
.exclusive-badge svg { width: .75rem; height: .75rem; }

/* =========================================
   PRODUCT FILTERS
   ========================================= */
.filter-bar {
    display: flex; align-items: center; gap: 1rem; flex-wrap: wrap;
    padding: 1.25rem 1.5rem;
    background: var(--bg-card); border: 1px solid var(--border);
    border-radius: 14px; margin-bottom: 2rem;
}
.filter-select {
    padding: .55rem 1rem; border: 1px solid var(--border);
    border-radius: 8px; background: var(--bg-alt); color: var(--text);
    font-family: inherit; font-size: .875rem; cursor: pointer;
    transition: border-color var(--t);
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24'%3E%3Cpath fill='%236b7280' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: right .75rem center;
    padding-right: 2.5rem;
}
.filter-select:focus { outline: none; border-color: var(--cyan); }
.filter-search {
    flex: 1; min-width: 200px;
    padding: .55rem 1rem .55rem 2.5rem;
    border: 1px solid var(--border); border-radius: 8px;
    background: var(--bg-alt); color: var(--text);
    font-family: inherit; font-size: .875rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat; background-position: .75rem center;
    transition: border-color var(--t);
}
.filter-search:focus { outline: none; border-color: var(--cyan); }
.filter-count { font-size: .85rem; color: var(--text-muted); margin-left: auto; }

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
    padding: 8rem 0 4rem; background: var(--bg-alt);
    position: relative; overflow: hidden;
}
.page-hero::after {
    content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
    background: var(--border);
}
.page-hero-content { max-width: 640px; }
.breadcrumb { display: flex; align-items: center; gap: .5rem; margin-bottom: 1.5rem; }
.breadcrumb a, .breadcrumb span { font-size: .85rem; color: var(--text-muted); }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb .sep { color: var(--border); }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
    .grid-4 { grid-template-columns: repeat(2, 1fr); }
    .industries-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .contact-teaser-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 768px) {
    .grid-4, .grid-3 { grid-template-columns: repeat(2, 1fr); }
    .grid-2 { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
    .footer-bottom { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .product-card-img { height: 150px; }
    .product-card {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
    }
    .related-products-title {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .product-detail-grid {
        grid-template-columns: 1fr;
        grid-template-areas:
            "main"
            "media"
            "tabs";
        gap: 2rem;
    }
    .product-detail-media {
        position: static;
    }
    .form-grid { grid-template-columns: 1fr; }
    .contact-page-grid { grid-template-columns: 1fr; gap: 2rem; }
    .about-partner-cards .about-partner-card-omniverter {
        grid-column: 1 / -1;
        justify-self: center;
        max-width: 520px;
    }
}

@media (max-width: 480px) {
    .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
    .industries-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: .85rem;
    }
    .industry-card {
        padding: 1.25rem .85rem;
    }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .filter-bar { flex-direction: column; align-items: stretch; }
    .filter-count { margin-left: 0; }
    .section { padding: 2.5rem 0; }
    .section-sm { padding: 2rem 0; }
    .product-card-img { height: 120px; }
}

@media (max-width: 375px) {
    .container { padding: 0 1rem; }
    .product-card {
        margin-left: 1rem;
        margin-right: 1rem;
    }
    .related-products-title {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-up {
    opacity: 0; transform: translateY(30px);
    transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }

.fade-up:nth-child(2) { transition-delay: .1s; }
.fade-up:nth-child(3) { transition-delay: .2s; }
.fade-up:nth-child(4) { transition-delay: .3s; }
.fade-up:nth-child(5) { transition-delay: .4s; }
.fade-up:nth-child(6) { transition-delay: .5s; }
.fade-up:nth-child(7) { transition-delay: .6s; }
.fade-up:nth-child(8) { transition-delay: .7s; }

/* =========================================
   HERO — Updated
   ========================================= */
.hero-badge-icon {
    display: inline-flex; align-items: center;
}
.hero-badge-icon svg { width: 13px; height: 13px; }

.btn-icon {
    display: inline-flex; align-items: center; flex-shrink: 0;
}
.btn-icon svg { width: 15px; height: 15px; }

/* =========================================
   SOLUTIONS SHOWCASE — Pinned Horizontal Scroll
   ========================================= */
.solutions-showcase {
    background: var(--bg);
    padding: 0;
    position: relative;
}

.showcase-header {
    text-align: center;
    padding: 5rem 1.5rem 2.5rem;
}

.showcase-scroll-area {
    height: 500vh;
    position: relative;
}

.showcase-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
}

.showcase-viewport {
    overflow: hidden;
    display: flex;
    align-items: center;
}

/* Film-reel track: NO transition — position syncs 1:1 with scroll */
.showcase-track {
    display: flex;
    align-items: flex-start;
    gap: 0;
    will-change: transform;
    transition: none;
}

/* Each slide = 1/3 viewport width → exactly 3 visible */
.showcase-slide {
    flex-shrink: 0;
    width: 33.33vw;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    /* Only scale/opacity animate — short & snappy like film frame */
    transition: transform .18s ease, opacity .18s ease;
    transform-origin: center center;
}

/* Landscape rectangle image mask (4:3) with very subtle concave edges */
.showcase-img-mask {
    width: 100%;
    aspect-ratio: 4/3;
    position: relative;
    overflow: hidden;
    clip-path: url(#cinemaMask);
    flex-shrink: 0;
    transition: transform .5s ease;
    transform-origin: center bottom;
}
.showcase-slide:hover .showcase-img-mask,
.showcase-slide.is-active .showcase-img-mask { transform: scale(1.2); }

.showcase-img-inner {
    position: absolute; inset: 0;
}

.showcase-img-bg {
    position: absolute; inset: 0;
    background: linear-gradient(160deg,
        rgba(0,174,219,.2) 0%,
        rgba(6,175,132,.16) 100%);
}

.showcase-img-mask img {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover; display: block;
}

/* White border follows the concave clip shape */
.showcase-img-mask::after {
    content: '';
    position: absolute; inset: 0; z-index: 3;
    border: 2px solid rgba(255,255,255,0);
    transition: border-color .2s ease;
    pointer-events: none;
}
.showcase-slide:hover .showcase-img-mask::after,
.showcase-slide.is-active .showcase-img-mask::after {
    border-color: rgba(255,255,255,.72);
}

/* Title strip — sits in the concave notch space below the image */
.showcase-slide-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .3rem;
    /* padding-top lifts content into the concave dip zone */
    padding: .55rem 1rem .65rem;
}

.showcase-slide-icon {
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(0,174,219,.1);
    border: 1px solid rgba(0,174,219,.2);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan);
    transition: background .2s, border-color .2s, color .2s;
}
.showcase-slide-icon svg { width: 13px; height: 13px; }

.showcase-slide.is-active .showcase-slide-icon {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    border-color: transparent;
    color: #fff;
}

.showcase-slide-title {
    font-size: .72rem; font-weight: 700;
    color: var(--text-muted); text-align: center;
    line-height: 1.3; letter-spacing: .01em;
    transition: color .18s ease;
}
.showcase-slide.is-active .showcase-slide-title { color: var(--text); }

/* Progress dots */
.showcase-dots {
    display: flex; justify-content: center;
    gap: .5rem; flex-shrink: 0;
}
.showcase-dot {
    height: 3px; width: 18px; border-radius: 2px;
    background: var(--border);
    transition: all .25s ease;
}
.showcase-dot.active { width: 36px; background: var(--cyan); }

/* Mobile: revert to 2-column grid */
@media (max-width: 900px) {
    .showcase-scroll-area { height: auto; }
    .showcase-sticky {
        position: static; height: auto;
        overflow: visible; gap: 0;
    }
    .showcase-header { padding: 4rem 1.5rem 2rem; }
    .showcase-viewport { overflow: visible; }
    .showcase-track {
        flex-wrap: wrap;
        transform: none !important;
        gap: 1rem;
        padding: 0 1rem 3rem;
        justify-content: center;
    }
    .showcase-slide {
        width: calc(50% - .5rem);
        transform: none !important;
        opacity: 1 !important;
    }
    .showcase-slide-title { color: var(--text) !important; }
    .showcase-slide-icon {
        background: linear-gradient(135deg, var(--cyan), var(--teal)) !important;
        border-color: transparent !important;
        color: #fff !important;
    }
    .showcase-dots { display: none; }
    .showcase-slide:hover .showcase-img-mask,
    .showcase-slide.is-active .showcase-img-mask { transform: none; }
}
@media (max-width: 520px) {
    .showcase-slide { width: 100%; }
}

/* =========================================
   INDUSTRIES — Round icon override
   ========================================= */
.industry-icon {
    border-radius: 50%;
    background: rgba(0,174,219,.08);
    border: 1px solid rgba(0,174,219,.15);
    color: var(--cyan);
}
.industry-icon svg { width: 22px; height: 22px; }
.industry-card:hover .industry-icon {
    background: linear-gradient(135deg, var(--cyan), var(--teal));
    border-color: transparent;
    color: #fff;
}

/* =========================================
   WHY NETTAN — Points with round icons
   ========================================= */
.why-point {
    display: flex; align-items: flex-start; gap: .875rem;
}
.why-point-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,174,219,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan); flex-shrink: 0; margin-top: .05rem;
}
.why-point-icon svg { width: 16px; height: 16px; }
.why-point-text { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }
.about-mission-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 4rem;
    align-items: start;
}
@media (max-width: 768px) {
    .about-mission-grid { grid-template-columns: 1fr; gap: 2rem; }
}

/* =========================================
   CASE METRIC — Round icon
   ========================================= */
.case-metric-icon {
    width: 26px; height: 26px;
    border-radius: 50%;
    background: rgba(6,175,132,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--teal); flex-shrink: 0;
}
.case-metric-icon svg { width: 13px; height: 13px; }
.case-metric { align-items: center; }

/* =========================================
   OFFICE LOCATION
   ========================================= */
.office-location {
    background: var(--bg-alt);
    padding: 5rem 0;
}
.office-inner {
    display: grid;
    grid-template-columns: 1fr 1.45fr;
    gap: 3rem; align-items: stretch;
    min-height: 380px;
}
.office-info {
    display: flex; flex-direction: column;
}
.office-info-logo {
    height: 40px; width: auto;
    align-self: flex-start;
    margin-bottom: 1.25rem; opacity: .75;
}
.office-company {
    font-size: 1.05rem; font-weight: 700;
    color: var(--text); margin-bottom: 1.75rem;
}
.office-detail-list {
    display: flex; flex-direction: column; gap: 1.25rem;
}
.office-detail-item {
    display: flex; align-items: flex-start; gap: .875rem;
}
.office-detail-icon {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(0,174,219,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--cyan); flex-shrink: 0;
}
.office-detail-icon svg { width: 16px; height: 16px; }
.office-detail-content {
    display: flex; flex-direction: column; gap: .2rem;
}
.office-detail-label {
    font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--text-muted);
}
.office-detail-value {
    font-size: .875rem; color: var(--text); line-height: 1.45;
}
.office-detail-value a { color: var(--cyan); font-weight: 500; transition: color var(--t); }
.office-detail-value a:hover { color: var(--teal); }

.office-map {
    border-radius: 16px; overflow: hidden;
    background: var(--bg-card); border: 1px solid var(--border);
    min-height: 340px;
}
.office-map iframe {
    width: 100%; height: 100%; min-height: 340px;
    display: block; border: 0; filter: grayscale(.08);
}
[data-theme="dark"] .office-map iframe {
    filter: invert(.9) hue-rotate(180deg) grayscale(.1);
}

@media (max-width: 768px) {
    .office-inner { grid-template-columns: 1fr; min-height: auto; }
    .office-map { min-height: 280px; }
    .office-map iframe { min-height: 280px; }
}

/* =========================================
   CONTACT TEASER — Round icon override
   ========================================= */
.contact-icon { border-radius: 50%; }
.contact-icon svg { width: 18px; height: 18px; }
.contact-detail-label {
    font-size: .75rem; font-weight: 700;
    text-transform: uppercase; letter-spacing: .07em;
    color: var(--text-muted); margin-bottom: .2rem;
}

/* =========================================
   CONTACT INFO AS IMAGE (phone/email)
   SVG, transparent bg, cyan text — reads on light and dark alike
   ========================================= */
.contact-img { display: inline-block; height: 1.15em; width: auto; vertical-align: -0.2em; }


/* =========================================
   COOKIE CONSENT BANNER
   ========================================= */
.cookie-banner {
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    box-shadow: var(--shadow);
}
.cookie-banner[hidden] { display: none; }
.cookie-banner-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
    padding: 1rem 0;
}
.cookie-banner-text {
    margin: 0;
    font-size: .9rem;
    color: var(--text-muted);
    flex: 1 1 320px;
}
.cookie-banner-text a { color: var(--cyan); text-decoration: underline; }
.cookie-banner-actions {
    display: flex;
    gap: .75rem;
    flex-shrink: 0;
}
@media (max-width: 600px) {
    .cookie-banner-inner { padding: .85rem 0; }
    .cookie-banner-actions { width: 100%; }
    .cookie-banner-actions .btn { flex: 1; }
}

/* =========================================
   SCROLLBAR — hidden globally
   ========================================= */
