/* Vertex Computer — custom theme (distinct from source site) */
@import url("https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700&family=Plus+Jakarta+Sans:wght@500;600;700&display=swap");

:root {
  /* Brand palette — slate + teal */
  --primary: #0f766e;
  --primary-dark: #0d5c56;
  --primary-light: #14b8a6;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --nav-bg: #0f172a;
  --nav-bg-end: #1e293b;
  --body-bg: #f1f5f9;
  --surface: #ffffff;
  --text: #1e293b;
  --muted: #64748b;
  --footer-link: #cbd5e1;
  --border-card: #e2e8f0;
  --line: #e2e8f0;
  --white: #fff;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --shadow-sm: 0 1px 3px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.1);
  --font-body: "DM Sans", "Source Sans 3", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", "Barlow Condensed", sans-serif;
  --container: 1200px;

  /* Legacy aliases — inner pages still reference these */
  --green: var(--primary);
  --green-dark: var(--primary-dark);
  --green-title: var(--primary-dark);
  --green-grad-start: var(--primary);
  --purple: var(--accent);
  --purple-btn: #334155;
  --nav-grad-start: var(--nav-bg);
  --nav-grad-end: var(--nav-bg-end);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--body-bg);
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border: 0;
}

a {
  color: var(--green);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 500;
  margin: 0 0 0.5rem;
  line-height: 1.1;
}

p {
  margin: 0 0 1rem;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 15px;
}

.wrapper-space {
  padding: 80px 0;
}

.wrapper-light-gray {
  background: var(--body-bg);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
}

.skip-link:focus {
  left: 16px;
  top: 16px;
  z-index: 10000;
  background: var(--white);
  color: var(--green);
  padding: 8px 12px;
}

/* ========== Header ========== */
.wrapper-navbar {
  background: var(--nav-bg);
  padding: 20px 0;
  border-bottom: 3px solid var(--primary);
  box-shadow: var(--shadow-sm);
}

.wrapper-navbar .container {
  max-width: var(--container);
}

/* Override theme.min.css: .navbar { flex-direction: column } */
.wrapper-navbar .navbar {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap !important;
  padding: 0;
  position: relative;
  gap: 12px;
}

.wrapper-navbar .nav-menu {
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: nowrap !important;
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  list-style: none;
  margin: 0 0 0 auto;
  padding: 0;
}

.wrapper-navbar .nav-menu > li {
  display: block;
  flex: 0 0 auto;
  position: relative;
}

.wrapper-navbar .navbar-brand {
  flex: 0 0 auto;
  margin-right: 24px;
}

@media (max-width: 991px) {
  .wrapper-navbar .nav-menu {
    display: none !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column !important;
    align-items: stretch;
    background: var(--nav-bg-end);
    padding: 12px 0;
    z-index: 1000;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .wrapper-navbar .nav-menu.open {
    display: flex !important;
  }
}

.navbar-brand {
  display: block;
  flex: 0 0 auto;
  margin-right: 16px;
}

.navbar-brand img {
  display: block;
  width: auto;
  max-width: 280px;
  height: auto;
  max-height: 56px;
}

.nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  padding: 8px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  letter-spacing: 1px;
  cursor: pointer;
  flex: 0 0 auto;
}

@media (min-width: 992px) {
  .wrapper-navbar .nav-toggle {
    display: none !important;
  }

  .wrapper-navbar .nav-menu {
    display: flex !important;
    position: static;
    flex-direction: row !important;
    background: transparent;
    box-shadow: none;
    padding: 0;
  }
}

.nav-menu {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0;
  margin-left: auto;
  list-style: none;
  padding: 0;
}

.nav-menu > li {
  position: relative;
}

.nav-menu > li > a {
  display: block;
  color: #e2e8f0;
  font-size: 13px;
  font-weight: 500;
  line-height: 40px;
  padding: 0 12px;
  white-space: nowrap;
  text-decoration: none;
  transition: color 0.2s ease, background 0.2s ease;
  border-radius: var(--radius-sm);
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.nav-menu .fa-caret-down {
  margin-left: 4px;
  font-size: 12px;
}

.dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  min-width: 260px;
  z-index: 1000;
  background: var(--nav-bg-end);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 8px 0;
  box-shadow: var(--shadow-md);
}

.has-dropdown:hover > .dropdown,
.has-dropdown.open > .dropdown {
  display: block;
}

.dropdown a {
  display: block;
  color: #e2e8f0;
  font-size: 14px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown a:hover {
  background: rgba(20, 184, 166, 0.15);
  color: var(--primary-light);
  text-decoration: none;
}

/* ========== Buttons ========== */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  vertical-align: middle;
  cursor: pointer;
  border: 1px solid transparent;
  padding: 10px 20px;
  font-size: 15px;
  line-height: 1.25;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:hover {
  text-decoration: none;
}

.btn-lg {
  padding: 14px 28px;
  font-size: 16px;
  border-radius: var(--radius-md);
}

.btn-primary {
  color: var(--white);
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  color: var(--white);
  background: var(--accent-dark);
  border-color: var(--accent-dark);
}

.btn-secondary:hover {
  background: #b45309;
  border-color: #b45309;
  color: var(--white);
}

.btn-outline-purple,
.btn-hero {
  color: var(--white);
  background: transparent;
  border: 2px solid var(--accent);
  border-radius: var(--radius-md);
  font-weight: 600;
}

.btn-outline-purple:hover,
.btn-hero:hover {
  background: var(--accent);
  color: var(--nav-bg);
}

.btn-skeumorphic {
  color: var(--white);
  border: 0;
  border-radius: var(--radius-sm);
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  background: var(--primary);
  box-shadow: var(--shadow-sm);
  margin-top: 12px;
}

.btn-skeumorphic:hover {
  background: var(--primary-dark);
  color: var(--white);
}

/* ========== Hero carousel ========== */
.hero-carousel {
  position: relative;
  background: var(--nav-bg);
  overflow: hidden;
}

.hero-carousel-viewport {
  overflow: hidden;
}

.hero-carousel-track {
  display: flex;
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.55) 55%, rgba(15, 23, 42, 0.25) 100%);
  z-index: 0;
}

.hero-slide--network {
  background-image: url("../public/images/hero-left.jpg");
}

.hero-slide--gpu {
  background-image: url("../public/images/hero-right.jpg");
}

.hero-slide--recovery {
  background-image: url("../public/images/asset-recovery.jpg");
  background-position: center 40%;
}

.hero-slide-inner {
  position: relative;
  z-index: 1;
  padding: 72px 15px;
  max-width: 620px;
}

.hero-slide-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 5px 12px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245, 158, 11, 0.15);
  border: 1px solid rgba(245, 158, 11, 0.35);
  border-radius: 999px;
}

.hero-slide h2 {
  font-size: 38px;
  font-weight: 700;
  line-height: 1.12;
  color: var(--white);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.hero-slide p {
  font-size: 17px;
  line-height: 1.6;
  color: #cbd5e1;
  margin: 0 0 28px;
  max-width: 520px;
}

.hero-carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.55);
  color: var(--white);
  font-size: 16px;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.hero-carousel-btn:hover {
  background: rgba(15, 118, 110, 0.85);
  border-color: var(--primary-light);
}

.hero-carousel-prev {
  left: 20px;
}

.hero-carousel-next {
  right: 20px;
}

.hero-carousel-dots {
  position: absolute;
  bottom: 24px;
  left: 0;
  right: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.hero-carousel-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-carousel-dot.is-active {
  background: var(--accent);
  transform: scale(1.15);
}

/* ========== Home brand strip ========== */
.home-brands {
  padding: 20px 0;
  background: var(--surface);
  border-bottom: 1px solid var(--border-card);
}

.home-brands-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.home-brands-label {
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.home-brands-logos {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 28px 40px;
}

.home-brands-logos img {
  height: 32px;
  width: auto;
  max-width: 110px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.65;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.home-brands-logos img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ========== Section headings ========== */
.section-head {
  margin-bottom: 36px;
}

.section-head--center {
  text-align: center;
}

.section-head--center .section-lead {
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
  letter-spacing: -0.02em;
}

.section-lead {
  font-size: 16px;
  line-height: 1.55;
  color: var(--muted);
  margin: 0;
  max-width: 560px;
}

.wrapper-products {
  background: var(--body-bg);
}

/* Legacy hero (unused on homepage) */
.hero-row {
  display: flex;
  flex-wrap: wrap;
}

.hero-half {
  position: relative;
  flex: 1 1 50%;
  min-height: 480px;
  background-size: cover;
  background-repeat: no-repeat;
  color: var(--white);
  overflow: hidden;
}

.hero-half::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-buy::before {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 118, 110, 0.82) 100%);
}

.hero-sell::before {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.9) 0%, rgba(30, 41, 59, 0.85) 55%, rgba(217, 119, 6, 0.35) 100%);
}

.hero-buy {
  background-image: url("../public/images/hero-left.jpg");
  background-position: 100% 50%;
}

.hero-sell {
  background-image: url("../public/images/hero-right.jpg");
  background-position: 0% 50%;
}

.hero-inner {
  position: relative;
  z-index: 1;
  padding: 96px 64px;
  max-width: 100%;
}

.hero-half h2 {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin: 0 0 12px;
  padding: 0 0 8px;
  letter-spacing: -0.02em;
}

.hero-half p {
  font-size: 17px;
  line-height: 1.6;
  color: #e2e8f0;
  margin: 0 0 24px;
  max-width: 440px;
}

/* ========== Products ========== */
.heading-soft {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 28px;
}

.heading-center {
  text-align: center;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(15, 118, 110, 0.35);
}

.card-img-top {
  width: 100%;
  display: block;
  height: 180px;
  object-fit: cover;
}

.card-block {
  position: relative;
  padding: 22px 24px 24px !important;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  min-height: 0;
  gap: 14px;
}

.card-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
  color: var(--text);
  margin: 0 0 12px;
}

.card-block p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  flex: 1 1 auto;
}

/* Override theme.min.css absolute button positioning */
.card-block a.btn,
.card-block .btn-primary {
  position: static !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-block;
  width: fit-content;
  margin-top: auto;
  align-self: flex-start;
  flex-shrink: 0;
}

/* ========== Split: price + brands ========== */
.wrapper-split {
  background: var(--body-bg);
  padding: 72px 0;
}

.split-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.price-check-home,
.brand-list-home {
  flex: 1 1 50%;
  min-height: 300px;
  padding: 44px 40px;
}

.price-check-home {
  background: linear-gradient(160deg, var(--nav-bg) 0%, #134e4a 100%);
  color: var(--white);
}

.price-check-home h4 {
  font-size: 22px;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 12px;
  letter-spacing: -0.02em;
}

.price-check-home p {
  color: #cbd5e1;
  margin-bottom: 20px;
}

.price-form label {
  display: block;
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 6px;
}

.form-control {
  display: block;
  width: 100%;
  max-width: 320px;
  padding: 10px 14px;
  font-size: 15px;
  font-family: var(--font-body);
  line-height: 1.5;
  color: var(--text);
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-light);
  box-shadow: 0 0 0 3px rgba(20, 184, 166, 0.2);
}

.brand-list-home {
  background: var(--surface);
  text-align: center;
  border-left: 1px solid var(--border-card);
}

.brand-list-home h5 {
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
  margin: 0 0 28px;
  font-family: var(--font-display);
}

.brand-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 16px;
  align-items: center;
  justify-items: center;
}

.brand-list-item {
  max-height: 48px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(80%) opacity(0.75);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.brand-list-item:hover {
  filter: grayscale(0%) opacity(1);
}

/* ========== Why us ========== */
.wrapper-why-us,
.wrapper-why-section {
  background: var(--surface);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.four-grid-lined {
  padding: 36px 32px;
  text-align: center;
  background: var(--body-bg);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.four-grid-lined:hover {
  box-shadow: var(--shadow-sm);
  border-color: rgba(15, 118, 110, 0.3);
}

.four-grid-lined:nth-child(1),
.four-grid-lined:nth-child(3),
.four-grid-lined:nth-child(1),
.four-grid-lined:nth-child(2) {
  border-right: none;
  border-bottom: none;
}

.icon-half {
  max-width: 72px;
  width: 72px;
  margin-bottom: 16px;
}

.four-grid-lined h5 {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  margin: 0 0 10px;
}

.four-grid-lined p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
  max-width: 380px;
  margin: 0 auto;
}

/* ========== Footer ========== */
.footer-outer {
  background: var(--nav-bg);
  color: var(--footer-link);
}

.footer-contact-strip {
  background: rgba(255, 255, 255, 0.04);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 28px 0;
}

.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  max-width: 200px;
  width: 200px;
}

.footer-contact-right {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 12px;
}

.footer-phone a {
  display: block;
  color: var(--white);
  font-size: 20px;
  line-height: 20px;
  padding: 10px 20px;
  text-decoration: none;
}

.footer-phone a:hover {
  color: var(--primary-light);
}

.fa-green {
  color: var(--primary-light);
  margin-right: 6px;
}

.social-links a {
  color: var(--white);
  font-size: 28px;
  margin-left: 8px;
  text-decoration: none;
}

.social-links a:hover {
  color: var(--accent);
}

.wrapper-footer-full {
  padding: 48px 0 24px;
}

.footer-widgets {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.footer-widget p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--footer-link);
}

.uneda-logo {
  max-width: 140px;
  margin-top: 8px;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-light);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.footer-widget .menu a {
  display: block;
  color: var(--footer-link);
  font-size: 14px;
  line-height: 18px;
  padding: 3px 0;
  text-decoration: none;
}

.footer-widget .menu a:hover {
  color: var(--primary-light);
}

.search-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-start;
}

.search-form .form-control {
  max-width: 100%;
}

.site-footer {
  padding: 16px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.copyright {
  font-size: 13px;
  color: #999;
  margin: 0;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

.to-the-top {
  color: #999;
  text-decoration: none;
}

.to-the-top:hover {
  color: var(--primary-light);
}

/* ========== Responsive ========== */
@media (max-width: 1199px) {
  .hero-inner {
    padding: 80px 48px;
  }

  .navbar-brand img {
    max-width: 220px;
    max-height: 48px;
  }

  .nav-menu > li > a {
    font-size: 12px;
    padding: 0 8px;
  }
}

@media (max-width: 991px) {
  .wrapper-navbar .navbar {
    flex-wrap: wrap !important;
  }

  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--nav-grad-end);
    padding: 12px 0;
    z-index: 1000;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.35);
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu > li > a {
    line-height: 1.4;
    padding: 12px 16px;
  }

  .dropdown {
    position: static;
    min-width: 0;
    box-shadow: none;
  }

  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-widgets {
    grid-template-columns: repeat(2, 1fr);
  }

  .wrapper-split {
    background: var(--white);
  }
}

@media (max-width: 767px) {
  .wrapper-navbar {
    padding: 20px 0;
  }

  .hero-slide {
    min-height: 380px;
  }

  .hero-slide-inner {
    padding: 48px 15px 64px;
  }

  .hero-slide h2 {
    font-size: 26px;
  }

  .hero-slide p {
    font-size: 15px;
    margin-bottom: 20px;
  }

  .hero-carousel-btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }

  .hero-carousel-prev {
    left: 10px;
  }

  .hero-carousel-next {
    right: 10px;
  }

  .home-brands-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .home-brands-logos {
    justify-content: flex-start;
    gap: 20px 28px;
  }

  .home-brands-logos img {
    height: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .hero-half {
    flex: 1 1 100%;
    min-height: 360px;
  }

  .hero-inner {
    padding: 48px 24px;
  }

  .hero-half h2 {
    font-size: 28px;
  }

  .hero-half p {
    font-size: 18px;
    line-height: 26px;
  }

  .wrapper-space {
    padding: 48px 0;
  }

  .product-grid {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .card-block {
    padding: 16px 16px 18px !important;
  }

  .card-block a.btn,
  .card-block .btn-primary {
    margin-top: 14px;
  }

  .card-title {
    font-size: 15px;
    margin-bottom: 10px;
  }

  .card-block p {
    font-size: 14px;
    line-height: 1.55;
  }

  .price-check-home,
  .brand-list-home {
    flex: 1 1 100%;
    padding: 32px 24px;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .four-grid-lined {
    padding: 28px 20px;
    border: 1px solid var(--border-card) !important;
  }

  .four-grid-lined:last-child {
    border-bottom: 1px solid var(--border-card) !important;
  }

  .footer-contact-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact-right {
    justify-content: flex-start;
  }

  .footer-widgets {
    grid-template-columns: 1fr;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .navbar-brand img {
    max-width: 180px;
    max-height: 40px;
  }
}

/* ========== Inner pages ========== */
.page-wrapper {
  background: var(--body-bg);
  padding: 40px 0 80px;
}

.page-wrapper .container {
  max-width: var(--container);
}

.site-main {
  background: var(--white);
  border: 1px solid var(--border-card);
  border-radius: 4px;
  padding: 32px 40px;
}

.site-content {
  background: var(--body-bg);
}

.content-area article {
  background: var(--surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  box-shadow: var(--shadow-sm);
}

@media (max-width: 767px) {
  .content-area article {
    padding: 28px 20px;
  }
}

.wrapper.wrapper-space {
  padding: 56px 0 72px;
}

.entry-header {
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--primary);
}

.entry-title {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.15;
  color: var(--text);
  margin: 0;
  letter-spacing: -0.02em;
}

.entry-content {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  font-family: var(--font-display);
  color: var(--primary-dark);
  margin: 1.5rem 0 0.75rem;
}

.entry-content h2 { font-size: 28px; }
.entry-content h3 { font-size: 22px; }
.entry-content h4 { font-size: 18px; }

.entry-content img {
  max-width: 100%;
  height: auto;
}

.entry-content img.alignleft {
  float: left;
  margin: 0 16px 12px 0;
}

.entry-content img.alignright {
  float: right;
  margin: 0 0 12px 16px;
}

.entry-content img.aligncenter {
  display: block;
  margin: 16px auto;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 1rem 1.5rem;
}

.entry-content li {
  margin-bottom: 0.5rem;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
}

.entry-content th,
.entry-content td {
  border: 1px solid var(--line);
  padding: 8px 12px;
  text-align: left;
}

.entry-content th {
  background: #f5f5f5;
}

.panel {
  padding: 20px 24px;
  margin-bottom: 24px;
  border-radius: var(--radius-md);
}

.panel-green {
  background: linear-gradient(145deg, var(--nav-bg) 0%, #134e4a 100%);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-shadow {
  background: var(--surface);
  border: 1px solid var(--border-card);
  box-shadow: var(--shadow-sm);
}

.panel-green a {
  color: var(--white);
  text-decoration: underline;
}

.panel-large {
  font-size: 18px;
  line-height: 1.5;
}

/* Nested dropdown */
.dropdown-nested {
  position: absolute;
  left: 100%;
  top: 0;
  display: none;
}

.has-dropdown:hover > .dropdown-nested,
.has-dropdown.open > .dropdown-nested {
  display: block;
}

/* Blog / archive */
.blog-list,
.archive-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blog-list li,
.archive-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.blog-list a,
.archive-list a {
  color: var(--green-title);
  font-size: 18px;
  font-weight: 600;
  text-decoration: none;
}

.blog-list a:hover,
.archive-list a:hover {
  color: var(--green);
}

.post-meta {
  font-size: 14px;
  color: var(--muted);
  margin-top: 4px;
}

/* Forms in content */
.entry-content .gform_wrapper,
.entry-content form {
  margin: 1rem 0;
}

.entry-content input[type="text"],
.entry-content input[type="email"],
.entry-content input[type="tel"],
.entry-content input[type="search"],
.entry-content textarea,
.entry-content select {
  width: 100%;
  max-width: 480px;
  padding: 8px 12px;
  font-size: 16px;
  font-family: var(--font-body);
  border: 1px solid #ced4da;
  border-radius: 4px;
  margin-bottom: 12px;
}

.entry-content label {
  display: block;
  margin-bottom: 4px;
  font-weight: 600;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

@media (max-width: 767px) {
  .site-main {
    padding: 24px 20px;
  }

  .entry-title {
    font-size: 28px;
  }

  .entry-content img.alignleft,
  .entry-content img.alignright {
    float: none;
    display: block;
    margin: 16px auto;
  }

  .dropdown-nested {
    position: static;
    padding-left: 16px;
  }
}

/* ========== 需后端接口 — 暂隐藏 ========== */
#searchForm,
.search-form,
.price-check-home,
.gform_wrapper,
[id^="gform_wrapper_"],
.entry-content form,
form#caspioform,
.cbFormTable_266b812e504762,
.cbTableDefaultCellspacing_266b812e504762,
[id^="cb8f3b"],
[id^="cxkg"],
div[id^="cb8f3b"] {
  display: none !important;
}

/* 页脚搜索栏整块 */
.footer-widget:has(#searchForm) {
  display: none !important;
}

/* 导航：查价工具（依赖后端） */
.nav-menu a[href*="cisco-list-price-lookup-tool"] {
  display: none !important;
}

/* 首页查价区隐藏后，品牌区占满 */
.wrapper-split {
  background: #fff !important;
}

.wrapper-split .split-row {
  justify-content: center;
}

.wrapper-split .brand-list-home {
  flex: 1 1 100%;
  max-width: 100%;
}
