/* =========================================
   1. ЗМІННІ ТА БАЗОВІ НАЛАШТУВАННЯ
========================================= */
:root {
  --bg: #eae5dc;
  --bg-light: #f2efea;
  --text: #171513;
  --text-muted: #5c564c;
  --border: #d6cebf;
  --wa-green: #1fa851;
  --werkspot-orange: #d97600;
  --error: #b3261e;
  --success: #1e7a3a;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

ul,
ol {
  list-style: none;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  background: none;
  border: none;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

/* Доступність (Accessibility) */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--text);
  outline-offset: 2px;
}

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

.skip-link {
  position: absolute;
  left: 8px;
  top: -60px;
  background: var(--text);
  color: var(--bg);
  padding: 12px 20px;
  border-radius: 4px;
  z-index: 2000;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 8px;
}

/* =========================================
   2. ТИПОГРАФІКА ТА ЛЕЙАУТ
========================================= */
.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

section {
  padding: 80px 0;
}
.text-center {
  text-align: center;
}

h2 {
  font-size: clamp(28px, 4vw, 36px);
  margin-bottom: 16px;
  font-weight: 700;
  line-height: 1.2;
}

.section-desc {
  font-size: clamp(15px, 2vw, 17px);
  color: var(--text-muted);
  max-width: 800px;
  margin-bottom: 48px;
}

/* =========================================
   3. КНОПКИ
========================================= */
.btn-wa,
.btn-cta,
.btn-hero-primary,
.btn-hero-secondary,
.contact-form button {
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.btn-wa {
  background-color: var(--wa-green);
  color: #fff;
  font-size: 13px;
  padding: 10px 16px;
  gap: 6px;
  min-height: 40px;
}
.btn-wa:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-cta {
  background-color: var(--text);
  color: var(--bg);
  font-size: 13px;
  padding: 10px 20px;
  border: 1px solid var(--text);
  min-height: 40px;
}
.btn-cta:hover {
  background-color: transparent;
  color: var(--text);
}

.btn-hero-primary,
.btn-hero-secondary {
  font-size: 15px;
  padding: 16px 32px;
}
.btn-hero-primary {
  background: var(--bg);
  color: var(--text);
}
.btn-hero-primary:hover {
  background: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-hero-secondary {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.6);
}
.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #fff;
}

/* =========================================
   4. HEADER
========================================= */
.header-top {
  position: sticky;
  top: 0;
  width: 100%;
  height: 72px;
  background-color: var(--bg);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  flex-direction: column;
  z-index: 1001;
}
.logo-name {
  color: var(--text);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 1.5px;
  line-height: 1;
}
.logo-sub {
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

.nav-menu {
  display: flex;
  gap: 32px;
  align-items: center;
}
.nav-link {
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  padding: 8px 2px;
  transition: opacity 0.2s;
}
.nav-link:hover {
  opacity: 0.6;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.mobile-actions {
  display: none;
}

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}
.lang-btn {
  padding: 6px 4px;
  transition: color 0.2s;
}
.lang-btn:hover,
.lang-btn.active {
  color: var(--text);
}
.lang-btn.active {
  text-decoration: underline;
  text-underline-offset: 4px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 24px;
  background-color: var(--text);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* =========================================
   5. HERO СЕКЦІЯ
========================================= */
.hero-section {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 72px);
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(23, 21, 19, 0.45) 0%,
    rgba(23, 21, 19, 0.82) 100%
  );
  z-index: 1;
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 40px 24px;
}
.hero-title {
  color: #fff;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-desc {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(16px, 2.5vw, 20px);
  max-width: 750px;
  margin-bottom: 40px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* =========================================
   6. TRUST BAR & ПРО НАС
========================================= */
.trust-bar {
  border-bottom: 1px solid var(--border);
  padding: 50px 0 40px;
  background-color: var(--bg-light);
  margin-bottom: 60px;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.trust-item {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}
.trust-item::before {
  content: "✔";
  color: var(--wa-green);
  font-size: 18px;
}

.about-section {
  padding-bottom: 0;
}
.about-desc {
  max-width: 800px;
}

/* =========================================
   7. КАРТКИ (SERVICES & REVIEWS)
========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background-color: #fff;
  border: 1px solid var(--border);
  padding: 40px 32px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
  transition:
    transform 0.3s,
    border-color 0.3s,
    box-shadow 0.3s;
}
.service-card:hover {
  border-color: var(--text);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--bg-light);
  color: var(--werkspot-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}
.service-icon svg {
  width: 26px;
  height: 26px;
}
.service-card h3 {
  font-size: 22px;
  margin-bottom: 16px;
}
.service-card p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Swiper Slider */
.reviews-section-styled {
  background-color: var(--bg-light);
  border-radius: 12px;
  padding: 60px 40px;
  margin-bottom: 80px;
}
.reviews-desc-styled {
  margin: 0 auto 48px;
}
.reviewsSwiper {
  width: 100%;
  padding: 6px 10px 60px;
}
.swiper-slide {
  height: auto;
  display: flex;
}

/* Review card - Werkspot-geïnspireerd, in het kleurenpalet van de site */
.review-card {
  position: relative;
  background-color: #fff;
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 32px 28px 24px;
  display: flex;
  flex-direction: column;
  width: 100%;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(23, 21, 19, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.review-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(23, 21, 19, 0.09);
}
/* Accentbalk bovenaan, zoals een keurmerk-strip */
.review-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--werkspot-orange), var(--wa-green));
}

.review-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.review-avatar {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--text);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 0.5px;
}
.review-header-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.author-name {
  font-style: normal; /* browsers cursiveren <cite> standaard */
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.3;
}
.review-date {
  font-size: 13px;
  color: var(--text-muted);
}
.stars {
  color: var(--werkspot-orange);
  font-size: 18px;
  letter-spacing: 2px;
  margin-bottom: 14px;
}
.review-text {
  margin: 0 0 20px;
  position: relative;
  flex-grow: 1;
  padding-left: 4px;
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}
.review-author {
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-top: auto;
}

/* Swiper Навігація */
.swiper-button-next,
.swiper-button-prev {
  color: var(--text);
  background-color: var(--bg);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 16px;
  font-weight: bold;
}
.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--text);
  color: var(--bg);
}
.swiper-pagination-bullet-active {
  background-color: var(--text);
}

/* =========================================
   8. КРОКИ РОБОТИ (WERKWIJZE)
========================================= */
/* Werkwijze gebruikt nu dezelfde basis-padding (80px) als de andere secties,
   voor een consistent ritme tussen alle secties op de pagina. */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  justify-content: center;
  text-align: center;
}
.step-num {
  font-size: 56px;
  font-weight: 700;
  color: var(--border);
  line-height: 1;
  margin-bottom: 20px;
}
.step-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
}
.step-item p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.7;
}

/* =========================================
   9. КОНТАКТНА ФОРМА ТА FOOTER
========================================= */
/* Contact gebruikt nu enkel de basis-padding, samen met de padding van de
   footer erna, voor een consistent ritme (geen dubbele marge meer). */

.contact-wrapper {
  background-color: var(--text);
  color: var(--bg);
  padding: 60px;
  border-radius: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: space-between;
}
.contact-info,
.contact-form-styled {
  flex: 1;
  min-width: 300px;
}
.contact-title {
  color: var(--bg);
}
.contact-subtitle {
  opacity: 0.85;
  margin-bottom: 30px;
}
.contact-method {
  margin-bottom: 20px;
}
.contact-wa-link {
  color: #4ade80;
}
.contact-email-link {
  color: var(--bg-light);
}
.contact-wa-link:hover,
.contact-email-link:hover {
  text-decoration: underline;
}

.form-field {
  margin-top: 14px;
}
.form-field:first-child {
  margin-top: 0;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  font: inherit;
  font-size: 15px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #fff !important;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.form-input-styled {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}
.form-btn-styled {
  background-color: var(--bg);
  color: var(--text);
  margin-top: 20px;
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
}
.form-btn-styled:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}
.form-btn-styled:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.form-status {
  margin-top: 16px;
  font-size: 14px;
  font-weight: 600;
  min-height: 20px;
}
.form-status.is-success {
  color: #8fe0ab;
}
.form-status.is-error {
  color: #ff9d94;
}

footer {
  background: var(--text);
  color: var(--bg);
  padding: 80px 0 40px;
  text-align: center;
}
.footer-logo {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 2px;
}
.footer-address {
  font-style: normal;
}
.footer-contact-info {
  margin-bottom: 8px;
}
.footer-contact-info a:hover {
  text-decoration: underline;
}
.footer-links {
  margin-top: 12px;
}
.footer-links a {
  text-decoration: underline;
  text-underline-offset: 3px;
  font-size: 14px;
}
.footer-text {
  font-size: 14px;
  opacity: 0.6;
  margin-top: 40px;
}

/* =========================================
   10. ПЛАВАЮЧА КНОПКА WHATSAPP & COOKIE
========================================= */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background-color: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(31, 168, 81, 0.4);
  z-index: 999;
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
  animation: floatPulse 2s infinite;
}
.whatsapp-float:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 6px 16px rgba(31, 168, 81, 0.6);
  animation: none;
}
.whatsapp-float-icon {
  width: 30px;
  height: 30px;
  color: #fff;
}

.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  max-width: 640px;
  margin: 0 auto;
  background: var(--text);
  color: var(--bg);
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  z-index: 1500;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  justify-content: space-between;
}
.cookie-banner[hidden] {
  display: none;
}
.cookie-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.cookie-banner .btn-hero-primary,
.cookie-banner .btn-hero-secondary {
  padding: 10px 20px;
  font-size: 14px;
  border-radius: 4px;
}
.cookie-banner .btn-hero-secondary {
  color: var(--bg);
  border-color: rgba(234, 229, 220, 0.5);
}

/* =========================================
   11. АНІМАЦІЇ (KEYFRAMES)
========================================= */
/* Початковий стан перед анімацією */
.header-top,
.header-top .logo,
.header-top .nav-menu,
.header-top .header-actions,
.header-top .hamburger,
.hero-title,
.hero-desc,
.hero-actions {
  opacity: 0;
  animation-fill-mode: forwards;
}

@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes floatPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(31, 168, 81, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(31, 168, 81, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(31, 168, 81, 0);
  }
}

.header-top {
  animation-name: fadeInDown;
  animation-duration: 0.6s;
  animation-timing-function: ease-out;
}
.header-top .logo {
  animation-name: fadeInDown;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-delay: 0.2s;
}
.header-top .nav-menu {
  animation-name: fadeInDown;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-delay: 0.3s;
}
.header-top .header-actions,
.header-top .hamburger {
  animation-name: fadeInDown;
  animation-duration: 0.5s;
  animation-timing-function: ease-out;
  animation-delay: 0.4s;
}

.hero-title,
.hero-desc,
.hero-actions {
  animation-name: fadeInUp;
  animation-duration: 0.8s;
  animation-timing-function: ease-out;
}
.hero-title {
  animation-delay: 0.2s;
}
.hero-desc {
  animation-delay: 0.4s;
}
.hero-actions {
  animation-delay: 0.6s;
}

/* =========================================
   12. АДАПТИВНІСТЬ (MEDIA QUERIES)
========================================= */
@media (max-width: 992px) {
  .header-actions {
    display: none;
  }
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 72px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 72px);
    background-color: var(--bg);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    transition: 0.3s ease-in-out;
  }
  .nav-menu.active {
    left: 0;
  }
  .nav-link {
    font-size: 20px;
  }
  .mobile-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    margin-top: 20px;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .btn-hero-primary,
  .btn-hero-secondary {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 768px) {
  section {
    padding: 60px 0;
  }
  .hero-inner {
    padding: 20px;
    text-align: center;
  }
  .hero-actions {
    justify-content: center;
  }

  .trust-item {
    justify-content: center;
    text-align: center;
    flex-direction: column;
    align-items: center;
    gap: 8px;
  }
  .trust-item::before {
    margin-bottom: 4px;
  }

  .swiper-button-prev,
  .swiper-button-next {
    display: none;
  }

  .reviews-grid,
  .services-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .contact-wrapper {
    padding: 40px 24px !important;
  }

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }

  .cookie-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }
}

/* =========================================
   13. WERKSPOT LINKS (echte review-koppeling)
========================================= */
.werkspot-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text);
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 14px;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}
.werkspot-badge:hover {
  background: var(--wa-green);
  border-color: var(--wa-green);
  color: #fff;
  transform: translateY(-1px);
}
.werkspot-cta {
  margin-top: 40px;
}

/* =========================================
   14. FAQ
========================================= */
.faq-section {
  max-width: 900px;
}
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 4px 24px;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 32px 20px 0;
  font-weight: 600;
  font-size: 16px;
  position: relative;
  transition: color 0.2s;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-muted);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}
.faq-item[open] summary {
  color: var(--werkspot-orange);
}
.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  padding-bottom: 22px;
  padding-right: 32px;
}

/* =========================================
   15. LEAD POPUP MODAL
========================================= */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(23, 21, 19, 0.6);
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  animation: leadFadeIn 0.3s ease forwards;
}
.lead-modal-overlay[hidden] {
  display: none;
}

.lead-modal {
  position: relative;
  background: var(--bg-light);
  border-radius: 16px;
  padding: 40px;
  max-width: 440px;
  width: 100%;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.3);
  transform: translateY(24px);
  animation: leadSlideUp 0.35s ease forwards;
}

@keyframes leadFadeIn {
  to {
    opacity: 1;
  }
}
@keyframes leadSlideUp {
  to {
    transform: translateY(0);
  }
}

.lead-modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  line-height: 1;
  color: var(--text-muted);
  transition: background-color 0.2s, color 0.2s;
}
.lead-modal-close:hover {
  background: var(--border);
  color: var(--text);
}

.lead-modal h2 {
  font-size: 24px;
  margin-bottom: 12px;
  padding-right: 28px;
}
.lead-modal p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.lead-input {
  width: 100%;
  background: #fff;
  color: var(--text);
  border: 1px solid var(--border);
  padding: 14px 16px;
  font: inherit;
  font-size: 15px;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s;
}
.lead-input::placeholder {
  color: var(--text-muted);
}
.lead-input:focus {
  border-color: var(--text);
}

.lead-submit {
  width: 100%;
  margin-top: 6px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  background: var(--text);
  color: var(--bg);
  border-radius: 6px;
  transition: opacity 0.2s, transform 0.2s;
}
.lead-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}
.lead-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

@media (max-width: 480px) {
  .lead-modal {
    padding: 32px 24px;
  }
}