/* FLAMIX China — hand-written CSS. No build step, no framework. */

/* ---------- Design tokens ---------- */
:root {
  --brand: #da6e1a;
  --brand-light: #f0983a;
  --brand-dark: #c55e12;
  --brand-tint: #fff8f2;
  --brand-soft: #fff2e8;

  --bg: #fefaf7;
  --surface: #ffffff;
  --text: #1f2937;
  --text-muted: #6b7280;
  --text-soft: #9ca3af;
  --border: rgba(218, 110, 26, 0.1);
  --border-soft: #f0eae6;
  --shadow-card: 0 15px 35px -15px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 25px 40px -14px rgba(218, 110, 26, 0.12);
  --nav-bg: rgba(255, 255, 255, 0.96);

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}


/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { font-family: var(--font-sans); }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  transition: background-color .3s ease, color .3s ease;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; font-family: inherit; background: none; color: inherit; font-size: 1em; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p { margin: 0; }
input, select, textarea { font-family: inherit; font-size: 1em; color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible {
  outline: 2px solid var(--brand);
  outline-offset: 2px;
  border-radius: 4px;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--brand); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-dark); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Layout helpers ---------- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section-alt { background: var(--surface); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head.wide { max-width: 860px; }
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.section-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--text);
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}
.section-sub { font-size: 1.05rem; color: var(--text-muted); line-height: 1.7; }

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

@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 56px 0; }
  .section-title { font-size: 1.7rem; }
}

@media (min-width: 768px) {
  .section-title { font-size: 2.5rem; }
}
@media (min-width: 1024px) {
  .section-title { font-size: 2.9rem; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: all .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--brand);
  box-shadow: 0 8px 20px -6px rgba(218, 110, 26, .35);
  color: #fff;
  border: none;
}
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-2px); box-shadow: 0 15px 30px -8px rgba(218, 110, 26, .5); }
.btn-outline {
  background: rgba(218, 110, 26, .06);
  border: 1px solid rgba(218, 110, 26, .2);
  color: var(--brand);
}
.btn-outline:hover { background: var(--brand); color: #fff; border-color: transparent; transform: translateY(-2px); }
.btn-light {
  background: #fff;
  color: var(--brand-dark);
  border: none;
}
.btn-light:hover { background: var(--brand-soft); }
.btn-ghost-light {
  background: rgba(255, 255, 255, .15);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .4);
}
.btn-ghost-light:hover { background: rgba(255, 255, 255, .25); }
.btn-block { width: 100%; }

/* ---------- Cards ---------- */
.card {
  background: var(--surface);
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-card);
  transition: all .35s cubic-bezier(.2, .9, .4, 1.1);
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); border-color: rgba(218, 110, 26, .18); }

.feature-icon {
  width: 56px; height: 56px;
  border-radius: 18px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft);
  flex-shrink: 0;
}

/* ---------- Skip link ---------- */
.skip-link {
  position: absolute; top: -40px; left: 0;
  background: var(--brand); color: #fff;
  padding: 8px 16px; z-index: 100;
  border-radius: 0 0 8px 0; font-weight: 600;
}
.skip-link:focus { top: 0; }

/* ---------- Navbar ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .2s ease;
}
.nav.scrolled { box-shadow: 0 4px 16px -4px rgba(0,0,0,.08); }
.nav-inner {
  max-width: 1280px; margin: 0 auto; padding: 0 20px;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.brand-mark { display: flex; align-items: center; gap: 10px; }
.brand-logo { display: block; height: 54px; width: auto; max-width: none; }
.logo-accent { fill: var(--brand); }
.brand-word { display: flex; flex-direction: column; line-height: 1.05; }
.brand-word .flamix { font-size: 1.3rem; font-weight: 800; letter-spacing: -0.01em; color: var(--text); }
.brand-word .flamix span { color: var(--brand); }
.brand-word .tagline { font-size: .58rem; font-weight: 600; letter-spacing: .16em; color: var(--text-soft); text-transform: uppercase; }

.nav-links { display: none; align-items: center; gap: 22px; }
.nav-links a { font-size: .9rem; font-weight: 500; color: var(--text-muted); transition: color .2s; }
.nav-links a:hover { color: var(--brand); }

.nav-actions { display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 36px; height: 36px; border-radius: 999px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-tint); border: 1px solid var(--border); color: var(--text-muted);
  transition: all .2s;
}
.icon-btn:hover { background: var(--brand); color: #fff; }
.icon-btn svg { width: 18px; height: 18px; }

.lang-select { position: relative; }
.nav-actions .lang-select { display: none; }
.lang-select-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 8px 12px; border-radius: 999px;
  background: var(--brand-tint); border: 1px solid var(--border);
  font-size: .82rem; font-weight: 600; color: var(--text);
  transition: all .2s;
}
.lang-select-btn:hover { border-color: var(--brand); color: var(--brand); }
.lang-select .lang-caret { transition: transform .2s; }
.lang-select.open .lang-select-btn .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 70;
  background: var(--surface); border: 1px solid var(--border); border-radius: 14px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,.2);
  padding: 6px; min-width: 160px;
  display: none;
}
.lang-select.open .lang-menu { display: block; }
.lang-menu li button {
  display: block; width: 100%; text-align: left;
  padding: 10px 12px; border-radius: 8px;
  font-size: .88rem; font-weight: 500; color: var(--text-muted);
}
.lang-menu li button:hover { background: var(--brand-tint); color: var(--text); }
.lang-menu li[aria-selected="true"] button { color: var(--brand); font-weight: 700; }
.mobile-menu-footer .lang-select { flex-shrink: 0; }

.nav-cta { display: none; }
.menu-toggle { display: flex; flex-direction: column; gap: 5px; padding: 8px; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--text); transition: all .25s; }
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  background: var(--surface);
  border-top: 1px solid var(--border);
  box-shadow: 0 20px 30px -10px rgba(0,0,0,.15);
}
.mobile-menu.open { display: block; }
.mobile-menu-inner { max-width: 1280px; margin: 0 auto; padding: 20px; display: flex; flex-direction: column; gap: 4px; }
.mobile-menu a {
  font-size: 1rem; font-weight: 500; color: var(--text);
  padding: 12px 4px; border-bottom: 1px solid var(--border-soft);
}
.mobile-menu-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; gap: 12px; }

@media (min-width: 1200px) {
  .nav-links { display: flex; }
  .nav-actions .lang-select { display: block; }
  .nav-cta { display: inline-flex; }
  .menu-toggle, .mobile-menu { display: none !important; }
}

/* ---------- Hero ---------- */
.hero {
  padding: 128px 0 72px;
  position: relative;
  overflow: hidden;
  background: var(--brand-tint);
  border-bottom: 1px solid var(--border);
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 16px; border-radius: 999px;
  background: var(--brand-soft); border: 1px solid rgba(218,110,26,.15);
  color: var(--brand); font-weight: 600; font-size: .82rem; margin-bottom: 24px;
}
.hero-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--brand); }
.hero-title { font-size: 2.2rem; font-weight: 800; line-height: 1.14; letter-spacing: -0.02em; color: var(--text); margin-bottom: 22px; }
.hero-title span { display: block; }
.hero-title .accent { color: var(--brand); }
.hero-sub { font-size: 1.05rem; color: var(--text-muted); max-width: 560px; margin-bottom: 30px; line-height: 1.7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 36px; }
.hero-proof { display: flex; flex-wrap: wrap; gap: 22px; }
.hero-proof-item { display: flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 500; color: var(--text); }
.hero-proof-item .tick {
  width: 28px; height: 28px; border-radius: 999px; background: var(--brand-soft);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* ---------- Centered hero (home) ---------- */
.hero-centered { text-align: center; }
.hero-center-inner { position: relative; z-index: 1; max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; }
.hero-centered .hero-sub { margin-left: auto; margin-right: auto; }
.hero-centered .hero-actions { justify-content: center; }
.hero-centered .hero-proof { justify-content: center; }
.btn-lg { padding: 16px 32px; font-size: 1rem; }

/* ---------- Photo hero (home) ---------- */
.hero-photo { padding: 148px 0 110px; }
.hero-photo-bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero-photo-bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 32%; }
.hero-photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(15,10,6,.78) 0%, rgba(20,13,8,.58) 45%, rgba(10,7,4,.9) 100%);
}
.hero-photo .hero-badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.28); color: #fff; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.hero-photo .hero-badge .hero-dot { background: var(--brand-light); }
.hero-photo .hero-title { color: #fff; }
.hero-photo .hero-title .accent { color: var(--brand-light); }
.hero-photo .hero-sub { color: rgba(255,255,255,.85); }
.hero-photo .hero-proof-item { color: #fff; }
.hero-photo .hero-proof-item .tick { background: rgba(255,255,255,.16); }
.hero-photo .hero-proof-item .tick svg { stroke: #fff; }

.btn-outline-light {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.4); color: #fff;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); transition: all .25s ease;
}
.btn-outline-light:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* Hero entrance choreography */
.hero-in { opacity: 0; transform: translateY(22px); animation: heroIn .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: var(--in-delay, 0s); }
@keyframes heroIn { to { opacity: 1; transform: translateY(0); } }

/* Scroll cue */
.scroll-cue {
  position: absolute; left: 50%; bottom: 28px; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: rgba(255,255,255,.8); z-index: 1; opacity: 0;
  animation: heroIn .8s cubic-bezier(.2,.8,.2,1) forwards; animation-delay: .7s;
}
.scroll-cue span { width: 1px; height: 30px; background: rgba(255,255,255,.4); overflow: hidden; position: relative; }
.scroll-cue span::after {
  content: ''; position: absolute; left: 0; top: -100%; width: 100%; height: 100%;
  background: #fff; animation: scrollCueDrip 1.8s ease-in-out infinite;
}
@keyframes scrollCueDrip { 0% { top: -100%; } 60%, 100% { top: 100%; } }
.scroll-cue svg { width: 16px; height: 16px; }
@media (prefers-reduced-motion: reduce) {
  .hero-in { animation: none; opacity: 1; transform: none; }
  .scroll-cue { animation: none; opacity: .8; }
  .scroll-cue span::after { animation: none; top: 40%; }
}

/* ---------- Fine-grain texture (adds tactile depth without color) ---------- */
body::before {
  content: ''; position: fixed; inset: 0; z-index: 300; pointer-events: none;
  opacity: .025; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

@media (min-width: 1024px) {
  .hero { padding-top: 148px; padding-bottom: 96px; }
  .hero-title { font-size: 3.6rem; }
  .hero-sub { font-size: 1.15rem; max-width: 640px; }
  .hero-photo { padding-top: 168px; padding-bottom: 140px; }
  .hero-photo .hero-title { font-size: 4.2rem; letter-spacing: -0.03em; }
}

/* ---------- Trust strip ---------- */
.trust-strip { padding: 44px 0; background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.trust-item { display: flex; align-items: center; gap: 12px; }
.trust-item .feature-icon { width: 48px; height: 48px; border-radius: 14px; }
.trust-item .feature-icon svg { width: 22px; height: 22px; }
.trust-item span { font-size: .92rem; font-weight: 600; color: var(--text); line-height: 1.3; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 44px; align-items: center; }
.about-media { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.about-media .col { display: flex; flex-direction: column; gap: 16px; }
.about-media .col:last-child { padding-top: 40px; }
.about-media figure { border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-card); margin: 0; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.about-media .tall { aspect-ratio: 4/5; }
.about-media .square { aspect-ratio: 1/1; }

.feat-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 36px 0; }
.feat-item { display: flex; align-items: center; gap: 12px; }
.feat-item .tick {
  width: 26px; height: 26px; border-radius: 999px; background: var(--brand);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.feat-item span:last-child { font-size: .92rem; font-weight: 500; color: var(--text); }

.checklist { max-width: 780px; margin: 0 auto; }
.checklist li { display: flex; align-items: center; gap: 12px; padding: 14px 6px; border-bottom: 1px solid var(--border-soft); }
.checklist li .tick { width: 24px; height: 24px; border-radius: 999px; background: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.checklist li span:last-child { font-size: .92rem; color: var(--text); }

@media (min-width: 1024px) {
  .about-grid { grid-template-columns: 1fr 1fr; }
  .about-grid .about-content { order: 2; }
}

/* ---------- Team ---------- */
.team-card { padding: 32px 28px; text-align: left; }
.team-avatar {
  width: 60px; height: 60px; border-radius: 18px; margin-bottom: 20px;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand);
  color: #fff;
}
.team-avatar svg { width: 26px; height: 26px; }
.team-role { font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.team-desc { font-size: .92rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Process ---------- */
.process-item { padding: 28px; position: relative; overflow: hidden; }
.process-num-bg {
  position: absolute; top: -14px; right: -6px;
  font-size: 5.5rem; font-weight: 800; line-height: 1;
  color: var(--brand); opacity: .07; pointer-events: none; user-select: none;
}
.process-num {
  width: 42px; height: 42px; border-radius: 12px; background: var(--brand); color: #fff;
  display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.05rem;
  margin-bottom: 18px; box-shadow: 0 8px 20px -6px rgba(218,110,26,.35);
}
.process-title { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 8px; position: relative; }
.process-desc { font-size: .9rem; color: var(--text-muted); line-height: 1.6; position: relative; margin-bottom: 12px; }
.process-time {
  display: inline-block; position: relative; font-size: .74rem; font-weight: 700;
  color: var(--brand); background: var(--brand-soft); padding: 4px 11px; border-radius: 999px; margin-bottom: 12px;
}
.process-detail { font-size: .84rem; color: var(--text-soft); line-height: 1.6; position: relative; padding-top: 12px; border-top: 1px solid var(--border-soft); }

/* ---------- Sourcing categories ---------- */
.cat-card { padding: 28px; text-align: left; }
.cat-card .feature-icon { margin-bottom: 16px; }
.cat-card .feature-icon svg { width: 26px; height: 26px; }
.cat-card h3 { font-size: 1.02rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.cat-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.6; }

/* ---------- Catalogue ---------- */
.filter-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 40px; }
.filter-chip {
  padding: 9px 18px; border-radius: 999px; font-size: .87rem; font-weight: 600;
  border: 1px solid var(--border); background: var(--surface); color: var(--text-muted);
  transition: all .2s;
}
.filter-chip:hover { border-color: var(--brand); color: var(--brand); }
.filter-chip[aria-selected="true"] { background: var(--brand); border-color: var(--brand); color: #fff; }

.product-card { overflow: hidden; display: flex; flex-direction: column; }
.product-card.is-hidden { display: none; }
.product-thumb {
  height: 150px; display: flex; align-items: center; justify-content: center; position: relative;
  background: var(--brand);
  color: #fff;
}
.product-thumb.g2 { background: #8a4b1f; }
.product-thumb.g3 { background: #b45309; }
.product-thumb.g4 { background: #c2410c; }
.product-thumb.g5 { background: #7c2d12; }
.product-thumb.g6 { background: #a16207; }
.product-thumb svg { width: 34px; height: 34px; }
.product-thumb .badge {
  position: absolute; top: 12px; left: 12px; font-size: .62rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; color: #fff;
  background: rgba(0,0,0,.22); backdrop-filter: blur(2px);
  padding: 4px 10px; border-radius: 999px;
}
.product-body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.product-body h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.product-body .blurb { font-size: .87rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.product-meta { display: flex; align-items: center; justify-content: space-between; font-size: .76rem; color: var(--text-soft); font-weight: 500; margin-bottom: 16px; }
.product-meta .price { color: var(--brand); font-weight: 700; font-size: .92rem; }
.catalogue-note { text-align: center; font-size: .8rem; color: var(--text-soft); max-width: 640px; margin: 40px auto 0; }

/* ---------- Routes / coverage ---------- */
.route-card { padding: 24px; display: flex; align-items: center; gap: 18px; }
.route-mode-icon {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand);
}
.route-mode-icon svg { width: 22px; height: 22px; }
.route-path { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--text); font-size: .98rem; }
.route-path .arrow { color: var(--text-soft); font-weight: 400; }
.route-meta { font-size: .82rem; color: var(--text-muted); margin-top: 4px; }
.route-time { font-weight: 700; color: var(--brand); }
.routes-onward {
  margin-top: 32px; padding: 22px 26px; border-radius: 22px;
  background: var(--brand-soft); border: 1px solid rgba(218,110,26,.15);
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px; justify-content: space-between;
}
.routes-onward .label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--brand); }
.routes-onward .cities { font-size: .92rem; font-weight: 600; color: var(--text); }

/* ---------- Logistics ---------- */
.logistics-grid { display: grid; gap: 24px; }
.calc-card { padding: 34px; }
.calc-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--text); margin-bottom: 24px; }
.calc-mode-static {
  padding: 12px 16px; border-radius: 12px; font-size: .9rem; font-weight: 600;
  background: var(--brand); color: #fff; text-align: center; margin-bottom: 20px;
}
.field-label { display: block; font-size: .87rem; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.field-input, .field-select, .field-textarea {
  width: 100%; padding: 13px 16px; border-radius: 12px;
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  transition: border-color .2s, box-shadow .2s;
}
.field-input::placeholder, .field-textarea::placeholder { color: var(--text-soft); }
.field-input:focus, .field-select:focus, .field-textarea:focus {
  border-color: var(--brand); box-shadow: 0 0 0 3px rgba(218,110,26,.15); outline: none;
}
.field-hint { font-size: .78rem; color: var(--text-soft); margin-top: 8px; }
.field-group { margin-bottom: 20px; }
.calc-result {
  margin-top: 24px; padding: 20px; border-radius: 18px;
  background: var(--brand-soft); border: 1px solid rgba(218,110,26,.15); display: none;
}
.calc-result.visible { display: block; }
.calc-result .label { font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .07em; color: var(--brand); margin-bottom: 4px; }
.calc-result .value { font-size: 1.7rem; font-weight: 800; color: var(--text); }
.calc-result .note { font-size: .78rem; color: var(--text-muted); margin-top: 8px; }

.rate-card { padding: 34px; background: #211712; color: #fff; border-color: #2c1810; }
.rate-card h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.rate-row { display: flex; align-items: center; justify-content: space-between; padding: 16px; border-radius: 14px; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); margin-bottom: 28px; }
.rate-row .name { display: flex; align-items: center; gap: 12px; font-weight: 600; }
.rate-row .rate-icon { width: 20px; height: 20px; color: var(--brand-light); }
.rate-row .amount { font-weight: 700; color: var(--brand-light); }

@media (min-width: 1024px) { .logistics-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Education ---------- */
.edu-media { position: relative; }
.edu-media-frame { border-radius: 32px; overflow: hidden; box-shadow: var(--shadow-card-hover); border: 1px solid var(--border); aspect-ratio: 4/5; }
.edu-media-frame img { width: 100%; height: 100%; object-fit: cover; }
.edu-badge {
  position: absolute; top: -20px; right: -12px; background: var(--surface); border-radius: 18px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,.2); padding: 18px; border: 1px solid var(--border); max-width: 220px;
}
.edu-badge .num { font-size: 1.7rem; font-weight: 800; color: var(--brand); }
.edu-badge .label { font-size: .87rem; font-weight: 600; color: var(--text); }

@media (min-width: 1024px) {
  .edu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
  .edu-content { order: 1; }
  .edu-media { order: 2; }
}

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr); }
.gallery-item { position: relative; border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 1/1; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-cap {
  position: absolute; inset: auto 0 0 0; padding: 14px 16px 12px;
  background: linear-gradient(to top, rgba(0,0,0,.72), transparent);
  color: #fff; font-size: .8rem; font-weight: 600; line-height: 1.4;
}
.gallery-item.wide { grid-column: span 2; aspect-ratio: 16/9; }
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
  .gallery-item.wide { grid-column: span 2; }
}

/* ---------- Partners marquee ---------- */
.marquee-wrap { overflow: hidden; -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent); }
.marquee-row { display: flex; }
.marquee-track { display: flex; flex-shrink: 0; align-items: center; gap: 14px; padding-right: 14px; animation: marquee-scroll 36s linear infinite; }
.marquee-track.reverse { animation-direction: reverse; }
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.uni-pill { white-space: nowrap; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); padding: 11px 20px; font-size: .87rem; font-weight: 600; color: var(--text); }
@keyframes marquee-scroll { from { transform: translateX(0); } to { transform: translateX(-100%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } }

/* ---------- Stats ---------- */
.stats-section {
  padding: 76px 0; position: relative; overflow: hidden; color: #fff;
  background: #211712;
}
.stats-section .section-head .eyebrow { color: var(--brand-light); }
.stats-section .section-title { color: #fff; }
.stat-block { text-align: center; position: relative; }
.stat-number { font-size: 2.4rem; font-weight: 800; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.stat-label { font-size: .92rem; color: rgba(255,255,255,.7); font-weight: 500; }
@media (min-width: 768px) { .stat-number { font-size: 3rem; } }

/* ---------- Testimonials ---------- */
.testimonial-card { padding: 32px; display: flex; flex-direction: column; }
.testimonial-card svg.quote { width: 26px; height: 26px; color: var(--brand); margin-bottom: 16px; }
.stars { display: flex; gap: 3px; margin-bottom: 16px; }
.stars svg { width: 15px; height: 15px; color: var(--brand-light); }
.testimonial-text { font-size: .95rem; color: var(--text); line-height: 1.7; margin-bottom: 24px; flex: 1; }
.testimonial-person { display: flex; align-items: center; gap: 12px; padding-top: 16px; border-top: 1px solid var(--border-soft); }
.testimonial-avatar {
  width: 42px; height: 42px; border-radius: 999px; flex-shrink: 0;
  background: var(--brand);
  display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700;
}
.testimonial-name { font-size: .87rem; font-weight: 700; color: var(--text); }

/* ---------- Insights ---------- */
.insight-card { padding: 28px; display: flex; flex-direction: column; }
.insight-num { font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.insight-card h3 { font-size: 1.08rem; font-weight: 700; color: var(--text); margin-bottom: 10px; line-height: 1.35; }
.insight-card p { font-size: .88rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.insight-link { font-size: .86rem; font-weight: 700; color: var(--brand); display: inline-flex; align-items: center; gap: 6px; }
.insight-link svg { width: 15px; height: 15px; transition: transform .2s; }
.insight-link:hover svg { transform: translateX(3px); }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 14px; max-width: 780px; margin: 0 auto; }
.faq-item { border-radius: 20px; border: 1px solid var(--border-soft); background: var(--surface); overflow: hidden; }
.faq-question {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 24px; text-align: left; transition: background .2s;
}
.faq-question:hover { background: var(--brand-tint); }
.faq-question span { font-size: 1rem; font-weight: 600; color: var(--text); }
.faq-icon { flex-shrink: 0; width: 20px; height: 20px; color: var(--text-soft); transition: transform .25s; }
.faq-item[data-open="true"] .faq-icon { transform: rotate(180deg); color: var(--brand); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item[data-open="true"] .faq-answer { max-height: 400px; }
.faq-answer p { padding: 0 24px 20px; font-size: .92rem; color: var(--text-muted); line-height: 1.7; }

/* ---------- Quote form / Contact form fields shared ---------- */
.form-card { padding: 36px; max-width: 640px; margin: 0 auto; }
.form-note { font-size: .78rem; color: var(--text-soft); text-align: center; margin-top: 16px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 24px; }
.contact-methods { display: grid; gap: 16px; grid-template-columns: 1fr; }
.contact-method { padding: 22px; display: flex; align-items: center; gap: 16px; }
.contact-method .icon-circle {
  width: 48px; height: 48px; border-radius: 14px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.contact-method .icon-circle svg { width: 22px; height: 22px; }
.contact-method .icon-circle.wa { background: rgba(37,211,102,.1); color: #25D366; }
.contact-method .icon-circle.ig { background: #c13584; color: #fff; }
.contact-method .label { font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--text-soft); margin-bottom: 4px; }
.contact-method .value { font-size: .92rem; font-weight: 600; color: var(--text); }
.contact-method .value a { display: block; }
.contact-method .value a:hover { color: var(--brand); }

.qr-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qr-card { padding: 20px; text-align: center; }
.qr-card .label { font-size: .74rem; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--brand); margin-bottom: 12px; }
.qr-card img { width: 130px; height: 130px; margin: 0 auto; border-radius: 10px; background: #fff; padding: 8px; }
.qr-svg-wrap { width: 130px; height: 130px; margin: 0 auto; border-radius: 10px; background: #fff; padding: 8px; display: flex; align-items: center; justify-content: center; }
.qr-svg-wrap svg { width: 100%; height: 100%; }
.qr-card .hint { font-size: .74rem; color: var(--text-muted); margin-top: 10px; font-weight: 500; }

@media (min-width: 640px) { .contact-methods { grid-template-columns: 1fr 1fr; } .contact-method.wide { grid-column: span 2; } }
@media (min-width: 1024px) { .contact-grid { grid-template-columns: 3fr 2fr; } }

/* ---------- Agent / partner ---------- */
.agent-card { padding: 40px; }
.agent-feats { display: grid; gap: 14px; margin: 26px 0 30px; }
.agent-feat { display: flex; align-items: flex-start; gap: 12px; }
.agent-feat .tick { width: 24px; height: 24px; border-radius: 999px; background: var(--brand); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px; }
.agent-feat span:last-child { font-size: .92rem; color: var(--text); line-height: 1.5; }
@media (min-width: 768px) { .agent-feats { grid-template-columns: 1fr 1fr; } }

/* ---------- CTA banner ---------- */
.cta-banner {
  padding: 64px 0; position: relative; overflow: hidden; text-align: center;
  background: var(--brand);
}
.cta-banner .inner { position: relative; max-width: 720px; margin: 0 auto; }
.cta-banner h2 { font-size: 1.8rem; font-weight: 800; color: #fff; margin-bottom: 14px; }
.cta-banner p { font-size: 1.02rem; color: rgba(255,255,255,.92); margin-bottom: 30px; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
@media (min-width: 768px) { .cta-banner h2 { font-size: 2.4rem; } }

/* ---------- Footer ---------- */
.footer { background: #14100d; color: #d1d5db; padding: 64px 0 32px; }
.footer-grid { display: grid; gap: 40px; margin-bottom: 48px; }
.footer-brand .brand-mark { margin-bottom: 16px; }
.footer-brand .brand-logo { height: 54px; background: #fff; border-radius: 14px; padding: 9px 14px; box-sizing: content-box; }
.footer-brand .brand-word .flamix { color: #fff; }
.footer-tagline { font-size: .88rem; color: #9ca3af; line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.social-btn {
  width: 38px; height: 38px; border-radius: 999px; display: flex; align-items: center; justify-content: center;
  background: rgba(255,255,255,.06); color: #fff; transition: background .2s;
}
.social-btn svg { width: 17px; height: 17px; }
.social-btn:hover { background: var(--brand); }
.footer-col h4 { font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: #fff; margin-bottom: 16px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; font-size: .88rem; }
.footer-col a, .footer-col button { color: #9ca3af; text-align: left; transition: color .2s; }
.footer-col a:hover, .footer-col button:hover { color: var(--brand); }
.footer-bottom { padding-top: 28px; border-top: 1px solid rgba(255,255,255,.08); display: flex; flex-direction: column; gap: 12px; align-items: center; text-align: center; }
.footer-bottom p { font-size: .76rem; color: #6b7280; }
.footer-legal { display: flex; gap: 14px; font-size: .76rem; }
.footer-legal button { color: #6b7280; }
.footer-legal button:hover { color: var(--brand); }
.footer-legal .sep { color: #4b5563; }

@media (min-width: 640px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr 1fr; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; }
}

/* ---------- Legal modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; background: rgba(0,0,0,.7); z-index: 200;
  display: none; align-items: center; justify-content: center; padding: 24px; backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal-box { background: var(--surface); color: var(--text); border-radius: 24px; max-width: 640px; width: 100%; max-height: 85vh; overflow-y: auto; padding: 40px; position: relative; }
.modal-box h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 16px; }
.modal-box h3 { font-size: 1rem; font-weight: 700; margin: 20px 0 8px; }
.modal-box p { font-size: .88rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 8px; }
.modal-close {
  position: absolute; top: 16px; right: 16px; background: var(--brand-tint); border-radius: 999px;
  width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 20px; color: var(--text-muted);
}
.modal-close:hover { background: var(--brand); color: #fff; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: var(--brand);
  z-index: 60; transition: width .1s linear;
}

/* ---------- WhatsApp greeting bubble ---------- */
.wa-bubble {
  position: fixed; bottom: 96px; right: 24px; z-index: 49;
  max-width: 250px; background: var(--surface); border-radius: 16px;
  box-shadow: 0 20px 30px -10px rgba(0,0,0,.2); border: 1px solid var(--border);
  padding: 14px 32px 14px 16px; font-size: .82rem; line-height: 1.5; color: var(--text);
  opacity: 0; transform: translateY(10px) scale(.96); pointer-events: none;
  transition: opacity .3s ease, transform .3s ease;
}
.wa-bubble.visible { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.wa-bubble strong { color: var(--brand); }
.wa-bubble-close {
  position: absolute; top: 8px; right: 8px; width: 22px; height: 22px;
  border-radius: 999px; display: flex; align-items: center; justify-content: center;
  color: var(--text-soft); font-size: 16px; line-height: 1;
}
.wa-bubble-close:hover { background: var(--brand-tint); color: var(--text); }
@media (max-width: 480px) { .wa-bubble { right: 16px; left: 16px; max-width: none; bottom: 88px; } }

/* ---------- Floating buttons ---------- */
.floating-wa {
  position: fixed; bottom: 24px; right: 24px; z-index: 50;
  background: #25D366; color: #fff; padding: 15px; border-radius: 999px;
  box-shadow: 0 10px 25px -5px rgba(37,211,102,.45); transition: transform .2s;
  display: flex; align-items: center; justify-content: center;
}
.floating-wa svg { width: 26px; height: 26px; }
.floating-wa:hover { transform: scale(1.08); }
.back-to-top {
  position: fixed; bottom: 24px; left: 24px; z-index: 50;
  background: var(--brand); color: #fff; padding: 13px; border-radius: 999px;
  box-shadow: 0 6px 16px -4px rgba(218,110,26,.45); transition: opacity .3s, transform .2s;
  display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none;
}
.back-to-top svg { width: 20px; height: 20px; }
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-2px); }

/* ---------- Reveal (progressive enhancement; JS adds .reveal-ready) ---------- */
.reveal { transition: opacity .7s cubic-bezier(.2,.9,.4,1.1), transform .7s ease; }
.reveal-ready.reveal { opacity: 0; }
.reveal-ready.reveal.up { transform: translateY(28px); }
.reveal-ready.reveal.left { transform: translateX(-28px); }
.reveal-ready.reveal.right { transform: translateX(28px); }
.reveal-ready.reveal.in-view { opacity: 1; transform: translate(0,0); }

/* ---------- Page header (inner pages) ---------- */
.page-header {
  padding: 128px 0 64px;
  position: relative;
  overflow: hidden;
  background: var(--brand-tint);
  border-bottom: 1px solid var(--border);
}
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .82rem; color: var(--text-soft); margin-bottom: 20px; flex-wrap: wrap; }
.breadcrumb a { color: var(--text-muted); font-weight: 500; }
.breadcrumb a:hover { color: var(--brand); }
.breadcrumb .sep { opacity: .6; }
.breadcrumb .current { color: var(--text); font-weight: 600; }
.page-header .eyebrow { margin-bottom: 14px; }
.page-header h1.section-title { margin-bottom: 16px; max-width: 780px; }
.page-header .section-sub { max-width: 640px; margin: 0; }
@media (min-width: 1024px) { .page-header { padding: 152px 0 76px; } }

/* ---------- Nav active state ---------- */
.nav-links a.active, .mobile-menu a.active { color: var(--brand); font-weight: 700; }

/* ---------- Cross-link / explore cards ---------- */
.explore-links { display: grid; gap: 20px; }
.explore-card {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 26px 28px; text-align: left;
}
.explore-card .txt h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.explore-card .txt p { font-size: .88rem; color: var(--text-muted); line-height: 1.5; }
.explore-card .arrow {
  width: 40px; height: 40px; border-radius: 999px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--brand-soft); color: var(--brand); transition: all .25s;
}
.explore-card:hover .arrow { background: var(--brand); color: #fff; transform: translateX(4px); }
@media (min-width: 768px) { .explore-links { grid-template-columns: repeat(3, 1fr); } .explore-card { flex-direction: column; align-items: flex-start; text-align: left; } .explore-card .arrow { align-self: flex-end; margin-top: 12px; } }

/* ---------- Home teaser rows (condensed sections linking to detail pages) ---------- */
.teaser-row { display: grid; gap: 44px; align-items: center; }
.teaser-media { border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-card); aspect-ratio: 4/3; }
.teaser-media img { width: 100%; height: 100%; object-fit: cover; }
.teaser-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--brand); margin-top: 8px; }
.teaser-link svg { width: 16px; height: 16px; transition: transform .2s; }
.teaser-link:hover svg { transform: translateX(3px); }
.mini-cat-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 20px 0 28px; }
.mini-cat-pill {
  display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--border); font-size: .82rem; font-weight: 600; color: var(--text-muted);
}
@media (min-width: 1024px) { .teaser-row.reverse { direction: rtl; } .teaser-row.reverse > * { direction: ltr; } }

/* ---------- Comparison table ---------- */
.compare { max-width: 940px; margin: 0 auto; border: 1px solid var(--border); border-radius: 24px; overflow: hidden; background: var(--surface); }
.compare-head, .compare-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; align-items: center; }
.compare-head { background: var(--bg); border-bottom: 1px solid var(--border); }
.compare-head span { padding: 16px 12px; font-size: .74rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--text-muted); text-align: center; line-height: 1.3; }
.compare-col-us { background: var(--brand); color: #fff !important; }
.compare-row { border-top: 1px solid var(--border-soft); }
.compare-row:first-of-type { border-top: none; }
.compare-feat { padding: 16px; font-size: .9rem; font-weight: 600; color: var(--text); }
.compare-cell { padding: 16px 12px; display: flex; align-items: center; justify-content: center; }
.compare-cell-us { background: var(--brand-soft); }
.cmp-yes { width: 20px; height: 20px; color: var(--brand); }
.cmp-no { width: 18px; height: 18px; color: var(--text-soft); }
@media (max-width: 720px) {
  .compare-head span:not(.compare-col-us), .compare-cell:not(.compare-cell-us) { display: none; }
  .compare-head, .compare-row { grid-template-columns: 1fr auto; }
  .compare-head span { text-align: left; }
  .compare-head span.compare-col-us { grid-column: 2; padding: 12px 16px; }
  .compare-cell-us { border-radius: 0; }
}

/* ---------- Mid-page CTA strip ---------- */
.cta-strip { background: #211712; padding: 48px 0; }
.cta-strip-inner { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-strip h2 { font-size: 1.6rem; font-weight: 800; color: #fff; margin-bottom: 6px; letter-spacing: -0.01em; }
.cta-strip p { color: rgba(255,255,255,.72); font-size: .98rem; }
.cta-strip .btn { flex-shrink: 0; }
@media (max-width: 640px) { .cta-strip h2 { font-size: 1.35rem; } }

/* ---------- Payment protection cards ---------- */
.protect-card { padding: 30px 26px; }
.protect-num { display: inline-block; font-size: 1.5rem; font-weight: 800; color: var(--brand); letter-spacing: -0.02em; margin-bottom: 14px; font-variant-numeric: tabular-nums; }
.protect-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--text); margin-bottom: 10px; }
.protect-card p { font-size: .9rem; color: var(--text-muted); line-height: 1.6; }

/* utility */
.text-center { text-align: center; }
.mt-lg { margin-top: 40px; }

/* ---------- Dark theme (opt-in via the nav toggle; light is the default) ---------- */
[data-theme="dark"] {
  color-scheme: dark;
  --bg: #14100d;
  --surface: #1d1813;
  --text: #f1ebe4;
  --text-muted: #b5aa9e;
  --text-soft: #857b6f;
  --border: rgba(255, 255, 255, 0.09);
  --border-soft: rgba(255, 255, 255, 0.08);
  --brand-tint: #19140f;
  --brand-soft: rgba(218, 110, 26, 0.18);
  --shadow-card: 0 15px 35px -15px rgba(0, 0, 0, 0.6);
  --shadow-card-hover: 0 25px 40px -14px rgba(218, 110, 26, 0.22);
  --nav-bg: rgba(20, 16, 13, 0.92);
}
[data-theme="dark"] .btn-outline { background: rgba(218, 110, 26, .12); border-color: rgba(218, 110, 26, .35); color: var(--brand-light); }
[data-theme="dark"] .btn-outline:hover { color: #fff; }
[data-theme="dark"] .stats-section, [data-theme="dark"] .cta-strip, [data-theme="dark"] .rate-card { background: #0f0c09; }
[data-theme="dark"] .compare-cell-us { background: rgba(218, 110, 26, .12); }
[data-theme="dark"] .field-input:focus, [data-theme="dark"] .field-select:focus, [data-theme="dark"] .field-textarea:focus { box-shadow: 0 0 0 3px rgba(218,110,26,.25); }
[data-theme="dark"] .wa-bubble { box-shadow: 0 20px 30px -10px rgba(0,0,0,.7); }
[data-theme="dark"] ::-webkit-scrollbar-track { background: var(--bg); }

/* ---------- Theme toggle button ---------- */
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ---------- Hero: slow zoom on the photo, optional video layer ---------- */
.hero-photo-bg img { animation: heroKenBurns 26s ease-in-out infinite alternate; transform-origin: 60% 45%; }
@keyframes heroKenBurns { from { transform: scale(1); } to { transform: scale(1.09); } }
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  opacity: 0; transition: opacity 1s ease;
}
.hero-video.is-ready { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  .hero-photo-bg img { animation: none; }
  .hero-video { display: none; }
}

/* Logo: in dark mode the dark-brown artwork sits on a light plate so it stays legible */
[data-theme="dark"] .nav .brand-logo { background: #fff; border-radius: 10px; padding: 5px 10px; box-sizing: content-box; height: 44px; }
@media (max-width: 480px) {
  .brand-logo { height: 38px; }
  [data-theme="dark"] .nav .brand-logo { height: 32px; }
}
