* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg: #f5f2eb;
  --surface: #ffffff;
  --dark: #151917;
  --dark-soft: #202622;
  --text: #1b201d;
  --muted: #69706b;
  --accent: #a88752;
  --line: rgba(27, 32, 29, 0.12);
  --max: 1220px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

.container {
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
}

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 242, 235, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.header__inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.logo__mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  color: white;
  background: var(--dark);
  font-family: "Playfair Display", serif;
  font-size: 21px;
}

.nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
}

.nav a {
  font-size: 14px;
  color: #424943;
  transition: 0.2s ease;
}

.nav a:hover {
  color: var(--accent);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.languages {
  display: flex;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
}

.languages a {
  color: #8b918d;
}

.languages a.active,
.languages a:hover {
  color: var(--text);
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid var(--dark);
  background: var(--dark);
  color: white;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s ease;
}

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

.btn--small {
  min-height: 42px;
  padding: 0 18px;
}

.btn--ghost {
  color: var(--dark);
  background: transparent;
}

.btn--ghost:hover {
  color: white;
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
}

.hero {
  min-height: 720px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  align-items: stretch;
}

.hero__content {
  padding: 100px 70px 90px 0;
}

.eyebrow {
  margin-bottom: 18px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1, h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 600;
  line-height: 1.1;
}

h1 {
  max-width: 760px;
  font-size: clamp(48px, 6vw, 78px);
}

.hero__text {
  max-width: 650px;
  margin-top: 28px;
  color: var(--muted);
  font-size: 17px;
}

.hero__buttons {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.hero__stats {
  display: flex;
  gap: 52px;
  margin-top: 70px;
}

.hero__stats div {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-family: "Playfair Display", serif;
  font-size: 30px;
}

.hero__stats span {
  color: var(--muted);
  font-size: 12px;
}

.hero__visual {
  min-height: 620px;
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(rgba(18, 23, 20, 0.28), rgba(18, 23, 20, 0.28)),
    url("https://images.unsplash.com/photo-1450101499163-c8848c66ca85?auto=format&fit=crop&w=1200&q=85")
    center/cover no-repeat;
}

.hero__panel {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 66%;
  padding: 28px 32px;
  color: white;
  background: rgba(21, 25, 23, 0.92);
}

.hero__panel p {
  font-family: "Playfair Display", serif;
  font-size: 22px;
}

.hero__line {
  width: 46px;
  height: 1px;
  display: block;
  margin-bottom: 15px;
  background: var(--accent);
}

.section {
  padding: 110px 0;
}

.section-heading {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: end;
  margin-bottom: 55px;
}

.section-heading h2,
.about h2,
.consultation h2 {
  font-size: clamp(38px, 5vw, 58px);
}

.section-heading p {
  color: var(--muted);
  max-width: 580px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}

.card {
  min-height: 300px;
  padding: 32px;
  background: rgba(255,255,255,0.32);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  transition: 0.25s ease;
}

.card:hover {
  background: var(--surface);
  transform: translateY(-3px);
}

.card__number {
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
}

.card h3 {
  margin-top: 56px;
  font-family: "Playfair Display", serif;
  font-size: 25px;
}

.card p {
  margin-top: 15px;
  color: var(--muted);
  font-size: 14px;
}

.card a {
  display: inline-block;
  margin-top: 24px;
  font-size: 13px;
  font-weight: 700;
}

.section--dark {
  background: var(--dark);
  color: white;
}

.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.eyebrow--light {
  color: #d0b685;
}

.about__text {
  color: #c3c8c5;
  font-size: 18px;
}

.about__text p + p {
  margin-top: 20px;
}

.text-link {
  display: inline-block;
  margin-top: 32px;
  color: #d0b685;
  font-weight: 600;
}

.consultation__box {
  padding: 58px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  background: var(--surface);
  border: 1px solid var(--line);
}

.consultation p {
  margin-top: 16px;
  color: var(--muted);
}

.form {
  display: grid;
  gap: 12px;
  align-content: center;
}

.form input {
  height: 52px;
  padding: 0 16px;
  border: 1px solid var(--line);
  background: #faf9f6;
  font: inherit;
  outline: none;
}

.form input:focus {
  border-color: var(--accent);
}

.footer {
  padding: 70px 0 20px;
  color: #d6dad7;
  background: #0e1210;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 50px;
}

.logo--footer {
  color: white;
}

.footer p {
  max-width: 380px;
  margin-top: 18px;
  color: #858c87;
}

.footer__grid > div {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer strong {
  margin-bottom: 7px;
  color: white;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  margin-top: 55px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: #6d756f;
  font-size: 12px;
}

@media (max-width: 980px) {
  .nav,
  .header__actions .btn {
    display: none;
  }

  .header__inner {
    justify-content: space-between;
  }

  .header__actions {
    margin-left: auto;
  }

  .menu-toggle {
    display: flex;
    width: 34px;
    flex-direction: column;
    gap: 6px;
  }

  .menu-toggle span {
    height: 2px;
    background: var(--dark);
  }

  .nav.is-open {
    position: absolute;
    top: 82px;
    left: 0;
    right: 0;
    display: flex;
    padding: 25px 20px;
    flex-direction: column;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
  }

  .hero__grid,
  .section-heading,
  .about__grid,
  .consultation__box {
    grid-template-columns: 1fr;
  }

  .hero__content {
    padding-right: 0;
  }

  .hero__visual {
    min-height: 480px;
  }

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

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 28px), var(--max));
  }

  .languages {
    display: none;
  }

  .hero {
    min-height: auto;
  }

  .hero__content {
    padding: 72px 0 58px;
  }

  h1 {
    font-size: 45px;
  }

  .hero__buttons {
    flex-direction: column;
  }

  .hero__stats {
    gap: 22px;
    justify-content: space-between;
  }

  .hero__stats strong {
    font-size: 24px;
  }

  .hero__visual {
    min-height: 350px;
  }

  .section {
    padding: 78px 0;
  }

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

  .section-heading {
    gap: 25px;
  }

  .consultation__box {
    padding: 30px 22px;
    gap: 35px;
  }

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

  .footer__bottom {
    gap: 10px;
    flex-direction: column;
  }
}


.form textarea {
  min-height: 120px;
  padding: 14px 16px;
  resize: vertical;
  border: 1px solid var(--line);
  background: #faf9f6;
  font: inherit;
  outline: none;
}

.form textarea:focus {
  border-color: var(--accent);
}

.form__status {
  min-height: 24px;
  margin-top: 0 !important;
  font-size: 13px;
}

.form__status.is-success {
  color: #397348;
}

.form__status.is-error {
  color: #a33b33;
}

.form__honeypot {
  position: absolute !important;
  left: -9999px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}


/* Service cards with SEO copy and local illustrations */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  border: 0;
}

.card {
  min-height: 100%;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 45px rgba(18, 23, 20, .08);
}

.card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #ebe6dc;
  border-bottom: 1px solid var(--line);
}

.card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}

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

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

.card__body .card__number {
  margin-bottom: 24px;
}

.card__body h3 {
  margin-top: 0;
  font-size: 25px;
}

.card__body p {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.72;
}

.card__body a {
  margin-top: auto;
  padding-top: 24px;
}

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

@media (max-width: 640px) {
  .cards {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}


/* Individual service pages */
.service-hero {
  padding: 74px 0 72px;
  border-bottom: 1px solid var(--line);
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
  color: var(--muted);
  font-size: 13px;
}
.breadcrumbs a:hover { color: var(--accent); }
.service-hero__grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 72px;
  align-items: center;
}
.service-hero h1 {
  font-size: clamp(44px, 6vw, 72px);
}
.service-hero__lead {
  max-width: 690px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 18px;
}
.service-hero__image {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #ebe6dc;
}
.service-hero__image img {
  width: 100%;
  display: block;
}
.service-content {
  display: grid;
  grid-template-columns: 1fr .42fr;
  gap: 80px;
  align-items: start;
}
.service-content h2,
.related-services h2 {
  font-size: clamp(34px, 4vw, 48px);
}
.service-list {
  display: grid;
  gap: 0;
  margin-top: 34px;
  border-top: 1px solid var(--line);
}
.service-list li {
  list-style: none;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
}
.service-list li::before {
  content: "—";
  margin-right: 12px;
  color: var(--accent);
}
.service-sidebar {
  position: sticky;
  top: 110px;
  padding: 30px;
  background: var(--dark);
  color: white;
}
.service-sidebar p {
  margin: 14px 0 24px;
  color: #c3c8c5;
  font-size: 14px;
}
.related-services {
  padding-top: 0;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 34px;
}
.related-card {
  padding: 24px;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  background: white;
  border: 1px solid var(--line);
}
.related-card span {
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
}
.related-card strong {
  margin-top: 18px;
  font-family: "Playfair Display", serif;
  font-size: 21px;
}
.related-card em {
  margin-top: auto;
  padding-top: 18px;
  color: var(--muted);
  font-style: normal;
  font-size: 12px;
}
@media (max-width: 900px) {
  .service-hero__grid,
  .service-content {
    grid-template-columns: 1fr;
  }
  .service-sidebar { position: static; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .related-grid { grid-template-columns: 1fr; }
}


/* SEO text sections on service pages */
.seo-copy {
  padding-top: 30px;
}
.seo-copy__inner {
  max-width: 1000px;
}
.seo-copy__section {
  display: grid;
  grid-template-columns: .7fr 1.3fr;
  gap: 70px;
  padding: 44px 0;
  border-top: 1px solid var(--line);
}
.seo-copy__section:last-of-type {
  border-bottom: 1px solid var(--line);
}
.seo-copy__section h2 {
  font-size: clamp(29px, 3.5vw, 40px);
}
.seo-copy__section p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}
.seo-copy__cta {
  margin-top: 42px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: .65fr 1.3fr auto;
  gap: 28px;
  align-items: center;
  background: #ebe6dc;
}
.seo-copy__cta strong {
  font-family: "Playfair Display", serif;
  font-size: 22px;
}
.seo-copy__cta span {
  color: var(--muted);
  font-size: 14px;
}
.seo-copy__cta .text-link {
  margin-top: 0;
  white-space: nowrap;
}
@media (max-width: 760px) {
  .seo-copy__section,
  .seo-copy__cta {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Realistic service photography: preserves the existing site design */
.card__image img,
.service-hero__image img {
  object-fit: cover;
  object-position: center;
}

.service-hero__image {
  aspect-ratio: 16 / 10;
}

.service-hero__image img {
  height: 100%;
}

/* =========================================================
   АГЕНЦІЯ МІЖНАРОДНОГО ПРАВА — brand system
   ========================================================= */
:root {
  --brand-navy: #071321;
  --brand-navy-2: #0b1928;
  --brand-gold: #d8a94e;
  --brand-gold-light: #efcf85;
}

.header {
  background: rgba(7, 19, 33, .985);
  border-bottom: 1px solid rgba(216, 169, 78, .25);
  backdrop-filter: blur(15px);
}

.header__inner {
  min-height: 108px;
  gap: 28px;
}

.logo {
  color: var(--brand-gold-light);
  letter-spacing: 0;
  font-weight: 400;
  max-width: 410px;
  flex-shrink: 0;
}

.logo__mark {
  display: none !important;
}

.brand-lockup {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-mark {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  object-fit: contain;
}

.brand-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.brand-name {
  display: flex;
  flex-direction: column;
  color: var(--brand-gold-light);
  font-family: "Playfair Display", Georgia, serif;
  font-size: 19px;
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: .055em;
}

.brand-tagline {
  margin-top: 7px;
  color: var(--brand-gold);
  font-family: Georgia, serif;
  font-size: 8.5px;
  font-weight: 600;
  letter-spacing: .12em;
  white-space: nowrap;
}

.header .nav {
  gap: 23px;
}

.header .nav a {
  color: #f0eee8;
  font-family: Georgia, serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: .02em;
}

.header .nav a:hover {
  color: var(--brand-gold-light);
}

.header .languages {
  color: rgba(255,255,255,.42);
}

.header .languages a {
  color: #e8e5df;
}

.header .languages a.active {
  padding: 7px 9px;
  color: var(--brand-gold-light);
  border: 1px solid var(--brand-gold);
  text-decoration: none;
}

.header .btn--small {
  color: var(--brand-navy);
  background: var(--brand-gold);
  border-color: var(--brand-gold);
}

.header .btn--small:hover {
  color: var(--brand-navy);
  background: var(--brand-gold-light);
  border-color: var(--brand-gold-light);
}

.footer .brand-name {
  font-size: 17px;
}

.footer .brand-tagline {
  font-size: 8px;
}

.footer .brand-mark {
  width: 66px;
  height: 66px;
  flex-basis: 66px;
}

/* Gold visual accent consistent with the approved concept */
.eyebrow,
.card__number,
.text-link,
.related-card span {
  color: #b8842f;
}

.hero__line {
  background: var(--brand-gold);
}

.card a,
.related-card em {
  color: #8f6728;
}

@media (max-width: 1180px) {
  .brand-name { font-size: 16px; }
  .brand-tagline { font-size: 7.5px; letter-spacing: .08em; }
  .brand-mark { width: 64px; height: 64px; flex-basis: 64px; }
  .header .nav { gap: 15px; }
  .header .nav a { font-size: 11px; }
}

@media (max-width: 980px) {
  .header__inner {
    min-height: 92px;
  }
  .logo {
    max-width: 330px;
  }
  .brand-mark {
    width: 60px;
    height: 60px;
    flex-basis: 60px;
  }
  .brand-name {
    font-size: 15px;
  }
  .brand-tagline {
    font-size: 7px;
  }
  .menu-toggle span {
    background: var(--brand-gold-light);
  }
  .nav.is-open {
    top: 92px;
    background: var(--brand-navy);
    border-bottom-color: rgba(216,169,78,.25);
  }
}

@media (max-width: 640px) {
  .header__inner {
    min-height: 80px;
  }
  .logo {
    max-width: calc(100% - 52px);
  }
  .brand-lockup {
    gap: 8px;
  }
  .brand-mark {
    width: 50px;
    height: 50px;
    flex-basis: 50px;
  }
  .brand-name {
    font-size: 12px;
    line-height: 1.08;
  }
  .brand-tagline {
    margin-top: 4px;
    font-size: 5.4px;
    letter-spacing: .055em;
  }
}

/* Approved globe + scales logo from the selected branding concept */
.brand-mark {
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(216,169,78,.12));
}
html[lang="en"] .brand-name {
  letter-spacing: .07em;
}
html[lang="en"] .brand-tagline {
  letter-spacing: .1em;
}

.inner-hero{padding:78px 0 84px;background:var(--brand-navy);color:#fff}.inner-hero h1{max-width:970px;margin-top:14px;color:#fff;font-size:clamp(46px,6vw,76px)}.inner-hero>.container>p{max-width:790px;margin-top:24px;color:rgba(255,255,255,.7);font-size:18px;line-height:1.8}.editorial-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:90px}.editorial-grid h2,.section-title,.page-cta h2{font-size:clamp(34px,4vw,50px)}.editorial-copy p{margin-bottom:22px;color:var(--muted);font-size:16px;line-height:1.9}.section--dark .editorial-copy p{color:#c3c8c5}.section--soft{background:#ebe6dc}.values-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1px;margin-top:38px;background:var(--line)}.value-card{min-height:250px;padding:30px;background:#fff}.value-card>span,.team-role{color:#b8842f}.value-card h3{margin-top:40px;font-family:"Playfair Display",serif;font-size:24px}.value-card p,.team-card p{margin-top:14px;color:var(--muted);font-size:14px;line-height:1.7}.page-cta{display:flex;justify-content:space-between;align-items:center;padding:46px 52px;background:#ebe6dc}.team-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.team-card{display:grid;grid-template-columns:210px 1fr;min-height:310px;border:1px solid var(--line);background:#fff}.team-photo-placeholder{position:relative;background:linear-gradient(145deg,#0b1928,#172b3e)}.team-photo-placeholder>span{position:absolute;top:18px;left:18px;color:var(--brand-gold)}.team-silhouette{position:absolute;width:96px;height:96px;border-radius:50%;left:50%;top:54px;transform:translateX(-50%);background:rgba(216,169,78,.18)}.team-silhouette:after{content:"";position:absolute;width:160px;height:145px;left:50%;top:104px;transform:translateX(-50%);border-radius:80px 80px 0 0;background:rgba(216,169,78,.13)}.team-card__body{padding:30px;display:flex;flex-direction:column}.team-card h3{margin-top:13px;font-family:"Playfair Display",serif;font-size:28px}.team-languages{margin-top:auto;padding-top:20px;border-top:1px solid var(--line);display:flex;flex-direction:column;font-size:12px}@media(max-width:900px){.editorial-grid,.team-card{grid-template-columns:1fr}.values-grid,.team-grid{grid-template-columns:1fr 1fr}.team-photo-placeholder{height:260px}}@media(max-width:640px){.values-grid,.team-grid{grid-template-columns:1fr}.page-cta{padding:30px;flex-direction:column;align-items:flex-start;gap:24px}}

.social-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:10px}.social-links a{padding:7px 10px;border:1px solid rgba(216,169,78,.3);font-size:12px;color:var(--brand-gold-light)}.cases-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px}.case-card{min-height:230px;padding:32px;background:#fff;border:1px solid var(--line)}.case-card>span{color:#b8842f;font-size:12px;font-weight:700}.case-card h3{margin-top:42px;font-family:"Playfair Display",serif;font-size:28px}.case-card p{margin-top:14px;color:var(--muted);line-height:1.75}@media(max-width:700px){.cases-grid{grid-template-columns:1fr}}

/* Messenger contact buttons */
.messenger-links{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}
.messenger-link{display:inline-flex!important;align-items:center;gap:8px;padding:8px 11px!important;border:1px solid rgba(216,169,78,.32)!important;text-decoration:none;transition:.2s ease}
.messenger-link svg{width:19px;height:19px;fill:currentColor;flex:0 0 19px}
.messenger-link span{font-size:12px;line-height:1}
.messenger-link:hover{border-color:var(--brand-gold)!important;transform:translateY(-1px)}

/* 2026-08 revision: mobile navigation, motion, contacts */
.mobile-nav-extra{display:none}
.attorney-visual{
  min-height:220px;display:grid;place-items:center;position:relative;overflow:hidden;
  background:radial-gradient(circle at 70% 28%,rgba(216,169,78,.22),transparent 26%),
             linear-gradient(135deg,#071321 0%,#10283c 55%,#071321 100%);
}
.attorney-visual:before{content:"";position:absolute;width:68%;height:1px;background:rgba(216,169,78,.35);transform:rotate(-28deg)}
.attorney-visual__scales{position:relative;color:var(--brand-gold-light);font-family:Georgia,serif;font-size:86px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.35))}
.attorney-visual--hero{min-height:100%;aspect-ratio:16/10}
.reveal{opacity:0;transform:translateY(34px);transition:opacity .65s ease,transform .65s cubic-bezier(.2,.7,.2,1)}
.reveal.is-visible{opacity:1;transform:none}
.cards .reveal:nth-child(2n){transition-delay:.07s}
.cards .reveal:nth-child(3n){transition-delay:.13s}
.messenger-link{color:var(--brand-gold-light)!important;min-width:104px;justify-content:center}
.messenger-link svg{fill:currentColor!important}
@media(max-width:980px){
  .header{position:sticky;top:0;z-index:1000}
  .menu-toggle{display:flex!important;position:relative;z-index:1002;width:42px;height:42px;padding:10px;justify-content:center;cursor:pointer}
  .menu-toggle span{display:block!important;width:22px;height:2px!important;background:var(--brand-gold-light)!important}
  .header__actions{display:none!important}
  .nav{display:none!important}
  .nav.is-open{
    display:flex!important;position:absolute;z-index:1001;top:92px;left:0;right:0;
    max-height:calc(100vh - 92px);overflow:auto;padding:26px 24px 30px;
    flex-direction:column;align-items:stretch;gap:0;background:var(--brand-navy)!important;
    border-top:1px solid rgba(216,169,78,.25);border-bottom:1px solid rgba(216,169,78,.25)
  }
  .nav.is-open>a{padding:14px 2px;border-bottom:1px solid rgba(255,255,255,.08);font-size:14px!important}
  .mobile-nav-extra{display:block;margin-top:22px}
  .mobile-languages{display:flex;gap:10px;margin-bottom:18px}
  .mobile-languages a{display:grid;place-items:center;width:46px;height:38px;border:1px solid rgba(216,169,78,.45);color:var(--brand-gold-light)!important}
  .mobile-consult{width:100%;color:var(--brand-navy)!important;background:var(--brand-gold)!important}
}
@media(max-width:640px){
  .header__inner{min-height:78px}
  .nav.is-open{top:78px;max-height:calc(100vh - 78px)}
  .hero__content{padding:54px 0 44px}
  .hero h1{font-size:clamp(39px,11vw,50px);line-height:1.06}
  .hero__text{font-size:16px;line-height:1.65;margin-top:22px}
  .hero__stats{margin-top:42px;flex-wrap:wrap}
  .hero__visual{min-height:320px}
  .footer .brand-mark{width:52px;height:52px;flex-basis:52px}
  .footer .brand-name{font-size:14px}
  .messenger-links{display:grid!important;grid-template-columns:repeat(3,1fr);gap:8px!important}
  .messenger-link{min-width:0!important;padding:11px 5px!important;flex-direction:column;gap:7px!important}
  .messenger-link svg{width:25px!important;height:25px!important;flex-basis:25px!important}
  .messenger-link span{font-size:11px!important}
}
@media(prefers-reduced-motion:reduce){.reveal{opacity:1;transform:none;transition:none}}

.quick-contact{position:fixed;right:20px;bottom:22px;z-index:950;display:flex;flex-direction:column;align-items:flex-end;gap:9px}
.quick-contact__toggle{width:52px;height:52px;border:1px solid var(--brand-gold);border-radius:50%;background:var(--brand-navy);color:var(--brand-gold-light);font-size:22px;box-shadow:0 10px 30px rgba(0,0,0,.2);cursor:pointer}
.quick-contact__panel{display:flex;flex-direction:column;gap:7px;opacity:0;transform:translateY(10px);pointer-events:none;transition:.2s ease}
.quick-contact.is-open .quick-contact__panel{opacity:1;transform:none;pointer-events:auto}
.quick-contact__panel a{display:grid;place-items:center;width:42px;height:42px;border:1px solid rgba(216,169,78,.55);border-radius:50%;background:#071321;color:var(--brand-gold-light);font-weight:700;text-decoration:none}
@media(max-width:640px){.quick-contact{right:14px;bottom:18px}.quick-contact__toggle{width:48px;height:48px}}

/* Always-visible messenger shortcuts */
.quick-contact{display:none!important}
.quick-messengers{position:fixed;right:16px;bottom:20px;z-index:950;display:flex;flex-direction:column;gap:8px}
.quick-messengers a{display:grid;place-items:center;width:46px;height:46px;border:1px solid rgba(216,169,78,.65);border-radius:50%;background:#071321;color:#efcf85;text-decoration:none;box-shadow:0 7px 20px rgba(0,0,0,.18);transition:transform .18s ease,background .18s ease}
.quick-messengers a:hover{transform:translateY(-2px);background:#0b1928}
.quick-messengers span{font-weight:700;font-size:17px;line-height:1}
@media(max-width:640px){.quick-messengers{right:12px;bottom:16px}.quick-messengers a{width:43px;height:43px}}


/* =========================================================
   V5 — cinematic homepage hero video
   ========================================================= */
.hero--video {
  position: relative;
  overflow: hidden;
  background: #071321;
  color: #fff;
}
.hero-video,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-video {
  z-index: 0;
  object-fit: cover;
  object-position: center;
}
.hero-video-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(4,14,24,.93) 0%, rgba(4,14,24,.78) 43%, rgba(4,14,24,.38) 75%, rgba(4,14,24,.55) 100%),
    linear-gradient(0deg, rgba(4,14,24,.30), rgba(4,14,24,.08));
}
.hero--video .hero__grid {
  position: relative;
  z-index: 2;
}
.hero--video .hero__content {
  color: #fff;
}
.hero--video h1,
.hero--video .hero__stats strong {
  color: #fff;
}
.hero--video .hero__text,
.hero--video .hero__stats span {
  color: rgba(255,255,255,.82);
}
.hero--video .btn--ghost {
  color: #fff;
  border-color: rgba(255,255,255,.65);
  background: rgba(7,19,33,.30);
}
.hero--video .btn--ghost:hover {
  background: rgba(216,169,78,.18);
  border-color: var(--brand-gold);
}
.hero--video .hero__visual {
  background: transparent !important;
}
.hero--video .hero__visual::before,
.hero--video .hero__visual::after,
.hero--video .hero__panel {
  opacity: 0;
}
@media (max-width: 768px) {
  .hero--video {
    background:
      linear-gradient(90deg, rgba(4,14,24,.91), rgba(4,14,24,.70)),
      url("assets/hero-video-poster.jpg") center/cover no-repeat;
  }
  .hero-video {
    display: none;
  }
  .hero-video-overlay {
    background: linear-gradient(180deg, rgba(4,14,24,.72), rgba(4,14,24,.88));
  }
  .hero--video .hero__visual {
    display: none;
  }
}

/* =========================================================
   V6 — hard mobile layout fix (iPhone / Android)
   Prevents desktop canvas scaling and horizontal overflow.
   ========================================================= */
html, body { width: 100%; max-width: 100%; overflow-x: clip; }
img, video, svg { max-width: 100%; }
main, section, header, footer { max-width: 100%; }

@media (max-width: 980px) {
  body { overflow-x: hidden; }
  .container {
    width: auto !important;
    max-width: none !important;
    margin-left: 20px !important;
    margin-right: 20px !important;
  }
  .header { width: 100% !important; }
  .header__inner {
    width: auto !important;
    max-width: none !important;
    margin-left: 16px !important;
    margin-right: 16px !important;
  }
  .logo { min-width: 0 !important; max-width: calc(100% - 58px) !important; }
  .brand-lockup { min-width: 0 !important; max-width: 100% !important; }
  .brand-copy { overflow: hidden; }
  .brand-name, .brand-tagline { white-space: normal !important; }

  .hero, .hero--video {
    width: 100% !important;
    min-width: 0 !important;
    min-height: auto !important;
    display: block !important;
  }
  .hero--video .hero__grid,
  .hero__grid {
    display: block !important;
    width: auto !important;
    min-width: 0 !important;
  }
  .hero__content {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }
  .hero__content h1,
  .hero__text { max-width: 100% !important; }
  .hero__visual { display: none !important; }

  .cards, .values-grid, .cases-grid, .team-grid,
  .editorial-grid, .section-heading, .about__grid,
  .consultation__box, .service-hero__grid, .service-detail__grid,
  .related-grid, .seo-copy__section, .seo-copy__cta {
    min-width: 0 !important;
  }
  .card, .value-card, .case-card, .team-card,
  .service-hero__content, .service-hero__image {
    min-width: 0 !important;
    max-width: 100% !important;
  }
  .card__image, .service-hero__image { width: 100% !important; }
  .card__image img, .service-hero__image img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
    object-fit: cover !important;
  }
}

@media (max-width: 640px) {
  .container {
    margin-left: 14px !important;
    margin-right: 14px !important;
  }
  .header__inner {
    min-height: 76px !important;
    margin-left: 12px !important;
    margin-right: 12px !important;
    gap: 10px !important;
  }
  .brand-mark { width: 48px !important; height: 48px !important; flex-basis: 48px !important; }
  .brand-name { font-size: 12px !important; }
  .brand-tagline { font-size: 5.2px !important; }
  .menu-toggle { flex: 0 0 42px !important; }
  .nav.is-open { top: 76px !important; max-height: calc(100dvh - 76px) !important; }

  .hero--video {
    background:
      linear-gradient(180deg, rgba(4,14,24,.64), rgba(4,14,24,.91)),
      url("assets/hero-video-poster.jpg") center 35% / cover no-repeat !important;
  }
  .hero-video { display: none !important; }
  .hero-video-overlay { display: none !important; }
  .hero__content { padding: 58px 0 50px !important; }
  .hero h1 { font-size: clamp(40px, 12vw, 54px) !important; overflow-wrap: anywhere; }
  .hero__buttons { width: 100%; }
  .hero__buttons .btn { width: 100%; }
  .hero__stats {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0,1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
  }
  .hero__stats strong { font-size: 24px !important; }
  .hero__stats span { font-size: 10px !important; line-height: 1.35; }

  .section { padding: 66px 0 !important; }
  .section-heading { gap: 22px !important; margin-bottom: 32px !important; }
  .section-heading h2, .about h2, .consultation h2 { font-size: 38px !important; }
  .cards { display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; border: 0 !important; }
  .card { width: 100% !important; }
  .card__body { padding: 22px 20px 24px !important; }
  .card__body h3 { font-size: 24px !important; }
  .values-grid, .cases-grid, .team-grid, .related-grid { grid-template-columns: 1fr !important; }
  .editorial-grid, .about__grid, .consultation__box, .service-hero__grid { grid-template-columns: 1fr !important; gap: 28px !important; }
  .inner-hero { padding: 52px 0 58px !important; }
  .inner-hero h1 { font-size: 42px !important; overflow-wrap: anywhere; }
  .page-cta { padding: 26px 20px !important; }

  .quick-messengers {
    right: 10px !important;
    bottom: max(14px, env(safe-area-inset-bottom)) !important;
    gap: 7px !important;
  }
  .quick-messengers a { width: 42px !important; height: 42px !important; }
}

@supports not (overflow: clip) {
  html, body { overflow-x: hidden; }
}

/* v8 real messenger icons */
.floating-contact svg{width:29px;height:29px;display:block}

/* v9 service seo copy — typography only, no layout change */
.seo-service-copy{color:var(--muted);line-height:1.75;margin:0 0 24px}
