/* =========================================================
   XANADU HOME LOANS — Stylesheet
   ========================================================= */

/* ---------- Reset ---------- */
*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #070a14;
  --bg-2: #0b0f1f;
  --surface: rgba(255,255,255,0.035);
  --surface-2: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.09);
  --border-2: rgba(255,255,255,0.16);
  --text: #eef1f8;
  --muted: #97a0b8;
  --muted-2: #6d7590;
  --accent: #4f8cff;
  --accent-2: #8b5cf6;
  --accent-3: #22d3ee;
  --ok: #34d399;
  --pend: #fbbf24;
  --grad: linear-gradient(135deg, #4f8cff 0%, #8b5cf6 50%, #22d3ee 100%);
  --grad-soft: linear-gradient(135deg, rgba(79,140,255,.16), rgba(139,92,246,.16));
  --shadow: 0 20px 60px -20px rgba(0,0,0,0.7);
  --radius: 16px;
  --radius-lg: 24px;
  --radius-sm: 10px;
  --container: 1240px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, iframe { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

ul { list-style: none; }

button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }

input, textarea, select { font: inherit; color: inherit; }

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
  padding: 120px 0;
}

.section-head {
  max-width: 780px;
  margin: 0 auto 72px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent-3);
  margin-bottom: 18px;
  padding: 8px 16px;
  border: 1px solid var(--border-2);
  border-radius: 999px;
  background: var(--surface);
}

.section-head h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 4.2vw, 54px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
}

.lead {
  font-size: 17px;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* ---------- Preloader ---------- */
.preloader {
  position: fixed;
  inset: 0;
  background: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

.preloader-inner { text-align: center; }

.preloader-logo {
  font-family: 'Playfair Display', serif;
  font-size: 34px;
  font-weight: 800;
  letter-spacing: 0.35em;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 22px;
}

.preloader-bar {
  width: 220px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  margin: 0 auto;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 40%;
  background: var(--grad);
  animation: loadBar 1.2s ease-in-out infinite;
}
@keyframes loadBar {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(280%); }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0%;
  background: var(--grad);
  z-index: 9999;
  transition: width .1s linear;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 18px 0;
  background: rgba(7,10,20,0);
  transition: all .35s ease;
  backdrop-filter: blur(0px);
}
.site-header.scrolled {
  padding: 12px 0;
  background: rgba(7,10,20,0.82);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.logo-mark {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: var(--grad);
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  box-shadow: 0 8px 24px -8px rgba(79,140,255,0.6);
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 15px;
  letter-spacing: 0.01em;
}
.logo-text em {
  font-style: normal;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav ul {
  display: flex;
  gap: 6px;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 8px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  border-radius: 8px;
  transition: color .25s, background .25s;
}
.nav-link:hover { color: var(--text); background: var(--surface); }
.nav-link.active { color: var(--text); }
.nav-link.active::after {
  content: '';
  position: absolute;
  left: 14px; right: 14px; bottom: 2px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--muted);
  transition: color .25s;
}
.phone-link:hover { color: var(--text); }

.phone-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--ok);
  box-shadow: 0 0 0 0 rgba(52,211,153,0.6);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  70% { box-shadow: 0 0 0 12px rgba(52,211,153,0); }
  100% { box-shadow: 0 0 0 0 rgba(52,211,153,0); }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 26px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform .25s, box-shadow .25s, background .25s, color .25s, border-color .25s;
  white-space: nowrap;
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(79,140,255,0.7);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px -14px rgba(139,92,246,0.75);
}

.btn-ghost {
  background: var(--surface);
  color: var(--text);
  border-color: var(--border-2);
  backdrop-filter: blur(10px);
}
.btn-ghost:hover {
  background: var(--surface-2);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: var(--border-2);
}
.btn-outline:hover {
  background: var(--surface);
  border-color: var(--accent);
}

.btn-sm { padding: 10px 20px; font-size: 13px; }
.btn-lg { padding: 17px 34px; font-size: 15px; }
.btn-xs { padding: 7px 16px; font-size: 12px; }
.btn-block { width: 100%; }

/* ---------- Burger ---------- */
.burger {
  display: none;
  width: 42px; height: 42px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 11px 10px;
  flex-direction: column;
  justify-content: space-between;
}
.burger span {
  display: block;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 190px 0 90px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 68px 68px;
  mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse at center, #000 0%, transparent 75%);
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.55;
  animation: floatOrb 14s ease-in-out infinite;
}
.orb-1 {
  width: 520px; height: 520px;
  background: radial-gradient(circle, #4f8cff, transparent 70%);
  top: -140px; left: -120px;
}
.orb-2 {
  width: 460px; height: 460px;
  background: radial-gradient(circle, #8b5cf6, transparent 70%);
  bottom: -160px; right: -80px;
  animation-delay: -4s;
}
.orb-3 {
  width: 380px; height: 380px;
  background: radial-gradient(circle, #22d3ee, transparent 70%);
  top: 30%; left: 45%;
  animation-delay: -8s;
  opacity: 0.35;
}
@keyframes floatOrb {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,-30px) scale(1.08); }
}

.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 70px;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-2);
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 28px;
  backdrop-filter: blur(10px);
}

.pulse-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent-3);
  box-shadow: 0 0 12px var(--accent-3);
  animation: pulse 2s infinite;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 5vw, 66px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.025em;
  margin-bottom: 26px;
}

.hero-sub {
  font-size: 17px;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 56px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 34px;
  border-top: 1px solid var(--border);
}

.stat { text-align: left; }

.stat-num {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-plus {
  font-family: 'Playfair Display', serif;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat p {
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 4px;
  letter-spacing: 0.02em;
}

/* Hero visual */
.hero-visual {
  position: relative;
  min-height: 520px;
}

.glass-card {
  position: relative;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid var(--border-2);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
  z-index: 3;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}
.card-head strong { display: block; font-size: 15px; }
.card-head .muted { font-size: 12px; color: var(--muted); }

.card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: var(--grad-soft);
  border: 1px solid var(--border-2);
  display: grid;
  place-items: center;
  color: var(--accent-3);
  font-size: 18px;
}

.progress-track {
  height: 6px;
  background: rgba(255,255,255,0.08);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 22px;
}
.progress-fill {
  height: 100%;
  width: 0;
  background: var(--grad);
  border-radius: 6px;
  transition: width 1.6s cubic-bezier(.2,.7,.3,1);
}

.card-rows { display: flex; flex-direction: column; gap: 12px; }
.card-rows .row {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.card-rows .row:last-child { border-bottom: none; padding-bottom: 0; }
.card-rows .row span { color: var(--muted); }
.card-rows .ok { color: var(--ok); font-weight: 600; }
.card-rows .pend { color: var(--pend); font-weight: 600; }

.mini-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  padding: 14px 18px;
  border-radius: 14px;
  background: rgba(11,15,31,0.85);
  border: 1px solid var(--border-2);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
  min-width: 148px;
  z-index: 4;
}
.mini-card .label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.mini-card .label.small { font-size: 10.5px; margin-top: 2px; }
.mini-card .value {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 3px 0;
}
.mini-card .value em { font-size: 14px; font-style: normal; margin-left: 2px; }

.mini-card.delay-1 { top: -20px; right: -10px; }
.mini-card.delay-2 { bottom: 30px; left: -32px; }
.mini-card.delay-3 { bottom: -22px; right: 30px; }

/* Floating animation */
.floating { animation: floaty 6s ease-in-out infinite; }
.delay-1 { animation-delay: -2s; }
.delay-2 { animation-delay: -4s; }
.delay-3 { animation-delay: -1s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Marquee */
.marquee {
  position: relative;
  margin-top: 90px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  padding: 22px 0;
}
.marquee-track {
  display: flex;
  gap: 34px;
  white-space: nowrap;
  animation: marquee 34s linear infinite;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted-2);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ---------- About ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.about-text p {
  color: var(--muted);
  margin-bottom: 18px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}
.pill {
  padding: 8px 16px;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border);
  font-size: 12.5px;
  color: var(--muted);
  transition: all .3s;
}
.pill:hover {
  border-color: var(--accent);
  color: var(--text);
  transform: translateY(-2px);
}

.about-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.info-card {
  padding: 26px 22px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s, border-color .35s, background .35s;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-soft);
  opacity: 0;
  transition: opacity .35s;
}
.info-card:hover { transform: translateY(-6px); border-color: var(--border-2); }
.info-card:hover::before { opacity: 1; }
.info-card > * { position: relative; }

.info-icon {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
}
.info-card h4 { font-size: 15px; margin-bottom: 8px; }
.info-card p { font-size: 13.5px; color: var(--muted); line-height: 1.6; }

/* ---------- Services ---------- */
.services { background: linear-gradient(180deg, transparent, rgba(79,140,255,0.03), transparent); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  position: relative;
  padding: 34px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .4s cubic-bezier(.2,.7,.3,1), border-color .35s, background .35s;
  overflow: hidden;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: var(--grad);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity .4s;
  pointer-events: none;
}
.service-card:hover {
  transform: translateY(-8px);
  background: var(--surface-2);
}
.service-card:hover::after { opacity: 1; }

.service-num {
  font-family: 'Playfair Display', serif;
  font-size: 44px;
  font-weight: 700;
  color: rgba(255,255,255,0.08);
  line-height: 1;
  margin-bottom: 18px;
}

.service-card h3 { font-size: 19px; margin-bottom: 12px; }
.service-card > p { font-size: 14px; color: var(--muted); margin-bottom: 20px; }

.service-list {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 20px;
}
.service-list li {
  font-size: 13.5px;
  color: var(--muted);
  padding: 6px 0 6px 20px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0; top: 14px;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--grad);
}

.link-arrow {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--accent-3);
  transition: transform .3s, color .3s;
  display: inline-block;
}
.link-arrow:hover { transform: translateX(4px); color: var(--accent); }

/* ---------- Process ---------- */
.process-timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  gap: 26px;
}
.process-timeline::before {
  content: '';
  position: absolute;
  left: 27px;
  top: 20px;
  bottom: 20px;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2), transparent);
}

.process-step {
  display: flex;
  gap: 28px;
  align-items: flex-start;
  padding: 26px 28px;
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s, border-color .35s, background .35s;
}
.process-step:hover {
  transform: translateX(6px);
  border-color: var(--border-2);
  background: var(--surface-2);
}

.step-marker {
  flex-shrink: 0;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 2px solid var(--accent);
  display: grid;
  place-items: center;
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  box-shadow: 0 0 0 6px rgba(79,140,255,0.08);
}
.step-body h3 { font-size: 17px; margin-bottom: 6px; }
.step-body p { font-size: 14px; color: var(--muted); }

/* ---------- Rates ---------- */
.rates { background: linear-gradient(180deg, transparent, rgba(139,92,246,0.035), transparent); }

.rates-table-wrap {
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
}

.rates-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.rates-table thead {
  background: rgba(255,255,255,0.03);
}
.rates-table th,
.rates-table td {
  padding: 18px 22px;
  text-align: left;
  border-bottom: 1px solid var(--border);
}
.rates-table th {
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted-2);
  font-weight: 600;
}
.rates-table tbody tr {
  transition: background .3s;
}
.rates-table tbody tr:hover { background: rgba(255,255,255,0.03); }
.rates-table tbody tr:last-child td { border-bottom: none; }
.rates-table .rate {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.rates-disclaimer {
  text-align: center;
  font-size: 12.5px;
  color: var(--muted-2);
  margin-top: 26px;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Why ---------- */
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 70px;
  align-items: center;
}

.why-text h2 { margin-bottom: 20px; }
.why-text > p { color: var(--muted); margin-bottom: 32px; }

.why-features { display: grid; gap: 20px; }

.why-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.why-check {
  flex-shrink: 0;
  width: 36px; height: 36px;
  border-radius: 10px;
  background: var(--grad-soft);
  border: 1px solid var(--border-2);
  display: grid;
  place-items: center;
  color: var(--ok);
  font-weight: 700;
}
.why-item h4 { font-size: 15px; margin-bottom: 4px; }
.why-item p { font-size: 13.5px; color: var(--muted); }

.glass-panel {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
  border: 1px solid var(--border-2);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow);
}
.panel-head {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 24px;
}
.compare-row {
  display: grid;
  grid-template-columns: 90px 1fr 70px;
  gap: 14px;
  align-items: center;
  padding: 12px 0;
  font-size: 13px;
}
.compare-row span { color: var(--muted); }
.compare-row b {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  text-align: right;
}
.compare-row .bar {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 8px;
  overflow: hidden;
}
.compare-row .bar i {
  display: block;
  height: 100%;
  background: rgba(255,255,255,0.18);
  border-radius: 8px;
}
.compare-row.highlight span { color: var(--text); font-weight: 600; }
.compare-row.highlight b {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.compare-row.highlight .bar i { background: var(--grad); }

.panel-foot {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--muted-2);
}

/* ---------- Testimonials ---------- */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.testimonial {
  position: relative;
  padding: 34px 30px 28px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  transition: transform .35s, border-color .35s, background .35s;
}
.testimonial:hover {
  transform: translateY(-6px);
  border-color: var(--border-2);
  background: var(--surface-2);
}

.quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 60px;
  line-height: 0.6;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 12px;
}
.testimonial blockquote {
  font-size: 15px;
  color: var(--text);
  line-height: 1.7;
  margin-bottom: 22px;
}
.testimonial figcaption {
  padding-top: 18px;
  border-top: 1px solid var(--border);
}
.testimonial figcaption strong { display: block; font-size: 14px; }
.testimonial figcaption span {
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: stretch;
}

.map-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--surface);
  min-height: 460px;
}
.map-frame {
  width: 100%;
  height: 100%;
  min-height: 460px;
  filter: invert(0.92) hue-rotate(180deg) saturate(0.7) contrast(0.95);
}

.location-info {
  padding: 34px 30px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}
.location-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  margin-bottom: 24px;
}

.contact-list { display: grid; gap: 20px; margin-bottom: 28px; }
.contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.ci-icon {
  flex-shrink: 0;
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--surface-2);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 15px;
}
.contact-list strong {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  margin-bottom: 4px;
}
.contact-list p { font-size: 14px; color: var(--muted); }
.contact-list a { color: var(--text); transition: color .25s; }
.contact-list a:hover { color: var(--accent-3); }

/* ---------- FAQ ---------- */
.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  border-radius: var(--radius);
  background: var(--surface);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: border-color .3s, background .3s;
}
.faq-item[open] {
  border-color: var(--border-2);
  background: var(--surface-2);
}
.faq-item summary {
  cursor: pointer;
  padding: 20px 26px;
  font-size: 15px;
  font-weight: 600;
  list-style: none;
  position: relative;
  transition: color .25s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 26px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 300;
  color: var(--muted);
  transition: transform .3s, color .3s;
}
.faq-item[open] summary::after {
  content: '−';
  color: var(--accent-3);
}
.faq-item p {
  padding: 0 26px 22px;
  font-size: 14px;
  color: var(--muted);
  animation: fadeIn .35s ease;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, transparent, rgba(34,211,238,0.03)); }

.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 60px;
  align-items: start;
}

.contact-copy h2 { margin-bottom: 20px; }
.contact-copy > p { color: var(--muted); margin-bottom: 34px; }

.contact-quick { display: grid; gap: 16px; }
.contact-quick li {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
}
.contact-quick li span {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted-2);
  padding-top: 3px;
}
.contact-quick a { color: var(--text); }
.contact-quick a:hover { color: var(--accent-3); }

.contact-form {
  padding: 38px 34px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 18px;
}
.form-group label {
  font-size: 12.5px;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text);
  font-size: 14px;
  transition: border-color .25s, background .25s, box-shadow .25s;
  width: 100%;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--muted-2); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255,255,255,0.06);
  box-shadow: 0 0 0 4px rgba(79,140,255,0.12);
}
.form-group select option { background: var(--bg-2); color: var(--text); }

.form-group.error input,
.form-group.error select { border-color: #ef4444; }

.checkbox {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 12.5px;
  color: var(--muted);
  margin-bottom: 24px;
  cursor: pointer;
}
.checkbox input {
  margin-top: 3px;
  width: 16px; height: 16px;
  accent-color: var(--accent);
  flex-shrink: 0;
}

.form-status {
  margin-top: 16px;
  font-size: 13.5px;
  min-height: 20px;
}
.form-status.success { color: var(--ok); }
.form-status.error { color: #ef4444; }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border);
  background: linear-gradient(180deg, transparent, rgba(0,0,0,0.4));
  padding: 80px 0 30px;
  margin-top: 60px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
  border-bottom: 1px solid var(--border);
}

.footer-brand p {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 18px;
  max-width: 300px;
}
.footer-license {
  font-size: 12px !important;
  color: var(--muted-2) !important;
  margin-top: 14px !important;
}

.footer-col h4 {
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 18px;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-size: 13.5px;
  color: var(--muted);
  transition: color .25s, transform .25s;
  display: inline-block;
}
.footer-col a:hover {
  color: var(--accent-3);
  transform: translateX(3px);
}

.footer-contact li {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.6;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 28px;
  font-size: 12.5px;
  color: var(--muted-2);
}

/* ---------- Back to top ---------- */
.back-to-top {
  position: fixed;
  right: 26px;
  bottom: 26px;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;
  font-size: 20px;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px -10px rgba(79,140,255,0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all .35s ease;
  z-index: 800;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { transform: translateY(-4px); }

/* ---------- Reveal on scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s cubic-bezier(.2,.7,.3,1), transform .9s cubic-bezier(.2,.7,.3,1);
  will-change: opacity, transform;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 60px; }
  .hero-visual { min-height: 420px; max-width: 520px; margin: 0 auto; }
  .about-grid,
  .why-grid,
  .location-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 820px) {
  .main-nav {
    position: fixed;
    top: 0; right: -100%;
    width: min(340px, 84vw);
    height: 100vh;
    background: rgba(7,10,20,0.97);
    backdrop-filter: blur(20px);
    padding: 100px 30px 30px;
    transition: right .4s cubic-bezier(.2,.7,.3,1);
    border-left: 1px solid var(--border);
    z-index: 950;
  }
  .main-nav.open { right: 0; }
  .main-nav ul { flex-direction: column; gap: 4px; }
  .nav-link { display: block; padding: 14px 16px; font-size: 16px; }

  .burger { display: flex; z-index: 1000; position: relative; }
  .phone-link { display: none; }

  .services-grid,
  .about-cards,
  .testimonial-grid { grid-template-columns: 1fr; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  .section { padding: 90px 0; }
  .section-head { margin-bottom: 50px; }

  .rates-table th:nth-child(4),
  .rates-table td:nth-child(4),
  .rates-table th:nth-child(5),
  .rates-table td:nth-child(5) { display: none; }

  .form-row { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }

  .process-timeline::before { display: none; }
  .process-step { flex-direction: column; gap: 16px; padding: 22px; }

  .mini-card.delay-1 { top: 10px; right: -6px; }
  .mini-card.delay-2 { bottom: 10px; left: -10px; }
  .mini-card.delay-3 { bottom: -16px; right: 12px; }
}

@media (max-width: 520px) {
  .header-actions .btn-primary { display: none; }
  .hero { padding-top: 150px; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .contact-form { padding: 26px 22px; }
  .location-info { padding: 26px 22px; }
  .mini-card { min-width: 128px; padding: 12px 14px; }
}

/* ---------- Reduce motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}