:root {
  --green: #1a7a6e;
  --green-dark: #145f56;
  --green-light: #e8f5f3;
  --text: #1a1f1e;
  --text2: #4a5550;
  --text3: #8a9490;
  --border: #dde4e2;
  --bg: #f7faf9;
  --white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body.marketing-body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

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

nav {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  min-height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-name {
  font-size: 17px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
}

.logo-sub {
  display: block;
  margin-top: 1px;
  font-size: 9px;
  color: var(--text3);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0;
}

nav ul li a {
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  padding: 0 16px;
  min-height: 64px;
  display: flex;
  align-items: center;
  border-bottom: 2px solid transparent;
  transition: all 0.15s;
}

nav ul li a:hover,
nav ul li a.active {
  color: var(--green);
  border-bottom-color: var(--green);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lang-flag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(26, 122, 110, 0.16);
  background: #f8fbfa;
  color: var(--text2);
  transition: all 0.15s;
}

.lang-flag:hover,
.lang-flag.is-active {
  border-color: rgba(26, 122, 110, 0.35);
  background: var(--green-light);
  color: var(--green-dark);
}

.lang-flag__icon {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: block;
  object-fit: cover;
  box-shadow: 0 0 0 1px rgba(20, 95, 86, 0.14);
}

.lang-flag__label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.nav-cta,
.btn-primary,
.btn-glass,
.btn-white,
.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  transition: all 0.15s;
}

.nav-cta {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 8px 20px;
  font-size: 13px;
  font-weight: 600;
}

.nav-cta:hover {
  background: var(--green-dark);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("/static/img/marketing-hero.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 18, 16, 0.82) 0%, rgba(10, 18, 16, 0.55) 55%, rgba(10, 18, 16, 0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 3rem;
  max-width: 1100px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 1.8rem;
  letter-spacing: 0.04em;
}

.hero-badge-dot {
  width: 6px;
  height: 6px;
  background: #4ecdc4;
  border-radius: 50%;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.6rem, 5.5vw, 4.4rem);
  font-weight: 900;
  line-height: 1.08;
  max-width: 680px;
  margin-bottom: 1.4rem;
  color: #fff;
}

.hero h1 em {
  font-style: normal;
  color: #7dd3cc;
}

.hero-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 520px;
  line-height: 1.75;
  margin-bottom: 2.8rem;
}

.hero-actions,
.cta-actions,
.contact-form-actions {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--green);
  color: #fff;
  border: none;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 600;
}

.btn-primary:hover {
  background: var(--green-dark);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 14px 30px;
  font-size: 14px;
  font-weight: 500;
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
}

.stats-strip {
  background: var(--green);
  padding: 2rem 3rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-item {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
}

.stat-item:last-child {
  border-right: none;
}

.stat-num {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 900;
  color: #fff;
  display: block;
  line-height: 1;
}

.stat-label {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 4px;
  display: block;
}

.section,
.team-section,
.results-section,
.geo-section,
.cta-section {
  padding: 4rem 3rem;
}

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 8px;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2rem;
  font-weight: 900;
  color: var(--text);
  margin-bottom: 2.5rem;
}

.practices-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--border);
}

.practice-card {
  background: var(--white);
  padding: 2rem;
  transition: background 0.15s;
  cursor: pointer;
}

.practice-card:hover {
  background: var(--green-light);
}

.practice-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--text3);
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.practice-icon-wrap {
  width: 40px;
  height: 40px;
  background: var(--green-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.practice-title {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.practice-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.6;
}

.practice-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 3px 9px;
  border-radius: 4px;
  margin-top: 1rem;
}

.team-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.lawyers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.lawyer-card {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.15s;
  cursor: pointer;
}

.lawyer-card:hover {
  box-shadow: 0 4px 20px rgba(26, 122, 110, 0.1);
}

.lawyer-photo {
  width: 100%;
  aspect-ratio: 1;
  background: var(--green-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.lawyer-photo--portrait {
  background: #dfe9e7;
  overflow: hidden;
}

.lawyer-photo--portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.lawyer-initials {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--green);
}

.lawyer-body {
  padding: 1rem;
}

.lawyer-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 3px;
}

.lawyer-role {
  font-size: 11px;
  font-weight: 600;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 8px;
}

.lawyer-spec {
  font-size: 12px;
  color: var(--text2);
  line-height: 1.5;
}

.win-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 500;
  color: var(--green-dark);
  background: var(--green-light);
  padding: 3px 8px;
  border-radius: 4px;
  margin-top: 8px;
}

.results-section {
  background: var(--bg);
}

.results-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 2rem;
}

.result-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 1.5rem;
  border-top: 3px solid var(--green);
}

.result-amount {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--green);
  display: block;
  line-height: 1;
  margin-bottom: 0.8rem;
}

.result-desc {
  font-size: 13px;
  color: var(--text2);
  line-height: 1.5;
}

.result-year {
  font-size: 11px;
  color: var(--text3);
  margin-top: 1rem;
  font-weight: 500;
}

.geo-section {
  background: var(--white);
  border-top: 1px solid var(--border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: stretch;
}

.geo-desc {
  font-size: 15px;
  color: var(--text2);
  line-height: 1.7;
  margin: 1rem 0 1.5rem;
}

.cities-list {
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
}

.city-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  transition: background 0.15s;
}

.city-item:last-child {
  border-bottom: none;
}

.city-item:hover {
  background: var(--green-light);
}

.city-dot {
  width: 8px;
  height: 8px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}

.city-name {
  font-weight: 500;
  color: var(--text);
}

.city-cases {
  margin-left: auto;
  font-size: 12px;
  color: var(--text3);
  font-weight: 500;
}

.geo-map {
  background: #f8faf9;
  border: 1px solid var(--border);
  border-radius: 18px;
  min-height: 420px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(20, 95, 86, 0.08);
}

.geo-map__canvas {
  width: 100%;
  min-height: 420px;
}

.geo-map .leaflet-container {
  width: 100%;
  min-height: 420px;
  background: #edf3f1;
  font: inherit;
}

.geo-map .leaflet-control-zoom {
  border: 2px solid rgba(17, 24, 39, 0.18);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(17, 24, 39, 0.12);
}

.geo-map .leaflet-control-zoom a {
  width: 42px;
  height: 42px;
  line-height: 40px;
  color: #111827;
  border-bottom: 1px solid rgba(17, 24, 39, 0.12);
}

.geo-map .leaflet-control-zoom a:last-child {
  border-bottom: none;
}

.geo-map .leaflet-control-zoom a:hover {
  background: #f8faf9;
  color: var(--green-dark);
}

.geo-map .leaflet-control-attribution {
  background: rgba(255, 255, 255, 0.84);
  color: var(--text3);
  padding: 2px 8px;
  border-radius: 999px 0 0 0;
  backdrop-filter: blur(8px);
}

.geo-map .leaflet-popup-content-wrapper {
  border-radius: 12px;
  box-shadow: 0 18px 44px rgba(17, 24, 39, 0.18);
}

.geo-map .leaflet-popup-tip {
  box-shadow: none;
}

.geo-marker {
  display: block;
  width: 16px;
  height: 16px;
  background: rgba(122, 132, 130, 0.92);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(17, 24, 39, 0.18);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.35;
  }

  50% {
    transform: scale(1.4);
    opacity: 0;
  }
}

.geo-marker--primary {
  position: relative;
  width: 22px;
  height: 22px;
  background: var(--green);
  box-shadow: 0 6px 18px rgba(26, 122, 110, 0.32);
}

.geo-marker--primary::after {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1.5px solid rgba(26, 122, 110, 0.28);
  border-radius: 50%;
  animation: pulse 2.2s infinite;
}

.geo-popup {
  display: grid;
  gap: 3px;
  min-width: 120px;
}

.geo-popup strong {
  font-size: 13px;
  color: var(--text);
}

.geo-popup span {
  font-size: 12px;
  color: var(--text2);
}

.cta-section {
  background: var(--green);
  text-align: center;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-desc {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 460px;
  margin: 0 auto 2.5rem;
}

.cta-actions {
  justify-content: center;
}

.btn-white {
  background: #fff;
  color: var(--green-dark);
  border: none;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 700;
}

.btn-white:hover {
  background: var(--green-light);
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: #fff;
  padding: 13px 30px;
  font-size: 14px;
  font-weight: 500;
}

.btn-outline-white:hover {
  border-color: #fff;
}

.contact-form-shell {
  width: min(880px, 100%);
  margin: 2.5rem auto 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  border-radius: 16px;
  padding: 1.5rem;
  text-align: left;
}

.marketing-alert {
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 1rem;
}

.marketing-alert--success {
  background: rgba(232, 245, 243, 0.95);
  color: var(--green-dark);
}

.marketing-alert--error {
  background: rgba(255, 235, 235, 0.95);
  color: #8a2a2a;
}

.contact-form {
  display: grid;
  gap: 1rem;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.45rem;
}

.contact-form label span {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  border-radius: 10px;
  padding: 0.9rem 1rem;
  font: inherit;
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(20, 95, 86, 0.55);
  box-shadow: 0 0 0 3px rgba(232, 245, 243, 0.45);
}

.contact-form-actions {
  justify-content: flex-start;
}

footer {
  background: var(--white);
  border-top: 1px solid var(--border);
  padding: 3rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

footer h4 {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text3);
  margin-bottom: 1rem;
}

footer ul {
  list-style: none;
}

footer ul li {
  padding: 4px 0;
}

footer ul a {
  color: var(--text2);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.15s;
}

footer ul a:hover {
  color: var(--green);
}

.footer-brand p {
  font-size: 13px;
  color: var(--text2);
  margin-top: 1rem;
  max-width: 240px;
  line-height: 1.6;
}

.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid var(--border);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 12px;
  color: var(--text3);
}

@media (max-width: 900px) {
  nav {
    padding: 0 1.2rem;
    flex-wrap: wrap;
    padding-top: 0.7rem;
    padding-bottom: 0.7rem;
  }

  nav ul {
    display: none;
  }

  .practices-grid,
  .lawyers-grid,
  .results-grid {
    grid-template-columns: 1fr 1fr;
  }

  .geo-section {
    grid-template-columns: 1fr;
  }

  .geo-map,
  .geo-map__canvas,
  .geo-map .leaflet-container {
    min-height: 360px;
  }

  .stats-strip {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .stat-item {
    border-right: none;
  }

  footer {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .hero-content,
  .section,
  .team-section,
  .results-section,
  .geo-section,
  .cta-section {
    padding: 2.5rem 1rem;
  }

  .hero {
    min-height: 78vh;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .practices-grid,
  .results-grid,
  .lawyers-grid,
  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .contact-form-shell {
    padding: 1rem;
  }

  .geo-map,
  .geo-map__canvas,
  .geo-map .leaflet-container {
    min-height: 300px;
  }

  footer {
    grid-template-columns: 1fr;
    padding: 2rem 1rem;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
