/* =========================
   PRICES PAGE
   ========================= */

/* ---------- BASE / GLOBAL FOR THIS PAGE ---------- */

section[id] {
  scroll-margin-top: 110px;
}

.prices-section {
  padding: 24px 0 18px;
}

.eyebrow{
  color:var(--gold);
  text-transform:uppercase;
  letter-spacing:.28em;
  font-size:12px;
  margin-bottom:18px;
}

.section-head{
  display:flex;
  justify-content:space-between;
  align-items:end;
  gap:18px;
  margin-bottom:22px;
}

.section-head p{
  margin:0;
  margin-top: 20px;
  font-size: 18px;
  max-width: 760px;
  color:var(--muted);
  max-width:620px;
  line-height:1.7;
}

.lead{
  margin-top:22px;
  font-size:18px;
  line-height:1.7;
  color:var(--muted);
  max-width:560px;
}

.reveal{
  opacity:0;
  transform:translateY(36px);
  transition:.8s cubic-bezier(.2,.75,.2,1);
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* ---------- BUTTONS ---------- */

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  border:none;
  border-radius:14px;
  padding:14px 22px;
  font-weight:700;
  cursor:pointer;
  text-decoration:none;
  transition:.3s ease;
  white-space:nowrap;
}

.btn-gold{
  background: linear-gradient(135deg, #e6c28c, #bf8f4f);
  color:#16120d;
  box-shadow: 0 12px 30px rgba(217,181,122,.18);
}

.btn-gold:hover{
  transform:translateY(-2px);
  filter:brightness(1.03);
}

.btn-dark{
  background:rgba(255,255,255,.03);
  color:var(--text);
  border:1px solid rgba(255,255,255,.12);
}

.btn-dark:hover{
  transform:translateY(-2px);
  border-color:rgba(217,181,122,.35);
}

.btn-sm{
  padding:12px 18px;
  font-size:16px;
}

.text-link{
  color: #e8d1a8;
  font-weight:600;
  text-decoration:none;
}

.text-link:hover{
  text-decoration:underline;
}

/* ---------- HERO ---------- */

.prices-hero{
  padding: 0;
}

.prices-hero-grid{
  display:grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap:34px;
  align-items:center;
  min-height:400px;
}

.prices-hero-inner{
  max-width: 660px;
  padding: 32px 0 10px;
}

.prices-hero h1{
  max-width: 660px;
  margin-top: 10px;
  font-family:"Cormorant Garamond", serif;
  font-weight:500;
  font-size: clamp(42px, 4vw, 80px);
  line-height:.92;
  letter-spacing:-.03em;
  text-wrap: balance;
}

.prices-hero-text{
  margin-top:24px;
  max-width: 660px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.8;
}

.prices-hero-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:34px;
}

.prices-hero-visual{
  display:flex;
  align-items:center;
  justify-content:center;
}

.prices-hero-image{
  margin-top:34px;
  display:block;
  width:100%;
  max-width:900px;
  height:auto;
  background:transparent;
  border:none;
  box-shadow:none;
}

/* ---------- PRICING CARDS ---------- */

.pricing-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
}

.pricing-card{
  padding:26px;
  border:1px solid var(--line);
  border-radius:24px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  transition: transform .28s ease, border-color .28s ease;
}

.pricing-card:hover{
  transform: translateY(-4px);
  border-color: rgba(217,181,122,.22);
}

.pricing-card-wide{
  grid-column: 1 / -1;
}

.pricing-top{
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
  margin-bottom:14px;
}

.pricing-label{
  display:inline-flex;
  align-items:center;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(217,181,122,.08);
  border:1px solid rgba(217,181,122,.16);
  color:#e8d1a8;
  font-size:12px;
  letter-spacing:.02em;
  margin-bottom:10px;
}

.pricing-card h3{
  font-family:"Cormorant Garamond", serif;
  font-size: 30px;
  line-height:1.05;
  margin:0;
}

.pricing-price{
  font-size:24px;
  font-weight:800;
  color:#f1dfc1;
  white-space:nowrap;
  text-align:right;
}

.pricing-card p{
  color:var(--muted);
  line-height:1.75;
  margin:0 0 16px;
}

.pricing-subtitle{
  font-size:18px;
  color:#ddd7cf;
}

.pricing-list{
  list-style:none;
  padding:0;
  padding-top:10px;
  margin:0 0 18px;
  display:grid;
  gap:10px;
}

.pricing-list li{
  position:relative;
  padding-left:20px;
  color:#ddd7cf;
  line-height:1.6;
}

.pricing-list li::before{
  content:"";
  position:absolute;
  left:0;
  top:.68em;
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--gold);
  box-shadow:0 0 0 4px rgba(217,181,122,.12);
}

.pricing-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  align-items:center;
}

/* ---------- COMPARISON TABLE ---------- */

.compare-wrap{
  border:1px solid var(--line);
  border-radius:24px;
  overflow:hidden;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.compare-table{
  display:grid;
}

.compare-row{
  display:grid;
  grid-template-columns: 1.1fr 1.2fr .8fr 1.5fr .8fr;
  gap:0;
  border-top:1px solid var(--line);
}

.compare-row > div{
  padding:16px 18px;
  color:#ddd7cf;
  line-height:1.55;
  border-right:1px solid var(--line);
}

.compare-row > div:last-child{
  border-right:none;
}

.compare-head{
  background: rgba(217,181,122,.08);
  font-weight:700;
}

.compare-head > div{
  color:#f1dfc1;
}

/* ---------- TIMING / FACTORS / BENEFITS ---------- */

.timing-grid,
.factors-grid,
.benefits-grid{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  gap:18px;
}

.timing-card,
.factor-card{
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.timing-number{
  display:inline-flex;
  width:42px;
  height:42px;
  border-radius:50%;
  align-items:center;
  justify-content:center;
  background:rgba(217,181,122,.1);
  color:#f1dfc1;
  font-weight:800;
  margin-bottom:14px;
}

.timing-card h3,
.factor-card h3,
.contact-side-card h3{
  font-family:"Cormorant Garamond", serif;
  font-size: 28px;
  line-height:1.05;
  margin:0 0 10px;
}

.timing-card p,
.factor-card p,
.contact-side-card p{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

.benefits-box{
  padding:26px;
  border:1px solid var(--line);
  border-radius:26px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
}

.benefits-grid{
  margin-top:18px;
}

.benefit-item{
  padding:16px 18px;
  border-radius:18px;
  border:1px solid rgba(217,181,122,.12);
  background:rgba(217,181,122,.05);
  color:#f1dfc1;
  line-height:1.55;
}

/* ---------- CONTACT / FORM ---------- */

.compact-contact{
  grid-template-columns: 1.2fr .8fr;
  align-items:stretch;
}

.contact-side{
  display:grid;
  gap:16px;
}

.contact-side-card{
  padding:22px;
  border:1px solid var(--line);
  border-radius:22px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.form-card{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border:1px solid var(--line);
  border-radius:24px;
  box-shadow: var(--shadow);
  padding:28px;
}

.form-card h2{
  font-family:"Cormorant Garamond", serif;
  font-size: clamp(34px, 3vw, 52px);
  line-height:1;
  margin: 10px 0 0;
}

#home-contact-form .form-group{
  display:grid;
  gap:8px;
}

#home-contact-form .form-group label{
  color:#f3efe7;
  font-family:"Manrope", sans-serif;
  font-size:14px;
}

#home-contact-form input,
#home-contact-form select,
#home-contact-form textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.2);
  color:#fff;
  padding:14px 16px;
  outline:none;
  font-family:"Manrope", sans-serif;
  font-size:15px;
  transition:.2s ease;
  box-sizing:border-box;
}

#home-contact-form input:focus,
#home-contact-form select:focus,
#home-contact-form textarea:focus{
  border-color:#d9b57a;
  box-shadow:0 0 0 3px rgba(217,181,122,.12);
}

#home-contact-form select{
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:
    linear-gradient(45deg, transparent 50%, #d9b57a 50%),
    linear-gradient(135deg, #d9b57a 50%, transparent 50%);
  background-position:
    calc(100% - 22px) calc(50% - 3px),
    calc(100% - 16px) calc(50% - 3px);
  background-size:6px 6px, 6px 6px;
  background-repeat:no-repeat;
  padding-right:42px;
}

#home-contact-form select option{
  background:#111114;
  color:#f5f0e8;
}

#home-phone-hint{
  margin-top:6px;
  font-family:"Manrope", sans-serif;
  font-size:13px;
  line-height:1.4;
  color:#a8a29a;
}

#home-phone-hint.invalid{
  color:#ffb4b4;
}

#home-contact-message{
  display:none;
  margin-top:14px;
  font-family:"Manrope", sans-serif;
  border-radius:14px;
  padding:12px 14px;
  border:1px solid rgba(217,181,122,.35);
  color:#f1dfc1;
  background:rgba(217,181,122,.08);
  line-height:1.6;
  font-size:15px;
  box-sizing:border-box;
}

#home-contact-message.success{
  display:block;
  border-color:rgba(217,181,122,.35);
  color:#f1dfc1;
  background:rgba(217,181,122,.08);
}

#home-contact-message.error{
  display:block;
  border-color:rgba(255,99,99,.35);
  color:#ffcccc;
  background:rgba(255,99,99,.08);
}

/* ---------- SEO TEXT ---------- */

.seo-text{
  padding: 40px 0 60px;
}

.seo-text-box{
  padding:28px;
  border:1px solid var(--line);
  border-radius:26px;
  background: rgba(255,255,255,.04);
  box-shadow: var(--shadow);
}

.seo-text-title{
  margin:0 0 18px;
  font-family:"Cormorant Garamond", serif;
  font-size: clamp(34px, 3vw, 52px);
  line-height:1;
}

.seo-text-content{
  color:#a8a29a;
  line-height:1.8;
  font-family:"Manrope", sans-serif;
  font-size:18px;
  margin-top:10px;
}

.seo-text-content p{
  margin:0 0 16px;
  color:var(--muted);
  line-height:1.8;
  font-size:18px;
}

.seo-text-content p:last-child{
  margin-bottom:0;
}

/* ---------- MEDIA ---------- */

@media (max-width: 1024px){
  .pricing-grid,
  .timing-grid,
  .factors-grid,
  .benefits-grid,
  .compact-contact{
    grid-template-columns:1fr;
  }

  .prices-hero-grid{
    grid-template-columns:1fr;
  }

  .compare-row{
    grid-template-columns:1fr;
  }

  .compare-head{
    display:none;
  }

  .compare-row > div{
    border-right:none;
    border-top:1px solid var(--line);
    position:relative;
    padding-left:50%;
  }

  .compare-row > div::before{
    content:attr(data-label);
    position:absolute;
    left:18px;
    top:16px;
    width:40%;
    color:#f1dfc1;
    font-weight:700;
  }

  .compare-row > div:first-child{
    border-top:none;
  }
  
  
  
   .compare-wrap{
    overflow:visible;
  }

  .compare-table{
    gap:14px;
    padding:14px;
  }

  .compare-row{
    grid-template-columns:1fr;
    border:1px solid var(--line);
    border-radius:18px;
    overflow:hidden;
    background: rgba(255,255,255,.03);
  }

  .compare-head{
    display:none;
  }

  .compare-row > div{
    border-right:none;
    border-top:1px solid var(--line);
    position:relative;
    padding:14px 16px 14px 48%;
    font-size:16px;
    line-height:1.55;
  }

  .compare-row > div:first-child{
    border-top:none;
    background: rgba(217,181,122,.08);
    padding:14px 16px 14px 48%;
    font-weight:700;
    color:#f1dfc1;
    font-size:18px;
  }

  .compare-row > div::before{
    content:attr(data-label);
    position:absolute;
    left:16px;
    top:14px;
    width:42%;
    color:#f1dfc1;
    font-weight:700;
    font-size:18px;
  }
  
}

@media (max-width: 720px){
    
     .compare-row > div:first-child{
    font-size:14px;       /* Сайт по шаблону */
  }

  .compare-row > div::before{
    font-size:14px;       /* data-label */
  } 
  
    .compare-row > div{
    font-size:14px;       /* текст значения */
  }
    
  .prices-section {
    padding: 30px 0;
  }

  .prices-hero{
    padding-top: 18px;
  }

  .prices-hero-inner{
    padding: 18px 0 0;
    max-width:100%;
  }

  .prices-hero-visual{
    order:2;
  }

  .prices-hero h1{
    white-space:normal;
    font-size: clamp(36px, 12vw, 54px);
  }

  .prices-hero-text{
    font-size: 17px;
  }

  .btn{
    padding:12px 16px;
    font-size:14px;
    border-radius:12px;
  }

  .lead{
    font-size:15px;
    line-height:1.65;
    margin-top:16px;
  }

  .pricing-top{
    flex-direction:column;
  }

  .pricing-price{
    text-align:left;
    white-space:normal;
  }

  .pricing-card h3{
    font-size: 26px;
  }

  .pricing-card,
  .benefits-box,
  .seo-text-box,
  .form-card{
    padding:20px;
  }

  .seo-text{
    padding: 32px 0 48px;
  }

  .seo-text-title{
    font-size:24px;
  }

  .seo-text-content,
  .seo-text-content p{
    font-size:15px;
    line-height:1.75;
  }
}
