/* ============ TOKENS ============ */
:root {
  --navy-900: #0d131a;
  --navy-800: #0f1720;
  --navy-700: #072136;
  --navy-600: #12212f;
  --ink: #1d1e20;
  --white: #ffffff;
  --muted: #9fb0bf;
  --muted-dark: #5b6b78;
  --line: rgba(255, 255, 255, 0.08);
  --accent: #c9a24b;      /* subtle gold accent for a law-firm feel */
  --accent-soft: rgba(201, 162, 75, 0.14);
  --wa-green: #25d366;
  --wa-dark: #075e54;
  --radius: 14px;
  --container: 1200px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  --ease: cubic-bezier(.22, 1, .36, 1);
  --font: "DM Sans", system-ui, sans-serif;
  --font-display: "Hatton", Georgia, "Times New Roman", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--navy-900);
  color: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 24px; border-radius: 100px; font-weight: 500; font-size: .95rem;
  border: 1px solid transparent; cursor: pointer; transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--white); color: var(--navy-900); }
.btn--primary:hover { background: var(--accent); color: var(--navy-900); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.28); }
.btn--ghost:hover { background: rgba(255,255,255,.08); border-color: var(--white); }
.btn--lg { padding: 15px 32px; font-size: 1rem; }
.btn--block { width: 100%; margin-top: 8px; }

/* ============ LOADING ANIMATION ============ */
.preloader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--navy-900);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .6s var(--ease), visibility .6s var(--ease);
}
.preloader.is-hidden { opacity: 0; visibility: hidden; }
.preloader__inner { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 22px; }
.preloader__logo { width: 130px; animation: floatLogo 2.2s ease-in-out infinite; filter: brightness(0) invert(1); }
.preloader__bar {
  width: 200px; height: 3px; background: rgba(255,255,255,.12); border-radius: 3px; overflow: hidden;
}
.preloader__bar span {
  display: block; height: 100%; width: 40%; border-radius: 3px;
  background: linear-gradient(90deg, transparent, var(--accent), var(--white));
  animation: loadBar 1.3s var(--ease) infinite;
}
.preloader__text {
  font-family: var(--font-display); font-size: 1.05rem; letter-spacing: .5px;
  color: var(--muted); opacity: 0; animation: fadeUp .8s var(--ease) .3s forwards;
}
@keyframes loadBar { 0% { transform: translateX(-100%); } 100% { transform: translateX(350%); } }
@keyframes floatLogo { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } from { opacity: 0; transform: translateY(10px); } }

/* ============ HEADER ============ */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 18px 0; transition: all .35s var(--ease);
  background: transparent;
}
/* Scrolled = locked white header so the original (blue) logo shows */
.header.is-scrolled {
  background: #ffffff;
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0,0,0,.07);
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
  padding: 12px 0;
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
/* Top of page: transparent header over dark bg → white logo */
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); filter: brightness(0) invert(1); }
.header.is-scrolled .brand img { height: 40px; filter: none; }

/* Scrolled: switch nav + controls to dark-on-white */
.header.is-scrolled .nav > a { color: #33414d; }
.header.is-scrolled .nav > a:hover { color: var(--navy-900); }
.header.is-scrolled .lang-switch { border-color: rgba(0,0,0,.16); }
.header.is-scrolled .lang-btn { color: #5b6b78; }
.header.is-scrolled .lang-btn.active { background: var(--navy-900); color: #fff; }
.header.is-scrolled .btn--primary { background: var(--navy-900); color: #fff; }
.header.is-scrolled .btn--primary:hover { background: var(--accent); color: var(--navy-900); }
.header.is-scrolled .nav-toggle span { background: var(--navy-900); }

.nav { display: flex; align-items: center; gap: 30px; }
.nav > a { font-size: .95rem; color: rgba(255,255,255,.82); position: relative; padding: 4px 0; font-weight: 400; }
.nav > a::after {
  content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--accent); transition: width .3s var(--ease);
}
.nav > a:hover { color: var(--white); }
.nav > a:hover::after, .nav > a.active::after { width: 100%; }

.header__actions { display: flex; align-items: center; gap: 14px; }
.lang-switch { display: flex; border: 1px solid rgba(255,255,255,.2); border-radius: 100px; overflow: hidden; }
.lang-btn {
  background: transparent; color: rgba(255,255,255,.7); border: none; cursor: pointer;
  padding: 6px 12px; font-size: .8rem; font-weight: 500; font-family: var(--font); transition: all .25s;
}
.lang-btn.active { background: var(--white); color: var(--navy-900); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--white); border-radius: 2px; transition: all .3s var(--ease); }
.nav__mobile-extra { display: none; }

/* ============ HERO ============ */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  background: var(--navy-900);
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; z-index: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.08);
  transition: opacity 1.6s var(--ease), transform 7s ease-out;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
/* dark gradient over photos so text stays readable */
.hero__overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(5,9,13,.92) 0%, rgba(7,21,34,.80) 45%, rgba(5,9,13,.55) 100%),
    linear-gradient(180deg, rgba(13,19,26,.6) 0%, transparent 30%, rgba(5,9,13,.85) 100%);
}
.hero__inner { position: relative; z-index: 2; max-width: 860px; padding-top: 90px; padding-bottom: 60px; }
.hero__eyebrow {
  display: inline-block; font-size: .85rem; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: 22px; font-weight: 500;
}
.hero__title {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.08; margin-bottom: 24px; letter-spacing: -.5px;
}
.hero__lead { font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); max-width: 620px; margin-bottom: 36px; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============ PAGE BANNER (subpages) ============ */
.page-banner {
  position: relative; padding: 170px 0 70px; text-align: center; overflow: hidden;
  background:
    linear-gradient(180deg, rgba(5,9,13,.85), rgba(7,21,34,.92)),
    var(--navy-700);
  border-bottom: 1px solid var(--line);
}
.page-banner__grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black, transparent 70%);
}
.page-banner__inner { position: relative; z-index: 2; }
.page-banner__kicker {
  display: inline-block; font-size: .78rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.page-banner h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(2.1rem, 5vw, 3.4rem); line-height: 1.1; }
.page-banner p { color: var(--muted); margin-top: 14px; max-width: 640px; margin-inline: auto; }
.page-banner__crumbs { margin-top: 18px; font-size: .85rem; color: var(--muted-dark); }
.page-banner__crumbs a { color: var(--muted); }
.page-banner__crumbs a:hover { color: var(--accent); }

/* ============ SECTIONS ============ */
.section { padding: 100px 0; }
.section--alt { background: var(--navy-800); }
/* Light section — echoes the original site's white (#f7f6f6) background */
.section--light { background: #f7f6f6; color: var(--ink); }
.section--light .section__title { color: var(--navy-900); }
.section--light .section__sub { color: #5b6b78; }
.section--light .article-card { background: #fff; border-color: rgba(0,0,0,.07); box-shadow: 0 10px 30px rgba(7,21,34,.06); }
.section--light .article-card:hover { background: #fff; box-shadow: 0 18px 40px rgba(7,21,34,.10); }
.section--light .article-card h3 { color: var(--navy-900); }
.section--light .article-card p { color: #5b6b78; }
.section__head { max-width: 700px; margin: 0 auto 56px; text-align: center; }
.section__kicker {
  display: inline-block; font-size: .78rem; letter-spacing: 2.5px; text-transform: uppercase;
  color: var(--accent); font-weight: 600; margin-bottom: 14px;
}
.section__title { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.9rem, 4vw, 2.9rem); line-height: 1.15; }
.section__sub { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

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

/* Value cards */
.value-card {
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 34px 26px; transition: all .35s var(--ease);
}
.value-card:hover { transform: translateY(-6px); border-color: var(--accent-soft); background: rgba(201,162,75,.06); }
.value-card__icon {
  width: 58px; height: 58px; display: grid; place-items: center; color: var(--accent);
  background: var(--accent-soft); border-radius: 14px; margin-bottom: 18px;
}
.value-card__icon svg { width: 28px; height: 28px; stroke: var(--accent); fill: none; stroke-width: 1.6; }
.value-card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { color: var(--muted); font-size: .95rem; }

/* Service cards — B&W photo + serif title (matches the original site) */
.service-card {
  display: block; border-radius: var(--radius); overflow: hidden; position: relative;
  background: #fff; transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.service-card:hover { transform: translateY(-8px); box-shadow: 0 22px 45px rgba(0,0,0,.42); }
.service-card__img { aspect-ratio: 4 / 3; overflow: hidden; background: var(--navy-700); }
.service-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(100%) contrast(1.05);
  transition: transform .6s var(--ease), filter .5s var(--ease);
}
.service-card:hover .service-card__img img { transform: scale(1.06); }
.service-card__title { padding: 20px 18px; text-align: center; background: #fff; }
.service-card__title h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.35rem; color: var(--navy-900); }
.section__cta { text-align: center; margin-top: 48px; }

/* People */
.person-card {
  background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 26px; text-align: center; transition: all .35s var(--ease);
}
.person-card:hover { transform: translateY(-6px); border-color: var(--accent-soft); }
.person-card__avatar {
  width: 84px; height: 84px; margin: 0 auto 18px; border-radius: 50%;
  display: grid; place-items: center; font-family: var(--font-display); font-size: 1.6rem; font-weight: 600;
  background: linear-gradient(145deg, var(--navy-700), var(--accent)); color: var(--white);
}
.person-card h3 { font-size: 1.15rem; margin-bottom: 6px; }
.person-card__role { color: var(--muted); font-size: .9rem; }

/* ===== People page (A&O-style directory) ===== */
.founder {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; margin-bottom: 56px;
}
.founder__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 12px; filter: grayscale(100%); transition: filter .5s var(--ease); }
.founder:hover .founder__photo img { filter: grayscale(0); }
.founder__role { color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-size: .78rem; font-weight: 600; margin-bottom: 10px; }
.founder h2 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.6rem, 3vw, 2.2rem); line-height: 1.15; margin-bottom: 14px; }
.founder__bio { color: var(--muted); font-size: 1rem; }

.people-filter { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; justify-content: space-between; margin-bottom: 36px; }
.people-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.people-tab {
  background: transparent; border: 1px solid var(--line); color: var(--muted); cursor: pointer;
  padding: 9px 18px; border-radius: 100px; font-family: var(--font); font-size: .88rem; transition: all .25s var(--ease);
}
.people-tab:hover { color: #fff; border-color: rgba(255,255,255,.3); }
.people-tab.active { background: var(--white); color: var(--navy-900); border-color: var(--white); }
.people-search {
  position: relative; min-width: 240px;
}
.people-search input {
  width: 100%; background: rgba(255,255,255,.04); border: 1px solid var(--line); color: #fff;
  padding: 11px 16px 11px 42px; border-radius: 100px; font-family: var(--font); font-size: .9rem; outline: none; transition: border-color .25s;
}
.people-search input:focus { border-color: var(--accent); }
.people-search input::placeholder { color: var(--muted-dark); }
.people-search svg { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); width: 17px; height: 17px; color: var(--muted-dark); }

.people-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.person { display: block; }
.person__photo { aspect-ratio: 3/4; overflow: hidden; border-radius: 12px; background: var(--navy-700); }
.person__photo img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: filter .5s var(--ease), transform .6s var(--ease); }
.person:hover .person__photo img { filter: grayscale(0); transform: scale(1.04); }
.person__info { padding: 16px 2px 0; }
.person__name { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; line-height: 1.25; color: #fff; }
.person__role { color: var(--accent); text-transform: uppercase; letter-spacing: 1px; font-size: .72rem; font-weight: 600; margin-top: 7px; }
.person__office { display: flex; align-items: center; gap: 6px; color: var(--muted); font-size: .82rem; margin-top: 8px; }
.person__office svg { width: 14px; height: 14px; color: var(--muted-dark); }
.people-empty { text-align: center; color: var(--muted); padding: 40px 0; display: none; }

@media (max-width: 980px) {
  .people-grid { grid-template-columns: repeat(3, 1fr); }
  .founder { grid-template-columns: 220px 1fr; gap: 28px; }
}
@media (max-width: 700px) {
  .people-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .founder { grid-template-columns: 1fr; text-align: center; }
  .founder__photo { max-width: 240px; margin: 0 auto; }
  .people-filter { justify-content: center; }
}
@media (max-width: 420px) {
  .people-grid { grid-template-columns: 1fr 1fr; }
}

/* Clients — running logo marquee */
.marquee { overflow: hidden; position: relative; padding: 6px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.marquee__track { display: flex; gap: 20px; width: max-content; animation: marquee 45s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.mq-item { flex: 0 0 auto; height: 130px; display: grid; place-items: center; border-radius: 12px; }
.mq-logo { background: #fff; padding: 18px 34px; min-width: 230px; }
.mq-logo img { max-height: 92px; max-width: 210px; object-fit: contain; display: block; }
.mq-name { padding: 0 34px; border: 1px solid var(--line); background: rgba(255,255,255,.02);
  color: var(--muted); font-family: var(--font-display); font-size: 1.6rem; white-space: nowrap; transition: color .25s, border-color .25s; }
.mq-name:hover { color: #fff; border-color: var(--accent-soft); }

/* Clients page tiles */
.client-logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; margin-bottom: 44px; }
.client-imglogo { background: #fff; border-radius: 14px; height: 180px; width: 300px; display: grid; place-items: center; padding: 26px 34px; transition: transform .3s var(--ease); }
.client-imglogo:hover { transform: translateY(-5px); }
.client-imglogo img { max-height: 128px; max-width: 240px; object-fit: contain; }

/* Clients */
.clients__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; margin-bottom: 60px; }
.client-logo {
  min-height: 88px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: 12px;
  color: var(--muted); font-weight: 500; background: rgba(255,255,255,.015); padding: 14px 16px;
  text-align: center; font-size: .92rem; line-height: 1.35; transition: all .3s var(--ease);
}
.client-logo:hover { color: var(--white); border-color: var(--accent-soft); background: rgba(201,162,75,.05); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat { padding: 20px; }
.stat__num { display: block; font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem); color: var(--accent); font-weight: 700; }
.stat__label { color: var(--muted); font-size: .9rem; }

/* Gallery */
.gallery__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.gallery__item {
  aspect-ratio: 4/3; border-radius: var(--radius); display: grid; place-items: center; font-size: 3rem;
  background: linear-gradient(150deg, var(--navy-700), var(--navy-900)); border: 1px solid var(--line);
  transition: all .4s var(--ease); cursor: pointer;
}
.gallery__item:hover { transform: scale(1.02); border-color: var(--accent); }
.gallery__item span { filter: grayscale(.2); transition: transform .4s var(--ease); }
.gallery__item:hover span { transform: scale(1.15); }
.gallery__item--photo { position: relative; overflow: hidden; padding: 0; }
.gallery__item--photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gallery__item--photo:hover img { transform: scale(1.08); }
.gallery__item--photo::after {
  content: attr(data-caption); position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 16px 14px; color: #fff; font-size: .85rem; font-weight: 500; text-align: left;
  background: linear-gradient(transparent, rgba(5,9,13,.85));
  opacity: 0; transform: translateY(8px); transition: all .35s var(--ease);
}
.gallery__item--photo:hover::after { opacity: 1; transform: translateY(0); }

/* Articles */
.article-card {
  background: rgba(255,255,255,.02); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; transition: all .35s var(--ease); display: flex; flex-direction: column;
}
.article-card:hover { transform: translateY(-6px); background: rgba(255,255,255,.045); }
.article-card__tag {
  align-self: flex-start; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px;
  color: var(--accent); background: var(--accent-soft); padding: 5px 12px; border-radius: 100px; margin-bottom: 16px;
}
.article-card h3 { font-size: 1.15rem; line-height: 1.35; margin-bottom: 10px; }
.article-card p { color: var(--muted); font-size: .93rem; flex: 1; margin-bottom: 16px; }
.article-card__link { color: var(--accent); font-weight: 500; font-size: .9rem; }

/* About + Contact */
.about__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.about__text .section__kicker { margin-bottom: 14px; }
.about__text .section__title { text-align: left; margin-bottom: 20px; }
.about__text p { color: var(--muted); margin-bottom: 16px; }
.office-card {
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; margin-bottom: 16px;
}
.office-card h3 { font-size: 1.1rem; margin-bottom: 10px; color: var(--accent); }
.office-card__addr { color: var(--muted); font-size: .92rem; margin-bottom: 14px; }
.office-card__meta { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.office-card__meta li { display: flex; align-items: center; gap: 10px; font-size: .92rem; color: rgba(255,255,255,.85); }
/* monochrome inline line icons (phone / mail) — inherit text color, no color emoji */
.i-line { width: 16px; height: 16px; flex-shrink: 0; color: var(--accent); }

/* ============ PERSON DETAIL ============ */
.pdetail { display: grid; grid-template-columns: 340px 1fr; gap: 46px; align-items: start; }
.pdetail__photo img { width: 100%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); }
.pdetail__role { color: var(--accent); text-transform: uppercase; letter-spacing: 2px; font-size: .8rem; font-weight: 600; margin-bottom: 12px; }
.pdetail h1 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.12; margin-bottom: 18px; }
.pd-meta { list-style: none; display: flex; flex-direction: column; gap: 10px; margin: 0 0 24px; }
.pd-meta li { display: flex; align-items: center; gap: 10px; color: rgba(255,255,255,.85); font-size: .95rem; }
.pd-meta svg { width: 17px; height: 17px; color: var(--accent); flex-shrink: 0; }
.pd-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.pd-body { display: grid; grid-template-columns: 1fr 320px; gap: 46px; margin-top: 64px; align-items: start; }
.pd-section { margin-bottom: 40px; }
.pd-section:last-child { margin-bottom: 0; }
.pd-section h2 {
  font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; margin-bottom: 18px;
  padding-bottom: 12px; border-bottom: 1px solid var(--line);
}
.pd-section p { color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip { background: var(--accent-soft); color: var(--accent); border-radius: 100px; padding: 8px 16px; font-size: .88rem; }
.assoc-list { list-style: none; display: flex; flex-direction: column; gap: 12px; }
.assoc-list li { display: flex; gap: 12px; align-items: flex-start; color: rgba(255,255,255,.85); font-size: .95rem; }
.assoc-list li::before { content: '\2022'; color: var(--accent); font-weight: 700; }

@media (max-width: 900px) {
  .pdetail { grid-template-columns: 240px 1fr; gap: 30px; }
  .pd-body { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .pdetail { grid-template-columns: 1fr; }
  .pdetail__photo { max-width: 260px; }
}

/* Person contact card (A&O style) */
.pd-aside { position: sticky; top: 100px; align-self: start; }
.pcard { background: #0b141f; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.pcard__photo img { width: 100%; aspect-ratio: 4/5; object-fit: cover; filter: grayscale(100%); display: block; }
.pcard__body { padding: 26px 24px; }
.pcard__name { font-family: var(--font-display); font-weight: 600; font-size: 1.5rem; color: #fff; line-height: 1.15; }
.pcard__role { color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; font-size: .72rem; font-weight: 600; margin-top: 8px; line-height: 1.5; }
.pcard__rows { margin-top: 22px; display: flex; flex-direction: column; gap: 15px; }
.pcard__label { display: block; color: var(--muted-dark); font-size: .7rem; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 4px; }
.pcard__val { color: #fff; font-size: .92rem; border-bottom: 1px solid rgba(255,255,255,.22); padding-bottom: 2px; word-break: break-word; transition: all .25s; }
a.pcard__val:hover { color: var(--accent); border-color: var(--accent); }
.pcard__wa { width: 100%; margin-top: 24px; }
.pcard__vcard { display: inline-flex; align-items: center; gap: 8px; margin-top: 24px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: .78rem; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 500; transition: color .25s; }
.pcard__vcard svg { width: 16px; height: 16px; }
.pcard__vcard:hover { color: #fff; }
.pd-more { margin-top: 26px; }

/* ============ SERVICE DETAIL ============ */
.service-detail { display: grid; grid-template-columns: 1fr 340px; gap: 44px; align-items: start; }
.service-detail__body h2 { font-family: var(--font-display); font-weight: 600; font-size: 1.7rem; margin-bottom: 14px; }
.service-detail__body > p { color: var(--muted); margin-bottom: 26px; font-size: 1.05rem; }
.scope-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.scope-item {
  display: flex; gap: 12px; align-items: flex-start;
  background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px;
  transition: all .3s var(--ease);
}
.scope-item:hover { border-color: var(--accent-soft); background: rgba(201,162,75,.05); }
.scope-item__check { color: var(--accent); font-weight: 700; margin-top: 1px; flex-shrink: 0; }
.scope-item p { color: var(--muted); font-size: .95rem; }

.service-detail__aside {
  position: sticky; top: 100px;
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.015));
  border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
}
.aside-photo { margin: -28px -28px 22px; overflow: hidden; }
.aside-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; filter: grayscale(100%) contrast(1.05); display: block; }
.service-detail__aside h3 { font-size: 1.15rem; margin-bottom: 8px; }
.service-detail__aside p { color: var(--muted); font-size: .92rem; margin-bottom: 18px; }
.service-detail__aside .btn { width: 100%; }
.aside-contact { list-style: none; margin: 18px 0 0; padding-top: 18px; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.aside-contact li { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: rgba(255,255,255,.85); }
.aside-others { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.aside-others h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--accent); margin-bottom: 12px; }
.aside-others a { display: block; color: var(--muted); font-size: .9rem; padding: 5px 0; transition: color .25s; }
.aside-others a:hover { color: #fff; }

@media (max-width: 900px) {
  .service-detail { grid-template-columns: 1fr; }
  .service-detail__aside { position: static; }
  .scope-list { grid-template-columns: 1fr; }
}

/* ============ LET'S TALK (contact) ============ */
.contact-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 50px; align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: .82rem; color: var(--muted); letter-spacing: .3px; }
.field label .req { color: var(--accent); }
.field input, .field textarea {
  background: rgba(255,255,255,.04); border: 1px solid var(--line); border-radius: 10px;
  padding: 13px 15px; color: #fff; font-family: var(--font); font-size: .95rem; outline: none; transition: border-color .25s;
}
.field input:focus, .field textarea:focus { border-color: var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted-dark); }
.field textarea { min-height: 140px; resize: vertical; }
.contact-form .form-actions { grid-column: 1 / -1; }
.form-note { grid-column: 1 / -1; color: var(--muted-dark); font-size: .82rem; margin-top: -4px; }

.offices-side { display: flex; flex-direction: column; gap: 20px; }
.office-block { background: rgba(255,255,255,.025); border: 1px solid var(--line); border-radius: 14px; padding: 26px; }
.office-block h3 { font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--accent); margin-bottom: 16px; }
.office-row { margin-bottom: 14px; }
.office-row:last-child { margin-bottom: 0; }
.office-row .lbl { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: 1px; color: var(--muted-dark); margin-bottom: 4px; }
.office-row .val { color: rgba(255,255,255,.88); font-size: .94rem; line-height: 1.5; }
.office-row a.val:hover { color: var(--accent); }

@media (max-width: 880px) {
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}
@media (max-width: 520px) {
  .contact-form { grid-template-columns: 1fr; }
}

/* ============ FOOTER ============ */
.footer { background: #05090d; padding-top: 60px; border-top: 1px solid var(--line); }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 40px; }
.footer__brand img { height: 44px; margin-bottom: 12px; filter: brightness(0) invert(1); }
.footer__brand p { color: var(--muted); font-size: .9rem; max-width: 260px; }
.footer__nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer__nav a { color: var(--muted); font-size: .92rem; transition: color .25s; }
.footer__nav a:hover { color: var(--white); }
.footer__social { display: flex; gap: 12px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center;
  border: 1px solid var(--line); color: var(--muted); font-size: .85rem; font-weight: 600; transition: all .3s;
}
.footer__social a:hover { background: var(--accent); color: var(--navy-900); border-color: var(--accent); }
.footer__bottom { border-top: 1px solid var(--line); padding: 22px 0; text-align: center; }
.footer__bottom p { color: var(--muted-dark); font-size: .85rem; }

/* ============ WHATSAPP POPUP ============ */
.wa { position: fixed; right: 24px; bottom: 24px; z-index: 900; }
.wa__btn {
  width: 60px; height: 60px; border-radius: 50%; border: none; cursor: pointer;
  background: var(--wa-green); color: var(--white); display: grid; place-items: center;
  box-shadow: 0 10px 30px rgba(37,211,102,.45); transition: transform .3s var(--ease);
  animation: waPulse 2.5s infinite;
}
.wa__btn:hover { transform: scale(1.08); }
@keyframes waPulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.5), 0 10px 30px rgba(37,211,102,.45); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.45); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0), 0 10px 30px rgba(37,211,102,.45); }
}
.wa__popup {
  position: absolute; right: 0; bottom: 78px; width: 330px; max-width: calc(100vw - 48px);
  background: #e5ddd5; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow);
  transform: translateY(20px) scale(.92); opacity: 0; visibility: hidden; transform-origin: bottom right;
  transition: all .3s var(--ease);
}
.wa__popup.is-open { transform: translateY(0) scale(1); opacity: 1; visibility: visible; }
.wa__header { background: var(--wa-dark); color: var(--white); padding: 16px; display: flex; align-items: center; gap: 12px; }
.wa__avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; background: var(--white); flex-shrink: 0; display: grid; place-items: center; }
.wa__avatar img { width: 80%; height: auto; }
.wa__title { flex: 1; line-height: 1.3; }
.wa__title strong { display: block; font-size: .98rem; }
.wa__status { font-size: .72rem; opacity: .85; display: flex; align-items: center; gap: 6px; }
.wa__status i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa-green); display: inline-block; }
.wa__close { background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; line-height: 1; opacity: .8; }
.wa__close:hover { opacity: 1; }
.wa__body {
  padding: 24px 16px; min-height: 130px;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 20 L20 0 L40 20 L20 40 Z' fill='%23d9d0c6' fill-opacity='0.4'/%3E%3C/svg%3E");
}
.wa__bubble {
  background: var(--white); border-radius: 0 12px 12px 12px; padding: 12px 14px; max-width: 90%;
  box-shadow: 0 1px 2px rgba(0,0,0,.15); position: relative;
  animation: waBubble .4s var(--ease) .15s both;
}
.wa__bubble strong { display: block; font-size: .8rem; color: var(--wa-dark); margin-bottom: 4px; }
.wa__bubble p { color: #303030; font-size: .9rem; line-height: 1.5; }
.wa__bubble .wa__time { display: block; text-align: right; font-size: .68rem; color: #9aa0a6; margin-top: 4px; }
@keyframes waBubble { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.wa__cta {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  background: var(--wa-green); color: var(--white); padding: 15px; font-weight: 600; font-size: .95rem;
  transition: background .25s;
}
.wa__cta:hover { background: #1ebe5a; }

/* ============ REVEAL ANIMATION ============ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ============ RESPONSIVE ============ */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .clients__grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about__inner { grid-template-columns: 1fr; gap: 36px; }
  .about__text .section__title { text-align: left; }
}
@media (max-width: 720px) {
  .header__cta { display: none; }
  .header__actions .lang-switch { display: none; }
  .nav-toggle { display: flex; }
  .nav {
    position: fixed; top: 0; right: -100%; height: 100vh; width: 78%; max-width: 320px;
    flex-direction: column; align-items: flex-start; gap: 22px;
    background: var(--navy-800); padding: 100px 32px 40px; transition: right .4s var(--ease);
    border-left: 1px solid var(--line); z-index: 999;
  }
  .nav.is-open { right: 0; }
  /* keep drawer links light even when the header is in scrolled/white mode */
  .header.is-scrolled .nav > a { color: rgba(255,255,255,.82); }
  .header.is-scrolled .nav > a:hover { color: #fff; }
  .nav__mobile-extra { display: flex; flex-direction: column; gap: 18px; width: 100%; margin-top: 10px; }
  .nav__mobile-extra .lang-switch { width: fit-content; }
  .nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { opacity: 0; }
  .nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .section { padding: 72px 0; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 460px) {
  .grid--4, .grid--3 { grid-template-columns: 1fr; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero__actions { flex-direction: column; align-items: stretch; }
}
