/* ==========================================================================
   S.Athwal Law — Premium Homepage Styles
   Palette: Navy #031C48 · Mist #CDDFE2 · Gold #D4AF37 · Ink #1E293B
   ========================================================================== */

:root {
  --navy: #031C48;
  --navy-deep: #021433;
  --mist: #CDDFE2;
  --gold: #D4AF37;
  --gold-soft: #e4c76a;
  --white: #FFFFFF;
  --light: #F8FAFC;
  --ink: #1E293B;
  --muted: #64748B;
  --border: rgba(3, 28, 72, 0.08);
  --shadow: 0 20px 50px rgba(3, 28, 72, 0.08);
  --shadow-lg: 0 30px 80px rgba(3, 28, 72, 0.14);
  --radius: 20px;
  --radius-sm: 16px;
  --space: 8px;
  --font-display: "Playfair Display", Georgia, serif;
  --font-body: Inter, system-ui, sans-serif;
  --header-h: 88px;
  --topbar-h: 36px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + var(--topbar-h));
}
html:has(body.topbar-hidden) {
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s var(--ease); }
ul { list-style: none; padding: 0; margin: 0; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; color: var(--navy); margin: 0 0 0.75rem; }

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--gold);
  color: var(--navy);
  padding: 12px 20px;
  z-index: 10000;
  font-weight: 600;
}
.skip-link:focus { left: 16px; top: 16px; }

/* ---------- Loader ---------- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: var(--navy-deep);
  transition: opacity .55s var(--ease), visibility .55s;
}
.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  width: min(280px, 70vw);
  text-align: center;
}
.loader-logo {
  height: 88px;
  width: auto;
  max-width: 100%;
  filter: brightness(0) invert(1);
  animation: loaderLogoIn .7s var(--ease) both;
}
.loader-progress {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.loader-progress-bar {
  height: 100%;
  width: 0%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-soft), var(--gold));
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  transition: width .15s linear;
}
.loader-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.55);
}
@keyframes loaderLogoIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .loader-logo { animation: none; }
  .loader-progress-bar { transition: none; }
}

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  z-index: 1000;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transform-origin: left;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: 999px;
  border: 1px solid transparent;
  padding: 14px 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s, color .3s, border-color .3s;
}
.btn:hover { transform: translateY(-2px); }
.btn:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
.btn-lg { padding: 16px 32px; font-size: 1rem; }
.btn-gold {
  background: linear-gradient(135deg, var(--gold), #c49a2a);
  color: var(--navy-deep);
  box-shadow: 0 12px 30px rgba(212, 175, 55, 0.28);
}
.btn-gold:hover {
  color: var(--navy-deep);
  box-shadow: 0 16px 40px rgba(212, 175, 55, 0.4);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
}
.btn-navy:hover { color: var(--white); background: #05265e; }
.btn-ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover {
  color: var(--white);
  background: rgba(255,255,255,0.08);
  border-color: var(--white);
}
.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.3);
}
.btn-ghost-light:hover {
  color: var(--navy);
  background: var(--white);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-weight: 600;
  font-size: 0.95rem;
}
.text-link i { transition: transform .3s var(--ease); }
.text-link:hover { color: var(--gold); }
.text-link:hover i { transform: translateX(4px); }

/* ---------- Top bar ---------- */
.site-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 950;
  height: var(--topbar-h);
  background: transparent;
  color: #fff;
  font-size: 0.875rem;
  border-bottom: 1px solid #fff;
  transform: translateY(0);
  transition: transform .35s var(--ease);
}
.site-topbar.is-hidden {
  transform: translateY(-100%);
  pointer-events: none;
}
.topbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.topbar-left,
.topbar-right,
.topbar-right a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  white-space: nowrap;
}
.topbar-right { gap: 20px; }
.topbar-right a:hover { opacity: 0.85; color: #fff; }
.site-topbar i {
  font-size: 0.9rem;
  line-height: 1;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: var(--topbar-h);
  left: 0;
  right: 0;
  z-index: 900;
  height: var(--header-h);
  background: transparent;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), backdrop-filter .4s, top .35s var(--ease);
}
.site-header.topbar-hidden {
  top: 0;
}
.site-header.is-scrolled {
  background: #ffffff;
  backdrop-filter: none;
  box-shadow: 0 8px 30px rgba(3, 28, 72, 0.06);
  border-bottom: 1px solid #cbcbcb;
}
.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand-logo {
  height: 74px;
  width: auto;
  filter: brightness(0) invert(1);
  transition: filter .3s;
}
.site-header.is-scrolled .brand-logo { filter: none; }

.main-nav {
  gap: 32px;
  align-items: center;
}
.main-nav a {
  color: rgba(255,255,255,0.88);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
}
.site-header.is-scrolled .main-nav a { color: var(--navy); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 100%;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform .35s var(--ease);
}
.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}
.main-nav a.is-active { color: var(--gold); }
.site-header.is-scrolled .main-nav a.is-active,
.site-header.header-solid .main-nav a.is-active { color: var(--gold); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-search-btn {
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 1.15rem;
  transition: color .3s, background .3s;
}
.header-search-btn:hover,
.header-search-btn:focus-visible {
  color: var(--gold);
  background: rgba(255,255,255,0.08);
}
.site-header.is-scrolled .header-search-btn { color: var(--navy); }
.site-header.is-scrolled .header-search-btn:hover,
.site-header.is-scrolled .header-search-btn:focus-visible {
  color: var(--gold);
  background: rgba(3, 28, 72, 0.06);
}

/* ---------- Site search ---------- */
.site-search {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: grid;
  place-items: start center;
  padding: calc(var(--header-h) + var(--topbar-h) + 24px) 20px 40px;
}
.site-search[hidden] { display: none !important; }
body.topbar-hidden .site-search {
  padding-top: calc(var(--header-h) + 24px);
}
.site-search-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 51, 0.55);
  backdrop-filter: blur(4px);
}
.site-search-panel {
  position: relative;
  width: min(640px, 100%);
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  padding: 18px;
  animation: searchIn .28s var(--ease);
}
@keyframes searchIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
.site-search-form {
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 12px;
  background: var(--light);
}
.site-search-form i.bi-search { color: var(--muted); font-size: 1.05rem; }
.site-search-form input {
  flex: 1;
  border: 0;
  background: transparent;
  outline: none;
  font-size: 1rem;
  color: var(--ink);
  min-width: 0;
}
.site-search-close {
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  display: grid;
  place-items: center;
}
.site-search-close:hover { color: var(--navy); background: rgba(3,28,72,0.06); }
.site-search-results {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  display: grid;
  gap: 4px;
  max-height: min(50vh, 360px);
  overflow: auto;
}
.site-search-results:empty { display: none; }
.site-search-results a {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--navy);
  text-decoration: none;
}
.site-search-results a:hover,
.site-search-results a:focus-visible,
.site-search-results a.is-active {
  background: rgba(3, 28, 72, 0.06);
}
.site-search-results strong {
  display: block;
  font-size: 0.98rem;
  font-weight: 600;
}
.site-search-results span {
  display: block;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
}
.site-search-empty {
  margin: 16px 4px 4px;
  color: var(--muted);
  font-size: 0.92rem;
}

.nav-toggle {
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  display: grid;
  place-content: center;
  gap: 6px;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: .3s;
}
.site-header.is-scrolled .nav-toggle span { background: var(--navy); }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 24px;
  display: grid;
  gap: 16px;
  box-shadow: var(--shadow-lg);
  border-top: 1px solid var(--border);
}
.mobile-nav[hidden] { display: none !important; }
.mobile-nav a { color: var(--navy); font-weight: 500; }
.mobile-phone { color: var(--gold) !important; font-weight: 700; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + var(--topbar-h) + 48px) 0 80px;
  color: var(--white);
  overflow: hidden;
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
  transform: scale(1.02);
  will-change: transform;
  filter: brightness(0.88) contrast(1.06) saturate(0.95);
}
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(2, 20, 51, 0.78) 0%, rgba(3, 28, 72, 0.48) 42%, rgba(3, 28, 72, 0.28) 72%, rgba(3, 28, 72, 0.22) 100%),
    linear-gradient(180deg, rgba(2, 20, 51, 0.42) 0%, transparent 30%, transparent 68%, rgba(2, 20, 51, 0.32) 100%);
}
.hero-grain {
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow.light { color: var(--gold-soft); }
.hero-brand {
  font-size: clamp(2.8rem, 6vw, 4.75rem);
  color: var(--white);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  font-weight: 500;
  font-style: italic;
  color: rgba(255,255,255,0.92);
  max-width: 18ch;
  margin-bottom: 20px;
  line-height: 1.35;
}
.hero-copy {
  max-width: 36rem;
  padding: 28px 28px 28px 0;
  border-radius: 0;
}
.hero-copy .hero-brand,
.hero-copy .hero-headline {
  text-shadow: 0 2px 24px rgba(2, 20, 51, 0.45);
}
.hero-lead {
  max-width: 36ch;
  color: rgba(255,255,255,0.9);
  margin-bottom: 32px;
  text-shadow: 0 1px 12px rgba(2, 20, 51, 0.35);
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; }

.hero-card {
  position: relative;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.16);
  backdrop-filter: blur(18px);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.hero-card-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  right: -40px;
  top: -40px;
  background: radial-gradient(circle, rgba(212,175,55,0.35), transparent 70%);
  pointer-events: none;
  animation: floatGlow 6s ease-in-out infinite;
}
@keyframes floatGlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(-12px, 16px); }
}
.hero-card-label {
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
  font-weight: 600;
}
.hero-card-title {
  color: var(--white);
  font-size: 1.65rem;
  margin-bottom: 20px;
}
.hero-query-form {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 12px;
}
.hero-form-row { width: 100%; }
.hero-form-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.hero-input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  padding: 13px 14px;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .25s, background .25s, box-shadow .25s;
}
.hero-input::placeholder { color: rgba(255,255,255,0.55); }
.hero-input option { color: var(--navy); background: var(--white); }
.hero-input:focus {
  border-color: rgba(212, 175, 55, 0.75);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2);
}
textarea.hero-input {
  resize: vertical;
  min-height: 84px;
}
.hero-query-form .btn-navy { margin-top: 4px; }
.hero-form-note {
  margin: 4px 0 0;
  min-height: 1.2em;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
}
.hero-form-note.is-success { color: #9ae6b4; }
.hero-form-note.is-error { color: #fecaca; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}
.hero-scroll span {
  display: block;
  width: 22px;
  height: 36px;
  border: 1px solid rgba(255,255,255,0.4);
  border-radius: 999px;
  position: relative;
}
.hero-scroll span::after {
  content: "";
  position: absolute;
  top: 8px;
  left: 50%;
  width: 3px;
  height: 8px;
  margin-left: -1.5px;
  background: var(--gold);
  border-radius: 999px;
  animation: scrollDot 1.6s ease infinite;
}
@keyframes scrollDot {
  0% { opacity: 1; transform: translateY(0); }
  100% { opacity: 0; transform: translateY(12px); }
}

/* ---------- Sections ---------- */
.section {
  padding: 120px 0;
  position: relative;
}
.section-title {
  font-size: clamp(2rem, 3.5vw, 3rem);
  margin-bottom: 16px;
}
.section-lead {
  color: var(--muted);
  max-width: 52ch;
  margin-bottom: 28px;
}
.section-head { margin-bottom: 56px; }
.section-head .section-lead { margin-left: auto; margin-right: auto; }

/* ---------- Trust ---------- */
.trust-section {
  background: var(--light);
  padding: 64px 0;
  border-bottom: 1px solid var(--border);
}
.trust-kicker {
  text-align: center;
  color: var(--muted);
  font-weight: 500;
  margin-bottom: 32px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-bottom: 36px;
}
.trust-item {
  text-align: center;
  padding: 28px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}
.trust-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(212, 175, 55, 0.12);
  color: var(--navy);
  font-size: 1.1rem;
}
.trust-icon .bi-google { color: #4285F4; }
.trust-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  color: var(--navy);
  line-height: 1.1;
}
.trust-item span {
  font-size: 0.88rem;
  color: var(--muted);
}
.assoc-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 14px 22px;
  color: var(--muted);
  font-size: 0.92rem;
}
.assoc-row span:first-child {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold);
}
.assoc-row p { margin: 0; color: var(--navy); font-weight: 500; }
.assoc-row .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--mist);
}

/* ---------- About ---------- */
.about-section {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.88);
}
.about-section .section-title { color: var(--white); }
.about-section .section-lead { color: rgba(255, 255, 255, 0.78); }
.about-section .eyebrow { color: var(--gold); }
.about-section p { color: rgba(255, 255, 255, 0.82); }
.about-portrait {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.about-portrait img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
}
.about-badge {
  position: absolute;
  left: 20px;
  bottom: 20px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 14px 18px;
  border: 1px solid rgba(255,255,255,0.5);
}
.about-badge span {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  font-weight: 600;
}
.about-badge strong {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--navy);
}
.about-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 28px 0;
}
.about-meta h3 {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
  font-family: var(--font-body);
  font-weight: 700;
}
.about-meta p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--ink);
}
.about-section .about-meta p {
  color: rgba(255, 255, 255, 0.9);
}
.mission-quote {
  border-left: 2px solid var(--gold);
  padding: 8px 0 8px 20px;
  margin: 0 0 28px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--navy);
}
.about-section .mission-quote {
  color: var(--white);
}

/* ---------- Practice ---------- */
.practice-section {
  background:
    linear-gradient(180deg, var(--light) 0%, #eef4f6 100%);
}
.practice-card {
  height: 100%;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
}
.practice-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(212, 175, 55, 0.35);
}
.practice-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  background: linear-gradient(145deg, rgba(3,28,72,0.06), rgba(205,223,226,0.65));
  color: var(--navy);
  font-size: 1.4rem;
  border: 1px solid var(--border);
}
.practice-card h3 { font-size: 1.35rem; }
.practice-card p {
  color: var(--muted);
  margin-bottom: 20px;
  font-size: 0.98rem;
}

/* ---------- Why ---------- */
.why-section { background: var(--white); }
.why-list { display: grid; gap: 14px; }
.why-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 22px 24px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--light);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.why-item:hover {
  background: var(--white);
  border-color: rgba(212,175,55,0.4);
  transform: translateX(6px);
}
.why-num {
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold);
  line-height: 1;
  padding-top: 4px;
}
.why-item h3 { font-size: 1.15rem; margin-bottom: 4px; }
.why-item p { margin: 0; color: var(--muted); font-size: 0.95rem; }

/* ---------- Results ---------- */
.results-section {
  background: var(--navy-deep);
  color: var(--white);
}
.results-section .section-title,
.results-section .eyebrow { color: var(--white); }
.results-section .eyebrow { color: var(--gold); }
.results-section .section-lead { color: rgba(255,255,255,0.7); }
.results-timeline {
  position: relative;
  display: grid;
  gap: 24px;
  max-width: 860px;
  margin: 0 auto;
}
.results-timeline::before {
  content: "";
  position: absolute;
  left: 28px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(var(--gold), transparent);
}
.result-card {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 24px;
  position: relative;
}
.result-year {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  border: 1px solid var(--gold);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  z-index: 1;
}
.result-body {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 28px;
}
.result-verdict {
  color: var(--gold);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 8px;
}
.result-body h3 { color: var(--white); font-size: 1.4rem; }
.result-body p:last-child {
  margin: 0;
  color: rgba(255,255,255,0.72);
}

/* ---------- Testimonials ---------- */
.testimonials-section { background: var(--light); }
.rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 16px;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.9rem;
}
.rating-pill span { color: var(--navy); margin-left: 6px; }
.quote-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: none;
  padding: 28px 26px;
  height: 100%;
  margin: 0;
}
.review-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.review-identity {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}
.review-avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #f4a261;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}
.review-meta { min-width: 0; }
.review-name {
  margin: 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #1a1a1a;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-time {
  margin: 2px 0 0;
  font-size: 0.82rem;
  color: #9aa0a6;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}
.review-google {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  color: #4285F4;
  font-size: 1.15rem;
}
.review-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.quote-stars {
  color: #fbbc04;
  letter-spacing: 1px;
  font-size: 0.95rem;
  line-height: 1;
}
.review-verified {
  color: #1a73e8;
  font-size: 0.95rem;
  line-height: 1;
  display: inline-flex;
}
.review-text {
  font-family: var(--font-body);
  font-size: 0.98rem;
  font-style: normal;
  font-weight: 400;
  color: var(--ink);
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 7;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.reviews-controls {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  z-index: 20;
}
.reviews-view-all {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy);
  letter-spacing: 0.02em;
  border-bottom: 1px solid transparent;
  transition: color .25s, border-color .25s;
}
.reviews-view-all:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.testimonials-slider .swiper-nav {
  position: static;
}
.testimonial-swiper { position: relative; overflow: hidden; }
.testimonials-slider {
  position: relative;
  padding-bottom: 64px;
}
.swiper-nav {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 10px;
  z-index: 20;
  pointer-events: auto;
}
.swiper-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--navy);
  display: grid;
  place-items: center;
  transition: .3s;
  cursor: pointer;
  pointer-events: auto;
  position: relative;
  z-index: 21;
}
.swiper-btn:hover,
.swiper-btn:focus-visible {
  background: var(--navy);
  color: var(--white);
}
.swiper-btn:disabled {
  opacity: 0.45;
  cursor: default;
}
.testimonials-pagination {
  display: none !important;
}
.swiper-pagination-bullet { display: none; }

/* ---------- Process ---------- */
.process-section { background: var(--white); }
.process-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  counter-reset: none;
  list-style: none;
  padding: 0;
  margin: 0;
}
.process-track::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 8%;
  right: 8%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.process-step {
  text-align: center;
  position: relative;
  padding-top: 8px;
}
.process-node {
  width: 56px;
  height: 56px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 1.25rem;
  box-shadow: 0 0 0 8px var(--white);
  position: relative;
  z-index: 1;
}
.process-step h3 { font-size: 1.2rem; }
.process-step p { color: var(--muted); margin: 0; font-size: 0.95rem; }

/* ---------- FAQ ---------- */
.faq-section { background: var(--light); }
.faq-accordion .accordion-item {
  background: var(--white);
  border: 1px solid var(--border) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-accordion .accordion-button {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--navy);
  background: var(--white);
  box-shadow: none !important;
  padding: 20px 24px;
}
.faq-accordion .accordion-button:not(.collapsed) {
  color: var(--navy);
  background: var(--white);
}
.faq-accordion .accordion-button::after {
  background-image: none;
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  width: auto;
  height: auto;
  transform: none !important;
  color: var(--gold);
}
.faq-accordion .accordion-button:not(.collapsed)::after { content: "–"; }
.faq-accordion .accordion-body {
  padding: 0 24px 22px;
  color: var(--muted);
}

/* ---------- Articles ---------- */
.articles-section { background: var(--white); }
.article-card {
  height: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.article-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.article-media {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--mist);
}
.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.article-card:hover .article-media img { transform: scale(1.06); }
.article-cat {
  position: absolute;
  left: 16px;
  top: 16px;
  background: rgba(3,28,72,0.88);
  color: var(--white);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 12px;
  border-radius: 999px;
}
.article-body { padding: 24px; }
.article-body h3 { font-size: 1.25rem; }
.article-body p { color: var(--muted); font-size: 0.95rem; }
.article-meta {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 0.85rem;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}

/* ---------- CTA ---------- */
.cta-section {
  padding: 100px 0;
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212,175,55,0.18), transparent 45%),
    linear-gradient(160deg, var(--navy-deep), #031C48 55%, #061f4f);
}
.cta-panel {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 28px;
  padding: 48px;
  backdrop-filter: blur(10px);
}
.cta-title {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  margin-bottom: 16px;
}
.cta-text {
  color: rgba(255,255,255,0.75);
  max-width: 40ch;
  margin-bottom: 28px;
}
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 28px;
}
.cta-contact {
  display: grid;
  gap: 10px;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}
.cta-contact i { color: var(--gold); margin-right: 8px; }

.consult-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow-lg);
}
.form-title {
  font-size: 1.4rem;
  margin-bottom: 20px;
}
.consult-form .form-control,
.consult-form .form-select {
  border-radius: 14px;
  border: 1px solid var(--border);
  padding: 14px 16px;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--light);
}
.consult-form .form-control:focus,
.consult-form .form-select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,175,55,0.2);
  background: var(--white);
}
.form-note {
  margin: 12px 0 0;
  font-size: 0.9rem;
  color: var(--muted);
  min-height: 1.2em;
}
.form-note.is-success { color: #0f766e; }
.form-note.is-error { color: #b91c1c; }

/* ---------- Footer ---------- */
.site-footer {
  background: #010b1f;
  color: rgba(255,255,255,0.72);
  padding: 80px 0 28px;
}
.footer-brand { display: inline-block; margin-bottom: 18px; }
.footer-brand img {
  height: 120px;
  width: auto;
  filter: brightness(0) invert(1);
}
.footer-top p { max-width: 36ch; }
.site-footer h3 {
  color: var(--white);
  font-size: 1rem;
  font-family: var(--font-body);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: var(--gold); }
.footer-map {
  margin-top: 16px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.1);
  aspect-ratio: 16/10;
}
.footer-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
}
.footer-bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.88rem;
}
.footer-bottom p { margin: 0; }
.footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  align-items: center;
}
.footer-legal a {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
}
.footer-legal a:hover { color: var(--gold); }

/* ---------- Utilities ---------- */
.whatsapp-float {
  position: fixed;
  left: 18px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 1.55rem;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
  z-index: 850;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.55);
}
.sticky-cta {
  position: fixed;
  right: 18px;
  bottom: 88px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  display: grid;
  place-items: center;
  box-shadow: 0 12px 30px rgba(212,175,55,0.4);
  z-index: 850;
  font-size: 1.25rem;
}
.back-to-top {
  position: fixed;
  right: 18px;
  bottom: 24px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 0;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: .35s var(--ease);
  z-index: 850;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover { background: #05265e; }

/* ---------- Consultation modal ---------- */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  padding: 24px 16px;
}
.consult-modal[hidden] { display: none !important; }
.consult-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 51, 0.72);
  backdrop-filter: blur(8px);
}
.consult-modal-dialog {
  position: relative;
  width: min(920px, 100%);
  max-height: min(92vh, 780px);
  overflow: auto;
  border-radius: 24px;
  background: var(--white);
  box-shadow: 0 40px 100px rgba(2, 20, 51, 0.45);
  animation: consultModalIn .38s var(--ease);
}
@keyframes consultModalIn {
  from { opacity: 0; transform: translateY(18px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.consult-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,0.16);
  color: var(--white);
  display: grid;
  place-items: center;
  transition: background .25s, color .25s, transform .25s;
}
.consult-modal-close:hover {
  background: rgba(255,255,255,0.28);
  transform: rotate(90deg);
}
.consult-modal-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  min-height: 520px;
}
.consult-modal-aside {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(212,175,55,0.22), transparent 55%),
    linear-gradient(165deg, #031C48 0%, #021433 55%, #041f52 100%);
  color: var(--white);
  padding: 44px 36px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.consult-modal-kicker {
  margin: 0;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 700;
}
.consult-modal-aside h2 {
  margin: 0;
  font-size: clamp(1.8rem, 3vw, 2.35rem);
  color: var(--white);
  line-height: 1.15;
}
.consult-modal-lead {
  margin: 0;
  color: rgba(255,255,255,0.78);
  line-height: 1.65;
}
.consult-modal-perks {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.consult-modal-perks li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.9);
}
.consult-modal-perks i {
  color: var(--gold);
  margin-top: 2px;
}
.consult-modal-contact {
  margin-top: auto;
  padding-top: 24px;
  display: grid;
  gap: 10px;
  border-top: 1px solid rgba(255,255,255,0.12);
}
.consult-modal-contact a {
  color: var(--white);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.consult-modal-contact a:hover { color: var(--gold); }
.consult-modal-main {
  padding: 44px 36px 36px;
  background: linear-gradient(180deg, #fff 0%, #f7fafc 100%);
}
.consult-modal-form-label {
  margin: 0 0 18px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--navy);
}
.consult-modal-form { display: grid; gap: 14px; }
.consult-modal-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.consult-modal-field { display: grid; gap: 6px; }
.consult-modal-field label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.consult-modal-field input,
.consult-modal-field select,
.consult-modal-field textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--white);
  color: var(--ink);
  font-size: 0.98rem;
  outline: none;
  transition: border-color .25s, box-shadow .25s;
}
.consult-modal-field input:focus,
.consult-modal-field select:focus,
.consult-modal-field textarea:focus {
  border-color: rgba(212,175,55,0.7);
  box-shadow: 0 0 0 4px rgba(212,175,55,0.15);
}
.consult-modal-field textarea { resize: vertical; min-height: 88px; }
.consult-modal-submit {
  display: inline-flex;
  justify-content: center;
  gap: 10px;
  margin-top: 4px;
  padding-top: 14px;
  padding-bottom: 14px;
}
.consult-modal-submit i { transition: transform .3s var(--ease); }
.consult-modal-submit:hover i { transform: translateX(4px); }
.consult-modal-note {
  margin: 0;
  min-height: 1.2em;
  font-size: 0.9rem;
}
.consult-modal-note.is-success { color: #0f7a45; }
.consult-modal-note.is-error { color: #b42318; }
.consult-modal-fine {
  margin: 0;
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.5;
}
.consult-modal-fine a { color: var(--navy); text-decoration: underline; text-underline-offset: 2px; }

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

@media (max-width: 791.98px) {
  .consult-modal-grid { grid-template-columns: 1fr; }
  .consult-modal-aside {
    padding: 32px 24px 28px;
    gap: 12px;
  }
  .consult-modal-close {
    background: rgba(255,255,255,0.18);
    color: var(--white);
  }
  .consult-modal-close:hover { background: rgba(255,255,255,0.3); }
  .consult-modal-main { padding: 28px 22px 24px; }
  .consult-modal-row { grid-template-columns: 1fr; }
  .consult-modal-contact { margin-top: 16px; }
}

::selection {
  background: rgba(212, 175, 55, 0.28);
  color: var(--navy);
}
