/*
Theme Name: FutureChem
Description: B2B Chemical Trading - FutureChem Professional Theme
Version: 1.1.0
Text Domain: futurechem
*/

/* ══════════════════════════════════════════
   TOKENS
══════════════════════════════════════════ */
:root {
  --orange:    #E8520A;
  --orange2:   #F5A623;
  --navy:      #0D1B2E;
  --navy2:     #1A2E4A;
  --white:     #FFFFFF;
  --light:     #F5F7FA;
  --border:    #E2E8F0;
  --text:      #4A5568;
  --head:      #1A202C;
  --muted:     #718096;
  --ff:        'Barlow', sans-serif;
  --fb:        'Open Sans', sans-serif;
  --radius:    6px;
  --shadow:    0 2px 16px rgba(0,0,0,.09);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.14);
}

/* ══════════════════════════════════════════
   RESET
══════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--fb);
  background: #fff;
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 {
  font-family: var(--ff);
  color: var(--head);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .01em;
}
h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p  { margin-bottom: 1rem; }
.container { max-width: 1240px; margin: 0 auto; padding: 0 1.5rem; }

/* ══════════════════════════════════════════
   TOP BAR
══════════════════════════════════════════ */
.topbar {
  background: var(--navy);
  padding: .5rem 0;
  font-size: .78rem;
  color: rgba(255,255,255,.75);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-left,
.topbar-right { display: flex; align-items: center; gap: 1.5rem; }
.topbar-item  { display: flex; align-items: center; gap: 6px; }
.topbar-item svg,
.topbar-icon  { width: 14px; height: 14px; fill: var(--orange2); flex-shrink: 0; }
.topbar-social { display: flex; align-items: center; gap: 10px; }
.topbar-social a {
  color: rgba(255,255,255,.6);
  font-size: .8rem;
  font-weight: 700;
  transition: color .2s;
}
.topbar-social a:hover { color: #fff; }

/* ══════════════════════════════════════════
   HEADER
══════════════════════════════════════════ */
#masthead {
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: box-shadow .3s;
}
/* JS adds .scrolled when page is scrolled */
#masthead.scrolled {
  box-shadow: 0 4px 24px rgba(0,0,0,.13);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .9rem 1.5rem;
  max-width: 1240px;
  margin: 0 auto;
  gap: 1rem;
}
.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-icon  { width: 52px; height: 52px; }
.logo-text  { line-height: 1.1; }
.logo-name  {
  font-family: var(--ff);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -.01em;
}
.logo-name span { color: var(--orange); }
.logo-sub {
  font-size: .6rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--muted);
  font-family: var(--ff);
}
#primary-navigation ul { display: flex; align-items: center; gap: .1rem; }
#primary-navigation li a {
  font-family: var(--ff);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--head);
  padding: .5rem .9rem;
  display: block;
  position: relative;
  transition: color .2s;
}
#primary-navigation li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: .9rem;
  right: .9rem;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .2s;
  transform-origin: left;
}
#primary-navigation li a:hover,
#primary-navigation li.current-menu-item > a { color: var(--orange); }
#primary-navigation li a:hover::after,
#primary-navigation li.current-menu-item > a::after { transform: scaleX(1); }
.has-dropdown { position: relative; }
.has-dropdown > a::before { content: '▾'; margin-left: 4px; font-size: .65rem; }
.header-search-btn {
  width: 42px; height: 42px;
  background: var(--orange);
  border: none;
  border-radius: var(--radius);
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background .2s;
}
.header-search-btn:hover { background: var(--orange2); }
.menu-toggle {
  display: none;
  background: none;
  border: 2px solid var(--border);
  padding: 7px 10px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 1.1rem;
  line-height: 1;
  color: var(--head);
}

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */
.hero {
  background: var(--navy);
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(13,27,46,.92) 45%, rgba(13,27,46,.35) 100%);
}
.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 5rem 1.5rem 7rem;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.hero-eyebrow {
  font-family: var(--ff);
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
  margin-bottom: .75rem;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin-bottom: 1rem;
}
.hero-sub {
  color: rgba(255,255,255,.8);
  font-size: 1rem;
  max-width: 540px;
  margin-bottom: 2rem;
}
.hero-trust { display: flex; flex-wrap: wrap; gap: 1.5rem; margin-bottom: 2.25rem; }
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,.85);
  font-family: var(--ff);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .03em;
}
.trust-item-icon {
  width: 36px; height: 36px;
  border: 2px solid rgba(255,255,255,.25);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.hero-wave { position: absolute; bottom: 0; left: 0; right: 0; line-height: 0; }
.hero-wave svg { display: block; width: 100%; }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  font-family: var(--ff);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  border-radius: var(--radius);
  cursor: pointer;
  border: none;
  transition: all .2s;
  white-space: nowrap;
}
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover {
  background: #C4420A;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(232,82,10,.35);
}
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy2); }
.btn-outline-white { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.4); }
.btn-outline-white:hover { border-color: #fff; background: rgba(255,255,255,.1); }

/* ── Slider dots ── */
.slider-dots { display: flex; gap: 8px; margin-top: 2rem; }
.dot {
  width: 12px; height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .2s;
}
.dot.active { background: var(--orange2); }

/* ══════════════════════════════════════════
   PRODUCTS SECTION
══════════════════════════════════════════ */
.products-section { background: #fff; padding: 4rem 0 5rem; }
.is-hidden-home-products { display: none; }
.about-section {
  background: #fff;
  padding: 5rem 0;
}
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.15fr);
  gap: 3rem;
  align-items: center;
}
.about-grid > div:first-child {
  padding-left: 1rem;
  border-left: 4px solid var(--orange);
}
.about-lead {
  color: var(--head);
  font-size: 1rem;
  margin-top: 1.25rem;
}
.about-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}
.about-card {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  min-height: 240px;
  position: relative;
  overflow: hidden;
}
.about-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--orange);
}
.about-card-kicker {
  font-family: var(--ff);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .85rem;
}
.about-card h3 {
  font-size: 1.2rem;
  margin-bottom: .75rem;
}
.about-card p {
  color: var(--muted);
  font-size: .9rem;
  margin-bottom: 0;
}
.section-label {
  font-family: var(--ff);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: .5rem;
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
  padding-bottom: 1rem;
  border-left: 4px solid var(--orange);
  padding-left: 1rem;
}
.section-head h2 { margin: 0; }
.view-all {
  font-family: var(--ff);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  color: var(--orange);
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}
.view-all:hover { text-decoration: underline; }

/* ── Carousel wrapper ── */
.products-carousel-wrap { position: relative; padding: 0 28px; }

/* ── Carousel track — FIXED: flex instead of grid so scrollBy works ── */
.products-carousel {
  display: flex;
  gap: 1.25rem;
  overflow: hidden;          /* JS uses scrollBy; no native scrollbar needed */
  scroll-behavior: smooth;
}

/* ── Each card fills exactly 1/6 of visible track ── */
.product-card {
  flex: 0 0 calc((100% - 5 * 1.25rem) / 6);
  min-width: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow .2s, transform .2s;
  text-align: center;
}
.product-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

/* ── Carousel arrow buttons ── */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 50%;
  box-shadow: var(--shadow);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--head);
  z-index: 5;
  transition: background .2s, color .2s, border-color .2s, opacity .2s;
}
.carousel-btn:hover  { background: var(--orange); color: #fff; border-color: var(--orange); }
.carousel-btn:disabled { opacity: .4; cursor: default; pointer-events: none; }
.carousel-btn-prev { left: -4px; }
.carousel-btn-next { right: -4px; }

/* ── Product card internals ── */
.product-img {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  background: var(--light);
}
.product-img img { width: 110px; height: 110px; object-fit: contain; }
.product-img-placeholder { width: 90px; height: 90px; object-fit: contain; filter: grayscale(.3); }
.product-body  { padding: 1rem; }
.product-name  {
  font-family: var(--ff);
  font-size: .92rem;
  font-weight: 700;
  color: var(--head);
  margin-bottom: .875rem;
  min-height: 2.4rem;
  line-height: 1.3;
}
.btn-details { width: 100%; justify-content: center; padding: 9px 16px; font-size: .72rem; }

/* ══════════════════════════════════════════
   FEATURES BAR
══════════════════════════════════════════ */
.features-bar { background: var(--navy); padding: 2.25rem 0; }
.features-bar-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
}
.fbar-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding-right: 1.5rem;
  border-right: 1px solid rgba(255,255,255,.1);
}
.fbar-item:last-child { border-right: none; padding-right: 0; }
.fbar-icon  { font-size: 1.8rem; flex-shrink: 0; color: var(--orange2); }
.fbar-title {
  font-family: var(--ff);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 3px;
}
.fbar-text { font-size: .75rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* ══════════════════════════════════════════
   CTA BANNER
══════════════════════════════════════════ */
.cta-banner {
  background: linear-gradient(90deg, var(--orange) 0%, var(--orange2) 100%);
  padding: 2rem 0;
}
.cta-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.cta-banner-left  { display: flex; align-items: center; gap: 1.25rem; }
.cta-banner-icon  {
  width: 60px; height: 60px;
  background: rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  flex-shrink: 0;
}
.cta-banner-title { font-family: var(--ff); font-size: 1.3rem; font-weight: 700; color: #fff; margin-bottom: 3px; }
.cta-banner-sub   { font-size: .85rem; color: rgba(255,255,255,.8); }

/* ══════════════════════════════════════════
   WHY US
══════════════════════════════════════════ */
.why-section { background: var(--light); padding: 5rem 0; }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}
.why-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: box-shadow .2s, transform .2s;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .3s;
  transform-origin: left;
}
.why-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon  { font-size: 2.2rem; margin-bottom: 1rem; }
.why-title {
  font-family: var(--ff);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--head);
  margin-bottom: .6rem;
}
.why-text { font-size: .85rem; color: var(--muted); line-height: 1.8; }

/* ══════════════════════════════════════════
   CATALOG TABLE
══════════════════════════════════════════ */
.catalog-section { background: #fff; padding: 5rem 0; }
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.catalog-table { width: 100%; border-collapse: collapse; min-width: 640px; }
.catalog-table thead { background: var(--navy); }
.catalog-table th {
  padding: .875rem 1.1rem;
  text-align: left;
  font-family: var(--ff);
  font-size: .7rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
  font-weight: 600;
}
.catalog-table td {
  padding: .875rem 1.1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
  font-size: .875rem;
  vertical-align: middle;
}
.catalog-table tr:last-child td { border-bottom: none; }
.catalog-table tr:hover td { background: #FFF8F5; }
.catalog-table td:first-child { font-weight: 600; color: var(--head); }
.purity-pill {
  display: inline-block;
  font-size: .65rem;
  padding: 3px 9px;
  border: 1px solid rgba(232,82,10,.3);
  background: rgba(232,82,10,.07);
  color: var(--orange);
  border-radius: 20px;
  font-weight: 600;
}
.form-pill {
  display: inline-block;
  font-size: .65rem;
  padding: 3px 9px;
  border: 1px solid rgba(245,166,35,.3);
  background: rgba(245,166,35,.07);
  color: #B7791F;
  border-radius: 20px;
  font-weight: 600;
}

/* ══════════════════════════════════════════
   CONTACT FORM
══════════════════════════════════════════ */
.contact-section { background: var(--light); padding: 5rem 0; }
.contact-page-section { background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3.5rem;
  align-items: start;
}
.contact-info-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 2.25rem;
  color: #fff;
}
.contact-info-card h3 { font-size: 1.3rem; color: #fff; margin-bottom: .75rem; }
.contact-info-card p  { font-size: .875rem; color: rgba(255,255,255,.65); margin-bottom: 2rem; }
.contact-detail { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 1.25rem; }
.contact-detail a.c-val:hover { color: var(--orange2); }
.c-icon {
  width: 38px; height: 38px;
  background: rgba(232,82,10,.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.c-label {
  font-family: var(--ff);
  font-size: .6rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--orange2);
  display: block;
  margin-bottom: 2px;
}
.c-val { color: #fff; font-size: .875rem; }
.inquiry-form {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.25rem;
  box-shadow: var(--shadow);
}
.inquiry-form h3 {
  font-size: 1.3rem;
  margin-bottom: 1.25rem;
  padding-bottom: .875rem;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.inquiry-form h3::before {
  content: '';
  display: block;
  width: 4px; height: 22px;
  background: var(--orange);
  border-radius: 2px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: .875rem; }
.form-group label {
  font-family: var(--ff);
  font-size: .65rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 600;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 9px 13px;
  color: var(--head);
  font-size: .875rem;
  font-family: var(--fb);
  outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,82,10,.1);
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-group select option { background: #fff; }
.btn-whatsapp {
  width: 100%;
  justify-content: center;
  background: #25D366;
  color: #fff;
  margin-top: .75rem;
}
.btn-whatsapp:hover {
  background: #1FB657;
  transform: translateY(-1px);
}
.contact-submit-btn {
  width: 100%;
  justify-content: center;
  padding: 14px;
}
.form-success-message {
  background: #F0FDF4;
  border: 1px solid #BBF7D0;
  border-radius: var(--radius);
  color: #166534;
  font-size: .9rem;
  margin-bottom: 1.25rem;
  padding: 1rem 1.25rem;
}

/* Sales chat agent */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.fc-sales-agent {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 240;
  font-family: var(--fb);
}
.fc-chat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 10px 16px 10px 10px;
  border: 0;
  border-radius: var(--radius);
  background: var(--orange);
  color: #fff;
  box-shadow: 0 10px 28px rgba(13,27,46,.22);
  cursor: pointer;
  font-family: var(--ff);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.fc-chat-toggle:hover { background: #C4420A; }
.fc-chat-toggle-icon {
  width: 30px;
  height: 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255,255,255,.18);
  font-size: .7rem;
}
.fc-chat-panel {
  width: min(380px, calc(100vw - 28px));
  max-height: min(620px, calc(100vh - 110px));
  margin-bottom: 12px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 8px;
  box-shadow: 0 20px 48px rgba(13,27,46,.22);
}
.fc-chat-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 16px;
  background: var(--navy);
  color: #fff;
}
.fc-chat-head strong {
  display: block;
  font-family: var(--ff);
  font-size: .95rem;
  color: #fff;
  margin-bottom: 2px;
}
.fc-chat-head span {
  display: block;
  color: rgba(255,255,255,.58);
  font-size: .74rem;
  line-height: 1.4;
}
.fc-chat-close {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,.08);
  color: #fff;
  cursor: pointer;
  font-size: 1.35rem;
  line-height: 1;
}
.fc-chat-log {
  height: 330px;
  max-height: calc(100vh - 315px);
  overflow-y: auto;
  padding: 16px;
  background: #F7F9FC;
}
.fc-chat-message {
  width: fit-content;
  max-width: 88%;
  margin-bottom: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: .86rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.fc-chat-message-bot {
  background: #fff;
  border: 1px solid var(--border);
  color: var(--text);
}
.fc-chat-message-user {
  margin-left: auto;
  background: var(--orange);
  color: #fff;
}
.fc-chat-message a {
  color: var(--orange);
  font-weight: 700;
  text-decoration: underline;
}
.fc-chat-message-user a { color: #fff; }
.fc-chat-message ul {
  list-style: disc;
  margin: 8px 0 8px 18px;
}
.fc-chat-suggestions,
.fc-chat-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.fc-chat-suggestions { margin: 3px 0 12px; }
.fc-chat-suggestions button,
.fc-chat-actions button {
  border: 1px solid rgba(232,82,10,.28);
  border-radius: 18px;
  background: #FFF8F5;
  color: #C4420A;
  cursor: pointer;
  font-family: var(--ff);
  font-size: .72rem;
  font-weight: 700;
  padding: 6px 10px;
}
.fc-chat-suggestions button:hover,
.fc-chat-actions button:hover {
  border-color: var(--orange);
  background: #FFF0E8;
}
.fc-chat-actions {
  padding: 12px 14px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.fc-chat-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 14px 14px;
  border-top: 1px solid var(--border);
  background: #fff;
}
.fc-chat-form input {
  min-width: 0;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 10px 11px;
  color: var(--head);
  font-size: .86rem;
  outline: none;
}
.fc-chat-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(232,82,10,.1);
}
.fc-chat-form button {
  border: 0;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  cursor: pointer;
  font-family: var(--ff);
  font-size: .75rem;
  font-weight: 800;
  letter-spacing: .06em;
  padding: 0 14px;
  text-transform: uppercase;
}
.fc-chat-form button:hover { background: var(--navy2); }

/* ══════════════════════════════════════════
   PAGE HERO  (inner pages)
══════════════════════════════════════════ */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy2) 100%);
  padding: 5rem 0 3.5rem;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 80% at 100% 50%, rgba(232,82,10,.12), transparent);
}
.page-hero-inner   { position: relative; z-index: 2; }
.page-hero-label   {
  font-family: var(--ff);
  font-size: .7rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange2);
  margin-bottom: .5rem;
}
.page-hero h1 { color: #fff; font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: .5rem; }
.page-hero p  { color: rgba(255,255,255,.65); font-size: .95rem; }
.page-content-section {
  background: #fff;
  padding: 4rem 0;
}
.page-content-inner {
  color: var(--text);
  line-height: 1.8;
  max-width: 820px;
}
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: .7rem;
  letter-spacing: .06em;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
  font-family: var(--ff);
}
.breadcrumb a   { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--orange2); }
.breadcrumb-sep { color: rgba(255,255,255,.2); }

/* ══════════════════════════════════════════
   FOOTER
══════════════════════════════════════════ */
#colophon { background: var(--navy); }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
  padding: 3.5rem 0 2.5rem;
}
.footer-logo-name {
  font-family: var(--ff);
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -.01em;
}
.footer-logo-name span { color: var(--orange); }
.footer-logo-sub {
  font-size: .55rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  font-family: var(--ff);
  margin-bottom: 1rem;
  display: block;
}
.footer-brand p {
  font-size: .825rem;
  color: rgba(255,255,255,.5);
  line-height: 1.8;
  margin-bottom: 1.25rem;
  max-width: 260px;
}
.footer-social { display: flex; gap: 8px; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.45);
  font-size: .75rem;
  font-weight: 700;
  transition: border-color .2s, color .2s;
}
.footer-social a:hover { border-color: var(--orange); color: var(--orange); }
.footer-col h4 {
  font-family: var(--ff);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 1rem;
  padding-bottom: .6rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-links { display: flex; flex-direction: column; gap: .5rem; }
.footer-links a {
  font-size: .825rem;
  color: rgba(255,255,255,.45);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color .2s;
}
.footer-links a::before { content: '›'; color: var(--orange); font-size: 1rem; line-height: 1; }
.footer-links a:hover { color: rgba(255,255,255,.85); }
.footer-bottom {
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: .75rem;
}
.footer-bottom p,
.footer-bottom a { font-size: .72rem; color: rgba(255,255,255,.35); margin: 0; transition: color .2s; }
.footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ══════════════════════════════════════════
   SHARED SECTION HELPERS
══════════════════════════════════════════ */
.section-intro { max-width: 580px; color: var(--muted); font-size: .9rem; margin-top: .5rem; }

/* ══════════════════════════════════════════
   SCROLL REVEAL ANIMATION
══════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s ease, transform .5s ease;
}
.reveal.shown,
.reveal.active { opacity: 1; transform: none; }

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

/* ── 1100px — tablet landscape ── */
@media (max-width: 1100px) {
  .products-carousel-wrap { padding: 0 24px; }

  /* Show 3 cards at a time */
  .product-card { flex: 0 0 calc((100% - 2 * 1.25rem) / 3); }

  .features-bar-inner  { grid-template-columns: repeat(3, 1fr); }
  .footer-top          { grid-template-columns: 1fr 1fr; }
  .contact-grid        { grid-template-columns: 1fr; }
  .about-grid          { grid-template-columns: 1fr; }
}

/* ── 768px — tablet portrait / mobile ── */
@media (max-width: 768px) {
  /* Mobile nav overlay */
  .menu-toggle { display: block; }
  #primary-navigation {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(13,27,46,.97);
    z-index: 200;
    align-items: center;
    justify-content: center;
  }
  #primary-navigation.open { display: flex; }
  #primary-navigation ul   { flex-direction: column; text-align: center; gap: .5rem; }
  #primary-navigation li a { font-size: 1.2rem; padding: .75rem 2rem; }

  /* Show 2 cards at a time */
  .product-card { flex: 0 0 calc((100% - 1 * 1.25rem) / 2); }

  .features-bar-inner { grid-template-columns: 1fr 1fr; }
  .fbar-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding-bottom: 1rem;
  }
  .cta-banner-inner { flex-direction: column; text-align: center; }
  .form-row         { grid-template-columns: 1fr; }
  .hero-trust       { gap: 1rem; }
  .about-cards      { grid-template-columns: 1fr; }
}

/* ── 480px — small mobile ── */
@media (max-width: 480px) {
  .topbar-left .topbar-item:first-child { display: none; }

  /* Show 1 card at a time on very small screens */
  .product-card { flex: 0 0 100%; }

  .footer-top         { grid-template-columns: 1fr; }
  .features-bar-inner { grid-template-columns: 1fr; }
  .fc-sales-agent {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }
  .fc-chat-toggle { width: 100%; justify-content: center; }
  .fc-chat-panel { width: 100%; }
  .fc-chat-log { height: 300px; }
}
