/* ============================================================
   JAYGEE INDUSTRIES - Master Stylesheet
   Theme: Luxury & Spiritual
   Palette: Crimson | Antique Gold | Ivory | Deep Dark
   ============================================================ */

/* ── MOBILE NAV VISIBILITY HELPERS ─────────────────────────── */
/* Elements marked nav-mobile-only are hidden on desktop,
   shown on mobile via the @media (max-width:1100px) block.
   Elements marked nav-mobile-hidden are shown on desktop,
   hidden on mobile via the same media query.              */
.nav-mobile-only { display: none !important; }

/* ── VARIABLES ─────────────────────────────────────────────── */
:root {
  --crimson:        #8B1A1A;
  --crimson-dark:   #5C1010;
  --crimson-light:  #B52424;
  --gold:           #C9A84C;
  --gold-light:     #E8C875;
  --gold-pale:      #F5E9C5;
  --dark:           #120606;
  --dark-2:         #2A0F0F;
  --dark-3:         #3D1A1A;
  --text:           #2C1810;
  --text-muted:     #7A5541;
  --ivory:          #F8F4EE;
  --ivory-2:        #FDF9F5;
  --white:          #FFFFFF;
  --border:         rgba(201,168,76,0.25);
  --border-strong:  rgba(201,168,76,0.5);
  --shadow-sm:      0 2px 12px rgba(18,6,6,0.10);
  --shadow:         0 6px 32px rgba(18,6,6,0.14);
  --shadow-lg:      0 16px 60px rgba(18,6,6,0.20);
  --font-serif:     'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:      'Inter', system-ui, -apple-system, sans-serif;
  --nav-h:          80px;
  --radius:         8px;
  --radius-lg:      16px;
  --transition:     0.3s ease;
  --section-py:     90px;
  --max-w:          1200px;
}

/* ── RESET & BASE ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; }
/* smooth scroll only for anchor/hash navigation, not for focus events */
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
body {
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select {
  font-family: var(--font-sans);
  font-size: 1rem;
  outline: none;
}

/* ── TYPOGRAPHY ─────────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-serif);
  font-weight: 600;
  line-height: 1.2;
  color: var(--dark-2);
}
h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(2rem, 3.5vw, 3rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
h4 { font-size: 1.25rem; }
p  { line-height: 1.8; color: var(--text-muted); }

.text-gold  { color: var(--gold); }
.text-crimson { color: var(--crimson); }
.text-white { color: var(--white); }
.text-center { text-align: center; }
.italic { font-style: italic; }

/* ── SECTION LABELS ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 12px;
}
.section-title {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--dark-2);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  line-height: 1.8;
}
.section-header { margin-bottom: 56px; }
.section-header.centered { text-align: center; }
.section-header.centered .section-sub { margin: 0 auto; }
.gold-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin: 16px 0 24px;
}
.section-header.centered .gold-divider { margin: 16px auto 24px; }

/* ── LAYOUT UTILITIES ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: var(--section-py) 0;
}
.section-dark {
  background: var(--dark);
  color: var(--white);
}
.section-dark h2, .section-dark h3, .section-dark h4 { color: var(--white); }
.section-dark p { color: rgba(255,255,255,0.72); }
.section-dark .section-title { color: var(--white); }
.section-dark .eyebrow { color: var(--gold-light); }
.section-crimson {
  background: var(--crimson);
  color: var(--white);
}
.section-crimson h2, .section-crimson .section-title { color: var(--white); }
.section-crimson .eyebrow { color: var(--gold-light); }
.section-crimson p { color: rgba(255,255,255,0.85); }
.section-ivory { background: var(--ivory-2); }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }
.mb-0  { margin-bottom: 0; }

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: var(--radius);
  font-family: var(--font-sans);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.35);
}
.btn-outline-gold {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
}
.btn-outline-gold:hover {
  background: var(--gold);
  color: var(--dark);
}
.btn-crimson {
  background: var(--crimson);
  color: var(--white);
  border-color: var(--crimson);
}
.btn-crimson:hover {
  background: var(--crimson-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(139,26,26,0.30);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--dark-2);
}
.btn-lg { padding: 18px 40px; font-size: 1rem; }
.btn-sm { padding: 10px 22px; font-size: 0.8rem; }

/* ── NAVIGATION ──────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  background: #ffffff;
  border-bottom: 3px solid var(--crimson);
  box-shadow: 0 2px 20px rgba(18,6,6,0.07);
  transition: var(--transition);
}
.navbar.scrolled {
  box-shadow: 0 4px 32px rgba(18,6,6,0.13);
}
.nav-inner {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — gold vertical divider on right */
.nav-logo {
  flex-shrink: 0;
  padding-right: 26px;
  border-right: 1.5px solid rgba(201,168,76,0.40);
  display: flex;
  align-items: center;
}
.nav-logo img {
  height: 72px;
  width: auto;
  /* jaygee-red.png has built-in white padding; pull it in so it sits flush */
  margin: -6px 0;
  object-fit: contain;
}
.nav-logo svg, .footer-logo svg {
  height: 64px;
  width: auto;
  display: block;
}

/* Links — flex:1 so they fill and center between logo and CTA */
.nav-links {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  padding-left: 12px;
  flex-wrap: nowrap;        /* never wrap to a second row */
}
.nav-links a {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-transform: none;
  color: var(--text);
  padding: 8px 9px;
  border-radius: 0;
  transition: color .25s ease;
  position: relative;
  white-space: nowrap;      /* never let link text break across lines */
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 1.5px;
  background: var(--crimson);
  transition: left .28s ease, right .28s ease;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--crimson);
}
.nav-links a:hover::after, .nav-links a.active::after {
  left: 9px; right: 9px;
}

/* CTA area */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

/* Override nav CTA button → gold pill */
.nav-cta .btn {
  border-radius: 24px;
  padding: 9px 22px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
}
.nav-cta .btn:hover { transform: translateY(-1px); }

.nav-translate { font-size: 0.8rem; }

/* Hamburger — crimson bars, visible on white navbar */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--crimson);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── PRODUCTS DROPDOWN ───────────────────────────────────────── */
.nav-has-dropdown { position: relative; list-style: none; }
.nav-dropdown-btn {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-serif);
  font-size: 0.88rem; font-weight: 500;
  letter-spacing: 0.01em; text-transform: none;
  color: var(--text);
  padding: 8px 9px; border-radius: 0;
  display: flex; align-items: center; gap: 4px;
  transition: color .25s ease;
  white-space: nowrap;
}
.nav-dropdown-btn:hover,
.nav-has-dropdown.open .nav-dropdown-btn,
.nav-dropdown-btn.nav-dropdown-active { color: var(--crimson); }
.nav-chevron { font-size: .58rem; transition: transform .25s ease; opacity: 0.55; }
.nav-has-dropdown.open .nav-chevron { transform: rotate(180deg); opacity: 0.9; }

.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px); left: 50%;
  transform: translateX(-50%) translateY(-6px);
  min-width: 240px;
  background: rgba(12,4,4,0.97);
  border: 1px solid rgba(201,168,76,.22);
  border-radius: 12px;
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
  z-index: 200;
  box-shadow: 0 20px 50px rgba(0,0,0,.55);
  backdrop-filter: blur(14px);
}
/* Products dropdown: click-based only (no hover gap issues) */
.nav-has-dropdown.open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown li { list-style: none; }
.nav-dropdown a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px; border-radius: 7px;
  font-size: .8rem; font-weight: 500;
  letter-spacing: .03em; text-transform: none;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  transition: background .2s, color .2s;
  position: relative;
}
.nav-dropdown a:hover {
  background: rgba(201,168,76,.12);
  color: var(--gold);
}
.nav-dropdown a::after { display: none; }
.nav-dropdown a i { color: var(--gold); font-size: .78rem; width: 16px; flex-shrink: 0; }
.nav-dropdown-divider {
  height: 1px; background: rgba(201,168,76,.12);
  margin: 5px 8px;
}

/* ── 2-column Products dropdown panel ──────────────────── */
.nav-products-dropdown {
  min-width: 500px;
  padding: 14px 8px;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 0 8px;
}
.nav-products-col {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
}
.nav-col-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 8px 8px 6px;
  margin-bottom: 2px;
  border-bottom: 1px solid rgba(201,168,76,.15);
  white-space: nowrap;
  pointer-events: none;
}
.nav-col-label i { font-size: 0.6rem; opacity: 0.75; }
.nav-col-label-sub {
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(201,168,76,.08);
}


/* ── HERO ────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  min-height: 100dvh; /* Dynamic viewport height — fixes Android Chrome address-bar jump */
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 40%, #3D0808 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(ellipse at 20% 50%, rgba(139,26,26,0.25) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 20%, rgba(201,168,76,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(139,26,26,0.15) 0%, transparent 50%);
  pointer-events: none;
}
.hero-ornament {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-ornament::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 700px;
  border: 1px solid rgba(201,168,76,0.06);
  border-radius: 50%;
}
.hero-ornament::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 900px; height: 900px;
  border: 1px solid rgba(201,168,76,0.04);
  border-radius: 50%;
}
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
  padding: 40px 24px;
}
.hero-eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.hero-eyebrow::before, .hero-eyebrow::after {
  content: '';
  width: 40px; height: 1px;
  background: var(--gold);
  opacity: 0.5;
}
.hero h1 {
  font-family: var(--font-serif);
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 24px;
}
.hero h1 .highlight {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-sub {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.68);
  max-width: 620px;
  margin: 0 auto 40px;
  line-height: 1.9;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 72px;
  padding-top: 40px;
  border-top: 1px solid rgba(201,168,76,0.15);
}
.hero-stat { text-align: center; }
.hero-stat-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.hero-stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-top: 6px;
}
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-indicator i { font-size: 1.2rem; }
@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* PAGE HERO (non-home) ────────────────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 60%, #3A0A0A 100%);
  padding: calc(var(--nav-h) + 60px) 0 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(201,168,76,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.page-hero h1 { color: var(--white); }
.page-hero .eyebrow { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.65); max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.45);
  margin-top: 20px;
}
.breadcrumb a { color: var(--gold); }
.breadcrumb a:hover { color: var(--gold-light); }

/* ── CARDS ───────────────────────────────────────────────────── */
.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
}
.card-body { padding: 28px; }

/* BRAND CARDS ──────────────────────────────────────────────────  */
.brand-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 40px 32px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.brand-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--gold));
  opacity: 0;
  transition: var(--transition);
}
.brand-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--border-strong);
}
.brand-card:hover::before { opacity: 1; }
.brand-card-logo {
  height: 80px;
  width: auto;
  max-width: 180px;
  margin: 0 auto 24px;
  object-fit: contain;
}
.brand-card h3 {
  font-size: 1.5rem;
  margin-bottom: 12px;
}
.brand-card p {
  font-size: 0.9rem;
  margin-bottom: 20px;
}
.brand-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--dark-3);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  padding: 4px 12px;
  border-radius: 20px;
  margin: 3px 3px;
}

/* PRODUCT CARDS ─────────────────────────────────────────────── */
.product-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.product-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: linear-gradient(135deg, var(--ivory), var(--gold-pale));
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img-placeholder {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--ivory) 0%, var(--gold-pale) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.product-card-img-placeholder i { font-size: 2.5rem; color: var(--gold); opacity: 0.5; }
.product-card-img-placeholder span { font-size: 0.75rem; color: var(--text-muted); letter-spacing: 0.1em; text-transform: uppercase; }
.product-card-body { padding: 24px; }
.product-card-body h4 { margin-bottom: 8px; font-size: 1.1rem; }

/* STAT CARDS ─────────────────────────────────────────────────── */
.stat-card {
  text-align: center;
  padding: 32px 20px;
  border-radius: var(--radius-lg);
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(201,168,76,0.2);
}
.stat-card-num {
  font-family: var(--font-serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold-light);
  line-height: 1;
}
.stat-card-label {
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 8px;
}

/* FEATURE ITEMS ─────────────────────────────────────────────── */
.feature-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 28px;
}
.feature-icon {
  width: 52px; height: 52px;
  min-width: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(201,168,76,0.15), rgba(201,168,76,0.05));
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--gold);
}
.feature-icon.crimson {
  background: linear-gradient(135deg, rgba(139,26,26,0.12), rgba(139,26,26,0.04));
  border-color: rgba(139,26,26,0.2);
  color: var(--crimson);
}
.feature-text h4 { margin-bottom: 6px; font-size: 1.05rem; }
.feature-text p { font-size: 0.9rem; margin-bottom: 0; }

/* ICON BOX ──────────────────────────────────────────────────── */
.icon-box {
  text-align: center;
  padding: 32px 24px;
}
.icon-box-icon {
  width: 72px; height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--white);
}
.icon-box-icon.gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--dark);
}
.icon-box h4 { margin-bottom: 10px; }

/* ── BRANDS FULL PAGE ────────────────────────────────────────── */
.brand-section {
  padding: 72px 0;
  border-bottom: 1px solid var(--border);
}
.brand-section:last-child { border-bottom: none; }
.brand-section-header {
  display: flex;
  align-items: center;
  gap: 32px;
  margin-bottom: 48px;
}
.brand-section-logo {
  height: 70px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.brand-section-info { flex: 1; }
.brand-color-bar {
  height: 4px;
  width: 60px;
  border-radius: 2px;
  margin-bottom: 16px;
}
.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 24px; }

/* ── B2B SPECIFIC ────────────────────────────────────────────── */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.process-step {
  display: flex;
  gap: 24px;
  padding: 28px 0;
  border-left: 2px solid var(--border-strong);
  padding-left: 28px;
  position: relative;
}
.process-step::before {
  content: attr(data-step);
  position: absolute;
  left: -20px;
  top: 28px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  color: var(--white);
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.process-step:last-child { border-left-color: transparent; }
.process-step-content h4 { margin-bottom: 8px; }
.process-step-content p { font-size: 0.9rem; }

.benefit-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  transition: var(--transition);
}
.benefit-card:hover {
  box-shadow: var(--shadow);
  border-color: var(--border-strong);
  transform: translateY(-4px);
}
.benefit-card i { font-size: 2rem; color: var(--gold); margin-bottom: 16px; }
.benefit-card h4 { margin-bottom: 10px; }

/* ── FRAGRANCE SPECIFIC ──────────────────────────────────────── */
.fragrance-app {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  text-align: center;
  transition: var(--transition);
  gap: 16px;
}
.fragrance-app:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.fragrance-app i { font-size: 2rem; color: var(--crimson); }
.fragrance-app h4 { font-size: 1rem; }
.fragrance-app p { font-size: 0.85rem; margin: 0; }

/* ── INQUIRY FORM ────────────────────────────────────────────── */
.form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 48px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form-group { margin-bottom: 24px; }
.form-group label {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.form-group label span { color: var(--crimson); }
.form-control {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  background: var(--ivory-2);
  color: var(--text);
  font-size: 1rem; /* 1rem prevents iOS auto-zoom on focus */
  /* Fast transition on focus-relevant properties only (not all) */
  transition: border-color 0.12s ease, box-shadow 0.12s ease, background-color 0.12s ease;
  /* Eliminate 300ms tap delay */
  touch-action: manipulation;
  -webkit-appearance: none;
  appearance: none;
  /* Ensure cursor is always text on desktop */
  cursor: text;
}
.form-control:focus {
  border-color: var(--gold);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.12);
  outline: none;
}
.form-control::placeholder { color: var(--text-muted); opacity: 0.6; }
textarea.form-control { resize: vertical; min-height: 140px; cursor: auto; }
.form-check-group {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 10px;
}
.form-check {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  min-height: 44px; /* WCAG touch target */
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: border-color 0.12s ease, background-color 0.12s ease;
  font-size: 0.875rem;
  color: var(--text);
  touch-action: manipulation;
  -webkit-tap-highlight-color: rgba(201,168,76,0.1);
  user-select: none;
}
.form-check:hover { border-color: var(--gold); background: var(--gold-pale); }
.form-check input[type="checkbox"] {
  width: 18px; height: 18px; min-width: 18px;
  accent-color: var(--crimson);
  touch-action: manipulation;
  cursor: pointer;
}
.form-submit-wrap { margin-top: 8px; }
.form-note { font-size: 0.82rem; color: var(--text-muted); margin-top: 12px; }

/* ── CONTACT PAGE ────────────────────────────────────────────── */
.contact-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  background: var(--white);
  display: flex;
  gap: 20px;
  align-items: flex-start;
  margin-bottom: 20px;
}
.contact-card-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--crimson), var(--crimson-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
}
.contact-card h4 { margin-bottom: 6px; font-size: 1rem; }
.contact-card p, .contact-card a {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
.contact-card a:hover { color: var(--crimson); }
.social-links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 8px; }
.social-link {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1rem;
  transition: var(--transition);
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}
.map-placeholder {
  width: 100%;
  height: 380px;
  background: linear-gradient(135deg, var(--ivory), var(--gold-pale));
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--text-muted);
}
.map-placeholder i { font-size: 3rem; color: var(--gold); opacity: 0.5; }

/* ── TESTIMONIAL ─────────────────────────────────────────────── */
.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 36px;
  position: relative;
}
.testimonial::before {
  content: '\201C';
  font-family: var(--font-serif);
  font-size: 5rem;
  color: var(--gold);
  opacity: 0.3;
  position: absolute;
  top: 8px; left: 24px;
  line-height: 1;
}
.testimonial p {
  font-size: 1rem;
  font-style: italic;
  line-height: 1.8;
  margin-bottom: 20px;
  padding-top: 24px;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}
.testimonial-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--crimson), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
}
.testimonial-name { font-weight: 600; font-size: 0.9rem; }
.testimonial-role { font-size: 0.8rem; color: var(--text-muted); }

/* ── CTA SECTION ─────────────────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark-2) 50%, #400A0A 100%);
  text-align: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(201,168,76,0.08) 0%, transparent 65%);
}
.cta-section h2 { color: var(--white); margin-bottom: 16px; }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 560px; margin: 0 auto 36px; }
.cta-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ──────────────────────────────────────────────────── */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 64px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
.footer-logo { margin-bottom: 20px; }
.footer-logo img { height: 48px; }
.footer-about {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.8;
  margin-bottom: 24px;
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
  transition: var(--transition);
}
.footer-links a:hover { color: var(--gold-light); padding-left: 4px; }
.footer-contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.5);
}
.footer-contact-item i { color: var(--gold); margin-top: 2px; font-size: 0.85rem; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.3);
}
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.3); transition: var(--transition); }
.footer-bottom-links a:hover { color: var(--gold); }

/* ── BADGES / TAGS ───────────────────────────────────────────── */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}
.badge-gold { background: var(--gold-pale); color: var(--dark-3); border: 1px solid rgba(201,168,76,0.3); }
.badge-crimson { background: rgba(139,26,26,0.08); color: var(--crimson); border: 1px solid rgba(139,26,26,0.2); }

/* ── GOOGLE TRANSLATE WIDGET ─────────────────────────────────── */
#google_translate_element {
  display: flex;
  align-items: center;
}
#google_translate_element .goog-te-gadget {
  font-family: var(--font-sans) !important;
  font-size: 0 !important;
  color: transparent !important;
}
#google_translate_element .goog-te-gadget-simple {
  background: rgba(255,255,255,0.08) !important;
  border: 1px solid rgba(201,168,76,0.3) !important;
  border-radius: 6px !important;
  padding: 6px 10px !important;
}
#google_translate_element .goog-te-gadget-simple .goog-te-menu-value span {
  color: rgba(255,255,255,0.8) !important;
  font-family: var(--font-sans) !important;
  font-size: 0.78rem !important;
}
.goog-te-banner-frame { display: none !important; }
body { top: 0 !important; }

/* ── ANIMATIONS ──────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}
.fade-in {
  opacity: 0;
  transition: opacity 0.7s ease;
}
.fade-in.visible { opacity: 1; }

/* Stagger delays */
.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }
.delay-5 { transition-delay: 0.5s; }
.delay-6 { transition-delay: 0.6s; }

/* Smoke particles */
.smoke-container {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.smoke-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  animation: smokeRise linear infinite;
  opacity: 0;
}
@keyframes smokeRise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  15%  { opacity: 0.5; }
  80%  { opacity: 0.2; }
  100% { transform: translateY(-300px) translateX(var(--drift,20px)) scale(4); opacity: 0; }
}

/* ── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1100px) {
  :root { --section-py: 56px; --nav-h: 64px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }

  /* Logo — smaller and perfectly contained on mobile */
  .nav-logo {
    padding-right: 0;
    border-right: none;
  }
  .nav-logo img {
    height: 44px !important;
    margin: 0 !important;  /* remove negative margins that cause overflow below navbar */
  }

  /* ── Google Translate — hide on mobile ─────────────────────── */
  /* Phones have native translation built-in; the widget injects a
     white "Select Language" bar that blocks the first nav item.
     Also suppress the banner iframe Google Translate injects. */
  .nav-translate,
  .nav-translate * { display: none !important; }
  .goog-te-banner-frame.skiptranslate { display: none !important; }
  body { top: 0 !important; }

  /* ── Mobile menu panel — clean white (matches catalog page style) ── */
  .nav-mobile-open .nav-links,
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: fixed;
    /* Full-screen from top:0; padding-top pushes first item below navbar.
       Home is always at scrollTop=0 — no race condition on Samsung Chrome. */
    top: 0 !important;
    left: 0; right: 0;
    bottom: 0;
    z-index: 1002 !important;
    background: #fff;
    padding: var(--nav-h) 0 calc(72px + env(safe-area-inset-bottom, 16px));
    gap: 0;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto;
    border-top: 1px solid var(--border, #e8d8c8);
    box-shadow: 0 8px 32px rgba(0,0,0,0.10);
  }

  /* ── Top-level nav link items ───────────────────────────────── */
  .nav-mobile-open .nav-links a,
  .nav-links.open a {
    color: var(--text, #2c1a10);
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(154,16,32,0.08);
  }
  .nav-mobile-open .nav-links a:hover,
  .nav-links.open a:hover {
    color: var(--crimson, #9a1020);
    background: rgba(154,16,32,0.04);
  }
  .nav-mobile-open .nav-links a.active,
  .nav-links.open a.active {
    color: var(--crimson, #9a1020);
    font-weight: 600;
  }
  /* Remove desktop underline animation inside mobile menu */
  .nav-mobile-open .nav-links a::after,
  .nav-links.open a::after { display: none; }

  /* Top-level list items */
  .nav-mobile-open .nav-links > li > a,
  .nav-links.open > li > a {
    display: flex;
    align-items: center;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 14px 24px;
    width: 100%;
    text-align: left;
    touch-action: manipulation;
    border-bottom: 1px solid var(--border, #e8d8c8);
    letter-spacing: 0.01em;
    color: var(--text, #2c1a10);
  }

  /* Products label — gold section header, not an accordion button */
  .nav-mobile-open .nav-dropdown-btn,
  .nav-links.open .nav-dropdown-btn {
    font-size: 0.65rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.14em !important;
    text-transform: uppercase !important;
    color: var(--gold, #c9a84c) !important;
    padding: 12px 24px 4px !important;
    width: 100%;
    pointer-events: none;
    cursor: default;
    border-bottom: none !important;
    background: transparent;
    justify-content: flex-start;
  }
  /* Hide chevron — products always open, no toggle needed */
  .nav-mobile-open .nav-chevron,
  .nav-links.open .nav-chevron { display: none !important; }
  .nav-mobile-open .nav-has-dropdown,
  .nav-links.open .nav-has-dropdown { width: 100%; }

  /* ── Products accordion — full open list on mobile ─────────── */
  .nav-mobile-open .nav-dropdown,
  .nav-links.open .nav-dropdown {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    pointer-events: all !important;
    background: var(--ivory, #fdf8f2);
    border: none;
    border-left: 3px solid var(--crimson, #9a1020);
    padding: 4px 0 8px;
    margin: 0;
    box-shadow: none;
    backdrop-filter: none;
    display: block !important;
  }
  /* nav-products-col: standard flex column (not display:contents) */
  .nav-mobile-open .nav-products-col,
  .nav-links.open .nav-products-col {
    display: flex !important;
    flex-direction: column;
  }
  /* Full-width product links — clear, readable text */
  .nav-mobile-open .nav-dropdown a,
  .nav-links.open .nav-dropdown a {
    font-size: 0.88rem !important;
    padding: 12px 20px 12px 22px !important;
    color: var(--text-muted, #7a5c48) !important;
    display: flex !important;
    align-items: center;
    touch-action: manipulation;
    border-bottom: 1px solid rgba(0,0,0,0.05) !important;
    border-radius: 0 !important;
    background: transparent !important;
    font-weight: 400 !important;
    font-family: inherit !important;
    line-height: 1.4 !important;
  }
  .nav-mobile-open .nav-dropdown a:hover,
  .nav-links.open .nav-dropdown a:hover {
    color: var(--crimson, #9a1020) !important;
    background: rgba(154,16,32,0.04) !important;
  }

  /* Products dropdown — reset desktop grid to single column block */
  .nav-products-dropdown { display: block !important; min-width: unset !important; padding: 0 !important; }

  /* Category labels — show as small section headers on mobile */
  .nav-col-label { display: none !important; }
  .nav-col-label.nav-mobile-only { display: none !important; }
  .nav-mobile-open .nav-col-label,
  .nav-links.open .nav-col-label {
    display: block !important;
    font-size: 0.65rem !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    color: var(--gold, #c8981a) !important;
    padding: 10px 20px 3px !important;
    font-weight: 700 !important;
    pointer-events: none;
    border-bottom: none !important;
    opacity: 0.85;
  }
  /* Hide FA icons inside product dropdown links on mobile */
  .nav-dropdown a i { display: none !important; }
  /* All products shown in full-screen overlay — no hiding */
  .nav-dropdown .nav-mobile-hidden { display: flex !important; }
  /* View all products — full-width crimson text link at bottom */
  a.nav-mobile-only {
    display: flex !important;
    align-items: center;
    justify-content: center;
    color: var(--crimson, #9a1020) !important;
    font-weight: 600 !important;
    font-size: 0.84rem !important;
    padding: 12px 20px !important;
    border-top: 1px solid var(--border, #e8d8c8) !important;
    border-bottom: none !important;
    background: transparent !important;
    border-radius: 0 !important;
    letter-spacing: 0.01em;
  }
  a.nav-mobile-only:hover {
    background: rgba(154,16,32,0.05) !important;
    color: var(--crimson, #9a1020) !important;
  }

  /* ── Bottom CTA bar ─────────────────────────────────────────── */
  .nav-mobile-open .nav-cta,
  .nav-links.open ~ .nav-cta {
    display: flex;
    position: fixed;
    bottom: 0; left: 0; right: 0;
    padding: 12px 24px calc(12px + env(safe-area-inset-bottom, 0px));
    background: #fff;
    justify-content: center;
    border-top: 2px solid var(--crimson, #9a1020);
    z-index: 1003;
    box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  }
  .nav-mobile-open .nav-cta .btn,
  .nav-links.open ~ .nav-cta .btn {
    border-radius: 24px;
    font-size: 0.82rem;
    padding: 11px 32px;
    background: var(--crimson, #9a1020);
    color: #fff;
    font-weight: 600;
  }
  .grid-2 { grid-template-columns: 1fr; gap: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .hero-stats { gap: 28px; flex-wrap: wrap; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .brand-section-header { flex-direction: column; align-items: flex-start; }
  .process-step { padding-left: 24px; }
  .process-step::before { left: -16px; width: 30px; height: 30px; }
  .form-check-group { grid-template-columns: 1fr; }
}

/* Hide WA widget when mobile nav is open — it's z-index:9999 and physically
   covers dropdown links on smaller Android/iOS screens                       */
body.nav-open #waWidget {
  display: none !important;
}
@media (max-width: 480px) {
  .grid-4 { grid-template-columns: 1fr; }
  .btn { padding: 12px 22px; font-size: 0.82rem; }
  .hero-stats { flex-direction: column; gap: 20px; }
  .hero-btns { flex-direction: column; align-items: center; }
  .cta-btns { flex-direction: column; align-items: center; }
}

/* ── UTILITY: HIGHLIGHT BLOCK ────────────────────────────────── */
.highlight-box {
  background: linear-gradient(135deg, rgba(139,26,26,0.06), rgba(201,168,76,0.08));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin: 24px 0;
}
.highlight-box p { font-size: 1.05rem; font-style: italic; margin: 0; color: var(--text); }

/* ── CHECKLIST ────────────────────────────────────────────────── */
.check-list { display: flex; flex-direction: column; gap: 12px; }
.check-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.check-list li::before {
  content: '\f058';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  color: var(--gold);
  font-size: 0.95rem;
  margin-top: 2px;
  flex-shrink: 0;
}
.check-list.white li { color: rgba(255,255,255,0.75); }
.check-list.white li::before { color: var(--gold-light); }

/* ── SECTION DIVIDER ─────────────────────────────────────────── */
.divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ── TAG LIST (products) ─────────────────────────────────────── */
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.tag {
  background: var(--ivory);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.8rem;
  padding: 5px 14px;
  border-radius: 20px;
}
.tag:hover { border-color: var(--gold); color: var(--dark-3); }

/* ── ACCORDION ────────────────────────────────────────────────── */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  margin-bottom: 12px;
  overflow: hidden;
}
.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--white);
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.accordion-header:hover { background: var(--ivory-2); }
.accordion-header i { color: var(--gold); transition: var(--transition); }
.accordion-header.open i { transform: rotate(180deg); }
.accordion-body {
  display: none;
  padding: 0 24px 20px;
  background: var(--white);
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.8;
}
.accordion-body.open { display: block; }

/* ── MOBILE PERFORMANCE & UX ENHANCEMENTS ──────────────────── */

/* Faster tap response — eliminates 300ms click delay on all interactive elements */
a, button, input, select, textarea, label,
[role="button"], .btn, .accordion-header, .nav-dropdown-btn {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

/* Minimum 44×44px tap targets on small screens (Apple HIG / WCAG 2.5.5) */
@media (max-width: 768px) {
  .btn { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .nav-links a, .nav-dropdown a { min-height: 44px; }
  .accordion-header { min-height: 44px; }
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  input[type="number"],
  select,
  textarea {
    min-height: 48px;
    font-size: 1rem; /* prevents iOS auto-zoom on focus (must be 16px / 1rem) */
    padding: 12px 14px;
    /* iOS select: prevent native chevron from overlapping text */
    -webkit-appearance: none;
    appearance: none;
  }
  /* Show a native-style dropdown arrow for selects on mobile */
  select.form-control {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238B1A1A' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 38px;
  }
}

/* Safe-area padding for iPhone notch / Dynamic Island */
@supports (padding: max(0px)) {
  .navbar .nav-inner {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
  footer .container {
    padding-left: max(20px, env(safe-area-inset-left));
    padding-right: max(20px, env(safe-area-inset-right));
  }
}

/* Prevent font-size inflation on landscape rotation (iOS Safari) */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

/* Smooth momentum scrolling for iOS */
body, .nav-links.open { -webkit-overflow-scrolling: touch; }

/* Reduce section padding further on very small phones */
@media (max-width: 380px) {
  :root { --section-py: 44px; }
  .container { padding: 0 16px; }
  h1, .h1 { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  h2, .h2 { font-size: clamp(1.4rem, 6vw, 2rem); }
}

/* Image optimisation — force GPU layer for hero/large images */
.hero img, .product-img img, .ti-shot-tall, .ti-shot-short {
  will-change: auto;
  transform: translateZ(0);
}

/* Prevent horizontal scroll caused by wide elements */
.container, section, footer { max-width: 100vw; overflow-x: hidden; }

/* Connect page — sidebar stacks below form on mobile */
@media (max-width: 768px) {
  .connect-sidebar { position: static !important; top: auto !important; }
}
