﻿:root {
  --bg: #eef5ef;
  --bg-alt: #f9fbf8;
  --surface: #ffffff;
  --surface-strong: #0f2a1f;
  --text: #102117;
  --text-soft: #35523f;
  --accent: #1f8f5f;
  --accent-2: #f2b34a;
  --line: #d8e5da;
  --shadow: 0 16px 40px rgba(16, 33, 23, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Public Sans", "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 10% 0%, rgba(31, 143, 95, 0.15), transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(242, 179, 74, 0.18), transparent 38%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 55%, #ffffff 100%);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: auto -80px 40px auto;
  width: 260px;
  height: 260px;
  background: conic-gradient(from 170deg, rgba(31, 143, 95, 0.18), rgba(242, 179, 74, 0.2), rgba(31, 143, 95, 0.18));
  border-radius: 42% 58% 71% 29% / 41% 56% 44% 59%;
  filter: blur(10px);
  pointer-events: none;
  z-index: -1;
}

.container {
  width: min(1120px, calc(100% - 3rem));
  margin: 0 auto;
}

header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(8px);
  background: rgba(249, 251, 248, 0.86);
  border-bottom: 1px solid rgba(216, 229, 218, 0.8);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--text);
  text-decoration: none;
  font-weight: 700;
  font-family: "Sora", "Segoe UI", sans-serif;
}

.brand img {
  width: clamp(140px, 16vw, 190px);
  height: auto;
  object-fit: contain;
  border-radius: 0;
}

.brand small {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-soft);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible {
  color: var(--accent);
}

.nav-tools {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.lang-dropdown {
  position: relative;
}

.lang-toggle {
  height: 42px;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0 0.72rem;
  border-radius: 10px;
  border: 2px solid #17a4ea;
  background: rgba(255, 255, 255, 0.94);
  color: #1d3242;
  cursor: pointer;
}

.lang-toggle:focus-visible {
  outline: 2px solid #17a4ea;
  outline-offset: 2px;
}

.lang-globe,
.lang-chevron {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.lang-globe svg {
  width: 16px;
  height: 16px;
}

.lang-chevron svg {
  width: 14px;
  height: 14px;
}

.lang-menu {
  list-style: none;
  margin: 0;
  padding: 0.5rem 0;
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  min-width: 158px;
  border-radius: 10px;
  border: 1px solid #dce4e8;
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(18, 40, 56, 0.2);
  display: none;
  z-index: 80;
}

.lang-dropdown.open .lang-menu {
  display: block;
}

.lang-menu a {
  display: block;
  padding: 0.48rem 0.9rem;
  text-decoration: none;
  color: #1f313f;
  font-weight: 500;
}

.lang-menu a:hover,
.lang-menu a:focus-visible {
  background: #f1f6f9;
}

.lang-menu a.is-current {
  color: #0d6ea8;
  font-weight: 700;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--surface);
}

.hero {
  padding: 5rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 2rem;
  align-items: start;
}

.kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.85);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-soft);
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

h1,
h2,
h3 {
  font-family: "Sora", "Segoe UI", sans-serif;
  line-height: 1.2;
  margin: 0;
}

h1 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4.2vw, 3.55rem);
}

.lead {
  margin-top: 1.05rem;
  font-size: 1.05rem;
  color: var(--text-soft);
  max-width: 62ch;
}

.cta-row {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 0.75rem 1.1rem;
  text-decoration: none;
  font-weight: 700;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(16, 33, 23, 0.12);
}

.btn-primary {
  background: var(--accent);
  color: #f8fff8;
}

.btn-secondary {
  background: #fff;
  border-color: var(--line);
  color: var(--text);
}

.btn-icon {
  width: 46px;
  height: 46px;
  padding: 0;
}

.btn-whatsapp {
  background: #25d366;
  border-color: #1ebd5a;
  color: #ffffff;
}

.btn-whatsapp svg {
  width: 22px;
  height: 22px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.highlight-card {
  background: linear-gradient(165deg, var(--surface-strong), #173827);
  color: #e9f6ec;
  border-radius: 20px;
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.highlight-card h3 {
  margin-bottom: 0.35rem;
}

.badges {
  margin-top: 1rem;
  display: grid;
  gap: 0.65rem;
}

.badges span {
  display: block;
  font-weight: 600;
  padding: 0.58rem 0.75rem;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.09);
}

main section {
  padding: 2.8rem 0;
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 1.25rem;
}

.section-head p {
  margin: 0;
  color: var(--text-soft);
  max-width: 62ch;
}

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

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1rem;
}

.card h3 {
  margin-bottom: 0.6rem;
  font-size: 1.03rem;
}

.about-block,
.legislation,
.contacts-wrap {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 1.2rem;
}

.about-block p,
.legislation p {
  margin-top: 0;
}

.about-block p:last-child,
.legislation p:last-child {
  margin-bottom: 0;
}

.list {
  margin: 0.7rem 0 0;
  padding-left: 1rem;
}

.list li {
  margin-bottom: 0.35rem;
}

.form-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 1rem;
}

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

.form-gallery a {
  display: block;
  border-radius: 12px;
  border: 1px solid var(--line);
  overflow: hidden;
  background: #f5f8f5;
}

.form-gallery img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  display: block;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 0.85rem;
}

.contacts-wrap {
  padding: 0.95rem 1rem;
}

.contacts-wrap h3 {
  margin-bottom: 0.45rem;
  font-size: 1.06rem;
}

.contact-meta {
  display: grid;
  gap: 0.28rem;
  font-size: 0.93rem;
  color: var(--text-soft);
}

.contact-meta p {
  margin: 0;
}

.contact-meta strong {
  color: var(--text);
}

.contacts-list {
  margin-top: 0.75rem;
  display: grid;
  gap: 0.55rem;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
}

.contact-person {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.58rem 0.62rem;
  background: #fcfefc;
}

.contact-person p {
  margin: 0.08rem 0;
  font-size: 0.9rem;
  line-height: 1.35;
}

.contact-person strong {
  font-size: 0.94rem;
}

.contact-role {
  color: var(--text-soft);
}

.contact-actions {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.contact-actions .btn {
  padding: 0.62rem 0.9rem;
  font-size: 0.9rem;
}

.contact-actions .btn-icon {
  width: 46px;
  height: 46px;
}

.contact-actions .btn-whatsapp svg {
  width: 24px;
  height: 24px;
}

.btn-inline-icon {
  width: 18px;
  height: 18px;
  margin-right: 0.42rem;
  vertical-align: text-bottom;
}

.map-wrap iframe {
  width: 100%;
  min-height: 310px;
  border: 1px solid var(--line);
  border-radius: 14px;
}

footer {
  border-top: 1px solid var(--line);
  padding: 2rem 0;
  margin-top: 2rem;
}

footer p {
  margin: 0.2rem 0;
  color: var(--text-soft);
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.in-view {
  opacity: 1;
  transform: none;
}

@media (max-width: 980px) {
  .hero-grid,
  .form-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

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

  .form-gallery img {
    height: 190px;
  }
}

@media (max-width: 800px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  nav {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: rgba(249, 251, 248, 0.98);
    border-bottom: 1px solid var(--line);
    display: none;
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.5rem;
  }

  .lang-toggle {
    height: 38px;
    padding: 0 0.6rem;
  }
}

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

  .brand img {
    width: 124px;
  }

  .hero {
    padding-top: 4rem;
  }

  .card-grid,
  .form-gallery {
    grid-template-columns: 1fr;
  }
}
