:root {
  color-scheme: light;
  --color-primary: #0B1F4B;
  --color-secondary: #eceae4;
  --color-accent: #e2ba39;
  --color-success: #2f6e3f;
  --color-neutral-dark: #333333;
  --color-ink: #0c162b;
  --color-muted: #5f6a7d;
  --color-line: #d2d8e1;
  --color-card: #ffffff;
  --color-navy-soft: #0b173f;
  --color-graphite: #1a2238;
  --color-graphite-hover: #222b46;
  --color-divider-dark: #3b425c;
  --color-text-on-dark: #d6dbe8;
  --color-text-soft-on-dark: #9aa3b8;
  --shadow-lg: 0 24px 60px rgba(4, 17, 62, 0.18);
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 10px;
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 72px;
  --max-width: 1120px;
  --title: "Sora", sans-serif;
  --body: "Manrope", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--body);
  color: var(--color-ink);
  background:
    radial-gradient(circle at 10% 8%, rgba(4, 17, 62, 0.07), transparent 40%),
    radial-gradient(circle at 86% 14%, rgba(226, 186, 57, 0.08), transparent 42%),
    linear-gradient(180deg, #f3f1eb 0%, #f3f1eb 100%);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--color-accent);
}

a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

img {
  max-width: 100%;
  display: block;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: var(--space-2);
  background: var(--color-primary);
  color: #fff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  z-index: 50;
}

.skip-link:focus {
  left: var(--space-2);
}

.container {
  width: min(100% - 2rem, var(--max-width));
  margin: 0 auto;
}

.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.orb {
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  filter: blur(36px);
  opacity: 0.16;
}

.orb-1 {
  background: #0B1F4B;
  top: -140px;
  left: -80px;
}

.orb-2 {
  background: #e2ba39;
  bottom: -160px;
  right: -80px;
}

.orb-3 {
  background: #6b7c92;
  top: 35%;
  right: 12%;
  width: 220px;
  height: 220px;
}

.site-header {
  position: sticky;
  top: 0;
  background: #0B1F4B;
  box-shadow: 0 10px 30px rgba(4, 17, 62, 0.2);
  z-index: 10;
}

.top-bar {
  background: #0B1F4B;
  border-bottom: 1px solid rgba(226, 186, 57, 0.18);
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding: 10px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.top-phone {
  font-weight: 600;
  color: #e2ba39;
}

.main-bar {
  background: #0B1F4B;
  border-bottom: 1px solid rgba(226, 186, 57, 0.2);
}

.main-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: var(--space-2);
}

.brand-text-link {
  display: block;
  text-decoration: none;
}

.brand-mark {
  width: 84px;
  height: 62px;
  border-radius: 12px;
  background: transparent;
  display: grid;
  place-items: center;
  box-shadow: none;
  text-decoration: none;
}

.brand-logo {
  width: 78px;
  height: 50px;
  object-fit: contain;
  display: block;
}

.brand-name {
  margin: 0;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

.brand-sub {
  margin: 2px 0 0;
  font-size: 0.85rem;
  color: rgba(226, 186, 57, 0.8);
}

.site-nav {
  display: flex;
  gap: var(--space-3);
  font-family: "Sora", "Helvetica Neue", Arial, sans-serif;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.12em;
  justify-content: flex-end;
  margin-left: auto;
}

.site-nav a {
  position: relative;
  padding: 8px 12px;
  border-radius: 0;
  color: #ffffff;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: transparent;
  color: var(--color-accent);
}

.btn.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
  box-shadow: none;
}

.top-bar .btn.btn-sm {
  background: var(--color-accent);
  color: var(--color-primary);
  border: 1px solid var(--color-accent);
}

.top-bar .btn.btn-sm:hover {
  background: #f0cf63;
  color: var(--color-primary);
}

.nav-toggle {
  display: none;
  border: none;
  background: transparent;
  width: 40px;
  height: 40px;
  padding: 0;
  position: relative;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle > span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  background: #e2ba39;
  margin: 0;
  border-radius: 999px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-weight: 600;
  border: 1px solid var(--color-accent);
  box-shadow: 0 12px 30px rgba(226, 186, 57, 0.28);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  background: #f0cf63;
  color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 16px 36px rgba(226, 186, 57, 0.34);
}

.ghost {
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid var(--color-line);
  font-weight: 500;
  background: #fff;
}

.link {
  font-weight: 600;
  border-bottom: 1px solid var(--color-accent);
}

.hero .link {
  color: #ffffff;
  font-size: 1.18rem;
}

.hero .eyebrow {
  font-size: 0.82rem;
}

.hero .btn {
  font-size: 1.18rem;
  padding: 14px 28px;
}

.hero {
  position: relative;
  padding: var(--space-6) 0 var(--space-5);
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  background: #f3f1eb;
}

.hero::before {
  content: "";
  position: absolute;
  inset: -24px;
  background:
    linear-gradient(120deg, rgba(9, 14, 34, 0.44), rgba(9, 14, 34, 0.34)),
    radial-gradient(circle at 15% 20%, rgba(226, 186, 57, 0.14), transparent 40%),
    url("../img/kancelaria.jpg");
  background-size: cover;
  background-position: center;
  filter: blur(9px);
  transform: scale(1.04);
  z-index: 0;
}

.hero > .container {
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
  align-items: stretch;
  max-width: 1240px;
  margin: 0 auto;
}

.hero-copy {
  max-width: 1120px;
  margin: 0 auto;
  text-align: center;
}

.hero-copy h1 {
  font-family: var(--title);
  font-size: clamp(2.75rem, 4.35vw, 4.45rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  font-weight: 600;
  margin: var(--space-2) 0 var(--space-3);
  color: #ffffff;
}

.hero-brand {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: var(--space-3);
}

.hero-brand-logo {
  width: clamp(260px, 30vw, 420px);
  height: auto;
  display: block;
}

.hero-brand-title {
  margin: 0;
  font-family: var(--title);
  font-size: clamp(1.7rem, 2.4vw, 2.35rem);
  font-weight: 600;
  color: #ffffff;
}

.hero-brand-subtitle {
  margin: 0;
  font-size: clamp(1.15rem, 1.6vw, 1.55rem);
  color: rgba(255, 255, 255, 0.92);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.25em;
  font-size: 0.72rem;
  color: var(--color-accent);
  font-weight: 600;
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.6;
}

.lead {
  font-size: 1.24rem;
  color: rgba(255, 255, 255, 0.92);
  max-width: 980px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-actions {
  display: flex;
  gap: var(--space-2);
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin: var(--space-4) 0;
}

.trust {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: var(--space-3);
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-3);
}

.trust-value {
  font-family: var(--title);
  font-size: 2rem;
  margin: 0;
  color: var(--color-primary);
}

.trust-label {
  margin: 0;
  color: var(--color-muted);
}

.hero-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(216, 221, 229, 0.8);
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--space-3);
}

.hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-left: 4px solid var(--color-accent);
  border-radius: var(--radius-lg);
  pointer-events: none;
}

.card-title {
  font-family: var(--title);
  font-size: 1.4rem;
  margin: 0 0 var(--space-3);
}

.focus-list {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-3);
  display: grid;
  gap: var(--space-2);
}

.focus-list li {
  padding-left: 20px;
  position: relative;
}

.focus-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  top: 9px;
}

.card-note {
  border-top: 1px solid var(--color-line);
  padding-top: var(--space-2);
  color: var(--color-muted);
}

.note-title {
  font-weight: 600;
  margin: 0 0 4px;
}

.about {
  padding: 0;
  background: #ffffff;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  min-height: 100svh;
  align-items: stretch;
}

.about-copy {
  padding: clamp(32px, 6vw, 96px);
  display: grid;
  align-content: center;
  gap: var(--space-2);
}

.about h2 {
  font-family: var(--title);
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
}

.about-copy p {
  margin: 0;
  text-align: justify;
}

.about-media {
  min-height: 100%;
}

.about-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.muted {
  color: var(--color-muted);
}

.section-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-3);
  margin-bottom: var(--space-4);
}

.section-heading h2 {
  font-family: var(--title);
  font-size: clamp(2rem, 3vw, 3rem);
  margin: var(--space-2) 0 0;
}

.services {
  position: relative;
  padding: var(--space-6) 0;
  background: linear-gradient(180deg, var(--color-primary) 0%, var(--color-navy-soft) 100%);
  border-top: 1px solid rgba(226, 186, 57, 0.14);
  border-bottom: 1px solid rgba(226, 186, 57, 0.14);
  overflow: hidden;
}

.services::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 16% 14%, rgba(226, 186, 57, 0.08), transparent 50%),
    radial-gradient(circle at 82% 12%, rgba(255, 255, 255, 0.04), transparent 42%);
  opacity: 1;
  pointer-events: none;
}

.services .container {
  position: relative;
}

.services .section-heading h2 {
  font-size: clamp(2.3rem, 3.8vw, 3.6rem);
  color: #ffffff;
}

.services .section-heading .muted {
  color: var(--color-text-soft-on-dark);
  max-width: 600px;
}

.services .eyebrow {
  color: rgba(226, 186, 57, 0.9);
}

.services .section-heading h2 span {
  display: inline-block;
  color: #ffffff;
  position: relative;
}

.services .section-heading h2 span::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 6px;
  height: 10px;
  background: rgba(226, 186, 57, 0.25);
  z-index: -1;
  border-radius: 0;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}

.services-grid {
  display: grid;
  gap: var(--space-4);
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* If the services list becomes odd, center the last tile in the row. */
.services-grid > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(100%, calc((100% - var(--space-4)) / 2));
  justify-self: center;
}

.service-tile {
  background: var(--color-graphite);
  border-radius: 0;
  padding: var(--space-4);
  border: 1px solid rgba(226, 186, 57, 0.25);
  box-shadow: 0 14px 36px rgba(5, 15, 30, 0.4);
  position: relative;
  overflow: hidden;
  min-height: 220px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border 0.25s ease, background 0.25s ease;
}

.service-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, rgba(226, 186, 57, 0.12), transparent 56%),
    radial-gradient(circle at 90% 8%, rgba(255, 255, 255, 0.08), transparent 42%);
  opacity: 0.34;
  pointer-events: none;
}

.service-tile::after {
  content: none;
}

.service-tile h3 {
  margin: 0 0 var(--space-2);
  font-size: 1.35rem;
  font-family: var(--title);
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.service-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(226, 186, 57, 0.28);
  background: rgba(226, 186, 57, 0.06);
  position: relative;
}

.service-icon img {
  width: 22px;
  height: 22px;
  filter: invert(79%) sepia(40%) saturate(820%) hue-rotate(357deg) brightness(95%) contrast(90%);
}

.service-mark {
  position: absolute;
  right: 18px;
  bottom: 16px;
  width: 180px;
  height: 180px;
  opacity: 0.09;
  filter: blur(0.5px) invert(79%) sepia(40%) saturate(820%) hue-rotate(357deg) brightness(95%) contrast(90%);
  transform: none;
  pointer-events: none;
  object-fit: contain;
}

.service-tile:hover .service-mark {
  transform: scale(1.03);
  transition: transform 0.6s ease;
}

.service-item-admin .service-mark {
  width: 220px;
  height: 220px;
  right: 8px;
  bottom: 6px;
  filter:
    invert(79%) sepia(40%) saturate(820%) hue-rotate(357deg) brightness(98%) contrast(92%)
    drop-shadow(0 0 0.35px rgba(226, 186, 57, 0.42))
    drop-shadow(0 0 0.75px rgba(226, 186, 57, 0.28))
    blur(0.1px);
  opacity: 0.12;
  transform: none;
}

.service-item-work .service-mark {
  width: 190px;
  height: 190px;
  right: 14px;
  bottom: 12px;
  filter:
    invert(79%) sepia(40%) saturate(820%) hue-rotate(357deg) brightness(98%) contrast(92%)
    drop-shadow(0 0 0.12px rgba(226, 186, 57, 0.22))
    blur(0.3px);
  opacity: 0.085;
  transform: none;
}

.service-tile ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 10px;
  color: var(--color-text-on-dark);
  position: relative;
  z-index: 1;
}

.service-tile li {
  padding-left: 20px;
  position: relative;
}

.service-tile li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-accent);
  position: absolute;
  left: 0;
  top: 9px;
  box-shadow: 0 0 0 4px rgba(226, 186, 57, 0.16);
}

.service-tile:hover {
  transform: translateY(-6px);
  background: var(--color-graphite-hover);
  box-shadow: 0 22px 50px rgba(5, 15, 30, 0.55);
  border-color: rgba(226, 186, 57, 0.4);
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-size: 0.68rem;
  color: var(--color-muted);
  margin: 0 0 var(--space-1);
}

.cta-band {
  padding: var(--space-5) 0;
  background: linear-gradient(120deg, rgba(4, 17, 62, 0.08), rgba(226, 186, 57, 0.08));
}

.cta-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  align-items: center;
}

.cta-actions {
  display: flex;
  gap: var(--space-2);
  flex-wrap: wrap;
}

.team {
  padding: var(--space-6) 0 var(--space-5);
  background: #f3f1eb;
}

.pricing {
  padding: var(--space-5) 0;
  background: #ffffff;
}

.team-grid {
  display: grid;
  gap: var(--space-4);
}

.profile-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  align-items: start;
  gap: var(--space-4);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  background: var(--color-card);
  border: 1px solid var(--color-line);
}

.profile-card.assistant {
  grid-template-columns: minmax(0, 1fr) 180px;
}

.profile-card-photo-match {
  grid-template-columns: minmax(0, 58%) minmax(220px, 42%);
}

.profile-card-featured {
  grid-template-columns: 1fr;
  gap: var(--space-5);
}

.profile-pane {
  background: #f8f6f1;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  padding: var(--space-3);
  display: grid;
  grid-template-columns: minmax(220px, 42%) minmax(0, 58%);
  gap: var(--space-2);
  align-content: start;
  align-items: start;
}

.profile-pane .profile-photo.has-image {
  margin-bottom: 0;
}

.profile-pane-body {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  min-height: 100%;
}

.profile-pane h3 {
  margin: 0;
}

.profile-specialties {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 6px;
}

.profile-specialties li {
  color: var(--color-text);
}

.profile-facts {
  display: grid;
  gap: 6px;
  padding: var(--space-2);
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-line);
  background: #fff;
}

.profile-facts p {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.94rem;
}

.profile-cta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: auto;
}

.profile-content h3 {
  margin-top: 0;
}

.profile-summary {
  display: grid;
  gap: var(--space-2);
  margin-bottom: var(--space-3);
}

.profile-summary p {
  margin: 0;
  text-align: justify;
}

.profile-categories {
  display: grid;
  gap: var(--space-2);
}

.profile-category {
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
  padding: 14px 16px;
}

.profile-category h4 {
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--color-line);
  font-weight: 600;
  font-size: 1rem;
}

.profile-category p {
  margin: 0;
  text-align: justify;
}

.profile-photo {
  background: #f0f3f8;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  text-align: center;
  color: var(--color-muted);
  border: 1px dashed var(--color-line);
  font-weight: 600;
  padding: var(--space-2);
  min-height: 220px;
}

.profile-photo span {
  display: inline-flex;
  width: 64px;
  height: 64px;
  border-radius: 18px;
  align-items: center;
  justify-content: center;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--title);
  margin-bottom: 8px;
}

.profile-photo.has-image {
  display: block;
  align-self: start;
  padding: 0;
  border-style: solid;
  overflow: hidden;
  min-height: 0;
}

.profile-photo.has-image img {
  width: 100%;
  height: auto;
  display: block;
}

.justified-text p:not(.role) {
  text-align: justify;
}

.profile-card-photo-priority {
  grid-template-columns: minmax(0, 1fr) 280px;
}

.role {
  margin: 4px 0 8px;
  color: var(--color-accent);
  font-weight: 600;
}

.meta {
  color: var(--color-muted);
  font-size: 0.9rem;
}

.process {
  padding: var(--space-5) 0;
  background: var(--color-secondary);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-3);
}

.process-steps article {
  background: var(--color-card);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
}

.step-number {
  font-family: var(--title);
  font-size: 1.6rem;
  color: var(--color-primary);
}

.testimonials {
  padding: var(--space-5) 0;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-3);
}

.testimonial-grid article {
  background: var(--color-card);
  padding: var(--space-3);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-line);
}

.quote {
  font-family: var(--title);
  font-size: 1.2rem;
  margin: 0 0 var(--space-2);
}

.news {
  padding: var(--space-5) 0;
}

.contact {
  padding: var(--space-6) 0;
  background: #f3f1eb;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: var(--space-4);
  align-items: start;
}

.contact-details {
  display: grid;
  gap: var(--space-2);
  margin-top: var(--space-3);
}

.label {
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--color-muted);
  margin: 0 0 4px;
}

.contact-card {
  background: var(--color-card);
  border-radius: var(--radius-lg);
  padding: var(--space-4);
  border: 1px solid var(--color-line);
  display: grid;
  gap: var(--space-2);
  box-shadow: var(--shadow-lg);
}

.contact-photo {
  border-radius: var(--radius-md);
  background: #f0f3f8;
  border: 1px dashed var(--color-line);
  min-height: 220px;
  display: grid;
  place-items: center;
  color: var(--color-muted);
  font-weight: 600;
}

.form-note {
  margin: 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.services,
.team,
.pricing,
.contact {
  padding: clamp(96px, 10vw, 120px) 0;
}

.services {
  background: linear-gradient(180deg, #04113E 0%, #0B1F4B 100%);
  border-top: 1px solid rgba(226, 186, 57, 0.16);
  border-bottom: 1px solid rgba(226, 186, 57, 0.16);
}

.services::before {
  content: none;
}

.services .section-heading h2,
.team .section-heading h2,
.pricing .section-heading h2,
.contact .section-heading h2 {
  color: #04113E;
}

.services .section-heading h2 {
  color: #FFFFFF;
}

.services .section-heading .muted,
.team .section-heading .muted,
.pricing .section-heading .muted,
.contact .section-heading .muted {
  color: #5f6a7d;
}

.services .section-heading .muted {
  color: rgba(214, 219, 232, 0.8);
}

.services .section-heading {
  justify-content: center;
  text-align: center;
}

.services .section-heading .muted {
  max-width: 720px;
}

.services-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 64px;
  align-items: start;
  grid-auto-rows: 1fr;
}

.services-list > :last-child:nth-child(odd) {
  grid-column: 1 / -1;
  width: min(100%, calc((100% - 64px) / 2));
  justify-self: center;
}

.service-item {
  width: 100%;
  border: 1px solid rgba(214, 219, 232, 0.16);
  padding: 28px 26px;
  background: rgba(255, 255, 255, 0.02);
  min-height: 320px;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-item h3 {
  margin: 0 0 12px;
  font-family: var(--title);
  font-size: clamp(1.5rem, 2vw, 2rem);
  color: #FFFFFF;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 14px;
  position: relative;
  z-index: 1;
}

.services-list .service-icon {
  display: none;
}

.service-item:hover h3 {
  color: #E2BA39;
}

.practice-list {
  margin: 0;
  padding-left: 18px;
  column-count: 1;
  column-gap: 28px;
  max-width: 720px;
  position: relative;
  z-index: 1;
}

.practice-list li {
  break-inside: avoid;
  margin: 0 0 12px;
  line-height: 1.7;
  color: #D6DBE8;
  transition: color 0.2s ease;
}

.practice-list li:hover {
  color: #E2BA39;
}

.practice-list li::marker {
  color: rgba(214, 219, 232, 0.45);
  font-size: 0.75em;
}

.team {
  background: #ffffff;
}

.team-article-list {
  display: grid;
  gap: clamp(56px, 7vw, 72px);
}

.team-article {
  display: grid;
  grid-template-columns: minmax(260px, 36%) minmax(0, 64%);
  gap: clamp(24px, 4vw, 44px);
  align-items: center;
  padding-bottom: clamp(30px, 5vw, 44px);
  border-bottom: 1px solid rgba(4, 17, 62, 0.12);
}

.team-article-photo img {
  width: 100%;
  height: 100%;
  min-height: 360px;
  object-fit: cover;
  display: block;
}

.team-article-body {
  display: grid;
  gap: 14px;
  align-content: start;
}

.team-article-body h3 {
  margin: 0;
  font-family: var(--title);
  color: #04113E;
  font-size: clamp(1.8rem, 2.6vw, 2.5rem);
}

.team-article-body p {
  margin: 0;
  text-align: justify;
  line-height: 1.85;
}

.team-lead {
  font-size: 1.05rem;
  color: #3c4a63;
}

.team-specialties {
  margin: 4px 0 0;
  padding-left: 18px;
  display: grid;
  gap: 7px;
  line-height: 1.8;
}

.team-cta {
  margin-top: 8px !important;
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.team-cta a {
  font-weight: 600;
  border-bottom: 1px solid rgba(226, 186, 57, 0.75);
}

.pricing {
  background:
    radial-gradient(circle at 12% 16%, rgba(226, 186, 57, 0.14), transparent 38%),
    linear-gradient(180deg, #f3f1eb 0%, #f7f5f0 100%);
}

.pricing-list {
  display: grid;
  gap: 18px;
  max-width: 980px;
  margin: 0 auto;
}

.pricing-intro {
  max-width: 980px;
  margin: 0 auto 18px;
  line-height: 1.8;
  color: #33415f;
}

.pricing-item {
  position: relative;
  display: grid;
  gap: 10px;
  padding: 20px 22px 20px 26px;
  border: 1px solid rgba(4, 17, 62, 0.1);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(2px);
  box-shadow: 0 8px 22px rgba(4, 17, 62, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.pricing-item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #E2BA39 0%, rgba(226, 186, 57, 0.24) 100%);
}

.pricing-item:hover {
  transform: translateY(-2px);
  border-color: rgba(226, 186, 57, 0.42);
  box-shadow: 0 14px 30px rgba(4, 17, 62, 0.12);
}

.rule-badge {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #E2BA39;
  color: #04113E;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.pricing-item h3 {
  margin: 0 0 4px;
  font-family: var(--title);
  font-size: clamp(1.22rem, 1.7vw, 1.55rem);
  letter-spacing: 0.01em;
  color: #04113E;
}

.pricing-item p {
  margin: 0;
  line-height: 1.78;
  color: #33415f;
  text-align: justify;
}

.pricing-models-inline {
  border-top: 1px solid rgba(4, 17, 62, 0.12);
  padding-top: 24px;
}

.pricing-models-inline h3 {
  margin: 0 0 12px;
  font-family: var(--title);
}

.pricing-models-inline ul {
  margin: 0;
  padding-left: 18px;
  display: grid;
  gap: 10px;
  line-height: 1.75;
}

.contact {
  background: #ffffff;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  gap: 28px;
  align-items: stretch;
}

.contact-info {
  background: #F3F1EB;
  border: 1px solid rgba(4, 17, 62, 0.08);
  border-radius: 16px;
  padding: clamp(24px, 3vw, 36px);
  display: grid;
  gap: 16px;
}

.contact-cta-bar {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.btn-secondary {
  background: #ffffff;
  color: #04113E;
  border: 1px solid rgba(4, 17, 62, 0.18);
  box-shadow: none;
}

.btn-secondary:hover {
  background: #f5f4ef;
  color: #04113E;
}

.contact-map-card {
  background: #fff;
  border: 1px solid rgba(4, 17, 62, 0.08);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(4, 17, 62, 0.08);
  min-height: 420px;
}

.contact-map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
  filter: grayscale(0.9) saturate(0.55) opacity(0.9);
}

.reviews {
  padding: clamp(96px, 10vw, 120px) 0;
  background: #F3F1EB;
  border-top: 1px solid rgba(4, 17, 62, 0.08);
}

.reviews-inner {
  max-width: 760px;
  text-align: center;
}

.reviews .eyebrow {
  justify-content: center;
}

.reviews h2 {
  margin: var(--space-2) 0 var(--space-2);
}

.reviews .muted {
  margin: 0 auto var(--space-4);
  line-height: 1.8;
}

.reviews-list {
  display: grid;
  gap: 16px;
  text-align: left;
  margin: 0 0 var(--space-4);
}

.review-item {
  border: 1px solid rgba(4, 17, 62, 0.12);
  background: rgba(255, 255, 255, 0.65);
  padding: 18px 20px;
}

.review-item p {
  margin: 0;
  line-height: 1.75;
}

.review-meta {
  margin-bottom: 8px !important;
  color: #04113E;
}

@media (max-width: 980px) {
  .services-list {
    grid-template-columns: 1fr;
  }

  .services-list > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .team-article {
    grid-template-columns: 1fr;
  }

  .team-article-photo img {
    min-height: 320px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .practice-list {
    column-count: 1;
  }
}

.site-footer {
  padding: var(--space-5) 0 var(--space-3);
  border-top: 1px solid var(--color-line);
  background: var(--color-secondary);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: var(--space-3);
  align-items: start;
}

.footer-grid a {
  display: block;
  margin: 6px 0;
  color: var(--color-muted);
}

.footer-grid a.social-link {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-grid a.social-link img {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.footer-note {
  text-align: center;
  margin: var(--space-4) 0 0;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.footer-logo {
  width: 110px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.footer-brand-name {
  color: var(--color-primary);
}

.legal {
  padding: var(--space-6) 0 var(--space-5);
}

.legal h1 {
  font-family: var(--title);
  font-size: clamp(2.2rem, 3vw, 3rem);
  margin: var(--space-2) 0 var(--space-4);
}

.legal-content h2 {
  font-family: var(--title);
  margin-top: var(--space-4);
}

.legal-content ul {
  padding-left: 18px;
  color: var(--color-muted);
}

.legal-content li {
  margin-bottom: 8px;
}

.stagger > * {
  animation: fadeUp 0.8s ease both;
}

.stagger > *:nth-child(2) { animation-delay: 0.1s; }
.stagger > *:nth-child(3) { animation-delay: 0.2s; }
.stagger > *:nth-child(4) { animation-delay: 0.3s; }
.stagger > *:nth-child(5) { animation-delay: 0.4s; }

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 980px) {
  .site-nav {
    justify-content: center;
  }
}

@media (min-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .main-bar-inner {
    padding: 12px 0;
    gap: 10px;
    flex-wrap: wrap;
  }

  .brand {
    flex: 1 1 auto;
    min-width: 0;
    gap: 10px;
  }

  .brand-mark {
    width: 56px;
    height: 42px;
  }

  .brand-logo {
    width: 52px;
    height: 34px;
  }

  .brand-name {
    font-size: 1rem;
    line-height: 1.2;
  }

  .brand-sub {
    font-size: 0.78rem;
    line-height: 1.2;
  }

  .nav-toggle {
    display: inline-flex;
    justify-self: end;
    margin-left: auto;
  }

  .top-bar-inner {
    justify-content: space-between;
  }

  .site-nav {
    display: none;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    order: 3;
    margin-left: 0;
    padding: 12px 0 4px;
    border-top: 1px solid var(--color-line);
  }

  body.nav-open .site-nav {
    display: flex;
  }

  .site-nav a {
    width: 100%;
    padding: 10px 0;
    text-align: left;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: calc(100svh - 74px);
    padding-top: 36px;
    padding-bottom: 32px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: var(--space-3) 0 0;
  }

  .hero-copy {
    max-width: 100%;
    padding-inline: 6px;
  }

  .hero-brand {
    gap: 8px;
    margin-bottom: var(--space-2);
  }

  .hero-brand-logo {
    width: clamp(170px, 54vw, 230px);
  }

  .hero-brand-title {
    font-size: clamp(1.05rem, 7vw, 1.5rem);
  }

  .hero-brand-subtitle {
    font-size: clamp(0.9rem, 5vw, 1.15rem);
  }

  .lead {
    font-size: 1.05rem;
    line-height: 1.6;
  }

  .hero .btn {
    font-size: 1.02rem;
    padding: 12px 20px;
    width: min(92vw, 320px);
  }

  .hero .link {
    font-size: 1rem;
    border-bottom-width: 1px;
  }

  .site-nav a {
    font-size: 13px;
    letter-spacing: 0.08em;
    padding: 6px 0;
  }

  .brand-sub {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .services-grid > :last-child:nth-child(odd) {
    grid-column: auto;
    width: 100%;
    justify-self: stretch;
  }

  .profile-card {
    grid-template-columns: 1fr;
  }

  .profile-card-featured {
    grid-template-columns: 1fr;
    gap: var(--space-3);
  }

  .profile-pane {
    grid-template-columns: 1fr;
  }

  .about-layout {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .about-copy {
    padding: 28px 18px;
  }

  .about-media {
    min-height: 62svh;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}
