:root {
  --navy: #061A33;
  --navy-2: #0B2748;
  --petrol: #12395C;
  --gold: #C9A24D;
  --gold-light: #E4C675;
  --white: #FFFFFF;
  --ivory: #F8F5EF;
  --text: #4B5563;
  --gray: #E5E7EB;
  --dark: #111827;
  --success: #25D366;
  --shadow-sm: 0 14px 40px rgba(6, 26, 51, 0.08);
  --shadow-lg: 0 30px 80px rgba(6, 26, 51, 0.16);
  --radius-sm: 12px;
  --radius-md: 22px;
  --radius-lg: 34px;
  --container: 1180px;
  --header-height: 76px;
  --font-title: "Playfair Display", Georgia, serif;
  --font-body: "Manrope", Arial, sans-serif;
  --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-height) + 18px);
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  color: var(--text);
  background: var(--ivory);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  color: inherit;
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  border: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  color: var(--navy);
  font-family: var(--font-title);
  font-weight: 600;
  line-height: 1.08;
}

h2 {
  margin-bottom: 1.1rem;
  font-size: clamp(2.25rem, 8vw, 4.8rem);
  letter-spacing: -0.04em;
}

h2 em,
.hero__title em {
  color: var(--gold);
  font-weight: 500;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  color: var(--white);
  background: var(--gold);
}

:focus-visible {
  outline: 3px solid var(--gold-light);
  outline-offset: 4px;
}

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

.section {
  position: relative;
  padding-block: 5.4rem;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  padding: 0.7rem 1rem;
  color: var(--white);
  background: var(--navy);
  border-radius: 8px;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
  color: var(--petrol);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  line-height: 1.4;
  text-transform: uppercase;
}

.eyebrow::before {
  width: 28px;
  height: 1px;
  background: var(--gold);
  content: "";
}

.eyebrow--gold {
  color: var(--gold-light);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.6rem;
}

.section-heading > p {
  max-width: 610px;
  margin-bottom: 0;
}

.section-heading--center {
  margin-inline: auto;
  text-align: center;
}

.section-heading--center .eyebrow {
  justify-content: center;
}

.section-heading--light h2,
.section-heading--light p {
  color: var(--white);
}

.button {
  position: relative;
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  padding: 0.85rem 1.15rem;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  transition: color 0.35s ease, background 0.35s ease, border-color 0.35s ease, transform 0.35s var(--ease), box-shadow 0.35s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button span {
  font-size: 1rem;
  transition: transform 0.35s var(--ease);
}

.button:hover span {
  transform: translate(2px, -2px);
}

.button--primary {
  color: var(--white);
  background: var(--navy);
  box-shadow: 0 12px 32px rgba(6, 26, 51, 0.2);
}

.button--primary:hover {
  background: var(--petrol);
  box-shadow: 0 16px 38px rgba(6, 26, 51, 0.28);
}

.button--gold {
  color: var(--navy);
  background: var(--gold-light);
  box-shadow: 0 12px 32px rgba(201, 162, 77, 0.2);
}

.button--gold:hover {
  background: var(--white);
}

.button--ghost {
  color: var(--navy);
  background: transparent;
  border-color: rgba(6, 26, 51, 0.22);
}

.button--ghost:hover {
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.58);
}

.button--outline-light {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.26);
}

.button--outline-light:hover {
  color: var(--navy);
  background: var(--white);
  border-color: var(--white);
}

.button--small {
  min-height: 43px;
  padding: 0.65rem 1rem;
  font-size: 0.74rem;
}

.button--full {
  width: 100%;
}

.button--shine::before {
  position: absolute;
  top: -50%;
  left: -100%;
  width: 50%;
  height: 200%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  content: "";
  transform: rotate(24deg);
  transition: left 0.65s ease;
}

.button--shine:hover::before {
  left: 140%;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding-bottom: 0.3rem;
  color: var(--navy);
  border-bottom: 1px solid var(--gold);
  font-weight: 800;
}

.text-link span {
  color: var(--gold);
}

.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Preloader */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  color: var(--white);
  background: var(--navy);
  transition: opacity 0.75s ease, visibility 0.75s ease;
}

.preloader::before,
.preloader::after {
  position: absolute;
  border: 1px solid rgba(201, 162, 77, 0.16);
  border-radius: 50%;
  content: "";
  animation: preloader-orbit 8s linear infinite;
}

.preloader::before {
  width: min(80vw, 620px);
  aspect-ratio: 1;
}

.preloader::after {
  width: min(58vw, 430px);
  aspect-ratio: 1;
  animation-direction: reverse;
  animation-duration: 6s;
}

.preloader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.preloader__content {
  position: relative;
  z-index: 1;
  width: min(86vw, 420px);
  text-align: center;
}

.preloader__mark {
  position: relative;
  width: 70px;
  height: 70px;
  margin: 0 auto 1.25rem;
  border: 1px solid var(--gold);
  border-radius: 50%;
}

.preloader__mark span:first-child {
  position: absolute;
  top: 17px;
  left: 50%;
  width: 1px;
  height: 36px;
  background: var(--gold);
  transform: translateX(-50%);
}

.preloader__mark span:last-child {
  position: absolute;
  top: 28px;
  left: 17px;
  width: 36px;
  height: 1px;
  background: var(--gold);
}

.preloader__name {
  margin-bottom: 0.2rem;
  font-family: var(--font-title);
  font-size: 1.55rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preloader__type {
  margin-bottom: 1.4rem;
  color: var(--gold-light);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.preloader__line {
  height: 1px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.15);
}

.preloader__line span {
  display: block;
  width: 45%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  animation: preloader-line 1.45s ease-in-out infinite;
}

.preloader__status {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.7rem;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  height: var(--header-height);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

.site-header.is-scrolled {
  border-color: rgba(6, 26, 51, 0.08);
  background: rgba(248, 245, 239, 0.88);
  box-shadow: 0 12px 30px rgba(6, 26, 51, 0.06);
  backdrop-filter: blur(18px);
}

.header__inner {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
}

.brand {
  position: relative;
  z-index: 2;
  display: block;
  width: 218px;
}

.brand__image {
  width: 100%;
  height: 54px;
  object-fit: contain;
  object-position: left center;
}

.menu-toggle {
  position: relative;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 12px;
  place-content: center;
  gap: 5px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(6, 26, 51, 0.12);
  border-radius: 50%;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease), opacity 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.primary-nav {
  position: fixed;
  inset: 0;
  display: flex;
  visibility: hidden;
  padding: 6.5rem 1.5rem 2rem;
  flex-direction: column;
  gap: 0.25rem;
  opacity: 0;
  background: rgba(248, 245, 239, 0.98);
  transform: translateY(-18px);
  transition: opacity 0.35s ease, visibility 0.35s ease, transform 0.35s var(--ease);
}

.primary-nav.is-open {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.primary-nav > a:not(.button) {
  padding: 0.55rem 0;
  color: var(--navy);
  border-bottom: 1px solid rgba(6, 26, 51, 0.08);
  font-family: var(--font-title);
  font-size: 1.42rem;
}

.primary-nav .nav__cta {
  margin-top: 1.2rem;
}

/* Hero */
.hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  padding: calc(var(--header-height) + 2.7rem) 0 4.5rem;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(248, 245, 239, 0.94), rgba(255, 255, 255, 0.96)),
    repeating-linear-gradient(90deg, transparent 0, transparent 78px, rgba(6, 26, 51, 0.03) 79px, transparent 80px);
}

.hero__background {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(1px);
  animation: slow-drift 14s ease-in-out infinite alternate;
}

.hero__orb--one {
  top: 12%;
  right: -22%;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle at 38% 35%, rgba(228, 198, 117, 0.2), rgba(201, 162, 77, 0.01) 70%);
}

.hero__orb--two {
  bottom: 4%;
  left: -28%;
  width: 330px;
  height: 330px;
  background: radial-gradient(circle, rgba(18, 57, 92, 0.08), transparent 68%);
  animation-delay: -4s;
}

.hero__line {
  position: absolute;
  width: 1px;
  height: 38%;
  background: linear-gradient(transparent, rgba(201, 162, 77, 0.36), transparent);
  animation: line-scan 7s ease-in-out infinite;
}

.hero__line--one {
  top: 0;
  left: 13%;
}

.hero__line--two {
  right: 9%;
  bottom: 0;
  animation-delay: -2.8s;
}

.hero__particle {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(201, 162, 77, 0.75);
  animation: particle-float 7s ease-in-out infinite;
}

.hero__particle--one {
  top: 22%;
  left: 8%;
}

.hero__particle--two {
  top: 65%;
  right: 7%;
  animation-delay: -2s;
}

.hero__particle--three {
  top: 46%;
  left: 49%;
  animation-delay: -4s;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 3.2rem;
}

.hero__content {
  max-width: 680px;
}

.hero__title {
  margin-bottom: 1.25rem;
  color: var(--navy);
  font-size: clamp(3rem, 13vw, 6.25rem);
  letter-spacing: -0.055em;
}

.hero__title em {
  display: block;
}

.hero__lead {
  max-width: 625px;
  margin-bottom: 1.75rem;
  color: #526071;
  font-size: 1rem;
  line-height: 1.75;
}

.hero__actions {
  display: grid;
  gap: 0.75rem;
}

.hero__badges {
  display: grid;
  margin: 1.8rem 0 0;
  padding: 0;
  gap: 0.65rem 1rem;
  list-style: none;
}

.hero__badges li {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--navy-2);
  font-size: 0.75rem;
  font-weight: 700;
}

.hero__badges li span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.13);
}

.hero__visual {
  position: relative;
  width: min(92%, 530px);
  margin-inline: auto;
}

.hero__frame {
  position: relative;
  padding: 0.55rem;
  background: var(--white);
  border: 1px solid rgba(201, 162, 77, 0.6);
  border-radius: 170px 170px 24px 24px;
  box-shadow: var(--shadow-lg);
}

.hero__frame::before {
  position: absolute;
  inset: -13px 13px 13px -13px;
  z-index: -1;
  border: 1px solid var(--gold);
  border-radius: inherit;
  content: "";
}

.hero__frame-accent {
  position: absolute;
  top: 8%;
  right: -16px;
  z-index: 2;
  width: 3px;
  height: 35%;
  background: linear-gradient(var(--gold-light), var(--gold), transparent);
}

.hero-lawyer-image {
  width: 100%;
  aspect-ratio: 0.82;
  border-radius: 162px 162px 18px 18px;
  object-fit: cover;
  object-position: 50% 42%;
  filter: saturate(0.88) contrast(1.02);
}

.hero__image-caption {
  position: absolute;
  right: 1.2rem;
  bottom: 1.2rem;
  left: 1.2rem;
  padding: 0.85rem 1rem;
  color: var(--white);
  background: rgba(6, 26, 51, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 12px;
  backdrop-filter: blur(12px);
}

.hero__image-caption span,
.hero__image-caption strong {
  display: block;
}

.hero__image-caption span {
  color: var(--gold-light);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero__image-caption strong {
  margin-top: 0.15rem;
  font-family: var(--font-title);
  font-size: 1rem;
}

.hero-3d-object {
  position: absolute;
  z-index: 3;
  object-fit: contain;
  filter: drop-shadow(0 16px 18px rgba(6, 26, 51, 0.18));
  animation: legal-float 6s ease-in-out infinite;
}

.hero-3d-object--scale {
  top: 12%;
  right: -11%;
  width: 90px;
}

.hero-3d-object--docs {
  bottom: 13%;
  left: -12%;
  width: 84px;
  animation-delay: -2.5s;
}

.hero__practice-notes {
  display: grid;
  margin-top: 1.75rem;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.55rem;
}

.hero__practice-notes span {
  padding: 0.7rem 0.75rem;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.74);
  border-left: 2px solid var(--gold);
  box-shadow: var(--shadow-sm);
  font-size: 0.68rem;
  font-weight: 800;
}

.hero__scroll {
  position: absolute;
  right: 1rem;
  bottom: 1.1rem;
  display: none;
  align-items: center;
  gap: 0.7rem;
  color: var(--navy);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.hero__scroll span {
  width: 1px;
  height: 48px;
  background: linear-gradient(var(--gold), transparent);
  animation: scroll-line 2s ease-in-out infinite;
}

/* Trust strip */
.trust-strip {
  position: relative;
  z-index: 2;
  color: var(--white);
  background: var(--navy);
  border-top: 1px solid rgba(201, 162, 77, 0.3);
}

.trust-strip__grid {
  display: grid;
}

.trust-strip__item {
  display: flex;
  min-height: 74px;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  font-weight: 700;
}

.trust-strip__item:last-child {
  border-bottom: 0;
}

.trust-strip__item span {
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: 0.8rem;
}

/* Guidance */
.guidance {
  background: var(--ivory);
}

.guidance__grid {
  display: grid;
  gap: 0.8rem;
}

.situation-card {
  position: relative;
  min-height: 210px;
  padding: 1.4rem;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(6, 26, 51, 0.08);
  border-radius: var(--radius-sm);
  transition: transform 0.45s var(--ease), border-color 0.35s ease, box-shadow 0.35s ease;
}

.situation-card::after {
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 100px;
  height: 100px;
  border: 1px solid rgba(201, 162, 77, 0.16);
  border-radius: 50%;
  content: "";
  transition: transform 0.45s var(--ease);
}

.situation-card:hover {
  z-index: 1;
  border-color: rgba(201, 162, 77, 0.62);
  box-shadow: var(--shadow-sm);
  transform: translateY(-7px);
}

.situation-card:hover::after {
  transform: scale(1.35);
}

.situation-card__number {
  display: inline-block;
  margin-bottom: 2.8rem;
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 0.8rem;
}

.situation-card h3 {
  margin-bottom: 0.55rem;
  font-size: 1.3rem;
}

.situation-card p {
  margin-bottom: 0;
  font-size: 0.82rem;
  line-height: 1.6;
}

.situation-card--accent {
  color: rgba(255, 255, 255, 0.72);
  background: var(--navy-2);
}

.situation-card--accent h3 {
  color: var(--white);
}

/* Practices */
.practices {
  overflow: hidden;
  background: var(--navy);
}

.practices::before {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

.practices__glow {
  position: absolute;
  top: -220px;
  right: -180px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 77, 0.14), transparent 65%);
  animation: slow-drift 12s ease-in-out infinite alternate;
}

.practices .container {
  position: relative;
}

.practices__grid {
  display: grid;
  gap: 0.8rem;
}

.practice-card {
  position: relative;
  display: flex;
  min-height: 330px;
  padding: 1.5rem;
  flex-direction: column;
  color: rgba(255, 255, 255, 0.67);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(6px);
  transition: background 0.4s ease, border-color 0.4s ease, transform 0.45s var(--ease);
}

.practice-card::before {
  position: absolute;
  top: 0;
  right: 1.5rem;
  left: 1.5rem;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.4);
  transition: opacity 0.4s ease, transform 0.4s var(--ease);
}

.practice-card:hover {
  z-index: 1;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 162, 77, 0.5);
  transform: translateY(-8px);
}

.practice-card:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.practice-card__top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.35);
  font-size: 0.68rem;
}

.practice-card__icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  color: var(--gold-light);
  background: rgba(201, 162, 77, 0.08);
  border: 1px solid rgba(201, 162, 77, 0.28);
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 1.25rem;
  transition: color 0.35s ease, background 0.35s ease, transform 0.45s var(--ease);
}

.practice-card:hover .practice-card__icon {
  color: var(--navy);
  background: var(--gold-light);
  transform: rotate(-8deg) scale(1.06);
}

.practice-card h3 {
  margin: 2.2rem 0 0.8rem;
  color: var(--white);
  font-size: 1.65rem;
}

.practice-card p {
  margin-bottom: 1.6rem;
  font-size: 0.84rem;
}

.practice-card__link {
  display: flex;
  margin-top: auto;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  color: var(--gold-light);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.74rem;
  font-weight: 800;
}

.practice-card__link span {
  font-size: 1rem;
  transition: transform 0.35s var(--ease);
}

.practice-card__link:hover span {
  transform: translate(3px, -3px);
}

.practices__stats {
  display: grid;
  margin-top: 2.5rem;
  padding-top: 2rem;
  gap: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.practices__stats div {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.practices__stats strong {
  min-width: 56px;
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: 2rem;
  line-height: 1;
}

.practices__stats div > span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.72rem;
  font-weight: 700;
}

/* About */
.about {
  background: var(--white);
}

.about__grid {
  display: grid;
  gap: 4rem;
}

.about__media {
  position: relative;
  max-width: 590px;
}

.about__image-wrap {
  position: relative;
  width: 88%;
  overflow: hidden;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
  box-shadow: var(--shadow-lg);
}

.about__image-wrap::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 26, 51, 0.35), transparent 45%);
  content: "";
}

.about-office-image {
  width: 100%;
  aspect-ratio: 0.83;
  object-fit: cover;
  object-position: center;
  transition: transform 1.2s var(--ease);
}

.about__image-wrap:hover .about-office-image {
  transform: scale(1.04);
}

.about__quote {
  position: absolute;
  right: 0;
  bottom: -2rem;
  z-index: 2;
  width: min(76%, 340px);
  padding: 1.2rem 1.3rem;
  color: var(--white);
  background: var(--navy);
  border: 1px solid rgba(201, 162, 77, 0.4);
  box-shadow: var(--shadow-lg);
}

.about__quote span {
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 2rem;
  line-height: 0.7;
}

.about__quote p {
  margin: 0.35rem 0 0;
  font-family: var(--font-title);
  font-size: 1rem;
  line-height: 1.4;
}

.floating-legal-icon {
  position: absolute;
  top: -32px;
  right: 0;
  z-index: 3;
  width: 76px;
  height: 76px;
  object-fit: contain;
  filter: drop-shadow(0 12px 20px rgba(6, 26, 51, 0.22));
  animation: legal-float 6s ease-in-out infinite;
}

.about__content {
  max-width: 600px;
}

.about__lead {
  color: var(--navy-2);
  font-size: 1.05rem;
}

.about__features {
  display: grid;
  margin: 2rem 0;
  padding: 0;
  gap: 0;
  list-style: none;
}

.about__features li {
  display: flex;
  min-height: 52px;
  align-items: center;
  gap: 0.8rem;
  border-bottom: 1px solid var(--gray);
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 800;
}

.about__features li span {
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 0.72rem;
}

/* Method */
.method {
  overflow: hidden;
  background:
    linear-gradient(rgba(248, 245, 239, 0.92), rgba(248, 245, 239, 0.96)),
    url("assets/escritorio.jpg") center / cover fixed;
}

.timeline {
  position: relative;
  display: grid;
  margin-top: 3rem;
  gap: 1rem;
}

.timeline__progress {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 24px;
  width: 1px;
  overflow: hidden;
  background: rgba(201, 162, 77, 0.22);
}

.timeline__progress span {
  display: block;
  width: 100%;
  height: 0;
  background: linear-gradient(var(--gold-light), var(--gold));
  transition: height 1.8s var(--ease);
}

.timeline.is-active .timeline__progress span {
  height: 100%;
}

.timeline__item {
  position: relative;
  display: grid;
  min-height: 160px;
  padding: 1.25rem 1.2rem 1.25rem 4.3rem;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(6, 26, 51, 0.08);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}

.timeline__index {
  position: absolute;
  top: 1.2rem;
  left: 0.75rem;
  z-index: 2;
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-light);
  border: 4px solid var(--ivory);
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 0.68rem;
}

.timeline__item h3 {
  margin-bottom: 0.55rem;
  font-size: 1.32rem;
}

.timeline__item p {
  margin-bottom: 0;
  font-size: 0.82rem;
}

/* Team */
.team {
  background: var(--white);
}

.team__grid {
  display: grid;
  gap: 1rem;
}

.team-card {
  overflow: hidden;
  background: var(--ivory);
  border: 1px solid rgba(6, 26, 51, 0.08);
  border-radius: var(--radius-md);
  transition: transform 0.45s var(--ease), box-shadow 0.45s ease;
}

.team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-8px);
}

.team-card__media {
  position: relative;
  overflow: hidden;
}

.team-lawyer-photo {
  width: 100%;
  aspect-ratio: 0.9;
  object-fit: cover;
  filter: saturate(0.8);
  transition: transform 0.8s var(--ease), filter 0.5s ease;
}

.team-lawyer-photo--one {
  object-position: 8% center;
}

.team-lawyer-photo--two {
  object-position: 42% center;
}

.team-lawyer-photo--three {
  object-position: 70% center;
}

.team-card:hover .team-lawyer-photo {
  filter: saturate(1);
  transform: scale(1.035);
}

.team-card__oab {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  padding: 0.42rem 0.65rem;
  color: var(--white);
  background: rgba(6, 26, 51, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
  font-size: 0.58rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.team-card__body {
  padding: 1.35rem;
}

.team-card__role {
  margin-bottom: 0.55rem;
  color: var(--gold);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.team-card h3 {
  margin-bottom: 0.65rem;
  font-size: 1.55rem;
}

.team-card__body > p:not(.team-card__role) {
  min-height: 78px;
  font-size: 0.78rem;
}

.team-card__link {
  display: flex;
  margin-top: 1rem;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  color: var(--navy);
  border-top: 1px solid rgba(6, 26, 51, 0.1);
  font-size: 0.72rem;
  font-weight: 800;
}

.team-card__link span {
  color: var(--gold);
}

.team__note,
.testimonials__note {
  margin: 1.25rem 0 0;
  color: #7b8491;
  font-size: 0.68rem;
  text-align: center;
}

/* Confidence */
.confidence {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.66);
  background: var(--navy);
}

.confidence__lines {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 35%, rgba(201, 162, 77, 0.12), transparent 30%),
    repeating-radial-gradient(circle at 12% 35%, transparent 0 60px, rgba(201, 162, 77, 0.06) 61px, transparent 62px 105px);
  animation: background-pulse 10s ease-in-out infinite alternate;
}

.confidence__grid {
  position: relative;
  display: grid;
  gap: 3rem;
}

.confidence h2,
.confidence h3 {
  color: var(--white);
}

.confidence__intro {
  position: relative;
}

.confidence__object {
  width: 160px;
  height: 160px;
  margin: 2rem auto -1rem;
  object-fit: contain;
  opacity: 0.88;
  filter: drop-shadow(0 22px 25px rgba(0, 0, 0, 0.25));
  animation: legal-float 7s ease-in-out infinite;
}

.confidence__list {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.confidence-card {
  display: grid;
  padding: 1.25rem 0;
  grid-template-columns: 36px 1fr;
  gap: 0.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  transition: padding-left 0.35s var(--ease), background 0.35s ease;
}

.confidence-card:hover {
  padding-left: 0.65rem;
  background: linear-gradient(90deg, rgba(201, 162, 77, 0.06), transparent);
}

.confidence-card > span {
  color: var(--gold-light);
  font-family: var(--font-title);
  font-size: 0.72rem;
}

.confidence-card h3 {
  margin-bottom: 0.35rem;
  font-size: 1.2rem;
}

.confidence-card p {
  margin-bottom: 0;
  font-size: 0.78rem;
}

/* Preparation */
.preparation {
  background: var(--ivory);
}

.preparation__grid {
  display: grid;
  gap: 3rem;
}

.preparation__list {
  display: grid;
  margin: 1.8rem 0 2rem;
  padding: 0;
  gap: 0;
  list-style: none;
}

.preparation__list li {
  display: flex;
  min-height: 51px;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  border-bottom: 1px solid rgba(6, 26, 51, 0.1);
  font-size: 0.78rem;
  font-weight: 800;
}

.preparation__list span {
  color: var(--gold);
  font-family: var(--font-title);
  font-size: 0.68rem;
}

.preparation__visual {
  position: relative;
  padding-bottom: 5rem;
}

.legal-document-image {
  width: 92%;
  aspect-ratio: 0.85;
  margin-left: auto;
  border-radius: var(--radius-lg) 0 var(--radius-lg) var(--radius-lg);
  object-fit: cover;
  object-position: center;
  box-shadow: var(--shadow-lg);
}

.preparation__panel {
  position: absolute;
  right: 8%;
  bottom: 0;
  left: 0;
  display: grid;
  padding: 1rem;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.67);
  background: var(--navy);
  border: 1px solid rgba(201, 162, 77, 0.4);
  box-shadow: var(--shadow-lg);
}

.preparation__panel img {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.preparation__panel strong {
  display: block;
  color: var(--white);
  font-family: var(--font-title);
  font-size: 0.92rem;
}

.preparation__panel p {
  margin: 0.2rem 0 0;
  font-size: 0.65rem;
  line-height: 1.5;
}

/* Testimonials */
.testimonials {
  background: var(--white);
}

.testimonials__header {
  display: grid;
  margin-bottom: 2.5rem;
  gap: 1.2rem;
}

.testimonials__header h2 {
  max-width: 850px;
}

.carousel__controls {
  display: flex;
  gap: 0.6rem;
}

.carousel__button {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  color: var(--navy);
  background: transparent;
  border: 1px solid rgba(6, 26, 51, 0.2);
  border-radius: 50%;
  cursor: pointer;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.carousel__button:hover {
  color: var(--white);
  background: var(--navy);
  transform: translateY(-3px);
}

.testimonial-carousel {
  overflow: hidden;
}

.testimonial-carousel__track {
  display: flex;
  transition: transform 0.65s var(--ease);
}

.testimonial-card {
  min-width: 100%;
  padding: 1.6rem;
  background: var(--ivory);
  border: 1px solid rgba(6, 26, 51, 0.08);
  border-radius: var(--radius-md);
}

.testimonial-card__mark {
  margin-bottom: 1.8rem;
  color: var(--gold);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
}

.testimonial-card blockquote {
  margin: 0 0 2rem;
  color: var(--navy);
  font-family: var(--font-title);
  font-size: clamp(1.3rem, 5vw, 2rem);
  line-height: 1.45;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.testimonial-card__author > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--navy);
  background: var(--gold-light);
  border-radius: 50%;
  font-family: var(--font-title);
  font-size: 0.75rem;
  font-weight: 700;
}

.testimonial-card__author strong,
.testimonial-card__author small {
  display: block;
}

.testimonial-card__author strong {
  color: var(--navy);
  font-size: 0.78rem;
}

.testimonial-card__author small {
  color: #747e8c;
  font-size: 0.66rem;
}

.carousel__dots {
  display: flex;
  margin-top: 1.4rem;
  justify-content: center;
  gap: 0.5rem;
}

.carousel__dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border-radius: 99px;
  background: rgba(6, 26, 51, 0.16);
  cursor: pointer;
  transition: width 0.35s var(--ease), background 0.35s ease;
}

.carousel__dot.is-active {
  width: 28px;
  background: var(--gold);
}

/* FAQ */
.faq {
  background: var(--ivory);
}

.faq__grid {
  display: grid;
  gap: 3rem;
}

.faq__intro {
  max-width: 580px;
}

.faq__image {
  margin-top: 2rem;
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 var(--radius-lg);
}

.practice-area-image {
  width: 100%;
  aspect-ratio: 1.15;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.72);
}

.accordion {
  border-top: 1px solid rgba(6, 26, 51, 0.14);
}

.accordion__item {
  border-bottom: 1px solid rgba(6, 26, 51, 0.14);
}

.accordion__item h3 {
  margin: 0;
}

.accordion__item button {
  display: grid;
  width: 100%;
  min-height: 76px;
  padding: 1rem 0;
  grid-template-columns: 1fr 28px;
  align-items: center;
  gap: 0.8rem;
  color: var(--navy);
  background: transparent;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.84rem;
  font-weight: 800;
  text-align: left;
}

.accordion__item button i {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid rgba(6, 26, 51, 0.18);
  border-radius: 50%;
  transition: background 0.3s ease, transform 0.4s var(--ease);
}

.accordion__item button i::before,
.accordion__item button i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 1px;
  background: var(--navy);
  content: "";
  transform: translate(-50%, -50%);
  transition: transform 0.35s var(--ease), background 0.3s ease;
}

.accordion__item button i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.accordion__item button[aria-expanded="true"] {
  color: var(--petrol);
}

.accordion__item button[aria-expanded="true"] i {
  background: var(--gold-light);
  border-color: var(--gold-light);
  transform: rotate(180deg);
}

.accordion__item button[aria-expanded="true"] i::after {
  transform: translate(-50%, -50%) rotate(0);
}

.accordion__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.45s var(--ease);
}

.accordion__answer > p {
  min-height: 0;
  margin: 0;
  overflow: hidden;
  font-size: 0.8rem;
  transition: padding 0.45s var(--ease);
}

.accordion__answer.is-open {
  grid-template-rows: 1fr;
}

.accordion__answer.is-open > p {
  padding: 0 0 1.35rem;
}

/* Contact */
.contact {
  overflow: hidden;
  color: rgba(255, 255, 255, 0.7);
  background: var(--navy-2);
}

.contact__shape {
  position: absolute;
  top: -20%;
  right: -25%;
  width: 650px;
  height: 650px;
  border: 1px solid rgba(201, 162, 77, 0.18);
  border-radius: 50%;
  box-shadow:
    0 0 0 70px rgba(201, 162, 77, 0.035),
    0 0 0 140px rgba(201, 162, 77, 0.025);
  animation: background-pulse 9s ease-in-out infinite alternate;
}

.contact__grid {
  position: relative;
  display: grid;
  gap: 3rem;
}

.contact h2 {
  color: var(--white);
}

.contact__actions {
  display: grid;
  margin-top: 1.8rem;
  gap: 0.75rem;
}

.contact__assurances {
  display: grid;
  margin-top: 1.8rem;
  gap: 0.7rem;
}

.contact__assurances span {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
}

.contact__assurances span::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  content: "";
}

.contact-form {
  padding: 1.35rem;
  color: var(--text);
  background: var(--ivory);
  border: 1px solid rgba(201, 162, 77, 0.38);
  border-radius: var(--radius-md);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25);
}

.contact-form__heading {
  margin-bottom: 1.5rem;
}

.contact-form__heading span {
  color: var(--gold);
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-form__heading h3 {
  margin: 0.4rem 0 0;
  font-size: 1.5rem;
}

.form-field {
  margin-bottom: 1rem;
}

.form-field label {
  display: block;
  margin-bottom: 0.4rem;
  color: var(--navy);
  font-size: 0.68rem;
  font-weight: 800;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.78rem 0.85rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(6, 26, 51, 0.14);
  border-radius: 8px;
  font-size: 0.78rem;
  outline: 0;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field textarea {
  min-height: 116px;
  resize: vertical;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 162, 77, 0.12);
}

.form-field.is-invalid input,
.form-field.is-invalid select,
.form-field.is-invalid textarea {
  border-color: #b83b3b;
}

.form-error {
  display: block;
  min-height: 17px;
  padding-top: 0.2rem;
  color: #a52f2f;
  font-size: 0.6rem;
}

.contact-form__note {
  margin: 0.8rem 0 0;
  color: #77808d;
  font-size: 0.58rem;
  text-align: center;
}

/* Location */
.location {
  background: var(--white);
}

.location__grid {
  display: grid;
  gap: 2rem;
}

.map-card {
  position: relative;
  min-height: 390px;
  overflow: hidden;
  background: #e9e6df;
  border: 1px solid rgba(6, 26, 51, 0.08);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.map-card__grid {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(45deg, transparent 48%, rgba(6, 26, 51, 0.05) 49%, rgba(6, 26, 51, 0.05) 51%, transparent 52%),
    linear-gradient(-45deg, transparent 48%, rgba(6, 26, 51, 0.04) 49%, rgba(6, 26, 51, 0.04) 51%, transparent 52%);
  background-size: 90px 90px;
}

.map-card__road {
  position: absolute;
  background: var(--white);
  box-shadow: 0 0 0 1px rgba(6, 26, 51, 0.05);
}

.map-card__road--one {
  top: 45%;
  left: -10%;
  width: 120%;
  height: 34px;
  transform: rotate(-8deg);
}

.map-card__road--two {
  top: -10%;
  left: 25%;
  width: 26px;
  height: 120%;
  transform: rotate(15deg);
}

.map-card__road--three {
  top: -8%;
  right: 18%;
  width: 20px;
  height: 120%;
  transform: rotate(-12deg);
}

.map-card__block {
  position: absolute;
  background: rgba(18, 57, 92, 0.08);
  border: 1px solid rgba(18, 57, 92, 0.08);
  border-radius: 8px;
}

.map-card__block--one {
  top: 12%;
  left: 5%;
  width: 110px;
  height: 80px;
}

.map-card__block--two {
  right: 9%;
  bottom: 12%;
  width: 130px;
  height: 95px;
}

.map-card__block--three {
  bottom: 8%;
  left: 8%;
  width: 80px;
  height: 110px;
}

.map-card__pin {
  position: absolute;
  top: 43%;
  left: 54%;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: var(--navy);
  border: 5px solid var(--white);
  border-radius: 50% 50% 50% 0;
  box-shadow: 0 12px 24px rgba(6, 26, 51, 0.22);
  transform: rotate(-45deg);
  animation: map-pin 2.2s ease-in-out infinite;
}

.map-card__pin i {
  width: 12px;
  height: 12px;
  background: var(--gold-light);
  border-radius: 50%;
}

.map-card__label {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  padding: 1rem;
  color: var(--white);
  background: rgba(6, 26, 51, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  backdrop-filter: blur(10px);
}

.map-card__label strong,
.map-card__label span {
  display: block;
}

.map-card__label strong {
  font-family: var(--font-title);
}

.map-card__label span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.65rem;
}

.location__details {
  padding: 1.2rem 0;
}

.location__label {
  color: var(--gold);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.location__address h3 {
  margin: 0.8rem 0 1.5rem;
  font-size: 1.5rem;
  line-height: 1.35;
}

.location__contacts {
  margin: 2rem 0;
}

.location__contacts div {
  display: grid;
  padding: 0.8rem 0;
  grid-template-columns: 88px 1fr;
  gap: 0.6rem;
  border-bottom: 1px solid var(--gray);
  font-size: 0.75rem;
}

.location__contacts dt {
  color: var(--navy);
  font-weight: 800;
}

.location__contacts dd {
  margin: 0;
}

.location__contacts a:hover {
  color: var(--gold);
}

.location__appointment {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--navy);
  font-size: 0.7rem;
  font-weight: 800;
}

.location__appointment span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 5px rgba(37, 211, 102, 0.12);
}

/* Footer */
.site-footer {
  padding-top: 4rem;
  color: rgba(255, 255, 255, 0.58);
  background: #041426;
}

.footer__grid {
  display: grid;
  gap: 2.5rem;
}

.footer__brand img {
  width: 245px;
  height: 70px;
  margin-bottom: 1rem;
  object-fit: contain;
  object-position: left center;
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

.footer__brand p {
  max-width: 320px;
  font-size: 0.74rem;
}

.footer__socials {
  display: flex;
  margin-top: 1.2rem;
  gap: 0.55rem;
}

.footer__socials a {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  color: var(--gold-light);
  border: 1px solid rgba(201, 162, 77, 0.28);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 800;
  transition: color 0.3s ease, background 0.3s ease, transform 0.3s var(--ease);
}

.footer__socials a:hover {
  color: var(--navy);
  background: var(--gold-light);
  transform: translateY(-3px);
}

.footer__column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  font-size: 0.7rem;
}

.footer__column h3 {
  margin-bottom: 0.55rem;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__column a {
  transition: color 0.25s ease, transform 0.25s ease;
}

.footer__column a:hover {
  color: var(--gold-light);
  transform: translateX(3px);
}

.footer__contact address {
  font-style: normal;
}

.footer__bottom {
  display: grid;
  margin-top: 3rem;
  padding-block: 1.3rem;
  gap: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  font-size: 0.58rem;
}

.footer__bottom p {
  margin: 0;
}

/* Floating WhatsApp */
.floating-whatsapp {
  position: fixed;
  right: 0.9rem;
  bottom: 0.9rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.floating-whatsapp__bubble {
  display: none;
  max-width: 210px;
  padding: 0.65rem 0.8rem;
  color: var(--navy);
  background: var(--white);
  border: 1px solid rgba(6, 26, 51, 0.08);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
  font-size: 0.62rem;
  line-height: 1.4;
}

.floating-whatsapp__bubble strong {
  display: block;
}

.floating-whatsapp__icon {
  position: relative;
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  background: var(--success);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 12px 25px rgba(6, 26, 51, 0.24);
}

.floating-whatsapp__icon::before {
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(37, 211, 102, 0.45);
  border-radius: 50%;
  content: "";
  animation: whatsapp-pulse 2.2s ease-out infinite;
}

.floating-whatsapp svg {
  width: 25px;
  height: 25px;
  fill: var(--white);
}

/* Animations */
@keyframes preloader-orbit {
  to { transform: rotate(360deg); }
}

@keyframes preloader-line {
  from { transform: translateX(-120%); }
  to { transform: translateX(320%); }
}

@keyframes slow-drift {
  from { transform: translate3d(-10px, -8px, 0) scale(0.98); }
  to { transform: translate3d(18px, 16px, 0) scale(1.05); }
}

@keyframes line-scan {
  0%, 100% { opacity: 0.25; transform: translateY(-18px); }
  50% { opacity: 0.8; transform: translateY(24px); }
}

@keyframes particle-float {
  0%, 100% { opacity: 0.25; transform: translateY(0) scale(0.8); }
  50% { opacity: 1; transform: translateY(-22px) scale(1.1); }
}

@keyframes legal-float {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-11px) rotate(2deg); }
}

@keyframes scroll-line {
  0%, 100% { opacity: 0.35; transform: scaleY(0.6); transform-origin: top; }
  50% { opacity: 1; transform: scaleY(1); }
}

@keyframes background-pulse {
  from { opacity: 0.65; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1.03); }
}

@keyframes map-pin {
  0%, 100% { transform: translateY(0) rotate(-45deg); }
  50% { transform: translateY(-9px) rotate(-45deg); }
}

@keyframes whatsapp-pulse {
  0% { opacity: 0.8; transform: scale(0.85); }
  80%, 100% { opacity: 0; transform: scale(1.45); }
}

/* <= 1200px */
@media (max-width: 1200px) {
  :root {
    --container: 1080px;
  }

  .hero__title {
    font-size: clamp(3rem, 7vw, 5.25rem);
  }

  .hero-3d-object--scale {
    right: -5%;
  }

  .hero-3d-object--docs {
    left: -6%;
  }
}

/* <= 992px */
@media (max-width: 992px) {
  .hero__visual {
    max-width: 520px;
  }

  .section-heading--split {
    max-width: 780px;
  }

  .practices__grid,
  .team__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .guidance__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .team-card:last-child {
    grid-column: 1 / -1;
    width: calc(50% - 0.5rem);
    margin-inline: auto;
  }

  .confidence__object {
    opacity: 0.68;
  }
}

/* >= 769px */
@media (min-width: 769px) {
  :root {
    --header-height: 84px;
  }

  .container {
    width: min(100% - 3.5rem, var(--container));
  }

  .section {
    padding-block: 7rem;
  }

  .hero__actions,
  .contact__actions {
    display: flex;
    flex-wrap: wrap;
  }

  .hero__badges {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .trust-strip__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .trust-strip__item {
    min-height: 100px;
    padding: 1.25rem;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 0;
  }

  .trust-strip__item:first-child {
    padding-left: 0;
  }

  .trust-strip__item:last-child {
    padding-right: 0;
    border-right: 0;
  }

  .section-heading--split {
    display: grid;
    max-width: none;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
    align-items: end;
    gap: 4rem;
  }

  .section-heading--split h2 {
    margin-bottom: 0;
  }

  .section-heading--split > p {
    padding-bottom: 0.8rem;
  }

  .about__grid,
  .preparation__grid,
  .faq__grid,
  .contact__grid,
  .location__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
  }

  .about__grid,
  .preparation__grid,
  .faq__grid,
  .location__grid {
    gap: 5rem;
  }

  .contact__grid {
    gap: 4rem;
  }

  .about__features,
  .preparation__list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.5rem;
  }

  .confidence__grid {
    grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
    align-items: center;
    gap: 5rem;
  }

  .confidence__object {
    width: 220px;
    height: 220px;
    margin-left: 0;
  }

  .testimonials__header {
    grid-template-columns: 1fr auto;
    align-items: end;
  }

  .testimonial-carousel {
    overflow: visible;
  }

  .testimonial-carousel__track {
    gap: 1rem;
  }

  .carousel__controls {
    display: none;
  }

  .testimonial-card {
    min-width: calc((100% - 2rem) / 3);
  }

  .testimonial-card blockquote {
    min-height: 190px;
    font-size: 1.35rem;
  }

  .carousel__dots {
    display: none;
  }

  .footer__grid {
    grid-template-columns: 1.4fr 0.75fr 0.65fr 1.1fr;
    gap: 3rem;
  }

  .footer__bottom {
    grid-template-columns: auto 1fr;
    align-items: center;
  }

  .footer__bottom p:last-child {
    text-align: right;
  }

  .floating-whatsapp__bubble {
    display: block;
  }
}

/* >= 993px */
@media (min-width: 993px) {
  .menu-toggle {
    display: none;
  }

  .primary-nav {
    position: static;
    display: flex;
    visibility: visible;
    padding: 0;
    flex-direction: row;
    align-items: center;
    gap: 1.05rem;
    opacity: 1;
    background: transparent;
    transform: none;
  }

  .primary-nav > a:not(.button) {
    position: relative;
    padding: 0.7rem 0;
    border-bottom: 0;
    font-family: var(--font-body);
    font-size: 0.68rem;
    font-weight: 800;
  }

  .primary-nav > a:not(.button)::after {
    position: absolute;
    right: 0;
    bottom: 0.4rem;
    left: 0;
    height: 1px;
    background: var(--gold);
    content: "";
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s var(--ease);
  }

  .primary-nav > a:not(.button):hover::after,
  .primary-nav > a:not(.button).is-active::after {
    transform: scaleX(1);
    transform-origin: left;
  }

  .primary-nav .nav__cta {
    margin: 0 0 0 0.3rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 3.5rem);
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(380px, 0.9fr);
    align-items: center;
    gap: 4rem;
  }

  .hero__visual {
    width: 100%;
  }

  .hero__scroll {
    display: flex;
  }

  .guidance__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .situation-card:nth-child(2),
  .situation-card:nth-child(4),
  .situation-card:nth-child(6) {
    transform: translateY(24px);
  }

  .situation-card:nth-child(2):hover,
  .situation-card:nth-child(4):hover,
  .situation-card:nth-child(6):hover {
    transform: translateY(17px);
  }

  .practices__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practices__stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .practices__stats div:not(:last-child) {
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .timeline {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 0.7rem;
  }

  .timeline__progress {
    top: 31px;
    right: 5%;
    bottom: auto;
    left: 5%;
    width: auto;
    height: 1px;
  }

  .timeline__progress span {
    width: 0;
    height: 100%;
    transition: width 1.8s var(--ease);
  }

  .timeline.is-active .timeline__progress span {
    width: 100%;
    height: 100%;
  }

  .timeline__item {
    min-height: 280px;
    padding: 5rem 1.1rem 1.2rem;
  }

  .timeline__item:nth-of-type(even) {
    margin-top: 2.5rem;
  }

  .timeline__index {
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
  }

  .team__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .team-card:last-child {
    grid-column: auto;
    width: auto;
  }

  .team-card--raised {
    transform: translateY(28px);
  }

  .team-card--raised:hover {
    transform: translateY(20px);
  }

  .contact-form {
    padding: 2rem;
  }
}

/* <= 768px */
@media (max-width: 768px) {
  .brand {
    width: 190px;
  }

  .hero {
    min-height: auto;
  }

  .hero__frame {
    border-radius: 130px 130px 20px 20px;
  }

  .hero-lawyer-image {
    border-radius: 122px 122px 15px 15px;
  }

  .hero-3d-object {
    opacity: 0.82;
  }

  .section-heading h2 br {
    display: none;
  }

  .practices__grid,
  .team__grid {
    grid-template-columns: 1fr;
  }

  .team-card:last-child {
    width: 100%;
  }

  .team-lawyer-photo {
    aspect-ratio: 1.05;
  }

  .team-lawyer-photo--one {
    object-position: 5% 25%;
  }

  .team-lawyer-photo--two {
    object-position: 40% 25%;
  }

  .team-lawyer-photo--three {
    object-position: 75% 25%;
  }

  .method {
    background-attachment: scroll;
  }

  .floating-whatsapp {
    bottom: max(0.9rem, env(safe-area-inset-bottom));
  }
}

/* <= 480px */
@media (max-width: 480px) {
  .container {
    width: min(100% - 1.25rem, var(--container));
  }

  .section {
    padding-block: 4.5rem;
  }

  .brand {
    width: 168px;
  }

  .brand__image {
    height: 48px;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero__title {
    font-size: clamp(2.8rem, 14.6vw, 4rem);
  }

  .hero__lead {
    font-size: 0.9rem;
  }

  .hero__actions .button,
  .contact__actions .button {
    width: 100%;
  }

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

  .hero__visual {
    width: 94%;
  }

  .hero-3d-object--scale {
    top: 15%;
    right: -4%;
    width: 70px;
  }

  .hero-3d-object--docs {
    bottom: 16%;
    left: -5%;
    width: 62px;
  }

  .hero__practice-notes {
    gap: 0.4rem;
  }

  .hero__practice-notes span {
    padding: 0.65rem 0.55rem;
    font-size: 0.6rem;
  }

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

  .situation-card {
    min-height: 190px;
  }

  .practice-card {
    min-height: 310px;
  }

  .about__image-wrap {
    width: 94%;
  }

  .about__quote {
    width: 82%;
  }

  .floating-legal-icon {
    width: 62px;
    height: 62px;
  }

  .confidence__object {
    width: 130px;
    height: 130px;
  }

  .preparation__visual {
    padding-bottom: 6rem;
  }

  .preparation__panel {
    right: 4%;
    grid-template-columns: 56px 1fr;
  }

  .preparation__panel img {
    width: 56px;
    height: 56px;
  }

  .contact-form {
    padding: 1.1rem;
  }

  .map-card {
    min-height: 340px;
  }

  .location__contacts div {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .footer__brand img {
    width: 220px;
  }

  .floating-whatsapp__icon {
    width: 52px;
    height: 52px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .testimonial-carousel__track {
    transform: none !important;
  }
}
