/* ============================================================
   Glauber Berenson Vego LLP — homepage
   Type: Petrona (display) / Sora (body)
   ============================================================ */

:root {
  --ink: #0a1826;
  --navy: #122b47;
  --navy-2: #1b3a5c;
  --navy-3: #274f79;
  --brass: #ba9257;
  --brass-lt: #d7bc8c;
  --paper: #ffffff;
  --cool: #f2f5f8;
  --cool-2: #e6ecf2;
  --slate: #5a6a7d;
  --line: rgba(18, 43, 71, 0.14);

  --container-max: 1320px;
  --nav-breakpoint: 1200px;
  --site-chrome-height: 96px;

  --pad: 45px;
  --f-display: "Petrona", Georgia, serif;
  --f-body: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

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

body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.72;
  color: var(--navy);
  background: var(--paper);
  overflow-x: hidden;
}

body.is-nav-open {
  overflow: hidden;
  touch-action: none;
}

body.is-nav-open .header {
  z-index: 190;
}

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

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

button {
  font-family: inherit;
}

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

@media (max-width: 900px) {
  :root {
    --pad: 24px;
  }
}

@media (max-width: 520px) {
  :root {
    --pad: 18px;
  }
}

/* ---------- shared type ---------- */
.eyebrow {
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, var(--brass), transparent);
  max-width: 120px;
}

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

.eyebrow--center::after {
  display: none;
}

.eyebrow--center::before {
  content: "";
  height: 1px;
  width: 52px;
  background: var(--brass);
}

.section__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(30px, 3.3vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.015em;
  margin: 0 0 22px;
  color: var(--navy);
}

.lede {
  color: var(--slate);
  font-size: 17px;
  font-weight: 300;
  margin: 0 0 18px;
}

.lede:last-child {
  margin-bottom: 0;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  font-family: var(--f-body);
  font-weight: 600;
  letter-spacing: 0.01em;
  padding: 17px 34px;
  background: var(--brass);
  color: #14212f;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease),
    background 0.3s var(--ease);
  box-shadow: 0 10px 26px -14px rgba(186, 146, 87, 0.85);
  white-space: nowrap;
  max-width: 100%;
  line-height: 1.35;
  text-align: center;
}

.btn:hover {
  background: var(--brass-lt);
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -14px rgba(186, 146, 87, 0.95);
}

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

.btn--ghost {
  background: transparent;
  color: var(--paper);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--brass);
  color: var(--paper);
}

.btn--navy {
  background: var(--navy);
  color: var(--paper);
  box-shadow: 0 10px 26px -14px rgba(18, 43, 71, 0.8);
}

.btn--navy:hover {
  background: var(--navy-2);
}

@media (max-width: 980px) {
  .btn {
    white-space: normal;
    padding: 15px 28px;
    font-size: 15px;
  }
}

/* ============================================================
   HEADER
   ============================================================ */
.header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s var(--ease);
}

.header--stuck {
  box-shadow: 0 10px 30px -18px rgba(10, 24, 38, 0.4);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 26px);
  min-height: 96px;
}

.header__brand {
  flex-shrink: 0;
  display: flex;
  align-items: center;
}

.header__brand img,
.header__brand svg {
  width: 220px;
  height: 66px;
  display: block;
  flex-shrink: 0;
  max-width: none;
}

.header__nav {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(12px, 1.6vw, 30px);
}

.header__nav-link {
  flex-shrink: 0;
  font-size: clamp(13px, 1.05vw, 16px);
  font-weight: 500;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  transition: color 0.25s var(--ease);
}

.header__nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 1.5px;
  width: 0;
  background: var(--brass);
  transition: width 0.3s var(--ease);
}

.header__nav-link:hover {
  color: var(--brass);
}

.header__nav-link:hover::after {
  width: 100%;
}

.header__nav-link:focus-visible {
  outline: 2px solid var(--brass);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Mobile drawer — lives outside .header so fixed positioning & z-index work */
.header__panel {
  display: none;
}

.header__nav-close {
  align-self: flex-end;
  background: none;
  border: 0;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  line-height: 1;
  margin-bottom: 12px;
  padding: 4px 8px;
}

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

.header__actions {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.4vw, 20px);
}

.header__phone {
  flex-shrink: 0;
  font-family: var(--f-display);
  font-size: clamp(15px, 1.25vw, 19px);
  font-weight: 600;
  color: var(--navy);
  white-space: nowrap;
  letter-spacing: 0.01em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.header__phone svg {
  width: 15px;
  height: 15px;
  fill: var(--brass);
  flex-shrink: 0;
}

.header__phone:hover {
  color: var(--brass);
}

.header__cta {
  flex-shrink: 0;
  padding: clamp(10px, 0.9vw, 13px) clamp(14px, 1.4vw, 24px);
  font-size: clamp(12px, 1vw, 15px);
}

.header__burger {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  position: relative;
  z-index: 2;
}

.header__burger-line {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px auto;
  transition:
    transform 0.3s var(--ease),
    opacity 0.3s var(--ease);
  transform-origin: center;
}

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.header__burger[aria-expanded="true"] .header__burger-line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.header__overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 24, 38, 0.6);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.4s var(--ease),
    visibility 0.4s var(--ease);
  z-index: 200;
}

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

/* Progressive type scaling before hamburger */
@media (max-width: 1320px) {
  .header__nav-link {
    font-size: 14px;
  }

  .header__phone {
    font-size: 17px;
  }

  .header__cta {
    font-size: 13px;
    padding: 11px 18px;
  }
}

@media (max-width: 1240px) {
  .header__nav {
    gap: 14px;
  }

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

  .header__phone {
    font-size: 16px;
  }

  .header__cta {
    font-size: 12px;
    padding: 10px 14px;
  }

  .header__actions {
    gap: 12px;
  }
}

/* Hamburger below 1200px */
@media (max-width: 1200px) {
  .header__burger {
    display: block;
    order: 3;
  }

  .header__inner {
    justify-content: space-between;
    min-height: 78px;
  }

  .header__nav,
  .header__actions {
    display: none;
  }

  .header__panel {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(340px, 86%);
    height: 100%;
    height: 100dvh;
    z-index: 210;
    background: var(--navy);
    padding: 34px 30px;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(100%);
    transition: transform 0.42s var(--ease);
    visibility: hidden;
    box-shadow: -18px 0 40px rgba(10, 24, 38, 0.35);
  }

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

  .header__panel .header__nav-link {
    color: #fff;
    font-size: 19px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

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

  .header__panel .header__nav-link:hover {
    color: var(--brass-lt);
  }

  .header__panel .header__phone {
    color: #fff;
    font-size: 22px;
  }

  .header__panel .header__phone:hover {
    color: var(--brass-lt);
  }

  .header__panel .header__phone svg {
    fill: var(--brass-lt);
  }

  .header__panel .btn {
    width: 100%;
    white-space: normal;
  }
}

/* ============================================================
   HERO — viewport height; cutout bottom-anchored
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  isolation: isolate;
  padding: clamp(24px, 4vw, 56px) 0 0;
  height: calc(100vh - var(--site-chrome-height));
  height: calc(100dvh - var(--site-chrome-height));
  height: calc(100svh - var(--site-chrome-height));
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("../assets/images/bg-hero.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.hero__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(
      100deg,
      var(--ink) 0%,
      rgba(10, 24, 38, 0.94) 34%,
      rgba(18, 43, 71, 0.62) 58%,
      rgba(27, 58, 92, 0.34) 100%
    ),
    radial-gradient(120% 90% at 8% 105%, rgba(186, 146, 87, 0.2), transparent 62%);
}

.hero__floor {
  position: absolute;
  left: -8%;
  right: 0;
  bottom: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(186, 146, 87, 0.55) 30%,
    rgba(186, 146, 87, 0.75)
  );
}

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

.hero__content {
  position: relative;
  z-index: 4;
  flex: 0 1 auto;
  width: min(100%, 640px);
  max-width: 52%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(16px, 3vw, 40px) clamp(12px, 2vw, 24px) clamp(16px, 3vw, 40px) 0;
  min-width: 0;
}

.hero__kick {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 22px;
  display: flex;
  align-items: center;
  gap: 13px;
}

.hero__kick::before {
  content: "";
  width: 38px;
  height: 1px;
  background: var(--brass);
}

.hero__title {
  font-family: var(--f-display);
  font-weight: 400;
  font-size: clamp(31px, 3.5vw, 53px);
  line-height: 1.13;
  letter-spacing: -0.02em;
  color: #fff;
  margin: 0 0 30px;
  text-wrap: balance;
}

.hero__title-line {
  display: block;
}

.hero__boxout {
  display: inline-block;
  position: relative;
  padding: 0.16em 0.52em 0.2em;
  margin-left: -0.1em;
  color: var(--brass-lt);
  font-style: italic;
  font-weight: 500;
}

.hero__boxout::before,
.hero__boxout::after {
  content: "";
  position: absolute;
  width: 38%;
  height: 100%;
  border: 1.5px solid var(--brass);
  pointer-events: none;
  transition:
    width 0.8s var(--ease),
    opacity 0.8s var(--ease);
}

.hero__boxout::before {
  top: 0;
  left: 0;
  border-right: 0;
  border-bottom: 0;
}

.hero__boxout::after {
  bottom: 0;
  right: 0;
  border-left: 0;
  border-top: 0;
}

.hero.is-in .hero__boxout::before,
.hero.is-in .hero__boxout::after {
  width: 26%;
}

.hero__actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero__cta {
  font-size: 20px;
  padding: 19px 40px;
}

.hero__tel {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.hero__tel-label {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.hero__tel-number {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.hero__tel:hover .hero__tel-number {
  color: var(--brass-lt);
}

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

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

@media (max-width: 1180px) {
  .hero__content {
    max-width: 50%;
  }

  .hero__visual {
    width: 50%;
  }
}

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

  .hero__inner {
    flex-direction: column;
    height: auto;
  }

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

  .hero__visual {
    position: relative;
    width: 100%;
    height: 330px;
    justify-content: center;
  }

  .hero__image {
    height: 100%;
    object-position: bottom center;
  }

  .hero__floor {
    left: 0;
  }
}

@media (max-width: 640px) {
  .hero__actions {
    gap: 18px;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__cta {
    font-size: 17px;
    padding: 16px 28px;
    width: 100%;
    white-space: normal;
  }
}

/* ============================================================
   ACCOLADES — strip below hero (not in viewport calc)
   ============================================================ */
.accolades {
  position: relative;
  background: var(--ink);
  overflow: hidden;
}

.accolades__bg {
  position: absolute;
  inset: 0;
  background-image: url("../assets/images/bg-accolades.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.5;
}

.accolades__tint {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 24, 38, 0.94),
    rgba(18, 43, 71, 0.8),
    rgba(10, 24, 38, 0.94)
  );
}

.accolades__inner {
  position: relative;
  z-index: 2;
  padding: 40px 0;
  display: flex;
  align-items: center;
  gap: 38px;
}

.accolades__label {
  flex: 0 0 auto;
  max-width: 186px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  line-height: 1.7;
  border-left: 2px solid var(--brass);
  padding-left: 16px;
  margin: 0;
}

.accolades__row {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  align-items: center;
}

.accolades__item {
  height: 84px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accolades__badge {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.94;
}

.accolades__badge--sq {
  max-height: 84px;
}

.accolades__badge--mid {
  max-height: 70px;
}

.accolades__badge--wide {
  max-height: 44px;
}

.accolades__badge--wide2 {
  max-height: 56px;
}

@media (max-width: 1080px) {
  .accolades__inner {
    flex-direction: column;
    gap: 26px;
    text-align: center;
  }

  .accolades__label {
    border-left: 0;
    border-top: 2px solid var(--brass);
    padding: 14px 0 0;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .accolades__row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }

  .accolades__item {
    height: 70px;
  }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  padding: 108px 0;
  background: var(--paper);
}

.about__inner {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 76px;
  align-items: center;
}

.about__figure {
  position: relative;
}

.about__image {
  width: 100%;
  aspect-ratio: 4 / 3.35;
  object-fit: cover;
  border-radius: 3px;
}

.about__figure::after {
  content: "";
  position: absolute;
  inset: 18px -18px -18px 18px;
  border: 1px solid var(--brass);
  z-index: -1;
  border-radius: 3px;
}

.about__stat {
  position: absolute;
  right: -14px;
  bottom: -14px;
  background: var(--navy);
  color: #fff;
  padding: 24px 30px;
  border-radius: 3px;
  box-shadow: 0 22px 44px -22px rgba(10, 24, 38, 0.7);
}

.about__stat-value {
  display: block;
  font-family: var(--f-display);
  font-size: 42px;
  font-weight: 600;
  line-height: 1;
  color: var(--brass-lt);
}

.about__stat-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.72);
  margin-top: 7px;
}

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

.about__sig {
  margin-top: 32px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}

.about__who {
  font-family: var(--f-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--navy);
}

.about__who small {
  display: block;
  font-family: var(--f-body);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--slate);
  margin-top: 4px;
}

@media (max-width: 980px) {
  .about {
    padding: 74px 0;
  }

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

  .about__figure::after {
    inset: 14px -14px -14px 14px;
  }
}

/* ============================================================
   PRACTICE AREAS
   ============================================================ */
.practice {
  padding: 104px 0;
  background: var(--cool);
}

.practice__header {
  max-width: 640px;
  margin-bottom: 52px;
}

.practice__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.card {
  background: var(--paper);
  border-radius: 3px;
  overflow: hidden;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  transition:
    transform 0.42s var(--ease),
    box-shadow 0.42s var(--ease),
    border-color 0.42s var(--ease);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 28px 52px -28px rgba(10, 24, 38, 0.42);
  border-color: rgba(186, 146, 87, 0.55);
}

.card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
  background: var(--navy);
}

.card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.card:hover .card__image {
  transform: scale(1.055);
}

.card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10, 24, 38, 0.06), rgba(10, 24, 38, 0.5));
}

.card__number {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 2;
  background: var(--brass);
  color: #14212f;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  padding: 8px 15px;
}

.card__body {
  padding: 30px 30px 34px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.card__title {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.24;
  margin: 0 0 12px;
  letter-spacing: -0.01em;
  color: var(--navy);
}

.card__text {
  color: var(--slate);
  font-size: 15.5px;
  font-weight: 300;
  margin: 0 0 22px;
  flex: 1;
}

.card__link {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 9px;
  align-self: flex-start;
}

.card__link svg {
  width: 15px;
  height: 8px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s var(--ease);
}

.card:hover .card__link svg {
  transform: translateX(5px);
}

@media (max-width: 980px) {
  .practice {
    padding: 74px 0;
  }

  .practice__grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

/* ============================================================
   CASE RESULTS
   ============================================================ */
.results {
  padding: 104px 0;
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}

.results::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(85% 120% at 100% 0%, rgba(186, 146, 87, 0.16), transparent 58%);
}

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

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

.results .section__title {
  color: #fff;
  margin: 0;
}

.results__note {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  font-weight: 300;
  max-width: 330px;
  margin: 0;
}

.results__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
}

.results__item {
  padding: 40px 30px 38px;
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  transition: background 0.4s var(--ease);
}

.results__item:last-child {
  border-right: 0;
}

.results__item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.results__amount {
  font-family: var(--f-display);
  font-size: clamp(32px, 3.1vw, 44px);
  font-weight: 600;
  line-height: 1;
  color: var(--brass-lt);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  margin: 0 0 14px;
}

.results__kind {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  margin: 0 0 24px;
}

.results__more {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--brass);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.results__more svg {
  width: 14px;
  height: 8px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.5;
  transition: transform 0.3s var(--ease);
}

.results__item:hover .results__more svg {
  transform: translateX(5px);
}

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

  .results__item:nth-child(2n) {
    border-right: 0;
  }
}

@media (max-width: 560px) {
  .results {
    padding: 74px 0;
  }

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

  .results__item {
    border-right: 0;
    padding: 32px 0 30px;
  }
}

/* ============================================================
   VALUES
   ============================================================ */
.values {
  padding: 104px 0;
  background: var(--paper);
}

.values__header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 56px;
}

.values__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
}

.values__item {
  background: var(--paper);
  padding: 44px 42px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: background 0.4s var(--ease);
}

.values__item:hover {
  background: var(--cool);
}

.values__icon {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid var(--brass);
  display: flex;
  align-items: center;
  justify-content: center;
}

.values__icon svg {
  width: 21px;
  height: 21px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.4;
}

.values__item-title {
  font-family: var(--f-display);
  font-weight: 500;
  font-size: 20.5px;
  line-height: 1.42;
  margin: 0;
  color: var(--navy);
  letter-spacing: -0.005em;
}

@media (max-width: 860px) {
  .values {
    padding: 74px 0;
  }

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

  .values__item {
    padding: 34px 26px;
  }
}

/* ============================================================
   TESTIMONIAL
   ============================================================ */
.testimonial {
  padding: 104px 0;
  background: var(--cool);
  position: relative;
  overflow: hidden;
}

.testimonial__inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  z-index: 2;
}

.testimonial__stars {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin: 0 0 26px;
}

.testimonial__stars svg {
  width: 17px;
  height: 17px;
  fill: var(--brass);
}

.testimonial__quote {
  margin: 0 0 34px;
  font-family: var(--f-display);
  font-size: clamp(19px, 1.9vw, 27px);
  line-height: 1.62;
  font-weight: 300;
  color: var(--navy);
  letter-spacing: -0.008em;
}

.testimonial__by {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0;
}

@media (max-width: 560px) {
  .testimonial {
    padding: 74px 0;
  }
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  padding: 104px 0;
  background: var(--paper);
}

.contact__inner {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 76px;
  align-items: start;
}

.contact__side .section__title {
  margin-bottom: 20px;
}

.contact__meta {
  margin-top: 34px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact__row {
  display: flex;
  gap: 17px;
  align-items: flex-start;
}

.contact__icon {
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--cool);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact__icon svg {
  width: 18px;
  height: 18px;
  stroke: var(--brass);
  fill: none;
  stroke-width: 1.5;
}

.contact__label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 3px;
}

.contact__value {
  font-family: var(--f-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin: 0;
  line-height: 1.5;
}

.form {
  background: var(--cool);
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 44px;
}

.form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form__field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

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

.form__field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--slate);
}

.form__field input,
.form__field select,
.form__field textarea {
  font-family: var(--f-body);
  font-size: 15.5px;
  color: var(--navy);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0 15px;
  height: 40px;
  width: 100%;
  transition:
    border-color 0.25s var(--ease),
    box-shadow 0.25s var(--ease);
}

.form__field textarea {
  height: 120px;
  padding: 12px 15px;
  resize: vertical;
  line-height: 1.6;
}

.form__field select {
  appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A6A7D' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 11px;
  padding-right: 38px;
}

.form__field input:focus,
.form__field select:focus,
.form__field textarea:focus {
  outline: 0;
  border-color: var(--brass);
  box-shadow: 0 0 0 3px rgba(186, 146, 87, 0.16);
}

.form .btn {
  width: 100%;
  margin-top: 6px;
}

.form__fine {
  font-size: 12.5px;
  color: var(--slate);
  font-weight: 300;
  margin: 16px 0 0;
  text-align: center;
  line-height: 1.6;
}

@media (max-width: 980px) {
  .contact {
    padding: 74px 0;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 52px;
  }

  .form {
    padding: 30px;
  }

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

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.66);
  padding: 74px 0 0;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.8fr 1fr;
  gap: 52px;
  padding-bottom: 56px;
}

.footer__brand svg {
  width: 230px;
  height: auto;
  margin-bottom: 22px;
  max-width: none;
}

.footer__brand p {
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  margin: 0;
}

.footer__heading {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--brass);
  margin: 0 0 20px;
}

.footer__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer__list a {
  font-size: 14.5px;
  font-weight: 300;
  transition: color 0.25s var(--ease);
}

.footer__list a:hover {
  color: var(--brass-lt);
}

.footer__address {
  font-style: normal;
  font-size: 14.5px;
  font-weight: 300;
  line-height: 1.8;
  margin: 0 0 18px;
  white-space: pre-line;
}

.footer__phone {
  font-family: var(--f-display);
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  display: block;
}

.footer__phone:hover {
  color: var(--brass-lt);
}

.footer__bar {
  border-top: 1px solid rgba(255, 255, 255, 0.11);
  padding: 26px 0;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 12.5px;
  font-weight: 300;
}

.footer__bar a:hover {
  color: var(--brass-lt);
}

@media (max-width: 980px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 560px) {
  .footer__grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

.reveal--delay-1 {
  transition-delay: 0.09s;
}

.reveal--delay-2 {
  transition-delay: 0.18s;
}

.reveal--delay-3 {
  transition-delay: 0.27s;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }

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