/* ===========================
   CALCULATOR PAGE — HERO
=========================== */
.clp-hero {
  position: relative;
  width: 100%;
  min-height: 580px;
  height: 100vh;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.clp-hero__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.clp-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.2) 30%, rgba(0,0,0,0) 70%),
    linear-gradient(90deg, rgba(10,10,10,0.80) 0%, rgba(10,10,10,0.50) 50%, rgba(10,10,10,0.10) 100%);
  z-index: 1;
}

.clp-hero__container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 100px 40px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.clp-hero__content {
  color: #fff;
  max-width: 680px;
}

.clp-hero__label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--orange);
  border: 1px solid rgba(232,98,26,0.5);
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.clp-hero__title {
  font-size: clamp(34px, 5vw, 42px);
  font-weight: 600;
  text-transform: uppercase;
  line-height: 1.07;
  margin-bottom: 18px;
  letter-spacing: -0.01em;
}

.clp-hero__desc {
  font-size: 17px;
  opacity: 0.82;
  line-height: 1.6;
  margin-bottom: 36px;
}

/* Stats */
.clp-hero__stats {
  display: inline-flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 16px;
  padding: 16px 32px;
  margin-bottom: 36px;
  gap: 0;
}

.clp-hero__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 28px;
}

.clp-hero__stat strong {
  font-size: 24px;
  font-weight: 800;
  color: var(--white);
  line-height: 1;
}

.clp-hero__stat span {
  font-size: 12px;
  opacity: 0.7;
  margin-top: 4px;
}

.clp-hero__stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255,255,255,0.2);
  flex-shrink: 0;
}

/* CTA Button */
.clp-hero__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 18px 42px;
  border-radius: 50px;
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
  box-shadow: 0 8px 30px rgba(232,98,26,0.4);
}

.clp-hero__btn svg { width: 20px; height: 20px; }

.clp-hero__btn:hover {
  background: var(--orange-hover);
  transform: translateY(-3px);
}

/* Scroll arrow */
.clp-hero__scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  color: rgba(255,255,255,0.6);
  animation: clpBounce 2s infinite;
  transition: color 0.2s;
}

.clp-hero__scroll svg { width: 28px; height: 28px; }
.clp-hero__scroll:hover { color: var(--orange); }

@keyframes clpBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===========================
   HOW IT WORKS
=========================== */
.clp-steps {
  padding: 70px 40px;
  background: #faf8f5;
}

.clp-steps__container {
  max-width: 1200px;
  margin: 0 auto;
}

.clp-steps__title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark);
  text-align: center;
  margin-bottom: 48px;
}

.clp-steps__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
}

.clp-step {
  flex: 1;
  max-width: 260px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.clp-step__num {
  font-size: 48px;
  font-weight: 900;
  color: rgba(232,98,26,0.12);
  line-height: 1;
}

.clp-step__icon {
  width: 60px;
  height: 60px;
  background: #fff;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  box-shadow: 0 4px 18px rgba(0,0,0,0.08);
}

.clp-step__icon svg { width: 26px; height: 26px; }

.clp-step h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--dark);
}

.clp-step p {
  font-size: 13.5px;
  color: #777;
  line-height: 1.5;
}

.clp-step__arrow {
  flex-shrink: 0;
  color: #ccc;
  padding: 0 16px;
  margin-top: -40px;
}

.clp-step__arrow svg { width: 28px; height: 28px; }

/* ===========================
   CALCULATOR
=========================== */
.clp-calc {
  padding: 80px 40px 100px;
  background: url(../img/background.png);
}

.clp-calc__container {
  max-width: 1200px;
  margin: 0 auto;
}

.clp-calc__header {
  text-align: center;
  margin-bottom: 52px;
}

.clp-calc__title {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 600;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 10px;
}

.clp-calc__subtitle {
  font-size: 15px;
  color: #888;
}

.clp-calc__body {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 32px;
  align-items: start;
}

/* Form blocks */
.clp-calc__form {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.clp-calc__block {
  background: #faf8f5;
  border-radius: 18px;
  padding: 28px 28px 32px;
}

.clp-calc__block-title {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 22px;
}

.clp-calc__block-num {
  width: 30px;
  height: 30px;
  background: var(--orange);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 800;
  flex-shrink: 0;
}

/* Type cards */
.clp-calc__type-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.clp-type-card input { display: none; }

.clp-type-card__inner {
  border: 2px solid var(--gray-border);
  border-radius: 14px;
  padding: 18px 12px;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  background: #fff;
}

.clp-type-card__icon {
  width: 44px;
  height: 44px;
  background: #fff5ef;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  transition: background 0.2s;
}

.clp-type-card__icon svg { width: 22px; height: 22px; }

.clp-type-card__inner strong {
  font-size: 13px;
  font-weight: 700;
  color: var(--dark);
}

.clp-type-card__inner span {
  font-size: 11.5px;
  color: #999;
}

.clp-type-card input:checked + .clp-type-card__inner {
  border-color: var(--orange);
  background: #fff9f5;
}

.clp-type-card input:checked + .clp-type-card__inner .clp-type-card__icon {
  background: var(--orange);
  color: #fff;
}

/* Room cards */
.clp-calc__room-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.clp-room-card input { display: none; }

.clp-room-card__inner {
  border: 2px solid var(--gray-border);
  border-radius: 12px;
  padding: 14px 20px;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
  min-width: 80px;
  color: var(--orange);
}

.clp-room-card__inner svg { width: 22px; height: 22px; }
.clp-room-card__inner span { font-size: 13px; font-weight: 600; color: var(--dark); }

.clp-room-card input:checked + .clp-room-card__inner {
  border-color: var(--orange);
  background: #fff9f5;
}

/* Area */
.clp-calc__area-wrap { display: flex; flex-direction: column; gap: 10px; }

.clp-calc__area-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: #555;
}

.clp-calc__area-input-wrap {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: 8px;
  padding: 8px 14px;
}

.clp-calc__area-input {
  width: 60px;
  border: none;
  outline: none;
  font-family: var(--font-main);
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  text-align: center;
  background: transparent;
}

.clp-calc__area-input-wrap span {
  font-size: 14px;
  color: #888;
  font-weight: 600;
}

.clp-calc__range {
  -webkit-appearance: none;
  width: 100%;
  height: 6px;
  border-radius: 3px;
  background: linear-gradient(to right, var(--orange) 0%, var(--orange) 14%, #ddd 14%, #ddd 100%);
  outline: none;
  cursor: pointer;
}

.clp-calc__range::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  background: var(--orange);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(232,98,26,0.4);
  cursor: pointer;
}

.clp-calc__range-labels {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #bbb;
}

/* Options */
.clp-calc__options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.clp-option input { display: none; }

.clp-option__inner {
  display: flex;
  align-items: center;
  gap: 14px;
  border: 2px solid var(--gray-border);
  border-radius: 14px;
  padding: 16px 18px;
  cursor: pointer;
  background: #fff;
  transition: border-color 0.2s, background 0.2s;
}

.clp-option__icon {
  width: 42px;
  height: 42px;
  background: #fff5ef;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
  transition: background 0.2s;
}

.clp-option__icon svg { width: 20px; height: 20px; }

.clp-option__inner div strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--dark);
}

.clp-option__inner div span {
  font-size: 12px;
  color: #999;
}

.clp-option input:checked + .clp-option__inner {
  border-color: var(--orange);
  background: #fff9f5;
}

.clp-option input:checked + .clp-option__inner .clp-option__icon {
  background: var(--orange);
  color: #fff;
}

/* Contacts */
.clp-calc__contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.clp-calc__input {
  width: 100%;
  border: 1.5px solid var(--gray-border);
  border-radius: 10px;
  padding: 14px 16px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--dark);
  background: #fff;
  outline: none;
  transition: border-color 0.2s;
}

.clp-calc__input:focus { border-color: var(--orange); }
.clp-calc__input::placeholder { color: #bbb; }

/* Submit */
.clp-calc__submit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-main);
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 20px;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 8px 28px rgba(232,98,26,0.35);
}

.clp-calc__submit svg { width: 22px; height: 22px; }

.clp-calc__submit:hover {
  background: var(--orange-hover);
  transform: translateY(-2px);
}

/* ===========================
   RESULT SIDEBAR
=========================== */
.clp-calc__result {
  background: #faf8f5;
  border-radius: 22px;
  padding: 30px 26px;
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 4px 30px rgba(0,0,0,0.07);
}

.clp-result__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 6px;
}

.clp-result__hint {
  font-size: 13px;
  color: #aaa;
}

.clp-result__label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin-bottom: 6px;
}

.clp-result__price {
  font-size: 36px;
  font-weight: 900;
  color: var(--orange);
  margin-bottom: 6px;
}

.clp-result__note {
  font-size: 12px;
  color: #bbb;
  line-height: 1.5;
}

/* Breakdown */
.clp-result__breakdown h4 {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #888;
  margin-bottom: 12px;
}

.clp-result__breakdown ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.clp-result__breakdown ul li {
  display: flex;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--dark);
  padding-bottom: 8px;
  border-bottom: 1px dashed #e8e4de;
}

.clp-result__breakdown ul li:last-child { border-bottom: none; }

.clp-result__breakdown ul li span { font-weight: 700; color: var(--orange); }

/* CTA */
.clp-result__cta {
  background: var(--dark);
  border-radius: 14px;
  padding: 18px 20px;
  text-align: center;
}

.clp-result__cta p {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}

.clp-result__call-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-main);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 24px;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s;
}

.clp-result__call-btn svg { width: 16px; height: 16px; }
.clp-result__call-btn:hover { background: var(--orange-hover); }

/* Features */
.clp-result__features {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.clp-result__feature {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #555;
}

.clp-result__feature svg {
  width: 16px;
  height: 16px;
  color: var(--orange);
  flex-shrink: 0;
}

/* ===========================
   RESPONSIVE
=========================== */
@media (max-width: 1024px) {
  .clp-calc__body { grid-template-columns: 1fr; }
  .clp-calc__result { position: static; }
  .clp-steps__grid { flex-wrap: wrap; gap: 24px; }
  .clp-step__arrow { display: none; }
}

@media (max-width: 760px) {
  .clp-calc__type-grid { grid-template-columns: repeat(2, 1fr); }
  .clp-calc__options { grid-template-columns: 1fr; }
  .clp-calc__contacts-grid { grid-template-columns: 1fr; }
  .clp-hero__stats { flex-direction: column; gap: 12px; padding: 20px; }
  .clp-hero__stat-divider { width: 60px; height: 1px; }
}

@media (max-width: 560px) {
  .clp-hero__container { padding: 90px 20px 50px; }
  .clp-steps { padding: 50px 20px; }
  .clp-calc { padding: 50px 20px 70px; }
  .clp-calc__block { padding: 20px 18px 24px; }
}