/* Martin & Martin Recruitment - Styles */
:root {
  --brand-green: #5aba7d;
  --brand-dark: #2e3542;
  --brand-darker: #232933;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --white: #fff;
  --green-600: #16a34a;
  --faq-light: #5bc283;
  --faq-hover: #52af76;
  --faq-answer-bg: #f0fdf4;
  --jobs-bg: #f4f7f6;
  --mission-bg: #f9f9f9;
  --max-width: 80rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #111827;
  background: var(--white);
  line-height: 1.5;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main {
  flex: 1;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #555;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s;
  text-decoration: none;
}
.btn-primary {
  background: var(--brand-green);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.btn-primary:hover {
  background: var(--green-600);
}
.btn-dark {
  background: var(--brand-dark);
  color: var(--white);
}
.btn-dark:hover {
  background: var(--gray-800);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 1px solid var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--brand-dark);
}

/* Navbar */
.navbar {
  background: var(--brand-dark);
  border-bottom: 4px solid var(--brand-green);
  position: sticky;
  top: 0;
  z-index: 50;
}
.navbar-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .navbar-inner {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .navbar-inner {
    padding: 0 2rem;
  }
}
.navbar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 5rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
  text-decoration: none;
  color: inherit;
}
.logo:hover {
  text-decoration: none;
  color: inherit;
}
.logo-icon {
  color: var(--brand-green);
  display: none;
}
.logo-icon svg {
  display: block;
}
.logo-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  color: var(--white);
}
.logo-amp {
  color: var(--brand-green);
}
.logo-subtitle {
  margin: 0;
  font-size: 10px;
  letter-spacing: 0.3em;
  color: var(--gray-400);
}
.nav-desktop {
  display: none;
}
@media (min-width: 768px) {
  .nav-desktop {
    display: flex;
    align-items: baseline;
    gap: 2rem;
    margin-left: 2.5rem;
  }
  .nav-desktop a {
    color: var(--gray-300);
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s, text-shadow 0.2s;
  }
  .nav-desktop a:hover {
    background-color: var(--brand-green);
    color: var(--white);
    text-shadow: 0 0 1px rgba(255, 255, 255, 0.5), 0 1px 2px rgba(0, 0, 0, 0.2);
  }
}
.nav-mobile-btns {
  display: flex;
  align-items: center;
}
@media (min-width: 768px) {
  .nav-mobile-btns {
    display: none;
  }
}
.btn-mail {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand-dark);
  border: none;
  border-right: 1px solid var(--gray-600);
  color: var(--white);
  padding: 0.5rem;
  margin-right: 0.25rem;
  cursor: pointer;
  text-decoration: none;
}
.btn-mail svg {
  display: block;
}
.btn-menu {
  background: var(--brand-green);
  border: none;
  color: var(--white);
  padding: 0.5rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-menu .icon-close {
  display: none;
}
.navbar.open .btn-menu .icon-menu {
  display: none;
}
.navbar.open .btn-menu .icon-close {
  display: block;
}
.nav-drawer {
  display: none;
  position: absolute;
  top: 5rem;
  left: 0;
  right: 0;
  background: var(--brand-green);
  min-height: 100vh;
  z-index: 40;
  transition: opacity 0.3s ease-in-out;
}
@media (min-width: 768px) {
  .nav-drawer {
    display: none !important;
  }
}
.navbar.open .nav-drawer {
  display: block;
}
.nav-drawer-inner {
  padding: 0.5rem 1rem 1rem;
  margin-top: 2.5rem;
  margin-left: 1.5rem;
}
.nav-drawer-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
}
.nav-drawer a {
  display: block;
  color: var(--white);
  padding: 1rem 0.75rem;
  font-size: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  width: 100%;
  transition: background 0.2s;
}
.nav-drawer a:hover {
  background: rgba(255, 255, 255, 0.1);
}

/* Hero */
.hero {
  position: relative;
}
.hero-slides {
  position: relative;
  height: 600px;
  width: 100%;
  background: var(--brand-dark);
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 53, 66, 0.6);
  z-index: 10;
  pointer-events: none;
}
.hero-arrows {
  position: absolute;
  inset: 0;
  z-index: 25;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
}
@media (min-width: 768px) {
  .hero-arrows {
    padding: 0 1rem;
  }
}
.hero-arrow {
  pointer-events: auto;
  position: relative;
  z-index: 1;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.3);
  padding: 0.5rem;
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}
.hero-arrow:hover {
  color: var(--white);
  transform: scale(1.1);
}
.hero-arrow:focus {
  outline: none;
}
.hero-arrow svg {
  display: block;
}
.hero-content {
  position: relative;
  z-index: 20;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding-top: 2.5rem;
  margin-top: -600px;
  height: 600px;
}
.hero-content-inner {
  max-width: 42rem;
}
/* Мобильная версия: контент по центру */
@media (max-width: 767px) {
  .hero-content {
    align-items: center;
    text-align: center;
  }
  .hero-content-inner {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-content-inner .btn {
    align-self: center;
  }
}
.hero-title {
  margin: 0 0 1.5rem;
  font-size: 1.875rem;
  font-weight: 300;
  line-height: 1.2;
  color: var(--white);
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
}
.hero-subtitle {
  margin: 0 0 1.5rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.95);
}
@media (min-width: 768px) {
  .hero-subtitle {
    font-size: 1.125rem;
  }
}
.hero-search-bar {
  background: var(--brand-green);
  width: 100%;
  padding: 2rem 0;
  position: relative;
  z-index: 30;
}
.hero-search-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
.hero-search-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}
@media (min-width: 768px) {
  .hero-search-form {
    flex-direction: row;
  }
}
.hero-search-input {
  width: 100%;
  padding: 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
  border: none;
  outline: none;
}
@media (min-width: 768px) {
  .hero-search-form .hero-search-input:first-of-type {
    flex: 1;
  }
}
.hero-search-location-wrap {
  width: 100%;
  position: relative;
}
@media (min-width: 768px) {
  .hero-search-location-wrap {
    flex: 1;
  }
}
.hero-search-location-wrap .hero-search-input {
  padding-right: 2.5rem;
}
.hero-search-pin {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--gray-400);
  pointer-events: none;
}
.hero-search-btn {
  width: 100%;
  padding: 1rem 2rem;
}
@media (min-width: 768px) {
  .hero-search-btn {
    width: auto;
  }
}

/* Trusted by (infinite logo carousel) */
.trusted-by {
  padding: 4rem 0;
  background: var(--white);
  overflow: hidden;
}
.trusted-by-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
.trusted-by-heading {
  font-size: 1.5rem;
  font-weight: 400;
  color: #333;
  margin: 0 0 2.5rem;
  text-align: center;
}
@media (min-width: 768px) {
  .trusted-by-heading {
    font-size: 1.75rem;
  }
}
.trusted-by-carousel {
  overflow: hidden;
  width: 100%;
  user-select: none;
}
.trusted-by-track {
  display: flex;
  align-items: center;
  gap: 4rem;
  width: max-content;
  animation: trusted-by-scroll 45s linear infinite;
}
@keyframes trusted-by-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.trusted-by-logo {
  flex-shrink: 0;
  width: 10rem;
  height: 4rem;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
.trusted-by-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}

/* Jobs */
.jobs {
  padding: 5rem 0;
  background: var(--brand-dark);
  position: relative;
}
.jobs-bg {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  pointer-events: none;
  mix-blend-mode: overlay;
  background-image: url('https://www.transparenttextures.com/patterns/brick-wall-dark.png');
}
.jobs-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
  z-index: 10;
}
.jobs-heading {
  text-align: center;
  margin: 0 0 1rem;
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--white);
}
.jobs-subheading {
  text-align: center;
  margin: 0 0 3rem;
  color: var(--brand-green);
  font-weight: 500;
}
.jobs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .jobs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .jobs-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.job-card {
  /* border: 4px solid #1a1a1a; */
  transition: transform 0.3s;
  background-color: var(--white);
  border-bottom: 4px solid var(--brand-green);
}
.job-card:hover {
  transform: translateY(-2px);
}
.jobs-page {
  background: #fff;
}
.jobs-page .jobs-bg {
  display: none;
}
.jobs-page .jobs-heading {
  color: #1a1a1a;
}
.jobs-page .jobs-subheading {
  color: var(--brand-green);
}
.jobs-page .job-card {
  background-color: #f3f6f6;
}
.jobs-page .job-card-inner {
  background-color: #f3f6f6;
}
.job-card-inner {
  background: var(--white);
  padding: 1.25rem;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 1rem;
}
.job-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.job-logo {
  width: 56px;
  height: 56px;
  flex-shrink: 0;
  background: #e5e5e5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.job-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
}
.job-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-green);
  margin: 0;
  line-height: 1.3;
}
.job-company {
  color: #333;
  font-size: 0.9375rem;
  font-weight: 700;
}
.job-location {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8125rem;
  color: var(--gray-600);
}
.job-location-icon {
  flex-shrink: 0;
  color: var(--gray-500);
}
.job-salary {
  display: block;
  background: var(--brand-green);
  color: var(--white);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.5rem 0.75rem;
  margin-top: 0.25rem;
  width: fit-content;
  min-width: 6rem;
  text-align: left;
}
.jobs-actions {
  margin-top: 3rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* FAQ */
.faq {
  background: var(--brand-green);
  position: relative;
  overflow: hidden;
}
.faq-split {
  display: flex;
  flex-direction: column;
}
@media (min-width: 768px) {
  .faq-split {
    flex-direction: row;
  }
}
.faq-left {
  width: 100%;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (min-width: 768px) {
  .faq-left {
    width: 50%;
    padding: 4rem;
    padding-right: 6rem;
  }
}
.faq-heading {
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--white);
  margin: 0 0 2rem;
}
@media (min-width: 768px) {
  .faq-heading {
    font-size: 2.25rem;
  }
}
.faq-bold {
  color: var(--brand-dark);
  font-weight: 700;
  margin: 0 0 1rem;
}
.faq-text {
  color: var(--brand-dark);
  margin: 0 0 2rem;
}
.faq-right {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.05);
}
@media (min-width: 768px) {
  .faq-right {
    width: 50%;
    padding: 4rem;
  }
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.faq-item {
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  text-align: left;
  background: var(--faq-light);
  color: var(--white);
  border: none;
  cursor: pointer;
  font-weight: 700;
  font-size: 0.875rem;
  transition: background 0.2s;
}
.faq-question:hover {
  background: var(--faq-hover);
}
.faq-question span:first-child {
  padding-right: 1rem;
}
.faq-chevron {
  flex-shrink: 0;
  display: inline-flex;
  transition: transform 0.2s;
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
}
.faq-item.open .faq-question {
  background: var(--brand-dark);
  color: var(--white);
}
.faq-answer {
  display: none;
  padding: 1.5rem;
  background: var(--faq-answer-bg);
  color: var(--brand-dark);
  font-size: 0.875rem;
  line-height: 1.625;
  border-top: 1px solid var(--brand-dark);
}
.faq-item.open .faq-answer {
  display: block;
}

/* Testimonials */
.testimonials {
  padding: 5rem 0;
  background: var(--white);
}
.testimonials-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
.testimonials-heading {
  font-size: 1.875rem;
  font-weight: 300;
  color: var(--brand-dark);
  text-align: center;
  margin: 0 0 4rem;
}
@media (min-width: 768px) {
  .testimonials-heading {
    font-size: 2.25rem;
  }
}
.testimonials-top {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}
@media (min-width: 768px) {
  .testimonials-top {
    grid-template-columns: repeat(3, 1fr);
  }
}
.testimonials-bottom {
  max-width: 56rem;
  margin: 0 auto;
}
.testimonial {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.testimonial-quote {
  color: var(--brand-green);
  margin-bottom: 1.5rem;
}
.testimonial-quote svg {
  display: block;
  transform: rotate(180deg);
}
.testimonial-line {
  width: 4rem;
  height: 2px;
  background: var(--gray-300);
  margin-bottom: 1.5rem;
}
.testimonial-wide .testimonial-line {
  width: 100%;
  max-width: 24rem;
}
.testimonial-line-green {
  background: var(--brand-green);
  margin-bottom: 1rem;
}
.testimonial-text {
  color: var(--gray-600);
  font-weight: 300;
  line-height: 1.625;
  margin: 0 0 1.5rem;
  font-style: italic;
}
.testimonial-author {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-dark);
}
.testimonial-author span {
  font-weight: 400;
  color: var(--gray-500);
}

/* Footer */
.footer {
  background: var(--brand-dark);
  color: var(--white);
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 6px solid var(--brand-green);
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.footer-logo-box {
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 1rem;
  /* display: inline-block; */
  display: none;
}
.footer-logo-icon {
  color: var(--brand-green);
  display: flex;
  justify-content: center;
}
.footer-title {
  font-size: 1.5rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin: 0 0 0.25rem;
}
.footer-amp {
  color: var(--brand-green);
}
.footer-subtitle {
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gray-400);
  margin: 0 0 2.5rem;
}
.footer-name {
  font-weight: 700;
  margin: 0 0 1rem;
}
.footer-address {
  font-style: normal;
  color: var(--gray-300);
  font-size: 0.875rem;
  margin: 0 0 1.5rem;
  line-height: 1.625;
}
.footer-social {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.footer-social a {
  color: var(--brand-green);
  transition: color 0.2s;
}
.footer-social a:hover {
  color: var(--white);
}
.footer-social svg {
  display: block;
}
.footer-contacts {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.footer-contacts .footer-email {
  margin-bottom: 0;
}
.footer-contacts-icons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  align-items: center;
}
.footer-contact-icon {
  color: var(--brand-green);
  transition: color 0.2s;
}
.footer-contact-icon:hover {
  color: var(--white);
}
.footer-contact-icon svg {
  display: block;
}
.footer-email {
  color: var(--brand-green);
  font-weight: 700;
  margin-bottom: 2.5rem;
  transition: color 0.2s;
}
.footer-email:hover {
  color: var(--white);
}
.footer-legal {
  font-size: 10px;
  color: var(--gray-400);
}
.footer-legal p {
  margin: 0 0 0.5rem;
}
.footer-legal a {
  color: inherit;
  transition: color 0.2s;
}
.footer-legal a:hover {
  color: var(--white);
}
.footer-links {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}
.footer-links a {
  color: var(--brand-green);
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--white);
}

/* ========== About Page ========== */

/* About Hero */
.hero-about {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-about {
    min-height: 520px;
  }
}
.hero-about-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}
.hero-about-overlay {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.85);
}
.hero-about-content {
  position: relative;
  z-index: 5;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}
.hero-about-line1 {
  margin: 0 0 0.25rem;
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--gray-800);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
@media (min-width: 768px) {
  .hero-about-line1 {
    font-size: 1.875rem;
  }
}
.hero-about-line2 {
  margin: 0 0 1rem;
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--gray-800);
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.8);
}
@media (min-width: 768px) {
  .hero-about-line2 {
    font-size: 3rem;
  }
}
.hero-about-desc {
  margin: 0;
  font-size: 1rem;
  color: var(--brand-green);
  font-weight: 700;
  max-width: 32rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .hero-about-desc {
    font-size: 1.125rem;
  }
}

/* ========== Contact Page ========== */

/* Contact Hero - dark banner with white title */
.hero-contact {
  position: relative;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
@media (min-width: 768px) {
  .hero-contact {
    min-height: 320px;
  }
}
.hero-contact-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: blur(4px);
}
.hero-contact-overlay {
  position: absolute;
  inset: 0;
  background: rgba(46, 53, 66, 0.88);
}
.hero-contact-content {
  position: relative;
  z-index: 5;
  padding: 3rem 1.5rem;
}
.hero-contact-title {
  margin: 0;
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  text-transform: none;
  letter-spacing: 0.02em;
}
@media (min-width: 768px) {
  .hero-contact-title {
    font-size: 2.5rem;
  }
}

/* Contact block - two columns on light grey / brick pattern */
.contact-block {
  position: relative;
  padding: 4rem 0 5rem;
  overflow: hidden;
}
.contact-block-bg {
  position: absolute;
  inset: 0;
  background-color: #e8eae9;
  /* background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h2v2H0V0zm2 2h2v2H2V2zm2-2h2v2H4V0zm2 2h2v2H6V2zm2-2h2v2H8V0zm2 2h2v2h-2V2zm2-2h2v2h-2V0zm2 2h2v2h-2V2zm2-2h2v2h-2V0zm2 2h2v2h-2V2zm2-2h2v2h-2V0zm2 2h2v2h-2V2zm2-2h2v2h-2V0zm2 2h2v2h-2V2zm2-2h2v2h-2V0zm2 2h2v2h-2V2z' fill='%23ffffff' fill-opacity='0.35' fill-rule='evenodd'/%3E%3C/svg%3E"); */
}
.contact-block-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 768px) {
  .contact-block-inner {
    padding: 0 2rem;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}
.contact-block-heading {
  font-size: 1.5rem;
  font-weight: 700;
  color: #111827;
  margin: 0 0 1.5rem;
  text-align: left;
}
.contact-column.contact-info {
  color: #111827;
}
.contact-company {
  font-weight: 600;
  margin: 0 0 1rem;
  font-size: 1rem;
}
.contact-address {
  font-style: normal;
  margin: 0 0 1rem;
  line-height: 1.6;
}
.contact-phone {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}
.contact-phone a {
  color: #111827;
  text-decoration: none;
}
.contact-phone a:hover {
  text-decoration: underline;
}
.contact-email-wrap {
  margin: 1rem 0 0;
}
.contact-email {
  color: var(--brand-green);
  font-weight: 600;
  text-decoration: underline;
}
.contact-email:hover {
  color: var(--green-600);
}

/* Contact form */
.contact-form-wrap .contact-block-heading {
  margin-bottom: 1.25rem;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.contact-field {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.contact-field label {
  font-size: 0.9375rem;
  font-weight: 500;
  color: #111827;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 1rem;
  font-family: inherit;
  color: #111827;
  background: var(--white);
  border: 1px solid var(--gray-300);
  box-sizing: border-box;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--brand-green);
  box-shadow: 0 0 0 2px rgba(90, 186, 125, 0.2);
}
.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}
.contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23111827' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  padding-right: 2.25rem;
}
.contact-submit {
  margin-top: 0.5rem;
  align-self: flex-start;
}

/* About Intro + Differentiators */
.about-intro {
  padding: 4rem 0 5rem;
  background: var(--white);
}
.about-intro-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .about-intro-inner {
    padding: 0 2rem;
  }
}
.about-intro-license {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0.25rem 0 1.25rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--brand-green);
  text-decoration: none;
}
.about-intro-license:hover {
  text-decoration: underline;
  color: var(--green-600);
}
.about-intro-license-external {
  flex-shrink: 0;
  opacity: 0.8;
}
.about-intro-heading {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 0.75rem;
  text-align: left;
}
@media (min-width: 768px) {
  .about-intro-heading {
    font-size: 2.25rem;
  }
}
.about-intro-tagline {
  font-size: 1.125rem;
  color: var(--brand-green);
  font-style: italic;
  margin: 0 0 1rem;
}
.about-intro-text {
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.625;
  margin: 0 0 2.5rem;
}
.about-diff-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 2rem;
}
.about-diff-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}
@media (min-width: 768px) {
  .about-diff-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}
.about-diff-card {
  text-align: left;
}
.about-diff-icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  /* border: 2px solid var(--brand-green);
  border-radius: 50%; */
  position: relative;
  margin-bottom: 1.25rem;
  overflow: hidden;
}
.about-diff-icon {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.about-diff-num {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 1.75rem;
  height: 1.75rem;
  background: var(--brand-dark);
  color: var(--white);
  border-radius: 50%;
  font-size: 0.875rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-diff-symbol {
  position: relative;
  z-index: 1;
  color: var(--white);
  margin-left: 0.35rem;
}
.about-diff-symbol svg {
  display: block;
}
.about-diff-heading {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--brand-dark);
  margin: 0 0 1rem;
  line-height: 1.35;
}
.about-diff-card p {
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}
.about-diff-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.about-diff-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
  color: var(--gray-600);
  line-height: 1.5;
}
.about-diff-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.4em;
  width: 0.6em;
  height: 0.35em;
  border-left: 2px solid var(--brand-green);
  border-bottom: 2px solid var(--brand-green);
  transform: rotate(-45deg);
}

/* About Team (green bg, profiles) */
.about-team {
  position: relative;
  padding: 4rem 0 5rem;
  background: var(--brand-green);
  overflow: hidden;
}
.about-team-bg {
  position: absolute;
  inset: 0;
  opacity: 0.12;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5c-2 4-6 8-10 10-4 2-8 0-10-4s0-8 4-10c4-2 10-2 16 4z' fill='%23fff' fill-opacity='.4'/%3E%3Cpath d='M50 25c-4 2-8 6-8 12s4 10 10 10 10-4 10-10-6-10-12-12z' fill='%23fff' fill-opacity='.3'/%3E%3C/svg%3E");
  pointer-events: none;
}
.about-team-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .about-team-inner {
    padding: 0 2rem;
  }
}
.about-profile {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 4rem;
  color: var(--white);
}
.about-profile:last-child {
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .about-profile {
    flex-direction: row;
    align-items: center;
    gap: 2.5rem;
  }
  /* Чётные блоки: фото справа, текст слева */
  .about-profile:nth-child(even) .about-profile-photo-wrap {
    order: 2;
  }
  .about-profile:nth-child(even) .about-profile-content {
    order: 1;
    text-align: right;
  }
}
.about-profile-photo-wrap {
  flex-shrink: 0;
  display: flex;
  justify-content: center;
}
@media (min-width: 768px) {
  .about-profile:nth-child(odd) .about-profile-photo-wrap {
    justify-content: flex-start;
  }
  .about-profile:nth-child(even) .about-profile-photo-wrap {
    justify-content: flex-end;
  }
}
.about-profile-photo {
  width: 200px;
  height: 200px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid var(--white);
}
.about-profile-photo-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-700, #374151);
  color: #fff;
  font-size: 3rem;
  font-weight: 700;
  border: 4px solid var(--white);
}
@media (min-width: 768px) {
  .about-profile-photo {
    width: 240px;
    height: 240px;
  }
}
.about-profile-content {
  flex: 1;
}
@media (max-width: 767px) {
  .about-profile-content {
    text-align: center;
  }
}
.about-profile-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.25rem;
  color: var(--white);
}
@media (min-width: 768px) {
  .about-profile-name {
    font-size: 1.75rem;
  }
}
.about-profile-role {
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ========== Procedure Page — Процедура оформления ========== */
.procedure-block {
  padding: 4rem 0 5rem;
  background: var(--white);
}
.procedure-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 768px) {
  .procedure-inner {
    padding: 0 2rem;
  }
}
.procedure-title {
  margin: 0 0 0.5rem;
  font-size: 2rem;
  font-weight: 700;
  color: #333;
  text-align: center;
}
@media (min-width: 768px) {
  .procedure-title {
    font-size: 2.2rem;
  }
}
.procedure-subtitle {
  margin: 0 0 3rem;
  font-size: 1rem;
  font-weight: 400;
  color: var(--gray-500);
  text-align: center;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
}
@media (min-width: 768px) {
  .procedure-subtitle {
    font-size: 1.1em;
  }
}
.procedure-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.procedure-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.5rem 0;
  border-bottom: 1px solid #eee;
}
.procedure-step:last-child {
  border-bottom: none;
}
.procedure-step-num {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--brand-green);
  color: var(--brand-dark);
  font-size: 1rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .procedure-step-num {
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
  }
}
.procedure-step-content {
  flex: 1;
  min-width: 0;
}
.procedure-step-title {
  margin: 0 0 0.5rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: #333;
}
@media (min-width: 768px) {
  .procedure-step-title {
    font-size: 1.1em;
  }
}
.procedure-step-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-500);
}
.procedure-cta {
  text-align: center;
  padding: 2rem 0 0;
  margin-top: 0.5rem;
}
.procedure-cta .btn {
  text-decoration: none;
}

/* Manager modal */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(46, 53, 66, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s, visibility 0.2s;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal {
  position: relative;
  background: var(--white);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  max-width: 22rem;
  width: 100%;
  padding: 2rem 1.5rem 1.5rem;
  text-align: center;
}
.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  color: var(--brand-dark);
  cursor: pointer;
  padding: 0;
  transition: color 0.2s;
}
.modal-close:hover {
  color: var(--gray-600);
}
.modal-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}
.modal-avatar-wrap {
  margin-bottom: 0.5rem;
}
.modal-avatar {
  width: 7.5rem;
  height: 7.5rem;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gray-300);
}
.modal-avatar-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gray-700, #374151);
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  border: 2px solid var(--gray-300);
}
.modal-subtitle {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--gray-500);
  font-weight: 400;
}
.modal-title {
  margin: 0 0 1rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-dark);
  letter-spacing: 0.02em;
}
.modal-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.75rem;
  width: 100%;
}
.modal-actions .btn {
  width: 100%;
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
  text-decoration: none;
}
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border: none;
}
.btn-whatsapp:hover {
  background: #20bd5a;
  color: var(--white);
}
.btn-telegram {
  background: #0088cc;
  color: var(--white);
  border: none;
}
.btn-telegram:hover {
  background: #0077b5;
  color: var(--white);
}
