/* ===== CSS Variables ===== */
:root {
  --bg-primary:     #0e1116;
  --bg-secondary:   #1a1f2e;
  --bg-card:        #232a3d;
  --bg-elevated:    #2d3748;

  --accent:         #facc15;
  --accent-hover:   #eab308;
  --accent-soft:    rgba(250, 204, 21, 0.1);

  --text-primary:   #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;
  --text-on-accent: #0e1116;

  --border:         #2d3748;
  --border-strong:  #4a5568;

  --danger:         #ef4444;
  --success:        #22c55e;
  --warning:        #f59e0b;
  --whatsapp:       #1ea052;

  --shadow-sm:      0 2px 4px rgba(0, 0, 0, 0.3);
  --shadow-md:      0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-lg:      0 12px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow:    0 0 32px rgba(250, 204, 21, 0.3);

  --radius-sm:  6px;
  --radius-md:  8px;
  --radius-lg:  12px;
  --radius-xl:  16px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ===== Typography ===== */
h1, h2, h3 {
  font-family: 'Bebas Neue', sans-serif;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02em;
}

h1 { font-size: clamp(3rem, 8vw, 5rem); }
h2 { font-size: clamp(2.25rem, 5vw, 3.5rem); }
h3 { font-size: clamp(1.5rem, 3vw, 2rem); }

h4 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(1.125rem, 2vw, 1.375rem);
  font-weight: 600;
}

p { max-width: 70ch; }

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

img, svg { display: block; }

/* ===== Layout ===== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
}

section {
  padding: 96px 0;
}

@media (max-width: 1024px) {
  section { padding: 72px 0; }
}

@media (max-width: 640px) {
  section { padding: 48px 0; }
}

/* ===== Accessibility ===== */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 200;
  padding: 12px 20px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-decoration: none;
  border-radius: var(--radius-md);
  transform: translateY(-200%);
  transition: transform 0.2s ease-out;
}

.skip-link:focus-visible {
  transform: translateY(0);
  outline-offset: 4px;
}

.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;
}

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.02em;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: all 0.2s ease-out;
  white-space: nowrap;
  text-decoration: none;
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--accent-hover);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  outline: none;
}

.btn-hero-phone {
  padding: 20px 36px;
  font-size: 18px;
  font-weight: 700;
  gap: 12px;
  border-radius: 10px;
  box-shadow:
    0 8px 24px rgba(250, 204, 21, 0.25),
    0 0 0 0 rgba(250, 204, 21, 0.4);
  animation: pulse-glow 2.5s ease-in-out infinite;
}

.btn-hero-phone:hover {
  animation: none;
  box-shadow:
    0 12px 32px rgba(250, 204, 21, 0.4),
    0 0 0 4px rgba(250, 204, 21, 0.15);
}

.btn-hero-phone .phone-num {
  font-weight: 800;
  font-size: 18px;
  padding-left: 12px;
  border-left: 2px solid rgba(14, 17, 22, 0.3);
  margin-left: 4px;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow:
      0 8px 24px rgba(250, 204, 21, 0.25),
      0 0 0 0 rgba(250, 204, 21, 0.4);
  }
  50% {
    box-shadow:
      0 8px 24px rgba(250, 204, 21, 0.35),
      0 0 0 12px rgba(250, 204, 21, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .btn-hero-phone { animation: none; }
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-md);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  transition: all 0.2s ease-out;
  white-space: nowrap;
  text-decoration: none;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: var(--accent);
  color: var(--accent);
  outline: none;
}

/* ===== Cards ===== */
.card-service {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease-out;
}

.card-service:hover {
  border-color: var(--accent);
  background: var(--bg-elevated);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.card-pain {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all 0.3s ease-out;
}

.card-pain:hover {
  border-color: var(--accent);
  transform: scale(1.02);
}

/* ===== Trust line ===== */
.trust-line {
  display: flex;
  gap: 28px;
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(248, 250, 252, 0.08);
  flex-wrap: wrap;
}

.trust-line__item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text-primary);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.trust-line__item svg {
  color: var(--accent);
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  filter: drop-shadow(0 0 4px rgba(250, 204, 21, 0.3));
}

/* ===== FAQ accordion ===== */
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  margin-bottom: 12px;
  overflow: hidden;
}

details summary {
  padding: 20px 24px;
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
  color: var(--text-primary);
}

details summary::-webkit-details-marker { display: none; }

details summary::after {
  content: '+';
  color: var(--accent);
  font-size: 24px;
  line-height: 1;
  transition: transform 0.3s ease-out;
  flex-shrink: 0;
}

details[open] summary::after {
  transform: rotate(45deg);
}

details > div {
  padding: 0 24px 20px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ===== Form ===== */
.form-input,
.form-select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  transition: border-color 0.2s ease-out;
  appearance: none;
}

.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: var(--accent);
}

.form-input::placeholder {
  color: var(--text-muted);
}

.form-select {
  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='%2394a3b8' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
  cursor: pointer;
}

.form-select option {
  background: var(--bg-card);
  color: var(--text-primary);
}

.form-checkbox {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
  flex-shrink: 0;
}

/* ===== Section decorators ===== */
.section-label {
  display: inline-block;
  color: var(--accent);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.hero-section .section-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 20px;
  padding: 0;
  background: transparent;
  color: var(--accent);
}

/* ===== Icon wrapper ===== */
.icon-wrap {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--accent-soft);
  border-radius: var(--radius-md);
  color: var(--accent);
  flex-shrink: 0;
}

.icon-wrap--lg {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
}

/* ===== Price badge ===== */
.price-badge {
  display: inline-block;
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  color: var(--accent);
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 20px;
  padding: 8px 20px;
  border-radius: var(--radius-sm);
}

/* ===== Header ===== */
.header-sticky {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-primary);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease-out;
}

.header-sticky.scrolled {
  background: rgba(14, 17, 22, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.header-logo img {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.header-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.header-logo-top {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.header-logo-bottom {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-transform: uppercase;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}

.header-nav-link {
  padding: 8px 16px;
  color: var(--text-secondary);
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease-out;
}

.header-nav-link:hover,
.header-nav-link:focus-visible {
  color: var(--text-primary);
  background: var(--accent-soft);
  outline: none;
}

.header-contacts {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-primary);
  font-family: 'Manrope', sans-serif;
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease-out;
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--accent);
}

.header-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: rgba(248, 250, 252, 0.06);
  border: 1px solid rgba(248, 250, 252, 0.15);
  border-radius: 50%;
  color: var(--text-primary);
  transition: all 0.2s ease-out;
  flex-shrink: 0;
}

.header-wa:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--text-on-accent);
  transform: scale(1.05);
}

.header-hamburger {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease-out;
  flex-shrink: 0;
}

.header-hamburger:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.header-hamburger .icon-close { display: none; }

.nav-mobile-link {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-transform: uppercase;
  transition: color 0.2s ease-out;
}

.nav-mobile-link:hover {
  color: var(--accent);
}

.nav-mobile-cta {
  margin-top: 8px;
}

@media (max-width: 768px) {
  .header-inner { height: 60px; }
  .header-nav { display: none; }
  .header-contacts { display: none; }
  .header-hamburger { display: flex; }
}

/* ===== Grid helpers ===== */
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.cards-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .cards-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .cards-grid-4,
  .cards-grid-2 {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ===== Steps process ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== Mobile nav ===== */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--bg-primary);
  z-index: 200;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.nav-mobile.open {
  display: flex;
}

/* ===== Hero ===== */
.hero-section {
  position: relative;
  min-height: 720px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

@media (min-height: 900px) {
  .hero-section {
    min-height: 88vh;
  }
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      90deg,
      rgba(14, 17, 22, 0.95) 0%,
      rgba(14, 17, 22, 0.88) 35%,
      rgba(14, 17, 22, 0.6) 65%,
      rgba(14, 17, 22, 0.3) 100%
    ),
    linear-gradient(
      180deg,
      rgba(14, 17, 22, 0.4) 0%,
      rgba(14, 17, 22, 0) 30%,
      rgba(14, 17, 22, 0) 70%,
      rgba(14, 17, 22, 0.65) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-top: 88px;
  padding-bottom: 72px;
}

.hero-text {
  max-width: 880px;
}

.hero-h1 {
  color: var(--text-primary);
  font-size: clamp(48px, 9vw, 76px);
  line-height: 0.98;
  letter-spacing: 0;
  margin-bottom: 24px;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5);
}

.hero-h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-sub {
  font-size: clamp(16px, 1.2vw, 18px);
  color: #cbd5e1;
  margin-bottom: 32px;
  max-width: 600px;
  line-height: 1.5;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

@media (max-width: 640px) {
  .hero-section .section-label {
    font-size: 11px;
    letter-spacing: 0.16em;
    margin-bottom: 14px;
  }

  .hero-h1 {
    margin-bottom: 18px;
  }

  .hero-sub {
    font-size: 14px;
    line-height: 1.45;
    margin-bottom: 24px;
  }

  .hero-sub-extra {
    display: none;
  }

  .btn-hero-phone {
    padding: 16px 24px;
    font-size: 16px;
    width: 100%;
    justify-content: center;
  }

  .btn-hero-phone .phone-num {
    display: none;
  }

  .hero-cta .btn-secondary {
    width: 100%;
    justify-content: center;
  }

  .trust-line {
    gap: 12px 20px;
    margin-top: 24px;
    padding-top: 20px;
  }

  .trust-line__item {
    font-size: 14px;
  }

  .trust-line__item svg {
    width: 18px;
    height: 18px;
  }
}

@media (max-width: 480px) {
  .hero-content {
    padding-top: 72px;
    padding-bottom: 72px;
  }

  .hero-cta {
    flex-direction: column;
  }
}

/* ===== Hero scroll hint ===== */
.hero-scroll-hint {
  position: absolute;
  bottom: 32px;
  right: 48px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-secondary);
  text-decoration: none;
  animation: scroll-drift 2s ease-in-out infinite;
  transition: color 0.2s;
}

.hero-scroll-hint:hover {
  color: var(--accent);
}

@keyframes scroll-drift {
  0%, 100% { transform: translateY(0); opacity: 0.7; }
  50% { transform: translateY(6px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-scroll-hint { animation: none; }
}

@media (max-width: 768px) {
  .hero-scroll-hint { display: none; }
}

/* ===== WhatsApp fab ===== */
.whatsapp-fab {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 56px;
  height: 56px;
  background: var(--whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(30, 160, 82, 0.4);
  transition: all 0.2s ease-out;
}

.whatsapp-fab:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(30, 160, 82, 0.5);
}

/* ===== Section structure ===== */
.section-alt {
  background: var(--bg-secondary);
}

section h2 em {
  color: var(--accent);
  font-style: normal;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 1.125rem;
  max-width: 640px;
  margin-top: 16px;
  line-height: 1.7;
}

.section-body {
  margin-top: 48px;
}

@media (max-width: 640px) {
  .section-body { margin-top: 32px; }
}

/* ===== Card content ===== */
.card-pain .icon-wrap {
  margin-bottom: 16px;
}

.card-service .icon-wrap {
  margin-bottom: 20px;
}

.card-pain h4,
.card-service h4 {
  margin-bottom: 8px;
}

.card-pain p,
.card-service p {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.65;
  max-width: none;
}

/* ===== Service sections layout ===== */
.service-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.service-layout--reverse .service-content { order: 2; }
.service-layout--reverse .service-visual  { order: 1; }

@media (max-width: 1024px) {
  .service-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .service-layout--reverse .service-content,
  .service-layout--reverse .service-visual { order: unset; }
}

.service-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

.service-content h2 {
  margin-top: 8px;
}

.service-content h3 {
  margin-top: 32px;
  margin-bottom: 12px;
}

.service-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-top: 16px;
  max-width: none;
}

.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.55;
}

.service-list li::before {
  content: '';
  width: 6px;
  height: 6px;
  min-width: 6px;
  background: var(--accent);
  border-radius: 50%;
  margin-top: 8px;
}

.service-price-row {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.service-term {
  color: var(--text-muted);
  font-size: 14px;
}

.service-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 24px;
}

@media (max-width: 480px) {
  .service-cta { flex-direction: column; }
  .service-cta .btn-primary,
  .service-cta .btn-secondary { justify-content: center; }
}

.section-body h3 {
  margin-bottom: 24px;
}

.ball-type {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--accent);
  margin-bottom: 12px;
}

/* ===== Process steps ===== */
@media (min-width: 1025px) {
  .steps-grid {
    position: relative;
  }

  .steps-grid::before {
    content: '';
    position: absolute;
    top: 19px;
    left: calc(10% + 4px);
    right: calc(10% + 4px);
    height: 1px;
    background: linear-gradient(to right, var(--accent), var(--border-strong));
    z-index: 0;
  }
}

.step-card {
  text-align: center;
  padding: 0 4px;
}

.step-number {
  width: 38px;
  height: 38px;
  background: var(--accent);
  color: var(--text-on-accent);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  position: relative;
  z-index: 1;
}

.step-icon {
  margin: 0 auto 16px;
}

.step-card h4 {
  margin-bottom: 8px;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  max-width: none;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 860px;
}

/* ===== Form section ===== */
.form-section-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

@media (max-width: 1024px) {
  .form-section-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
}

.form-section-text h2 {
  margin-bottom: 16px;
}

.form-trust-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

.form-trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-secondary);
  font-size: 15px;
}

.form-field {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-field-error {
  display: none;
  font-size: 13px;
  color: var(--danger);
  margin-top: 4px;
}

.form-input.invalid,
.form-select.invalid {
  border-color: var(--danger);
}

.checkbox-wrap {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 24px;
}

.checkbox-wrap label {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  cursor: pointer;
}

.checkbox-wrap label a {
  color: var(--accent);
  text-decoration: underline;
}

.form-submit-wrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn-primary:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-alt-contact {
  font-size: 14px;
  color: var(--text-muted);
  text-align: center;
}

.form-alt-contact a {
  color: var(--accent);
  font-weight: 600;
}

.form-message {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: var(--radius-md);
  font-size: 15px;
  line-height: 1.5;
}

.form-message.success {
  display: block;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: var(--success);
}

.form-message.error {
  display: block;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: var(--danger);
}

/* ===== Contacts ===== */
.contacts-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  margin-top: 48px;
  align-items: start;
}

@media (max-width: 768px) {
  .contacts-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}

.contact-value {
  color: var(--text-primary);
  font-size: 16px;
  font-weight: 500;
  max-width: none;
}

.contact-value a {
  color: var(--text-primary);
  transition: color 0.2s ease-out;
}

.contact-value a:hover {
  color: var(--accent);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-secondary);
  transition: all 0.2s ease-out;
}

.social-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 360px;
  background: var(--bg-card);
  border: 2px dashed var(--border-strong);
  border-radius: var(--radius-lg);
  color: var(--text-secondary);
  text-align: center;
  padding: 40px;
}

.map-placeholder p:last-child {
  color: var(--text-muted);
  font-size: 14px;
}

.contacts-map iframe {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-lg);
  border: 0;
  display: block;
}

.map-route-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-bottom: 16px;
}

/* ===== Footer ===== */
footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
}

@media (max-width: 768px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 480px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
  max-width: 280px;
}

.footer-heading {
  font-family: 'Manrope', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav li {
  color: var(--text-secondary);
  font-size: 15px;
}

.footer-nav a {
  color: var(--text-secondary);
  font-size: 15px;
  transition: color 0.2s ease-out;
}

.footer-nav a:hover {
  color: var(--accent);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.footer-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
}

.footer-bottom p,
.footer-legal a {
  color: var(--text-muted);
  font-size: 13px;
  max-width: none;
}

.footer-legal a:hover {
  color: var(--accent);
}

@media (max-width: 640px) {
  .footer-bottom {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-legal {
    justify-content: center;
  }
}

/* ===== TEK lab credit ===== */
.tek-credit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-muted);
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.tek-credit__name {
  font-weight: 700;
  color: #C8FF00;
  text-shadow:
    0 0 4px rgba(200, 255, 0, 0.5),
    0 0 8px rgba(200, 255, 0, 0.3);
  transition: text-shadow 0.3s ease;
  animation: tek-glow-pulse 3s ease-in-out infinite;
}

.tek-credit:hover {
  color: var(--text-secondary);
}

.tek-credit:hover .tek-credit__name {
  text-shadow:
    0 0 6px rgba(200, 255, 0, 0.85),
    0 0 12px rgba(200, 255, 0, 0.55),
    0 0 20px rgba(200, 255, 0, 0.3);
  animation: none;
}

@keyframes tek-glow-pulse {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(200, 255, 0, 0.45),
      0 0 8px rgba(200, 255, 0, 0.25);
  }
  50% {
    text-shadow:
      0 0 6px rgba(200, 255, 0, 0.65),
      0 0 12px rgba(200, 255, 0, 0.4);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tek-credit__name {
    animation: none;
  }
}
