/* ==========================================================================
   ClearFlow Chem — B2B Water Treatment Export Site
   Minimal, High-Trust, Crisp Industrial Design System
   ========================================================================== */

:root {
  --navy-950: #071930;
  --navy-900: #0b2545;
  --navy-800: #133863;
  --blue-600: #0284c7;
  --blue-700: #0369a1;
  --blue-50: #f0f9ff;
  --teal-600: #0d9488;
  --wa-green: #16a34a;
  --wa-green-hover: #15803d;

  --slate-900: #0f172a;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;
  --white: #ffffff;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(11, 37, 69, 0.05);
  --shadow-md: 0 6px 20px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 16px 40px rgba(11, 37, 69, 0.12);

  --container: 1180px;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--slate-900);
  background-color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Top Utility Bar ---------- */
.top-bar {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.top-bar-badges {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.top-bar-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}

.top-bar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #e0f2fe;
  transition: color 0.2s;
}

.top-bar-contact a:hover {
  color: var(--white);
}

/* ---------- Header / Navigation ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 16px;
}

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

.brand-mark {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, var(--navy-900), var(--blue-600));
  display: grid;
  place-items: center;
  color: var(--white);
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--navy-900);
}

.brand-sub {
  font-size: 11px;
  font-weight: 500;
  color: var(--slate-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--slate-700);
  transition: color 0.2s;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--blue-600);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-actions .btn {
  padding: 9px 14px;
  font-size: 13px;
}

.lang-switcher {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  padding: 0 6px 0 8px;
  background: var(--white);
  height: 36px;
  color: var(--navy-900);
  transition: border-color 0.2s;
}

.lang-switcher:hover,
.lang-switcher:focus-within {
  border-color: var(--blue-600);
}

.lang-select {
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  padding: 2px;
  outline: none;
}

[data-wa-display] {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

/* RTL (Arabic) alignment refinements */
html[dir="rtl"] .trust-metric {
  border-left: none;
  border-right: 3px solid var(--blue-600);
  padding-left: 0;
  padding-right: 16px;
}

html[dir="rtl"] .spec-mini-table th,
html[dir="rtl"] .spec-mini-table td,
html[dir="rtl"] .data-table th,
html[dir="rtl"] .data-table td {
  text-align: right;
}

html[dir="rtl"] .quick-spec-item .value {
  text-align: left;
}

html[dir="rtl"] .floating-wa {
  right: auto;
  left: 20px;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 8px;
  color: var(--navy-900);
  cursor: pointer;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn-lg {
  font-size: 15px;
  padding: 13px 24px;
}

.btn-primary {
  background: var(--navy-900);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-800);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-whatsapp {
  background: var(--wa-green);
  color: var(--white);
}

.btn-whatsapp:hover {
  background: var(--wa-green-hover);
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.25);
}

.btn-outline {
  background: var(--white);
  color: var(--navy-900);
  border-color: var(--slate-300);
}

.btn-outline:hover {
  border-color: var(--navy-900);
  background: var(--slate-50);
}

.btn-ghost-light {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.3);
}

.btn-ghost-light:hover {
  background: rgba(255, 255, 255, 0.22);
}

/* ---------- Hero Section ---------- */
.hero {
  position: relative;
  background: var(--navy-900);
  color: var(--white);
  overflow: hidden;
  padding: 72px 0 68px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.34;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    95deg,
    rgba(7, 25, 48, 0.92) 0%,
    rgba(11, 37, 69, 0.80) 55%,
    rgba(11, 37, 69, 0.52) 100%
  );
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 48px;
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #7dd3fc;
  background: rgba(14, 165, 233, 0.14);
  border: 1px solid rgba(125, 211, 252, 0.25);
  padding: 6px 12px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-size: clamp(28px, 4vw, 46px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.025em;
  text-wrap: balance;
  margin: 0 0 18px;
}

.hero-lead {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.86);
  max-width: 600px;
  margin: 0 0 32px;
  line-height: 1.65;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.82);
}

.hero-guarantees span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.hero-card {
  background: rgba(255, 255, 255, 0.98);
  color: var(--slate-900);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
}

.hero-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 4px;
}

.hero-card-sub {
  font-size: 13px;
  color: var(--slate-500);
  margin: 0 0 18px;
}

.quick-spec-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.quick-spec-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--slate-100);
  font-size: 13.5px;
}

.quick-spec-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.quick-spec-item .label {
  color: var(--slate-600);
}

.quick-spec-item .value {
  font-weight: 600;
  color: var(--navy-900);
  text-align: right;
}

.hero-wa-strip {
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-size: 13px;
  color: #166534;
  transition: background 0.2s, border-color 0.2s;
}

.hero-wa-strip:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.hero-wa-strip strong {
  color: #15803d;
  font-weight: 700;
}

.wa-banner {
  margin-top: 28px;
  background: linear-gradient(135deg, #0b2545 0%, #133863 100%);
  color: var(--white);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.wa-banner-light {
  margin-top: 28px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: var(--navy-900);
  border-radius: var(--radius-md);
  padding: 20px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.wa-banner h3,
.wa-banner-light h3 {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 4px;
}

.wa-banner p {
  margin: 0;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.84);
}

.wa-banner-light p {
  margin: 0;
  font-size: 14px;
  color: var(--slate-600);
}

.wa-copy-inline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-copy-mini {
  background: rgba(255, 255, 255, 0.14);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 5px;
  font-family: inherit;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 9px;
  cursor: pointer;
  transition: background 0.2s;
}

.btn-copy-mini:hover {
  background: rgba(255, 255, 255, 0.26);
}

.wa-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #bbf7d0;
  box-shadow: 0 0 0 3px rgba(187, 247, 208, 0.35);
  flex-shrink: 0;
}

.hero-company-stamp {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.78);
}

.hero-company-stamp strong {
  color: var(--white);
  font-weight: 600;
}

.hero-company-stamp a {
  color: #7dd3fc;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- Trust Metrics Bar ---------- */
.trust-strip {
  background: var(--slate-50);
  border-bottom: 1px solid var(--slate-200);
  padding: 28px 0;
}

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

.trust-metric {
  display: flex;
  flex-direction: column;
  gap: 2px;
  border-left: 3px solid var(--blue-600);
  padding-left: 16px;
}

.trust-metric strong {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
}

.trust-metric span {
  font-size: 13px;
  color: var(--slate-600);
}

/* ---------- Section Common ---------- */
.section {
  padding: 96px 0;
}

.section-alt {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.section-header {
  max-width: 680px;
  margin-bottom: 48px;
}

.section-header.center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--blue-600);
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 700;
  color: var(--navy-900);
  letter-spacing: -0.02em;
  line-height: 1.22;
  text-wrap: balance;
  margin: 0 0 12px;
}

.section-header p {
  font-size: 16px;
  color: var(--slate-600);
  margin: 0;
}

/* ---------- Products Section (PAC & PAM) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

.product-card:hover {
  border-color: var(--slate-300);
  box-shadow: var(--shadow-md);
}

.product-media {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--slate-100);
  overflow: hidden;
}

.product-media-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3px;
  background: var(--white);
}

.product-media-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(11, 37, 69, 0.9);
  color: var(--white);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 999px;
}

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

.product-body h3 {
  font-size: 22px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 6px;
}

.product-cas {
  font-size: 13px;
  color: var(--slate-500);
  margin: 0 0 16px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

.product-desc {
  font-size: 14.5px;
  color: var(--slate-600);
  margin: 0 0 20px;
}

.spec-mini-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
  margin-bottom: 24px;
}

.spec-mini-table th,
.spec-mini-table td {
  padding: 9px 0;
  border-bottom: 1px solid var(--slate-100);
  text-align: left;
}

.spec-mini-table th {
  color: var(--slate-500);
  font-weight: 500;
  width: 44%;
}

.spec-mini-table td {
  color: var(--slate-900);
  font-weight: 600;
}

.product-footer {
  margin-top: auto;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Technical Specifications Tabs ---------- */
.spec-tabs {
  display: inline-flex;
  background: var(--slate-200);
  padding: 4px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.spec-tab-btn {
  border: none;
  background: transparent;
  padding: 10px 20px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  color: var(--slate-700);
  border-radius: 7px;
  cursor: pointer;
  transition: all 0.2s;
}

.spec-tab-btn.active {
  background: var(--white);
  color: var(--navy-900);
  box-shadow: var(--shadow-sm);
}

.spec-panel {
  display: none;
}

.spec-panel.active {
  display: block;
}

.table-scroll-hint {
  display: none;
  font-size: 12px;
  color: var(--slate-500);
  margin: 0 0 8px;
}

.table-wrap {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  min-width: 640px;
}

.data-table th {
  background: var(--navy-900);
  color: var(--white);
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  font-size: 13px;
  letter-spacing: 0.02em;
}

.data-table td {
  padding: 13px 18px;
  border-bottom: 1px solid var(--slate-100);
  color: var(--slate-700);
}

.data-table tbody tr:last-child td {
  border-bottom: none;
}

.data-table tbody tr:hover {
  background: var(--blue-50);
}

.table-note {
  margin-top: 14px;
  font-size: 13px;
  color: var(--slate-500);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ---------- Why Trust Us (4 Pillars) ---------- */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.pillar-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pillar-card:hover {
  transform: translateY(-2px);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--blue-50);
  color: var(--blue-600);
  display: grid;
  place-items: center;
  margin-bottom: 18px;
}

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

.pillar-card p {
  font-size: 14px;
  color: var(--slate-600);
  margin: 0;
  line-height: 1.6;
}

/* ---------- Real Photo Proof Gallery ---------- */
.photo-proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 36px;
}

.photo-proof-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.photo-proof-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.photo-proof-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.photo-proof-caption {
  padding: 14px 16px;
}

.photo-proof-caption strong {
  display: block;
  font-size: 14px;
  color: var(--navy-900);
  margin-bottom: 3px;
}

.photo-proof-caption span {
  font-size: 12.5px;
  color: var(--slate-500);
}

/* ---------- Interactive Application Selector ---------- */
.app-selector-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.app-pill {
  background: var(--white);
  border: 1px solid var(--slate-300);
  color: var(--slate-700);
  font-family: inherit;
  font-size: 13.5px;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.18s ease;
}

.app-pill:hover {
  border-color: var(--blue-600);
  color: var(--navy-900);
}

.app-pill.active {
  background: var(--navy-900);
  border-color: var(--navy-900);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

.app-detail-panel {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 28px;
}

.app-detail-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--slate-100);
}

.app-detail-top h3 {
  font-size: 20px;
  color: var(--navy-900);
  margin: 0 0 6px;
}

.app-detail-top p {
  font-size: 14.5px;
  color: var(--slate-600);
  margin: 0;
  max-width: 660px;
}

.app-detail-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 20px;
}

.app-detail-box {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 18px 20px;
}

.app-detail-box h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--blue-700);
  margin: 0 0 10px;
}

.app-detail-box ul {
  margin: 0;
  padding-left: 18px;
  font-size: 14px;
  color: var(--slate-700);
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.app-detail-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---------- Distributors & Importers Section ---------- */
.dist-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

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

.dist-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.dist-card:hover {
  transform: translateY(-2px);
  border-color: var(--slate-300);
  box-shadow: var(--shadow-sm);
}

.dist-card h3 {
  font-size: 15.5px;
  color: var(--navy-900);
  margin: 0 0 6px;
}

.dist-card p {
  font-size: 13.5px;
  color: var(--slate-600);
  margin: 0;
}

/* ---------- Buyer's Guide FAQ Accordion ---------- */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 860px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item[open] {
  border-color: var(--blue-600);
}

.faq-item summary {
  list-style: none;
  padding: 18px 22px;
  font-size: 15.5px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 20px;
  font-weight: 500;
  color: var(--blue-600);
  line-height: 1;
  flex-shrink: 0;
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  padding: 0 22px 18px;
  font-size: 14.5px;
  color: var(--slate-600);
  line-height: 1.65;
  border-top: 1px solid var(--slate-100);
  padding-top: 14px;
}

/* ---------- Progressive Disclosure Optional RFQ Fields & Draft Preview ---------- */
.optional-fields {
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  margin-bottom: 16px;
  background: var(--slate-50);
}

.optional-fields summary {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy-900);
  cursor: pointer;
}

.optional-fields-body {
  margin-top: 14px;
}

.rfq-draft-box {
  margin-top: 16px;
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 16px;
  display: none;
}

.rfq-draft-box.open {
  display: block;
}

.rfq-draft-box label {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate-600);
  margin-bottom: 8px;
}

.rfq-draft-box textarea {
  width: 100%;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 12.5px;
  line-height: 1.5;
  padding: 10px 12px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--slate-900);
  resize: vertical;
}

.rfq-draft-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 12px;
}

/* ---------- Applications Grid ---------- */
.app-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.app-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
  transition: border-color 0.2s, transform 0.2s;
}

.app-card:hover {
  border-color: var(--blue-600);
  transform: translateY(-2px);
}

.app-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.app-card p {
  font-size: 14px;
  color: var(--slate-600);
  margin: 0 0 14px;
}

.app-rec {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  color: var(--blue-700);
  background: var(--blue-50);
  padding: 4px 10px;
  border-radius: 999px;
}

/* ---------- Export Process ---------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-md);
  padding: 24px;
}

.step-num {
  font-size: 13px;
  font-weight: 700;
  color: var(--blue-600);
  margin-bottom: 10px;
  letter-spacing: 0.05em;
}

.step-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--slate-600);
  margin: 0;
}

/* ---------- Contact & RFQ Section ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-info-card {
  background: var(--navy-900);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
}

.contact-info-card h2 {
  font-size: 26px;
  margin: 0 0 12px;
  line-height: 1.25;
}

.contact-info-card > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 15px;
  margin: 0 0 28px;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-method {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-method-icon {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: #7dd3fc;
}

.contact-method small {
  display: block;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
}

.contact-method strong {
  font-size: 15px;
  font-weight: 600;
}

.doc-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.doc-badges span {
  font-size: 12px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.9);
  padding: 4px 10px;
  border-radius: 4px;
}

.rfq-form {
  background: var(--white);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-sm);
}

.rfq-form h3 {
  font-size: 20px;
  color: var(--navy-900);
  margin: 0 0 6px;
}

.rfq-form .form-sub {
  font-size: 14px;
  color: var(--slate-500);
  margin: 0 0 24px;
}

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

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  font-family: inherit;
  font-size: 14px;
  padding: 10px 13px;
  border: 1px solid var(--slate-300);
  border-radius: var(--radius-sm);
  color: var(--slate-900);
  background: var(--white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue-600);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.12);
}

.form-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.form-status {
  margin-top: 14px;
  font-size: 13.5px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  display: none;
}

.form-status.success {
  display: block;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-950);
  color: rgba(255, 255, 255, 0.72);
  padding: 48px 0 72px;
  font-size: 13.5px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.52);
}

/* ---------- Floating WhatsApp Button (Desktop Scroll-Aware) ---------- */
.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--wa-green);
  color: var(--white);
  padding: 11px 18px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 600;
  box-shadow: 0 10px 26px rgba(22, 163, 74, 0.34);
  opacity: 0;
  transform: translateY(14px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s;
}

.floating-wa.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-wa:hover {
  background: var(--wa-green-hover);
  transform: translateY(-2px);
}

/* ---------- Sticky Mobile Bottom Action Bar ---------- */
.mobile-sticky-bar {
  display: none;
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .nav-actions .btn-outline {
    display: none;
  }
}

@media (max-width: 980px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--slate-200);
    box-shadow: var(--shadow-md);
    flex-direction: column;
    padding: 12px 24px 18px;
    gap: 4px;
    align-items: stretch;
  }

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

  .nav-links a {
    padding: 11px 4px;
    border-bottom: 1px solid var(--slate-100);
    font-size: 15px;
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-actions .btn-outline {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
  }

  .hero-grid,
  .product-grid,
  .dist-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .trust-grid,
  .pillars-grid,
  .photo-proof-grid,
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .app-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 760px) {
  .container {
    padding: 0 16px;
  }

  .top-bar {
    display: none;
  }

  .nav-inner {
    height: 62px;
    gap: 10px;
  }

  .nav-links {
    top: 62px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
  }

  .brand-name {
    font-size: 16px;
  }

  .brand-sub {
    display: none;
  }

  .nav-actions .btn-whatsapp {
    display: none;
  }

  .hero {
    padding: 36px 0 40px;
  }

  .hero-lead {
    font-size: 15.5px;
    margin-bottom: 24px;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }

  .hero-ctas .btn,
  .product-footer .btn,
  .wa-banner .btn,
  .wa-banner-light .btn,
  .form-actions .btn {
    width: 100%;
    min-height: 46px;
  }

  .hero-guarantees {
    gap: 10px 16px;
    font-size: 13px;
  }

  .hero-card {
    padding: 20px;
  }

  .trust-strip {
    padding: 22px 0;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 14px;
  }

  .trust-metric {
    padding-left: 12px;
  }

  .trust-metric strong {
    font-size: 19px;
  }

  .trust-metric span {
    font-size: 12px;
    line-height: 1.4;
  }

  .section {
    padding: 52px 0;
  }

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

  .section-header p {
    font-size: 15px;
  }

  .product-body {
    padding: 20px;
  }

  .product-footer {
    flex-direction: column;
  }

  .spec-tabs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    width: 100%;
  }

  .spec-tab-btn {
    padding: 10px 12px;
    font-size: 13.5px;
  }

  .table-scroll-hint {
    display: block;
  }

  .pillars-grid,
  .steps-grid,
  .app-grid,
  .app-detail-cols,
  .dist-cards,
  .form-row {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .photo-proof-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 24px;
  }

  .photo-proof-caption {
    padding: 10px 12px;
  }

  .photo-proof-caption strong {
    font-size: 13px;
  }

  .photo-proof-caption span {
    font-size: 11.5px;
    line-height: 1.35;
    display: block;
  }

  .pillar-card,
  .app-card,
  .step-card {
    padding: 20px;
  }

  .wa-banner,
  .wa-banner-light {
    padding: 20px;
    gap: 14px;
  }

  .contact-info-card,
  .rfq-form {
    padding: 24px 18px;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    font-size: 16px;
    padding: 11px 13px;
  }

  .app-selector-pills {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }

  .app-selector-pills::-webkit-scrollbar {
    display: none;
  }

  .app-pill {
    flex-shrink: 0;
    padding: 8px 14px;
    font-size: 13px;
  }

  .app-detail-panel {
    padding: 20px 18px;
  }

  .app-detail-actions .btn {
    width: 100%;
    min-height: 44px;
  }

  .faq-item summary {
    padding: 15px 16px;
    font-size: 14.5px;
  }

  .faq-answer {
    padding: 12px 16px 16px;
    font-size: 14px;
  }

  .site-footer {
    padding: 36px 0 96px;
  }

  .floating-wa {
    display: none;
  }

  .mobile-sticky-bar {
    display: grid;
    grid-template-columns: 1fr 1.25fr;
    gap: 10px;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 95;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--slate-200);
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    box-shadow: 0 -6px 20px rgba(11, 37, 69, 0.08);
  }

  .mobile-sticky-bar .btn {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    font-size: 13.5px;
  }
}

@media (max-width: 360px) {
  .photo-proof-grid {
    grid-template-columns: 1fr;
  }
}
