/* ============================================================
   ALS Events — shared stylesheet
Linked from every page's <head> via:
     <link rel="stylesheet" href="assests/css/style.css" />
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body {
  font-family: 'Jost', sans-serif;
  background: #FBF9FF;
  color: #1B1523;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ── VARIABLES ── Luxury Purple & Gold palette ─────────── */
:root {
  --bg:        #FBF9FF;
  --fg:        #1B1523;
  --primary:   #3E2C74;   /* deep violet, replaces old forest green */
  --primary-2: #6C4DFF;   /* royal purple accent */
  --accent:    #D4AF37;   /* luxury gold, replaces old tan/gold accent */
  --accent-2:  #7B2CBF;   /* deep violet-purple */
  --card:      #FFFFFF;
  --muted-bg:  #F1ECFA;
  --muted-fg:  #6B6478;
  --charcoal:  #1A1A1A;
  --border:    rgba(108, 77, 255, 0.16);
  --serif:     'Playfair Display', Georgia, serif;
  --sans:      'Jost', sans-serif;
  --glow:      0 0 0 1px rgba(212,175,55,.35), 0 8px 30px rgba(108,77,255,.25);
}

/* ── UTILS ────────────────────────────────────────────── */
.container   { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section-label {
  font-size: 11px;
  letter-spacing: .4em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 12px;
  display: block;
}
.section-title {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 400;
  color: var(--fg);
  line-height: 1.2;
}
/* Word spans produced by SplitType — inline-block so translateY works */
.section-title .word,
.hero-title .word,
.contact-info-title .word {
  display: inline-block;
  will-change: transform, opacity;
}
.divider {
  width: 56px; height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary-2));
  margin: 20px auto 0;
  transform-origin: center;
}
.divider--left { margin-left: 0; transform-origin: left center; }

/* Premium buttons: glowing border + gradient sweep + ripple + magnetic-ready */
.btn-primary, .btn-accent, .btn-outline {
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.btn-primary::before, .btn-accent::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,.35), transparent);
  transform: translateX(-120%);
  transition: transform .6s ease;
  z-index: 1;
  pointer-events: none;
}
.btn-primary:hover::before, .btn-accent:hover::before { transform: translateX(120%); }
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,.5);
  transform: scale(0);
  animation: rippleAnim .6s ease-out forwards;
  pointer-events: none;
  z-index: 2;
}
@keyframes rippleAnim { to { transform: scale(2.6); opacity: 0; } }

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--primary);
  color: #FBF9FF;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.btn-primary:hover { background: var(--primary-2); box-shadow: var(--glow); transform: translateY(-2px); }
.btn-accent {
  display: inline-block;
  padding: 14px 36px;
  background: linear-gradient(120deg, var(--accent), #e8c968);
  color: #1A1A1A;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: box-shadow .3s, transform .3s;
}
.btn-accent:hover { box-shadow: 0 10px 34px rgba(212,175,55,.45); transform: translateY(-2px); }
.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  font-size: 12px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 500;
  transition: background .3s, border-color .3s, box-shadow .3s, transform .3s;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: var(--accent); box-shadow: 0 0 0 1px rgba(212,175,55,.4); transform: translateY(-2px); }

/* ── NAVBAR ───────────────────────────────────────────── */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  transition: background .4s, box-shadow .4s;
}
#navbar.scrolled {
  background: rgba(251, 249, 255, 0.9);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 1px 0 var(--border), 0 12px 30px -18px rgba(62,44,116,.35);
}
.nav-inner {
  display: flex; align-items: center;
  justify-content: space-between;
  height: 80px; padding: 0 40px;
  max-width: 1280px; margin: 0 auto;
}
.logo { cursor: pointer; display: flex; align-items: center; }
.logo img {
  height: 56px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter .35s;
}
#navbar.scrolled .logo img { filter: brightness(1) invert(0); }
.nav-links {
  display: flex; align-items: center; gap: 32px;
  list-style: none;
}
.nav-links a {
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-weight: 500;
  color: rgba(255,255,255,.8);
  transition: color .2s;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width .3s;
}
.nav-links a:hover::after { width: 100%; }
.nav-links a:hover { color: #fff; }
#navbar.scrolled .nav-links a { color: var(--fg); }
#navbar.scrolled .nav-links a:hover { color: var(--primary-2); }
.nav-cta {
  margin-left: 16px;
  padding: 10px 24px;
  background: linear-gradient(120deg, var(--accent), #e8c968);
  color: #1A1A1A;
  font-size: 11px;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-weight: 600;
  transition: box-shadow .25s, transform .25s;
}
.nav-cta:hover { color: #1A1A1A; box-shadow: 0 8px 24px rgba(212,175,55,.4); transform: translateY(-2px); }
.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 24px; height: 2px;
  background: #fff; transition: all .3s;
}
#navbar.scrolled .hamburger span { background: var(--fg); }
.mobile-menu {
  display: none;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 16px 24px 24px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-size: 13px;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--fg);
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.mobile-menu a:last-child { border-bottom: none; }

/* ── HERO ─────────────────────────────────────────────── */
#home {
  position: relative; height: 100vh; min-height: 640px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(160deg, #2B1F52, var(--primary) 60%, var(--accent-2));
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  opacity: .4;
  filter: blur(18px) saturate(1.1);
  transform: scale(1.12);
  will-change: transform, opacity, filter;
}
.hero-img.is-sharp { filter: blur(0) saturate(1.1); transform: scale(1); }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to bottom, rgba(26,17,45,.6) 0%, rgba(41,26,71,.4) 50%, rgba(20,13,36,.78) 100%);
}
/* floating decorative shapes */
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(2px);
  pointer-events: none;
  opacity: .5;
  will-change: transform;
}
.hero-orb--1 { width: 220px; height: 220px; top: 12%; left: 6%; background: radial-gradient(circle at 30% 30%, rgba(212,175,55,.55), transparent 70%); }
.hero-orb--2 { width: 160px; height: 160px; bottom: 14%; right: 8%; background: radial-gradient(circle at 30% 30%, rgba(108,77,255,.55), transparent 70%); }
.hero-content {
  position: relative; z-index: 1;
  text-align: center; padding: 0 24px;
  max-width: 900px; margin: 0 auto;
}
.hero-tag {
  font-size: 11px; letter-spacing: .5em;
  text-transform: uppercase; color: var(--accent);
  font-weight: 500; margin-bottom: 24px; display: block;
}
.hero-title {
  font-family: var(--serif);
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  font-weight: 400; color: #fff;
  line-height: 1.15; margin-bottom: 24px;
}
.hero-title em { color: var(--accent); font-style: italic; }
.hero-desc {
  font-size: 17px; color: rgba(255,255,255,.75);
  font-weight: 300; max-width: 560px; margin: 0 auto 36px;
  line-height: 1.75;
}
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.scroll-indicator {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; opacity: .55;
}
.scroll-indicator span {
  font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: #fff;
}
.scroll-line {
  width: 1px; height: 48px; background: rgba(255,255,255,.4);
  position: relative; overflow: hidden;
}
.scroll-line::after {
  content: ''; position: absolute; top: 0; left: 0;
  width: 100%; height: 50%; background: var(--accent);
  animation: slideDown 1.6s ease-in-out infinite;
}
@keyframes slideDown {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(220%); }
}

/* ── QUOTE STRIP ──────────────────────────────────────── */
.quote-strip {
  background: linear-gradient(120deg, var(--primary), var(--accent-2));
  padding: 48px 24px; text-align: center;
  position: relative; overflow: hidden;
}
.quote-strip p {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-style: italic; color: rgba(251,249,255,.92);
  max-width: 740px; margin: 0 auto; line-height: 1.7;
  position: relative; z-index: 1;
}
.quote-line {
  display: flex; align-items: center;
  justify-content: center; gap: 16px; margin-top: 16px;
  position: relative; z-index: 1;
}
.quote-line span {
  font-size: 10px; letter-spacing: .35em;
  text-transform: uppercase; color: var(--accent);
}
.quote-line::before,
.quote-line::after {
  content: ''; display: block;
  width: 48px; height: 1px; background: rgba(212,175,55,.5);
}

/* ── SERVICES ─────────────────────────────────────────── */
#services { padding: 96px 0; background: linear-gradient(180deg, var(--bg) 0%, #F5F1FF 100%); }
.section-header { text-align: center; margin-bottom: 60px; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 28px;
  align-items: stretch;
}
.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #FFFFFF;
  overflow: hidden;
  border: 1px solid rgba(62,44,116,.06);
  border-radius: 14px;
  will-change: transform, opacity;
  box-shadow: 0 4px 18px rgba(62,44,116,.06);
  transition: box-shadow .3s ease, transform .3s ease, border-color .3s ease;
}
/* Baseline hover — always available even if the JS animation layer fails to load */
.service-card:hover { box-shadow: 0 20px 48px rgba(62,44,116,.16); }
/* Premium hover — enabled once the entrance animation has completed */
.service-card.is-animated:hover {
  transform: translateY(-8px);
  border-color: rgba(212,175,55,.5);
  box-shadow: 0 24px 56px rgba(62,44,116,.2), 0 0 0 1px rgba(212,175,55,.22);
}
.service-img {
  position: relative; overflow: hidden;
  height: 240px;
  background: linear-gradient(160deg, #F7F4FF, #EFE9FB);
  flex-shrink: 0;
}
.service-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s ease, filter .3s ease;
  filter: saturate(1);
}
.service-card:hover .service-img img { transform: scale(1.05); filter: saturate(1.12); }
/* light reflection sweep on hover */
.service-img::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.25) 50%, transparent 60%);
  transform: translateX(-120%);
  transition: transform .8s ease;
  pointer-events: none;
}
.service-card:hover .service-img::after { transform: translateX(120%); }
.service-tag {
  position: absolute; top: 14px; left: 14px;
  background: var(--accent); color: #1A1A1A;
  font-size: 10px; letter-spacing: .25em;
  text-transform: uppercase; font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
}
.service-body { padding: 28px; display: flex; flex-direction: column; flex-grow: 1; }
.service-body h3 {
  font-family: var(--serif);
  font-size: 1.25rem; font-weight: 500;
  color: var(--fg); margin-bottom: 12px;
}
.service-body p {
  font-size: 14px; color: var(--muted-fg);
  line-height: 1.75; margin-bottom: 20px;
  flex-grow: 1;
}
.service-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; letter-spacing: .15em;
  text-transform: uppercase; font-weight: 600;
  color: var(--primary-2);
  transition: gap .2s, color .2s;
}
.service-link:hover { gap: 10px; color: var(--accent-2); }

/* ── ABOUT ────────────────────────────────────────────── */
#about { padding: 96px 0; background: var(--muted-bg); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 72px; align-items: center;
}
.about-img-wrap { position: relative; }
.about-img-inner { position: relative; z-index: 1; overflow: hidden; border-radius: 6px; }
.about-img-inner img { width: 100%; height: 520px; object-fit: cover; }
.about-frame {
  position: absolute; top: 20px; left: 20px;
  right: -20px; bottom: -20px;
  border: 1.5px solid rgba(212,175,55,.4); z-index: 0;
}
.about-badge {
  position: absolute; bottom: 32px; right: -28px;
  background: linear-gradient(135deg, var(--primary), var(--accent-2));
  color: #fff;
  padding: 24px 28px; z-index: 2; text-align: center;
  box-shadow: 0 16px 40px rgba(62,44,116,.35);
}
.about-badge strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.6rem; font-weight: 600;
  line-height: 1;
  color: var(--accent);
}
.about-badge span {
  display: block; font-size: 10px;
  letter-spacing: .2em; text-transform: uppercase;
  color: rgba(255,255,255,.7); margin-top: 6px;
}
.about-text { }
.about-text p {
  font-size: 15px; color: var(--muted-fg);
  line-height: 1.85; margin-bottom: 18px;
}
.about-features {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 14px; margin: 28px 0 36px;
}
.about-feature {
  display: flex; align-items: center; gap: 12px;
}
.about-feature i { color: var(--accent); font-size: 15px; }
.about-feature span {
  font-size: 13px; font-weight: 500;
  letter-spacing: .04em; color: var(--fg);
}

/* ── STATS ────────────────────────────────────────────── */
.stats-strip { background: linear-gradient(120deg, var(--accent), #e8c968); padding: 60px 24px; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px; max-width: 900px; margin: 0 auto;
  text-align: center;
}
.stat-value {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 600; color: #1A1A1A;
  display: block; line-height: 1;
}
.stat-label {
  font-size: 11px; letter-spacing: .22em;
  text-transform: uppercase; font-weight: 500;
  color: rgba(26,26,26,.65); display: block;
  margin-top: 8px;
}

/* ── GALLERY SHOWCASE ─────────────────────────────────────
   Auto-rotating circular photo showcase: a blurred, zoomed
   copy of the active photo fills the background, a giant
   faint caption sits behind the circle, and a masked circular
   frame crossfades + slides between images. Purely transform
   + opacity, so it stays smooth and never shifts layout.   ── */
#gallery { padding: 0; background: var(--bg); overflow-x: hidden; width: 100vw; max-width: 100%; }
#gallery .container { padding: 96px 0 0; width: 100%; max-width: 100%; margin: 0; }

.gallery-showcase {
  position: relative;
  margin-top: 60px;
  height: clamp(480px, 62vw, 640px);
  overflow: hidden;
  background: var(--primary);
  cursor: pointer;
}

/* Blurred / zoomed full-bleed background, one per slide */
.showcase-bg-track { position: absolute; inset: 0; }
.showcase-bg-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(14px) brightness(.8) saturate(1.15);
  transform: scale(1.12);
  opacity: 0;
  transition: opacity 1.1s ease;
  will-change: opacity;
}
.showcase-bg-slide.active { opacity: 1; }

.showcase-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(27,17,44,.2) 0%, rgba(27,17,44,.05) 45%, rgba(27,17,44,.35) 100%);
  z-index: 1;
}

/* Soft frosted panel behind the circle/text — feathered edges so it
   melts into the full-bleed blurred photo on either side instead of
   reading as a hard-edged box. Purely decorative, sits under the
   giant label + circle. */
.showcase-center-panel {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(58%, 720px);
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.07) 55%, rgba(255,255,255,.14) 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 78%, transparent 100%);
  mask-image: linear-gradient(to right, transparent 0%, rgba(0,0,0,1) 22%, rgba(0,0,0,1) 78%, transparent 100%);
}
@media (max-width: 640px) {
  .showcase-center-panel { width: 92%; }
}

/* Giant faint caption behind the circle — shows the category */
.showcase-label-track {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 2; pointer-events: none;
}
.showcase-label {
  position: absolute;
  font-family: var(--serif);
  font-size: clamp(2.6rem, 9vw, 7rem);
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.10);
  white-space: nowrap;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 1s ease, transform 1s ease;
}
.showcase-label.active { opacity: 1; transform: translateY(0); }

/* Circular masked photo frame */
.showcase-circle-wrap {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  z-index: 3;
}
.showcase-circle {
  position: absolute;
  width: clamp(280px, 32vw, 440px);
  height: clamp(280px, 32vw, 440px);
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid rgba(212,175,55,.45);
  box-shadow: 0 30px 70px rgba(0,0,0,.35), 0 0 0 10px rgba(255,255,255,.06);
  opacity: 0;
  transform: translateY(60px) scale(.92);
  transition: opacity .9s cubic-bezier(.2,.8,.2,1), transform .9s cubic-bezier(.2,.8,.2,1);
  will-change: transform, opacity;
}
.showcase-circle.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  z-index: 4;
}
.showcase-circle.exiting {
  opacity: 0;
  transform: translateY(-60px) scale(.92);
}
.showcase-circle img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 6s ease;
}
.showcase-circle.active img { transform: scale(1.08); }

/* Caption chip under the circle — shows the image title */
.showcase-caption {
  position: absolute;
  left: 50%; bottom: 44px;
  transform: translateX(-50%);
  z-index: 5; text-align: center;
  pointer-events: none;
}
.showcase-caption span {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .3em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  padding: 10px 26px;
  border: 1px solid rgba(212,175,55,.4);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .7s ease .15s, transform .7s ease .15s;
}
.showcase-caption span.active { opacity: 1; transform: translateY(0); }

/* Category tabs strip — "what services we take" bar. A solid
   brand-coloured band spans the full width of the showcase so
   the tabs read as a distinct navigation strip instead of
   floating pills lost against the busy blurred photo behind
   them. Deep violet base (brand primary) + gold (brand accent)
   for the active state gives clear, on-brand contrast. */
.showcase-tabs-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 5;
  padding: 16px 20px;
  display: flex; justify-content: center;
  background: linear-gradient(180deg, rgba(43,31,82,.92) 0%, rgba(43,31,82,.72) 70%, rgba(43,31,82,0) 100%);
}
.showcase-tabs {
  display: flex; gap: 10px; flex-wrap: wrap; justify-content: center;
  max-width: 100%;
}
.showcase-tab {
  padding: 10px 22px;
  font-size: 10px; letter-spacing: .18em;
  text-transform: uppercase; font-weight: 600;
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  backdrop-filter: blur(8px);
  cursor: pointer;
  transition: background .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease, transform .2s ease;
}
.showcase-tab:hover {
  color: #fff;
  border-color: var(--accent);
  background: rgba(255,255,255,.16);
  transform: translateY(-1px);
}
.showcase-tab.active {
  background: var(--accent);
  color: #1A1A1A;
  border-color: var(--accent);
  box-shadow: 0 6px 18px rgba(212,175,55,.45);
}

/* Progress dots */
.showcase-dots {
  position: absolute;
  left: 50%; bottom: 16px; transform: translateX(-50%);
  z-index: 5;
  display: flex; gap: 10px;
}
.showcase-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,.35);
  cursor: pointer;
  transition: background .3s ease, transform .3s ease;
}
.showcase-dot.active { background: var(--accent); transform: scale(1.3); }

@media (max-width: 640px) {
  .gallery-showcase { height: 560px; }
  .showcase-caption { bottom: 34px; }
  .showcase-tabs-bar { padding: 14px 12px; }
  .showcase-circle { width: clamp(240px, 62vw, 320px); height: clamp(240px, 62vw, 320px); }
}

/* ── TESTIMONIALS ─────────────────────────────────────── */
#testimonials { padding: 96px 0; background: linear-gradient(160deg, var(--primary), var(--accent-2)); }
#testimonials .section-title { color: #fff; }
.testi-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px; margin-top: 56px;
}
.testi-card {
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
  padding: 32px;
  border-radius: 6px;
  will-change: transform, opacity;
  transition: background .3s, transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.testi-card:hover {
  background: rgba(255,255,255,.11);
  transform: translateY(-6px);
  border-color: rgba(212,175,55,.4);
  box-shadow: 0 20px 50px rgba(0,0,0,.28);
}
.stars { color: var(--accent); margin-bottom: 20px; font-size: 14px; }
.testi-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px; color: rgba(255,255,255,.85);
  line-height: 1.8; margin-bottom: 28px;
}
.testi-author {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 18px;
}
.testi-author strong {
  display: block; color: #fff;
  font-size: 14px; font-weight: 500;
}
.testi-author span {
  display: block; color: var(--accent);
  font-size: 11px; letter-spacing: .14em;
  margin-top: 4px;
}

/* ── LOCATIONS ────────────────────────────────────────── */
.locations-strip { background: var(--muted-bg); padding: 40px 24px; }
.locations-inner {
  max-width: 800px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: center; flex-wrap: wrap; gap: 0;
}
.location-item {
  display: flex; align-items: center; gap: 12px;
  padding: 0 28px;
}
.location-item + .location-item {
  border-left: 1px solid var(--border);
}
.location-item i { color: var(--accent); font-size: 13px; }
.location-item span {
  font-size: 13px; font-weight: 500;
  letter-spacing: .08em; color: var(--fg);
}

/* ── CONTACT ──────────────────────────────────────────── */
#contact { padding: 96px 0; background: var(--bg); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.2fr;
  gap: 72px; align-items: start;
}
.contact-info-title {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 400; line-height: 1.3; margin-bottom: 16px;
}
.contact-info-title em { font-style: italic; color: var(--primary-2); }
.contact-info-desc {
  font-size: 15px; color: var(--muted-fg);
  line-height: 1.8; margin-bottom: 36px;
}
.contact-item {
  display: flex; align-items: flex-start;
  gap: 16px; margin-bottom: 24px;
}
.contact-icon {
  width: 44px; height: 44px;
  background: rgba(108,77,255,.1);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: background .25s, transform .25s;
}
.contact-item:hover .contact-icon { background: rgba(212,175,55,.16); transform: translateY(-2px); }
.contact-icon i { color: var(--primary-2); font-size: 16px; }
.contact-item-label {
  font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted-fg);
  margin-bottom: 4px;
}
.contact-item-value {
  font-size: 14px; font-weight: 500; color: var(--fg);
  line-height: 1.55;
}
.social-links { display: flex; gap: 12px; margin-top: 32px; }
.social-link {
  width: 40px; height: 40px;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  color: var(--muted-fg);
  transition: color .2s, border-color .2s, transform .25s ease, box-shadow .25s ease;
}
.social-link:hover { color: var(--primary-2); border-color: var(--accent); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(108,77,255,.2); }
/* Form */
.enquiry-form {
  background: var(--card);
  padding: 40px; border: 1px solid var(--border);
  border-radius: 6px;
  box-shadow: 0 20px 60px -30px rgba(62,44,116,.35);
}
.enquiry-form h3 {
  font-family: var(--serif);
  font-size: 1.6rem; font-weight: 400;
  margin-bottom: 28px; color: var(--fg);
}
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 10px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--muted-fg);
  margin-bottom: 8px; font-weight: 500;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  font-family: var(--sans); font-size: 14px;
  color: var(--fg); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--primary-2); box-shadow: 0 0 0 3px rgba(108,77,255,.12); }
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(107,100,120,.45); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit {
  width: 100%; padding: 16px;
  background: var(--primary); color: #FBF9FF;
  font-family: var(--sans);
  font-size: 12px; letter-spacing: .2em;
  text-transform: uppercase; font-weight: 600;
  cursor: pointer; border: none;
  will-change: transform, opacity;
  transition: background .3s, box-shadow .3s, transform .3s;
}
.form-submit:hover { background: var(--primary-2); box-shadow: var(--glow); transform: translateY(-2px); }
.form-error {
  background: #fef2f2; border: 1px solid #fca5a5;
  color: #b91c1c; padding: 12px 16px;
  font-size: 13px; margin-bottom: 16px;
}
.form-success {
  text-align: center; padding: 48px 24px;
}
.success-icon {
  width: 64px; height: 64px;
  background: rgba(108,77,255,.1);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 20px; font-size: 28px; color: var(--primary-2);
}
.form-success h3 {
  font-family: var(--serif);
  font-size: 1.6rem; margin-bottom: 10px;
}
.form-success p { font-size: 14px; color: var(--muted-fg); line-height: 1.75; }

/* ── FOOTER ───────────────────────────────────────────── */
footer { background: var(--charcoal); color: rgba(255,255,255,.55); padding: 64px 0 0; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px; padding-bottom: 48px;
}
.footer-brand .logo-name { color: #fff; }
.footer-brand p {
  font-size: 13px; line-height: 1.75;
  margin-top: 14px; color: rgba(255,255,255,.5);
}
.footer-col h4 {
  font-size: 10px; letter-spacing: .3em;
  text-transform: uppercase; color: #fff;
  font-weight: 500; margin-bottom: 20px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: 13px; color: rgba(255,255,255,.5);
  transition: color .2s;
}
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 24px 0;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p,
.footer-bottom a { font-size: 12px; }
.footer-bottom a:hover { color: var(--accent); }
.footer-links { display: flex; gap: 24px; }

/* ── PHOTO LOOP (subtle, continuous — unrelated to scroll reveal) ───── */
@keyframes floaty {
  0%   { transform: translate3d(0,0,0) scale(1); }
  50%  { transform: translate3d(0,-8px,0) scale(1.01); }
  100% { transform: translate3d(0,0,0) scale(1); }
}
.photo-loop { animation: floaty 8s ease-in-out infinite; }
@keyframes orbFloat {
  0%   { transform: translate3d(0,0,0); }
  50%  { transform: translate3d(14px,-22px,0); }
  100% { transform: translate3d(0,0,0); }
}
.hero-orb { animation: orbFloat 10s ease-in-out infinite; }
.hero-orb--2 { animation-duration: 13s; animation-delay: -4s; }
@media (prefers-reduced-motion: reduce) {
  .photo-loop { animation: none !important; }
  .hero-orb { animation: none !important; }
}

/* Page loader */
#page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s ease, visibility .6s ease;
}
#page-loader.hide { opacity: 0; visibility: hidden; }
.loader-mark {
  font-family: var(--serif);
  font-size: 14px; letter-spacing: .5em; text-transform: uppercase;
  color: var(--accent);
  opacity: 0;
}

/* Magnetic cursor targets get a subtle will-change hint */
[data-magnetic] { will-change: transform; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .about-badge { right: 16px; bottom: 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; }
}
@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .locations-inner { gap: 12px; }
  .location-item + .location-item { border-left: none; padding-left: 0; }
}
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .hero-btns { flex-direction: column; align-items: center; }
}

/* ── GALLERY MODAL (Popup) ───────────────────────────────── */
.gallery-modal{
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}
.gallery-modal.show{ display: block; }
.gallery-modal__backdrop{
  position:absolute;
  inset:0;
  background: rgba(20,13,30,.72);
  backdrop-filter: blur(4px);
}
.gallery-modal__dialog{
  position: relative;
  width: min(980px, 92vw);
  margin: 8vh auto 0;
  background: rgba(0,0,0,.2);
  border-radius: 14px;
  padding: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  box-shadow: 0 24px 80px rgba(0,0,0,.4);
}
.gallery-modal__img{
  width: 100%;
  height: auto;
  max-height: 78vh;
  object-fit: contain;
  background: rgba(0,0,0,.25);
  border-radius: 14px;
}
.gallery-modal__close{
  position: absolute;
  top: 12px;
  right: 12px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0,0,0,.55);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  z-index: 2;
  cursor:pointer;
  transition: background .2s, transform .2s;
}
.gallery-modal__close:hover{ background: var(--accent-2); transform: rotate(90deg); }

/* ── BACK TO TOP ──────────────────────────────────────── */
#back-top {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 44px; height: 44px;
  background: var(--primary); color: #fff;
  display: none; align-items: center; justify-content: center;
  cursor: pointer; transition: background .25s, box-shadow .25s, transform .25s;
  box-shadow: 0 4px 16px rgba(62,44,116,.35);
}
#back-top.show { display: flex; }
#back-top:hover { background: var(--primary-2); box-shadow: var(--glow); transform: translateY(-3px); }

/* ── REDUCED MOTION SAFETY NET ───────────────────────────
   The JS animation engine already skips itself entirely when
   this media query matches, so nothing is ever hidden via CSS.
   This block simply guarantees no residual inline transforms
   survive if a user toggles the OS setting mid-session. ───── */
@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; }
  .portfolio-item.is-hidden { display: none !important; }
  .portfolio-item.is-exiting { display: none !important; }
}


/* ── EXTRA RESPONSIVE REFINEMENTS ─────────────────────── */

/* Tighten nav padding as screens narrow */
@media (max-width: 768px) {
  .nav-inner { padding: 0 20px; height: 68px; }
  .logo img { height: 44px; }
}

/* Reduce vertical section padding on mobile so pages don't feel bloated */
@media (max-width: 768px) {
  #services, #about, #testimonials { padding: 64px 0; }
  #gallery .container { padding: 64px 0 0; }
  #contact { padding: 64px 0; }
  .section-header { margin-bottom: 40px; }
}

/* Hero: guard against short/landscape viewports */
@media (max-width: 768px) {
  #home { min-height: 100svh; height: 100svh; }
  .hero-desc { font-size: 15px; margin-bottom: 28px; }
}
@media (max-height: 480px) and (orientation: landscape) {
  #home { min-height: 100vh; height: auto; padding: 100px 0 60px; }
  .scroll-indicator { display: none; }
}

/* About image: stop using a fixed pixel height on mobile */
@media (max-width: 1024px) {
  .about-img-inner img { height: 60vw; max-height: 420px; min-height: 260px; }
}
@media (max-width: 480px) {
  .about-badge { padding: 16px 18px; }
  .about-badge strong { font-size: 1.8rem; }
}

/* Small-phone tier (below current 480px breakpoint) */
@media (max-width: 380px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: 2.1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .about-features { grid-template-columns: 1fr; }
  .showcase-tab { padding: 8px 14px; font-size: 9px; }
  .btn-primary, .btn-accent, .btn-outline { padding: 12px 24px; font-size: 11px; }
  .enquiry-form { padding: 24px; }
}

/* Keep service cards from ever forcing horizontal overflow */
.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
}

/* Gallery modal breathing room on small screens */
@media (max-width: 480px) {
  .gallery-modal__dialog { margin-top: 4vh; border-radius: 10px; }
  .gallery-modal__close { top: 8px; right: 8px; width: 38px; height: 38px; }
}

/* Prevent any stray element from creating horizontal scroll */
html, body { max-width: 100%; overflow-x: hidden; }