/* ===== CSS Variables ===== */
:root {
  /* Brand — navy headings, orange CTAs, single brand blue */
  --navy: #1a2b4c;
  --navy-dark: #002b5b;
  --navy-light: #1a365d;
  --brand-blue: #005dc0;
  --logo-blue: var(--brand-blue);
  --footer-blue: var(--brand-blue);
  --blue-accent: var(--brand-blue);
  --orange: #f26522;
  --orange-hover: #e05515;

  /* Surfaces */
  --bg: #f5f7fa;
  --bg-light: #eef2f7;
  --white: #ffffff;

  /* Text — body slightly deeper than before for clearer hierarchy */
  --gray-100: #f0f1f3;
  --gray-200: #e2e5ea;
  --gray-400: #9ca3af;
  --gray-600: #6b7280;
  --gray-800: #1f2937;

  /* Focus / highlight tints (match --brand-blue) */
  --brand-blue-ring: rgba(0, 93, 192, 0.12);
  --brand-blue-soft: rgba(0, 93, 192, 0.1);
  --brand-blue-faint: rgba(0, 93, 192, 0.04);

  --shadow: 0 8px 32px rgba(13, 43, 94, 0.08);
  --shadow-sm: 0 2px 12px rgba(13, 43, 94, 0.06);
  --radius: 12px;
  --radius-sm: 8px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 13px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  white-space: nowrap;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  border-color: var(--orange);
}
.btn-primary:hover { background: var(--orange-hover); border-color: var(--orange-hover); }

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover { background: var(--navy); color: var(--white); }

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover { background: var(--white); color: var(--navy); }

.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover { background: var(--navy-light); border-color: var(--navy-light); }

.section-title-upper {
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.category-list-items {
  list-style: none;
  margin: 0;
  padding: 0;
}

.category-list-items li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 4px 0 4px 14px;
  position: relative;
}

.category-list-items li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
}

.card-header .card-icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--brand-blue-soft);
  color: var(--blue-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-sm { padding: 9px 18px; font-size: 11px; }
.btn-lg { padding: 14px 32px; font-size: 14px; }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  background: var(--footer-blue);
  border-bottom: none;
  position: sticky;
  top: 0;
  z-index: 100;
  padding-left: env(safe-area-inset-left, 0);
  padding-right: env(safe-area-inset-right, 0);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.logo-header { gap: 10px; }

.logo-stack {
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.logo-stack-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.logo-icon-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  flex-shrink: 0;
}

.logo-wordmark {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 17px;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.logo-kest { color: var(--navy); }
.logo-promo { color: var(--orange); }

.logo-tagline {
  font-size: 9px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 1px;
  margin-top: 2px;
}

.logo-footer .logo-img {
  height: 40px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  border-radius: 6px;
  background: var(--white);
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: color 0.2s;
  white-space: nowrap;
}

.main-nav a:hover,
.main-nav a.active { color: var(--white); }

.main-nav a.active {
  font-weight: 600;
  box-shadow: inset 0 -3px 0 var(--orange);
  padding-bottom: 4px;
}

.nav-item { position: relative; }

.dropdown-arrow { font-size: 10px; margin-left: 2px; }

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  min-width: 220px;
  padding: 8px 0;
  z-index: 50;
}

.nav-item:hover .dropdown-menu { display: block; }

.dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 13px;
  color: var(--navy);
  font-weight: 500;
  box-shadow: none !important;
}

.dropdown-menu a:hover {
  background: var(--bg);
  color: var(--orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.header-favorites-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  color: var(--white);
  flex-shrink: 0;
  text-decoration: none;
  transition: color 0.2s, transform 0.2s;
}

.header-favorites-btn svg {
  display: block;
  width: 22px;
  height: 22px;
  stroke: currentColor;
  fill: none;
}

.header-favorites-btn:hover,
.header-favorites-btn.is-active {
  color: #fecaca;
  transform: scale(1.05);
}

.header-favorites-btn .nav-favorites-badge {
  position: absolute;
  top: 2px;
  right: 2px;
  margin: 0;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  font-size: 9px;
  line-height: 16px;
  pointer-events: none;
  transform: translate(40%, -40%);
}

.header-favorites-btn .nav-favorites-badge[hidden],
.header-favorites-btn .nav-favorites-badge.is-empty {
  display: none !important;
}

.search-form {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  padding: 0 4px 0 16px;
  height: 40px;
}

.search-form input {
  border: none;
  background: transparent;
  font-size: 13px;
  width: 160px;
  outline: none;
  font-family: var(--font);
}

.search-form button {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--gray-600);
  padding: 8px;
  display: flex;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
}

/* ===== Hero Split ===== */
.hero-split {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 60%);
  padding: 40px 0;
}

.hero-split-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-block;
  color: var(--orange);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero-split h1 {
  font-size: 40px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
  margin-bottom: 12px;
}

.hero-split h1 .highlight { color: var(--orange); }

.hero-split .hero-desc {
  font-size: 16px;
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.checklist-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 16px;
}

.check-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-800);
  font-weight: 500;
}

.check-item svg {
  color: var(--orange);
  flex-shrink: 0;
  margin-top: 2px;
}

.hero-split-image img {
  width: 100%;
  border-radius: 0;
  box-shadow: var(--shadow);
}

.hero-page {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  padding: 56px 0;
  text-align: center;
}

.hero-page h1 {
  font-size: 36px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.hero-page p {
  font-size: 16px;
  color: var(--gray-800);
  max-width: 640px;
  margin: 0 auto;
}

.products-hero-compact {
  padding: 32px 0 28px;
  text-align: left;
  background: var(--bg-light);
  border-bottom: 1px solid var(--gray-200);
}

.products-hero-compact h1 {
  font-size: 32px;
  margin-top: 12px;
  margin-bottom: 0;
}

.products-hero-compact p {
  margin: 10px auto 0 0;
  max-width: 720px;
  color: var(--gray-600);
}

.products-breadcrumb {
  justify-content: flex-start;
  margin-bottom: 0;
}

.products-count-line {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--gray-600);
}

/* ===== Sections ===== */
.section { padding: 72px 0; }
.section-alt { background: var(--bg); }
.section-dark { background: var(--navy); color: var(--white); }

.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-header.left { text-align: left; }

.section-header h2 {
  font-size: 32px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 12px;
}

.section-dark .section-header h2 { color: var(--white); }

.section-header p {
  font-size: 16px;
  color: var(--gray-800);
  max-width: 640px;
  margin: 0 auto;
}

.section-header.left p { margin: 0; }

.section-cta { text-align: center; margin-top: 40px; }

/* ===== Category Cards ===== */
.category-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.category-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.category-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.category-card-image {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: 0;
}

.category-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.category-card-image-custom {
  background: #fff;
}

.category-card-image-custom img {
  object-fit: contain;
}

.category-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.category-card-body h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.category-card-body p {
  font-size: 15px;
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.65;
  flex: 1;
}

.category-card-body .btn {
  margin-top: auto;
  align-self: flex-start;
}

/* ===== Why Choose / Feature Cards ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.why-grid.four-col { grid-template-columns: repeat(4, 1fr); }

.why-grid.five-col {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
}

.audience-grid {
  margin-top: 8px;
}

.audience-grid.five-col .why-card {
  flex: 0 1 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
  min-width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.audience-grid.five-col .why-card:nth-child(4),
.audience-grid.five-col .why-card:nth-child(5) {
  flex: 0 1 calc((100% - 48px) / 3);
  max-width: calc((100% - 48px) / 3);
}

.audience-grid .why-card .card-icon {
  margin: 0 auto 16px;
}

.why-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
}

.why-card .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.why-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.why-card p,
.value-card p {
  font-size: 14px;
  color: var(--navy);
  line-height: 1.6;
}

.value-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.value-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px 16px;
  text-align: center;
}

.value-card .card-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 12px;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 10px;
}

/* ===== Methods Row ===== */
.methods-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.method-item {
  text-align: center;
}

.method-item .method-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 12px;
  color: var(--navy);
  border: 1px solid var(--gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
}

.method-item h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
}

/* ===== Branding Cards ===== */
.branding-grid {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.branding-row-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.branding-row-bottom {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.branding-row-bottom .branding-card {
  flex: 0 0 calc((100% - 72px) / 4);
  max-width: calc((100% - 72px) / 4);
}

.branding-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 28px;
  transition: box-shadow 0.2s;
  height: 100%;
  text-align: center;
}

.branding-card:hover { box-shadow: var(--shadow-sm); }

.branding-card .card-icon {
  color: var(--orange);
  margin-bottom: 16px;
  display: flex;
  justify-content: center;
}

.branding-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.branding-card p { font-size: 14px; color: var(--gray-800); line-height: 1.6; }

/* ===== Workflow ===== */
.workflow {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
  position: relative;
}

.workflow-step {
  text-align: center;
  position: relative;
}

.workflow-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 19px;
  right: -12%;
  width: 24%;
  height: 0;
  border-top: 2px dashed var(--orange);
  z-index: 0;
}

.workflow-num {
  width: 38px;
  height: 38px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.workflow-icon {
  color: var(--navy);
  margin-bottom: 12px;
}

.workflow-step h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}

.workflow-step p { font-size: 13px; color: var(--navy); line-height: 1.5; }

.section-workflow {
  padding-top: 56px;
  padding-bottom: 24px;
}

/* ===== Stats Bar ===== */
.stats-bar {
  background: var(--navy-dark);
  padding: 56px 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.04) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 50%);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: center;
  color: var(--white);
}

.stat-item .stat-icon {
  color: rgba(255,255,255,0.7);
  margin-bottom: 12px;
}

.stat-item .stat-value {
  font-size: 32px;
  font-weight: 800;
  color: var(--orange);
  margin-bottom: 4px;
}

.stat-item .stat-label {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
}

.stats-grid-light {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--gray-200);
}

.stats-grid-light .stat-item {
  color: var(--navy);
}

.stats-grid-light .stat-icon {
  color: var(--orange);
}

.stats-grid-light .stat-label {
  color: var(--navy);
}

/* ===== Trust Bar Dark ===== */
.trust-bar-dark {
  background: var(--footer-blue);
  padding: 24px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.trust-bar-dark .trust-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.trust-bar-dark .trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: var(--white);
}

.trust-bar-dark .trust-icon { color: var(--orange); flex-shrink: 0; }

.trust-bar-dark .trust-item strong {
  display: block;
  font-size: 14px;
  margin-bottom: 4px;
}

.trust-bar-dark .trust-item span {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.92);
  line-height: 1.4;
}

/* ===== CTA Banner ===== */
.cta-banner {
  background: var(--footer-blue);
  padding: 24px 0 28px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.trust-bar-dark + .cta-banner {
  border-top: none;
}

.cta-banner + .site-footer {
  padding-top: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.cta-banner-compact + .site-footer {
  padding-top: 88px;
  border-top: none;
}

.cta-banner-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.cta-banner-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 8px;
  line-height: 1.25;
}

.cta-banner-content p {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 16px;
  line-height: 1.5;
}

.cta-banner:not(.cta-banner-compact) .cta-banner-content .btn {
  margin-top: 4px;
}

.cta-banner-image img {
  max-height: 160px;
  width: 100%;
  object-fit: cover;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

/* Compact CTA — light section above footer (homepage) */
.cta-banner-compact {
  background: transparent;
  padding: 72px 0 88px;
  border-top: 1px solid var(--gray-200);
}

.cta-banner-compact .cta-banner-inner {
  display: block;
}

.cta-banner-compact .cta-banner-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.cta-banner-compact .cta-banner-image {
  display: none;
}

.cta-banner-compact .cta-banner-content h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}

.cta-banner-compact .cta-banner-content p {
  font-size: 14px;
  color: var(--gray-800);
  margin-bottom: 0;
  max-width: 640px;
  line-height: 1.65;
}

.cta-banner-compact .cta-banner-text {
  flex: 1;
  min-width: 0;
}

.cta-banner-compact .btn {
  flex-shrink: 0;
  white-space: nowrap;
  padding: 14px 28px;
}

.cta-banner-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.cta-banner-features .feat {
  text-align: center;
}

.cta-banner-features .feat-icon {
  color: var(--orange);
  margin-bottom: 6px;
  display: flex;
  justify-content: center;
}

.cta-banner-features h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}

.cta-banner-features p {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.75);
}

.cta-inline {
  background: var(--footer-blue);
  padding: 48px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.cta-inline-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cta-inline-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.cta-inline h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}

.cta-inline p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.6;
}

/* ===== About Split ===== */
.about-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}

.about-split h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-split p {
  font-size: 15px;
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-split-image img {
  border-radius: 0;
  box-shadow: var(--shadow);
}

.about-what-we-do {
  max-width: 820px;
}

.about-what-we-do h2 {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}

.about-what-we-do p {
  font-size: 15px;
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.7;
}

.about-what-we-do p:last-child {
  margin-bottom: 0;
}

.about-branding-cta {
  padding-top: 40px;
  padding-bottom: 40px;
}

.about-branding-cta-text {
  margin: 0;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.6;
}

.about-branding-cta-link {
  color: var(--orange);
  font-weight: 700;
  text-decoration: none;
  margin-left: 6px;
  white-space: nowrap;
}

.about-branding-cta-link:hover {
  text-decoration: underline;
}

/* ===== Product Grid ===== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.2s, transform 0.2s;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.product-card-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
  display: block;
  border-radius: 0;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  border-radius: 0;
}

.product-card:hover .product-card-image img { transform: scale(1.05); }

.product-category {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255,255,255,0.95);
  color: var(--navy);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}

.product-card-body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-body h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.3;
}

.product-card-body h3 a:hover { color: var(--orange); }

.product-desc {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 12px;
  flex: 1;
  line-height: 1.5;
}

.product-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
  margin-bottom: 14px;
}

.meta-item {
  font-size: 12px;
  color: var(--gray-800);
  font-weight: 600;
  background: none;
  padding: 0;
  border-radius: 0;
  line-height: 1.4;
}

.meta-item.price { color: var(--gray-800); font-weight: 600; }

.product-card .btn { font-size: 11px; padding: 10px 16px; }

/* ===== Products Page ===== */
.category-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.category-tab {
  padding: 8px 20px;
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--white);
  transition: all 0.2s;
}

.category-tab:hover,
.category-tab.active {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--white);
}

.subcategory-tabs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.subcategory-tab {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--gray-200);
  color: var(--gray-600);
  background: var(--bg);
  transition: all 0.2s;
  white-space: nowrap;
}

.subcategory-tab:hover,
.subcategory-tab.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

.mobile-nav-search {
  display: none;
}

body.nav-open {
  overflow: hidden;
  touch-action: none;
}

.mobile-menu-btn span {
  transition: transform 0.2s, opacity 0.2s;
  transform-origin: center;
}

.mobile-menu-btn.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.open span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-btn.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.products-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
}

.sidebar {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 24px;
  height: fit-content;
  position: sticky;
  top: 96px;
}

.sidebar h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--orange);
}

.sidebar-group { margin-bottom: 20px; }

.sidebar-group h4 {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.sidebar-group h4 a {
  color: var(--navy);
  font-weight: 700;
}

.sidebar-group h4 a:hover,
.sidebar-group h4 a.active { color: var(--orange); }

.sidebar-group > a {
  display: block;
  font-size: 13px;
  color: var(--gray-800);
  padding: 5px 0 5px 12px;
  transition: color 0.2s;
}

.sidebar-group > a:hover,
.sidebar-group > a.active { color: var(--orange); }

.category-list a {
  display: block;
  font-size: 14px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  color: var(--gray-600);
  transition: all 0.2s;
}

.category-list a:hover,
.category-list a.active {
  background: var(--bg);
  color: var(--orange);
  font-weight: 600;
}

.category-row {
  margin-bottom: 48px;
}

.category-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.category-row-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
}

.category-row-grid {
  margin-bottom: 0;
}

.search-results-info {
  margin-bottom: 24px;
  font-size: 14px;
  color: var(--gray-600);
}

/* ===== Popular Products (Branding) ===== */
.popular-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.popular-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.popular-card img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  flex-shrink: 0;
}

.popular-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.popular-card-body h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.popular-card-body ul {
  flex: 1;
  margin-bottom: 16px;
}

.popular-card-body .btn {
  margin-top: auto;
  align-self: stretch;
}

.popular-card-body li {
  font-size: 13px;
  color: var(--gray-600);
  padding: 3px 0 3px 14px;
  position: relative;
}

.popular-card-body li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--orange);
}

/* ===== Blog ===== */
.blog-filters {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.blog-filter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border: 1px solid var(--gray-400);
  border-radius: 24px;
  font-size: 13px;
  font-weight: 600;
  color: var(--gray-800);
  background: var(--white);
  transition: all 0.2s;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
  border-color: var(--navy);
  color: var(--navy);
  background: var(--bg);
}

.blog-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 48px;
  box-shadow: var(--shadow-sm);
}

.blog-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 280px;
  border-radius: 0;
}

.blog-featured-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-tag {
  display: inline-block;
  background: var(--bg);
  color: var(--blue-accent);
  font-size: 12px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 16px;
  width: fit-content;
}

.blog-tag.orange { color: var(--orange); background: #fff3ed; }
.blog-tag.green { color: #059669; background: #ecfdf5; }
.blog-tag.purple { color: #7c3aed; background: #f5f3ff; }

.blog-featured-content h2 {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
}

.blog-featured-content p {
  font-size: 15px;
  color: var(--gray-800);
  margin-bottom: 20px;
  line-height: 1.7;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.blog-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  transition: box-shadow 0.2s;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.blog-card:hover { box-shadow: var(--shadow-sm); }

.blog-card-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 0;
}

.blog-card-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-card-body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.4;
}

.blog-card-body p {
  font-size: 14px;
  color: var(--gray-800);
  margin-bottom: 16px;
  line-height: 1.6;
  flex: 1;
}

.read-more {
  font-size: 13px;
  font-weight: 700;
  color: var(--navy);
  margin-top: auto;
  align-self: flex-start;
}

.read-more:hover { color: var(--orange); }

/* ===== Product Detail ===== */
.product-detail-page { background: var(--white); }

.pd-breadcrumb-section {
  padding: 24px 0 0;
  background: var(--white);
}

.breadcrumb {
  font-size: 13px;
  color: var(--gray-600);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.breadcrumb a:hover { color: var(--orange); }
.breadcrumb-sep { color: var(--gray-400); }

.pd-section { padding: 40px 0; }

.pd-hero { padding-top: 24px; }

.pd-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: start;
}

/* Gallery */
.pd-gallery {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pd-gallery-single .pd-thumbs-carousel {
  display: none;
}

.pd-main-image {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 1;
}

.pd-gallery-nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: rgba(255, 255, 255, 0.82);
  color: var(--gray-700);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.pd-gallery-nav:hover {
  background: rgba(255, 255, 255, 0.95);
  color: var(--navy);
}

.pd-gallery-prev { left: 10px; }
.pd-gallery-next { right: 10px; }

.pd-main-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Thumbnail carousel */
.pd-thumbs-carousel {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-thumbs-arrow {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: none;
  border-radius: 0;
  background: transparent;
  color: var(--logo-blue);
  cursor: pointer;
  transition: color 0.2s;
}

.pd-thumbs-arrow:hover {
  color: var(--orange);
}

.pd-thumbs-arrow svg {
  width: 36px;
  height: 36px;
}

.pd-thumbs-scroll {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  scroll-behavior: smooth;
  flex: 1;
  padding-bottom: 4px;
}

.pd-thumbs-scroll::-webkit-scrollbar {
  height: 4px;
}

.pd-thumbs-scroll::-webkit-scrollbar-thumb {
  background: var(--gray-300);
  border-radius: 2px;
}

.pd-thumb {
  width: 72px;
  height: 72px;
  border: 2px solid var(--gray-200);
  border-radius: 0;
  overflow: hidden;
  padding: 0;
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
  flex-shrink: 0;
}

.pd-thumb.active,
.pd-thumb:hover { border-color: var(--orange); }

.pd-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Product info */
.pd-title {
  font-size: 28px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.25;
  margin-bottom: 8px;
}

.pd-product-no {
  font-size: 14px;
  color: var(--navy);
  margin-bottom: 16px;
}

.pd-product-no strong { color: #dc2626; font-weight: 700; }

.pd-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.pd-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--gray-800);
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  font-family: var(--font);
}

.pd-action-btn:hover { color: var(--orange); }

.pd-action-btn.is-favorited {
  color: #dc2626;
}

.pd-action-btn.is-favorited .pd-favorite-icon {
  fill: currentColor;
  stroke: currentColor;
}

.pd-action-btn.is-favorited:hover {
  color: #b91c1c;
}

.nav-favorites-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 18px;
  height: 18px;
  margin-left: 4px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  vertical-align: middle;
}

.favorites-intro {
  margin-top: 8px;
  color: var(--gray-600);
  font-size: 15px;
}

.favorites-empty {
  text-align: center;
  padding: 48px 24px;
}

.favorites-card-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.favorites-card-actions .btn-outline {
  font-size: 13px;
  padding: 8px 12px;
}

.pd-stats {
  background: var(--bg);
  border-radius: var(--radius-sm);
  padding: 4px 16px;
  margin-bottom: 24px;
}

.pd-stat-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  font-size: 14px;
  border-bottom: 1px solid var(--gray-200);
}

.pd-stat-row:last-child { border-bottom: none; }

.pd-stat-label { color: var(--gray-800); flex-shrink: 0; font-weight: 600; }
.pd-stat-value { font-weight: 600; color: var(--navy); text-align: right; }
.pd-stat-price { color: var(--orange); }

.pd-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pd-cta-buttons .btn { flex: 1; min-width: 140px; }

/* Inquiry sidebar */
.pd-inquiry-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 24px;
  position: sticky;
  top: 24px;
}

.pd-inquiry-product-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 6px;
}

.pd-inquiry-product-no {
  font-size: 13px;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.pd-inquiry-product-no strong {
  color: #dc2626;
  font-weight: 700;
}

.pd-inquiry-card.pd-inquiry-focus {
  box-shadow: 0 0 0 3px rgba(242, 101, 34, 0.35), var(--shadow);
}
  background: linear-gradient(135deg, #fff5ef 0%, #ffe8d9 100%);
  border-left: 4px solid var(--orange);
  padding: 14px 16px;
  margin-bottom: 16px;
  border-radius: var(--radius-sm);
}

.pd-inquiry-headline p {
  font-size: 15px;
  font-weight: 800;
  color: var(--navy);
  line-height: 1.5;
  margin: 0;
}

.pd-inquiry-headline strong {
  color: var(--orange);
}

.pd-inquiry-card h2 {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 6px;
}

.pd-inquiry-card > p {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 16px;
}

.pd-inquiry-form .form-group { margin-bottom: 12px; }
.pd-inquiry-form .form-group label { font-size: 12px; margin-bottom: 4px; }
.pd-inquiry-form input,
.pd-inquiry-form textarea { padding: 9px 12px; font-size: 13px; }

/* Section 2: Description */
.pd-desc { background: var(--bg-light); }

.pd-desc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}

.pd-desc-grid-single {
  grid-template-columns: 1fr;
  max-width: 800px;
}

.pd-desc-specs {
  align-self: start;
}

.pd-desc-specs .pd-section-title {
  margin-bottom: 16px;
}

.pd-desc-specs .pd-specs-table-wrap {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.pd-specs-downloads-only .pd-specs-grid {
  grid-template-columns: 1fr;
  max-width: 420px;
}

.pd-section-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 20px;
}

.pd-desc-text {
  font-size: 15px;
  color: var(--gray-800);
  line-height: 1.7;
  margin-bottom: 24px;
}

.pd-features-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.pd-features-list li {
  padding: 6px 0 6px 28px;
  font-size: 14px;
  color: var(--gray-800);
  position: relative;
  line-height: 1.5;
}

.pd-features-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: 700;
  font-size: 16px;
}

.pd-desc-image {
  border-radius: 0;
  overflow: hidden;
  background: var(--gray-100);
  aspect-ratio: 4/3;
}

.pd-desc-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

/* Section 3: Specifications */
.pd-specs-grid {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.pd-specs-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.pd-specs-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.pd-specs-table th,
.pd-specs-table td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
}

.pd-specs-table th {
  width: 38%;
  font-weight: 600;
  color: var(--navy);
  background: var(--bg);
}

.pd-specs-table td { color: var(--gray-800); }

.pd-downloads {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 24px;
}

.pd-downloads h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

.pd-download-list li + li { margin-top: 4px; }

.pd-download-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 600;
  color: var(--navy);
  border-bottom: 1px solid var(--gray-200);
  transition: color 0.2s;
}

.pd-download-list li:last-child .pd-download-link { border-bottom: none; }

.pd-download-link:hover { color: var(--orange); }

.pd-download-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--white);
  border-radius: var(--radius-sm);
  color: var(--orange);
  flex-shrink: 0;
}

/* Section 4: Related */
.pd-related { background: var(--bg-light); }

.pd-related-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pd-related-card {
  background: var(--white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}

.pd-related-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.pd-related-image {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--gray-100);
  border-radius: 0;
}

.pd-related-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
  border-radius: 0;
}

.pd-related-card:hover .pd-related-image img { transform: scale(1.05); }

.pd-related-body {
  padding: 16px;
}

.pd-related-body h3 {
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.4;
}

.pd-related-more {
  font-size: 13px;
  font-weight: 600;
  color: var(--orange);
}

.pd-related-meta {
  font-size: 12px;
  color: var(--gray-600);
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pd-related-meta span:not(:last-child)::after {
  content: '·';
  margin-left: 8px;
  color: var(--gray-400);
}

.pd-mobile-quote-bar {
  display: none;
}

/* Email share modal (product detail) */
.email-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.email-modal[hidden] {
  display: none;
}

.email-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
}

.email-modal-dialog {
  position: relative;
  width: 100%;
  max-width: 720px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 28px 32px 32px;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
}

.email-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}

.email-modal-header h2 {
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
}

.email-modal-close {
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--gray-600);
  cursor: pointer;
  padding: 4px 8px;
}

.email-modal-close:hover {
  color: var(--navy);
}

.email-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.email-modal-form input,
.email-modal-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
}

.email-modal-form input::placeholder,
.email-modal-form textarea::placeholder {
  color: var(--gray-400);
}

.email-modal-form input:focus,
.email-modal-form textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px var(--brand-blue-ring);
}

.email-modal-message {
  resize: vertical;
  min-height: 120px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.email-modal-alert {
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  font-size: 14px;
}

.email-modal-alert.success {
  background: #ecfdf5;
  color: #065f46;
  border: 1px solid #a7f3d0;
}

.email-modal-alert.error {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.email-modal-actions {
  display: flex;
  justify-content: flex-end;
}

.email-modal-send {
  min-width: 120px;
  padding: 12px 28px;
  font-size: 15px;
}

body.email-modal-open {
  overflow: hidden;
}

.share-modal-dialog {
  max-width: 420px;
  padding: 24px 28px 28px;
}

.share-modal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--gray-200);
}

.share-modal-links a {
  font-size: 14px;
  font-weight: 500;
  color: #2563eb;
  text-decoration: none;
}

.share-modal-links a:hover {
  text-decoration: underline;
  color: #1d4ed8;
}

.share-modal-copy .btn {
  width: 100%;
}

.share-modal-copy-feedback {
  margin: 10px 0 0;
  font-size: 13px;
  color: #059669;
  text-align: center;
}

/* Section 5: Bottom CTA */
.pd-bottom-cta {
  padding: 0 0 64px;
  background: var(--white);
}

.pd-bottom-cta-inner {
  background: linear-gradient(135deg, #fff5ef 0%, #ffe8d9 100%);
  border: 1px solid rgba(242, 101, 34, 0.15);
  border-radius: var(--radius);
  padding: 40px 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.pd-bottom-cta-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  flex: 1;
  min-width: 240px;
}

.pd-bottom-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.pd-bottom-cta-buttons .btn-outline-white {
  background: var(--white);
  color: var(--navy);
  border: 2px solid var(--gray-200);
}

.pd-bottom-cta-buttons .btn-outline-white:hover {
  border-color: var(--orange);
  color: var(--orange);
  background: var(--white);
}

/* Legacy aliases kept for compatibility */
.product-detail-section { padding: 32px 0 64px; }
.product-detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.product-detail-image { border-radius: 0; overflow: hidden; background: var(--gray-100); aspect-ratio: 1; }
.product-detail-image img { width: 100%; height: 100%; object-fit: cover; }
.product-category-badge { display: inline-block; background: var(--bg); color: var(--navy); font-size: 12px; font-weight: 600; padding: 4px 12px; border-radius: 20px; margin-bottom: 12px; }
.product-detail-info h1 { font-size: 32px; font-weight: 800; color: var(--navy); margin-bottom: 16px; }
.product-detail-desc { font-size: 16px; color: var(--gray-600); margin-bottom: 24px; }
.detail-specs { background: var(--bg); border-radius: var(--radius-sm); padding: 20px; margin-bottom: 24px; }
.detail-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.detail-row + .detail-row { border-top: 1px solid var(--gray-200); }
.detail-label { color: var(--gray-600); }
.detail-value { font-weight: 600; color: var(--navy); }
.detail-value.price { color: var(--orange); }
.spec-list { margin-bottom: 24px; }
.spec-list li { padding: 6px 0 6px 24px; font-size: 14px; position: relative; }
.spec-list li::before { content: '✓'; position: absolute; left: 0; color: var(--orange); font-weight: 700; }
.related-products h2 { font-size: 24px; font-weight: 800; color: var(--navy); margin-bottom: 24px; }

/* ===== Contact Page ===== */
.contact-page { background: var(--bg-light); }

.contact-section { padding: 56px 0 72px; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 36px;
}

.card-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.card-icon { color: var(--blue-accent); flex-shrink: 0; }

.card-header h2 {
  font-size: 22px;
  font-weight: 800;
  color: var(--navy);
}

.card-desc {
  font-size: 16px;
  color: var(--gray-800);
  margin-bottom: 24px;
  line-height: 1.65;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid var(--gray-100);
}

.contact-list li:last-child { border-bottom: none; }

.contact-list-icon { color: var(--blue-accent); flex-shrink: 0; margin-top: 2px; }

.contact-list li div { display: flex; flex-direction: column; }

.contact-list strong {
  font-size: 13px;
  color: var(--navy);
  font-weight: 600;
}

.contact-list span { font-size: 14px; color: var(--gray-600); }

.contact-list a {
  color: var(--gray-600);
  text-decoration: none;
}

.contact-list a:hover { color: var(--blue-accent); }

.upload-zone {
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-sm);
  padding: 32px;
  text-align: center;
  color: var(--gray-600);
  font-size: 13px;
  cursor: pointer;
  transition: border-color 0.2s;
}

.upload-zone:hover,
.upload-zone.dragover { border-color: var(--blue-accent); background: var(--brand-blue-faint); }

.upload-zone.has-file { border-color: var(--blue-accent); border-style: solid; }

.upload-zone-name {
  font-weight: 600;
  color: var(--navy);
  margin-top: 6px;
}

.upload-zone svg { color: var(--gray-400); margin-bottom: 10px; }

/* ===== Form ===== */
.inquiry-form { margin-top: 8px; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.required { color: #ef4444; }

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-family: var(--font);
  color: var(--gray-800);
  background: var(--white);
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-accent);
  box-shadow: 0 0 0 3px var(--brand-blue-ring);
}

.form-group textarea { resize: vertical; min-height: 120px; }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  margin-bottom: 20px;
}

.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* ===== Footer ===== */
.site-footer {
  background: var(--footer-blue);
  color: rgba(255, 255, 255, 0.9);
  padding-top: 40px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding-bottom: 32px;
}

.footer-brand p {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.55;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 14px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  transition: all 0.2s;
}

.footer-social a:hover {
  background: var(--orange);
  border-color: var(--orange);
}

.footer-links h4,
.footer-contact h4 {
  color: var(--white);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 12px;
}

.footer-links a {
  display: block;
  font-size: 13px;
  padding: 3px 0;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--orange); }

.footer-contact p {
  font-size: 13px;
  padding: 4px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.5;
}

.footer-contact p svg { flex-shrink: 0; margin-top: 2px; }

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover { color: var(--orange); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  text-align: center;
}

.empty-state {
  text-align: center;
  padding: 64px 0;
}

.empty-state h3 {
  font-size: 24px;
  color: var(--navy);
  margin-bottom: 8px;
}

.empty-state p { color: var(--gray-600); margin-bottom: 24px; }

/* ===== Support / policy pages ===== */
.support-page-section {
  padding-top: 48px;
  padding-bottom: 72px;
}

.support-page {
  max-width: 760px;
  margin: 0 auto;
}

.support-prose h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--navy);
  margin: 32px 0 12px;
  letter-spacing: -0.02em;
}

.support-prose h2:first-child {
  margin-top: 0;
}

.support-intro {
  font-size: 17px;
  line-height: 1.75;
  color: var(--gray-800);
  margin: 0 0 8px;
}

.support-prose p {
  font-size: 16px;
  line-height: 1.75;
  color: var(--gray-800);
  margin: 0 0 10px;
}

.support-prose a {
  color: var(--navy);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.support-prose a:hover {
  color: var(--orange, #e85d04);
}

.support-prose p:last-child {
  margin-bottom: 0;
}

.faq-prose .faq-item {
  padding-bottom: 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--border, #e2e8f0);
}

.faq-prose .faq-item:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.faq-prose .faq-item h2 {
  margin-top: 0;
}

.support-page-cta {
  margin-top: 48px;
  padding: 28px 32px;
  background: var(--bg-light);
  border-radius: var(--radius);
  text-align: center;
}

.support-page-cta p {
  margin: 0 0 16px;
  font-size: 16px;
  color: var(--gray-800);
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .hero-split-inner,
  .cta-banner-inner,
  .about-split,
  .blog-featured { grid-template-columns: 1fr; }

  .category-cards,
  .product-grid,
  .popular-grid { grid-template-columns: repeat(2, 1fr); }

  .why-grid,
  .branding-row-top { grid-template-columns: repeat(2, 1fr); }

  .audience-grid.five-col .why-card {
    flex: 0 1 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .branding-row-bottom {
    flex-wrap: wrap;
    justify-content: center;
  }

  .branding-row-bottom .branding-card {
    flex: 0 0 calc((100% - 24px) / 2);
    max-width: calc((100% - 24px) / 2);
  }

  .methods-row { grid-template-columns: repeat(3, 1fr); }
  .workflow { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .value-cards { grid-template-columns: repeat(3, 1fr); }
  .trust-bar-dark .trust-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
  .product-detail { grid-template-columns: 1fr; }
  .pd-hero-grid { grid-template-columns: 1fr 1fr; }
  .pd-inquiry-sidebar { grid-column: 1 / -1; }
  .pd-inquiry-card { position: static; }
  .pd-desc-grid,
  .pd-specs-grid { grid-template-columns: 1fr; }
  .pd-related-grid { grid-template-columns: repeat(2, 1fr); }
  .pd-bottom-cta-inner { flex-direction: column; text-align: center; }
  .pd-bottom-cta-buttons { justify-content: center; width: 100%; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: repeat(2, 1fr); }
  .cta-banner-features { grid-template-columns: repeat(2, 1fr); }
  .cta-inline-inner { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .container {
    padding-left: max(16px, env(safe-area-inset-left, 0));
    padding-right: max(16px, env(safe-area-inset-right, 0));
  }

  .section {
    padding: 48px 0;
  }

  .hero-split {
    padding: 28px 0 32px;
  }

  .hero-split-inner {
    gap: 24px;
  }

  .hero-split-content {
    order: 1;
  }

  .hero-split-image {
    order: 2;
  }

  .hero-split-image img {
    aspect-ratio: 2.4 / 1;
    object-fit: cover;
  }

  .hero-eyebrow {
    font-size: 14px;
  }

  .hero-split .hero-desc {
    font-size: 15px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .btn {
    width: 100%;
    white-space: normal;
  }

  .hero-page {
    padding: 32px 0;
    text-align: left;
  }

  .hero-page h1 {
    font-size: 26px;
  }

  .products-hero-compact {
    padding: 24px 0 20px;
  }

  .products-hero-compact h1 {
    font-size: 26px;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: 26px;
  }

  .header-inner {
    height: 64px;
    gap: 12px;
  }

  .logo-stack-img {
    height: 44px;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 8px 24px 16px;
    border-bottom: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    gap: 0;
    max-height: calc(100dvh - 64px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .main-nav.open { display: flex; }

  .main-nav a {
    padding: 12px 0;
    border-bottom: 1px solid var(--gray-100);
    width: 100%;
    box-shadow: none !important;
    color: var(--gray-600);
  }

  .main-nav a:hover,
  .main-nav a.active { color: var(--navy); }

  .nav-item { width: 100%; }

  .nav-item .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    padding-left: 16px;
    min-width: 0;
  }

  .nav-item:hover .dropdown-menu,
  .nav-item.open .dropdown-menu { display: block; }

  .mobile-nav-search {
    display: block;
    width: 100%;
    padding: 12px 0 4px;
    border-bottom: none;
  }

  .search-form-nav {
    width: 100%;
    border-color: var(--gray-200);
    height: 44px;
  }

  .search-form-nav input {
    width: 100%;
    flex: 1;
    font-size: 16px;
    color: var(--gray-800);
  }

  .header-actions .btn-sm { display: none; }
  .search-form { display: none; }
  .mobile-menu-btn {
    display: flex;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
  }
  .header-inner { position: relative; }

  .hero-split h1 { font-size: 28px; }
  .checklist-grid { grid-template-columns: 1fr; }

  .category-tabs,
  .subcategory-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px;
    padding-bottom: 4px;
    margin-bottom: 20px;
  }

  .category-tabs::-webkit-scrollbar,
  .subcategory-tabs::-webkit-scrollbar {
    display: none;
  }

  .category-tab,
  .subcategory-tab {
    flex-shrink: 0;
  }

  .category-cards,
  .product-grid,
  .popular-grid,
  .why-grid,
  .branding-row-top,
  .audience-grid.five-col,
  .blog-grid,
  .methods-row,
  .workflow,
  .stats-grid,
  .value-cards,
  .cta-banner-features { grid-template-columns: 1fr; }

  .audience-grid.five-col .why-card {
    flex: 1 1 100%;
    max-width: 100%;
  }

  .branding-row-bottom {
    flex-direction: column;
    align-items: stretch;
  }

  .branding-row-bottom .branding-card {
    flex: 1 1 auto;
    max-width: none;
  }

  .products-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .form-row { grid-template-columns: 1fr; }

  .form-group input,
  .form-group select,
  .form-group textarea,
  .pd-inquiry-form input,
  .pd-inquiry-form textarea {
    font-size: 16px;
  }

  .btn {
    white-space: normal;
  }

  .breadcrumb {
    flex-wrap: wrap;
    font-size: 13px;
    gap: 4px;
  }

  .trust-bar-dark .trust-bar-inner { grid-template-columns: 1fr; }
  .trust-bar-dark .trust-item {
    align-items: flex-start;
    gap: 12px;
  }

  .footer-inner { grid-template-columns: 1fr; }

  .cta-banner-compact .cta-banner-content {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
  }

  .cta-banner-compact .btn {
    width: 100%;
    text-align: center;
    white-space: normal;
  }

  .cta-banner-compact {
    padding: 48px 0 56px;
  }

  .cta-banner-compact + .site-footer {
    padding-top: 64px;
  }

  .cta-inline h2 {
    font-size: 22px;
  }

  .cta-inline p {
    font-size: 15px;
  }

  .cta-inline .btn {
    width: 100%;
  }

  .cta-banner-content h2 {
    font-size: 20px;
  }

  .cta-banner-image img {
    max-height: 200px;
  }

  .footer-bottom-inner { flex-direction: column; text-align: center; }
  .contact-card { padding: 24px; }
  .workflow-step:not(:last-child)::after { display: none; }
  .pd-hero-grid { grid-template-columns: 1fr; }
  .pd-gallery { flex-direction: column; }
  .pd-thumb { flex-shrink: 0; }
  .pd-related-grid { grid-template-columns: 1fr; }
  .pd-cta-buttons { flex-direction: column; }
  .pd-cta-buttons .btn { width: 100%; }
  .pd-specs-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .category-row-header h3 { font-size: 18px; }
  .about-split h2 { font-size: 24px; }
  .stat-item .stat-value { font-size: 28px; }

  .pd-mobile-quote-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 90;
    padding: 14px 16px;
    padding-bottom: max(14px, env(safe-area-inset-bottom));
    background: var(--orange);
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  }

  .product-detail-page .site-footer {
    padding-bottom: 72px;
  }

  .email-modal-grid {
    grid-template-columns: 1fr;
  }

  .email-modal-dialog {
    padding: 20px 16px 24px;
  }
}

@media (max-width: 480px) {
  .hero-split h1 {
    font-size: 24px;
  }

  .hero-page h1,
  .products-hero-compact h1 {
    font-size: 24px;
  }

  .section-header h2 {
    font-size: 24px;
  }

  .product-grid {
    gap: 16px;
  }

  .category-cards {
    gap: 16px;
  }

  .checklist-grid {
    gap: 6px;
  }

  .check-item {
    font-size: 12px;
  }
}

@media print {
  .site-header,
  .site-footer,
  .pd-mobile-quote-bar,
  .pd-inquiry-sidebar,
  .pd-bottom-cta,
  .pd-actions,
  .pd-gallery-nav,
  .pd-related {
    display: none !important;
  }

  .pd-hero-grid {
    grid-template-columns: 1fr;
  }

  .pd-gallery {
    flex-direction: column;
  }

  .pd-thumbs-carousel {
    display: none;
  }
}

/* Sharp corners on all page images */
img {
  border-radius: 0 !important;
}

.category-card,
.category-card-image,
.blog-featured,
.blog-featured-image,
.blog-card,
.blog-card-image,
.popular-card,
.product-card,
.product-card-image,
.pd-related-card,
.pd-related-image,
.pd-gallery,
.pd-main-image,
.pd-thumb,
.pd-desc-image,
.hero-split-image,
.about-split-image,
.cta-banner-image,
.product-detail-image {
  border-radius: 0 !important;
}
