:root {
  --color-blue: #001AFF;
  --color-coral: #FC2E3D;
  --color-dark: #2B2E38;
  --color-dark-2: #1a1c24;
  --color-gray: #85878F;
  --color-light-gray: #F6F6F7;
  --color-mint: #EDEFFB;
  --color-border: #E3E4E8;
  --color-white: #FFFFFF;
  --radius: 22px;
  --radius-sm: 14px;
  --container-width: 1160px;
  --font: "Segoe UI", "Proxima Nova", Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--color-dark);
  background: var(--color-white);
  line-height: 1.55;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }

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

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* Eyebrow label */
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--color-coral);
  margin-bottom: 16px;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: var(--color-coral);
}

.eyebrow__dot {
  display: none;
}

.eyebrow--center {
  justify-content: center;
}

.section-title {
  font-size: clamp(1.6rem, 2.6vw, 2.3rem);
  margin-bottom: 30px;
  font-weight: 800;
  line-height: 1.2;
}

.section-title--center { text-align: center; max-width: 720px; margin-left: auto; margin-right: auto; }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Buttons - pill with arrow circle, Dentox style */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: none;
  border-radius: 50px;
  padding: 8px 8px 8px 26px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn--primary {
  background: var(--color-coral);
  color: var(--color-white);
}

.btn__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  font-size: 1.1rem;
  transition: transform 0.25s ease;
}

.btn--primary:hover {
  box-shadow: 0 10px 24px rgba(252, 46, 61, 0.35);
  transform: translateY(-2px);
}

.btn--primary:hover .btn__arrow { transform: rotate(45deg); }

.btn--ghost {
  background: transparent;
  color: var(--color-dark);
  border: 1.5px solid var(--color-border);
  padding: 14px 28px;
}

.btn--ghost:hover { border-color: var(--color-blue); color: var(--color-blue); }

.btn--lg { padding: 10px 10px 10px 32px; font-size: 1.02rem; }
.btn--ghost.btn--lg { padding: 15px 30px; }

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
}

.header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  padding-top: 8px;
  padding-bottom: 8px;
  transition: padding 0.25s ease;
}

.header.is-scrolled .header__inner {
  padding-top: 8px;
  padding-bottom: 8px;
}

.header.is-scrolled {
  box-shadow: 0 6px 20px rgba(43, 46, 56, 0.08);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
}

.logo__icon { width: 36px; height: 36px; }

.logo__icon--full {
  width: auto;
  height: 64px;
  object-fit: contain;
}

.logo__icon--footer {
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

.logo__accent { color: var(--color-coral); }

.nav {
  display: flex;
  gap: 24px;
  margin-left: auto;
  flex-wrap: wrap;
}

.nav a {
  font-weight: 500;
  color: var(--color-dark);
  position: relative;
  padding: 6px 0;
}

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

.header__cta { flex-shrink: 0; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
}

.burger span {
  display: block;
  height: 2px;
  background: var(--color-dark);
  border-radius: 2px;
}

/* Hero */
.hero {
  background: linear-gradient(160deg, var(--color-dark) 0%, var(--color-dark-2) 100%);
  color: var(--color-white);
  padding: 90px 0 110px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  right: -120px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 26, 255, 0.35), transparent 70%);
}

.hero__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
  position: relative;
}

.hero__text { max-width: 540px; }

.hero .eyebrow { color: #7ea0ff; }
.hero .eyebrow::before { background: #7ea0ff; }

.hero h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  font-weight: 800;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero__subtitle {
  font-size: 1.1rem;
  color: #cfd2db;
  margin-bottom: 34px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero .btn--ghost {
  color: var(--color-white);
  border-color: rgba(255, 255, 255, 0.3);
}

.hero .btn--ghost:hover { border-color: var(--color-white); color: var(--color-white); background: rgba(255,255,255,0.08); }

.hero__visual {
  position: relative;
  flex-shrink: 0;
  width: 420px;
  max-width: 100%;
}

.hero__photo-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 4.6;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  background: linear-gradient(145deg, var(--color-blue), #3b4cff);
}

.hero__photo-wrap--empty::after {
  content: "🔧";
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 4rem;
}

.hero__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__float-card {
  position: absolute;
  left: -30px;
  bottom: -30px;
  background: var(--color-coral);
  color: var(--color-white);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 20px 40px rgba(252, 46, 61, 0.4);
}

.hero__float-num { font-size: 2.1rem; font-weight: 800; line-height: 1; }
.hero__float-text { font-size: 0.72rem; margin-top: 4px; }

/* Perks */
.perks { padding: 44px 0; background: var(--color-mint); }

.perks__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.perk__icon {
  font-size: 1.8rem;
  margin: 0 auto 10px;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(43, 46, 56, 0.08);
}

.perk p { font-weight: 600; font-size: 0.95rem; }

/* Services */
.services { padding: 90px 0; }

.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px 26px;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
  position: relative;
}

.service-card:hover {
  box-shadow: 0 20px 44px rgba(43, 46, 56, 0.12);
  transform: translateY(-6px);
}

.service-card__icon {
  font-size: 1.6rem;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--color-mint);
  margin-bottom: 18px;
}

.service-card h3 { font-size: 1.15rem; margin-bottom: 10px; }

.service-card p { color: var(--color-gray); font-size: 0.95rem; margin-bottom: 20px; }

.service-card__photo {
  height: 120px;
  border-radius: var(--radius-sm);
  background: var(--color-light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.6rem;
  transition: transform 0.3s ease;
}

.service-card:hover .service-card__photo { transform: scale(1.05); }

/* About */
.about { padding: 90px 0; background: var(--color-light-gray); }

.about__text { max-width: 820px; }

.about p { margin-bottom: 16px; color: var(--color-dark); }

.about h3 { margin: 24px 0 12px; font-size: 1.3rem; }

.about__salary {
  font-weight: 700;
  color: var(--color-blue);
  background: var(--color-white);
  border-left: 4px solid var(--color-coral);
  padding: 14px 18px;
  border-radius: 8px;
}

.about__stat {
  margin-top: 34px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 20px;
  border-top: 1px dashed var(--color-border);
}

.about__stat-num, .about__stat-plus {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--color-coral);
}

.about__stat-label { color: var(--color-gray); font-weight: 600; margin: 0; }

.about__cities {
  margin-top: 20px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.city-tag {
  background: var(--color-blue);
  color: var(--color-white);
  padding: 8px 18px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  transition: transform 0.2s ease;
}

.city-tag:hover { transform: translateY(-3px); }

/* Process */
.process { padding: 90px 0; }

.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
}

.process__grid::before {
  content: "";
  position: absolute;
  top: 22px;
  left: 10%;
  right: 10%;
  height: 0;
  border-top: 2px dashed var(--color-border);
  z-index: 0;
}

.process__step {
  position: relative;
  padding-top: 10px;
  background: var(--color-white);
  z-index: 1;
}

.process__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-dark);
  color: var(--color-white);
  font-weight: 800;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.process__step:hover .process__num { background: var(--color-coral); }

.process__step h3 { margin-bottom: 8px; font-size: 1.1rem; }

.process__step p { color: var(--color-gray); font-size: 0.9rem; }

/* Works */
.works { padding: 90px 0; background: var(--color-mint); }

.works__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.work-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 44px 20px;
  text-align: center;
  border: 1px solid var(--color-border);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.work-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(43, 46, 56, 0.1);
}

.work-card__icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  transition: transform 0.3s ease;
}

.work-card:hover .work-card__icon { transform: scale(1.15) rotate(-4deg); }

.work-card p { font-weight: 600; }

/* Reviews */
.reviews { padding: 90px 0; }

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

.review-card {
  background: var(--color-light-gray);
  border-radius: var(--radius);
  padding: 30px 28px;
  position: relative;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.review-card:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(43,46,56,0.08); }

.review-card__quote {
  font-size: 2.8rem;
  color: var(--color-coral);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.review-card__text { margin-bottom: 16px; color: var(--color-dark); }

.review-card__author { font-weight: 700; color: var(--color-blue); }

/* CTA banner */
.cta-banner {
  padding: 70px 0;
  background: var(--color-dark);
  color: var(--color-white);
  text-align: center;
}

.cta-banner__inner { max-width: 640px; margin: 0 auto; }

.cta-banner h2 { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; margin-bottom: 14px; }

.cta-banner p { color: #cfd2db; margin-bottom: 30px; }

/* Contacts */
.contacts { padding: 90px 0; background: var(--color-light-gray); }

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

.contacts__item {
  background: var(--color-white);
  border-radius: var(--radius-sm);
  padding: 26px 22px;
  border: 1px solid var(--color-border);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.contacts__item:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(43,46,56,0.08); }

.contacts__item h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-gray);
  margin-bottom: 10px;
}

.contacts__item a,
.contacts__item p {
  font-size: 1.1rem;
  font-weight: 700;
}

.contacts__item a:hover { color: var(--color-blue); }

/* Footer */
.footer {
  background: var(--color-dark);
  color: var(--color-white);
  padding: 30px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer p { color: #9a9ca5; font-size: 0.9rem; }

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

/* Responsive */
@media (max-width: 900px) {
  .perks__grid { grid-template-columns: repeat(2, 1fr); }
  .services__grid { grid-template-columns: 1fr; }
  .process__grid { grid-template-columns: repeat(2, 1fr); }
  .process__grid::before { display: none; }
  .works__grid { grid-template-columns: repeat(2, 1fr); }
  .reviews__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: repeat(2, 1fr); }
  .hero__inner { flex-direction: column; }
  .hero__text { max-width: 100%; text-align: center; }
  .hero .eyebrow, .eyebrow { justify-content: center; }
  .hero__actions { justify-content: center; }
}

@media (max-width: 760px) {
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid var(--color-border);
  }
  .nav.open { display: flex; }
  .burger { display: flex; }
  .header__cta { display: none; }
  .hero__visual { width: 100%; max-width: 320px; margin: 0 auto; }
}

@media (max-width: 560px) {
  .perks__grid { grid-template-columns: 1fr; }
  .works__grid { grid-template-columns: 1fr; }
  .contacts__grid { grid-template-columns: 1fr; }
}
