/* ============================================================
   FAIRDEAL — Sections
   One block per page section, in markup order.
   ============================================================ */

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0.75rem;
  z-index: 100;
  width: calc(100% - 1.5rem);
  max-width: 1480px;
  margin: 0.75rem auto 0;
  background: rgba(255,255,255,0.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border: 1px solid rgba(255,255,255,0.55);
  border-radius: 18px;
  box-shadow: 0 10px 30px -10px rgba(10,25,41,0.18);
  transition: background var(--t-base), border-color var(--t-base),
              box-shadow var(--t-base), backdrop-filter var(--t-base);
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-color: rgba(229,233,240,0.9);
  box-shadow: 0 14px 36px -10px rgba(10,25,41,0.22);
}
.nav .nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: var(--s-6);
  padding-block: 0.7rem;
  padding-inline: clamp(1rem, 2vw, 1.75rem);
  max-width: none;
}
.logo { display: flex; align-items: center; gap: var(--s-3); flex-shrink: 0; }
.logo-mark { height: 46px; width: auto; object-fit: contain; }
.logo-text-stack { display: flex; flex-direction: column; gap: 1px; line-height: 1; }
.logo-text-1 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; color: var(--primary); letter-spacing: -0.01em; }
.logo-text-2 { font-family: var(--font-body); font-size: 1.05rem; font-weight: 800; color: var(--ink); letter-spacing: -0.01em; }
.logo-tag    { font-size: 0.6rem; color: var(--text-soft); letter-spacing: 0.05em; text-transform: lowercase; margin-top: 2px; }
.nav-links {
  display: flex; gap: 1.75rem;
  list-style: none;
  font-size: 0.9rem; font-weight: 500;
  color: var(--text);
}
.nav-links a { position: relative; padding: 0.3rem 0; transition: color var(--t-fast); }
.nav-links a:hover { color: var(--primary-dark); }
.nav-links a::after {
  content: "";
  position: absolute; bottom: -2px; left: 0;
  width: 100%; height: 2px;
  background: var(--primary);
  transform: scaleX(0); transform-origin: right;
  transition: transform var(--t-base);
}
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-right { display: flex; align-items: center; gap: var(--s-3); }
.nav-cta {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.6rem 1.1rem;
  background: var(--ink); color: white;
  border-radius: 999px;
  font-weight: 600; font-size: 0.86rem;
  transition: background var(--t-fast), transform var(--t-fast);
  white-space: nowrap;
}
.nav-cta:hover { background: var(--primary-dark); transform: translateY(-1px); }
.menu-toggle { display: none; padding: 8px; flex-direction: column; gap: 5px; z-index: 101; }
.menu-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: all var(--t-base); transform-origin: center;
}
.menu-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.menu-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-call-btn {
  display: none; align-items: center; gap: 0.45rem;
  background: var(--primary); color: white;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  font-weight: 700; font-size: 0.88rem;
  box-shadow: 0 6px 20px -6px rgba(31,181,229,0.6);
  transition: background var(--t-fast);
}
.mobile-call-btn:hover { background: var(--primary-dark); }

@media (max-width: 960px) {
  .nav-links {
    position: absolute; top: calc(100% + 0.5rem); left: 0; right: 0;
    flex-direction: column;
    background: rgba(255,255,255,0.97);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    padding: 1.25rem 1.5rem 1.5rem;
    border: 1px solid rgba(229,233,240,0.85);
    border-radius: 18px;
    box-shadow: 0 20px 40px -10px rgba(10,25,41,0.18);
    transform: translateY(-110%); opacity: 0;
    transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), opacity var(--t-base);
    gap: 1.1rem;
    z-index: 99;
    max-height: calc(100vh - 100% - 1.5rem);
    overflow-y: auto;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .menu-toggle    { display: flex; }
  .nav-cta        { display: none; }
  .mobile-call-btn{ display: flex; }
  .logo-text-stack{ display: none; }
}
@media (max-width: 380px) {
  .logo-mark { height: 38px; }
  .mobile-call-btn { padding: 0.5rem 0.75rem; font-size: 0.78rem; gap: 0.35rem; }
  .nav-inner { gap: 0.6rem; }
}

/* ---- HERO ---- */
.hero {
  position: relative;
  padding-top: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2rem, 4vw, 3.5rem);
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 100% 0%, rgba(31,181,229,0.08), transparent 60%),
    radial-gradient(ellipse 60% 40% at 0% 100%, rgba(196,154,92,0.06), transparent 60%),
    var(--bg);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.hero-content { max-width: 620px; }
.hero h1 {
  font-size: clamp(2.3rem, 5.5vw, 4rem);
  font-weight: 600;
  font-variation-settings: "opsz" 144, "SOFT" 50, "WONK" 0;
  margin-bottom: 1.4rem;
  line-height: 1.08;
}
.hero h1 em {
  font-style: italic;
  color: var(--primary);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
}
.hero-tag {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 540px;
  line-height: 1.6;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-bottom: 2.5rem; }
.hero-meta {
  display: flex; gap: 2rem; flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  position: relative;
}
/* Hairline gold accent under the divider — only spans the first ~120px to feel like a deliberate flourish. */
.hero-meta::before {
  content: "";
  position: absolute;
  top: -1px; left: 0;
  width: 120px; height: 2px;
  background: linear-gradient(90deg, var(--gold) 0%, transparent 100%);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 1.7rem; font-weight: 600;
  color: var(--ink); line-height: 1;
  display: block;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.hero-meta-item .num span { color: var(--primary); }
.hero-meta-item .lbl { font-size: 0.78rem; color: var(--text-muted); margin-top: 0.35rem; line-height: 1.3; }

/* Hero slider */
.hero-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(10,25,41,0.22);
  aspect-ratio: 4 / 3.2;
  background: var(--ink);
}
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 0.9s ease; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  will-change: transform;
  transform: scale(1.08);
}
.hero-slide.active img { animation: ken-burns 8s var(--ease-out-soft) both; }
@keyframes ken-burns {
  from { transform: scale(1.08) translate(-1%, -1%); }
  to   { transform: scale(1.00) translate( 0%,  0%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-slide.active img { animation: none; transform: scale(1); }
}

.hero-progress {
  position: absolute; top: 0; left: 0;
  height: 3px; width: 0;
  background: var(--gold);
  z-index: 11;
  pointer-events: none;
  box-shadow: 0 0 12px rgba(196,154,92,0.5);
}
.hero-progress.run { transition: width 4s linear; width: 100%; }
.hero-visual:hover .hero-progress { transition: none; }
.hero-slide-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,41,0.82) 0%, rgba(10,25,41,0.15) 50%, transparent 100%);
}
.hero-slide-caption { position: absolute; bottom: 3.5rem; left: 1.75rem; right: 1.75rem; z-index: 2; }
.hero-slide-caption-label {
  font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.15em; text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.35rem;
}
.hero-slide-caption-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.85rem);
  font-weight: 600;
  color: white;
  line-height: 1.2;
  font-variation-settings: "opsz" 144, "SOFT" 60;
}
.hero-visual-since {
  position: absolute; top: 1.25rem; left: 1.25rem;
  z-index: 10;
  background: rgba(255,255,255,0.96);
  border-radius: 999px;
  padding: 0.32rem 0.85rem;
  font-size: 0.75rem; font-weight: 700;
  color: var(--ink);
  letter-spacing: 0.08em; text-transform: uppercase;
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.hero-visual-since span { color: var(--primary-dark); }
.slider-dots { position: absolute; bottom: 1.25rem; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 10; }
.slider-dot  {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(255,255,255,0.45);
  border: none; cursor: pointer;
  transition: all var(--t-base);
  padding: 0;
}
.slider-dot.active { background: white; transform: scale(1.3); }
.slider-dot:hover  { background: rgba(255,255,255,0.75); }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-visual { max-width: 480px; margin: 0 auto; width: 100%; aspect-ratio: 4 / 3; }
}
@media (max-width: 480px) {
  .hero { padding-top: 2rem; padding-bottom: 2.5rem; }
  .hero-meta { gap: 1rem 1.25rem; padding-top: 1.5rem; }
  .hero-meta-item { flex: 1 1 calc(50% - 0.625rem); }
  .hero-meta-item .num { font-size: 1.45rem; }
  .hero-meta-item .lbl { font-size: 0.72rem; }
  .hero-ctas .btn { flex: 1 1 auto; justify-content: center; }
  .hero-slide-caption { bottom: 2.25rem; left: 1.1rem; right: 1.1rem; }
  .hero-visual-since { padding: 0.28rem 0.7rem; font-size: 0.68rem; }
}
@media (max-width: 360px) {
  .hero-meta-item .num { font-size: 1.3rem; }
  .hero-ctas { gap: 0.6rem; }
  .hero-ctas .btn { padding: 0.8rem 1.1rem; font-size: 0.86rem; }
}

/* Entry animation */
.hero h1, .hero-tag, .hero-ctas, .hero-meta { animation: rise 0.7s ease-out backwards; }
.hero-tag    { animation-delay: 0.1s; }
.hero-ctas   { animation-delay: 0.2s; }
.hero-meta   { animation-delay: 0.3s; }
.hero-visual { animation: rise 0.9s ease-out 0.15s backwards; }

/* ---- TRUST STRIP ---- */
.trust { background: var(--ink); color: white; padding-block: 1.75rem; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; text-align: center; }
.trust-num {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 600;
  color: white; line-height: 1;
  letter-spacing: -0.02em;
  font-variation-settings: "opsz" 144, "SOFT" 80;
}
.trust-num span { color: var(--primary); }
.trust-lbl { font-size: 0.82rem; color: rgba(255,255,255,0.65); margin-top: 0.55rem; letter-spacing: 0.02em; line-height: 1.4; }
@media (max-width: 700px) { .trust-grid { grid-template-columns: repeat(2,1fr); gap: 2rem; } }
@media (max-width: 380px) {
  .trust { padding-block: 2rem; }
  .trust-grid { gap: 1.5rem 1rem; }
  .trust-num { font-size: 1.5rem; }
  .trust-lbl { font-size: 0.72rem; }
}

/* ---- CATEGORIES ---- */
.categories { background: var(--warm); }
.cat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}
.cat-card {
  background: white;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border-soft);
  transition: transform var(--t-base) var(--ease-out-spring),
              box-shadow var(--t-base),
              border-color var(--t-fast);
}
.cat-card:hover {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 24px 48px -16px rgba(10,25,41,0.18);
  border-color: var(--primary);
}
.cat-img-wrap { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--primary-tint); }
.cat-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.cat-card:hover .cat-img-wrap img { transform: scale(1.07); }
.cat-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,25,41,0.3) 0%, transparent 55%);
  transition: opacity var(--t-base);
}
.cat-card:hover .cat-overlay { opacity: 0.55; }
.cat-body { padding: 1.1rem 1.25rem 1.35rem; }
.cat-body h3 { font-size: 1rem; margin-bottom: 0.35rem; transition: color var(--t-fast); }
.cat-card:hover .cat-body h3 { color: var(--primary-dark); }
.cat-body p  { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }

@media (max-width: 900px) { .cat-grid { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 480px) { .cat-grid { grid-template-columns: 1fr; } }

/* ---- WHY US ---- */
.why-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.75rem;
  counter-reset: why;
}
.why-card {
  position: relative;
  background: white;
  border: 1px solid var(--border-soft);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: border-color var(--t-fast), box-shadow var(--t-fast), transform var(--t-fast);
  counter-increment: why;
}
.why-card::before {
  content: counter(why, decimal-leading-zero);
  position: absolute;
  top: 1.1rem; right: 1.5rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--gold);
  opacity: 0.7;
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  letter-spacing: 0.02em;
  transition: opacity var(--t-fast);
}
.why-card:hover::before { opacity: 1; }
.why-card:hover {
  border-color: var(--primary);
  box-shadow: 0 16px 40px -16px rgba(31,181,229,0.2);
  transform: translateY(-2px);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--primary-tint);
  display: grid; place-items: center;
  color: var(--primary-dark);
  margin-bottom: 1.25rem;
  transition: background var(--t-fast), color var(--t-fast);
  font-size: 1.55rem; font-weight: 800;
  font-family: var(--font-body);
}
.why-icon svg { width: 26px; height: 26px; }
.why-card:hover .why-icon { background: var(--primary); color: white; }
.why-card h3 { font-size: 1.08rem; margin-bottom: 0.6rem; }
.why-card p  { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }

@media (max-width: 900px) { .why-grid { grid-template-columns: repeat(2,1fr); gap: 1.25rem; } }
@media (max-width: 600px) { .why-grid { grid-template-columns: 1fr; } }

/* ---- HOW IT WORKS ---- */
.how-it-works { background: var(--warm); }
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  position: relative;
  margin-top: 1.75rem;
}
.steps-grid::before {
  content: "";
  position: absolute; top: 27px;
  left: calc(10% + 27px); right: calc(10% + 27px);
  height: 2px;
  background: linear-gradient(90deg, var(--primary), rgba(31,181,229,0.3));
  z-index: 0;
}
.step { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 0.5rem; position: relative; z-index: 1; }
.step-num {
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--primary); color: white;
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 700;
  display: grid; place-items: center;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px -8px rgba(31,181,229,0.5);
  border: 3px solid white;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.step:hover .step-num { transform: scale(1.1); box-shadow: 0 12px 30px -8px rgba(31,181,229,0.65); }
.step h4 {
  font-family: var(--font-display);
  font-size: 0.95rem; font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.4rem; line-height: 1.25;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.step p  { font-size: 0.92rem; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 900px) {
  .steps-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .steps-grid::before { display: none; }
  .step { flex-direction: row; text-align: left; gap: 1.25rem; align-items: flex-start; }
  .step-num { margin-bottom: 0; flex-shrink: 0; }
}

/* ---- STORY ---- */
.story { background: var(--ink); color: white; position: relative; overflow: hidden; }
.story::before {
  content: "";
  position: absolute;
  inset: auto -10% -50% auto;
  width: 50%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(31,181,229,0.18) 0%, transparent 60%);
}
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
  position: relative; z-index: 1;
}
.story-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 3;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,0.4);
}
.story-img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.story h2 {
  color: white;
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 80, "WONK" 1;
  margin-top: 0.75rem;
}
.story h2 em { font-style: italic; color: var(--primary); }
.story-body p { color: rgba(255,255,255,0.82); font-size: 1rem; line-height: 1.75; margin-top: 1.25rem; }
.story-quote {
  border-left: 3px solid var(--gold);
  padding: 0.5rem 0 0.5rem 1.5rem;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem; line-height: 1.55;
  color: white;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
}
@media (max-width: 900px) { .story-grid { grid-template-columns: 1fr; gap: 2rem; } }

/* ---- TESTIMONIALS ---- */
.testimonials { background: var(--warm); }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
.testimonial-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem 1.75rem 1.75rem 1.75rem;
  border: 1px solid var(--border-soft);
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base), border-color var(--t-base);
  overflow: hidden;
}
.testimonial-card::before {
  content: "\201C"; /* left double quote */
  position: absolute;
  top: -0.35rem; right: 0.9rem;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 5rem;
  line-height: 1;
  color: var(--gold);
  opacity: 0.18;
  font-variation-settings: "opsz" 144, "SOFT" 100, "WONK" 1;
  pointer-events: none;
  transition: opacity var(--t-base);
}
.testimonial-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 40px -20px rgba(10,25,41,0.12);
  border-color: rgba(196,154,92,0.35);
}
.testimonial-card:hover::before { opacity: 0.32; }
.testi-stars { display: flex; gap: 2px; margin-bottom: 1rem; color: var(--star); }
.testi-stars svg { width: 15px; height: 15px; fill: currentColor; }
.testi-text { font-size: 0.91rem; color: var(--text); line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.testi-author { display: flex; align-items: center; gap: 0.75rem; }
.testi-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--primary); color: white;
  display: grid; place-items: center;
  font-weight: 700; font-size: 0.9rem;
  flex-shrink: 0;
}
.testi-name { font-weight: 600; font-size: 0.85rem; color: var(--ink); }
.testi-loc  { font-size: 0.75rem; color: var(--text-soft); margin-top: 1px; }
.testi-google {
  position: absolute; top: 1.25rem; right: 1.25rem;
  display: flex; align-items: center; gap: 4px;
  font-size: 0.7rem; color: var(--text-soft); font-weight: 500;
}
.google-g {
  width: 15px; height: 15px;
  border-radius: 50%;
  background: var(--google-blue); color: white;
  display: grid; place-items: center;
  font-size: 0.6rem; font-weight: 800;
  font-family: Arial, sans-serif;
}
@media (max-width: 900px) { .testimonials-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .testimonials-grid { grid-template-columns: 1fr; } }

/* ---- BRANDS — 3D Globe ---- */
.brands {
  position: relative;
  background: radial-gradient(ellipse at 50% 0%, #0f2a39 0%, #07151f 60%, #050d14 100%);
  color: #e9f1f5;
  overflow: hidden;
}
.brands::before {
  content: "";
  position: absolute; inset: -20%;
  background:
    radial-gradient(800px 600px at 20% 30%, rgba(34, 211, 238, 0.18), transparent 60%),
    radial-gradient(700px 500px at 80% 70%, rgba(196, 154, 92, 0.14), transparent 60%);
  pointer-events: none;
  filter: blur(20px);
}
.brands::after {
  content: "";
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 25% 35%, rgba(255,255,255,0.8) 0, rgba(255,255,255,0.8) 1px, transparent 2px),
    radial-gradient(circle at 70% 20%, rgba(255,255,255,0.6) 0, rgba(255,255,255,0.6) 1px, transparent 2px),
    radial-gradient(circle at 85% 65%, rgba(255,255,255,0.5) 0, rgba(255,255,255,0.5) 1px, transparent 2px),
    radial-gradient(circle at 15% 80%, rgba(255,255,255,0.7) 0, rgba(255,255,255,0.7) 1px, transparent 2px),
    radial-gradient(circle at 55% 90%, rgba(255,255,255,0.4) 0, rgba(255,255,255,0.4) 1px, transparent 2px);
  background-size: 600px 600px;
  opacity: 0.45;
  pointer-events: none;
  animation: brand-twinkle 14s ease-in-out infinite alternate;
}
@keyframes brand-twinkle {
  from { opacity: 0.25; }
  to   { opacity: 0.55; }
}

.brands .container { position: relative; z-index: 1; }
.brands .section-head h2 { color: #f5fafd; }
.brands .section-head p  { color: rgba(233, 241, 245, 0.78); }
.brands .kicker          { color: #5fd0e6; }

/* Scene — stage with perspective; child rotator handles real 3D */
.brand-globe-scene {
  position: relative;
  width: 100%;
  max-width: 760px;
  margin: clamp(0.5rem, 2vw, 1.5rem) auto 0;
  aspect-ratio: 1.45 / 1;
  touch-action: none;
  cursor: grab;
  user-select: none;
  perspective: 1400px;
  perspective-origin: 50% 45%;
}
.brand-globe-scene.is-dragging { cursor: grabbing; }

/* Vertical cylinder halo — tall ellipse with a soft center beam */
.brand-globe-scene::before {
  content: "";
  position: absolute;
  left: 50%; top: 50%;
  width: 58%; height: 92%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at center, rgba(34, 211, 238, 0.32), rgba(34, 211, 238, 0) 62%),
    radial-gradient(ellipse at center, rgba(196, 154, 92, 0.16) 0%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
  z-index: 0;
}
/* Vertical light beam down the axis — sells the cylindrical form */
.brand-globe-scene .brand-globe-rotator::after {
  content: "";
  position: absolute;
  left: 50%; top: 6%; bottom: 6%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(to bottom,
    rgba(34, 211, 238, 0) 0%,
    rgba(34, 211, 238, 0.35) 20%,
    rgba(196, 154, 92, 0.35) 50%,
    rgba(34, 211, 238, 0.35) 80%,
    rgba(34, 211, 238, 0) 100%);
  filter: blur(2px);
  pointer-events: none;
}

/* The rotator — preserve-3d so children compose with the spin */
.brand-globe-rotator {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transform-origin: 50% 50%;
  will-change: transform;
}

/* Hexagonal chip tangent to the cylinder surface — secondary (small) by default.
   NOTE: transform is driven entirely by JS (brand-globe.js tick()). CSS must NOT
   declare a transform here, nor a transition on transform — they would fight the
   per-frame updates. Filter + halo handle the hover highlight via CSS. */
.brand-globe-item {
  position: absolute;
  left: 50%; top: 50%;
  width: 92px; height: 92px;
  margin-left: -46px; margin-top: -46px;
  display: flex; align-items: center; justify-content: center;
  padding: 12px;
  background: linear-gradient(160deg, #ffffff 0%, #eef3f7 100%);
  clip-path: polygon(25% 4%, 75% 4%, 98% 50%, 75% 96%, 25% 96%, 2% 50%);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: filter 280ms cubic-bezier(.2, .8, .2, 1);
  filter: drop-shadow(0 6px 12px rgba(0,0,0,0.45));
  will-change: transform;
}

/* MAJOR — flagship brands in the middle ring, larger and brighter */
.brand-globe-item.is-major {
  width: 134px; height: 134px;
  margin-left: -67px; margin-top: -67px;
  padding: 18px;
  background: linear-gradient(160deg, #ffffff 0%, #f5f9fc 100%);
}

/* Gradient rim drawn via masked pseudo (clip-path forbids real borders) */
.brand-globe-item::before {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(34,211,238,0.6), rgba(196,154,92,0.55));
  clip-path: polygon(25% 4%, 75% 4%, 98% 50%, 75% 96%, 25% 96%, 2% 50%);
  padding: 1.5px;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.55;
  transition: opacity 280ms cubic-bezier(.2, .8, .2, 1);
  pointer-events: none;
}
.brand-globe-item img {
  max-width: 100%; max-height: 100%;
  object-fit: contain;
  pointer-events: none;
  position: relative;
  z-index: 1;
}

/* HOVER — cylinder is paused (JS), chip scales up subtly (JS),
   CSS just brightens the rim and softens a single cyan glow. */
.brand-globe-item:hover,
.brand-globe-item:focus-visible {
  z-index: 50;
  filter: drop-shadow(0 0 10px rgba(34, 211, 238, 0.75));
  outline: none;
}
.brand-globe-item:hover::before,
.brand-globe-item:focus-visible::before {
  opacity: 1;
}

@media (max-width: 720px) {
  .brand-globe-scene { max-width: 92vw; }
  .brand-globe-item {
    width: 76px; height: 76px;
    margin-left: -38px; margin-top: -38px;
    padding: 10px;
  }
  .brand-globe-item.is-major {
    width: 110px; height: 110px;
    margin-left: -55px; margin-top: -55px;
    padding: 14px;
  }
}
@media (max-width: 480px) {
  .brand-globe-item {
    width: 62px; height: 62px;
    margin-left: -31px; margin-top: -31px;
    padding: 8px;
  }
  .brand-globe-item.is-major {
    width: 90px; height: 90px;
    margin-left: -45px; margin-top: -45px;
    padding: 12px;
  }
}

.brand-globe-hint {
  text-align: center;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(233, 241, 245, 0.55);
  margin-top: 1.25rem;
}

@media (prefers-reduced-motion: reduce) {
  .brand-globe-scene { cursor: default; }
  .brand-globe-hint::after { content: none; }
}

/* ---- BUSINESS ---- */
.business { background: var(--warm); }
.business-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}
.biz-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: 0 20px 50px -25px rgba(10,25,41,0.15);
  position: relative; overflow: hidden;
}
.biz-card::before {
  content: "";
  position: absolute; inset: 0 auto 0 0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary-dark));
}
.biz-card h3 { font-size: 1.35rem; margin-bottom: 1.25rem; }
.biz-list { list-style: none; display: grid; gap: 0.9rem; }
.biz-list li {
  display: flex; align-items: flex-start; gap: 0.85rem;
  font-size: 0.92rem; color: var(--text); line-height: 1.5;
}
.biz-list li::before {
  content: "";
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--primary);
  margin-top: 0.55rem;
  flex-shrink: 0;
}
.trusted-by  { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }
.trusted-by .kicker { color: var(--text-muted); margin-bottom: 0.85rem; }
.trusted-logos { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.trusted-logo-pill {
  background: var(--warm);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.28rem 0.75rem;
  font-size: 0.73rem; font-weight: 600;
  color: var(--text-muted);
}
@media (max-width: 900px) { .business-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .biz-card { padding: 1.5rem 1.25rem; }
  .biz-card h3 { font-size: 1.2rem; }
  .biz-list li { font-size: 0.88rem; }
  .trusted-logo-pill { font-size: 0.7rem; padding: 0.25rem 0.6rem; }
}

/* ---- SHOWROOM FINDER (locations) ---- */
.locations-section { background: white; }
.sf-wrap {
  background: white;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  overflow: hidden;
  box-shadow: 0 16px 50px -20px rgba(10,25,41,0.1);
  margin-bottom: 1.5rem;
}
.sf-tabs {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  border-bottom: 1.5px solid var(--border);
}
.sf-tab {
  padding: 1rem 0.4rem;
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-muted);
  border: none; background: none;
  cursor: pointer;
  transition: all var(--t-fast);
  border-right: 1px solid var(--border);
  position: relative;
}
.sf-tab:last-child { border-right: none; }
.sf-tab::after {
  content: "";
  position: absolute; bottom: -1.5px; left: 0;
  width: 100%; height: 2.5px;
  background: var(--primary);
  transform: scaleX(0);
  transition: transform var(--t-base);
}
.sf-tab.active { color: var(--primary-dark); background: var(--primary-tint-2); }
.sf-tab.active::after { transform: scaleX(1); }
.sf-tab:hover:not(.active) { background: var(--warm); color: var(--ink); }
.sf-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 320px;
}
.sf-details {
  padding: 2rem;
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: center;
}
.sf-name {
  font-family: var(--font-display);
  font-size: 1.85rem; font-weight: 600;
  color: var(--ink); margin-bottom: 0.5rem;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.sf-addr { font-size: 0.93rem; color: var(--text-muted); line-height: 1.6; margin-bottom: 0.75rem; }
.sf-hours {
  font-size: 0.8rem; font-weight: 700;
  color: var(--primary-dark);
  margin-bottom: 1.5rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  background: var(--primary-tint);
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
}
.sf-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; }
.sf-btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  font-size: 0.82rem; font-weight: 700;
  transition: all var(--t-fast);
}
.sf-btn-call { background: var(--ink); color: white; }
.sf-btn-call:hover { background: var(--primary-dark); }
.sf-btn-map { background: white; color: var(--ink); border: 1.5px solid var(--border); }
.sf-btn-map:hover { border-color: var(--ink); }
.sf-btn-wa  { background: var(--whatsapp); color: white; }
.sf-btn-wa:hover { background: var(--whatsapp-hover); }
.sf-map-side { position: relative; overflow: hidden; min-height: 320px; background: var(--warm); }
.sf-map-side iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
.sf-map-icon {
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--primary-tint);
  display: grid; place-items: center;
  color: var(--primary-dark);
}
.sf-map-icon svg { width: 28px; height: 28px; }
.sf-map-text { text-align: center; font-size: 0.9rem; color: var(--text-muted); line-height: 1.55; }

@media (max-width: 900px) {
  .sf-tabs  { grid-template-columns: repeat(3, 1fr); }
  .sf-panel { grid-template-columns: 1fr; }
  .sf-details {
    border-right: none;
    border-bottom: 1px solid var(--border);
    justify-content: flex-start;
    padding: 1.5rem;
  }
  .sf-map-side { min-height: 280px; }
}
@media (max-width: 500px) {
  .sf-tabs { grid-template-columns: repeat(2, 1fr); }
  .sf-tab { padding: 0.85rem 0.35rem; font-size: 0.78rem; }
  .sf-name { font-size: 1.5rem; }
  .sf-details { padding: 1.25rem; }
  .sf-map-side { min-height: 240px; }
  .sf-actions { gap: 0.5rem; }
  .sf-btn { padding: 0.5rem 0.85rem; font-size: 0.78rem; }
}
@media (max-width: 360px) {
  .sf-tabs { grid-template-columns: 1fr 1fr; }
  .sf-tab { font-size: 0.72rem; padding: 0.75rem 0.25rem; }
}

/* ---- ENQUIRY ---- */
.enquiry {
  background: linear-gradient(135deg, var(--primary-darker) 0%, var(--ink) 70%);
  color: white;
  position: relative;
  overflow: hidden;
}
.enquiry::before {
  content: "";
  position: absolute;
  inset: -40% auto auto -15%;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(31,181,229,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.enquiry::after {
  content: "";
  position: absolute;
  inset: auto -15% -40% auto;
  width: 70%; aspect-ratio: 1;
  background: radial-gradient(circle, rgba(196,154,92,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.enquiry .kicker { color: var(--gold); }
.enquiry-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
  position: relative; z-index: 1;
}
.enquiry-form-wrap {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-3);
}
.enquiry-info h3 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 0.75rem; margin-bottom: 1.1rem; color: white; }
.enquiry-info p  { font-size: 1rem; color: rgba(255,255,255,0.85); line-height: 1.65; margin-bottom: 2rem; }
@media (max-width: 900px) { .enquiry-inner { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }
@media (max-width: 480px) {
  .enquiry-form-wrap { padding: 1.5rem 1.25rem; }
}

/* ---- FOOTER ---- */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding-block: 2.5rem 1.25rem;
  font-size: 0.9rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo img { height: 56px; width: auto; opacity: 1; }
.footer-tag { margin-top: 1.25rem; line-height: 1.65; max-width: 340px; color: rgba(255,255,255,0.6); font-size: 0.86rem; }
.footer h4 {
  color: white;
  font-family: var(--font-body);
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}
.footer ul { list-style: none; display: grid; gap: 0.7rem; }
.footer ul a, .footer ul li { color: rgba(255,255,255,0.65); transition: color var(--t-fast); font-size: 0.86rem; }
.footer ul a:hover { color: var(--primary); }
.footer-contact-item {
  display: flex; align-items: flex-start; gap: 0.7rem;
  margin-bottom: 0.9rem;
  font-size: 0.86rem; line-height: 1.5;
}
.footer-contact-item svg { flex-shrink: 0; color: var(--primary); width: 16px; height: 16px; margin-top: 2px; }
.footer-signoff {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--gold);
  letter-spacing: 0.01em;
  font-variation-settings: "opsz" 14, "SOFT" 60, "WONK" 1;
}
.footer-bottom {
  padding-top: 1.25rem;
  margin-top: 1.5rem;
  border-top: 1px solid rgba(196,154,92,0.2);
  position: relative;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255,255,255,0.45);
}
.footer-bottom a { color: rgba(255,255,255,0.55); transition: color var(--t-fast); }
.footer-bottom a:hover { color: var(--primary); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 550px) { .footer-grid { grid-template-columns: 1fr; gap: 2.25rem; } }
@media (max-width: 380px) {
  .footer { padding-block: 3rem 1.5rem; }
  .footer-grid { padding-bottom: 2rem; }
  .footer-bottom { font-size: 0.72rem; gap: 0.6rem; }
}

/* ---- POLICY PAGES (privacy, terms) ---- */
.policy { background: white; padding-top: 3rem; }
.policy-container {
  max-width: 760px;
  margin: 0 auto;
}
.policy h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  font-variation-settings: "opsz" 144, "SOFT" 60, "WONK" 1;
  margin-top: 0.75rem;
}
.policy-lead {
  margin-top: 1.25rem;
  font-size: 1.05rem; line-height: 1.7;
  color: var(--text);
}
.policy-meta {
  margin-top: 0.75rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  font-style: italic;
}
.policy h2 {
  font-family: var(--font-display);
  font-size: 1.3rem; font-weight: 600;
  color: var(--ink);
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-variation-settings: "opsz" 144, "SOFT" 40;
}
.policy p {
  margin-top: 0.85rem;
  font-size: 0.96rem;
  line-height: 1.75;
  color: var(--text);
}
.policy ul {
  margin: 1rem 0 0 1.2rem;
  padding-left: 0;
}
.policy ul li {
  margin-top: 0.6rem;
  font-size: 0.96rem;
  line-height: 1.7;
  color: var(--text);
}
.policy ul li::marker { color: var(--gold); }
.policy a {
  color: var(--primary-dark);
  border-bottom: 1px solid rgba(31,181,229,0.3);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.policy a:hover {
  color: var(--ink);
  border-bottom-color: var(--gold);
}
.policy-contact { list-style: none; margin-left: 0; }
.policy-contact li::marker { content: ""; }
.policy-contact li { padding-left: 0; }
