@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-latin.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --navy: #021229;
  --navy-soft: #031d40;
  --gold: #d9b26a;
  --gold-dark: #b09158;
  --ink: #171d24;
  --muted: #555a60;
  --line: #dfe5ec;
  --cloud: #f0f4fa;
  --white: #fff;
  --radius: 5px;
  --shadow: 0 12px 28px rgba(1, 12, 27, .1);
  --container: 1216px;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  background: var(--white);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { color: var(--navy); line-height: 1.2; }

.container {
  width: min(calc(100% - 48px), var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  color: var(--white);
  background: var(--navy);
  transform: translateY(-160%);
  transition: transform .2s ease;
}

.skip-link:focus { transform: translateY(0); }

.site-header {
  position: relative;
  z-index: 5;
  background: var(--white);
  box-shadow: 0 1px 0 rgba(2, 18, 41, .08);
}

.header-inner {
  min-height: 116px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img { width: 261px; height: 67px; object-fit: contain; }

.button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 15px 34px;
  border: 0;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
  transition: color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease;
}

.button:hover { transform: translateY(-2px); }
.button:focus-visible, .carousel-button:focus-visible, a:focus-visible, summary:focus-visible {
  outline: 3px solid #2b70c9;
  outline-offset: 3px;
}

.button-gold { color: var(--navy-soft); background: var(--gold); }
.button-gold:hover { color: var(--white); background: var(--gold-dark); box-shadow: 0 8px 18px rgba(0, 0, 0, .15); }
.button-light { color: var(--navy-soft); background: var(--white); }
.button-light:hover { color: var(--white); background: var(--gold-dark); }
.header-contact { min-width: 222px; }

.hero {
  min-height: 474px;
  display: flex;
  align-items: center;
  color: var(--white);
  background: #222 url("/imgs/hero-banner.jpg") center / cover no-repeat;
}

.hero-content { padding-block: 72px 80px; }
.hero-content > * { max-width: 590px; }
.eyebrow {
  margin-bottom: 22px;
  color: var(--gold-dark);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
}

.hero .eyebrow { color: var(--gold); }
.hero h1 {
  margin-bottom: 22px;
  color: var(--white);
  font-size: clamp(38px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -.02em;
}

.hero-lead {
  margin-bottom: 34px;
  color: rgba(255,255,255,.78);
  font-size: 18px;
  line-height: 1.45;
}

.hero-actions { display: flex; gap: 24px; }
.hero-actions .button { min-width: 230px; }

.principles { padding-block: 64px; color: var(--white); background: #555; }
.principles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; }
.principle svg { width: 32px; height: 32px; margin-bottom: 18px; fill: var(--gold); }
.principle h2 { margin-bottom: 9px; color: var(--white); font-size: 20px; }
.principle p { margin: 0; color: rgba(255,255,255,.92); }

.section { padding-block: 96px; }
.section-heading { max-width: 780px; margin-bottom: 46px; }
.section-heading .eyebrow { margin-bottom: 9px; }
.section-heading h2, .about h2 {
  margin-bottom: 0;
  font-size: clamp(30px, 3vw, 40px);
  font-weight: 600;
}

.heading-row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
}

.carousel-controls { display: flex; gap: 10px; }
.carousel-button {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--navy);
  background: var(--white);
  cursor: pointer;
  font-size: 21px;
  transition: color .2s ease, background-color .2s ease;
}

.carousel-button:hover { color: var(--white); background: var(--navy); }
.review-layout { display: grid; grid-template-columns: 215px minmax(0, 1fr); gap: 38px; align-items: stretch; }
.review-summary {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
}

.review-summary > strong { color: var(--navy); font-size: 22px; }
.review-summary p { margin: 8px 0 14px; color: var(--muted); font-size: 13px; }
.stars { color: #f9b805; letter-spacing: 1px; }
.google-wordmark { color: #4b4f52; font-size: 18px; font-weight: 600; }
.google-wordmark i { color: #4285f4; font-style: normal; }

.review-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(285px, 1fr);
  gap: 18px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-behavior: smooth;
  scroll-snap-type: inline mandatory;
  scrollbar-width: none;
}

.review-track::-webkit-scrollbar { display: none; }
.review-card {
  scroll-snap-align: start;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.review-person { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--navy);
  background: var(--cloud);
  font-size: 12px;
  font-weight: 700;
}

.review-card h3 { margin: 0 0 2px; font-size: 14px; }
.review-card time { color: #7a7e83; font-size: 12px; }
.review-card p { margin: 11px 0 0; color: var(--muted); font-size: 14px; line-height: 1.55; }

.practice { background: var(--cloud); }
.practice-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.practice-card {
  min-height: 280px;
  padding: 34px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.area-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  margin-bottom: 17px;
  border-radius: 50%;
  color: var(--gold-dark);
  background: rgba(217,178,106,.15);
  font-weight: 700;
}

.practice-card h3 { margin-bottom: 14px; font-size: 22px; }
.practice-card p { margin-bottom: 18px; color: var(--muted); }
.text-link { color: #075bb9; font-size: 14px; font-weight: 700; }
.text-link:hover { text-decoration: underline; }

.cta { padding-block: 66px; color: var(--white); background: #555; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; }
.cta-inner > div { max-width: 720px; }
.cta .eyebrow { margin-bottom: 9px; color: var(--gold); }
.cta h2 { margin: 0; color: var(--white); font-size: clamp(26px, 3vw, 36px); font-weight: 600; }
.cta .button { flex: 0 0 270px; }

.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.team-card { border-radius: var(--radius); background: var(--white); box-shadow: var(--shadow); overflow: hidden; }
.team-card img { width: 100%; aspect-ratio: 1 / 1.1; object-fit: cover; object-position: top; }
.team-card h3 { margin: 0; padding: 21px 24px; font-size: 16px; }

.about { padding-top: 64px; }
.about-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, .8fr); align-items: center; gap: 80px; }
.about .eyebrow { margin-bottom: 10px; }
.about h2 { margin-bottom: 24px; }
.about p:not(.eyebrow) { color: var(--muted); font-size: 18px; text-align: justify; }
.about img { max-height: 490px; margin-left: auto; object-fit: contain; }

.cta-final { background: var(--navy); }
.site-footer { padding-block: 28px; color: rgba(255,255,255,.78); background: #171717; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.footer-inner img { width: 195px; height: 50px; object-fit: contain; filter: invert(1) grayscale(1); opacity: .9; }
.footer-inner p { margin: 0; font-size: 13px; }

.whatsapp-float {
  position: fixed;
  z-index: 20;
  right: 24px;
  bottom: 24px;
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 2px 4px 18px rgba(8, 84, 35, .45);
  transition: transform .2s ease, background-color .2s ease;
}

.whatsapp-float:hover { background: #21bd5c; transform: translateY(-3px) scale(1.03); }

/* Internal service pages */
.subpage-hero {
  padding-block: 88px;
  color: var(--white);
  background: linear-gradient(120deg, rgba(2,18,41,.98), rgba(3,29,64,.92));
}

.subpage-hero .eyebrow { color: var(--gold); }
.subpage-hero h1 { max-width: 900px; margin-bottom: 24px; color: var(--white); font-size: clamp(36px, 5vw, 58px); }
.subpage-hero p:not(.eyebrow) { max-width: 760px; color: rgba(255,255,255,.78); font-size: 19px; }
.subpage-hero .button { margin-top: 18px; }
.content-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 70px; }
.content-grid.reverse > :first-child { order: 2; }
.content-grid h2 { font-size: clamp(28px, 3vw, 40px); }
.content-grid p, .intro-text { color: var(--muted); }
.content-image { width: 100%; max-height: 560px; object-fit: contain; }
.feature-list { display: grid; gap: 15px; margin: 28px 0 0; padding: 0; list-style: none; }
.feature-list li { position: relative; padding-left: 34px; color: var(--muted); }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--gold-dark); font-weight: 700; }
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.step { counter-increment: step; padding: 25px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.step::before { content: counter(step, decimal-leading-zero); display: block; margin-bottom: 18px; color: var(--gold-dark); font-size: 28px; font-weight: 700; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; color: var(--white); background: var(--gold); }
.stat { padding: 42px 24px; text-align: center; background: var(--navy); }
.stat strong { display: block; color: var(--gold); font-size: 32px; }
.stat span { font-size: 14px; }
.faq-list { display: grid; gap: 12px; max-width: 900px; margin-inline: auto; }
.faq-list details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--white); }
.faq-list summary { position: relative; padding: 20px 56px 20px 24px; color: var(--navy); cursor: pointer; font-weight: 600; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 24px; top: 50%; color: var(--gold-dark); font-size: 24px; transform: translateY(-50%); }
.faq-list details[open] summary::after { content: "−"; }
.faq-answer { padding: 0 24px 22px; color: var(--muted); }
.faq-answer p { margin: 0; }
.page-footer-nav { display: flex; gap: 20px; }
.page-footer-nav a:hover { color: var(--gold); }

@media (max-width: 1024px) {
  .hero { background-position: 55% center; }
  .review-layout { grid-template-columns: 190px minmax(0, 1fr); }
  .about-grid, .content-grid { gap: 42px; }
  .steps { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 767px) {
  .container { width: min(calc(100% - 32px), var(--container)); }
  .header-inner { min-height: 94px; justify-content: center; }
  .brand img { width: 220px; height: auto; }
  .header-contact { display: none; }
  .hero { min-height: auto; background-position: 58% center; }
  .hero::before { content: ""; position: absolute; inset: 94px 0 auto; height: 612px; pointer-events: none; background: rgba(0,0,0,.18); }
  .hero-content { position: relative; padding-block: 70px 76px; }
  .hero h1 { font-size: 36px; }
  .hero-lead { font-size: 15px; }
  .hero-actions { gap: 12px; }
  .hero-actions .button { min-width: 0; flex: 1; padding-inline: 13px; font-size: 11px; }
  .principles { padding-block: 46px; }
  .principles-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .principle svg { margin-inline: auto; }
  .section { padding-block: 68px; }
  .section-heading { margin-bottom: 32px; text-align: center; }
  .heading-row { display: block; }
  .carousel-controls { display: none; }
  .review-layout { grid-template-columns: 1fr; gap: 20px; }
  .review-summary { padding-block: 22px; }
  .review-track { grid-auto-columns: min(86%, 330px); }
  .practice-grid { grid-template-columns: 1fr; }
  .practice-card { min-height: 0; padding: 28px 24px; }
  .cta { padding-block: 48px; }
  .cta-inner { flex-direction: column; align-items: flex-start; gap: 28px; }
  .cta .button { flex-basis: auto; width: 100%; }
  .team-grid { grid-template-columns: 1fr; gap: 20px; }
  .about-grid, .content-grid { grid-template-columns: 1fr; gap: 34px; }
  .content-grid.reverse > :first-child { order: initial; }
  .about { padding-top: 30px; }
  .about p:not(.eyebrow) { font-size: 16px; text-align: left; }
  .about img { margin-inline: auto; }
  .footer-inner { flex-direction: column; text-align: center; }
  .whatsapp-float { right: 16px; bottom: 16px; width: 58px; height: 58px; }
  .subpage-hero { padding-block: 64px; }
  .subpage-hero p:not(.eyebrow) { font-size: 16px; }
  .steps { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .page-footer-nav { flex-wrap: wrap; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
