/* ═══════════════════════════════════════════
   MECCA AVVOCATI SA — stylesheet
   ═══════════════════════════════════════════ */

/* ── RESET & TOKENS ── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --off: #ecf0f1;
  --light: #dde3e4;
  --border: #d3dadd;
  --green: #08bd26;
  --green-d: #128f76;
  --green-bg: rgba(24, 188, 156, 0.07);
  --dark: #2c3e50;
  --dark2: #1a242f;
  --text: #2c3e50;
  --muted: #5d6d7e;
  --serif: "Domine", Georgia, serif;
  --sans: "Public Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1280px;
}

html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  text-decoration: none;
  color: inherit;
}
ul {
  list-style: none;
}

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

/* ── HEADER ── */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.97);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.hdr__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 32px;
  max-width: var(--max);
  margin: 0 auto;
}
.hdr__logo {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 12px;
  line-height: 1;
}
.hdr__logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
  display: block;
}
.hdr__logo-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.hdr__logo-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  letter-spacing: 0.02em;
}
.hdr__logo-tag {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hdr__menu {
  display: flex;
  align-items: center;
  gap: 40px;
}
.hdr__link {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--muted);
  transition: color 0.2s var(--ease);
  position: relative;
  padding-bottom: 3px;
}
.hdr__link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--green);
  transition: width 0.3s var(--ease);
}
.hdr__link:hover,
.hdr__link.is-active {
  color: var(--text);
}
.hdr__link:hover::after,
.hdr__link.is-active::after {
  width: 100%;
}
.hdr__langs {
  display: flex;
  gap: 4px;
  padding-left: 28px;
  border-left: 1px solid var(--border);
}
.hdr__lang {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 2px;
  background: none;
  border: none;
  font-family: var(--sans);
  transition: all 0.2s var(--ease);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.hdr__lang:hover {
  color: var(--text);
}
.hdr__lang.is-active {
  color: var(--green);
  background: var(--green-bg);
}

/* burger */
.hdr__burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hdr__burger span {
  width: 22px;
  height: 1.5px;
  background: var(--dark);
  display: block;
  transition: all 0.3s var(--ease);
}
.hdr__burger.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hdr__burger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hdr__burger.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* mobile menu */
.mob-menu {
  display: none;
  position: fixed;
  inset: 76px 0 0;
  background: var(--white);
  z-index: 899;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 36px;
  border-top: 1px solid var(--border);
}
.mob-menu.open {
  display: flex;
}
.mob-menu .hdr__link {
  font-size: 1.1rem;
  color: var(--text);
}
.mob-menu .hdr__langs {
  border: none;
  padding: 0;
  margin-top: 8px;
}

/* ── HERO ── */
.hero {
  padding-top: 76px;
  background: var(--off);
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -300px;
  right: -200px;
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(24, 188, 156, 0.06) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.hero__inner {
  position: relative;
  z-index: 1;
  padding: 100px 0;
}
.hero__kicker {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 28px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.hero__kicker::before {
  content: "";
  width: 36px;
  height: 1.5px;
  background: var(--green);
  flex-shrink: 0;
}
.hero__h1 {
  font-family: var(--serif);
  font-size: clamp(3rem, 6.5vw, 5.8rem);
  font-weight: 700;
  line-height: 1.02;
  color: var(--dark);
  margin-bottom: 32px;
  letter-spacing: -0.02em;
  font-optical-sizing: auto;
}
.hero__h1 em {
  font-style: normal;
  color: var(--green);
}
.hero__sub {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
  margin-bottom: 56px;
}
.hero__btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ── BUTTONS ── */
.btn {
  font-family: var(--sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 15px 36px;
  border-radius: 1px;
  cursor: pointer;
  border: 1.5px solid;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s var(--ease);
}
.btn--fill {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
}
.btn--fill:hover {
  background: var(--green-d);
  border-color: var(--green-d);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(24, 188, 156, 0.2);
}
.btn--outline {
  background: transparent;
  border-color: var(--dark);
  color: var(--dark);
}
.btn--outline:hover {
  background: var(--dark);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--dark {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--white);
}
.btn--dark:hover {
  background: var(--green);
  border-color: var(--green);
  color: var(--white);
  transform: translateY(-2px);
}
.btn--outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--white);
}
.btn--outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

/* ── SECTIONS ── */
.sec {
  padding: 120px 0;
}
.sec--white {
  background: var(--white);
}
.sec--off {
  background: var(--off);
}
.sec--light {
  background: var(--light);
}

.sec__kicker {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.sec__kicker::before {
  content: "";
  width: 28px;
  height: 1.5px;
  background: var(--green);
  flex-shrink: 0;
}
.sec__h2 {
  font-family: var(--serif);
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--dark);
  margin-bottom: 20px;
  font-optical-sizing: auto;
}
.sec__lead {
  font-size: 1rem;
  line-height: 1.85;
  color: var(--muted);
  max-width: 640px;
}

/* ── PAGE BANNER (subpages) ── */
.page-banner {
  background: var(--off);
  padding: calc(76px + 64px) 0 56px;
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.page-banner::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(24, 188, 156, 0.05) 0%,
    transparent 65%
  );
  pointer-events: none;
}
.page-banner__inner {
  position: relative;
  z-index: 1;
}
.page-banner .sec__kicker {
  margin-bottom: 14px;
}
.page-banner .sec__h2 {
  margin-bottom: 12px;
}
.page-banner__sub {
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.9;
  color: var(--muted);
  max-width: 560px;
}

/* ── ABOUT ── */
.about__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 100px;
  align-items: center;
  margin-top: 80px;
}
.about__text p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 22px;
  line-height: 1.95;
}
.about__text p strong {
  color: var(--text);
  font-weight: 600;
}
.about__rule {
  width: 48px;
  height: 2px;
  background: var(--green);
  margin: 32px 0;
}
.about__note {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
}
.about__note strong {
  color: var(--text);
  font-weight: 600;
}

/* stats */
.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
}
.stat {
  padding: 44px 36px;
  background: var(--white);
  border-top: 3px solid transparent;
  transition:
    border-color 0.3s var(--ease),
    background 0.3s var(--ease);
}
.stat:hover {
  border-top-color: var(--green);
  background: var(--off);
}
.stat__n {
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  margin-bottom: 8px;
}
.stat__l {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
}

/* ── SERVICES ── */
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: var(--border);
  margin-top: 72px;
}
.svc {
  padding: 56px 48px;
  background: var(--white);
  border-left: 3px solid transparent;
  transition: all 0.3s var(--ease);
  position: relative;
  overflow: hidden;
}
.svc::before {
  content: attr(data-num);
  position: absolute;
  right: -8px;
  top: -16px;
  font-family: var(--serif);
  font-size: 7rem;
  font-weight: 700;
  color: rgba(24, 188, 156, 0.05);
  line-height: 1;
  pointer-events: none;
  -webkit-user-select: none;
  user-select: none;
}
.svc:hover {
  background: var(--off);
  border-left-color: var(--green);
}
.svc__h {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.svc__p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ── PREVIEW CARDS (homepage services teaser) ── */
.preview-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2px;
  background: var(--border);
  margin-top: 56px;
}
.preview-card {
  background: var(--white);
  padding: 40px 36px;
  border-left: 3px solid transparent;
  transition: all 0.3s var(--ease);
}
.preview-card:hover {
  background: var(--off);
  border-left-color: var(--green);
}
.preview-card__h {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.preview-card__p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ── TEAM ── */
.team__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 72px;
  max-width: 840px;
}
.member {
  cursor: pointer;
}
.member__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--light);
  margin-bottom: 18px;
  position: relative;
}
.member__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.member:hover .member__img img {
  transform: scale(1.05);
}
.member__overlay {
  position: absolute;
  inset: 0;
  background: rgba(24, 188, 156, 0);
  transition: background 0.3s var(--ease);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}
.member:hover .member__overlay {
  background: rgba(24, 188, 156, 0.1);
}
.member__arrow {
  color: var(--white);
  font-size: 1.4rem;
  opacity: 0;
  transform: translateY(8px);
  transition: all 0.3s var(--ease);
}
.member:hover .member__arrow {
  opacity: 1;
  transform: none;
}
.member__avatar {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--light) 0%, var(--border) 100%);
  font-family: var(--serif);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--green);
}
.member__name {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.member__role {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.member__spec {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.4;
}

/* member preview (homepage teaser — no modal) */
.member-preview {
  display: block;
  color: inherit;
}
.member-preview__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--light);
  margin-bottom: 14px;
}
.member-preview__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.5s var(--ease);
}
.member-preview:hover .member-preview__img img {
  transform: scale(1.05);
}
.member-preview__name {
  font-family: var(--serif);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 4px;
}
.member-preview__role {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* staff */
.team__staff {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}
.staff__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.staff__label::before {
  content: "";
  width: 24px;
  height: 1.5px;
  background: var(--green);
  flex-shrink: 0;
}
.staff__cards {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.staff-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-left: 2px solid transparent;
  border-radius: 1px;
  transition: border-color 0.25s var(--ease);
}
.staff-card:hover {
  border-left-color: var(--green);
}
.staff-card__photo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--light);
}
.staff-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.staff-card__name {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--dark);
  line-height: 1.2;
}
.staff-card__role {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 2px;
}

/* ── PROFILE CARD (team page – inline full profiles) ── */
.profile-card {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 56px;
  padding: 72px 0;
}
.profile-card + .profile-card {
  border-top: 1px solid var(--border);
}
.profile-card:first-child {
  padding-top: 0;
}
.profile-card__img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: var(--light);
  flex-shrink: 0;
}
.profile-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.profile-card__name {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--dark);
  margin: 6px 0 0;
}
.profile-card__tagline {
  font-size: 0.9rem;
  color: var(--green-d);
  font-weight: 500;
  margin: 8px 0 24px;
  line-height: 1.5;
}
.profile-card__bio {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 36px;
  max-width: 600px;
}
.profile-card__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-bottom: 4px;
}
.profile-card__lbl {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.profile-card__lbl::before {
  content: "";
  width: 16px;
  height: 1.5px;
  background: var(--green);
  flex-shrink: 0;
}
.profile-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.profile-card__list li {
  font-size: 0.88rem;
  color: var(--text);
  padding: 7px 0;
  border-bottom: 1px solid var(--border);
  line-height: 1.5;
}
.profile-card__list li:last-child {
  border-bottom: none;
}

/* svc sub-list (services page – detailed bullet points) */
.svc__list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.svc__list li {
  font-size: 0.85rem;
  color: var(--muted);
  padding: 7px 0 7px 18px;
  border-bottom: 1px solid var(--border);
  position: relative;
  line-height: 1.5;
}
.svc__list li:last-child {
  border-bottom: none;
}
.svc__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8rem;
}

/* ── CONTACT ── */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  margin-top: 72px;
  align-items: start;
}
.contact__block {
  margin-bottom: 40px;
}
.contact__lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.contact__val {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.8;
}
.contact__val a {
  color: var(--green-d);
  font-weight: 500;
  border-bottom: 1px solid rgba(19, 165, 136, 0.3);
  transition: all 0.2s var(--ease);
}
.contact__val a:hover {
  color: var(--green);
  border-bottom-color: var(--green);
}
.contact__val strong {
  color: var(--text);
  font-weight: 600;
}
.contact__map {
  overflow: hidden;
  border-radius: 1px;
  height: 380px;
  border: 1px solid var(--border);
}
.contact__map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}
.contact__map-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 10px;
}

/* layout: form primario + aside secondario */
.contact__layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 72px;
  margin-top: 56px;
  align-items: start;
}
.contact__main {
  min-width: 0;
}
.contact__map-wrap {
  margin-top: 40px;
}

/* aside secondario (recapiti rapidi + QR) */
.contact__aside {
  background: var(--off);
  border: 1px solid var(--border);
  border-radius: 1px;
  padding: 40px 36px;
}
.contact__aside .contact__block {
  margin-bottom: 32px;
}
.contact__aside .contact__block:last-of-type {
  margin-bottom: 28px;
}
.contact__qr {
  padding-top: 28px;
  border-top: 1px solid var(--border);
}
.contact__qr img {
  width: 160px;
  height: 160px;
  margin-top: 14px;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--white);
  padding: 10px;
}
.contact__qr-note {
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 220px;
}

/* form */
.form-wrap {
  margin-top: 90px;
  padding-top: 72px;
  border-top: 1px solid var(--border);
}
.form-wrap--primary {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}
.form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 0;
}
.fg {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.fg--full {
  grid-column: 1 / -1;
}
.fg label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.fg input,
.fg textarea {
  padding: 13px 16px;
  font-family: var(--sans);
  font-size: 0.9rem;
  border: 1px solid var(--border);
  border-radius: 1px;
  background: var(--white);
  color: var(--text);
  transition: all 0.25s var(--ease);
  outline: none;
}
.fg input:focus,
.fg textarea:focus {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(24, 188, 156, 0.1);
}
.fg textarea {
  resize: vertical;
  min-height: 110px;
}
.form-actions {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}

/* ── CTA STRIP ── */
.cta-strip {
  background: var(--dark2);
  padding: 88px 0;
}
.cta-strip__inner {
  text-align: center;
}
.cta-strip__h {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-strip__p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.85;
  margin-bottom: 40px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.cta-strip__btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-strip__contacts {
  margin-top: 32px;
  display: flex;
  gap: 32px;
  justify-content: center;
  flex-wrap: wrap;
}
.cta-strip__contact-item {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.35);
}
.cta-strip__contact-item a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
  transition: color 0.2s var(--ease);
}
.cta-strip__contact-item a:hover {
  color: var(--green);
}

/* ── FOOTER ── */
.footer {
  background: var(--dark2);
  padding: 72px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 72px;
  margin-bottom: 56px;
}
.footer__logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.footer__logo-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  opacity: 0.85;
}
.footer__name {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2px;
}
.footer__sub {
  font-size: 0.58rem;
  font-weight: 600;
  color: var(--green);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0;
}
.footer__desc {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1.85;
  max-width: 300px;
}
.footer__col-t {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 18px;
}
.footer__links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer__link {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s var(--ease);
}
.footer__link:hover {
  color: var(--green);
}
.footer__link.is-active {
  color: var(--green);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.footer__copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
}
.footer__legal {
  display: flex;
  gap: 20px;
}
.footer__legal a {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.25);
  transition: color 0.2s var(--ease);
}
.footer__legal a:hover {
  color: rgba(255, 255, 255, 0.6);
}

/* ── MODAL ── */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(15, 19, 15, 0.6);
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s var(--ease);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}
.modal-bg.open {
  opacity: 1;
  pointer-events: all;
}
.modal {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(800px, 100vw);
  background: var(--white);
  z-index: 1001;
  transform: translateX(100%);
  transition: transform 0.4s var(--ease);
  overflow-y: auto;
}
.modal.open {
  transform: none;
}
.modal__close {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 18px 28px;
  background: var(--white);
  border-bottom: 1px solid var(--border);
}
.modal__close-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.2s var(--ease);
  font-family: var(--sans);
}
.modal__close-btn:hover {
  color: var(--text);
}
.modal__hero {
  display: grid;
  grid-template-columns: 220px 1fr;
  min-height: 300px;
}
.modal__photo {
  background: var(--dark);
  overflow: hidden;
}
.modal__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}
.modal__photo-av {
  width: 100%;
  height: 100%;
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, #1a242f 100%);
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green);
}
.modal__intro {
  background: var(--dark2);
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.modal__tag {
  display: inline-flex;
  align-items: center;
  background: rgba(24, 188, 156, 0.12);
  border: 1px solid rgba(24, 188, 156, 0.25);
  color: var(--green);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 12px;
  margin-bottom: 14px;
  align-self: flex-start;
}
.modal__name {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.05;
  margin-bottom: 10px;
}
.modal__tagline {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  font-weight: 300;
}
.modal__body {
  padding: 40px;
}
.modal__sec {
  margin-bottom: 32px;
}
.modal__sec:last-child {
  margin-bottom: 0;
}
.modal__sec-title {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.modal__sec-title::before {
  content: "";
  width: 20px;
  height: 1.5px;
  background: var(--green);
  flex-shrink: 0;
}
.modal__text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.9;
}
.modal__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.modal__list li {
  font-size: 0.88rem;
  color: var(--text);
  padding-left: 16px;
  position: relative;
  line-height: 1.5;
}
.modal__list li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--green);
  font-size: 0.8rem;
}
.modal__langs {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.lang-chip {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text);
  background: var(--off);
  border: 1px solid var(--border);
  padding: 5px 14px;
  border-radius: 20px;
}
.modal__pub {
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
  line-height: 1.6;
}

/* ── REVEAL ── */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.55s var(--ease),
    transform 0.55s var(--ease);
}
.reveal.in {
  opacity: 1;
  transform: none;
}

/* ══════════════════════════════════════════
   RESPONSIVE
   ══════════════════════════════════════════ */
@media (max-width: 1100px) {
  .about__grid {
    gap: 60px;
  }
  .footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
  .footer__grid > :first-child {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .sec {
    padding: 72px 0;
  }
  .container {
    padding: 0 20px;
  }
  .hdr__menu,
  .hdr__langs {
    display: none;
  }
  .hdr__burger {
    display: flex;
  }
  .hdr__logo-name {
    font-size: 1.15rem;
  }
  .hdr__logo-icon {
    width: 32px;
    height: 32px;
  }
  .hero__inner {
    padding: 64px 0;
  }
  .hero__sub {
    font-size: 1rem;
    margin-bottom: 40px;
  }
  .about__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 48px;
  }
  .services__grid {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }
  .preview-cards {
    grid-template-columns: 1fr;
    margin-top: 40px;
  }
  .svc {
    padding: 40px 28px;
  }
  .svc::before {
    font-size: 5rem;
  }
  .team__grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-top: 48px;
    max-width: 100%;
  }
  .team__staff {
    margin-top: 40px;
    padding-top: 36px;
  }
  .profile-card {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 48px 0;
  }
  .profile-card__img {
    max-width: 200px;
    aspect-ratio: 1/1;
    border-radius: 50%;
  }
  .profile-card__grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 48px;
    margin-top: 48px;
  }
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }
  .contact__map-wrap {
    margin-top: 48px;
  }
  .contact__map {
    height: 300px;
  }
  .contact__aside {
    padding: 32px 28px;
  }
  .form {
    grid-template-columns: 1fr;
  }
  .form-wrap {
    margin-top: 64px;
    padding-top: 56px;
  }
  .form-wrap--primary {
    margin-top: 0;
    padding-top: 0;
  }
  .fg--full {
    grid-column: 1;
  }
  .form-actions {
    grid-column: 1;
  }
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .footer__grid > :first-child {
    grid-column: auto;
  }
  .footer__bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }
  .modal {
    width: 100vw;
  }
  .modal__hero {
    grid-template-columns: 160px 1fr;
  }
  .modal__intro {
    padding: 28px;
  }
  .modal__body {
    padding: 28px;
  }
  .modal__name {
    font-size: 1.5rem;
  }
  .cta-strip {
    padding: 64px 0;
  }
  .page-banner {
    padding: calc(76px + 40px) 0 40px;
  }
}

@media (max-width: 480px) {
  .sec {
    padding: 56px 0;
  }
  .hero {
    min-height: auto;
  }
  .hero__inner {
    padding: 48px 0;
  }
  .hero__h1 {
    font-size: 2.4rem;
  }
  .hero__btns {
    flex-direction: column;
  }
  .btn {
    width: 100%;
    justify-content: center;
  }
  .team__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
  .member__name {
    font-size: 1rem;
  }
  .member__spec {
    font-size: 0.76rem;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .staff__cards {
    flex-direction: column;
  }
  .staff-card {
    width: 100%;
  }
  .modal__hero {
    grid-template-columns: 1fr;
    grid-template-rows: 300px auto;
  }
  .modal__photo img {
    object-position: center 15%;
  }
  .modal__photo-av {
    min-height: 300px;
  }
  .cta-strip__btns {
    flex-direction: column;
    align-items: center;
  }
  .cta-strip__contacts {
    flex-direction: column;
    gap: 12px;
  }
}

/* ── COOKIE BANNER ── */
.cookie {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: var(--dark);
  color: rgba(255, 255, 255, 0.85);
  border-top: 2px solid var(--green);
  box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.18);
  transform: translateY(110%);
  transition: transform 0.4s var(--ease);
}
.cookie.is-visible {
  transform: translateY(0);
}
.cookie[hidden] {
  display: none;
}
.cookie__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.cookie__title {
  display: block;
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 6px;
}
.cookie__msg {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.6;
}
.cookie__msg a {
  color: var(--green);
  border-bottom: 1px solid rgba(8, 189, 38, 0.4);
  transition: color 0.2s var(--ease);
}
.cookie__msg a:hover {
  color: var(--white);
}
.cookie__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 10px;
  color: var(--green);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 0.2s var(--ease);
}
.cookie__link:hover {
  color: var(--white);
}
.cookie__link-icon {
  flex-shrink: 0;
}
.cookie__btn {
  flex-shrink: 0;
  min-width: 120px;
}
@media (max-width: 720px) {
  .cookie__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }
  .cookie__btn {
    width: 100%;
  }
}
