/* ==========================================================================
   Star Electrical Trading — Stylesheet
   UI combines the two reference sites:
   - sparkelectricalqa.com  : amber top bar, info header, Kalam hero type,
                              welcome / mission / values, dark rounded product
                              range with yellow labels, logo strip, black footer
   - startechnotrading.com  : "All Departments" menu, promo cards, product tabs,
                              orange offer banner, TOP BRANDS grid, sign-up strip
   ========================================================================== */

:root {
  --amber: #ffcc00;        /* logo yellow (primary accent) */
  --yellow: #ffcc00;       /* logo yellow (labels) */
  --orange: #012f87;       /* logo navy (secondary accent) */
  --purple: #012f87;       /* logo navy (buttons) */
  --blue: #012f87;         /* product titles */
  --dark: #0a1f4f;         /* deep navy section */
  --navy-deep: #061538;    /* footer */
  --black: #000;
  --heading: #2b2b2b;
  --text: #555;
  --muted: #8f8f8f;
  --light: #f6f6f6;
  --nav: #ebebeb;
  --border: #e5e5e5;
  --white: #fff;
  --whatsapp: #25d366;

  --font: "Poppins", Arial, sans-serif;
  --font-head: "Roboto", "Poppins", Arial, sans-serif;
  --font-script: "Kalam", cursive;

  --container: 1200px;
  --ease: cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base ---------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--heading); line-height: 1.25; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; }
:focus-visible { outline: 2px solid var(--amber); outline-offset: 2px; }

.container { width: 100%; max-width: calc(var(--container) + 40px); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--light { background: var(--light); }
.text-center { text-align: center; }

/* Headings: Spark "Welcome to <amber>" and Star Techno "TOP BRANDS." */
.title-spark { font-size: 32px; font-weight: 600; text-align: center; margin-bottom: 18px; }
.title-spark span { color: var(--amber); }
.title-dot {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 40px;
}
.title-dot::after { content: "."; color: var(--amber); }

/* Buttons ---------------------------------------------------------------- */
/* Star Techno "Shop now" pill with orange arrow circle */
.btn-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px 6px 14px;
  background: var(--white);
  color: #000;
  font-size: 12px;
  font-weight: 500;
  border-radius: 15px;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
  transition: background .3s, color .3s;
}
.btn-pill i {
  width: 18px; height: 18px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: var(--orange);
  font-style: normal;
}
.btn-pill i svg { width: 9px; height: 9px; }
.btn-pill:hover { background: var(--orange); color: #fff; }
.btn-pill:hover i { background: var(--amber); color: var(--orange); }

/* Star Techno purple "Learn more" / "Know More" */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 26px;
  border: 0;
  border-radius: 4px;
  background: var(--purple);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background .3s, transform .3s;
}
.btn:hover { background: #00205f; }
.btn--amber { background: var(--amber); color: var(--orange); }
.btn--amber:hover { background: var(--yellow); }
.btn--orange { background: var(--orange); }
.btn--orange:hover { background: #00205f; }
.btn--whatsapp { background: var(--whatsapp); }
.btn--whatsapp:hover { background: #1ebe5b; }
.btn svg { width: 16px; height: 16px; }

/* 1. Top bar (Spark amber band + Star Techno links) ----------------------- */
.topbar { background: var(--amber); color: var(--orange); font-size: 12.5px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; min-height: 38px; gap: 20px; }
.topbar__left, .topbar__right { display: flex; align-items: center; }
.topbar__left span { display: inline-flex; align-items: center; gap: 7px; margin-right: 24px; }
.topbar svg { width: 14px; height: 14px; }
.topbar__right a { padding: 0 14px; border-left: 1px solid rgba(1,47,135,.3); line-height: 1; }
.topbar__right a:first-child { border-left: 0; }
.topbar__right a:last-child { padding-right: 0; }
.topbar a:hover { color: #000; }

/* 2. Header (Spark logo + info items) ------------------------------------- */
.header-main { background: #fff; }
.header-main .container { display: flex; align-items: center; justify-content: space-between; min-height: 100px; gap: 30px; }
.logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo__icon {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--amber);
  color: #fff;
  box-shadow: inset 0 0 0 4px rgba(255,255,255,.35);
}
.logo__icon svg { width: 28px; height: 28px; }
.logo__text { display: flex; flex-direction: column; line-height: 1; }
.logo__name { font-family: var(--font-script); font-size: 34px; font-weight: 700; color: #222; line-height: .9; }
.logo__sub { font-size: 10.5px; font-weight: 600; font-style: italic; letter-spacing: .06em; color: #222; text-transform: uppercase; margin-top: 4px; }
.logo--light .logo__name, .logo--light .logo__sub { color: #fff; }

.header-info { display: flex; align-items: center; gap: 44px; }
.info-item { display: flex; align-items: center; gap: 12px; }
.info-item__icon {
  width: 36px; height: 36px;
  display: grid; place-items: center;
  border: 1.5px solid var(--amber);
  border-radius: 50%;
  color: var(--amber);
  flex-shrink: 0;
}
.info-item__icon svg { width: 16px; height: 16px; }
.info-item strong { display: block; font-size: 12px; font-weight: 500; color: #000; line-height: 1.2; }
.info-item div > span, .info-item div > a { display: block; font-size: 12px; color: var(--muted); line-height: 1.4; }
.info-item div > a:hover { color: var(--amber); }

/* 3. Navigation (Spark grey bar + Star Techno "All Departments") ---------- */
.header-nav { background: var(--nav); position: sticky; top: 0; z-index: 100; transition: box-shadow .3s; }
.header-nav.is-stuck { box-shadow: 0 4px 18px rgba(0,0,0,.08); }
.header-nav .container { display: flex; align-items: stretch; min-height: 54px; }
.dept-toggle {
  position: relative;
  width: 270px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 20px;
  border: 0;
  border-radius: 10px 10px 0 0;
  background: var(--orange);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}
.dept-toggle svg { width: 20px; height: 20px; }
.dept-toggle .chev { width: 10px; height: 10px; margin-left: auto; transition: transform .3s; }
.dept-wrap { position: relative; }
.dept-wrap.is-open .dept-toggle .chev { transform: rotate(180deg); }
.dept-menu {
  position: absolute;
  left: 0; top: 100%;
  width: 270px;
  z-index: 60;
  background: #fff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 8px 20px 0;
  display: none;
}
.dept-wrap.is-open .dept-menu { display: block; }
.dept-menu li a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 0;
  font-size: 13.5px;
  font-weight: 500;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
}
.dept-menu li a::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--c, var(--orange)); flex-shrink: 0; }
.dept-menu li a:hover { color: var(--orange); padding-left: 4px; }
.dept-menu__all {
  display: flex !important;
  margin: 0 -20px;
  padding: 12px 20px !important;
  background: #f1f1f1;
  border-radius: 0 0 10px 10px;
  border: 0 !important;
  font-weight: 600 !important;
}
.dept-menu__all::before { content: "+" !important; background: none !important; width: auto !important; height: auto !important; font-size: 16px; }

.main-menu { display: flex; align-items: center; margin-left: 40px; }
.main-menu > li > a {
  display: block;
  padding: 16px 20px;
  font-size: 14px;
  font-weight: 500;
  color: #000;
  text-transform: uppercase;
  position: relative;
}
.main-menu > li > a::after {
  content: "";
  position: absolute;
  left: 20px; right: 20px; bottom: 10px;
  height: 2px;
  background: var(--amber);
  transform: scaleX(0);
  transition: transform .3s var(--ease);
}
.main-menu > li > a:hover::after,
.main-menu > li.is-active > a::after { transform: scaleX(1); }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 10px; font-size: 13.5px; font-weight: 500; color: #000; }
.nav-right svg { width: 20px; height: 20px; color: var(--orange); }
.nav-right a:hover { color: var(--orange); }

.menu-toggle { display: none; }

/* 4. Hero slider (Spark Kalam type + Star Techno "Shop now") -------------- */
.hero { position: relative; height: 560px; background: #111; overflow: hidden; }
.hero-slide {
  position: absolute; inset: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1s var(--ease), visibility 0s linear 1s;
}
.hero-slide.is-active { opacity: 1; visibility: visible; transition: opacity 1s var(--ease); z-index: 1; }
.hero-slide > img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s linear; }
.hero-slide.is-active > img { transform: scale(1); }
.hero-slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.35) 45%, rgba(0,0,0,.55) 100%); }
.hero-slide .container { position: absolute; inset: 0; left: 0; right: 0; z-index: 2; display: flex; align-items: center; }
.hero-caption { margin-left: 330px; max-width: 640px; }
.hero-caption small {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 10px;
}
.hero-caption h1, .hero-caption h2 {
  font-family: var(--font-script);
  font-size: clamp(38px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  color: #fff;
  text-transform: uppercase;
  text-shadow: 0 3px 14px rgba(0,0,0,.35);
  margin-bottom: 26px;
}
.hero-caption h1 em, .hero-caption h2 em { font-style: normal; color: var(--amber); display: block; }
/* letter-by-letter reveal like Spark's typing headline */
.hero-caption .typing em { clip-path: inset(0 100% 0 0); }
.hero-slide.is-active .typing em { animation: typeIn 1.4s steps(18, end) .5s forwards; }
@keyframes typeIn { to { clip-path: inset(0 0 0 0); } }
.hero-caption > * { opacity: 0; transform: translateY(18px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.hero-slide.is-active .hero-caption > * { opacity: 1; transform: none; }
.hero-slide.is-active .hero-caption > :nth-child(2) { transition-delay: .15s; }
.hero-slide.is-active .hero-caption > :nth-child(3) { transition-delay: .3s; }
.hero-caption .btn-pill { font-size: 13px; padding: 8px 10px 8px 18px; }
.hero-caption .btn-pill i { width: 22px; height: 22px; }

.hero-dots { position: absolute; z-index: 5; left: 50%; bottom: 22px; transform: translateX(-50%); display: flex; gap: 8px; padding-left: 330px; }
.hero-dots button { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.hero-dots button.is-active { width: 26px; border-radius: 5px; background: var(--amber); }
.hero-arrow {
  position: absolute; z-index: 5; top: 50%;
  width: 44px; height: 44px; margin-top: -22px;
  display: grid; place-items: center;
  border: 0; border-radius: 50%;
  background: rgba(255,255,255,.18);
  color: #fff; cursor: pointer;
  transition: background .3s;
}
.hero-arrow:hover { background: var(--amber); color: var(--orange); }
.hero-arrow svg { width: 16px; height: 16px; }
.hero-arrow--prev { left: calc(max(20px, (100% - 1200px) / 2) + 300px); }
.hero-arrow--next { right: 24px; }
.hero .dept-holder { position: absolute; inset: 0; z-index: 6; pointer-events: none; }
.hero .dept-holder .container { position: relative; height: 100%; }

/* 5. Promo cards (Star Techno) -------------------------------------------- */
.promo { padding: 50px 0 20px; }
.promo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.promo-card {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 170px;
  padding: 24px;
  border: 1px solid #ddd;
  background: #fff;
  overflow: hidden;
  transition: box-shadow .3s;
}
.promo-card:hover { box-shadow: 0 10px 30px rgba(0,0,0,.08); }
.promo-card__text { position: relative; z-index: 2; max-width: 55%; }
.promo-card small { display: block; font-size: 12px; color: #333; text-transform: uppercase; margin-bottom: 4px; }
.promo-card h3 { font-family: var(--font); font-size: 19px; font-weight: 600; line-height: 1.15; color: #000; text-transform: uppercase; margin-bottom: 14px; }
.promo-card__img {
  position: absolute; right: 0; top: 0; bottom: 0; width: 52%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%);
}
.promo-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.promo-card:hover .promo-card__img img { transform: scale(1.06); }

/* 6. Welcome (Spark) ----------------------------------------------------- */
.welcome p { max-width: 1000px; margin: 0 auto; text-align: center; font-family: var(--font-head); font-size: 16px; color: var(--heading); }

/* 7. Mission / Vision (Spark) --------------------------------------------- */
.mv { display: grid; grid-template-columns: 1fr 1fr; max-width: 1000px; margin: 50px auto 0; }
.mv__item { padding: 10px 40px 20px; text-align: center; }
.mv__item + .mv__item { border-left: 2px solid var(--amber); }
.mv__icon { width: 60px; height: 60px; margin: 0 auto 14px; color: var(--yellow); }
.mv__icon svg { width: 100%; height: 100%; }
.mv__item h3 { font-size: 32px; font-weight: 600; }
.mv__item p { font-family: var(--font-head); font-size: 15px; color: var(--heading); margin: 0; }

/* 8. Values (Spark: image on yellow circle + icon list) -------------------- */
.values { padding: 60px 0 0; overflow: hidden; }
.values .container { display: grid; grid-template-columns: 5fr 7fr; align-items: center; gap: 40px; }
.values__media { position: relative; height: 470px; }
.values__media::before {
  content: "";
  position: absolute;
  left: -120px; bottom: -60px;
  width: 440px; height: 440px;
  border-radius: 50%;
  background: var(--yellow);
}
.values__media img {
  position: relative;
  width: 380px; height: 380px;
  margin: 40px 0 0 20px;
  object-fit: cover;
  border-radius: 50%;
  border: 10px solid #fff;
  box-shadow: 0 20px 50px rgba(0,0,0,.15);
}
.values__list { display: grid; gap: 34px; padding-left: 10px; }
.value-item { display: flex; align-items: center; gap: 22px; }
.value-item__icon { width: 54px; height: 54px; color: var(--amber); flex-shrink: 0; }
.value-item__icon svg { width: 100%; height: 100%; }
.value-item h3 { font-size: 24px; font-weight: 600; margin: 0; }
.value-item p { margin: 4px 0 0; font-size: 14px; color: var(--muted); }

/* 9. Product range (Spark dark rounded section) ---------------------------- */
.range { background: var(--dark); border-radius: 60px; padding: 70px 0 80px; margin-top: 40px; }
.range .title-spark { color: #fff; margin-bottom: 40px; }
.range-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; max-width: 1060px; margin: 0 auto; }
.range-card { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; background: #333; }
.range-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.range-card:hover img { transform: scale(1.07); }
.range-card span {
  position: absolute;
  left: 0; bottom: 20px;
  max-width: 92%;
  padding: 9px 26px 9px 14px;
  background: var(--yellow);
  border-radius: 0 30px 30px 0;
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 700;
  color: #222;
  line-height: 1.2;
  transition: background .3s, padding .3s;
}
.range-card:hover span { background: #fff; padding-right: 34px; }
.range-card--cta { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; padding: 30px; background: var(--amber); text-align: center; }
.range-card--cta h3 { font-family: var(--font-head); font-size: 26px; color: #000; margin: 0; }
.range-card--cta p { color: #222; margin: 0; font-size: 14px; }

/* 10. Product tabs (Star Techno) ------------------------------------------ */
.tabs-nav { display: flex; justify-content: center; gap: 36px; margin-bottom: 36px; border-bottom: 1px solid #eee; }
.tabs-nav button {
  position: relative;
  padding: 0 0 12px;
  border: 0;
  background: none;
  font-size: 18px;
  font-weight: 500;
  color: #666;
  cursor: pointer;
}
.tabs-nav button::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--orange); transform: scaleX(0); transition: transform .3s; }
.tabs-nav button.is-active { color: #000; }
.tabs-nav button.is-active::after { transform: scaleX(1); }
.tab-panel { display: none; }
.tab-panel.is-active { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; animation: fadeUp .5s var(--ease); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.product-card { display: flex; flex-direction: column; }
.product-card__img {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 10px;
  border: 1px solid #eee;
  background: #fff;
  overflow: hidden;
}
.product-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.product-card:hover .product-card__img img { transform: scale(1.06); }
.product-card__badge { position: absolute; left: 10px; top: 10px; padding: 1px 9px; border-radius: 20px; background: var(--orange); color: #fff; font-size: 11px; font-weight: 500; }
.product-card__cat { margin-top: 14px; font-size: 12.5px; color: #555; }
.product-card h3 { font-family: var(--font); font-size: 14px; font-weight: 500; color: var(--blue); margin: 2px 0 6px; line-height: 1.4; }
.product-card:hover h3 { color: var(--orange); }
.product-card__link { font-size: 12.5px; font-weight: 500; color: #000; }
.product-card__link:hover { color: var(--orange); }

/* 11. Offer banner (Star Techno orange) ----------------------------------- */
.offer { position: relative; background: var(--orange); color: #fff; overflow: hidden; padding: 70px 0; text-align: center; }
.offer::before, .offer::after { content: ""; position: absolute; border-radius: 50%; background: rgba(255,255,255,.08); }
.offer::before { width: 420px; height: 420px; left: -120px; top: -160px; }
.offer::after { width: 300px; height: 300px; right: 18%; bottom: -170px; }
.offer h2 { font-family: var(--font); font-size: 30px; font-weight: 500; color: #fff; margin-bottom: 12px; position: relative; z-index: 1; }
.offer p { font-size: 17px; position: relative; z-index: 1; margin-bottom: 22px; }
.offer .btn-pill { position: relative; z-index: 1; font-size: 13px; padding: 8px 10px 8px 18px; }
.offer__img { position: absolute; right: -20px; top: 50%; transform: translateY(-50%); width: 230px; height: 230px; border-radius: 50%; overflow: hidden; border: 8px solid rgba(255,255,255,.25); }
.offer__img img { width: 100%; height: 100%; object-fit: cover; }
.offer__img--left { right: auto; left: -40px; width: 180px; height: 180px; }

/* 12. Brands (Star Techno grid + Spark dots) ------------------------------ */
.brands-viewport { overflow: hidden; }
.brands-track { display: flex; gap: 16px; transition: transform .6s var(--ease); }
.brand-box {
  flex: 0 0 calc((100% - 16px * 5) / 6);
  height: 110px;
  display: grid; place-items: center;
  padding: 20px;
  border: 1px solid #ddd;
  background: #fff;
  transition: border-color .3s, box-shadow .3s;
}
.brand-box:hover { border-color: var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,.07); }
.brand-box img { max-height: 54px; max-width: 130px; width: auto; }
.brand-box img.is-square { max-height: 66px; }
.brands-dots { display: flex; justify-content: center; gap: 6px; margin-top: 26px; }
.brands-dots button { width: 9px; height: 9px; padding: 0; border: 0; border-radius: 50%; background: #ccc; cursor: pointer; }
.brands-dots button.is-active { background: var(--orange); }

/* 13. Quote strip (Star Techno sign-up pill) ------------------------------ */
.quote-strip { position: relative; z-index: 2; margin-bottom: -55px; }
.quote-strip__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 34px;
  border-radius: 60px;
  background: #111 url("../img/warehouse.jpg") center / cover;
  overflow: hidden;
}
.quote-strip__inner::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.92) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.85) 100%); }
.quote-strip__inner > * { position: relative; }
.quote-strip h3 { font-family: var(--font); font-size: 22px; font-weight: 500; color: #fff; margin: 0; }
.quote-strip p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,.75); }
.quote-strip .btn-group { display: flex; gap: 10px; flex-shrink: 0; }
.quote-strip .btn { border-radius: 4px; text-transform: uppercase; font-size: 13px; }

/* 14. Footer (Spark black) ------------------------------------------------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); font-size: 13px; padding-top: 110px; }
.footer-grid { display: grid; grid-template-columns: 4fr 2fr 2fr 3fr; gap: 40px; padding-bottom: 50px; }
.footer-about p { margin-top: 24px; line-height: 1.85; }
.footer-col h4 { font-family: var(--font); font-size: 13px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #fff; margin-bottom: 22px; }
.footer-col li { margin-bottom: 10px; }
.footer-col li a { display: inline-flex; align-items: center; gap: 8px; }
.footer-col li a::before { content: ""; border: 4px solid transparent; border-left-color: var(--amber); margin-right: -2px; }
.footer-col li a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 12px; }
.footer-contact li a::before { display: none; }
.footer-contact svg { width: 14px; height: 14px; color: var(--amber); margin-top: 4px; flex-shrink: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.35); padding: 22px 0; text-align: center; font-size: 11px; text-transform: uppercase; }
.footer-bottom span { color: var(--amber); }

/* Floating buttons -------------------------------------------------------- */
.back-top {
  position: fixed; right: 24px; bottom: 96px; z-index: 90;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  border: 1.5px solid var(--orange);
  border-radius: 50%;
  background: #fff;
  color: var(--orange);
  cursor: pointer;
  opacity: 0; visibility: hidden;
  transition: opacity .3s, visibility .3s, background .3s;
}
.back-top.is-visible { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--orange); color: #fff; }
.back-top svg { width: 16px; height: 16px; }
.whatsapp-float {
  position: fixed; right: 20px; bottom: 24px; z-index: 90;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--whatsapp);
  color: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  transition: transform .3s;
}
.whatsapp-float:hover { transform: scale(1.08); }
.whatsapp-float svg { width: 28px; height: 28px; }

/* Inner pages ------------------------------------------------------------- */
.page-banner { position: relative; padding: 90px 0; background: #111; color: #fff; overflow: hidden; text-align: center; }
.page-banner > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.page-banner .container { position: relative; }
.page-banner h1 { font-family: var(--font-script); font-size: clamp(36px, 5vw, 56px); color: #fff; text-transform: uppercase; margin-bottom: 8px; }
.page-banner h1 em { font-style: normal; color: var(--amber); }
.breadcrumb { display: flex; justify-content: center; gap: 8px; font-size: 13px; }
.breadcrumb a:hover { color: var(--amber); }
.breadcrumb span { color: var(--amber); }

.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-split img { width: 100%; border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; }
.about-split h2 { font-size: 32px; font-weight: 600; }
.about-split h2 span { color: var(--amber); }
.about-split p { color: var(--heading); font-family: var(--font-head); }

.brand-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.brand-card { display: flex; flex-direction: column; border: 1px solid #e3e3e3; border-radius: 10px; background: #fff; overflow: hidden; transition: box-shadow .3s; }
.brand-card:hover { box-shadow: 0 12px 30px rgba(0,0,0,.08); }
.brand-card__logo { display: grid; place-items: center; height: 140px; padding: 24px; border-bottom: 1px solid #eee; }
.brand-card__logo img { max-height: 60px; max-width: 180px; width: auto; }
.brand-card__logo img.is-square { max-height: 80px; }
.brand-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.brand-card__body small { font-size: 12px; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); }
.brand-card__body h3 { font-family: var(--font); font-size: 20px; font-weight: 600; margin: 4px 0 8px; }
.brand-card__body p { font-size: 14px; flex: 1; }
.brand-card__body .btn { align-self: flex-start; }

.contact-grid { display: grid; grid-template-columns: 4fr 7fr; gap: 40px; align-items: start; }
.contact-box { background: var(--dark); color: rgba(255,255,255,.8); border-radius: 20px; padding: 36px 32px; }
.contact-box h3 { color: #fff; font-family: var(--font); font-size: 22px; font-weight: 600; margin-bottom: 24px; }
.contact-box li { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px solid rgba(255,255,255,.12); font-size: 14px; }
.contact-box li:last-child { border-bottom: 0; }
.contact-box .info-item__icon { border-color: var(--amber); }
.contact-box strong { display: block; color: #fff; font-weight: 500; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; }
.contact-box a:hover { color: var(--amber); }
.contact-box .map-link { color: var(--amber); font-weight: 500; font-size: 13px; }

.quote-form { border: 1px solid #e3e3e3; border-radius: 20px; padding: 36px; background: #fff; }
.quote-form h3 { font-family: var(--font); font-size: 24px; font-weight: 600; margin-bottom: 4px; }
.quote-form > p { color: var(--muted); font-size: 14px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 24px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field--full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 500; color: #222; }
.form-field label b { color: var(--orange); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: var(--light);
  font: inherit;
  font-size: 14px;
  color: #222;
  transition: border-color .25s, background .25s;
}
.form-field textarea { min-height: 130px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--orange); background: #fff; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #e03131; }
.form-error { display: none; font-size: 12px; color: #e03131; }
.form-field.has-error .form-error { display: block; }
.form-actions { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 24px; flex-wrap: wrap; }
.form-actions small { color: var(--muted); }
.form-success { display: none; text-align: center; padding: 30px 10px; }
.form-success.is-visible { display: block; }
.form-success svg { width: 56px; height: 56px; color: var(--whatsapp); margin: 0 auto 14px; }
.map-frame { margin-top: 60px; border-radius: 20px; overflow: hidden; border: 1px solid #e3e3e3; }
.map-frame iframe { display: block; width: 100%; height: 420px; border: 0; }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal, .hero-caption > * { opacity: 1; transform: none; }
  .hero-caption .typing em { clip-path: none; }
}

/* Responsive -------------------------------------------------------------- */
@media (max-width: 1199px) {
  .header-info { gap: 24px; }
  .main-menu { margin-left: 16px; }
  .main-menu > li > a { padding: 16px 14px; }
  .main-menu > li > a::after { left: 14px; right: 14px; }
}

@media (max-width: 1023px) {
  .header-info .info-item:first-child { display: none; }
  .dept-wrap, .hero .dept-holder, .nav-right { display: none; }
  .hero-caption { margin-left: 0; }
  .hero-dots { padding-left: 0; }
  .hero-arrow--prev { left: 16px; }
  .hero-arrow--next { right: 16px; }

  .menu-toggle {
    display: flex; align-items: center; gap: 10px;
    padding: 0 16px;
    border: 0; background: var(--orange); color: #fff;
    font-size: 14px; font-weight: 600; cursor: pointer;
  }
  .menu-toggle svg { width: 20px; height: 20px; }
  .header-nav .container { justify-content: space-between; }
  .main-menu {
    position: fixed;
    top: var(--nav-top, 54px); left: 0; bottom: 0;
    width: min(320px, 85vw);
    margin: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    box-shadow: 10px 0 30px rgba(0,0,0,.15);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform .4s var(--ease);
    z-index: 120;
  }
  .menu-open .main-menu { transform: none; }
  .main-menu > li > a { padding: 15px 22px; border-bottom: 1px solid #eee; }
  .main-menu > li > a::after { display: none; }
  .main-menu > li.is-active > a { color: var(--orange); }
  .main-menu__cats { display: block !important; padding: 10px 22px 20px; }
  .main-menu__cats h4 { font-family: var(--font); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--orange); margin: 10px 0 6px; }
  .main-menu > li.main-menu__cats > a { display: block; padding: 7px 0; border: 0; font-size: 14px; font-weight: 400; text-transform: none; color: #333; }
  .nav-phone-mobile { display: flex !important; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 500; color: #000; }
  .nav-phone-mobile svg { width: 18px; height: 18px; color: var(--orange); }

  .promo-grid { grid-template-columns: 1fr 1fr; }
  .promo-card:last-child { grid-column: 1 / -1; }
  .values .container { grid-template-columns: 1fr; }
  .values__media { height: 400px; max-width: 460px; }
  .range { border-radius: 40px; }
  .tab-panel.is-active { grid-template-columns: repeat(2, 1fr); }
  .brand-box { flex-basis: calc((100% - 16px * 3) / 4); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .offer__img { display: none; }
  .brand-list { grid-template-columns: 1fr 1fr; }
  .contact-grid, .about-split { grid-template-columns: 1fr; }
  .quote-strip__inner { flex-direction: column; align-items: flex-start; border-radius: 30px; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }
  .section { padding: 56px 0; }
  .topbar .container { justify-content: center; }
  .topbar__right a { padding: 0 9px; font-size: 12px; }
  .header-main .container { min-height: 80px; }
  .header-info { display: none; }
  .logo__name { font-size: 28px; }
  .logo__icon { width: 44px; height: 44px; }
  .logo__icon svg { width: 24px; height: 24px; }

  .hero { height: 480px; }
  .hero-slide::after { background: rgba(0,0,0,.5); }
  .hero-caption { text-align: center; margin: 0 auto; }
  .hero-caption h1, .hero-caption h2 { font-size: 36px; }
  .hero-arrow { display: none; }

  .promo-grid { grid-template-columns: 1fr; }
  .title-spark { font-size: 26px; }
  .title-dot { font-size: 24px; }
  .mv { grid-template-columns: 1fr; }
  .mv__item { padding: 20px 10px; }
  .mv__item + .mv__item { border-left: 0; border-top: 2px solid var(--amber); }
  .mv__item h3 { font-size: 26px; }
  .values__media { height: 330px; }
  .values__media::before { width: 320px; height: 320px; left: -90px; }
  .values__media img { width: 280px; height: 280px; margin-left: 10px; }
  .value-item h3 { font-size: 19px; }
  .value-item__icon { width: 44px; height: 44px; }
  .range { border-radius: 28px; padding: 50px 0 56px; }
  .range-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .range-card span { font-size: 14px; padding: 7px 16px 7px 10px; bottom: 12px; }
  .range-card--cta h3 { font-size: 18px; }
  .range-card--cta p { display: none; }
  .tabs-nav { gap: 18px; overflow-x: auto; justify-content: flex-start; }
  .tabs-nav button { font-size: 15px; white-space: nowrap; }
  .tab-panel.is-active { gap: 14px; }
  .offer h2 { font-size: 22px; }
  .brand-box { flex-basis: calc((100% - 16px) / 2); height: 96px; }
  .quote-strip__inner { padding: 24px; }
  .quote-strip .btn-group { flex-direction: column; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-form, .contact-box { padding: 26px 20px; }
  .page-banner { padding: 64px 0; }
}

.main-menu__cats, .nav-phone-mobile { display: none; }

/* Products page detail blocks */
.product-detail { scroll-margin-top: 80px; }
.product-detail__num { display: block; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.spec-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 4px 0 24px; }
.spec-list li { position: relative; padding: 9px 0 9px 22px; border-bottom: 1px solid #eee; font-size: 14px; color: #333; }
.spec-list li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); }
@media (max-width: 1023px) { .product-detail img { order: 0 !important; } }
@media (max-width: 767px) { .spec-list { grid-template-columns: 1fr; } }

/* Small phones: keep the CTA tile button inside its square */
@media (max-width: 767px) {
  .range-card--cta { padding: 14px; gap: 10px; }
  .range-card--cta .btn-pill { padding: 6px 12px; font-size: 12px; white-space: nowrap; }
  .range-card--cta .btn-pill i { display: none; }
}

/* Tablet: keep the amber top bar on one line */
.topbar span, .topbar__right a { white-space: nowrap; }
@media (max-width: 1023px) {
  .topbar__left span { margin-right: 0; }
}
/* Product tabs: swipeable on phones without a visible scrollbar */
.tabs-nav { scrollbar-width: none; }
.tabs-nav::-webkit-scrollbar { display: none; }
@media (max-width: 767px) {
  .back-top { right: 26px; bottom: 92px; width: 40px; height: 40px; }
}

/* ==========================================================================
   Brand logo (uploaded star + bolt) and logo-based theme details
   ========================================================================== */
.logo__img { height: 60px; width: auto; flex-shrink: 0; }
.logo__name {
  font-family: var(--font);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: .01em;
  color: var(--orange);
  line-height: 1;
}
.logo__sub {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-size: 11px;
  font-weight: 600;
  font-style: normal;
  letter-spacing: .32em;
  color: var(--orange);
  margin-top: 6px;
}
.logo__sub::before { content: ""; width: 18px; height: 3px; background: var(--amber); flex-shrink: 0; }
.logo--light .logo__img { background: #fff; border-radius: 10px; padding: 6px 8px; height: 64px; }
.logo--light .logo__name, .logo--light .logo__sub { color: #fff; }

/* Text tiles for brands whose official logo file is still to be supplied */
.brand-word { font-family: var(--font); font-weight: 800; font-size: 26px; letter-spacing: .04em; color: var(--orange); line-height: 1; text-align: center; }
.brand-word small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .2em; color: #666; margin-top: 6px; }

/* Explore Our Product Category (icon grid) */
.cat-icons { display: grid; grid-template-columns: repeat(6, 1fr); gap: 34px 20px; }
.cat-icon { display: flex; flex-direction: column; align-items: center; gap: 14px; text-align: center; }
.cat-icon__img {
  position: relative;
  width: 96px; height: 96px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: #f1f4fa;
  color: var(--orange);
  transition: transform .35s var(--ease), background .35s var(--ease), color .35s;
}
.cat-icon__img::after { content: ""; position: absolute; right: 6px; bottom: 8px; width: 16px; height: 16px; border-radius: 50%; background: var(--amber); transition: transform .35s var(--ease); }
.cat-icon__img svg { width: 52px; height: 52px; position: relative; z-index: 1; }
.cat-icon span { font-size: 13px; font-weight: 600; color: var(--orange); text-transform: uppercase; line-height: 1.35; letter-spacing: .02em; }
.cat-icon:hover .cat-icon__img { transform: translateY(-6px); background: var(--orange); color: #fff; }
.cat-icon:hover .cat-icon__img::after { transform: scale(1.3); }

@media (max-width: 1023px) {
  .cat-icons { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 767px) {
  .logo__img { height: 46px; }
  .logo__name { font-size: 16px; }
  .logo__sub { font-size: 9px; letter-spacing: .22em; gap: 6px; }
  .logo__sub::before { width: 12px; }
  .cat-icons { grid-template-columns: repeat(3, 1fr); gap: 26px 10px; }
  .cat-icon__img { width: 74px; height: 74px; }
  .cat-icon__img svg { width: 40px; height: 40px; }
  .cat-icon span { font-size: 11px; }
}
@media (max-width: 400px) {
  .logo__name { font-size: 14px; }
  .logo__img { height: 40px; }
}

/* ==========================================================================
   Device fixes (touch targets + legibility)
   ========================================================================== */
/* "All Products" button fills the full nav bar height */
@media (min-width: 1024px) { .dept-wrap { display: flex; align-items: stretch; } }
.dept-toggle { min-height: 54px; }

/* Slider + brand dots: same look, 30px touch area */
.hero-dots { gap: 2px; }
.hero-dots button,
.brands-dots button { box-sizing: content-box; padding: 10px 7px; background-clip: content-box; }
.brands-dots { gap: 0; }

/* Header phone links: taller tap area */
.nav-right a { display: inline-block; padding: 12px 2px; }

/* Minimum readable sizes */
.brand-word small { font-size: 11px; letter-spacing: .14em; }
@media (max-width: 767px) {
  .logo__sub { font-size: 10px; letter-spacing: .18em; }
}
@media (max-width: 400px) {
  .logo__sub { letter-spacing: .12em; }
}
@media (max-width: 767px) { .range-card--cta .btn-pill { padding: 9px 14px; } }
/* keep the coloured part of active dots small (tap area stays 30px) */
.hero-dots button.is-active,
.brands-dots button.is-active { background-clip: content-box; }

/* Quote form: AJAX states */
.form-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-alert {
  margin: 18px 0 0;
  padding: 12px 16px;
  border-radius: 8px;
  border-left: 4px solid #e03131;
  background: #fff1f1;
  color: #a51111;
  font-size: 14px;
}
.form-alert[hidden] { display: none; }
.quote-form .btn { position: relative; min-width: 160px; }
.btn-spinner {
  display: none;
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,.35);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}
.quote-form.is-sending .btn-label { opacity: .6; }
.quote-form.is-sending .btn-spinner { display: inline-block; }
.quote-form.is-sending .btn { cursor: wait; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Footer bottom: copyright + "Powered by" credit */
.footer-bottom__inner { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; flex-wrap: wrap; }
.footer-bottom p { margin: 0; }
.footer-powered { color: rgba(255,255,255,.6); letter-spacing: .04em; }
.footer-powered a { color: var(--amber); font-weight: 600; text-transform: none; letter-spacing: .02em; }
.footer-powered a:hover { color: #fff; text-decoration: underline; }
@media (max-width: 767px) {
  .footer-bottom__inner { flex-direction: column; justify-content: center; text-align: center; }
}
@media (max-width: 767px) {
  /* keep copyright text clear of the floating WhatsApp / back-to-top buttons */
  .footer-bottom__inner { padding-left: 76px; padding-right: 76px; }
  .footer-bottom { padding-bottom: 28px; }
}

/* Contact page: our two shops */
.branches { margin-top: 70px; scroll-margin-top: 90px; }
.branch-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.branch-card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 30px 30px 32px;
  border: 1px solid #e3e3e3;
  border-top: 4px solid var(--orange);
  border-radius: 14px;
  background: #fff;
  transition: box-shadow .3s;
}
.branch-card:hover { box-shadow: 0 14px 34px rgba(1,47,135,.1); }
.branch-card__tag {
  align-self: flex-start;
  padding: 3px 12px;
  border-radius: 20px;
  background: var(--amber);
  color: var(--orange);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.branch-card h3 { font-family: var(--font); font-size: 22px; font-weight: 700; color: var(--orange); margin: 12px 0 16px; }
.branch-card ul { flex: 1; margin-bottom: 22px; }
.branch-card li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid #f0f0f0; font-size: 14px; color: #333; }
.branch-card li svg { width: 16px; height: 16px; color: var(--orange); flex-shrink: 0; margin-top: 3px; }
.branch-card li a:hover { color: var(--orange); }
.branch-card .btn { align-self: flex-start; }
@media (max-width: 767px) {
  .branch-grid { grid-template-columns: 1fr; }
  .branch-card { padding: 24px 20px 26px; }
}
/* long email addresses wrap instead of widening the layout */
.contact-grid > *, .branch-grid > *, .footer-grid > * { min-width: 0; }
a[href^="mailto:"] { overflow-wrap: anywhere; }

/* Top bar: both shop addresses always visible.
   Desktop: addresses left, links right. Tablet/phone: addresses on their own row. */
@media (max-width: 1023px) {
  .topbar .container { flex-direction: column; gap: 4px; padding-top: 7px; padding-bottom: 7px; }
  .topbar__left { flex-wrap: wrap; justify-content: center; gap: 2px 20px; }
  .topbar__right { justify-content: center; }
}
@media (max-width: 767px) {
  .topbar { font-size: 11.5px; }
  .topbar__left { flex-direction: column; gap: 3px; text-align: center; }
  .topbar__left span { white-space: normal; justify-content: center; }
  .topbar__right { padding-top: 5px; margin-top: 2px; border-top: 1px solid rgba(1,47,135,.15); width: 100%; }
}
@media (min-width: 1024px) and (max-width: 1199px) {
  .topbar .container { flex-direction: column; gap: 4px; padding-top: 7px; padding-bottom: 7px; }
  .topbar__left { flex-wrap: wrap; justify-content: center; gap: 2px 20px; }
  .topbar__left span { margin-right: 0; }
  .topbar__right { justify-content: center; }
}
