/* ==========================================================================
   Artha Systems — Components
   ========================================================================== */

/* ==========================================================================
   1. Top bar
   ========================================================================== */

.topbar {
  position: relative;
  z-index: calc(var(--z-header) + 1);
  background: linear-gradient(180deg, var(--slate-deep), #0D1524);
  font-size: var(--fs-xs);
  color: var(--muted);
  transition: transform var(--t-slow) var(--ease), opacity var(--t-base) var(--ease);
}

.topbar::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(217,180,91,.42) 30%, rgba(217,180,91,.42) 70%, transparent);
}

.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--topbar-h);
}

.topbar__group { display: flex; align-items: center; gap: 1.5rem; }

.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  transition: color var(--t-fast) var(--ease);
  white-space: nowrap;
}
.topbar__link:hover { color: var(--gold-lit); }
.topbar__link svg { width: 14px; height: 14px; flex: none; opacity: .8; }

.topbar__locations {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-mono);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .6875rem;
  color: var(--muted);
}
.topbar__dot { width: 3px; height: 3px; border-radius: 50%; background: var(--gold); opacity: .7; }

.topbar__socials { display: flex; align-items: center; gap: .25rem; }

.social-btn {
  display: grid;
  place-items: center;
  width: 30px; height: 30px;
  border-radius: var(--r-xs);
  color: var(--muted);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.social-btn:hover { color: var(--platinum); background: var(--glass); }
.social-btn svg { width: 15px; height: 15px; }

.topbar__cta {
  color: var(--gold);
  font-weight: 600;
  border-left: 1px solid var(--glass-brd);
  padding-left: 1.5rem;
  white-space: nowrap;
  transition: color var(--t-fast) var(--ease);
}
.topbar__cta:hover { color: var(--gold-lit); }

/* ==========================================================================
   2. Header / navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: var(--z-header);
  background: rgba(10, 16, 28, .72);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border-bottom: 1px solid var(--glass-brd);
  transition: background var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}

.header.is-scrolled {
  background: rgba(8, 13, 23, .90);
  -webkit-backdrop-filter: blur(28px) saturate(180%);
  backdrop-filter: blur(28px) saturate(180%);
  box-shadow: var(--sh-2);
  border-bottom-color: var(--glass-brd-lit);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .header { background: #0A101C; }
  .header.is-scrolled { background: #070C16; }
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  min-height: var(--header-h);
  transition: min-height var(--t-base) var(--ease);
}
.header.is-scrolled .header__inner { min-height: 64px; }

/* --- Logo --------------------------------------------------------------- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  flex: none;
}
.logo img {
  height: 42px;
  width: auto;
  transition: height var(--t-base) var(--ease), filter var(--t-base) var(--ease);
  filter: drop-shadow(0 2px 10px rgba(91,143,212,.28));
}
.header.is-scrolled .logo img { height: 34px; }
.logo:hover img { filter: drop-shadow(0 2px 16px rgba(217,180,91,.34)); }

.logo__divider { width: 1px; height: 26px; background: var(--glass-brd); }
.logo__tag {
  font-family: var(--ff-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--muted);
  line-height: 1.35;
  max-width: 8ch;
}

/* --- Primary nav -------------------------------------------------------- */
.nav { display: flex; align-items: center; gap: .25rem; }

.nav__item { position: relative; }

.nav__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  padding: .625rem .875rem;
  min-height: 44px;
  font-family: var(--ff-sans);
  font-size: .9375rem;
  font-weight: 500;
  color: var(--mist);
  border-radius: var(--r-sm);
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
  white-space: nowrap;
}
.nav__link:hover, .nav__item:focus-within > .nav__link { color: var(--platinum); }

/* Gold underline wipe */
.nav__link::after {
  content: "";
  position: absolute;
  left: .875rem; right: .875rem;
  bottom: .375rem;
  height: 1.5px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lit));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--t-base) var(--ease);
  border-radius: 2px;
}
.nav__link:hover::after,
.nav__item:focus-within > .nav__link::after { transform: scaleX(1); }

.nav__link[aria-current="page"] { color: var(--platinum); }
.nav__link[aria-current="page"]::after { transform: scaleX(1); }

.nav__caret {
  width: 11px; height: 11px;
  transition: transform var(--t-base) var(--ease);
  opacity: .7;
}
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }

/* --- Dropdown / mega menu ----------------------------------------------- */
.mega, .dropdown {
  position: absolute;
  top: calc(100% + 10px);
  z-index: var(--z-dropdown);
  background: rgba(17, 27, 46, .92);
  -webkit-backdrop-filter: blur(26px) saturate(170%);
  backdrop-filter: blur(26px) saturate(170%);
  border: 1px solid var(--glass-brd-lit);
  border-radius: var(--r-md);
  box-shadow: var(--sh-3);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px) scale(.985);
  transform-origin: top center;
  transition: opacity var(--t-base) var(--ease),
              transform var(--t-base) var(--ease),
              visibility var(--t-base);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mega, .dropdown { background: #131F35; }
}

.nav__item:hover > .mega,
.nav__item:hover > .dropdown,
.nav__item:focus-within > .mega,
.nav__item:focus-within > .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.mega {
  left: 50%;
  margin-left: min(-340px, -34vw);
  width: min(680px, calc(100vw - 2 * var(--gutter)));
  padding: 1.5rem;
}

.mega__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: .5rem; }

.mega__card {
  display: flex;
  align-items: flex-start;
  gap: .875rem;
  padding: .875rem;
  border-radius: var(--r-sm);
  border: 1px solid transparent;
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.mega__card:hover { background: var(--glass); border-color: var(--glass-brd); }

.mega__icon {
  display: grid;
  place-items: center;
  width: 38px; height: 38px;
  flex: none;
  border-radius: var(--r-xs);
  background: linear-gradient(145deg, rgba(52,91,142,.34), rgba(52,91,142,.10));
  border: 1px solid var(--glass-brd);
  color: var(--sapphire-glow);
  transition: color var(--t-fast) var(--ease), transform var(--t-fast) var(--ease);
}
.mega__card:hover .mega__icon { color: var(--gold); transform: rotate(-6deg); }
.mega__icon svg { width: 19px; height: 19px; }

.mega__title {
  font-family: var(--ff-sans);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--platinum);
  margin-bottom: .125rem;
}
.mega__desc { font-size: var(--fs-xs); color: var(--muted); line-height: 1.5; margin: 0; }

.mega__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--glass-brd);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.dropdown {
  left: 0;
  min-width: 240px;
  padding: .5rem;
}
.dropdown__link {
  display: block;
  padding: .75rem .875rem;
  min-height: 44px;
  font-size: .9375rem;
  color: var(--mist);
  border-radius: var(--r-xs);
  transition: background var(--t-fast) var(--ease), color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.dropdown__link:hover { background: var(--glass); color: var(--platinum); padding-left: 1.125rem; }

/* --- Header actions ----------------------------------------------------- */
.header__actions { display: flex; align-items: center; gap: .75rem; flex: none; }

/* --- Burger ------------------------------------------------------------- */
.burger {
  display: none;
  place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  color: var(--platinum);
}
.burger__box { position: relative; width: 20px; height: 14px; }
.burger__line {
  position: absolute;
  left: 0;
  width: 100%; height: 1.5px;
  background: currentColor;
  border-radius: 2px;
  transition: transform var(--t-base) var(--ease), opacity var(--t-fast) var(--ease);
}
.burger__line:nth-child(1) { top: 0; }
.burger__line:nth-child(2) { top: 6.25px; }
.burger__line:nth-child(3) { top: 12.5px; }
.burger[aria-expanded="true"] .burger__line:nth-child(1) { transform: translateY(6.25px) rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { transform: translateY(-6.25px) rotate(-45deg); }

/* --- Scroll progress ---------------------------------------------------- */
.scroll-progress {
  position: absolute;
  left: 0; bottom: -1px;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: left;
  background: linear-gradient(90deg, var(--sapphire-lit), var(--gold));
  z-index: 2;
}

/* ==========================================================================
   3. Mobile drawer
   ========================================================================== */

.drawer {
  position: fixed;
  inset: 0;
  z-index: var(--z-overlay);
  display: flex;
  flex-direction: column;
  background: rgba(6, 10, 18, .97);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  opacity: 0;
  visibility: hidden;
  transform: translateX(100%);
  transition: transform var(--t-slow) var(--ease), opacity var(--t-base) var(--ease), visibility var(--t-slow);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { opacity: 1; visibility: visible; transform: translateX(0); }

.drawer__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem var(--gutter);
  border-bottom: 1px solid var(--glass-brd);
  position: sticky;
  top: 0;
  background: rgba(6,10,18,.92);
  z-index: 2;
}
.drawer__close {
  display: grid; place-items: center;
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-brd);
  color: var(--platinum);
}
.drawer__close svg { width: 20px; height: 20px; }

.drawer__body { padding: 1.5rem var(--gutter) 3rem; flex: 1; }

.drawer__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  min-height: 56px;
  font-family: var(--ff-sans);
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--platinum);
  border-bottom: 1px solid rgba(255,255,255,.055);
  opacity: 0;
  transform: translateX(24px);
}
.drawer.is-open .drawer__link { animation: drawerIn .5s var(--ease) forwards; }
.drawer__link svg { width: 16px; height: 16px; color: var(--muted); flex: none; }

.drawer__group { margin-top: .5rem; }
.drawer__grouplabel {
  font-family: var(--ff-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 1.75rem 0 .5rem;
}
.drawer__sublink {
  display: block;
  padding: .8125rem 0 .8125rem 1rem;
  min-height: 46px;
  font-size: .9375rem;
  color: var(--mist);
  border-left: 1px solid var(--glass-brd);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
}
.drawer__sublink:hover { color: var(--platinum); border-left-color: var(--gold); padding-left: 1.25rem; }

.drawer__footer {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--glass-brd);
  display: grid;
  gap: 1rem;
}

/* ==========================================================================
   4. Buttons
   ========================================================================== */

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  min-height: 48px;
  padding: .875rem 1.75rem;
  font-family: var(--ff-sans);
  font-size: .9375rem;
  font-weight: 600;
  letter-spacing: .005em;
  border-radius: var(--r-pill);
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  white-space: nowrap;
  transition: transform var(--t-base) var(--ease),
              box-shadow var(--t-base) var(--ease),
              background var(--t-base) var(--ease),
              color var(--t-base) var(--ease),
              border-color var(--t-base) var(--ease);
}
.btn svg { width: 17px; height: 17px; flex: none; }

.btn--primary {
  background: linear-gradient(135deg, var(--gold-lit), var(--gold) 52%, var(--gold-deep));
  color: var(--on-gold);
  box-shadow: var(--glow-gold);
}
.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 0 1px rgba(217,180,91,.42),
              0 16px 44px rgba(217,180,91,.30),
              0 4px 12px rgba(217,180,91,.20);
}
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: var(--glass);
  color: var(--platinum);
  border: 1px solid var(--glass-brd-lit);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.btn--ghost:hover {
  transform: translateY(-2px);
  background: var(--glass-strong);
  border-color: var(--gold);
  color: var(--gold-lit);
  box-shadow: var(--sh-2);
}

.btn--blue {
  background: linear-gradient(135deg, var(--sapphire-lit), var(--sapphire));
  color: #fff;
  box-shadow: var(--glow-blue);
}
.btn--blue:hover { transform: translateY(-2px); box-shadow: 0 16px 44px rgba(91,143,212,.32), 0 0 0 1px rgba(91,143,212,.42); }

.btn--sm { min-height: 42px; padding: .625rem 1.25rem; font-size: .875rem; }
.btn--lg { min-height: 56px; padding: 1.0625rem 2.25rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* Ripple */
.btn__ripple {
  position: absolute;
  border-radius: 50%;
  transform: scale(0);
  background: rgba(255,255,255,.42);
  pointer-events: none;
  animation: ripple .6s var(--ease-out) forwards;
  z-index: -1;
}

/* Text link with arrow */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-family: var(--ff-sans);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--gold);
  min-height: 44px;
  transition: color var(--t-fast) var(--ease), gap var(--t-base) var(--ease);
}
.link-arrow:hover { color: var(--gold-lit); gap: .875rem; }
.link-arrow svg { width: 16px; height: 16px; transition: transform var(--t-base) var(--ease); }
.link-arrow:hover svg { transform: translateX(2px); }

/* ==========================================================================
   5. Glass cards + 3D tilt
   ========================================================================== */

.glass {
  position: relative;
  background: var(--glass);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-md);
  box-shadow: var(--sh-2), var(--sh-inset);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(23, 35, 58, .94); }
}

/* Top edge light-catch */
.glass::before {
  content: "";
  position: absolute;
  inset-inline: 12%;
  top: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.30), transparent);
  pointer-events: none;
}

.card {
  position: relative;
  padding: clamp(1.5rem, 2.4vw, 2.125rem);
  cursor: pointer;
  transition: transform var(--t-slow) var(--ease),
              box-shadow var(--t-slow) var(--ease),
              border-color var(--t-slow) var(--ease),
              background var(--t-slow) var(--ease);
}
.card:hover {
  background: var(--glass-strong);
  border-color: var(--glass-brd-lit);
  box-shadow: var(--sh-3);
}

/* Gold corner glow on hover */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(24rem 18rem at var(--mx, 50%) var(--my, 0%), rgba(217,180,91,.13), transparent 70%);
  transition: opacity var(--t-slow) var(--ease);
}
.card:hover::after { opacity: 1; }

/* 3D tilt container */
.tilt-scene { perspective: 1200px; }
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform var(--t-slow) var(--ease);
}
.tilt__layer { transform: translateZ(38px); }

.card__icon {
  display: grid;
  place-items: center;
  width: 58px; height: 58px;
  border-radius: var(--r-sm);
  margin-bottom: 1.5rem;
  background: linear-gradient(145deg, rgba(52,91,142,.40), rgba(52,91,142,.10));
  border: 1px solid var(--glass-brd);
  color: var(--sapphire-glow);
  box-shadow: var(--sh-1), inset 0 1px 0 rgba(255,255,255,.10);
  transition: color var(--t-base) var(--ease), transform var(--t-base) var(--ease), border-color var(--t-base) var(--ease);
}
.card:hover .card__icon {
  color: var(--gold);
  border-color: rgba(217,180,91,.42);
  transform: rotate(-7deg) scale(1.04);
}
.card__icon svg { width: 27px; height: 27px; }

.card__title { font-size: var(--fs-h4); margin-bottom: .625rem; }
.card__text  { font-size: var(--fs-sm); color: var(--muted); margin: 0; }
.card__link  { margin-top: 1.25rem; }

/* Numbered card (process steps) */
.card__num {
  font-family: var(--ff-display);
  font-size: 3.25rem;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(217,180,91,.42);
  margin-bottom: 1rem;
  display: block;
}

/* ==========================================================================
   6. Pills, chips, badges
   ========================================================================== */

.pill {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  background: var(--glass);
  border: 1px solid var(--glass-brd);
  font-family: var(--ff-mono);
  font-size: .6875rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--mist);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.pill--gold { border-color: rgba(217,180,91,.34); color: var(--gold); background: rgba(217,180,91,.07); }
.pill svg { width: 13px; height: 13px; }

.pill__dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--aurora);
  box-shadow: 0 0 0 3px rgba(79,209,197,.18);
  animation: pulseDot 2.4s var(--ease-in-out) infinite;
}

/* Floating stat chip */
.stat-chip {
  position: absolute;
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  background: rgba(17, 27, 46, .78);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid var(--glass-brd-lit);
  box-shadow: var(--sh-3);
  z-index: var(--z-raised);
}
/* display:block so the pair stacks whether the markup uses <p> or <span> */
.stat-chip__value {
  display: block;
  font-family: var(--ff-sans);
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--platinum);
  line-height: 1;
  letter-spacing: -0.02em;
}
.stat-chip__label {
  display: block;
  font-family: var(--ff-mono);
  font-size: .625rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .375rem;
}

/* ==========================================================================
   7. Stats / counters
   ========================================================================== */

.stat { text-align: center; }
.stat__value {
  font-family: var(--ff-sans);
  font-size: clamp(2.25rem, 3.8vw, 3.5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  background: linear-gradient(135deg, var(--platinum) 20%, var(--gold));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.stat__label {
  font-family: var(--ff-mono);
  font-size: .6875rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: .75rem;
}

/* ==========================================================================
   8. Reviews
   ========================================================================== */

.reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.5rem clamp(1.25rem, 2.4vw, 2rem);
  margin-bottom: 2.5rem;
}

.rating-summary { display: flex; align-items: center; gap: 1.25rem; }
.rating-summary__score {
  font-family: var(--ff-sans);
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.04em;
  color: var(--platinum);
}
.rating-summary__meta { font-size: var(--fs-sm); color: var(--muted); }

.stars { display: inline-flex; gap: 2px; }
.stars svg { width: 16px; height: 16px; color: var(--gold); }
.stars--lg svg { width: 20px; height: 20px; }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: var(--fs-xs);
  color: var(--muted);
}
.google-badge svg { width: 16px; height: 16px; }

/* Tabs */
.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  margin-bottom: 2.5rem;
  justify-content: center;
}
.tab {
  min-height: 44px;
  padding: .625rem 1.25rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  color: var(--mist);
  font-family: var(--ff-sans);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease),
              border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease);
}
.tab:hover { color: var(--platinum); border-color: var(--glass-brd-lit); background: var(--glass-strong); }
.tab[aria-selected="true"] {
  background: linear-gradient(135deg, var(--gold-lit), var(--gold));
  color: var(--on-gold);
  border-color: transparent;
  box-shadow: var(--glow-gold);
}

.review-card { padding: clamp(1.5rem, 2.2vw, 2rem); display: flex; flex-direction: column; gap: 1rem; }
.review-card__top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.review-card__text { font-size: var(--fs-sm); color: var(--mist); line-height: 1.7; flex: 1; margin: 0; }
.review-card__foot { display: flex; align-items: center; gap: .875rem; padding-top: 1rem; border-top: 1px solid var(--glass-brd); }
.review-card__avatar {
  display: grid; place-items: center;
  width: 42px; height: 42px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--sapphire), var(--sapphire-deep));
  color: #fff;
  font-family: var(--ff-sans);
  font-weight: 600;
  font-size: .9375rem;
  border: 1px solid var(--glass-brd-lit);
}
.review-card__name { font-family: var(--ff-sans); font-weight: 600; font-size: .9375rem; color: var(--platinum); }
.review-card__date { font-size: var(--fs-xs); color: var(--muted); }
.review-card__chip {
  font-family: var(--ff-mono);
  font-size: .625rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  padding: .3125rem .625rem;
  border-radius: var(--r-pill);
  background: rgba(217,180,91,.09);
  border: 1px solid rgba(217,180,91,.24);
  white-space: nowrap;
}

.reviews__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.25rem, 2vw, 1.75rem); }
.reviews__grid > * { animation: fadeUp .5s var(--ease) backwards; }

.reviews__empty { text-align: center; padding: 3rem 1rem; color: var(--muted); grid-column: 1 / -1; }

.reviews__note {
  margin-top: 2rem;
  padding: 1rem 1.25rem;
  border-radius: var(--r-sm);
  border: 1px dashed rgba(217,180,91,.30);
  background: rgba(217,180,91,.05);
  font-size: var(--fs-xs);
  color: var(--muted);
  text-align: center;
}
.reviews__note strong { color: var(--gold); }

/* ==========================================================================
   9. Forms
   ========================================================================== */

.form { display: grid; gap: 1.375rem; }
.form__row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.375rem; }

.field { position: relative; display: flex; flex-direction: column; }

.field__label {
  font-family: var(--ff-sans);
  font-size: var(--fs-xs);
  font-weight: 500;
  letter-spacing: .04em;
  color: var(--mist);
  margin-bottom: .5rem;
}
.field__label .req { color: var(--gold); margin-left: 2px; }

.field__input,
.field__select,
.field__textarea {
  width: 100%;
  min-height: 52px;
  padding: .875rem 1.125rem;
  font-family: var(--ff-body);
  font-size: var(--fs-sm);
  color: var(--platinum);
  background: rgba(255,255,255,.035);
  border: 1px solid var(--glass-brd);
  border-radius: var(--r-sm);
  transition: border-color var(--t-fast) var(--ease),
              box-shadow var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease);
}
.field__textarea { min-height: 132px; resize: vertical; line-height: 1.65; }

.field__input::placeholder, .field__textarea::placeholder { color: #5D6B82; }

.field__input:hover, .field__select:hover, .field__textarea:hover { border-color: var(--glass-brd-lit); }

.field__input:focus, .field__select:focus, .field__textarea:focus {
  outline: none;
  background: rgba(255,255,255,.055);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(217,180,91,.16);
}

.field__select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237C8AA1' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 17px;
  padding-right: 2.75rem;
}
.field__select option { background: var(--slate-deep); color: var(--platinum); }

.field__error {
  display: none;
  align-items: center;
  gap: .375rem;
  margin-top: .5rem;
  font-size: var(--fs-xs);
  color: var(--danger);
}
.field__error svg { width: 13px; height: 13px; flex: none; }
.field.is-invalid .field__error { display: flex; }
.field.is-invalid .field__input,
.field.is-invalid .field__select,
.field.is-invalid .field__textarea {
  border-color: var(--danger);
  box-shadow: 0 0 0 3px rgba(251,113,133,.14);
}

/* Phone group — dial-code select + number.
   The input needs `flex:1` and `min-width:0`; without them the select's
   fixed basis wins the row and the number field collapses to a few pixels
   inside a narrow two-column form. */
/* Sits in a half-width form column (~190px), so side-by-side only fits on
   wide layouts. `flex-wrap` + a 140px basis on the input means the number
   drops onto its own full-width line whenever the pair would be squeezed,
   instead of collapsing to an unusable ~58px box. */
.field__group { display: flex; flex-wrap: wrap; gap: .625rem; }
.field__group .field__select { flex: 0 0 auto; width: 112px; padding-right: 2rem; }
.field__group .field__input  { flex: 1 1 140px; min-width: 0; }

/* Never break a phone number across lines */
a[href^="tel:"] { white-space: nowrap; }

/* Consent checkbox */
.checkbox { display: flex; align-items: flex-start; gap: .75rem; cursor: pointer; min-height: 44px; }
.checkbox input { position: absolute; opacity: 0; width: 0; height: 0; }
.checkbox__box {
  display: grid;
  place-items: center;
  width: 22px; height: 22px;
  flex: none;
  margin-top: 2px;
  border-radius: var(--r-xs);
  border: 1px solid var(--glass-brd-lit);
  background: rgba(255,255,255,.035);
  transition: background var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease);
}
.checkbox__box svg { width: 13px; height: 13px; color: var(--on-gold); opacity: 0; transform: scale(.5); transition: opacity var(--t-fast) var(--ease), transform var(--t-fast) var(--ease); }
.checkbox input:checked + .checkbox__box { background: var(--gold); border-color: var(--gold); }
.checkbox input:checked + .checkbox__box svg { opacity: 1; transform: scale(1); }
.checkbox input:focus-visible + .checkbox__box { outline: 3px solid var(--sapphire-glow); outline-offset: 3px; }
.checkbox__text { font-size: var(--fs-xs); color: var(--muted); line-height: 1.6; }
.checkbox__text a { color: var(--gold); text-decoration: underline; text-underline-offset: 2px; }

/* Honeypot */
.hp { position: absolute !important; left: -9999px; opacity: 0; height: 0; width: 0; overflow: hidden; }

/* Submit loading state */
.btn.is-loading { pointer-events: none; opacity: .75; }
.btn.is-loading .btn__label { opacity: .55; }
.btn__spinner { display: none; width: 17px; height: 17px; }
.btn.is-loading .btn__spinner { display: block; animation: spin .8s linear infinite; }
.btn.is-loading .btn__icon { display: none; }

.form__status {
  display: none;
  align-items: center;
  gap: .625rem;
  padding: .875rem 1.125rem;
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
}
.form__status.is-visible { display: flex; }
.form__status--error { background: rgba(251,113,133,.09); border: 1px solid rgba(251,113,133,.30); color: var(--danger); }
.form__status--ok    { background: rgba(74,222,128,.09); border: 1px solid rgba(74,222,128,.30); color: var(--success); }

/* ==========================================================================
   10. Sticky mobile action bar
   ========================================================================== */

.mobile-actions {
  display: none;
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-sticky);
  background: rgba(10, 16, 28, .93);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
  border-top: 1px solid var(--glass-brd-lit);
  box-shadow: 0 -8px 34px rgba(0,0,0,.44);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .mobile-actions { background: #0A101C; }
}

.mobile-actions__inner { display: grid; grid-template-columns: 1fr 1fr; }

.mobile-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  min-height: 58px;
  padding: .875rem 1rem;
  font-family: var(--ff-sans);
  font-size: .9375rem;
  font-weight: 600;
  color: var(--platinum);
  transition: background var(--t-fast) var(--ease);
}
.mobile-action:active { background: var(--glass-strong); }
.mobile-action + .mobile-action { border-left: 1px solid var(--glass-brd); }
.mobile-action svg { width: 19px; height: 19px; flex: none; }

.mobile-action--call svg { color: var(--gold); }
.mobile-action--wa   { color: #fff; }
.mobile-action--wa svg { color: var(--whatsapp); }

.mobile-action__pulse { position: relative; display: grid; place-items: center; }
.mobile-action__pulse::after {
  content: "";
  position: absolute;
  inset: -5px;
  border-radius: 50%;
  border: 1.5px solid var(--whatsapp);
  opacity: 0;
  animation: pulseRing 2.2s var(--ease-out) infinite;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */

.footer {
  position: relative;
  background: linear-gradient(180deg, transparent, rgba(10,16,28,.85) 22%, #070C16);
  border-top: 1px solid var(--glass-brd);
  padding-top: clamp(3.5rem, 7vw, 6rem);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
}

.footer__brandmark { margin-bottom: 1.25rem; }
.footer__brandmark img { height: 46px; width: auto; }

.footer__tagline { font-size: var(--fs-sm); color: var(--muted); max-width: 34ch; margin-bottom: 1.75rem; }

.footer__title {
  font-family: var(--ff-mono);
  font-size: .6875rem;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.375rem;
}

.footer__list { list-style: none; display: grid; gap: .8125rem; }
.footer__list a {
  font-size: var(--fs-sm);
  color: var(--muted);
  transition: color var(--t-fast) var(--ease), padding-left var(--t-fast) var(--ease);
  display: inline-block;
  min-height: 24px;
}
.footer__list a:hover { color: var(--gold-lit); padding-left: .3125rem; }

.footer__office { display: grid; gap: .375rem; padding-bottom: 1.25rem; margin-bottom: 1.25rem; border-bottom: 1px solid rgba(255,255,255,.055); }
.footer__office:last-of-type { border-bottom: 0; margin-bottom: 0; }
.footer__office-label {
  font-family: var(--ff-mono);
  font-size: .625rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--sapphire-glow);
}
.footer__office address { font-style: normal; font-size: var(--fs-xs); color: var(--muted); line-height: 1.65; }
.footer__office a { color: var(--mist); transition: color var(--t-fast) var(--ease); }
.footer__office a:hover { color: var(--gold-lit); }

.footer__newsletter { display: flex; gap: .625rem; margin-top: 1.25rem; }
.footer__newsletter .field__input { min-height: 46px; }

.footer__socials { display: flex; gap: .625rem; margin-top: 1.75rem; }
.footer__social {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: var(--r-sm);
  border: 1px solid var(--glass-brd);
  background: var(--glass);
  color: var(--mist);
  transition: color var(--t-fast) var(--ease), border-color var(--t-fast) var(--ease),
              background var(--t-fast) var(--ease), transform var(--t-base) var(--ease);
}
.footer__social:hover { color: var(--gold); border-color: rgba(217,180,91,.42); background: rgba(217,180,91,.07); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 1.75rem;
  border-top: 1px solid var(--glass-brd);
  font-size: var(--fs-xs);
  color: var(--muted);
}

.footer__credit a {
  color: var(--gold);
  font-weight: 600;
  transition: color var(--t-fast) var(--ease);
  border-bottom: 1px solid rgba(217,180,91,.34);
  padding-bottom: 1px;
}
.footer__credit a:hover { color: var(--gold-lit); border-bottom-color: var(--gold-lit); }

.footer__legal { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.footer__legal a { transition: color var(--t-fast) var(--ease); }
.footer__legal a:hover { color: var(--gold-lit); }

/* ==========================================================================
   12. Breadcrumb
   ========================================================================== */

.breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: var(--fs-xs); color: var(--muted); }
.breadcrumb a { transition: color var(--t-fast) var(--ease); }
.breadcrumb a:hover { color: var(--gold-lit); }
.breadcrumb svg { width: 12px; height: 12px; opacity: .55; }
.breadcrumb [aria-current="page"] { color: var(--mist); }

/* ==========================================================================
   13. Accordion (FAQ)
   ========================================================================== */

.accordion { display: grid; gap: 1rem; }
.accordion__item { overflow: hidden; }
.accordion__trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  padding: 1.375rem clamp(1.25rem, 2vw, 1.75rem);
  min-height: 64px;
  text-align: left;
  font-family: var(--ff-sans);
  font-size: 1.0625rem;
  font-weight: 500;
  color: var(--platinum);
  cursor: pointer;
  transition: color var(--t-fast) var(--ease), background var(--t-fast) var(--ease);
}
.accordion__trigger:hover { background: var(--glass); color: var(--gold-lit); }
.accordion__icon {
  display: grid; place-items: center;
  width: 30px; height: 30px;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--glass-brd);
  color: var(--gold);
  transition: transform var(--t-base) var(--ease), background var(--t-fast) var(--ease);
}
.accordion__icon svg { width: 14px; height: 14px; }
.accordion__trigger[aria-expanded="true"] .accordion__icon { transform: rotate(45deg); background: rgba(217,180,91,.13); }
.accordion__panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--t-slow) var(--ease);
}
.accordion__panel[data-open="true"] { grid-template-rows: 1fr; }
.accordion__panel > div { overflow: hidden; }
.accordion__panel p {
  padding: 0 clamp(1.25rem, 2vw, 1.75rem) 1.5rem;
  font-size: var(--fs-sm);
  color: var(--muted);
  margin: 0;
  max-width: 74ch;
}

/* ==========================================================================
   14. Cursor follower (desktop only)
   ========================================================================== */

.cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 26px; height: 26px;
  border-radius: 50%;
  border: 1px solid rgba(217,180,91,.55);
  pointer-events: none;
  z-index: var(--z-toast);
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity var(--t-base) var(--ease), width var(--t-base) var(--ease), height var(--t-base) var(--ease), background var(--t-base) var(--ease);
  will-change: transform;
}
.cursor-dot.is-active { opacity: 1; }
.cursor-dot.is-hover { width: 46px; height: 46px; background: rgba(217,180,91,.09); }

/* ==========================================================================
   15. Page transition veil
   ========================================================================== */

.veil {
  position: fixed;
  inset: 0;
  z-index: var(--z-toast);
  pointer-events: none;
  transform: scaleY(0);
  transform-origin: bottom;
  background: linear-gradient(180deg, var(--gold-deep), var(--gold));
}
.veil.is-out { animation: veilOut .55s var(--ease) forwards; }
