/* Giulia Marino Law — site styles */

:root {
  /* palette derived from the firm's own mark: the GML divider rule is #3432FF.
     The dark field is that same hue driven to 9% lightness, so navy and accent
     are one family rather than two borrowed colours. Neutrals stay warm to keep
     the electric blue from reading cold. */
  --ink: #0a0b22;
  --ink-2: #14163a;
  --ink-3: #1e2150;
  --indigo: #3432ff;
  --indigo-deep: #201ec9;
  --indigo-soft: #7c7aff;
  --ivory: #f5f3ed;
  --bone: #e5e1d7;
  --slate: #585e75;
  --line: #d6d2c7;
  --serif: "Brygada 1918", Georgia, serif;
  --sans: "Urbanist", -apple-system, "Segoe UI", sans-serif;
  --pad: 45px;
  --container-max: 1660px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 93px;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body.is-locked {
  overflow: hidden;
}

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

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

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  margin: 0;
  letter-spacing: -0.015em;
  line-height: 1.1;
}

p {
  margin: 0;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

figure {
  margin: 0;
}

:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
}

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

/* ---------- motifs ---------- */

.rule {
  display: inline-block;
  width: 3px;
  height: 1em;
  background: var(--indigo);
  vertical-align: -0.12em;
  margin-right: 0.7rem;
  flex: 0 0 3px;
}

.rule--soft {
  height: 1.05em;
  background: var(--indigo-soft);
}

.mark {
  display: flex;
  align-items: flex-start;
  gap: 0;
}

.mark::before {
  content: "";
  width: 3px;
  align-self: stretch;
  background: var(--indigo);
  margin-right: 22px;
  flex: 0 0 3px;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: 0.005em;
  padding: 17px 38px;
  border-radius: 999px;
  background: var(--indigo);
  color: #fff;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
  transition: background 0.18s ease, transform 0.18s ease;
}

.btn:hover {
  background: var(--indigo-deep);
}

.btn:active {
  transform: translateY(1px);
}

.btn--primary {
  background: var(--indigo);
  color: #fff;
}

.btn--ghost {
  background: transparent;
  color: var(--ink);
  border: 1.5px solid var(--ink);
  font-size: 17px;
  padding: 13px 30px;
}

.btn--ghost:hover {
  background: var(--ink);
  color: var(--ivory);
}

.btn--sm {
  font-size: 16px;
  padding: 12px 26px;
}

/* ---------- header ---------- */

.header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 20;
}

.header__overlay {
  display: none;
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 34px);
  padding-top: 16px;
  padding-bottom: 16px;
  position: relative;
}

.header__logo {
  flex-shrink: 0;
  display: block;
}

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

.header__toggle {
  display: none;
  margin-left: auto;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  position: relative;
  z-index: 4;
  flex-shrink: 0;
}

.header__toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.header__toggle-bar:first-child {
  margin-top: 0;
}

.header__toggle-bar:last-child {
  margin-bottom: 0;
}

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

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

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

.header__nav {
  margin-left: auto;
}

.header__nav-list {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2vw, 32px);
}

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

.header__nav-link {
  display: block;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--ink);
  padding: 6px 0;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}

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

.header__nav-link:hover::after,
.header__nav-link:focus-visible::after {
  transform: scaleX(1);
}

.header__nav-extras {
  display: none;
}

.header__phone {
  display: flex;
  align-items: center;
  font-size: clamp(14px, 1.15vw, 17px);
  font-weight: 700;
  letter-spacing: 0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.header__phone--bar {
  padding-left: clamp(16px, 2vw, 30px);
  border-left: 1px solid var(--line);
}

.header__phone--panel {
  font-size: 18px;
  padding: 0;
  border: 0;
}

/* ---------- hero ---------- */

.hero {
  position: relative;
  background: var(--ink);
  overflow: hidden;
  padding: clamp(24px, 4vw, 56px) clamp(20px, 3vw, 40px) 0;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  mix-blend-mode: luminosity;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    100deg,
    var(--ink) 0%,
    rgba(10, 11, 34, 0.94) 46%,
    rgba(30, 33, 80, 0.74) 100%
  );
}

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

.hero__content {
  position: relative;
  z-index: 4;
  max-width: min(100%, 660px);
  width: min(100%, 55%);
  padding: clamp(16px, 2.5vw, 40px) clamp(12px, 2vw, 24px) clamp(16px, 2.5vw, 40px) 0;
  animation: rise 0.8s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

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

@media (prefers-reduced-motion: reduce) {
  .hero__content {
    animation: none;
  }

  *,
  *::before,
  *::after {
    transition: none !important;
  }
}

.hero__heading {
  display: flex;
  align-items: stretch;
  gap: 26px;
}

.hero__heading::before {
  content: "";
  width: 4px;
  background: var(--indigo);
  flex: 0 0 4px;
}

.hero__title {
  color: #fff;
  font-size: clamp(2.6rem, 4.3vw, 4.15rem);
  font-weight: 600;
  letter-spacing: -0.025em;
  line-height: 1.04;
}

.hero__title em {
  display: block;
  font-style: italic;
  font-weight: 400;
  color: #fff;
}

.hero__lede {
  color: #c8cbe2;
  font-size: 19px;
  font-weight: 300;
  line-height: 1.65;
  max-width: 35em;
  margin-top: 26px;
}

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

.hero__tel {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
  white-space: nowrap;
  flex-shrink: 0;
}

.hero__visual {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 45%;
  max-width: 520px;
  height: 100%;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  pointer-events: none;
  background: linear-gradient(180deg, #fbfaf7 0%, var(--bone) 100%);
  border-left: 4px solid var(--indigo);
  box-shadow: -26px 0 70px -30px rgba(52, 50, 255, 0.55);
}

.hero__visual::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 34%;
  background: linear-gradient(180deg, rgba(10, 11, 34, 0) 0%, rgba(10, 11, 34, 0.1) 100%);
  pointer-events: none;
}

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

/* ---------- accolades ---------- */

.accolades {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.accolades__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 34px 0;
}

.accolades__item {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-left: 1px solid var(--line);
  min-height: 72px;
}

.accolades__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.accolades__item img {
  width: auto;
  opacity: 0.88;
}

.accolades__item--md img {
  height: 64px;
}

.accolades__item--ntl img {
  height: 60px;
}

.accolades__item--sl img {
  height: 33px;
}

.accolades__item--aaj img {
  height: 46px;
}

/* ---------- shared section bits ---------- */

.section__title {
  font-size: clamp(2rem, 3vw, 2.9rem);
  line-height: 1.08;
}

.section__title--light {
  color: #fff;
}

.section__eyebrow {
  font-family: var(--serif);
  font-style: italic;
  font-size: 20px;
  color: var(--indigo-deep);
  margin-bottom: 14px;
}

/* ---------- about ---------- */

.about__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1fr);
  gap: 74px;
  align-items: center;
  padding: 104px 0;
}

.about__figure {
  position: relative;
}

.about__image {
  width: 100%;
  height: auto;
}

.about__figure::after {
  content: "";
  position: absolute;
  left: -22px;
  bottom: -22px;
  width: 120px;
  height: 120px;
  border-left: 4px solid var(--indigo);
  border-bottom: 4px solid var(--indigo);
}

.about__body {
  margin-top: 24px;
  color: var(--slate);
  font-size: 17.5px;
  max-width: 44em;
}

.about__actions {
  margin-top: 34px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

/* ---------- practice ---------- */

.practice {
  background: var(--bone);
  padding: 104px 0;
}

.practice__top {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 52px;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 26px;
}

.practice-card {
  background: #fff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-bottom: 4px solid transparent;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.practice-card:hover {
  border-bottom-color: var(--indigo);
  transform: translateY(-4px);
}

.practice-card__media {
  aspect-ratio: 19 / 13;
  overflow: hidden;
}

.practice-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.practice-card__body {
  padding: 28px 26px 30px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.practice-card__title {
  font-size: 22px;
  line-height: 1.2;
}

.practice-card__text {
  color: var(--slate);
  font-size: 15.5px;
  margin-top: 12px;
  flex: 1;
}

.practice-card__link {
  margin-top: 20px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--indigo-deep);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.practice-card__link::after {
  content: "";
  width: 26px;
  height: 2px;
  background: var(--indigo);
  transition: width 0.2s ease;
}

.practice-card:hover .practice-card__link::after {
  width: 40px;
}

/* ---------- results ---------- */

.results {
  position: relative;
  background: var(--ink);
  color: #fff;
  padding: 104px 0;
  overflow: hidden;
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-results.jpg");
  background-size: cover;
  background-position: center 28%;
  opacity: 0.26;
}

.results::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 11, 34, 0.86), rgba(10, 11, 34, 0.97));
}

.results > .container {
  position: relative;
  z-index: 2;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 56px;
}

.results__item {
  padding: 8px 34px;
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.results__item:first-child {
  border-left: 0;
  padding-left: 0;
}

.results__figure {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 3.4vw, 3.3rem);
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1;
  color: #fff;
}

.results__kind {
  font-size: 15.5px;
  font-weight: 500;
  color: #bbbfd9;
  margin-top: 14px;
  line-height: 1.4;
}

.results__link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 20px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--indigo-soft);
}

.results__link::after {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--indigo-soft);
}

.results__note {
  margin-top: 52px;
  font-size: 14px;
  color: #9094b2;
  max-width: 60em;
}

/* ---------- values ---------- */

.values {
  padding: 104px 0;
  background: var(--ivory);
}

.values__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1fr);
  gap: 74px;
  align-items: center;
}

.values__figure {
  position: relative;
}

.values__image {
  width: 100%;
  height: auto;
}

.values__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 38px 44px;
  margin-top: 44px;
}

.values__heading {
  font-size: 20.5px;
  line-height: 1.25;
}

.values__text {
  margin-top: 10px;
  color: var(--slate);
  font-size: 15.5px;
}

.values__link {
  display: inline-block;
  margin-top: 12px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--indigo-deep);
  border-bottom: 2px solid var(--indigo);
}

.values__foot {
  margin-top: 46px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.values__foot-text {
  font-family: var(--serif);
  font-style: italic;
  font-size: 19px;
  color: var(--ink);
  max-width: 26em;
}

/* ---------- testimonials ---------- */

.testimonials {
  background: #fff;
  padding: 100px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.testimonials__inner {
  max-width: 1000px;
}

.testimonials .section__title {
  margin-bottom: 34px;
}

.testimonials__quote {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(1.25rem, 2vw, 1.72rem);
  line-height: 1.5;
  font-weight: 400;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.testimonials__by {
  margin-top: 30px;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  color: var(--slate);
}

/* ---------- contact ---------- */

.contact {
  position: relative;
  background: var(--ink-2);
  color: #fff;
  padding: 104px 0;
  overflow: hidden;
}

.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-contact.jpg");
  background-size: cover;
  background-position: center 30%;
  opacity: 0.17;
}

.contact::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(10, 11, 34, 0.97), rgba(20, 22, 58, 0.88));
}

.contact__inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1fr);
  gap: 80px;
  align-items: start;
}

.contact__body {
  color: #c8cbe2;
  font-size: 17.5px;
  margin-top: 22px;
  max-width: 36em;
}

.contact__tel {
  display: flex;
  align-items: center;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
  margin-top: 30px;
}

.contact__addr {
  margin-top: 26px;
  font-size: 16.5px;
  color: #c8cbe2;
  line-height: 1.6;
}

.contact__form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 38px;
}

.field {
  margin-bottom: 18px;
}

.field__label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #c8cbe2;
  margin-bottom: 8px;
}

.field__input,
.field__select {
  width: 100%;
  height: 40px;
  padding: 0 14px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

.field__textarea {
  width: 100%;
  height: 120px;
  padding: 11px 14px;
  font: inherit;
  font-size: 16px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  resize: vertical;
}

.field__input:focus,
.field__select:focus,
.field__textarea:focus {
  border-color: var(--indigo-soft);
  background: rgba(255, 255, 255, 0.11);
  outline: none;
}

.field__select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #c8cbe2 50%),
    linear-gradient(135deg, #c8cbe2 50%, transparent 50%);
  background-position: calc(100% - 19px) 17px, calc(100% - 13px) 17px;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.field__select option {
  color: #0a1024;
}

.contact__submit {
  width: 100%;
  margin-top: 10px;
}

.contact__fine {
  margin-top: 16px;
  font-size: 13px;
  color: #9094b2;
  line-height: 1.5;
}

/* ---------- footer ---------- */

.footer {
  background: var(--ink);
  color: #9ca1be;
  padding: 74px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.8fr) minmax(0, 0.8fr);
  gap: 58px;
  padding-bottom: 56px;
}

.footer__col {
  padding-left: 26px;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
}

.footer__logo {
  background: #fff;
  display: inline-block;
  padding: 16px 20px;
}

.footer__logo img {
  height: 62px;
  width: auto;
  max-width: none;
}

.footer__blurb {
  margin-top: 24px;
  font-size: 15.5px;
  line-height: 1.65;
  max-width: 34em;
}

.footer__heading {
  color: #fff;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.09em;
  margin-bottom: 20px;
}

.footer__list {
  display: grid;
  gap: 11px;
}

.footer__link {
  font-size: 16px;
}

.footer__link:hover {
  color: #fff;
}

.footer__addr {
  font-size: 16px;
  line-height: 1.7;
  color: #c8cbe2;
}

.footer__tel {
  display: block;
  margin-top: 16px;
  font-family: var(--serif);
  font-size: 21px;
  color: #fff;
  font-weight: 600;
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 24px 0 30px;
  display: flex;
  justify-content: space-between;
  gap: 22px;
  flex-wrap: wrap;
  font-size: 13.5px;
}

/* ---------- responsive: pre-hamburger scaling ---------- */

@media (max-width: 1400px) {
  .hero__visual {
    max-width: 470px;
    width: 48%;
  }

  .results__item {
    padding: 8px 24px;
  }
}

@media (max-width: 1200px) {
  :root {
    --pad: 34px;
  }

  .header__phone--bar {
    display: none;
  }

  .header__toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .header__overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 1;
    background: rgba(10, 11, 34, 0.45);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
  }

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

  .header__overlay[hidden] {
    display: none;
  }

  .header.is-open .header__overlay[hidden] {
    display: block;
  }

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

  .header__nav {
    position: fixed;
    top: 0;
    right: 0;
    width: min(360px, 88vw);
    height: 100%;
    margin: 0;
    padding: 84px 28px 40px;
    background: #fff;
    border-left: 1px solid var(--line);
    box-shadow: -16px 0 40px rgba(10, 11, 34, 0.12);
    z-index: 2;
    transform: translateX(100%);
    visibility: hidden;
    transition: transform 0.28s ease, visibility 0.28s ease;
    overflow-y: auto;
  }

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

  .header.is-open .header__toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 4;
  }

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

  .header__nav-item {
    border-top: 1px solid var(--line);
  }

  .header__nav-link {
    display: block;
    padding: 15px 0;
    font-size: 16px;
  }

  .header__nav-extras {
    display: block;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--line);
  }

  .hero__visual {
    max-width: 400px;
    width: 42%;
  }

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

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

  .results__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 44px 0;
  }

  .results__item:nth-child(3) {
    border-left: 0;
    padding-left: 0;
  }

  .accolades__inner {
    flex-wrap: wrap;
  }

  .accolades__item {
    flex: 1 1 42%;
    padding-left: 0;
    border-left: 0;
  }
}

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

  .about__inner,
  .values__inner,
  .contact__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .about__inner {
    padding: 78px 0;
  }

  .values,
  .practice,
  .results,
  .contact {
    padding: 78px 0;
  }

  .about__figure {
    order: -1;
  }

  .values__figure {
    max-width: 520px;
  }

  .hero__actions {
    flex-wrap: wrap;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: auto;
    min-height: calc(100vh - var(--site-chrome-height));
    min-height: calc(100dvh - var(--site-chrome-height));
    min-height: calc(100svh - var(--site-chrome-height));
    padding: clamp(28px, 5vw, 40px) clamp(16px, 4vw, 28px) 0;
    display: flex;
    flex-direction: column;
  }

  .hero__inner {
    height: auto;
    flex: 0 0 auto;
    align-items: flex-start;
  }

  .hero__content {
    width: 100%;
    max-width: 100%;
    padding: 0 0 36px;
  }

  .hero__visual {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    height: 440px;
    margin: 0 calc(-1 * clamp(16px, 4vw, 28px));
    width: calc(100% + 2 * clamp(16px, 4vw, 28px));
    border-left: 0;
    border-top: 4px solid var(--indigo);
    box-shadow: none;
  }

  .hero__image {
    height: 100%;
    max-height: 430px;
  }
}

@media (max-width: 640px) {
  :root {
    --pad: 22px;
  }

  body {
    font-size: 16px;
  }

  .values__list,
  .practice__grid,
  .results__grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .practice__top,
  .values__foot {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }

  .about__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .results__item {
    border-left: 0;
    padding: 0;
  }

  .accolades__item {
    flex: 1 1 42%;
    min-height: 60px;
  }

  .accolades__item--md img {
    height: 54px;
  }

  .accolades__item--ntl img {
    height: 50px;
  }

  .accolades__item--sl img {
    height: 27px;
  }

  .accolades__item--aaj img {
    height: 38px;
  }

  .btn {
    font-size: 18px;
    padding: 15px 30px;
    white-space: normal;
  }

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

  .hero__actions .btn {
    width: 100%;
  }

  .hero__tel {
    font-size: 22px;
  }

  .hero__visual {
    height: 360px;
  }

  .hero__image {
    max-height: 352px;
  }

  .contact__form {
    padding: 24px;
  }

  .footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 38px;
  }

  .footer__col {
    padding-left: 20px;
  }

  .about__figure::after {
    display: none;
  }
}
