/* ===== БАЗА ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0f;
  --bg-elev: #12121a;
  --text: #f2f2f5;
  --text-dim: #a0a0ad;
  --accent: #ff5f4e;
  --accent-2: #ffb547;
  --border: rgba(255,255,255,0.08);
  --radius: 16px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: inherit; text-decoration: none; }

/* ===== ШАПКА ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.05em;
}

.logo span:not(.logo__dot) {
  color: var(--accent);
}

.logo__dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 12px var(--accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  font-size: 0.95rem;
  color: var(--text-dim);
  transition: color 0.2s;
  position: relative;
}

.nav a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 0; height: 1px;
  background: var(--accent);
  transition: width 0.25s;
}

.nav a:hover { color: var(--text); }
.nav a:hover::after { width: 100%; }

/* ===== ГЕРОЙ-СЕКЦИЯ ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 4rem;
  overflow: hidden;
}

.hero__glow {
  position: absolute;
  top: 20%; left: 50%;
  width: 700px; height: 700px;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255,95,78,0.18) 0%, transparent 65%);
  filter: blur(60px);
  pointer-events: none;
}

.hero__inner {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 900px;
}

.hero__eyebrow {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.hero__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero__title em {
  font-style: normal;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: var(--text-dim);
  margin-bottom: 2.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2.2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: transform 0.25s, box-shadow 0.25s, background 0.25s;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  color: #0a0a0f;
  box-shadow: 0 10px 30px rgba(255,95,78,0.35);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(255,95,78,0.5);
}

.btn--instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  color: #fff;
  box-shadow: 0 10px 30px rgba(220,39,67,0.35);
}

.btn--instagram:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(220,39,67,0.55);
}

.hero__scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 24px; height: 40px;
  border: 2px solid var(--border);
  border-radius: 12px;
}

.hero__scroll span {
  display: block;
  width: 4px; height: 8px;
  margin: 6px auto 0;
  background: var(--accent);
  border-radius: 2px;
  animation: scrollDown 1.8s infinite;
}

@keyframes scrollDown {
  0% { transform: translateY(0); opacity: 1; }
  100% { transform: translateY(14px); opacity: 0; }
}

/* ===== ОБЩИЕ СЕКЦИИ ===== */
.section {
  padding: 7rem 0;
}

.section__eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section__title {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
  margin-bottom: 1.5rem;
}

.section__lead {
  font-size: 1.05rem;
  color: var(--text-dim);
  max-width: 720px;
  margin-bottom: 3rem;
}

/* ===== ОБО МНЕ ===== */
.about { background: var(--bg); }

.about__layout {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 4rem;
  align-items: center;
  margin-top: 2rem;
}

/* Фото */
.about__photo {
  position: relative;
}

.about__photo::before {
  content: '';
  position: absolute;
  top: 20px; left: 20px; right: -20px; bottom: -20px;
  border: 2px solid var(--accent);
  border-radius: var(--radius);
  z-index: 0;
  transition: top 0.4s, left 0.4s;
}

.about__photo:hover::before {
  top: 10px; left: 10px;
}

.about__photo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  border-radius: var(--radius);
  object-fit: cover;
  aspect-ratio: 3 / 4;
  filter: grayscale(20%) contrast(1.05);
  transition: filter 0.4s;
}

.about__photo:hover img {
  filter: grayscale(0%) contrast(1);
}

/* Текстовая колонка */
.about__content {
  display: flex;
  flex-direction: column;
}

.about__content .section__title {
  margin-bottom: 1.2rem;
}

.about__content .section__lead {
  margin-bottom: 2.5rem;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  max-width: 100%;
}

.stat {
  padding: 1.2rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--bg-elev);
  text-align: center;
}

.stat__num {
  display: block;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 1.8rem;
  background: linear-gradient(120deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 0.25rem;
}

.stat__label {
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ===== УСЛУГИ ===== */
.services { background: var(--bg); }

.services__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-top: 3rem;
}

.service-card {
  padding: 2.2rem 1.8rem;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.3s, border-color 0.3s, background 0.3s;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(255,95,78,0.3);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  color: var(--accent);
}

.service-card__icon svg {
  width: 100%; height: 100%;
}

.service-card h3 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-dim);
}

/* ===== CTA ===== */
.cta {
  padding: 6rem 0;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-elev) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.cta h2 {
  font-family: 'Unbounded', sans-serif;
  font-weight: 600;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

.cta p {
  color: var(--text-dim);
  margin-bottom: 2rem;
}

/* ===== ПОДВАЛ ===== */
.footer {
  padding: 3rem 0;
  text-align: center;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Unbounded', sans-serif;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
}

.socials a {
  padding: 0.5rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.9rem;
  color: var(--text-dim);
  transition: all 0.25s;
}

.socials a:hover {
  color: var(--text);
  border-color: var(--accent);
  background: rgba(255,95,78,0.08);
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--text-dim);
  opacity: 0.7;
}

/* ===== АНИМАЦИЯ ПОЯВЛЕНИЯ ===== */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== ФОРМА ОБРАТНОЙ СВЯЗИ ===== */
.contact-form {
  width: 100%;
  max-width: 520px;
  margin: 2rem auto 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  text-align: left;
}

.contact-form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.9rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.95rem 1.1rem;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--text);
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, background 0.2s;
  outline: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: var(--text-dim);
  opacity: 0.7;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  background: rgba(255,95,78,0.05);
}

.contact-form textarea {
  resize: vertical;
  min-height: 110px;
}

.contact-form .btn {
  width: 100%;
  margin-top: 0.4rem;
}

.contact-form__note {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  opacity: 0.7;
  margin-top: 0.4rem;
}

/* Мобильная версия — поля в столбик */
@media (max-width: 520px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}

/* ===== АДАПТИВ ===== */

/* Планшет и меньше */
@media (max-width: 1025px) {
  .nav { gap: 1rem; }
  .nav a { font-size: 0.85rem; }
  .section { padding: 4.5rem 0; }
  .hero { padding: 7rem 0 3rem; }
  .logo { font-size: 0.85rem; }
  .hero__scroll { display: none; }
}

/* Средние экраны */
@media (max-width: 900px) {
  .about__layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .about__photo {
    max-width: 320px;
    margin: 0 auto;
  }
  .pricing-card--featured {
    transform: none;
  }
  .pricing-card--featured:hover {
    transform: translateY(-6px);
  }
}

/* Мобильные */
@media (max-width: 700px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat:last-child { grid-column: 1 / -1; }
  .services__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
}

/* Узкие экраны */
@media (max-width: 640px) {
  .services__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  .service-card__body {
    padding: 1.2rem 1.3rem 1.4rem;
  }
  .service-card__body h3 {
    font-size: 1rem;
  }
  .pricing-card {
    padding: 1.8rem 1.5rem;
  }
  .pricing-card__price {
    font-size: 1.7rem;
  }
}

/* Форма — поля в столбик */
@media (max-width: 520px) {
  .contact-form__row {
    grid-template-columns: 1fr;
  }
}