/* ============================================================
   Konita Industries — Global Stylesheet (Dark Redesign)
   ============================================================ */

html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

html {
  font-family: 'Playfair Display', Georgia, serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
html::-webkit-scrollbar { display: none; }
body::-webkit-scrollbar { display: none; }

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,700;0,800;1,700;1,800&family=Inter:wght@300;400;500;600;700&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --bg:              #0d0d0d;
  --bg-card:         #161616;
  --bg-card-hover:   #1a1a1a;
  --bg-elevated:     #1e1e1e;
  --border:          rgba(255,255,255,0.07);
  --border-hover:    rgba(0,70,168,0.35);
  --text-primary:    #ffffff;
  --text-secondary:  rgba(255,255,255,0.6);
  --text-muted:      rgba(255,255,255,0.35);
  --text-light:      #ffffff;
  --accent:          #0046a8;
  --accent-hover:    #3d7ef5;
  --accent-bg:       rgba(0,70,168,0.08);
  --accent-border:   rgba(0,70,168,0.2);
  --green:           #4ade80;
  --footer-bg:       #0a0a0a;
  --nav-bg:          rgba(13,13,13,0.8);

  /* Legacy aliases — HTML inline styles reference these */
  --bg-primary:      #0d0d0d;
  --bg-secondary:    #111111;
  --bg-tertiary:     #161616;
  --bg-dark:         #0a0a0a;
  --card-bg:         #161616;
  --color-bg-primary:   #0d0d0d;
  --color-bg-secondary: #111111;
  --color-card:         #161616;
  --color-divider:      rgba(255,255,255,0.07);
  --color-gold:         #0046a8;
  --color-gold-light:   #7ab0ff;
  --color-gold-dark:    #3d7ef5;
  --color-blue:         #0046a8;
  --color-blue-light:   #7ab0ff;
  --color-off-white:    rgba(255,255,255,0.06);
  --color-white:        #ffffff;
  --color-text-muted:   rgba(255,255,255,0.35);
  --color-text-body:    rgba(255,255,255,0.6);
  --accent-secondary:   #7ab0ff;

  --font:         'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-display: 'Playfair Display', Georgia, serif;
  --max-w:        1320px;
  --sp-xs:        0.5rem;
  --sp-sm:        1rem;
  --sp-md:        2rem;
  --sp-lg:        4rem;
  --sp-xl:        6rem;
  --radius-sm:    8px;
  --radius-md:    12px;
  --radius-lg:    20px;
  --transition:   0.2s ease;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
* {
  -webkit-tap-highlight-color: transparent !important;
  -webkit-touch-callout: none;
}
html { scroll-behavior: smooth; font-size: 16px; }

a, button, input, select, textarea,
[role="button"], .btn, .nav a,
.mobile-nav a, #mobile-nav a,
.hamburger, .enquiry-type-btn,
.tab-btn, .card, .prod-card,
.buyer-card, .feat {
  -webkit-tap-highlight-color: transparent !important;
  outline: none;
}

body {
  padding-top: 58px;
  font-family: var(--font);
  background: var(--bg);
  background-image: radial-gradient(
    rgba(255,255,255,0.015) 1px,
    transparent 1px
  );
  background-size: 32px 32px;
  color: var(--text-secondary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* Scroll progress bar */
body::before { display: none; }

.scroll-progress {
  position: fixed;
  top: 58px;
  left: 0;
  width: 0%;
  height: 2px;
  background: #0046a8;
  z-index: 99999;
  transition: width 0.1s ease;
  pointer-events: none;
}

@media (max-width: 768px) {
  .scroll-progress {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body {
    padding-top: 58px;
  }
}

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; text-decoration: none; }
ul  { list-style: none; }
button { cursor: pointer; font-family: var(--font); border: none; background: none; }

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.8rem; }
h3 { font-size: 1.8rem; }
h4 { font-size: 1.1rem; font-family: var(--font); font-weight: 600; }
h5 { font-size: 0.95rem; font-family: var(--font); font-weight: 600; }

p { font-size: 1rem; color: var(--text-secondary); }

.lead { font-size: 1.15rem; color: var(--text-secondary); line-height: 1.8; }

.section-label {
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--sp-sm);
  display: block;
}

/* --- Layout --- */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 2.5rem; }

.section-dark  { background: var(--bg); }
.section-mid   { background: var(--bg-secondary); }
.section-light { background: var(--bg); }

section { padding: var(--sp-lg) 0; }

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  border-radius: 100px;
  font-family: var(--font);
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn-gold {
  background: var(--accent);
  color: #ffffff;
  border: 2px solid var(--accent);
}
.btn-gold:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0,70,168,0.35);
}

.btn-outline-gold {
  background: transparent;
  color: var(--accent);
  border: 1.5px solid var(--accent-border);
}
.btn-outline-gold:hover {
  background: var(--accent-bg);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.2);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.4);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-dark {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1.5px solid var(--border);
}
.btn-dark:hover {
  border-color: var(--accent-border);
  color: var(--accent);
  background: var(--accent-bg);
}

.btn-group { display: flex; gap: 1rem; flex-wrap: wrap; align-items: center; }

/* ============================================================
   NAVIGATION
   ============================================================ */
nav, header, .nav, .navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1000;
}

.nav {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--transition);
}
.nav.scrolled { box-shadow: 0 4px 32px rgba(0,0,0,0.4); }

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  height: 58px;
  min-height: 58px;
  gap: 2rem;
}

.nav-logo { flex-shrink: 0; display: flex; flex-direction: column; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 0.1rem; margin-left: auto; }
.nav-links > li { position: relative; }

.nav-links a, .nav-links button {
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  padding: 0.45rem 0.8rem;
  border-radius: 100px;
  transition: color var(--transition), background var(--transition);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
}
.nav-links a:hover, .nav-links button:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}
.nav-links a.active { color: var(--text-primary); font-weight: 600; }

/* Dropdown */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1a1a1a;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  min-width: 220px;
  padding: 0.5rem;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: all var(--transition);
  box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}
.nav-dropdown.open { opacity: 1; pointer-events: auto; transform: translateY(0); }
.nav-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-family: var(--font);
  font-size: 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
}
.nav-dropdown a:hover { color: var(--accent); background: var(--accent-bg); }

.nav-cta { margin-left: 1rem; }

/* Hamburger */
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; margin-left: auto; background: none; border: none; }

/* Mobile nav */
.mobile-nav { display: none; background: #111111; border-top: 1px solid var(--border); padding: 1.5rem; }
.mobile-nav.open { display: block; }
.mobile-nav a { display: block; padding: 0.75rem 0; border-bottom: 1px solid var(--border); font-family: var(--font); font-size: 0.95rem; font-weight: 500; color: var(--text-secondary); transition: color var(--transition); }
.mobile-nav a:hover, .mobile-nav a:last-child { border-color: transparent; }
.mobile-nav a:hover { color: var(--accent); }
.mobile-nav-section { font-family: var(--font); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent); margin: 1rem 0 0.5rem; }
.mobile-nav .btn { width: 100%; justify-content: center; margin-top: 1rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--footer-bg); padding: var(--sp-lg) 0 var(--sp-md); border-top: 1px solid var(--border); overflow: hidden; width: 100%; max-width: none; }

.footer-grid { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 32px; align-items: start; margin-bottom: var(--sp-md); }

.footer-tagline { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.6; margin-top: 12px; }

.footer-col h5 { font-family: var(--font); font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 1rem; }
.footer-col ul li { margin-bottom: 0.6rem; }
.footer-col ul a { font-family: var(--font); font-size: 0.88rem; color: var(--text-muted); transition: color var(--transition); }
.footer-col ul a:hover { color: var(--text-primary); }

.footer-contact p { font-family: var(--font); font-size: 0.88rem; color: var(--text-muted); margin-bottom: 0.6rem; line-height: 1.5; }
.footer-contact strong { color: var(--text-secondary); font-weight: 500; }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; color: var(--text-muted);
  transition: all var(--transition);
}
.footer-social a:hover { border-color: var(--accent-border); color: var(--accent); background: var(--accent-bg); }

.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.75rem; }
.footer-bottom p { font-family: var(--font); font-size: 0.8rem; color: var(--text-muted); }
.footer-bottom-links { display: flex; gap: 1.5rem; }
.footer-bottom-links a { font-family: var(--font); font-size: 0.8rem; color: var(--text-muted); transition: color var(--transition); }
.footer-bottom-links a:hover { color: var(--text-primary); }

/* ============================================================
   HERO VARIANTS
   ============================================================ */
.hero, .home-hero {
  min-height: 480px;
  padding-top: 64px;
  padding-bottom: 64px;
  box-sizing: border-box;
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}

/* Dot-grid hero background */
.hero-bg {
  position: absolute;
  inset: 0;
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 20% 50%, rgba(0,70,168,0.06) 0%, transparent 60%),
              linear-gradient(180deg, transparent 60%, var(--bg) 100%);
}

.hero-content { position: relative; z-index: 2; padding: var(--sp-lg) 0; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}
.hero-eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 1px;
  background: var(--accent);
}

.hero h1, .home-hero h1 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 3.5rem;
  line-height: 1.08;
  letter-spacing: -0.025em;
  font-weight: 800;
  margin-bottom: 1.5rem;
  max-width: 820px;
  color: var(--text-primary);
  text-wrap: balance;
}
@media (max-width: 1024px) {
  .hero h1, .home-hero h1 { font-size: 2.8rem; }
}
@media (max-width: 768px) {
  .hero h1, .home-hero h1 { font-size: 2.2rem; }
}
@media (max-width: 480px) {
  .hero h1, .home-hero h1 { font-size: 1.8rem; }
}
.hero h1 em, .home-hero h1 em { font-style: italic; color: var(--accent); }
.hero p { font-family: var(--font); font-size: 1.1rem; color: var(--text-secondary); max-width: 560px; margin-bottom: 2.5rem; line-height: 1.8; }

.hero-sub { min-height: 55vh; }
.hero-sub .hero-content { padding: var(--sp-md) 0; }

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.marquee-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 0;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  max-width: none;
}
.marquee-track {
  display: inline-flex;
  animation: marqueeScroll 28s linear infinite;
  gap: 0;
}
.marquee-strip:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.85rem 2.5rem;
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
  border-right: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}
.marquee-item span { color: var(--accent); font-size: 0.6rem; }
@keyframes marqueeScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============================================================
   TRUST / METRIC STRIP
   ============================================================ */
.trust-strip {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
  width: 100%;
  max-width: none;
}
.trust-strip-inner { display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 1.5rem; }
.trust-item { text-align: center; flex: 1; min-width: 120px; }
.trust-item-value {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--text-primary);
  display: block;
  line-height: 1;
}
.trust-item-label { font-family: var(--font); font-size: 0.75rem; color: var(--text-muted); margin-top: 0.4rem; letter-spacing: 0.06em; }
.trust-strip-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header { text-align: center; max-width: 680px; margin: 0 auto var(--sp-md); }
.section-header.left { text-align: left; margin: 0 0 var(--sp-md); }
.section-header h2 { margin-bottom: 1rem; color: var(--text-primary); }
.section-header p  { color: var(--text-secondary); font-family: var(--font); font-size: 1rem; }

/* ============================================================
   CARDS — GENERIC
   ============================================================ */
.cards-grid { display: grid; gap: 1rem; }
.cards-grid-3 { grid-template-columns: repeat(3, 1fr); }
.cards-grid-4 { grid-template-columns: repeat(4, 1fr); }
.cards-grid-5 { grid-template-columns: repeat(5, 1fr); }
.cards-grid-6 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}
.card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}

.card-icon {
  width: 44px; height: 44px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  border: 1px solid var(--accent-border);
}

.card h4 { color: var(--text-primary); margin-bottom: 0.5rem; font-size: 1rem; }
.card p  { font-family: var(--font); font-size: 0.88rem; color: var(--text-secondary); line-height: 1.6; }

/* ============================================================
   TABLES
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-left: 3px solid var(--accent);
  border-radius: var(--radius-md);
}

.data-table { width: 100%; border-collapse: collapse; font-family: var(--font); font-size: 0.88rem; min-width: 480px; }
.data-table th, .data-table td { padding: 0.9rem 1.25rem; border-bottom: 1px solid var(--border); text-align: left; vertical-align: top; }
.data-table th { font-weight: 600; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; }

.table-dark .data-table th { background: #111111; color: var(--text-secondary); }
.table-dark .data-table td { color: var(--text-secondary); background: var(--bg-card); }
.table-dark .data-table tr:nth-child(even) td { background: #111111; }
.table-dark .data-table tr:hover td { background: var(--accent-bg); }

.table-light .data-table { border: 1px solid var(--border); overflow: hidden; }
.table-light .data-table th  { background: #111111; color: var(--text-secondary); }
.table-light .data-table td  { color: var(--text-secondary); background: var(--bg-card); }
.table-light .data-table tr:nth-child(even) td { background: #111111; }
.table-light .data-table tr:hover td { background: var(--accent-bg); }

.tick   { color: var(--green); font-weight: 700; }
.cross  { color: rgba(255,80,80,0.8); }
.check-gold { color: var(--accent); }

/* ============================================================
   PERFORMANCE PROOF GRID
   ============================================================ */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.proof-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}
.proof-item:hover { border-color: var(--border-hover); box-shadow: 0 8px 32px rgba(0,0,0,0.3); transform: translateY(-2px); }
.feat-num {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 800;
  color: rgba(0,70,168,0.12);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -0.03em;
  display: block;
}
.proof-item h4 { font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--text-primary); }
.proof-item p  { font-family: var(--font); font-size: 0.82rem; color: var(--text-muted); }

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-trigger {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  padding: 1.25rem 0; background: none; border: none;
  color: var(--text-primary); font-family: var(--font); font-size: 0.95rem; font-weight: 600; text-align: left;
  cursor: pointer; transition: color var(--transition);
}
.accordion-trigger:hover { color: var(--accent); }
.accordion-icon {
  width: 22px; height: 22px;
  border: 1px solid var(--border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; flex-shrink: 0;
  transition: all var(--transition); color: var(--accent);
}
.accordion-trigger.active .accordion-icon { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body-inner { padding: 0 0 1.5rem; }
.accordion-body-inner p { font-family: var(--font); font-size: 0.88rem; color: var(--text-secondary); line-height: 1.7; }
.accordion-body-inner ul { margin-top: 0.75rem; }
.accordion-body-inner ul li { font-family: var(--font); font-size: 0.88rem; color: var(--text-secondary); padding: 0.3rem 0; padding-left: 1.2rem; position: relative; }
.accordion-body-inner ul li::before { content: '—'; position: absolute; left: 0; color: var(--accent); }

/* ============================================================
   TABS
   ============================================================ */
.tab-bar { display: flex; gap: 0.4rem; margin-bottom: 2rem; flex-wrap: wrap; border-bottom: 1px solid var(--border); padding-bottom: 0; }
.tab-btn {
  padding: 0.65rem 1.25rem;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
  font-family: var(--font); font-size: 0.88rem; font-weight: 500;
  color: var(--text-muted); background: none; border: none;
  border-bottom: 2px solid transparent;
  transition: all var(--transition); margin-bottom: -1px;
}
.tab-btn:hover { color: var(--text-secondary); background: rgba(255,255,255,0.04); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); background: var(--accent-bg); }

.tab-panel { display: none; }
.tab-panel.active { display: block; }

/* ============================================================
   CTA BANNER — card style
   ============================================================ */
.cta-banner {
  margin: 0 0 var(--sp-lg);
  padding: var(--sp-lg) 0;
  width: 100%;
  max-width: none;
}
.cta-banner > .container > .cta-card,
.cta-inner {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3.5rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,70,168,0.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-banner h2 { color: var(--text-primary); margin-bottom: 1rem; position: relative; }
.cta-banner h2 em { font-style: italic; color: var(--accent); }
.cta-banner p  { font-family: var(--font); color: var(--text-secondary); margin-bottom: 2rem; max-width: 520px; margin-left: auto; margin-right: auto; position: relative; }
.cta-banner .section-label { position: relative; }
.cta-banner .btn-gold { position: relative; }
.cta-banner .btn-outline-white { position: relative; }

.cta-banner-gold { background: transparent; }
.cta-banner-gold .cta-inner { border-color: var(--accent-border); }
.cta-banner-gold h2 em { color: var(--accent); font-style: normal; }

/* ============================================================
   SPEC STRIP
   ============================================================ */
.spec-strip { background: var(--bg-card); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 1.75rem 0; }
.spec-strip-inner { display: flex; align-items: center; justify-content: space-around; flex-wrap: wrap; gap: 1.5rem; }
.spec-item { text-align: center; }
.spec-item-label { font-family: var(--font); font-size: 0.7rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-muted); margin-bottom: 0.3rem; }
.spec-item-value { font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--text-primary); }
.spec-label { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: rgba(255,255,255,0.35); margin-bottom: 6px; }
.spec-value { font-size: 1rem; font-weight: 700; color: #ffffff; line-height: 1.3; }

/* ============================================================
   PROCESS DIAGRAM
   ============================================================ */
.process-flow { display: flex; align-items: center; gap: 0; overflow-x: auto; padding-bottom: 0.5rem; }
.process-step { flex: 1; min-width: 140px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.process-step-num {
  width: 44px; height: 44px;
  background: var(--accent-bg);
  color: var(--accent);
  border: 1px solid var(--accent-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font); font-size: 0.9rem; font-weight: 700;
  margin-bottom: 1rem; flex-shrink: 0; position: relative; z-index: 1;
}
.process-step h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 0.35rem; color: var(--text-primary); }
.process-step p  { font-family: var(--font); font-size: 0.78rem; color: var(--text-muted); }
.process-arrow { color: var(--border); font-size: 1.2rem; flex-shrink: 0; padding: 0 0.5rem; margin-bottom: 2rem; }

/* ============================================================
   SEARCH BAR
   ============================================================ */
.search-bar {
  display: flex; gap: 0;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
  max-width: 600px; margin: 0 auto 2rem;
}
.search-bar:focus-within { border-color: var(--accent-border); box-shadow: 0 0 0 3px rgba(0,70,168,0.1); }
.search-bar input { flex: 1; background: none; border: none; padding: 0.85rem 1.25rem; color: var(--text-primary); font-family: var(--font); font-size: 0.95rem; outline: none; }
.search-bar input::placeholder { color: var(--text-muted); }
.search-bar button { padding: 0.85rem 1.5rem; background: var(--accent); color: #fff; font-family: var(--font); font-weight: 600; font-size: 0.82rem; transition: background var(--transition); border-radius: 0 100px 100px 0; }
.search-bar button:hover { background: var(--accent-hover); }

/* ============================================================
   DOCUMENT CARDS
   ============================================================ */
.doc-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: start;
  transition: border-color var(--transition);
}
.doc-card:hover { border-color: var(--border-hover); }

.doc-num {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700;
  color: var(--text-muted);
  align-self: center;
  min-width: 2rem;
  line-height: 1;
}

.doc-info h4 { font-size: 0.95rem; margin-bottom: 0.35rem; color: var(--text-primary); }
.doc-info p  { font-family: var(--font); font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.doc-sub-items { margin-top: 0.75rem; display: flex; flex-direction: column; gap: 0.35rem; }
.doc-sub-item { display: flex; justify-content: space-between; align-items: center; font-family: var(--font); font-size: 0.82rem; padding: 0.4rem 0.75rem; background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); border: 1px solid var(--border); }
.doc-sub-item span { color: var(--text-muted); }
.doc-sub-item a { color: var(--accent); font-size: 0.78rem; font-weight: 500; }
.doc-sub-item a:hover { text-decoration: underline; }
.doc-actions { display: flex; flex-direction: column; gap: 0.5rem; }

/* ============================================================
   FORM
   ============================================================ */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-family: var(--font); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-muted); }

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.85rem 1rem;
  color: var(--text-primary);
  font-family: var(--font); font-size: 0.95rem; outline: none;
  transition: border-color var(--transition), box-shadow var(--transition);
  -webkit-appearance: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--accent-border); box-shadow: 0 0 0 3px rgba(0,70,168,0.1); }
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--text-muted); }
.form-group select option { background: #161616; color: var(--text-primary); }
.form-group textarea { min-height: 140px; resize: vertical; }

/* ============================================================
   CONTACT CARDS
   ============================================================ */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 2rem; text-align: center;
  transition: all var(--transition);
}
.contact-card:hover { border-color: var(--border-hover); transform: translateY(-2px); }
.contact-card h4 { color: var(--text-primary); margin-bottom: 0.5rem; }
.contact-card p  { font-family: var(--font); font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.25rem; }

/* ============================================================
   GALLERY STRIP
   ============================================================ */
.gallery-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: var(--border); border-radius: var(--radius-md); overflow: hidden; }
.gallery-item { position: relative; overflow: hidden; aspect-ratio: 3/4; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item-overlay { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 100%); padding: 1.25rem 1rem; transform: translateY(20px); opacity: 0; transition: all 0.3s ease; }
.gallery-item:hover .gallery-item-overlay { transform: translateY(0); opacity: 1; }
.gallery-item-overlay h5 { color: #fff; font-family: var(--font); font-size: 0.88rem; }

/* ============================================================
   PARTNER SECTION
   ============================================================ */
.partner-section { padding: var(--sp-md) 0; border-bottom: 1px solid var(--border); }
.partner-section:last-child { border-bottom: none; }
.partner-badge {
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.75rem;
  font-family: var(--font); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--accent); white-space: nowrap; flex-shrink: 0;
}

.partner-benefit-tag {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.3rem 0.8rem;
  font-family: var(--font); font-size: 0.8rem; color: var(--text-muted);
  transition: all var(--transition);
}
.partner-benefit-tag:hover { background: var(--accent-bg); border-color: var(--accent-border); color: var(--accent); }

/* ============================================================
   APPLICATION MATRIX
   ============================================================ */
.app-matrix-cell-material { color: var(--accent); font-weight: 600; }

/* ============================================================
   DWAR PAGE SPECIFIC
   ============================================================ */
.dwar-hero-badge {
  display: inline-flex; align-items: center; gap: 0.6rem;
  background: rgba(0,70,168,0.1);
  border: 1px solid rgba(0,70,168,0.25);
  border-radius: 100px; padding: 0.4rem 1rem;
  font-family: var(--font); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase;
  color: #7ab0ff; margin-bottom: 1.5rem;
}

.collection-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.collection-card { border-radius: var(--radius-md); overflow: hidden; position: relative; transition: transform var(--transition), box-shadow var(--transition); border: 1px solid var(--border); }
.collection-card:hover { transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,0,0,0.4); }
.collection-card-img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.collection-card-content { position: absolute; bottom: 0; left: 0; right: 0; background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%); padding: 2rem 1.5rem 1.5rem; }
.collection-card-content h3 { font-size: 1.2rem; margin-bottom: 0.4rem; color: #fff; }
.collection-card-content p  { font-family: var(--font); font-size: 0.82rem; color: rgba(255,255,255,0.65); }

/* ============================================================
   UTILITY
   ============================================================ */

/* --- Hero entrance animations (index.html only) --- */
/* --- Page Transitions --- */
@keyframes pageReveal {
  0%   { opacity: 1; }
  100% { opacity: 0; visibility: hidden; }
}

#page-transition {
  position: fixed;
  inset: 0;
  background: #0d0d0d;
  z-index: 99999;
  pointer-events: none;
  animation: pageReveal 0.4s ease forwards;
}

.reveal-wrapper {
  overflow: hidden;
  display: block;
}

.reveal-line {
  display: block;
  transform: translateY(110%);
  animation: revealUp 1.4s cubic-bezier(0.16, 1, 0.3, 1) both;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.reveal-line:nth-child(1) { animation-delay: 0.2s; animation-fill-mode: both; }
.reveal-line:nth-child(2) { animation-delay: 0.45s; animation-fill-mode: both; }
.reveal-line:nth-child(3) { animation-delay: 0.7s; animation-fill-mode: both; }
.reveal-line:nth-child(4) { animation-delay: 0.95s; animation-fill-mode: both; }

@keyframes revealUp {
  from { transform: translateY(110%); }
  to   { transform: translateY(0%); }
}

.fade-up-hero {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUpHero 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpHero {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

.text-gold   { color: var(--accent) !important; }
.text-white  { color: var(--text-primary) !important; }
.text-muted  { color: var(--text-muted) !important; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.mt-xs { margin-top: var(--sp-xs); } .mt-sm { margin-top: var(--sp-sm); }
.mt-md { margin-top: var(--sp-md); } .mt-lg { margin-top: var(--sp-lg); }
.mb-sm { margin-bottom: var(--sp-sm); } .mb-md { margin-bottom: var(--sp-md); }

.divider { border: none; border-top: 1px solid var(--border); margin: var(--sp-md) 0; }

.tag {
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--accent-bg);
  border: 1px solid var(--accent-border);
  color: var(--accent); font-family: var(--font); font-size: 0.75rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: 100px; letter-spacing: 0.04em;
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.two-col.flip > :first-child { order: 2; }
.two-col.flip > :last-child  { order: 1; }

.placeholder-img { width: 100%; border-radius: var(--radius-md); display: block; border: 1px solid var(--border); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  :root { --sp-lg: 3rem; --sp-xl: 4rem; }
  .nav-links { display: none; }
  .hamburger  { display: flex; }
  .nav-cta    { display: none; }
  .hero { min-height: auto; padding: 3rem 0; }
  .cards-grid-2, .cards-grid-3, .cards-grid-4, .cards-grid-5, .cards-grid-6 { grid-template-columns: 1fr; }
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 0.75rem; }
  .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .two-col.flip > :first-child { order: unset; }
  .two-col.flip > :last-child  { order: unset; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child  { grid-column: 1 / -1; }
  .footer-grid > :last-child   { grid-column: 1 / -1; }
  .gallery-strip { grid-template-columns: repeat(2, 1fr); }
  .collection-cards { grid-template-columns: 1fr; }
  .process-flow { gap: 0; }
  .process-arrow { font-size: 0.9rem; padding: 0 0.25rem; }
  .doc-card { grid-template-columns: auto 1fr; }
  .doc-actions { grid-column: 1 / -1; flex-direction: row; }
  .form-grid { grid-template-columns: 1fr; }
  .trust-strip-divider { display: none; }
  .tab-bar { gap: 0.2rem; }
  .tab-btn { font-size: 0.82rem; padding: 0.55rem 0.8rem; }
  .cta-inner { padding: 2.5rem 1.5rem; }
}

@media (max-width: 480px) {
  .proof-grid { grid-template-columns: 1fr; }
  .gallery-strip { grid-template-columns: 1fr 1fr; }
  .btn-group { flex-direction: column; }
  .btn-group .btn { width: 100%; justify-content: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .trust-strip-inner { flex-direction: column; gap: 1.5rem; }
}

@media (max-width: 768px) {
  .cta-inner, .cta-banner,
  section h2, .sec-title {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }

  .cta-inner h2, .cta-banner h2 {
    font-size: 1.8rem;
  }
}

.hamburger, .mobile-menu-btn,
button[class*="hamburger"],
button[class*="mobile"] {
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  background: transparent !important;
}

@media (max-width: 768px) {
  /* Original top spec strip — horizontal scroll */
  #main-spec-strip {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }

  #main-spec-strip .spec-strip-inner {
    display: flex !important;
    flex-direction: row !important;
    min-width: max-content !important;
    overflow: visible !important;
    gap: 0 !important;
  }

  #main-spec-strip .spec-item {
    min-width: 120px !important;
    padding: 1rem !important;
    word-break: normal !important;
  }

  /* New spec strips — 2x2 grid */
  .spec-strip:not(#main-spec-strip) .spec-strip-inner {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    min-width: unset !important;
    overflow: visible !important;
    gap: 16px !important;
  }

  .spec-strip:not(#main-spec-strip) .spec-item {
    min-width: 0 !important;
    word-break: break-word !important;
  }
}

@media (max-width: 768px) {
  h1, h2, h3,
  .sec-title,
  .hero h1,
  .cta-title {
    font-size: clamp(1.6rem, 5vw, 2.2rem) !important;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
  }
}

/* ============================================================
   HAMBURGER — PREMIUM SVG
   ============================================================ */

@media (max-width: 768px) {
  .hamburger {
    background: transparent;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 4px;
    position: relative;
    cursor: pointer;
    color: #4f8ef7;
    -webkit-tap-highlight-color: transparent;
  }

  @keyframes regBreath1 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
  }
  @keyframes regBreath2 {
    0%, 100% { opacity: 0.85; }
    50% { opacity: 0.3; }
  }
  @keyframes regBreath3 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.45; }
  }

  @keyframes scanner {
    0%   { transform: translateX(0px);  opacity: 0; }
    8%   { opacity: 0.7; }
    92%  { opacity: 0.7; }
    100% { transform: translateX(40px); opacity: 0; }
  }

  @keyframes scannerReturn {
    0%   { transform: translateX(40px); opacity: 0; }
    8%   { opacity: 0.7; }
    92%  { opacity: 0.7; }
    100% { transform: translateX(0px);  opacity: 0; }
  }

  .ham-row:nth-child(1) { animation: regBreath1 4s ease-in-out 0s infinite; }
  .ham-row:nth-child(2) { animation: regBreath2 5s ease-in-out 0.8s infinite; }
  .ham-row:nth-child(3) { animation: regBreath3 4.5s ease-in-out 1.2s infinite; }

  .ham-scanner { animation: scanner 4s ease-in-out 0s infinite alternate; }

  .hamburger.open .ham-row {
    opacity: 0 !important;
    animation: none !important;
    transition: opacity 0.4s ease !important;
  }

  .hamburger.open .ham-scanner {
    opacity: 0 !important;
    animation: none !important;
  }

  .ham-x {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    opacity: 0 !important;
    transition: opacity 0.6s ease 0.2s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.2s;
    width: 24px;
    height: 24px;
    pointer-events: none;
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: #4f8ef7 !important;
  }

  .hamburger.open .ham-x {
    opacity: 1 !important;
    transform: translate(-50%, -50%) rotate(0deg) !important;
    color: #4f8ef7 !important;
  }
}

/* ============================================================
   MOBILE MENU ANIMATION — LUXURY
   ============================================================ */

@media (max-width: 768px) {
  .mobile-nav, #mobile-nav {
    transform-origin: top center;
  }

  .mobile-nav.open, #mobile-nav.open {
    animation: luxuryMenuOpen 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes luxuryMenuOpen {
    from {
      opacity: 0;
      transform: translateY(-12px);
      filter: blur(4px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0px);
    }
  }

  .mobile-nav a,
  .mobile-nav .mobile-nav-section,
  #mobile-nav a,
  #mobile-nav .mobile-nav-section {
    opacity: 0;
    transform: translateY(10px);
    transition: none;
  }

  .mobile-nav.open a,
  .mobile-nav.open .mobile-nav-section,
  #mobile-nav.open a,
  #mobile-nav.open .mobile-nav-section {
    opacity: 1;
    transform: translateY(0);
  }

  #mobile-nav.open *:nth-child(1)  { transition: opacity 0.5s ease 0.1s,  transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.1s; }
  #mobile-nav.open *:nth-child(2)  { transition: opacity 0.5s ease 0.18s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.18s; }
  #mobile-nav.open *:nth-child(3)  { transition: opacity 0.5s ease 0.26s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.26s; }
  #mobile-nav.open *:nth-child(4)  { transition: opacity 0.5s ease 0.34s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.34s; }
  #mobile-nav.open *:nth-child(5)  { transition: opacity 0.5s ease 0.42s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.42s; }
  #mobile-nav.open *:nth-child(6)  { transition: opacity 0.5s ease 0.5s,  transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.5s; }
  #mobile-nav.open *:nth-child(7)  { transition: opacity 0.5s ease 0.58s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.58s; }
  #mobile-nav.open *:nth-child(8)  { transition: opacity 0.5s ease 0.66s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.66s; }
  #mobile-nav.open *:nth-child(9)  { transition: opacity 0.5s ease 0.74s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.74s; }
  #mobile-nav.open *:nth-child(10) { transition: opacity 0.5s ease 0.82s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.82s; }
  #mobile-nav.open *:nth-child(11) { transition: opacity 0.5s ease 0.9s,  transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.9s; }
  #mobile-nav.open *:nth-child(12) { transition: opacity 0.5s ease 0.98s, transform 0.6s cubic-bezier(0.16,1,0.3,1) 0.98s; }

  .mobile-nav:not(.open),
  #mobile-nav:not(.open) {
    animation: luxuryMenuClose 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  }

  @keyframes luxuryMenuClose {
    from {
      opacity: 1;
      transform: translateY(0);
      filter: blur(0px);
    }
    to {
      opacity: 0;
      transform: translateY(-8px);
      filter: blur(2px);
    }
  }
}
