/* ==========================================================================
   MASASE TRANSFERS & TOURS — GLOBAL STYLESHEET
   v03.00.00 — Dark/gold premium theme, matching "Masase Homepage.dc.html".
   Enqueued automatically by AI_Base_Feature_Loader on any page that uses a
   [masase_*] shortcode. Do not rename this file without updating
   includes/class-feature-loader.php. Google Fonts are enqueued separately
   by the loader, so no @import is needed here.
   ========================================================================== */

:root {
  /* Brand colours */
  --color-yellow: #F5B942;
  --color-gold: #F5B942;
  --color-gold-hover: #E8791F;
  --color-navy: #0B0908; /* deep near-black background, kept the variable name to avoid touching every .bg-navy / var(--color-navy) reference across all feature files */
  --color-charcoal: #F4EEE4; /* body copy colour on the dark theme — kept the variable name for compatibility */
  --color-grey: rgba(244,238,228,0.62);
  --color-white: #F4EEE4; /* "white" now means the site's cream foreground colour, not a literal white background */

  /* Derived / utility */
  --color-navy-light: #171310;
  --color-panel: #14100C;
  --color-panel-alt: #0E0B09;
  --color-overlay: rgba(6,5,4,0.72);
  --color-whatsapp: #25D366;

  /* Fonts */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Manrope', sans-serif;

  /* Spacing */
  --section-padding-desktop: 120px;
  --section-padding-mobile: 56px;
  --container-max: 1240px;

  /* Effects */
  --radius-card: 20px;
  --radius-pill: 999px;
  --shadow-card: 0 20px 44px -18px rgba(0,0,0,0.55);
  --shadow-card-hover: 0 30px 60px -20px rgba(0,0,0,0.65);
  --transition-base: 0.3s ease;
}

/* ==========================================================================
   RESET & BASE
   ========================================================================== */
.masase-site, .masase-site * , .masase-site *::before, .masase-site *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html { scroll-behavior: smooth; }

.masase-site {
  font-family: var(--font-body);
  color: var(--color-charcoal);
  background: var(--color-navy);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

.masase-site, .masase-site a, .masase-site button, .masase-site input, .masase-site textarea, .masase-site select {
  cursor: none;
}
@media (hover: none) {
  .masase-site, .masase-site a, .masase-site button { cursor: auto; }
}

.masase-site ::selection { background: var(--color-gold-hover); color: var(--color-navy); }

.masase-site img { max-width: 100%; display: block; }

/* Fallback tile shown by masase-script.js when a placeholder image path
   404s, instead of the browser's broken-image glyph. Higher specificity
   than the per-context `object-fit: cover` rules below so it always wins. */
.masase-site img.masase-img-fallback {
  object-fit: contain !important;
  background-color: var(--color-panel);
}

.masase-site h1, .masase-site h2, .masase-site h3, .masase-site h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.15;
  color: var(--color-white);
}

.masase-site a { text-decoration: none; color: inherit; }

.masase-site ul { list-style: none; }

.masase-site .container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
}

.masase-site section {
  padding: var(--section-padding-desktop) 0;
  position: relative;
}

@media (max-width: 768px) {
  .masase-site section { padding: var(--section-padding-mobile) 0; }
  .masase-site .container { padding: 0 20px; }
}

.masase-site .section-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 13px;
  color: #C9972E;
  margin-bottom: 18px;
}

.masase-site .section-heading {
  font-size: clamp(30px, 4vw, 46px);
  margin-bottom: 20px;
  letter-spacing: -0.01em;
  color: var(--color-white);
}

.masase-site .section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--color-grey);
  max-width: 640px;
  margin-bottom: 48px;
}

.masase-site.on-dark .section-heading,
.masase-site .bg-navy .section-heading,
.masase-site .bg-navy h1, .masase-site .bg-navy h2, .masase-site .bg-navy h3, .masase-site .bg-navy h4 {
  color: var(--color-white);
}

.masase-site .bg-navy .section-sub { color: rgba(244,238,228,0.7); }

.masase-site .bg-navy { background: var(--color-panel-alt); color: var(--color-white); }
.masase-site .bg-white { background: var(--color-navy); color: var(--color-white); }

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.masase-site .btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  line-height: 1.2; /* don't inherit the body's loose 1.7 line-height */
  letter-spacing: 0.02em;
  padding: 16px 34px;
  border-radius: var(--radius-pill);
  border: 1.5px solid transparent;
  cursor: none;
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
  white-space: nowrap;
}
@media (hover: none) { .masase-site .btn { cursor: pointer; } }

.masase-site .btn:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 3px;
}

.masase-site .btn-primary {
  background: linear-gradient(120deg, #E8791F, #F5B942);
  color: #171310;
  box-shadow: 0 12px 30px -10px rgba(232,121,31,0.55);
}
.masase-site .btn-primary:hover {
  box-shadow: 0 16px 36px -8px rgba(232,121,31,0.75);
  transform: translateY(-2px);
}

.masase-site .btn-secondary-light {
  background: transparent;
  border-color: rgba(244,238,228,0.3);
  color: var(--color-white);
}
.masase-site .btn-secondary-light:hover {
  background: rgba(244,238,228,0.1);
  border-color: rgba(244,238,228,0.6);
  transform: translateY(-2px);
}

.masase-site .btn-secondary-dark {
  background: transparent;
  border-color: rgba(245,185,66,0.4);
  color: var(--color-white);
}
.masase-site .btn-secondary-dark:hover {
  background: rgba(245,185,66,0.12);
  border-color: var(--color-gold);
  color: var(--color-gold);
  transform: translateY(-2px);
}

/* ==========================================================================
   CUSTOM CURSOR
   ========================================================================== */
.masase-cursor-dot, .masase-cursor-ring {
  position: fixed;
  top: 0; left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%);
}
.masase-cursor-dot {
  width: 8px; height: 8px;
  background: var(--color-gold);
  transition: width 0.25s ease, height 0.25s ease, background 0.25s ease;
}
.masase-cursor-ring {
  width: 36px; height: 36px;
  border: 1px solid rgba(245,185,66,0.55);
  transition: width 0.3s cubic-bezier(.16,1,.3,1), height 0.3s cubic-bezier(.16,1,.3,1), border-color 0.3s ease;
  animation: masase-cursor-breathe 2.4s ease-in-out infinite;
}
.masase-cursor-dot.is-grown { width: 6px; height: 6px; }
.masase-cursor-ring.is-grown {
  width: 58px; height: 58px;
  border-color: rgba(245,185,66,0.9);
  animation-play-state: paused;
}
@keyframes masase-cursor-breathe {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.18); }
}
@media (hover: none) {
  .masase-cursor-dot, .masase-cursor-ring { display: none; }
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
.masase-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 999;
  padding: 26px 0;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background var(--transition-base), box-shadow var(--transition-base), padding var(--transition-base), border-color var(--transition-base), backdrop-filter var(--transition-base);
}

.masase-nav.is-scrolled {
  background: rgba(11,9,8,0.82);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(245,185,66,0.15);
  padding: 14px 0;
}

.masase-nav .nav-inner {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.masase-nav .nav-logo {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 22px;
  color: var(--color-white);
  letter-spacing: -0.01em;
  display: flex;
  align-items: center;
}
.masase-nav .nav-logo span { color: var(--color-gold); }
.masase-nav .nav-logo img { height: 46px; width: auto; display: block; }

/* !important here (and on .footer-links below) is deliberate: page builders
   like Divi apply their own default typography — including list bullets —
   to raw HTML/shortcode output dropped into a Text/Code module, and those
   builder rules can load after ours and win the cascade even though our
   selector is scoped. This is a hard override so the nav never shows
   browser/builder list bullets regardless of where the shortcode is placed. */
.masase-nav .nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none !important;
}
.masase-nav .nav-links li { list-style: none !important; margin: 0 !important; padding: 0 !important; }

.masase-nav .nav-links a:not(.nav-cta) {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 14.5px;
  color: var(--color-white);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-base);
}

.masase-nav .nav-links a:not(.nav-cta)::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 0;
  height: 2px;
  background: var(--color-gold);
  transition: width var(--transition-base);
}

.masase-nav .nav-links a:not(.nav-cta):hover,
.masase-nav .nav-links a:not(.nav-cta).active { color: var(--color-gold); }
.masase-nav .nav-links a:not(.nav-cta):hover::after,
.masase-nav .nav-links a:not(.nav-cta).active::after { width: 100%; }

/* Matches the "Request a Quote" CTA in Masase Homepage.dc.html exactly:
   shadow spread/blur and the faster 0.15s transform transition (for the
   magnetic pointer-follow effect) both differ from the generic .btn-primary
   defaults used elsewhere on the site. */
/* !important on color/text-decoration: Divi's Text/Code module applies its
   own default link styling (underline, link colour) to raw HTML dropped
   into it — same fight as the nav-links bullets earlier — and those rules
   can load after ours and win despite our selector being scoped. */
.masase-nav .nav-cta {
  padding: 14px 30px;
  font-size: 14px;
  color: #000 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px -8px rgba(232,121,31,0.6);
  transition: transform 0.15s ease, box-shadow 0.3s ease;
}
.masase-nav .nav-cta:hover {
  color: #000 !important;
  box-shadow: 0 8px 24px -8px rgba(232,121,31,0.6);
}

.masase-nav .nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: none;
  padding: 8px;
  z-index: 1001;
}
@media (hover: none) { .masase-nav .nav-toggle { cursor: pointer; } }
.masase-nav .nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-white);
  transition: transform var(--transition-base), opacity var(--transition-base);
}
.masase-nav .nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.masase-nav .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.masase-nav .nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 900px) {
  .masase-nav .nav-toggle { display: flex; }
  .masase-nav .nav-links {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--color-navy);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 40px;
    gap: 26px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.4);
    border-left: 1px solid rgba(245,185,66,0.12);
  }
  .masase-nav .nav-links.is-open { transform: translateX(0); }
  .masase-nav .nav-links a { font-family: var(--font-heading); font-size: 22px; }
}

/* ==========================================================================
   HERO
   ========================================================================== */
.masase-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, rgba(6,5,4,0.6) 0%, rgba(6,5,4,0.82) 55%, var(--color-navy) 100%), url('../images/portfolio-2.jpg') center 30%/cover no-repeat;
}
.masase-hero::before {
  content: '';
  position: absolute;
  top: -10%; right: -10%;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,185,66,0.2), transparent 70%);
  pointer-events: none;
}
.masase-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(245,185,66,0.5), transparent);
}

.masase-hero .hero-inner {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 32px;
  width: 100%;
}

.masase-hero .hero-content { max-width: 680px; }

.masase-hero .hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(245,185,66,0.12);
  border: 1px solid rgba(245,185,66,0.4);
  color: var(--color-gold);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 28px;
}

.masase-hero h1 {
  color: var(--color-white);
  font-size: clamp(38px, 6vw, 72px);
  letter-spacing: 0;
  font-weight: 600;
  margin-bottom: 26px;
}

.masase-hero .hero-sub {
  color: rgba(244,238,228,0.75);
  font-size: 19px;
  line-height: 1.65;
  max-width: 560px;
  margin-bottom: 40px;
}

.masase-hero .hero-actions {
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.masase-hero .hero-scroll-cue {
  position: absolute;
  bottom: 36px;
  left: 32px;
  color: rgba(244,238,228,0.6);
  font-size: 13px;
  display: flex;
  align-items: center;
  gap: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  z-index: 2;
}

/* Page (non-home) header banner */
.masase-page-header {
  position: relative;
  padding: 200px 0 90px;
  background: linear-gradient(180deg, rgba(6,5,4,0.6) 0%, rgba(6,5,4,0.85) 100%), url('/images/hero/page-header-bg.jpg') center/cover no-repeat;
  color: var(--color-white);
  border-bottom: 1px solid rgba(245,185,66,0.1);
}
.masase-page-header .section-eyebrow { color: var(--color-gold); }
.masase-page-header h1 { color: var(--color-white); font-size: clamp(32px, 5vw, 52px); font-weight: 600; }
.masase-page-header p { color: rgba(244,238,228,0.75); font-size: 18px; max-width: 600px; margin-top: 16px; }

/* ==========================================================================
   REVEAL ANIMATION (IntersectionObserver driven)
   ========================================================================== */
.masase-site .reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1);
}
.masase-site .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.masase-site .reveal-delay-1 { transition-delay: 0.1s; }
.masase-site .reveal-delay-2 { transition-delay: 0.2s; }
.masase-site .reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   GRID / SPLIT LAYOUTS
   ========================================================================== */
.masase-site .split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.masase-site .split.flip .split-media { order: 2; }
.masase-site .split.flip .split-text { order: 1; }
@media (max-width: 900px) {
  .masase-site .split { grid-template-columns: 1fr; gap: 36px; }
  .masase-site .split.flip .split-media,
  .masase-site .split.flip .split-text { order: initial; }
}
.masase-site .split-media img {
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(245,185,66,0.18);
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(.16,1,.3,1);
}
.masase-site .split-media:hover img { transform: scale(1.02); }

.masase-site .vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 100px;
}
.masase-site .vm-card {
  padding: 44px;
  border-radius: 22px;
}
.masase-site .vm-card-vision {
  background: var(--color-panel);
  border: 1px solid rgba(245,185,66,0.18);
}
.masase-site .vm-card-mission {
  background: linear-gradient(135deg, #E8791F, #C9972E);
  color: #171310;
}
.masase-site .vm-card-title {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 22px;
  margin-bottom: 16px;
}
.masase-site .vm-card-vision .vm-card-title { color: var(--color-gold); }
.masase-site .vm-card-text {
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--color-grey);
}
.masase-site .vm-card-mission .vm-card-text { color: rgba(23,19,16,0.82); }
@media (max-width: 900px) {
  .masase-site .vm-grid { grid-template-columns: 1fr; gap: 20px; margin-top: 56px; }
}
@media (max-width: 600px) {
  .masase-site .vm-card { padding: 30px; }
}

.masase-site .services-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: start;
}
@media (max-width: 900px) {
  .masase-site .services-split { grid-template-columns: 1fr; gap: 36px; }
}

/* ==========================================================================
   STATS BAR
   ========================================================================== */
.masase-stats-bar {
  position: relative;
  margin-top: -64px;
  z-index: 2;
}
.masase-stats-bar .stats-inner {
  background: rgba(23,19,16,0.75);
  backdrop-filter: blur(18px);
  border: 1px solid rgba(245,185,66,0.25);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card-hover);
  padding: 40px 20px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 900px) { .masase-stats-bar .stats-inner { grid-template-columns: 1fr 1fr; row-gap: 32px; } }
@media (max-width: 560px) {
  .masase-stats-bar { margin-top: -40px; }
  .masase-stats-bar .stats-inner { grid-template-columns: 1fr; padding: 32px 24px; row-gap: 24px; }
}
.masase-stats-bar .stat-item {
  text-align: center;
  border-right: 1px solid rgba(245,185,66,0.12);
}
.masase-stats-bar .stat-item:last-child { border-right: 0; }
@media (max-width: 900px) { .masase-stats-bar .stat-item:nth-child(2n) { border-right: 0; } }
@media (max-width: 560px) { .masase-stats-bar .stat-item { border-right: 0; } }
.masase-stats-bar .stat-number {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: clamp(28px, 3.4vw, 38px);
  color: var(--color-gold);
  line-height: 1;
  margin-bottom: 10px;
}
.masase-stats-bar .stat-label {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(244,238,228,0.65);
}

/* ==========================================================================
   HIGHLIGHTS STRIP
   ========================================================================== */
.masase-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
@media (max-width: 900px) { .masase-highlights { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .masase-highlights { grid-template-columns: 1fr; } }

.masase-highlights .highlight-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  border-radius: 16px;
  transition: background 0.4s ease;
}
.masase-highlights .highlight-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: rgba(245,185,66,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--color-gold);
}
.masase-highlights .highlight-icon svg { width: 28px; height: 28px; }
.masase-highlights h3 { font-size: 18px; margin-bottom: 4px; color: var(--color-white); }
.masase-highlights p { color: var(--color-grey); font-size: 15px; }
.bg-navy .masase-highlights p { color: rgba(244,238,228,0.72); }

/* ==========================================================================
   CARDS
   ========================================================================== */
.masase-card-grid {
  position: relative;
  isolation: isolate;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(245,185,66,0.12);
  border: 1px solid rgba(245,185,66,0.12);
  border-radius: var(--radius-card);
  overflow: hidden;
}
/* Single continuous glow spanning the whole grid — see initCardGridGlow()
   in masase-script.js, which drives --glow-x/--glow-y from pointer position
   relative to the grid, not each card. Sits above every card (z-index) but
   uses a blend mode + low alpha so it tints rather than obscures. */
.masase-card-grid::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(circle 360px at var(--glow-x, 50%) var(--glow-y, 50%), rgba(245,185,66,0.6), transparent 70%);
  mix-blend-mode: soft-light;
}
.masase-card-grid.is-glowing::before { opacity: 1; }
@media (max-width: 980px) { .masase-card-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .masase-card-grid { grid-template-columns: 1fr; } }

.masase-card {
  background: var(--color-panel);
  overflow: hidden;
  transition: background 0.4s ease, transform var(--transition-base);
  display: flex;
  flex-direction: column;
}
/* Per-card hover state — the shared roaming glow that spans the whole grid
   lives on .masase-card-grid::before above; this just darkens the specific
   card under the cursor for definition. */
.masase-card:hover { background: #1a1510; }
.masase-card .card-media { width: 100%; height: 220px; overflow: hidden; }
.masase-card .card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.masase-card:hover .card-media img { transform: scale(1.06); }
.masase-card .card-body { padding: 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.masase-card .card-body h3 { font-size: 19px; }
.masase-card .card-body p { color: var(--color-grey); font-size: 15px; }
.masase-card .card-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 6px 0; }
.masase-card .card-tags span {
  font-size: 12.5px;
  font-weight: 600;
  background: rgba(245,185,66,0.1);
  color: var(--color-gold);
  padding: 6px 12px;
  border-radius: var(--radius-pill);
}
.masase-card .card-cta { margin-top: auto; padding-top: 10px; }

/* Dark surface card variant (kept for backwards compatibility with any
   card-dark usage — the whole theme is dark now, so this is a no-op tint) */
.masase-card.card-dark { background: var(--color-navy-light); }
.masase-card.card-dark h3 { color: var(--color-white); }
.masase-card.card-dark p { color: rgba(244,238,228,0.75); }
.masase-card.card-dark .card-tags span { background: rgba(245,185,66,0.12); color: var(--color-gold); }

/* Icon-based service card (no image) */
.masase-card .card-icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  background: rgba(245,185,66,0.15);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  margin: 30px 30px 0;
}
.masase-card .card-icon svg { width: 30px; height: 30px; }

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */
.masase-testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .masase-testimonials { grid-template-columns: 1fr; } }

.masase-testimonial-card {
  background: var(--color-panel);
  border: 1px solid rgba(245,185,66,0.15);
  border-radius: var(--radius-card);
  padding: 32px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.masase-testimonial-card:hover { transform: translateY(-4px); border-color: rgba(245,185,66,0.35); }
.masase-testimonial-card .stars { color: var(--color-gold); font-size: 16px; margin-bottom: 16px; letter-spacing: 2px; }
.masase-testimonial-card p.quote { color: rgba(244,238,228,0.85); font-size: 15px; margin-bottom: 20px; font-family: var(--font-heading); font-style: italic; }
.masase-testimonial-card .author { display: flex; align-items: center; gap: 12px; }
.masase-testimonial-card .author-avatar {
  width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0;
  background: var(--color-gold);
}
.masase-testimonial-card .author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.masase-testimonial-card .author-name { font-weight: 700; color: var(--color-white); font-size: 14px; }
.masase-testimonial-card .author-role { color: rgba(244,238,228,0.55); font-size: 13px; }

/* ==========================================================================
   PARTNER LOGOS STRIP / MARQUEE
   ========================================================================== */
.masase-logo-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}
.masase-logo-strip img { height: 52px; width: auto; filter: grayscale(1) brightness(1.6); opacity: 0.7; transition: opacity var(--transition-base), filter var(--transition-base); }
.masase-logo-strip img:hover { filter: grayscale(0); opacity: 1; }

/* Marquee mode: masase-script.js duplicates the strip's children and adds
   this class so the row scrolls seamlessly (used on the trusted-by strip).
   Spacing must come ONLY from `gap` here, not per-child margins — `gap`
   never adds width before the first or after the last item, so the row's
   total width stays exactly 2x one copy and translateX(-50%) lands the
   clone in the exact spot the original started, with no visible jump.
   Per-child margins used to add extra width at the two outer edges only,
   which isn't mirrored at the row's midpoint, throwing off the -50% math
   and causing a visible skip/stutter once per loop. */
.masase-logo-strip.is-marquee {
  flex-wrap: nowrap;
  justify-content: flex-start;
  width: max-content;
  gap: 64px;
  animation: masase-marquee 34s linear infinite;
}
.masase-logo-strip.is-marquee > * { flex-shrink: 0; }
@keyframes masase-marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   COVERAGE GRID
   ========================================================================== */
.masase-coverage-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .masase-coverage-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .masase-coverage-grid { grid-template-columns: repeat(2, 1fr); } }

.masase-coverage-grid .country-tile {
  background: var(--color-panel);
  border: 1px solid rgba(245,185,66,0.15);
  border-radius: var(--radius-card);
  padding: 28px 20px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.masase-coverage-grid .country-tile:hover { transform: translateY(-4px); border-color: rgba(245,185,66,0.4); }
.masase-coverage-grid .country-flag { font-size: 30px; }
.masase-coverage-grid h3 { font-size: 16px; }
.masase-coverage-grid p { font-size: 13px; color: var(--color-grey); }
.masase-coverage-grid .country-tile.featured { background: linear-gradient(135deg, #E8791F, #C9972E); border-color: transparent; }
.masase-coverage-grid .country-tile.featured h3 { color: #171310; }
.masase-coverage-grid .country-tile.featured p { color: rgba(23,19,16,0.75); }

/* ==========================================================================
   CHECKLIST GRID (Why Choose Us, feature lists)
   ========================================================================== */
.masase-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 40px;
}
@media (max-width: 700px) { .masase-checklist { grid-template-columns: 1fr; } }

.masase-checklist .checklist-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.masase-checklist .checklist-icon {
  flex-shrink: 0;
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(245,185,66,0.15);
  color: var(--color-gold);
  display: flex; align-items: center; justify-content: center;
  margin-top: 2px;
}
.masase-checklist .checklist-icon svg { width: 16px; height: 16px; }
.masase-checklist p { margin: 0; font-size: 15.5px; color: rgba(244,238,228,0.8); }
.bg-navy .masase-checklist p { color: rgba(244,238,228,0.88); }

/* ==========================================================================
   TIMELINE (About page)
   ========================================================================== */
.masase-timeline {
  position: relative;
  padding-left: 40px;
  border-left: 3px solid rgba(245,185,66,0.35);
}
.masase-timeline .timeline-item {
  position: relative;
  padding-bottom: 44px;
}
.masase-timeline .timeline-item:last-child { padding-bottom: 0; }
.masase-timeline .timeline-item::before {
  content: '';
  position: absolute;
  left: -50px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-gold);
  border: 3px solid var(--color-navy);
}
.masase-timeline .timeline-year { color: var(--color-gold); font-weight: 700; font-size: 14px; letter-spacing: 0.06em; margin-bottom: 6px; }
.masase-timeline h3 { font-size: 19px; margin-bottom: 6px; }
.masase-timeline p { color: var(--color-grey); font-size: 15px; max-width: 560px; }

/* ==========================================================================
   FORMS (Contact & Quote)
   ========================================================================== */
.masase-form {
  background: var(--color-panel);
  border: 1px solid rgba(245,185,66,0.15);
  border-radius: var(--radius-card);
  padding: 44px;
}
@media (max-width: 600px) { .masase-form { padding: 28px; } }

.masase-form .form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
@media (max-width: 700px) { .masase-form .form-grid { grid-template-columns: 1fr; } }

.masase-form .form-field { display: flex; flex-direction: column; gap: 8px; }
.masase-form .form-field.full { grid-column: 1 / -1; }
.masase-form label { font-weight: 600; font-size: 14px; color: var(--color-white); }
.masase-form label .required { color: var(--color-gold-hover); }

.masase-form input,
.masase-form select,
.masase-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 16px 18px;
  border: 1px solid rgba(245,185,66,0.15);
  border-radius: 10px;
  color: var(--color-white);
  background: #1D1814;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  width: 100%;
}
.masase-form textarea { resize: vertical; min-height: 120px; }

.masase-form input:focus,
.masase-form select:focus,
.masase-form textarea:focus {
  outline: none;
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(245,185,66,0.18);
}

.masase-form .form-submit { margin-top: 8px; }
.masase-form .form-note { font-size: 13px; color: var(--color-grey); margin-top: 14px; }

/* Honeypot: visually hidden from real visitors (not display:none — some bots
   skip fields with that), left focusable-avoidant via tabindex="-1" in markup.
   Clipped in place rather than offset off-canvas so it can't introduce a
   horizontal scrollbar inside the scrollable quote modal panel. */
.masase-form-hp {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Non-JS fallback banner (server-rendered from the redirect query args) and
   the JS-driven inline message shown under the submit button share styling. */
.masase-form-banner,
.masase-form-message {
  border-radius: 10px;
  padding: 14px 18px;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
}
.masase-form-message { margin: 16px 0 0; }
.masase-form-banner.is-success,
.masase-form-message.is-success {
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  color: #7CE8A4;
}
.masase-form-banner.is-error,
.masase-form-message.is-error {
  background: rgba(232,121,31,0.12);
  border: 1px solid rgba(232,121,31,0.4);
  color: var(--color-gold-hover);
}

/* Office cards */
.masase-office-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 980px) { .masase-office-grid { grid-template-columns: 1fr; } }

.masase-office-card {
  background: var(--color-panel);
  border: 1px solid rgba(245,185,66,0.15);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: transform var(--transition-base), border-color var(--transition-base);
}
.masase-office-card:hover { transform: translateY(-4px); border-color: rgba(245,185,66,0.35); }
.masase-office-card .map-embed { width: 100%; height: 200px; border: 0; display: block; filter: grayscale(0.3) invert(0.92) contrast(0.9); }
.masase-office-card .office-body { padding: 26px; }
.masase-office-card h3 { font-size: 19px; margin-bottom: 12px; }
.masase-office-card .office-line { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 10px; font-size: 14.5px; color: var(--color-grey); }
.masase-office-card .office-line svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; color: var(--color-gold); }
.masase-office-card .office-line a { color: var(--color-white); font-weight: 600; }
.masase-office-card .office-line a:hover { color: var(--color-gold); }

/* ==========================================================================
   FLOATING UI ELEMENTS
   ========================================================================== */
.masase-float {
  position: fixed;
  z-index: 9998;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 58px; height: 58px;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  cursor: none;
  border: none;
  transition: transform var(--transition-base), opacity var(--transition-base), box-shadow var(--transition-base);
}
@media (hover: none) { .masase-float { cursor: pointer; } }
.masase-float:hover { transform: translateY(-3px) scale(1.05); box-shadow: 0 12px 30px rgba(0,0,0,0.5); }
.masase-float svg { width: 28px; height: 28px; }

.masase-float-whatsapp {
  right: 24px;
  bottom: 24px;
  background: var(--color-whatsapp);
  color: #fff;
}
.masase-float-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-whatsapp);
  animation: masase-pulse 2.2s infinite;
  z-index: -1;
}

@keyframes masase-pulse {
  0% { transform: scale(1); opacity: 0.55; }
  70% { transform: scale(1.9); opacity: 0; }
  100% { transform: scale(1.9); opacity: 0; }
}

.masase-float-quote {
  left: 24px;
  bottom: 24px;
  background: linear-gradient(120deg, #E8791F, #F5B942);
  color: #171310;
}

.masase-float-top {
  right: 24px;
  bottom: 96px;
  width: 46px; height: 46px;
  background: var(--color-panel);
  border: 1px solid rgba(245,185,66,0.3);
  color: var(--color-gold);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
}
.masase-float-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.masase-float-tooltip {
  position: absolute;
  white-space: nowrap;
  background: var(--color-panel);
  border: 1px solid rgba(245,185,66,0.2);
  color: var(--color-white);
  font-size: 12.5px;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 8px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base), transform var(--transition-base);
  top: 50%;
  right: 70px;
  transform: translateY(-50%) translateX(6px);
}
.masase-float-quote .masase-float-tooltip { right: auto; left: 70px; }
.masase-float:hover .masase-float-tooltip { opacity: 1; transform: translateY(-50%) translateX(0); }

@media (max-width: 480px) {
  .masase-float { width: 50px; height: 50px; }
  .masase-float svg { width: 24px; height: 24px; }
  .masase-float-whatsapp { right: 16px; bottom: 16px; }
  .masase-float-quote { left: 16px; bottom: 16px; }
  .masase-float-top { right: 16px; bottom: 82px; width: 40px; height: 40px; }
  .masase-float-tooltip { display: none; }
}

/* ==========================================================================
   QUOTE MODAL
   Popped open by the floating "Get a quote" button (initQuoteModal() in
   masase-script.js). Reuses .masase-form's field styling verbatim so it
   matches the [masase_contact] page form exactly.
   ========================================================================== */
.masase-quote-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.masase-quote-modal[hidden] { display: none; }

.masase-quote-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(6,5,4,0.78);
  backdrop-filter: blur(3px);
  opacity: 0;
  transition: opacity var(--transition-base);
}
.masase-quote-modal.is-open .masase-quote-modal-overlay { opacity: 1; }

.masase-quote-modal-panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 760px;
  max-height: min(88vh, 900px);
  overflow-y: auto;
  background: var(--color-panel);
  border: 1px solid rgba(245,185,66,0.18);
  border-radius: var(--radius-card);
  padding: 40px;
  opacity: 0;
  transform: translateY(16px) scale(0.98);
  transition: opacity var(--transition-base), transform var(--transition-base);
}
.masase-quote-modal.is-open .masase-quote-modal-panel { opacity: 1; transform: translateY(0) scale(1); }
@media (max-width: 600px) { .masase-quote-modal-panel { padding: 28px 22px; } }

.masase-quote-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(245,185,66,0.2);
  background: transparent;
  color: var(--color-grey);
  cursor: none;
  transition: color var(--transition-base), border-color var(--transition-base);
}
@media (hover: none) { .masase-quote-modal-close { cursor: pointer; } }
.masase-quote-modal-close:hover { color: var(--color-gold); border-color: var(--color-gold); }
.masase-quote-modal-close svg { width: 18px; height: 18px; }

body.masase-modal-open { overflow: hidden; }

/* ==========================================================================
   FOOTER
   ========================================================================== */
.masase-footer {
  background: var(--color-panel-alt);
  color: rgba(244,238,228,0.5);
  padding: 60px 0 36px;
  border-top: 1px solid rgba(245,185,66,0.1);
}
.masase-footer .footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
  padding-bottom: 36px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(245,185,66,0.08);
}
.masase-footer .footer-logo img { height: 54px; width: auto; display: block; }
.masase-footer .footer-links { display: flex; gap: 32px; flex-wrap: wrap; font-size: 14.5px; list-style: none !important; }
.masase-footer .footer-links li { list-style: none !important; margin: 0 !important; padding: 0 !important; }
.masase-footer .footer-links a { color: rgba(244,238,228,0.5); text-decoration: none; }
.masase-footer .footer-links a:hover { color: var(--color-gold); }
.masase-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}
.masase-footer .footer-bottom a { color: rgba(244,238,228,0.5); text-decoration: none; }
.masase-footer .footer-bottom a:hover { color: var(--color-gold); }

/* ==========================================================================
   NUMBERED GRID (Why Choose Us) — reuses .masase-card-grid/.masase-card
   ========================================================================== */
.masase-card .card-num {
  font-family: var(--font-heading);
  font-size: 32px;
  color: rgba(245,185,66,0.4);
  padding: 30px 30px 0;
}

/* ==========================================================================
   SERVICE LINE GRID (compact list variant of .masase-card-grid)
   ========================================================================== */
.masase-card-grid.is-2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .masase-card-grid.is-2col { grid-template-columns: 1fr; } }
.masase-card-grid .service-line {
  background: var(--color-panel);
  padding: 26px 24px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: background 0.4s ease;
}
.masase-card-grid .service-line:hover { background: #1a1510; }
.masase-card-grid .service-line .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--color-gold);
  margin-top: 8px;
  flex-shrink: 0;
}
.masase-card-grid .service-line span.label { font-size: 15.5px; font-weight: 600; color: var(--color-white); }

/* ==========================================================================
   COUNTRY PILLS (homepage teaser — full grid version lives on Coverage page)
   ========================================================================== */
.masase-country-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}
.masase-country-pills .country-pill {
  padding: 16px 30px;
  border-radius: var(--radius-pill);
  border: 1.5px solid rgba(245,185,66,0.22);
  font-family: var(--font-heading);
  font-size: 18px;
  color: var(--color-white);
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}
.masase-country-pills .country-pill:hover {
  background: var(--color-gold);
  color: #171310;
  border-color: var(--color-gold);
}

/* ==========================================================================
   CTA BAND
   ========================================================================== */
.masase-cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, #0E0B09 0%, #241A10 100%);
  border-top: 1px solid rgba(245,185,66,0.15);
  border-bottom: 1px solid rgba(245,185,66,0.15);
  text-align: center;
}
.masase-cta-band::before {
  content: '';
  position: absolute;
  top: -30%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245,185,66,0.18), transparent 70%);
  pointer-events: none;
}
.masase-cta-band .container { position: relative; max-width: 800px; }
.masase-cta-band .cta-actions { display: flex; justify-content: center; gap: 18px; flex-wrap: wrap; margin-top: 40px; }

/* ==========================================================================
   FLEET INTERACTIVE SHOWCASE (Homepage)
   ========================================================================== */
.fleet-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 56px;
  align-items: center;
}
@media (max-width: 900px) { .fleet-showcase { grid-template-columns: 1fr; gap: 36px; } }

.fleet-media {
  position: relative;
  border-radius: var(--radius-card);
  overflow: hidden;
  height: 460px;
  border: 1px solid rgba(245,185,66,0.2);
  transition: transform 0.15s ease-out;
  transform-style: preserve-3d;
}
.fleet-media img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.35s ease, transform 0.4s ease; }
.fleet-media.is-swapping img { opacity: 0; transform: scale(1.05); }
.fleet-media .fleet-media-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(11,9,8,0.75), transparent 50%);
  pointer-events: none;
}
.fleet-media .fleet-badge {
  position: absolute;
  bottom: 24px; left: 24px;
  display: inline-block;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  background: rgba(11,9,8,0.7);
  border: 1px solid rgba(245,185,66,0.35);
  font-size: 13px;
  color: var(--color-gold);
  font-weight: 700;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.fleet-media.is-swapping .fleet-badge { opacity: 0; transform: scale(0.85); }

.fleet-info h3 { font-size: 30px; margin-bottom: 12px; transition: opacity 0.3s ease, transform 0.35s ease; }
.fleet-info .fleet-tagline { font-size: 16px; line-height: 1.7; color: var(--color-grey); margin-bottom: 26px; transition: opacity 0.3s ease, transform 0.35s ease; }
.fleet-info .fleet-features { display: grid; gap: 12px; margin-bottom: 32px; transition: opacity 0.3s ease, transform 0.35s ease; }
.fleet-info .fleet-feature-item { display: flex; align-items: center; gap: 12px; font-size: 15px; color: rgba(244,238,228,0.78); }
.fleet-info .fleet-feature-item svg { flex-shrink: 0; color: var(--color-gold); }
.fleet-info.is-swapping h3,
.fleet-info.is-swapping .fleet-tagline,
.fleet-info.is-swapping .fleet-features { opacity: 0; transform: translateY(10px); }

.fleet-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.fleet-thumb {
  width: 68px; height: 52px;
  border-radius: 10px;
  overflow: hidden;
  border: 2px solid rgba(245,185,66,0.15);
  box-shadow: 0 0 0 0px rgba(245,185,66,0);
  opacity: 0.55;
  padding: 0;
  background: none;
  transition: border 0.35s ease, box-shadow 0.35s ease, transform 0.3s cubic-bezier(.16,1,.3,1), opacity 0.3s ease;
}
.fleet-thumb img { width: 100%; height: 100%; object-fit: cover; }
.fleet-thumb.is-active {
  border-color: var(--color-gold);
  box-shadow: 0 0 0 4px rgba(245,185,66,0.18);
  transform: scale(1.08);
  opacity: 1;
}
