/* ===== Reset & Base ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: #F5EFEB;
  color: #2F4156;
  line-height: 1.6;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; display: block; }
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #F5EFEB; }
::-webkit-scrollbar-thumb { background: #C8D9E6; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #567C8D; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-weight: 600;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  transition: all .3s ease;
  background: transparent;
  color: #2F4156;
}
.btn--small {
  padding: 8px 20px;
  font-size: 14px;
  border-color: #C8D9E6;
  color: #fff;
}
.btn--small:hover {
  background: #567C8D;
  border-color: #567C8D;
  color: #fff;
}
.btn--large {
  padding: 16px 36px;
  font-size: 16px;
}
.btn--primary {
  padding: 12px 28px;
  background: #567C8D;
  color: #fff;
  border-color: #4A6F7D;
}
.btn--primary:hover {
  background: #2F4156;
  border-color: #2F4156;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(47,65,86,.25);
}
.hero__btn {
  background: #567C8D;
  color: #fff;
  border-color: #567C8D;
}
.hero__btn:hover {
  background: #2F4156;
  border-color: #2F4156;
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(47,65,86,.3);
}

/* ===== Section ===== */
.section {
  padding: 100px 0;
}
.section__header {
  text-align: center;
  margin-bottom: 60px;
}
.section__title {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  color: #2F4156;
}
.section__desc {
  font-size: 18px;
  color: #567C8D;
}
.accent { color: #567C8D; }

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px 0;
  background: #2F4156;
  transition: background .3s ease;
}
.header.scrolled {
  background: #2F4156;
  box-shadow: 0 2px 20px rgba(47,65,86,.3);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -.5px;
  color: #fff;
}
.logo:hover { color: #C8D9E6; }
.nav { display: flex; gap: 22px; }
.nav__link {
  font-size: 15px;
  font-weight: 500;
  color: #C8D9E6;
  transition: color .3s;
  position: relative;
}
.nav__link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: width .3s;
}
.nav__link:hover { color: #fff; }
.nav__link:hover::after { width: 100%; }
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: all .3s;
}

/* ===== Hero ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -50%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(86,124,141,.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -30%; left: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(200,217,230,.3) 0%, transparent 70%);
  pointer-events: none;
}
.hero__inner {
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 1;
}
.hero__content {
  text-align: center;
  max-width: 720px;
}
.hero__badge {
  display: inline-block;
  padding: 6px 16px;
  background: #C8D9E6;
  border: 1px solid rgba(86,124,141,.2);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  color: #567C8D;
  margin-bottom: 20px;
}
.hero__title {
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 20px;
  color: #2F4156;
}
.hero__subtitle {
  font-size: 18px;
  color: #567C8D;
  line-height: 1.5;
  margin: 0 auto 28px;
  max-width: 480px;
}
.hero__actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
}
.hero__btn--ghost {
  background: transparent;
  color: #2F4156;
  border-color: #567C8D;
}
.hero__btn--ghost:hover {
  background: #567C8D;
  color: #fff;
  border-color: #567C8D;
}
.hero__stats {
  display: flex;
  gap: 40px;
  margin-top: 50px;
  justify-content: center;
}
.hero__stat {
  text-align: center;
}
.hero__stat-num {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: #567C8D;
}
.hero__stat-label {
  font-size: 13px;
  color: #2F4156;
  text-transform: uppercase;
  letter-spacing: .5px;
}
/* ===== About ===== */
.about { background: #fff; }
.about__inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 60px;
  align-items: center;
}
.about__photo {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about__photo-frame {
  width: 260px;
  height: 320px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  border: 1px solid #C8D9E6;
  background: #fff;
  box-shadow: 0 20px 60px rgba(47,65,86,.12);
}
.about__photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__photo-placeholder {
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 60px;
  font-weight: 800;
  color: #C8D9E6;
  background: linear-gradient(135deg, #fff, #F5EFEB);
}
.about__name {
  font-size: 15px;
  font-weight: 500;
  color: #567C8D;
  margin-top: 14px;
  letter-spacing: .3px;
}
.about__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.about__text {
  font-size: 17px;
  line-height: 1.7;
  color: #2F4156;
}

/* ===== Services ===== */
.services { background: #fff; }
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: #F5EFEB;
  border: 1px solid #C8D9E6;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all .3s ease;
}
.service-card:hover {
  background: #fff;
  border-color: #567C8D;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(47,65,86,.08);
}
.service-card__icon {
  font-size: 32px;
  margin-bottom: 16px;
}
.service-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  color: #2F4156;
}
.service-card__desc {
  font-size: 14px;
  color: #567C8D;
  line-height: 1.6;
}

/* ===== Cases ===== */
.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.steps { background: #fff; }
.steps__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.step-card {
  background: #F5EFEB;
  border: 1px solid #C8D9E6;
  border-radius: 16px;
  padding: 28px 24px;
}
.step-card__num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 14px;
  border-radius: 50%;
  background: #2F4156;
  color: #fff;
  font-weight: 700;
}
.step-card__title {
  margin-bottom: 8px;
  font-size: 18px;
  color: #2F4156;
}
.step-card__text {
  font-size: 15px;
  color: #567C8D;
}
.case-card {
  background: #F5EFEB;
  border: 1px solid #C8D9E6;
  border-radius: 16px;
  padding: 32px 28px;
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.case-card:hover {
  background: #fff;
  border-color: #567C8D;
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(47,65,86,.08);
}
.case-card__tag {
  display: inline-block;
  padding: 4px 12px;
  background: #C8D9E6;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  color: #2F4156;
  align-self: flex-start;
  margin-bottom: 16px;
}
.case-card__title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 12px;
  color: #2F4156;
}
.case-card__desc {
  font-size: 14px;
  color: #567C8D;
  line-height: 1.6;
  margin-bottom: auto;
}
.case-card__result {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #C8D9E6;
}
.case-card__result-num {
  display: block;
  font-size: 20px;
  font-weight: 800;
  color: #567C8D;
  margin-bottom: 4px;
}
.case-card__result-label {
  font-size: 13px;
  color: #2F4156;
}

/* ===== Pricing ===== */
.pricing { background: #fff; }
.pricing__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: #F5EFEB;
  border: 1px solid #C8D9E6;
  border-radius: 16px;
  padding: 36px 28px;
  text-align: center;
  transition: all .3s ease;
  position: relative;
}
.pricing-card--featured {
  border-color: #567C8D;
  background: #fff;
  transform: scale(1.04);
}
.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(47,65,86,.1);
}
.pricing-card--featured:hover {
  transform: scale(1.04) translateY(-4px);
}
.pricing-card__badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 4px 16px;
  background: #567C8D;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
}
.pricing-card__icon {
  font-size: 36px;
  margin-bottom: 16px;
}
.pricing-card__title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 8px;
  color: #2F4156;
}
.pricing-card__price {
  font-size: 24px;
  font-weight: 800;
  color: #567C8D;
  margin-bottom: 20px;
}
.pricing-card__list {
  text-align: left;
  margin-bottom: 28px;
}
.pricing-card__list li {
  padding: 6px 0;
  font-size: 14px;
  color: #567C8D;
  position: relative;
  padding-left: 20px;
}
.pricing-card__list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #567C8D;
  font-weight: 700;
}
.pricing-card__btn { width: 100%; }

.calc {
  margin-top: 48px;
  padding: 32px;
  background: #F5EFEB;
  border: 1px solid #C8D9E6;
  border-radius: 16px;
}
.calc__title {
  font-size: 24px;
  margin-bottom: 8px;
  color: #2F4156;
}
.calc__lead {
  color: #567C8D;
  margin-bottom: 24px;
  max-width: 640px;
}
.calc__form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.calc__field {
  border: 0;
  margin: 0;
  padding: 0;
}
.calc__field legend {
  font-weight: 700;
  margin-bottom: 10px;
  color: #2F4156;
}
.calc__option {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: #2F4156;
  cursor: pointer;
}
.calc__form .btn { grid-column: 1 / -1; justify-self: start; }
.calc__result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #C8D9E6;
}
.calc__format { font-size: 20px; font-weight: 700; color: #2F4156; margin-bottom: 8px; }
.calc__hours, .calc__money { margin-bottom: 8px; }
.calc__note { color: #567C8D; font-size: 14px; margin-bottom: 16px; }

/* ===== Contact ===== */
.contact__inner {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}
.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form__hp {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.reviews__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.review-card {
  margin: 0;
  padding: 24px;
  background: #fff;
  border: 1px solid #C8D9E6;
  border-radius: 16px;
}
.review-card__text {
  font-size: 15px;
  line-height: 1.6;
  color: #2F4156;
  margin: 0 0 16px;
}
.review-card__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.review-card__author {
  font-weight: 600;
  color: #2F4156;
}
.review-card__company {
  font-size: 13px;
  color: #567C8D;
}
.service-block {
  margin-bottom: 36px;
}
.service-block h2 {
  font-size: 24px;
  margin: 0 0 12px;
  color: #2F4156;
}
.service-block p,
.service-block li {
  font-size: 15px;
  line-height: 1.7;
  color: #2F4156;
}
.service-block ul {
  padding-left: 20px;
  margin: 12px 0 0;
}
@media (max-width: 768px) {
  .reviews__grid {
    grid-template-columns: 1fr;
  }
}
.form__group {
  position: relative;
}
.form__input {
  width: 100%;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #C8D9E6;
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  color: #2F4156;
  outline: none;
  transition: border-color .3s;
}
.form__input:focus {
  border-color: #567C8D;
}
.form__input.error {
  border-color: #e53e3e;
}
.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
  transform: translateY(-40px) scale(.85);
  color: #567C8D;
}
.form__label {
  position: absolute;
  left: 20px;
  top: 16px;
  font-size: 15px;
  color: #567C8D;
  pointer-events: none;
  transition: all .2s ease;
  transform-origin: left;
}
.form__textarea {
  resize: vertical;
  min-height: 100px;
}
.form__status {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin: 0;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid #C8D9E6;
  border-radius: 12px;
  color: #2F4156;
  font-size: 15px;
  line-height: 1.5;
}
.form__status[hidden] { display: none; }
.form__status--error { color: #9b2c2c; border-color: #e8b4b4; }
.form__status-close {
  flex: 0 0 auto;
  padding: 0;
  border: 0;
  background: none;
  color: #567C8D;
  font: inherit;
  cursor: pointer;
}
.form__btn { align-self: flex-start; }
.form__btn:disabled { opacity: .7; cursor: default; }
.contact__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.contact__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 16px 20px;
  background: #fff;
  border: 1px solid #C8D9E6;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 500;
  color: #2F4156;
  transition: all .3s;
}
.contact__link:hover {
  background: #F5EFEB;
  border-color: #567C8D;
  transform: translateX(4px);
}
.contact__link-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.contact__link--tg .contact__link-icon { color: #26A5E4; }
.contact__link--wa .contact__link-icon { color: #25D366; }

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid #C8D9E6;
}
.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer__copy {
  font-size: 14px;
  color: #567C8D;
}
.footer__link {
  font-size: 14px;
  color: #567C8D;
  transition: color .3s;
}
.footer__link:hover { color: #2F4156; }
.footer__disclaimer {
  margin-top: 24px;
  padding-top: 16px;
  border-top: 1px solid #C8D9E6;
  font-size: 11px;
  color: #567C8D;
  text-align: center;
  line-height: 1.4;
}

/* ===== Animations ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Responsive ===== */
@media (max-width: 1100px) {
  .nav { gap: 14px; }
  .nav__link { font-size: 14px; }
  .logo { font-size: 18px; }
}

@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 220px 1fr; gap: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing__grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-card--featured { transform: none; }
  .pricing-card--featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  .section { padding: 70px 0; }
  .section__title { font-size: 28px; }
  .hero__inner {
    flex-direction: column;
    text-align: center;
  }
  .nav { display: none; }
  .header .btn--small { display: none; }
  .burger { display: flex; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #2F4156;
    padding: 20px;
    gap: 16px;
    border-top: 1px solid rgba(255,255,255,.08);
  }
  .about__inner { grid-template-columns: 1fr; text-align: center; }
  .about__photo-frame { width: 200px; height: 250px; }
  .services__grid { grid-template-columns: 1fr; }
  .cases__grid { grid-template-columns: 1fr; }
  .steps__grid { grid-template-columns: 1fr; }
  .pricing__grid { grid-template-columns: 1fr; }
  .calc__form { grid-template-columns: 1fr; }
  .calc { padding: 24px 16px; }
  .contact__inner { grid-template-columns: 1fr; }
  .form__btn { width: 100%; }
  .footer__inner { flex-direction: column; gap: 12px; text-align: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 26px; }
  .hero__subtitle { font-size: 15px; }
  .hero__stats { gap: 24px; }
  .hero__stat-num { font-size: 22px; }
  .pricing-card { padding: 28px 20px; }
}
