@font-face {
  font-family: "Castoro Titling";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/CastoroTitling-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Castoro";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/Castoro-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Castoro";
  font-weight: 400;
  font-style: italic;
  font-display: swap;
  src: url("../assets/fonts/Castoro-Italic.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/Geist-Regular.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/Geist-Medium.woff2") format("woff2");
}

@font-face {
  font-family: "Geist";
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  src: url("../assets/fonts/Geist-SemiBold.woff2") format("woff2");
}

/* Brand tokens: navy and gold sampled from the Pantheon Legal logo. */
:root {
  --navy: #0f2e4d;
  --ink: #091d31;
  --gold: #c9a063;
  --gold-lt: #e6cc9c;
  --stone: #f1f3f6;
  --text: #1b2836;
  --muted: #556373;
  --line: #dde2e8;
  --white: #ffffff;
  --f-title: "Castoro Titling", "Trajan Pro", "Cinzel", Georgia, serif;
  --f-serif: "Castoro", Georgia, "Times New Roman", serif;
  --f-sans: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(20px, 3vw, 45px);
  --section-y: clamp(64px, 4vw + 40px, 110px);
  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 96px;
  --header-height: 96px;
}

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

html {
  scroll-padding-top: calc(var(--site-chrome-height) + env(safe-area-inset-top, 0px));
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: var(--f-sans);
  font-size: 17px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

body.is-locked {
  overflow: hidden;
}

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

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

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

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

.icons-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.icon {
  width: 1em;
  height: 1em;
  flex: none;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  white-space: nowrap;
  border-radius: 999px;
  font-family: var(--f-sans);
  font-weight: 600;
  font-size: 20px;
  line-height: 1.35;
  padding: 19px 34px;
  transition: background-color 0.2s, color 0.2s, border-color 0.2s;
  cursor: pointer;
  border: 1.5px solid transparent;
  max-width: 100%;
  text-align: center;
}

.btn--gold {
  background: var(--gold);
  color: var(--ink);
}

.btn--gold:hover {
  background: var(--gold-lt);
}

.btn--outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* ---------- Shared ---------- */
.rule {
  width: 64px;
  height: 2px;
  background: var(--gold);
  margin: 22px 0 0;
}

.rule--hero {
  margin-top: 26px;
  width: 88px;
}

.rule--center {
  margin-left: auto;
  margin-right: auto;
}

.section-heading--center {
  text-align: center;
}

.section-heading--center .rule {
  margin-left: auto;
  margin-right: auto;
}

.section-heading__title {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(32px, 2.2vw + 14px, 46px);
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: var(--navy);
}

.section-heading__title--light {
  color: var(--white);
}

.link-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
  font-size: 15px;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.01em;
}

.link-more .icon {
  width: 14px;
  height: 14px;
  transition: transform 0.2s;
}

a:hover .link-more .icon,
.link-more:hover .icon {
  transform: translateX(3px);
}

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

.text-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 20px;
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
}

.text-phone .icon {
  color: var(--gold);
}

.text-phone--large {
  margin-top: 30px;
  font-size: 24px;
}

/* ---------- Header ---------- */
.header {
  background: var(--navy);
  position: relative;
  z-index: 30;
  border-bottom: 1px solid rgba(230, 204, 156, 0.22);
}

.header__overlay {
  display: none;
}

.header__inner {
  height: var(--header-height);
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 24px);
  position: relative;
}

.header__logo {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
}

.header__logo img {
  width: 70px;
  height: 70px;
  max-width: none;
  flex-shrink: 0;
}

.header__nav {
  margin-left: auto;
}

.header__nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: clamp(14px, 1.6vw, 38px);
}

.header__nav-item {
  flex-shrink: 0;
}

.header__nav-link {
  display: block;
  font-size: clamp(13px, 0.9vw + 8px, 16px);
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.01em;
  padding: 8px 0;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1.5px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.header__nav-link:hover,
.header__nav-link[aria-current="page"] {
  color: var(--gold-lt);
}

.header__nav-link:hover::after,
.header__nav-link[aria-current="page"]::after {
  transform: scaleX(1);
}

.header__nav-extras {
  display: none;
}

.header__call {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header__call--desktop {
  padding-left: clamp(12px, 1.5vw, 24px);
  border-left: 1px solid rgba(230, 204, 156, 0.25);
}

.header__call-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  display: grid;
  place-items: center;
  color: var(--gold-lt);
  flex-shrink: 0;
}

.header__call-label {
  display: block;
  font-size: 13px;
  color: var(--gold-lt);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.header__call-number {
  display: block;
  font-size: clamp(16px, 1vw + 10px, 20px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
  white-space: nowrap;
}

.header__cta {
  flex-shrink: 0;
  font-size: clamp(14px, 0.8vw + 8px, 18px);
  padding: clamp(12px, 1vw, 16px) clamp(16px, 1.5vw, 28px);
  white-space: nowrap;
}

.header__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 0;
  background: none;
  border: 1.5px solid rgba(230, 204, 156, 0.5);
  border-radius: 8px;
  cursor: pointer;
  color: var(--gold-lt);
  z-index: 4;
}

.header__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 1px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.header.is-open .header__toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.header.is-open .header__toggle-bar:nth-child(2) {
  opacity: 0;
}

.header.is-open .header__toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Progressive header scaling before hamburger */
@media (max-width: 1439px) {
  .header__call-ring {
    display: none;
  }

  .header__call-label {
    display: none;
  }
}

@media (max-width: 1365px) {
  .header__call--desktop {
    display: none;
  }
}

@media (max-width: 1280px) {
  .header__cta {
    font-size: 14px;
    padding: 12px 18px;
  }

  .header__nav-link {
    font-size: 14px;
  }
}

/* ---------- Mobile nav (≤1200px) ---------- */
@media (max-width: 1200px) {
  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(9, 29, 49, 0.55);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .header.is-open .header__overlay {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .header__overlay[hidden] {
    display: none !important;
  }

  .header__inner {
    position: relative;
    z-index: 2;
  }

  .header__toggle {
    display: inline-flex;
  }

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
    background: var(--navy);
  }

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    margin: 0;
    padding: 84px 28px 40px;
    background: var(--navy);
    border-left: 1px solid rgba(230, 204, 156, 0.22);
    z-index: 2;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .header.is-open .header__nav {
    transform: translateX(0);
  }

  .header__nav-list {
    flex-direction: column;
    gap: 0;
  }

  .header__nav-link {
    display: block;
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid rgba(230, 204, 156, 0.12);
  }

  .header__nav-link::after {
    display: none;
  }

  .header__nav-extras {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    padding-top: 8px;
  }

  .header__call--desktop,
  .header__cta {
    display: none;
  }

  .header__call--panel {
    padding: 0;
    border: 0;
  }

  .header__call--panel .header__call-ring,
  .header__call--panel .header__call-label {
    display: revert;
  }

  .header__call--panel .header__call-ring {
    display: grid;
  }

  .header__cta--panel {
    width: 100%;
    white-space: normal;
    font-size: 16px;
    padding: 16px 22px;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  overflow: hidden;
  color: var(--white);
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
  background:
    linear-gradient(
      90deg,
      rgba(9, 29, 49, 0.97) 0%,
      rgba(9, 29, 49, 0.9) 38%,
      rgba(15, 46, 77, 0.55) 70%,
      rgba(15, 46, 77, 0.35) 100%
    ),
    url("../assets/images/bg-hero.jpg") center / cover no-repeat,
    var(--ink);
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 58%;
  background: repeating-linear-gradient(
    90deg,
    transparent 0 46px,
    rgba(230, 204, 156, 0.09) 46px 47px,
    transparent 47px 52px,
    rgba(230, 204, 156, 0.05) 52px 53px
  );
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 35%, #000 100%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-lt) 50%, var(--gold));
  z-index: 4;
}

.hero__inner {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}

.hero__content {
  position: relative;
  z-index: 3;
  max-width: min(100%, 640px);
  width: min(100%, 55%);
  padding-right: clamp(12px, 2vw, 32px);
}

.hero__title {
  font-family: var(--f-title);
  font-weight: 400;
  font-size: clamp(40px, 2.6vw + 14px, 58px);
  line-height: 1.06;
  letter-spacing: 0.015em;
}

.hero__title span {
  display: block;
  white-space: nowrap;
}

.hero__subtitle {
  margin-top: 24px;
  max-width: 540px;
  font-size: 18px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.82);
}

.hero__actions {
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

.hero__phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 600;
  white-space: nowrap;
  color: var(--white);
}

.hero__phone .icon {
  color: var(--gold);
}

.hero__phone:hover {
  color: var(--gold-lt);
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 52%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  z-index: 2;
}

.hero__visual::before {
  content: "";
  position: absolute;
  inset: 8% -18% -6% -18%;
  background: radial-gradient(
    closest-side,
    rgba(230, 204, 156, 0.3),
    rgba(230, 204, 156, 0.08) 60%,
    transparent 75%
  );
  pointer-events: none;
}

.hero__image {
  position: relative;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  object-position: bottom center;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__image {
    animation: rise 1.1s cubic-bezier(0.2, 0.7, 0.2, 1) both 0.15s;
  }

  .hero__content {
    animation: fade 0.9s ease-out both;
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes fade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* ---------- Accolades ---------- */
.accolades {
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 40px;
  flex-wrap: wrap;
  padding-top: 34px;
  padding-bottom: 34px;
}

.accolades__badge {
  height: 96px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accolades__badge img {
  display: block;
  max-width: 100%;
  height: auto;
  opacity: 0.9;
}

/* ---------- About ---------- */
.about {
  padding: var(--section-y) 0;
}

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: center;
}

.about__frame {
  position: relative;
  max-width: 480px;
  margin: 0 auto 0 0;
  padding: 0 0 26px 26px;
}

.about__frame::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: calc(100% - 26px);
  height: calc(100% - 26px);
  border: 1.5px solid var(--gold);
  border-radius: 999px 999px 0 0;
}

.about__image {
  position: relative;
  width: 100%;
  aspect-ratio: 1000 / 1180;
  object-fit: cover;
  border-radius: 999px 999px 0 0;
}

.about__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: clamp(30px, 1.6vw + 16px, 42px);
  line-height: 1.2;
  color: var(--navy);
}

.about__body {
  margin-top: 28px;
  color: var(--muted);
  max-width: 72ch;
}

.about__body p + p {
  margin-top: 18px;
}

.about__actions {
  margin-top: 36px;
  display: flex;
  gap: 26px;
  align-items: center;
  flex-wrap: wrap;
}

/* ---------- Practice ---------- */
.practice {
  padding: var(--section-y) 0;
  background: var(--stone);
}

.practice__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(20px, 2vw, 36px);
}

.practice-card {
  display: block;
  position: relative;
}

.practice-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 999px 999px 0 0;
  aspect-ratio: 4 / 5;
  background: var(--navy);
}

.practice-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.practice-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(9, 29, 49, 0.55));
  transition: opacity 0.3s;
}

.practice-card:hover .practice-card__image {
  transform: scale(1.05);
}

.practice-card__body {
  background: var(--white);
  padding: 24px 26px 26px;
  border-bottom: 2px solid var(--gold);
}

.practice-card__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 24px;
  line-height: 1.25;
  color: var(--navy);
  min-height: 2.5em;
}

.practice__more {
  margin-top: 52px;
  text-align: center;
}

/* ---------- Results ---------- */
.results {
  position: relative;
  padding: var(--section-y) 0;
  color: var(--white);
  background:
    linear-gradient(180deg, rgba(9, 29, 49, 0.9), rgba(9, 29, 49, 0.94)),
    url("../assets/images/bg-results.jpg") center / cover,
    var(--ink);
}

.results__grid {
  margin-top: 56px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(230, 204, 156, 0.35);
}

.result-card {
  padding: 40px 30px 36px;
  border-right: 1px solid rgba(230, 204, 156, 0.18);
  display: flex;
  flex-direction: column;
}

.result-card:last-child {
  border-right: 0;
}

.result-card__verdict {
  font-family: var(--f-title);
  font-size: clamp(28px, 1.4vw + 14px, 38px);
  line-height: 1.1;
  color: var(--gold-lt);
  letter-spacing: 0.02em;
}

.result-card__charge {
  margin-top: 16px;
  font-family: var(--f-serif);
  font-size: 20px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
  flex: 1;
}

.result-card .link-more {
  margin-top: 26px;
}

.results__note {
  margin-top: 34px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ---------- Why ---------- */
.why {
  padding: var(--section-y) 0;
}

.why__inner {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}

.why__lead {
  margin-top: 28px;
  color: var(--muted);
  max-width: 42ch;
}

.why__lead + .btn {
  margin-top: 34px;
}

.why__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
  border-top: 1px solid var(--line);
}

.why-item {
  padding: 36px 34px 38px 0;
  border-bottom: 1px solid var(--line);
  display: grid;
  grid-template-columns: 30px 1fr;
  column-gap: 20px;
}

.why-item:nth-child(odd) {
  border-right: 1px solid var(--line);
}

.why-item:nth-child(even) {
  padding-left: 34px;
}

.why-item__icon {
  width: 30px;
  height: 38px;
  color: var(--gold);
  margin-top: 2px;
}

.why-item__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 25px;
  line-height: 1.25;
  color: var(--navy);
}

.why-item__text {
  margin-top: 12px;
  font-size: 16px;
  line-height: 1.7;
  color: var(--muted);
}

.why-item .link-more {
  margin-top: 14px;
}

/* ---------- Testimonial ---------- */
.testimonial {
  padding: var(--section-y) 0;
  color: var(--white);
  text-align: center;
  background:
    radial-gradient(ellipse at 50% 0%, rgba(15, 46, 77, 0.75), rgba(9, 29, 49, 0.96) 70%),
    url("../assets/images/bg-results.jpg") center / cover,
    var(--ink);
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 34px;
  color: var(--gold);
}

.testimonial__stars svg {
  width: 20px;
  height: 20px;
}

.testimonial__quote {
  margin: 26px auto 0;
  max-width: 920px;
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 0.7vw + 15px, 25px);
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.92);
}

.testimonial__cite {
  display: block;
  margin-top: 30px;
  font-style: normal;
  font-size: 16px;
  font-weight: 600;
  color: var(--gold-lt);
}

/* ---------- Contact ---------- */
.contact {
  padding: var(--section-y) 0;
  background: var(--stone);
}

.contact__inner {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(40px, 5vw, 96px);
  align-items: start;
}

.contact__lead {
  margin-top: 28px;
  color: var(--muted);
  max-width: 46ch;
}

.contact__offices {
  margin-top: 36px;
  display: grid;
  gap: 18px;
}

.office {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: 16px;
  align-items: start;
  padding: 20px 22px;
  background: var(--white);
  border-left: 2px solid var(--gold);
}

.office__ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--stone);
  display: grid;
  place-items: center;
  color: var(--gold);
}

.office__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 21px;
  color: var(--navy);
  line-height: 1.3;
}

.office__address {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 2px;
}

.contact-form {
  background: var(--white);
  padding: clamp(28px, 3vw, 48px);
  border-top: 3px solid var(--gold);
  box-shadow: 0 30px 60px -30px rgba(9, 29, 49, 0.35);
}

.contact-form__title {
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 28px;
  color: var(--navy);
}

.contact-form__sub {
  margin-top: 6px;
  font-size: 15px;
  color: var(--muted);
}

.contact-form__grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.field--full {
  grid-column: 1 / -1;
}

.field__label {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
}

.field__input,
.field__select,
.field__textarea {
  font: 400 16px var(--f-sans);
  color: var(--text);
  background: var(--white);
  border: 1px solid #c9d1db;
  border-radius: 4px;
  padding: 0 14px;
  width: 100%;
}

.field__input,
.field__select {
  height: 40px;
}

.field__textarea {
  height: 120px;
  padding: 10px 14px;
  resize: vertical;
}

.field__select {
  appearance: none;
  -webkit-appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, var(--navy) 50%),
    linear-gradient(135deg, var(--navy) 50%, transparent 50%);
  background-position: calc(100% - 20px) 17px, calc(100% - 15px) 17px;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 160, 99, 0.22);
}

.contact-form__submit {
  margin-top: 26px;
  width: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.75);
  font-size: 15px;
}

.footer__top {
  display: grid;
  grid-template-columns: auto minmax(0, 1.3fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 4vw, 72px);
  padding-top: 72px;
  padding-bottom: 56px;
}

.footer__logo {
  width: 132px;
  height: 132px;
  max-width: none;
}

.footer__heading {
  margin: 0 0 16px;
  font-family: var(--f-serif);
  font-weight: 400;
  font-size: 20px;
  color: var(--white);
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

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

.footer__address {
  font-style: normal;
  line-height: 1.7;
}

.footer__address + .footer__address {
  margin-top: 16px;
}

.footer__phone {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  margin-top: 18px;
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
}

.footer__phone .icon {
  color: var(--gold);
}

.footer__counties-text {
  line-height: 1.8;
}

.footer__bottom {
  border-top: 1px solid rgba(230, 204, 156, 0.18);
}

.footer__bottom-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 22px;
  padding-bottom: 26px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
}

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .hero__content {
    max-width: min(100%, 560px);
  }
}

@media (max-width: 1100px) {
  .practice__grid,
  .results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .result-card:nth-child(2) {
    border-right: 0;
  }

  .result-card:nth-child(-n + 2) {
    border-bottom: 1px solid rgba(230, 204, 156, 0.18);
  }

  .why__inner,
  .contact__inner {
    grid-template-columns: 1fr;
  }

  .footer__top {
    grid-template-columns: auto 1fr 1fr;
  }

  .footer__counties {
    grid-column: 2 / -1;
  }

  .hero__visual {
    width: 48%;
  }

  .hero__content {
    width: min(100%, 52%);
    max-width: 490px;
  }
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
  }

  .hero__actions .btn {
    font-size: 18px;
    padding: 17px 26px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(32px, 5vw, 48px) clamp(20px, 4vw, 28px) 0;
  }

  .hero__inner {
    height: auto;
    align-items: stretch;
    padding-top: 0;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: 0 clamp(4px, 2vw, 12px);
  }

  .hero__title span {
    white-space: normal;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    width: min(82%, 520px);
    height: auto;
    margin: 34px auto 0;
  }

  .hero__image {
    height: auto;
    width: 100%;
    max-height: min(70vh, 640px);
  }

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

  .about__frame {
    max-width: 420px;
    margin: 0 auto;
  }

  :root {
    --header-height: 76px;
    --site-chrome-height: 76px;
  }

  .header__inner {
    height: var(--header-height);
  }
}

@media (max-width: 640px) {
  body {
    font-size: 16px;
  }

  .hero__subtitle {
    font-size: 16px;
  }

  .hero__title {
    font-size: 31px;
  }

  .btn {
    font-size: 18px;
    padding: 17px 26px;
  }

  .hero__actions {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .hero__actions .btn {
    width: 100%;
  }

  .hero__phone {
    font-size: 22px;
    justify-content: center;
  }

  .accolades__inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px 24px;
  }

  .accolades__badge {
    height: 84px;
  }

  .accolades__badge img {
    max-height: 72px;
    width: auto;
  }

  .practice__grid,
  .results__grid,
  .why__grid {
    grid-template-columns: 1fr;
  }

  .result-card {
    border-right: 0;
    border-bottom: 1px solid rgba(230, 204, 156, 0.18);
  }

  .why-item,
  .why-item:nth-child(even) {
    padding: 30px 0;
    border-right: 0;
  }

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

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

  .footer__counties {
    grid-column: auto;
  }

  .practice-card__title {
    min-height: 0;
  }
}
