/* ═══════════════════════════════════════════════════════════════════════════
   MD Administração Judicial — Design System
   Inspired by Kirkland & Ellis, Baker McKenzie design language
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Tokens ───────────────────────────────────────────────────────────────── */
:root {
  /* Color palette */
  --navy:           #0B1628;
  --navy-light:     #152035;
  --navy-mid:       #1E3050;
  --gold:           #B59B6A;
  --gold-hover:     #9E8455;
  --gold-light:     #D4B896;
  --gold-subtle:    rgba(181, 155, 106, 0.08);
  --white:          #FFFFFF;
  --off-white:      #F8F6F1;
  --gray-50:        #FAF9F7;
  --gray-100:       #F2F0EB;
  --gray-200:       #E5E2DB;
  --gray-300:       #CCCAC3;
  --gray-500:       #8C8880;
  --gray-700:       #4A4844;
  --gray-900:       #1C1A18;

  /* Type */
  --serif:  'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans:   'Inter', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout */
  --max-w:  1200px;
  --pad-x:  40px;
  --nav-h:  92px;

  /* Motion */
  --ease:   cubic-bezier(0.4, 0, 0.2, 1);
  --dur:    240ms;
}

/* ── Reset ────────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--sans);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { font-family: inherit; }

/* ── Typography helpers ───────────────────────────────────────────────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.section-label::before {
  content: '';
  display: block;
  width: 20px;
  height: 1px;
  background: var(--gold);
  flex-shrink: 0;
}
.section-label--center { display: flex; justify-content: center; }
.section-label--center::before { display: none; }
.section-label--light { color: var(--gold-light); }
.section-label--light::before { background: var(--gold-light); }

.section-title {
  font-family: var(--serif);
  font-size: clamp(28px, 3.8vw, 46px);
  font-weight: 600;
  line-height: 1.18;
  color: var(--navy);
  letter-spacing: -0.022em;
}

/* ── Buttons ──────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 34px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid transparent;
  transition: background var(--dur) var(--ease), border-color var(--dur) var(--ease), color var(--dur) var(--ease), transform var(--dur) var(--ease);
  white-space: nowrap;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }

.btn--primary {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn--primary:hover { background: var(--navy-mid); border-color: var(--navy-mid); }

.btn--gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn--gold:hover { background: var(--gold-hover); border-color: var(--gold-hover); }

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.35);
}
.btn--ghost:hover { border-color: rgba(255,255,255,0.75); background: rgba(255,255,255,0.07); }

.btn--submit { width: 100%; margin-top: 8px; }

/* ── Navigation ───────────────────────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  background: var(--white);
  border-bottom: 1px solid transparent;
  transition: border-color 320ms var(--ease), box-shadow 320ms var(--ease);
}
.nav.is-scrolled {
  border-color: var(--gray-200);
  box-shadow: 0 2px 24px rgba(0,0,0,0.07);
}

.nav__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.nav__logo img {
  display: block;
  height: 54px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--gray-700);
  padding: 8px 14px;
  transition: color var(--dur);
}
.nav__link:hover { color: var(--navy); }

.nav__cta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--navy);
  padding: 10px 22px;
  margin-left: 10px;
  transition: background var(--dur);
}
.nav__cta:hover { background: var(--gold); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--navy);
  transition: opacity var(--dur), transform var(--dur);
}
.nav__toggle.is-open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav__toggle.is-open span:nth-child(2) { opacity: 0; }
.nav__toggle.is-open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── Hero ─────────────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--nav-h);
}

.hero__grid-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181,155,106,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,155,106,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}
.hero__grid-pattern::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at 20% 60%, rgba(181,155,106,0.06) 0%, transparent 70%);
}

.hero__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 100px var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 80px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero__eyebrow {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(42px, 5.8vw, 70px);
  font-weight: 500;
  line-height: 1.08;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.025em;
}
.hero__title em {
  font-style: italic;
  color: var(--gold);
}

.hero__subtitle {
  font-size: 16px;
  line-height: 1.75;
  color: rgba(255,255,255,0.55);
  margin-bottom: 48px;
  max-width: 500px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero__ornament {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__ornament svg,
.hero__ornament img {
  width: 100%;
  max-width: 360px;
  height: auto;
  animation: ornamentFloat 8s ease-in-out infinite;
}

@keyframes ornamentFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.hero__scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  z-index: 1;
}
.hero__scroll-line {
  width: 1px;
  height: 44px;
  background: linear-gradient(to bottom, rgba(181,155,106,0.7), transparent);
  animation: lineScroll 2.2s ease-in-out infinite;
}
@keyframes lineScroll {
  0% { transform: scaleY(0); transform-origin: top; opacity: 1; }
  48% { transform: scaleY(1); transform-origin: top; opacity: 1; }
  50% { transform: scaleY(1); transform-origin: bottom; opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
.hero__scroll span {
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  writing-mode: horizontal-tb;
}

/* ── Stats Bar ────────────────────────────────────────────────────────────── */
.stats-bar {
  background: var(--off-white);
  border-bottom: 1px solid var(--gray-200);
}

.stats-bar__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  align-items: stretch;
}

.stats-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 32px;
  gap: 10px;
}

.stats-bar__num {
  font-family: var(--serif);
  font-size: 56px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.04em;
}
.stats-bar__num small {
  font-size: 28px;
}

.stats-bar__label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-500);
  line-height: 1.5;
}

.stats-bar__divider {
  width: 1px;
  background: var(--gray-200);
  margin: 20px 0;
  flex-shrink: 0;
}

/* ── About ────────────────────────────────────────────────────────────────── */
.about {
  padding: 128px 0;
}
.about__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 100px;
  align-items: start;
}

.about__lead {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--navy);
  margin: 20px 0 16px;
}
.about__lead strong { font-weight: 600; }

.about__text {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 14px;
}

.about__values {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px 32px;
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.about__value {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.about__value-icon {
  width: 36px;
  height: 36px;
  border: 1px solid rgba(181,155,106,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}
.about__value strong {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 4px;
}
.about__value p {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.55;
}

.about__visual {
  position: sticky;
  top: 94px;
}
.about__card {
  background: var(--navy);
  padding: 44px 40px;
  position: relative;
}
.about__card::before {
  content: '';
  position: absolute;
  inset: 16px;
  border: 1px solid rgba(181,155,106,0.18);
  pointer-events: none;
}
.about__card-tag {
  display: block;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 36px;
}
.about__card-block {
  padding: 22px 0;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.about__card-block:last-child { border-bottom: 1px solid rgba(255,255,255,0.07); }
.about__card-label {
  display: block;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.3);
  margin-bottom: 8px;
  font-weight: 500;
}
.about__card-block p {
  font-family: var(--serif);
  font-size: 18px;
  color: var(--white);
  line-height: 1.45;
}

/* ── Services ─────────────────────────────────────────────────────────────── */
.services {
  padding: 128px 0;
  background: var(--gray-50);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.services__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.services__header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: end;
  margin-bottom: 64px;
}
.services__intro {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  padding-bottom: 8px;
}

.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--white);
  padding: 52px 44px;
  position: relative;
  border-top: 3px solid transparent;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}
.service-card:hover {
  border-top-color: var(--gold);
  box-shadow: 0 20px 64px rgba(0,0,0,0.09);
  transform: translateY(-3px);
  z-index: 2;
}

.service-card__head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 24px;
}
.service-card__num {
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 700;
  color: var(--gray-100);
  line-height: 0.85;
  letter-spacing: -0.04em;
  user-select: none;
}
.service-card__icon {
  color: var(--gold);
  flex-shrink: 0;
}

.service-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.service-card__text {
  font-size: 14px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-bottom: 24px;
}

.service-card__list {
  border-top: 1px solid var(--gray-100);
  padding-top: 20px;
}
.service-card__list li {
  font-size: 13px;
  color: var(--gray-700);
  padding: 5px 0 5px 18px;
  position: relative;
  line-height: 1.45;
}
.service-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 1px;
  background: var(--gold);
}

/* ── Team ─────────────────────────────────────────────────────────────────── */
.team {
  padding: 128px 0;
  background: var(--white);
}
.team__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.team__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 68px;
}
.team__subtitle {
  font-size: 15px;
  color: var(--gray-500);
  line-height: 1.75;
  margin-top: 18px;
}

.team__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.team-card {
  background: var(--gray-50);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  overflow: hidden;
}
.team-card:hover {
  background: var(--white);
  box-shadow: 0 10px 48px rgba(0,0,0,0.1);
  z-index: 2;
}

.team-card__photo {
  width: 100%;
  aspect-ratio: 5/4;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.team-card__photo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255,255,255,0.015),
    rgba(255,255,255,0.015) 1px,
    transparent 1px,
    transparent 10px
  );
}
.team-card__photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(181,155,106,0.08) 0%, transparent 55%);
}

.team-card__photo-inner {
  position: relative;
  z-index: 1;
  opacity: 0.4;
}

.team-card__photo-img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.team-card__info {
  padding: 24px 22px 28px;
}

.team-card__name {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 7px;
  letter-spacing: -0.01em;
}

.team-card__role {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  line-height: 1.4;
}

.team-card__creds {
  padding: 0;
}
.team-card__creds li {
  font-size: 12px;
  color: var(--gray-500);
  padding: 3.5px 0 3.5px 14px;
  position: relative;
  line-height: 1.4;
}
.team-card__creds li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 1px;
  background: var(--gray-300);
}

/* ── CTA Panel ────────────────────────────────────────────────────────────── */
.cta-panel {
  background: var(--navy-light);
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.cta-panel__pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(181,155,106,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(181,155,106,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-panel__pattern::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 80% at 50% 50%, rgba(181,155,106,0.05) 0%, transparent 65%);
}

.cta-panel__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
  display: flex;
  justify-content: center;
}

.cta-panel__content {
  text-align: center;
  max-width: 580px;
  position: relative;
}

.cta-panel__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
  color: var(--white);
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.022em;
}

.cta-panel__text {
  font-size: 15px;
  color: rgba(255,255,255,0.5);
  line-height: 1.75;
  margin-bottom: 44px;
}

/* ── Contact ──────────────────────────────────────────────────────────────── */
.contact {
  padding: 128px 0;
}
.contact__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.contact__header {
  margin-bottom: 64px;
}

.contact__grid {
  display: grid;
  grid-template-columns: 360px 1fr;
  gap: 80px;
  align-items: start;
}

.contact__item {
  display: flex;
  gap: 18px;
  padding: 24px 0;
  border-bottom: 1px solid var(--gray-100);
}
.contact__item:first-child { border-top: 1px solid var(--gray-100); }

.contact__item-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 1px;
}

.contact__item strong {
  display: block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-500);
  margin-bottom: 7px;
}
.contact__item p, .contact__item a {
  font-size: 14px;
  color: var(--gray-700);
  line-height: 1.65;
}
.contact__item a {
  transition: color var(--dur);
}
.contact__item a:hover { color: var(--gold); }

/* Form */
.contact__form-wrap {
  background: var(--gray-50);
  padding: 48px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}
.form-group:last-child { margin-bottom: 0; }

.form-group label {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  padding: 13px 16px;
  font-size: 14px;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-200);
  outline: none;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
  -webkit-appearance: none;
  border-radius: 0;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,22,40,0.07);
}
.form-group textarea { resize: vertical; min-height: 120px; }

.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  padding: 13px 40px 13px 16px;
  font-size: 14px;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-200);
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  cursor: pointer;
  border-radius: 0;
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.select-wrap select:focus {
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(11,22,40,0.07);
}
.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-500);
  pointer-events: none;
}

/* ── Footer ───────────────────────────────────────────────────────────────── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.45);
}
.footer__container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--pad-x);
}

.footer__top {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 80px;
  padding: 72px 0 52px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
}
.footer__logo-mark {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  letter-spacing: -0.02em;
}
.footer__logo-text {
  display: flex;
  flex-direction: column;
  border-left: 1px solid rgba(255,255,255,0.12);
  padding-left: 12px;
  gap: 2px;
}
.footer__logo-text span:first-child {
  font-size: 12px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.02em;
  line-height: 1.2;
}
.footer__logo-text span:last-child {
  font-size: 10.5px;
  color: rgba(255,255,255,0.35);
  letter-spacing: 0.03em;
  line-height: 1.2;
}

.footer__brand-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  line-height: 1.7;
  margin-bottom: 16px;
}
.footer__cnpj {
  font-size: 11px;
  color: rgba(255,255,255,0.22);
  letter-spacing: 0.04em;
  font-weight: 500;
}

.footer__nav {
  display: flex;
  gap: 60px;
  justify-content: flex-end;
}
.footer__col h4 {
  font-size: 10.5px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 20px;
}
.footer__col ul li {
  margin-bottom: 11px;
}
.footer__col ul li a {
  font-size: 13px;
  color: rgba(255,255,255,0.38);
  transition: color var(--dur);
  text-decoration: none;
}
.footer__col ul li a:hover { color: var(--gold); }

.footer__bottom {
  padding: 28px 0;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.footer__bottom p {
  font-size: 11px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.02em;
}
.footer__copy { margin-top: 10px; }

/* ── Animations ───────────────────────────────────────────────────────────── */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.fade-in.is-visible {
  opacity: 1;
  transform: none;
}
.fade-in--d1 { transition-delay: 120ms; }
.fade-in--d2 { transition-delay: 240ms; }
.fade-in--d3 { transition-delay: 360ms; }

/* ── Toast ────────────────────────────────────────────────────────────────── */
.toast {
  position: fixed;
  bottom: 32px;
  right: 32px;
  background: var(--navy);
  color: var(--white);
  padding: 16px 24px;
  font-size: 13.5px;
  font-weight: 500;
  border-left: 3px solid var(--gold);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
  z-index: 1000;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 320ms var(--ease), transform 320ms var(--ease);
  max-width: 320px;
}
.toast.is-visible {
  opacity: 1;
  transform: none;
}

/* ── Responsive ───────────────────────────────────────────────────────────── */
@media (max-width: 1100px) {
  :root { --pad-x: 32px; }
  .hero__container { grid-template-columns: 1fr; padding: 80px 32px; }
  .hero__ornament { display: none; }
  .about__container { grid-template-columns: 1fr; }
  .about__visual { position: static; }
  .team__grid { grid-template-columns: repeat(3, 1fr); }
  .footer__nav { gap: 40px; }
}

@media (max-width: 900px) {
  :root { --pad-x: 24px; }
  .services__header { grid-template-columns: 1fr; gap: 16px; }
  .contact__grid { grid-template-columns: 1fr; }
  .contact__form-wrap { padding: 32px; }
  .footer__top { grid-template-columns: 1fr; gap: 40px; }
  .footer__nav { justify-content: flex-start; }
  .team__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav__links {
    display: none;
    position: fixed;
    inset: var(--nav-h) 0 0 0;
    background: var(--white);
    flex-direction: column;
    padding: 28px 24px;
    gap: 2px;
    border-top: 1px solid var(--gray-200);
    overflow-y: auto;
  }
  .nav__links.is-open { display: flex; }
  .nav__toggle { display: flex; }
  .nav__link { padding: 13px 16px; font-size: 13.5px; }
  .nav__cta { margin: 8px 0; padding: 14px 16px; text-align: center; }

  .stats-bar__container { flex-wrap: wrap; }
  .stats-bar__item { flex: 1 1 50%; padding: 32px 20px; }
  .stats-bar__divider { display: none; }

  .about__values { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer__nav { flex-direction: column; gap: 32px; }
  .hero__scroll { display: none; }
}

@media (max-width: 540px) {
  .team__grid { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .btn { width: 100%; }
  .stats-bar__item { flex: 1 1 100%; }
  .stats-bar__divider { display: none; }
  .contact__form-wrap { padding: 24px; }
}

/* ── Language switcher ────────────────────────────────────────────────────── */
.lang-switch { position: relative; margin-left: 6px; }
.lang-switch__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.03em;
  color: var(--gray-700);
  background: none;
  border: 1px solid var(--gray-200);
  cursor: pointer;
  transition: color var(--dur), border-color var(--dur);
  white-space: nowrap;
}
.lang-switch__btn:hover { color: var(--navy); border-color: var(--gray-300); }
.lang-switch__flag { font-size: 14px; line-height: 1; }
.lang-switch__menu {
  display: none;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 100%;
  margin: 0;
  padding: 4px 0;
  list-style: none;
  background: var(--white);
  border: 1px solid var(--gray-200);
  box-shadow: 0 8px 28px rgba(0,0,0,0.09);
  z-index: 300;
}
.lang-switch.is-open .lang-switch__menu { display: block; }
.lang-switch__menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  font-size: 12px;
  color: var(--gray-700);
  white-space: nowrap;
}
.lang-switch__menu a:hover { color: var(--navy); background: var(--gray-50); }

@media (max-width: 768px) {
  .lang-switch { margin: 8px 0 0; }
  .lang-switch__btn { width: 100%; justify-content: flex-start; }
  .lang-switch__menu {
    position: static;
    display: block;
    border: none;
    box-shadow: none;
    padding: 0;
  }
  .lang-switch__menu a { padding: 10px 12px; }
}
