/* ===================================================================
   Sri Ganesh Chemicals — Coming Soon Landing Page
   Premium LIGHT theme — white background, royal blue & royal gold,
   drawn from the SGC brand visiting card.
   =================================================================== */

/* ---------- Design tokens ---------- */
:root {
  /* Brand navy / royal blue */
  --navy-950: #06152f;
  --navy-900: #0a1f47;
  --navy-800: #0d2b5e;
  --blue-700: #15397e;
  --blue-600: #1e56b0;
  --blue-500: #2f7fde;
  --blue-400: #5aa6f0;
  --blue-200: #c6dcf6;

  /* Brand green (logo only) */
  --green-500: #37a82f;
  --green-400: #5fce47;

  /* Royal gold */
  --gold-800: #8a6512;
  --gold-700: #9a7b1e;
  --gold-600: #bd922b;
  --gold-500: #d4af37;
  --gold-400: #e8c860;
  --gold-300: #f4dd8c;

  /* Light neutrals */
  --paper: #ffffff;
  --bg-1: #ffffff;
  --bg-2: #eaf1fb;
  --ink: #0d2b5e;          /* headings — navy */
  --body: #36465f;         /* body text — slate */
  --muted: #62718c;        /* muted text */
  --muted-soft: #8493a8;
  --line: #e3eaf4;         /* hairline borders */
  --field-bg: #f4f7fc;
  --danger: #d64545;
  --success: #34a853;

  /* Gradients */
  --grad-gold: linear-gradient(135deg, #bd922b, #f4dd8c 45%, #d4af37 70%, #bd922b);
  --grad-blue: linear-gradient(135deg, #1e56b0, #15397e);
  --grad-navy: linear-gradient(160deg, #0d2b5e, #06152f);

  /* Surfaces / shadow */
  --shadow-soft: 0 18px 50px rgba(13, 43, 94, 0.14);
  --shadow-card: 0 10px 30px rgba(13, 43, 94, 0.10);
  --shadow-gold: 0 10px 26px rgba(189, 146, 43, 0.30);

  /* Type */
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --container: 1120px;
  --radius: 16px;
  --radius-lg: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  color: var(--body);
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(1100px 650px at 85% -10%, rgba(47, 127, 222, 0.12), transparent 60%),
    radial-gradient(820px 560px at 0% 105%, rgba(212, 175, 55, 0.12), transparent 55%),
    linear-gradient(180deg, var(--bg-1) 0%, var(--bg-2) 100%);
  background-attachment: fixed;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}

/* ===================================================================
   LOADING SCREEN
   =================================================================== */
.loader {
  position: fixed; inset: 0; z-index: 1000;
  display: grid; place-items: center;
  background: linear-gradient(160deg, #ffffff, #e9f0fa);
  transition: opacity 0.7s var(--ease), visibility 0.7s var(--ease);
}
.loader--hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__inner { display: grid; place-items: center; text-align: center; }
.loader__logo {
  width: clamp(120px, 28vw, 165px); height: auto;
  filter: drop-shadow(0 10px 22px rgba(13, 43, 94, 0.18));
  animation: floaty 3s ease-in-out infinite;
}
.loader__ring {
  width: 54px; height: 54px; margin: 26px auto 18px; border-radius: 50%;
  border: 3px solid rgba(30, 86, 176, 0.15);
  border-top-color: var(--gold-500);
  border-right-color: var(--blue-500);
  animation: spin 0.9s linear infinite;
}
.loader__text {
  font-family: var(--font-display); font-weight: 700; letter-spacing: 0.5px;
  font-size: clamp(1.1rem, 4vw, 1.5rem);
  color: var(--ink);
  background: var(--grad-blue);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.loader__since {
  display: block; margin-top: 4px; font-size: 0.78rem; letter-spacing: 4px;
  text-transform: uppercase; color: var(--gold-700);
}

/* ===================================================================
   PREMIUM 3D GLASS BACKGROUND (soft gradient glows + floating glass)
   Sits behind all content (z-index:-1) and never receives pointer events.
   =================================================================== */
.bg-decor { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; perspective: 1200px; }

/* Soft colour glows */
.bg-glow { position: absolute; border-radius: 50%; filter: blur(72px); opacity: 0.7; animation: drift 20s ease-in-out infinite; }
.bg-glow--1 { width: 440px; height: 440px; top: -130px; left: -110px;
  background: radial-gradient(circle, rgba(47, 127, 222, 0.20), transparent 70%); }
.bg-glow--2 { width: 400px; height: 400px; bottom: -150px; right: -100px;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.20), transparent 70%); animation-delay: -7s; }
.bg-glow--3 { width: 320px; height: 320px; top: 42%; right: 24%;
  background: radial-gradient(circle, rgba(47, 127, 222, 0.13), transparent 70%); animation-delay: -12s; }

/* Floating frosted-glass shapes — premium 3D depth */
.glass-shape {
  position: absolute; border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.12));
  border: 1px solid rgba(255, 255, 255, 0.7);
  box-shadow: 0 30px 60px rgba(13, 43, 94, 0.12), inset 0 1px 1px rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0.7; transform-style: preserve-3d;
  animation: floatGlass 18s ease-in-out infinite;
}
.glass-shape--circle { border-radius: 50%; }
.glass-shape--1 { width: 300px; height: 300px; top: -70px; left: -80px; animation-duration: 19s; }
.glass-shape--2 { width: 210px; height: 210px; top: 14%; right: -70px; animation-duration: 15s; animation-delay: -5s;
  background: linear-gradient(135deg, rgba(212, 175, 55, 0.28), rgba(255, 255, 255, 0.10)); }
.glass-shape--3 { width: 340px; height: 230px; bottom: -90px; right: 9%; animation-duration: 22s; animation-delay: -9s; }
.glass-shape--4 { width: 150px; height: 150px; bottom: 16%; left: -50px; animation-duration: 16s; animation-delay: -3s;
  background: linear-gradient(135deg, rgba(47, 127, 222, 0.22), rgba(255, 255, 255, 0.10)); }

@keyframes floatGlass {
  0%, 100% { transform: translate3d(0, 0, 0) rotateX(0deg) rotateY(0deg); }
  50% { transform: translate3d(0, -26px, 0) rotateX(7deg) rotateY(-9deg); }
}

.bg-grid {
  position: absolute; inset: 0; opacity: 0.5;
  background-image:
    linear-gradient(rgba(21, 57, 126, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(21, 57, 126, 0.05) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 0%, transparent 75%);
}

/* Soft 3D gradient waves (ambient depth) */
.bg-waves {
  position: absolute; inset: -10%; opacity: 0.7;
  background:
    radial-gradient(40% 30% at 20% 30%, rgba(47,127,222,0.10), transparent 60%),
    radial-gradient(45% 35% at 80% 58%, rgba(212,175,55,0.10), transparent 60%),
    radial-gradient(40% 30% at 60% 92%, rgba(47,127,222,0.08), transparent 60%);
  filter: blur(22px);
  animation: drift 26s ease-in-out infinite alternate;
}

/* Molecular lattice — chemical theme (parallax via JS `translate` property) */
.bg-molecule { position: absolute; height: auto; color: var(--blue-600); opacity: 0.16; }
.bg-molecule--1 { width: 230px; top: 7%; right: 6%; animation: floaty 14s ease-in-out infinite; }
.bg-molecule--2 { width: 158px; bottom: 17%; left: 5%; color: var(--gold-600); opacity: 0.15;
  animation: floaty 17s ease-in-out infinite; animation-delay: -5s; }

/* Laboratory glassware silhouette — chemical theme */
.bg-lab {
  position: absolute; width: 120px; height: auto; color: var(--blue-500); opacity: 0.13;
  bottom: 7%; right: 11%; animation: floaty 20s ease-in-out infinite; animation-delay: -3s;
}

/* Keep the chemical motifs subtle / uncluttered on small screens */
@media (max-width: 640px) {
  .bg-lab, .bg-molecule--2 { display: none; }
  .bg-molecule--1 { width: 150px; opacity: 0.12; top: 4%; }
}

/* ===================================================================
   LAYOUT
   =================================================================== */
.page { position: relative; z-index: 1; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 36px; }
.eyebrow {
  font-size: 0.78rem; letter-spacing: 3px; text-transform: uppercase;
  font-weight: 700; color: var(--gold-700); margin-bottom: 10px;
}
.section-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2.3rem); line-height: 1.2; color: var(--ink);
}
.section-sub { margin-top: 12px; color: var(--muted); font-size: 1rem; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative; min-height: 100svh;
  display: grid; place-items: center; text-align: center;
  padding: 80px 20px 110px;
}
.hero__inner { max-width: 880px; }
.hero__brand { display: inline-block; }
.hero__logo {
  width: clamp(150px, 26vw, 215px); height: auto; margin: 0 auto 22px;
  filter: drop-shadow(0 14px 30px rgba(13, 43, 94, 0.18));
  animation: floaty 5s ease-in-out infinite;
}

/* Coming soon badge */
.badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 20px; border-radius: 999px;
  background: #fff; border: 1px solid var(--gold-500);
  color: var(--gold-700); font-weight: 700; letter-spacing: 2px;
  font-size: 0.8rem; text-transform: uppercase;
  position: relative; overflow: hidden;
  box-shadow: 0 6px 18px rgba(189, 146, 43, 0.18);
}
.badge::after {
  content: ""; position: absolute; top: 0; left: -120%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(212, 175, 55, 0.35), transparent);
  animation: shimmer 3.4s ease-in-out infinite;
}
.badge__dot {
  width: 8px; height: 8px; border-radius: 50%; background: var(--green-400);
  box-shadow: 0 0 0 0 rgba(95, 206, 71, 0.7); animation: pulse 1.8s infinite;
}

.hero__title {
  font-family: var(--font-display); font-weight: 800;
  font-size: clamp(2.1rem, 7vw, 4rem); line-height: 1.05; margin: 22px 0 6px;
  color: var(--ink);
  background: linear-gradient(180deg, #1e56b0 0%, #143a7e 60%, #0d2b5e 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__est {
  font-weight: 700; letter-spacing: 3px; text-transform: uppercase;
  font-size: clamp(0.78rem, 2.4vw, 0.95rem);
  color: var(--gold-700);
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.hero__role { margin-top: 16px; color: var(--blue-600); font-weight: 600; font-size: clamp(1rem, 3vw, 1.3rem); }
.hero__tagline { margin-top: 12px; color: var(--muted); font-style: italic; font-size: clamp(0.95rem, 2.6vw, 1.15rem); }
.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 34px; }

/* Scroll cue */
.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  width: 26px; height: 42px; border: 2px solid rgba(189, 146, 43, 0.6); border-radius: 14px;
  display: grid; place-items: start center; padding-top: 7px;
}
.scroll-cue span { width: 5px; height: 9px; border-radius: 3px; background: var(--gold-500); animation: scrollDot 1.8s infinite; }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border: 0; border-radius: 12px;
  font-size: 0.98rem; font-weight: 700; letter-spacing: 0.3px;
  position: relative; overflow: hidden;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s var(--ease);
  will-change: transform;
}
.btn svg { flex: none; }

/* Primary = royal gold with navy text */
.btn--primary { background: var(--grad-gold); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 38px rgba(189, 146, 43, 0.45); }
.btn--primary::after {
  content: ""; position: absolute; top: 0; left: -130%; width: 55%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.65), transparent);
  transform: skewX(-18deg); transition: left 0.6s var(--ease);
}
.btn--primary:hover::after { left: 130%; }

/* Ghost = white with gold border */
.btn--ghost { background: #fff; color: var(--ink); border: 1px solid var(--gold-500); }
.btn--ghost:hover { transform: translateY(-3px); background: #fbf5e4; color: var(--gold-800); border-color: var(--gold-600); }

.btn--block { width: 100%; margin-top: 6px; }
.btn:disabled { opacity: 0.7; cursor: not-allowed; transform: none !important; }

.btn__spinner {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(10, 31, 71, 0.3); border-top-color: var(--navy-900);
  display: none; animation: spin 0.8s linear infinite;
}
.btn.is-loading .btn__label { opacity: 0.45; }
.btn.is-loading .btn__spinner { display: inline-block; }

/* ===================================================================
   BRANDS STRIP
   =================================================================== */
.brands { max-width: var(--container); margin: 0 auto; padding: 30px 20px 50px; }
.brands__grid {
  list-style: none; display: grid; gap: 14px;
  grid-template-columns: repeat(3, 1fr); max-width: 900px; margin: 0 auto;
}
.brand-chip {
  text-align: center; padding: 18px 14px; border-radius: 14px;
  background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-card);
  font-weight: 600; color: var(--ink);
  transition: transform 0.3s var(--ease), border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.brand-chip:hover { transform: translateY(-4px); border-color: var(--gold-500); box-shadow: 0 14px 30px rgba(13, 43, 94, 0.14); }
.brands__dealer { text-align: center; margin-top: 22px; color: var(--muted); }
.brands__dealer strong { color: var(--blue-600); font-weight: 700; }

/* ===================================================================
   CONTACT / CALLBACK
   =================================================================== */
.contact { padding: 30px 20px 70px; }
.contact__card {
  max-width: 820px; margin: 0 auto; padding: clamp(24px, 5vw, 48px);
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); position: relative;
}
.contact__card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1.5px;
  background: linear-gradient(135deg, var(--gold-500), transparent 45%, var(--blue-400));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none; opacity: 0.5;
}

/* ---------- Form ---------- */
.form { margin-top: 8px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { margin-bottom: 16px; display: flex; flex-direction: column; }
.field label { font-size: 0.85rem; font-weight: 600; margin-bottom: 7px; color: var(--ink); }
.req { color: var(--gold-700); }
.opt { color: var(--muted-soft); font-weight: 400; font-size: 0.78rem; }

.field input, .field textarea, .select-wrap select {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  background: var(--field-bg); color: var(--ink);
  border: 1px solid #d6e0ee; font-size: 0.95rem; font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}
.field input::placeholder, .field textarea::placeholder { color: #9aa7bd; }
.field input:focus, .field textarea:focus, .select-wrap select:focus {
  outline: none; border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.20); background: #fff;
}
.field textarea { resize: vertical; min-height: 84px; }

.field.invalid input, .field.invalid textarea, .field.invalid .select-wrap select {
  border-color: var(--danger); box-shadow: 0 0 0 3px rgba(214, 69, 69, 0.12);
}
.field__error { color: var(--danger); font-size: 0.78rem; margin-top: 6px; display: none; }
.field.invalid .field__error { display: block; }

.select-wrap { position: relative; }
.select-wrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.select-wrap select { appearance: none; -webkit-appearance: none; cursor: pointer; }
.select-wrap select option { color: #0d2b5e; background: #fff; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__note { text-align: center; color: var(--muted-soft); font-size: 0.8rem; margin-top: 14px; }

/* ===================================================================
   FOOTER (navy band, like the card)
   =================================================================== */
.footer {
  background: linear-gradient(180deg, #ffffff 0%, #f2f7ff 100%);
  border-top: 1px solid rgba(13, 43, 94, 0.10);
  padding: 44px 20px 38px; text-align: center;
  display: grid; gap: 14px; justify-items: center; color: var(--muted);
}
.footer__brand img { width: clamp(120px, 22vw, 158px); height: auto; }
.footer__addr { color: var(--muted); font-size: 0.9rem; max-width: 560px; }
.footer__contact { margin-top: 6px; font-size: 0.9rem; }
.footer__contact a { color: var(--gold-800); font-weight: 600; transition: color 0.2s; }
.footer__contact a:hover { color: var(--blue-600); text-decoration: underline; }
.footer__legal { color: var(--muted-soft); font-size: 0.82rem; line-height: 1.7; margin-top: 6px; }

/* ===================================================================
   FLOATING INQUIRY WIDGET
   =================================================================== */
.widget { position: fixed; right: 22px; bottom: 22px; z-index: 900; }

.widget__fab {
  width: 62px; height: 62px; border-radius: 50%; border: 0;
  background: var(--grad-gold); color: var(--navy-900);
  display: grid; place-items: center; box-shadow: var(--shadow-gold);
  position: relative; transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.widget__fab:hover { transform: scale(1.07); box-shadow: 0 14px 34px rgba(189, 146, 43, 0.5); }
.widget__fab::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.6); animation: ring 2.2s ease-out infinite;
}
.widget__fab-icon { position: absolute; transition: opacity 0.25s, transform 0.35s var(--ease); }
.widget__fab-icon--close { opacity: 0; transform: rotate(-90deg) scale(0.6); }
.widget.is-open .widget__fab-icon--chat { opacity: 0; transform: rotate(90deg) scale(0.6); }
.widget.is-open .widget__fab-icon--close { opacity: 1; transform: rotate(0) scale(1); }
.widget.is-open .widget__fab::before { display: none; }

.widget__panel {
  position: absolute; right: 0; bottom: 78px; width: 290px; max-width: calc(100vw - 44px);
  background: #fff; border: 1px solid var(--line);
  border-radius: 18px; padding: 22px 20px; box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(16px) scale(0.96); transform-origin: bottom right;
  pointer-events: none; transition: opacity 0.3s var(--ease), transform 0.3s var(--ease);
}
.widget.is-open .widget__panel { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.widget__close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--muted); font-size: 1.5rem; line-height: 1; transition: color 0.2s; }
.widget__close:hover { color: var(--gold-700); }
.widget__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--ink); }
.widget__sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 16px; }

.widget__btn {
  display: flex; align-items: center; gap: 10px; justify-content: center;
  padding: 12px; border-radius: 11px; font-weight: 700; font-size: 0.95rem;
  margin-bottom: 10px; transition: transform 0.2s var(--ease), box-shadow 0.2s;
}
.widget__btn--call { background: var(--grad-blue); color: #fff; box-shadow: 0 8px 20px rgba(30, 86, 176, 0.30); }
.widget__btn--mail { background: var(--grad-gold); color: var(--navy-900); box-shadow: var(--shadow-gold); }
.widget__btn--wa { background: linear-gradient(135deg, #25D366, #1aa850); color: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.32); }
.widget__btn:hover { transform: translateY(-2px); }
.widget__emails { display: flex; flex-direction: column; gap: 2px; margin-top: 8px; font-size: 0.76rem; text-align: center; }
.widget__emails a { color: var(--muted); transition: color 0.2s; word-break: break-all; }
.widget__emails a:hover { color: var(--blue-600); }

/* ===================================================================
   MODALS
   =================================================================== */
.modal { position: fixed; inset: 0; z-index: 950; display: none; }
.modal.is-open { display: grid; place-items: center; }
.modal__overlay { position: absolute; inset: 0; background: rgba(13, 43, 94, 0.45); backdrop-filter: blur(4px); animation: fade 0.3s var(--ease); }
.modal__box {
  position: relative; z-index: 1; width: 100%; max-width: 420px; margin: 0 16px;
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  box-shadow: var(--shadow-soft); animation: popIn 0.4s var(--ease);
}
.modal__close { position: absolute; top: 12px; right: 14px; background: none; border: 0; color: var(--muted); font-size: 1.6rem; line-height: 1; transition: color 0.2s; }
.modal__close:hover { color: var(--gold-700); }
.modal__icon { width: 72px; height: 72px; border-radius: 50%; display: grid; place-items: center; margin: 0 auto 18px; }
.modal__icon--success { background: rgba(52, 168, 83, 0.12); }
.modal__box h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; color: var(--ink); margin-bottom: 8px; }
.modal__sub { color: var(--muted); font-size: 0.95rem; margin-bottom: 22px; }
.modal__box .btn { min-width: 130px; }
.modal__box .form { text-align: left; }

.tick__circle { stroke: var(--success); stroke-width: 3; stroke-dasharray: 151; stroke-dashoffset: 151; animation: drawCircle 0.6s var(--ease) forwards; }
.tick__check { stroke: var(--success); stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 48; stroke-dashoffset: 48; animation: drawCheck 0.35s var(--ease) 0.5s forwards; }

/* ===================================================================
   SCROLL REVEAL (only hides when JS is available)
   =================================================================== */
.reveal { transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
html.js .reveal:not(.in) { opacity: 0; transform: translateY(28px); }
html.js .reveal.in { opacity: 1; transform: none; }

/* ===================================================================
   KEYFRAMES
   =================================================================== */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes drift { 0%, 100% { transform: translate(0, 0) scale(1); } 50% { transform: translate(40px, -30px) scale(1.08); } }
@keyframes shimmer { 0% { left: -120%; } 55%, 100% { left: 130%; } }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(95, 206, 71, 0.6); } 70% { box-shadow: 0 0 0 10px rgba(95, 206, 71, 0); } 100% { box-shadow: 0 0 0 0 rgba(95, 206, 71, 0); } }
@keyframes ring { 0% { transform: scale(1); opacity: 0.7; } 100% { transform: scale(1.5); opacity: 0; } }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes popIn { from { opacity: 0; transform: translateY(20px) scale(0.95); } to { opacity: 1; transform: none; } }
@keyframes drawCircle { to { stroke-dashoffset: 0; } }
@keyframes drawCheck { to { stroke-dashoffset: 0; } }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 900px) { .brands__grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .form__row { grid-template-columns: 1fr; gap: 0; }
  .hero { padding: 70px 18px 96px; }
  .hero__actions { gap: 10px; }
  .btn { padding: 13px 22px; }
  .hero__actions .btn { min-width: 150px; }
  .contact__card { padding: 24px 18px; }
  .widget { right: 16px; bottom: 16px; }
  .widget__fab { width: 56px; height: 56px; }
}
@media (max-width: 420px) {
  .brands__grid { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
}
@media (min-width: 1400px) { .hero__inner { max-width: 960px; } }

/* ===================================================================
   ACCESSIBILITY — reduced motion
   =================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important; animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important; scroll-behavior: auto !important;
  }
  html.js .reveal:not(.in) { opacity: 1; transform: none; }
}

/* ===================================================================
   CUSTOM PREMIUM DROPDOWN (replaces native <select> everywhere)
   =================================================================== */
.cs-on::after { display: none !important; }     /* hide old CSS arrow on enhanced selects */

.cs { position: relative; width: 100%; font-family: var(--font-body); }
.toolbar .cs { width: auto; min-width: 168px; }

.cs__trigger {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px;
  padding: 12px 14px; border-radius: 10px;
  background: var(--field-bg); color: var(--ink);
  border: 1px solid #d6e0ee; font: inherit; font-size: 0.95rem; text-align: left;
  cursor: pointer; transition: border-color .2s var(--ease), box-shadow .2s var(--ease), background .2s var(--ease);
}
.toolbar .cs__trigger { padding: 11px 14px; font-size: 0.9rem; }
.cs__trigger:hover { border-color: var(--gold-400); }
.cs__trigger:focus-visible { outline: none; border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,.20); }
.cs--open .cs__trigger { border-color: var(--gold-500); box-shadow: 0 0 0 3px rgba(212,175,55,.18); background: #fff; }
.cs__value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cs__value--placeholder { color: #9aa7bd; }

.cs__arrow {
  width: 9px; height: 9px; flex: none; margin-left: 4px;
  border-right: 2px solid var(--gold-600); border-bottom: 2px solid var(--gold-600);
  transform: rotate(45deg) translate(-1px, -2px); transition: transform .25s var(--ease);
}
.cs--open .cs__arrow { transform: rotate(-135deg) translate(0, 1px); }

.cs__menu {
  list-style: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); z-index: 200;
  margin: 0; padding: 6px; max-height: 260px; overflow-y: auto;
  background: rgba(255,255,255,0.88); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(-8px) scale(0.98); transform-origin: top; pointer-events: none;
  transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.cs--open .cs__menu { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }

.cs__opt {
  padding: 10px 12px; border-radius: 9px; font-size: 0.92rem; color: var(--ink);
  cursor: pointer; transition: background .15s, color .15s;
}
.cs__opt:hover, .cs__opt--active { background: rgba(47,127,222,0.10); }
.cs__opt[aria-selected="true"] { background: var(--grad-gold); color: var(--navy-900); font-weight: 600; }

/* validation state mirrored onto the custom trigger */
.field.invalid .cs__trigger { border-color: var(--danger); box-shadow: 0 0 0 3px rgba(214,69,69,.12); }

:focus-visible { outline: 2px solid var(--gold-500); outline-offset: 3px; border-radius: 6px; }


/* Brand chips link through to the public catalogue */
.brands__grid a.brand-chip { display: block; text-decoration: none; }
.brands__grid a.brand-chip:hover { border-color: var(--gold-500); color: var(--navy-900); }
.brands__grid li { list-style: none; }
.field input.is-prefilled {
  border-color: var(--gold-500);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
  animation: prefillGlow 1.6s ease-out 1;
}
@keyframes prefillGlow {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.5); }
  100% { box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16); }
}


/* ===================================================================
   ENQUIRY LIST SUMMARY (shown in the callback form)
   =================================================================== */
.cartsum {
  border: 1px solid rgba(212, 175, 55, 0.45); background: rgba(212, 175, 55, 0.06);
  border-radius: 14px; padding: 14px 16px; margin-bottom: 14px;
}
.cartsum__head { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; color: var(--gold-800); }
.cartsum__head strong { font-size: 0.9rem; }
.cartsum__spacer { flex: 1; }
.cartsum__more { font-size: 0.82rem; color: var(--blue-600); font-weight: 600; }
.cartsum__clear { border: 0; background: none; color: var(--muted); font-size: 0.82rem; cursor: pointer; padding: 0 0 0 12px; }
.cartsum__clear:hover { color: var(--danger); }
.cartsum__list { list-style: none; margin: 0; padding: 0; max-height: 210px; overflow-y: auto; }
.cartsum__list li {
  display: flex; gap: 10px; align-items: baseline;
  padding: 7px 0; border-bottom: 1px solid rgba(212, 175, 55, 0.22); font-size: 0.86rem;
}
.cartsum__list li:last-child { border-bottom: 0; }
.cartsum__list .n { color: var(--muted-soft); font-variant-numeric: tabular-nums; min-width: 18px; }
.cartsum__list .nm { flex: 1; color: var(--ink); }
.cartsum__list .nm small { display: block; color: var(--muted); font-size: 0.78rem; margin-top: 1px; }
.cartsum__list .q { color: var(--gold-800); font-weight: 700; white-space: nowrap; }
.cartsum__note { margin: 10px 0 0; font-size: 0.78rem; color: var(--muted); }
