/*
Theme Name: Graphic Ink
Theme URI: https://graphicink.com
Author: Graphic Ink
Description: Modern printing company theme matching professional design standards.
Version: 2.0.0
License: GNU General Public License v2 or later
Text Domain: graphic-ink
*/

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

:root {
  --blue: #1A73E8;
  --blue-dark: #0B1F3A;
  --blue-deep: #061428;
  --text: #1a1a2e;
  --muted: #6b7a8d;
  --bg: #f4f7fc;
  --white: #ffffff;
  --border: #e4eaf2;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(26,115,232,0.12);
}

/* Bright blue everywhere */
.topbar {
  background: #1A73E8 !important;
  color: #fff !important;
}
.topbar a,
.topbar span {
  color: #fff !important;
}
.features-inner {
  background: #1A73E8 !important;
}
.btn-quote,
.btn-primary {
  background: #1A73E8 !important;
}
.btn-quote:hover,
.btn-primary:hover {
  background: #1557B0 !important;
}
.footer {
  background: #1A73E8 !important;
}
.subscribe {
  background: #1A73E8 !important;
}
.site-header {
  background: #ffffff !important;
  border-bottom: 1px solid #e4eaf2 !important;
}
.brand-text strong {
  color: #0B1F3A !important;
}
.nav-list a:hover,
.nav-list .current-menu-item > a,
.main-nav .current-menu-item > a {
  color: #1A73E8 !important;
}
.nav-list .current-menu-item > a::after,
.main-nav .current-menu-item > a::after {
  background: #1A73E8 !important;
}
.hero-left h1 span,
.hero-label {
  color: #1A73E8 !important;
}
.prod-link,
.meta-item svg,
.how-icon,
.how-arrow {
  color: #1A73E8 !important;
}
.sec-line {
  background: #1A73E8 !important;
}
.footer-brand .brand-text strong {
  color: #fff !important;
}
.footer-brand .brand-text span {
  color: rgba(255,255,255,0.75) !important;
}
.footer-col h4,
.footer-col ul a,
.footer-bottom,
.footer-bottom a {
  color: #fff !important;
}
.footer-col ul a:hover {
  color: #e0f0ff !important;
}
.bi1 { background: #1A73E8 !important; }
.bi2 { background: #0B1F3A !important; }
.bi3 { background: #0B1F3A !important; }
.bi4 { background: #F5C518 !important; }

* { margin:0; padding:0; box-sizing:border-box; }
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}
body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}
a { text-decoration:none; color:inherit; transition:0.2s; }
img { max-width:100%; height: auto; display:block; }
ul { list-style:none; }
.container { max-width:1180px; margin:0 auto; padding:0 24px; width: 100%; }

/* ===== TOP BAR ===== */
.topbar {
  background: var(--blue-dark) !important;
  color: #fff !important;
  font-size: 13px;
  padding: 6px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.topbar-left {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}
.topbar-left span { opacity: 0.9; }
.topbar-right {
  display: flex;
  gap: 10px;
}
.topbar-right a { color:#fff; opacity:0.9; }
.topbar-right a:hover { opacity:1; }

/* ===== HEADER ===== */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  max-width: 100vw;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 24px;
  gap: 10px;
  min-height: 80px;
  position: relative;
}

/* Brand / Logo */
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.brand-icon {
  width: 40px;
  height: 40px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 2px;
  border-radius: 8px;
  overflow: hidden;
}
.bi { display:block; }
.bi1 { background: #1A73E8; }
.bi2 { background: #0B1F3A; }
.bi3 { background: #0B1F3A; }
.bi4 { background: #F5C518; }
.brand-text strong {
  display: block;
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-dark);
  line-height: 1.15;
  letter-spacing: -0.3px;
}
.brand-text span {
  font-size: 10px;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 1.5px;
}

/* Navigation - HORIZONTAL (force against WP defaults) */
.main-nav {
  flex: 1 !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

/* Force mobile layout under 900px (covers most phones + small tablets) */
@media (max-width: 900px) {
  html, body {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .container {
    width: 100% !important;
    max-width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }
  .topbar,
  .hero,
  .features-strip,
  .section,
  .how-sec,
  .footer,
  .subscribe,
  .page-hero {
    width: 100% !important;
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }
  .site-header {
    width: 100% !important;
    max-width: 100vw !important;
    overflow: visible !important;
  }
  .main-nav {
    display: none !important;
  }
  .main-nav.open {
    display: block !important;
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    background: #fff !important;
    z-index: 99999 !important;
    box-shadow: 0 12px 32px rgba(0,0,0,0.15) !important;
    padding: 8px 0 !important;
    border-top: 1px solid #e4eaf2 !important;
  }
  .main-nav.open .nav-list,
  .main-nav.open ul {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 0 !important;
  }
  .main-nav.open .nav-list li,
  .main-nav.open ul li {
    width: 100% !important;
    display: block !important;
  }
  .main-nav.open .nav-list a,
  .main-nav.open ul li a {
    display: block !important;
    padding: 14px 20px !important;
    width: 100% !important;
    border-bottom: 1px solid #f0f4f8 !important;
    font-size: 15px !important;
  }
  .menu-toggle {
    display: flex !important;
  }
  .btn-quote {
    display: none !important;
  }
  .header-inner {
    padding: 8px 12px !important;
    min-height: 0 !important;
    position: relative !important;
  }
  .brand {
    max-width: 150px !important;
  }
  .brand-logo {
    height: 40px !important;
    max-width: 140px !important;
  }
  .hero-grid {
    grid-template-columns: 1fr !important;
    text-align: center !important;
  }
  .hero-desc {
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .hero-btns,
  .hero-meta {
    justify-content: center !important;
  }
  .hero-products-img {
    max-height: 260px !important;
    margin: 0 auto !important;
  }
  .features-inner {
    grid-template-columns: 1fr 1fr !important;
  }
  .prod-grid {
    grid-template-columns: 1fr 1fr !important;
  }
  .how-steps {
    flex-direction: column !important;
  }
  .how-arrow {
    display: none !important;
  }
  .how-step {
    width: 100% !important;
    max-width: 100% !important;
  }
  .footer-grid {
    grid-template-columns: 1fr !important;
  }
  .subscribe .container {
    flex-direction: column !important;
  }
  .subscribe-form {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .topbar-left {
    display: none !important;
  }
  .services-grid,
  .products-page-grid {
    grid-template-columns: 1fr !important;
  }
}

.main-nav ul,
.nav-list,
.main-nav .nav-list,
.main-nav > ul {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 2px !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  width: auto !important;
  float: none !important;
}
.main-nav ul li,
.nav-list li,
.main-nav .nav-list li {
  display: inline-flex !important;
  margin: 0 !important;
  padding: 0 !important;
  list-style: none !important;
  float: none !important;
  width: auto !important;
}
.main-nav ul li a,
.nav-list a,
.main-nav .nav-list a {
  display: block !important;
  padding: 8px 14px !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text) !important;
  border-radius: 6px !important;
  white-space: nowrap !important;
  background: transparent !important;
}
.main-nav ul li a:hover,
.nav-list a:hover,
.nav-list .current-menu-item > a,
.nav-list .current_page_item > a,
.main-nav .current-menu-item > a {
  color: var(--blue) !important;
}
.nav-list .current-menu-item > a,
.main-nav .current-menu-item > a {
  position: relative;
}
.nav-list .current-menu-item > a::after,
.main-nav .current-menu-item > a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}

/* Header right */
.header-right {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.icon-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text);
  position: relative;
}
.icon-btn:hover { background: var(--bg); color: var(--blue); }
.cart-badge {
  position: absolute;
  top: 2px; right: 2px;
  background: var(--blue);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  width: 15px; height: 15px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-quote {
  background: var(--blue);
  color: #fff !important;
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}
.btn-quote:hover { background: #1557B0; box-shadow: 0 4px 12px rgba(26,115,232,0.3); }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 10001;
  position: relative;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-dark);
  margin: 3px 0;
  pointer-events: none;
}


/* Brand Logo Image */
.brand {
  display: flex !important;
  align-items: center !important;
  flex-shrink: 0 !important;
  max-width: 320px !important;
}
.brand-logo {
  height: 72px !important;
  width: auto !important;
  max-width: 300px !important;
  display: block !important;
  object-fit: contain !important;
}
.brand-logo-footer {
  height: 70px !important;
  max-width: 260px !important;
  filter: none !important;
}
.footer-brand .brand {
  display: inline-block !important;
  margin-bottom: 12px !important;
  background: transparent !important;
  padding: 0 !important;
}
.header-inner {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  position: relative !important;
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(180deg, #eef4fc 0%, #ffffff 100%);
  padding: 16px 0 8px;
  overflow: hidden;
  position: relative;
}
.hero::before {
  content: '';
  position: absolute;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(26,115,232,0.07);
  top: 20px;
  left: 46%;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(26,115,232,0.05);
  top: 140px;
  left: 42%;
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 16px;
  align-items: center;
}
.hero-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 4px;
}
.hero-left h1 {
  font-size: 38px;
  font-weight: 800;
  line-height: 1.08;
  color: var(--blue-dark);
  letter-spacing: -1.2px;
  margin-bottom: 6px;
}
.hero-left h1 span {
  color: var(--blue);
}
.hero-desc {
  font-size: 14.5px;
  color: var(--muted);
  max-width: 380px;
  margin-bottom: 10px;
  line-height: 1.65;
}
.hero-btns {
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: 0.2s;
}
.btn-primary {
  background: var(--blue);
  color: #fff !important;
}
.btn-primary:hover {
  background: #1557B0;
  box-shadow: 0 4px 14px rgba(26,115,232,0.3);
}
.btn-outline {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text) !important;
}
.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue) !important;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.35;
}
.meta-item svg { color: var(--blue); flex-shrink: 0; margin-top: 1px; }
.meta-item strong { display: block; color: var(--text); font-weight: 600; }
.meta-item span { font-size: 12px; }

/* Hero Right - Real product showcase image (matches reference exactly) */
.hero-right {
  position: relative;
  height: auto;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-products {
  position: relative;
  width: 100%;
  height: auto;
}
.hero-products-img {
  width: 100%;
  height: auto;
  max-height: 380px;
  object-fit: contain;
  object-position: center right;
  display: block;
  filter: drop-shadow(0 8px 24px rgba(11,31,58,0.12));
}

/* ===== FEATURES STRIP ===== */
.features-strip {
  padding: 0 24px;
  margin-top: -4px;
  position: relative;
  z-index: 5;
}
.features-inner {
  background: var(--blue);
  border-radius: 14px;
  padding: 12px 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  max-width: 1180px;
  margin: 0 auto;
  color: #fff;
}
.fs-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 0 8px;
}
.fs-item svg { flex-shrink: 0; margin-top: 2px; opacity: 0.9; }
.fs-item strong { display:block; font-size:13px; font-weight:700; margin-bottom:1px; }
.fs-item span { font-size:11.5px; opacity:0.75; }

/* ===== PRODUCTS ===== */
.section { padding: 28px 0; }
.products-sec { background: #fff; }
.sec-head {
  text-align: center;
  margin-bottom: 20px;
}
.sec-head h2 {
  font-size: 26px;
  font-weight: 800;
  color: var(--blue-dark);
  letter-spacing: -0.3px;
}
.sec-line {
  width: 40px;
  height: 3px;
  background: var(--blue);
  border-radius: 2px;
  margin: 8px auto 0;
}
.prod-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
}
.prod-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  text-align: center;
  transition: 0.25s;
}
.prod-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
  border-color: var(--blue);
}
.prod-img {
  width: 100%;
  height: 110px;
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 8px;
  background: var(--bg);
}
.prod-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.prod-card h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue-dark);
  margin-bottom: 4px;
}
.prod-card p {
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 6px;
  line-height: 1.4;
  min-height: 34px;
}
.prod-link {
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
}

/* ===== HOW IT WORKS ===== */
.how-sec {
  background: var(--bg);
  padding: 14px 0;
}
.how-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
}
.how-step {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px solid var(--border);
  flex: 1 1 0;
  min-width: 0;
  max-width: 260px;
}
.how-icon {
  width: 38px;
  height: 38px;
  background: var(--bg);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.how-step strong { display:block; font-size:13px; font-weight:700; color:var(--blue-dark); white-space: nowrap; }
.how-step span { font-size:11.5px; color:var(--muted); display:block; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.how-arrow {
  font-size: 20px;
  color: var(--blue);
  opacity: 0.4;
  font-weight: 300;
  flex-shrink: 0;
}

/* ===== SUBSCRIBE (footer area) ===== */
.subscribe {
  background: #1A73E8 !important;
  padding: 28px 0;
  color: #fff;
}
.subscribe .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.subscribe-content {
  display: flex;
  align-items: center;
  gap: 14px;
}
.subscribe-icon {
  width: 46px; height: 46px;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.subscribe-content h3 { font-size: 18px; font-weight: 800; margin-bottom: 2px; }
.subscribe-content p { font-size: 13px; opacity: 0.8; }
.subscribe-form {
  display: flex;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  min-width: 0;
  width: 100%;
  max-width: 420px;
}
.subscribe-form input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 14px;
  outline: none;
  font-family: inherit;
}
.subscribe-form button {
  background: var(--blue-dark);
  color: #fff;
  border: none;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: inherit;
}
.subscribe-form button:hover { background: var(--blue); }

/* ===== FOOTER ===== */
.footer {
  background: #1A73E8 !important;
  color: #fff;
  padding: 44px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .brand { margin-bottom: 8px; }
.footer-brand .brand-text strong { color: #fff !important; }
.footer-brand .brand-text span { color: rgba(255,255,255,0.6) !important; }
.footer-brand p {
  font-size: 13px;
  opacity: 0.7;
  line-height: 1.65;
  margin-bottom: 14px;
  max-width: 220px;
}
.socials { display: flex; gap: 8px; }
.socials a {
  width: 34px; height: 34px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.socials a:hover { background: var(--blue); }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
  opacity: 0.9;
}
.footer-col ul li { margin-bottom: 7px; }
.footer-col ul a { font-size: 13px; opacity: 0.65; }
.footer-col ul a:hover { opacity: 1; color: var(--blue); }
.payment-icons { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 4px; }
.payment-icons span {
  background: rgba(255,255,255,0.1);
  padding: 4px 8px;
  border-radius: 5px;
  font-size: 11px;
  font-weight: 600;
}
.footer-bottom {
  padding: 14px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.5;
}

/* INNER PAGES */
.page-hero {
  background: linear-gradient(135deg, #0B1F3A, #1A3A6A);
  padding: 44px 0;
  color: #fff;
  text-align: center;
}
.page-hero h1 { font-size: 34px; font-weight: 800; margin-bottom: 4px; }
.page-hero p { font-size: 15px; opacity: 0.8; max-width: 460px; margin: 0 auto; }
.breadcrumb { font-size: 13px; opacity: 0.6; margin-bottom: 6px; }

.products-page-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.product-detail-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  transition: 0.25s;
}
.product-detail-card:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.product-detail-card .pimg {
  height: 170px;
  background: var(--bg);
  overflow: hidden;
}
.product-detail-card .pimg img { width:100%; height:100%; object-fit:cover; }
.product-detail-card .pbody { padding: 18px; }
.product-detail-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.product-detail-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 8px; }

.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 36px; }
.contact-info-item { display: flex; gap: 14px; margin-bottom: 22px; }
.contact-info-item .ci-icon {
  width: 44px; height: 44px;
  background: #eef4fc;
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  flex-shrink: 0;
}
.contact-info-item h4 { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.contact-info-item p { font-size: 13.5px; color: var(--muted); }
.form-group { margin-bottom: 14px; }
.form-group label { display:block; font-size:13px; font-weight:600; margin-bottom:5px; }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 14px;
  font-family: inherit;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(26,115,232,0.1);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-top: 28px; }
.stat-box { text-align:center; padding:18px; background:var(--bg); border-radius:12px; }
.stat-box h3 { font-size:26px; font-weight:800; color:var(--blue); margin-bottom:2px; }
.stat-box p { font-size:13px; color:var(--muted); }

.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.service-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 26px 22px;
  transition: 0.25s;
}
.service-card:hover { border-color: var(--blue); box-shadow: var(--shadow); }
.service-card .sc-icon {
  width: 48px; height: 48px;
  background: #eef4fc;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  margin-bottom: 14px;
}
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.service-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-desc { margin: 0 auto 24px; }
  .hero-btns { justify-content: center; }
  .hero-meta { justify-content: center; }
  .hero-right { margin-top: 12px; }
  .hero-products-img { max-height: 340px; }
  .features-inner { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .prod-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid, .about-grid { grid-template-columns: 1fr; }
  .how-steps { gap: 6px; }
  .how-step { padding: 10px 12px; gap: 8px; max-width: 220px; }
  .how-step strong { font-size: 12px; }
  .how-step span { font-size: 11px; }
  .how-icon { width: 34px; height: 34px; }
}
@media (max-width: 768px) {
  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Header - prevent overflow */
  .header-inner {
    padding: 8px 12px !important;
    min-height: auto !important;
    gap: 8px !important;
    flex-wrap: nowrap !important;
  }
  .brand {
    max-width: 160px !important;
  }
  .brand-logo {
    height: 42px !important;
    max-width: 150px !important;
  }
  .brand-logo-footer {
    height: 48px !important;
    max-width: 160px !important;
  }
  .main-nav {
    display: none !important;
  }
  .main-nav.open {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background: #fff;
    padding: 12px;
    box-shadow: var(--shadow);
    z-index: 999;
  }
  .main-nav.open .nav-list {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }
  .main-nav.open .nav-list a {
    padding: 12px 14px !important;
    white-space: normal !important;
  }
  .menu-toggle { display: flex !important; }
  .btn-quote { display: none !important; }
  .header-right { gap: 4px; }

  /* Hero */
  .hero-left h1 { font-size: 28px; }
  .hero-products-img { max-height: 240px; }
  .hero-grid { gap: 12px; }

  /* Features */
  .features-strip { padding: 0 12px; }
  .features-inner {
    grid-template-columns: 1fr 1fr !important;
    gap: 8px;
    padding: 12px 8px;
  }

  /* Products / grids */
  .prod-grid { grid-template-columns: 1fr 1fr !important; gap: 12px; }

  /* How it works */
  .how-steps {
    flex-direction: column !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
  }
  .how-step {
    max-width: 100% !important;
    width: 100% !important;
  }
  .how-arrow { display: none !important; }

  /* Subscribe */
  .subscribe .container {
    flex-direction: column !important;
    text-align: center;
    gap: 16px;
  }
  .subscribe-form {
    min-width: 0 !important;
    width: 100% !important;
  }
  .subscribe-content {
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px;
  }
  .products-page-grid,
  .services-grid {
    grid-template-columns: 1fr !important;
  }
  .form-row { grid-template-columns: 1fr !important; }
  .topbar-left { display: none !important; }
  .section { padding: 28px 0; }

  /* Kill any leftover overflow — site-header stays visible so menu can drop down */
  .hero,
  .features-strip,
  .footer,
  .subscribe {
    max-width: 100vw;
    overflow-x: hidden;
  }
  .site-header {
    max-width: 100vw;
    overflow: visible !important;
  }
}

@media (max-width: 480px) {
  .container { padding: 0 12px !important; }
  .brand-logo { height: 36px !important; max-width: 130px !important; }
  .features-inner { grid-template-columns: 1fr !important; }
  .prod-grid { grid-template-columns: 1fr !important; }
  .hero-left h1 { font-size: 24px; }
}
