* {
  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)}
