:root{
  --primary:#2F5D50;
  --accent:#6FB1A6;
  --bg:#FFFFFF;
  --bg-soft:#F4F8F7;
  --text:#1E1E1E;
  --border:#E2E8E6;
}

*{
  box-sizing:border-box;
  margin:0;
  padding:0;
}

body{
  font-family:Montserrat,sans-serif;
  background:var(--bg);
  color:var(--text);
  line-height:1.65;
}

img{
  max-width:100%;
  display:block;
}

a{
  color:inherit;
  text-decoration:none;
}

.container{
  max-width:1200px;
  margin:0 auto;
  padding:0 20px;
}

section{
  padding:90px 0;
}

.section__title{
  font-family:"Playfair Display",serif;
  font-size:42px;
  text-align:center;
  color:var(--primary);
  margin-bottom:20px;
}

.section__subtitle{
  text-align:center;
  font-size:18px;
  color:#555;
  margin-bottom:60px;
}

header{
  padding:30px 0;
  border-bottom:1px solid var(--border);
}

.face__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
}

.face__logo{
  font-family:"Playfair Display",serif;
  font-size:30px;
  font-weight:700;
  color:var(--primary);
}

.face__nav a{
  margin-left:28px;
  font-size:15px;
  font-weight:500;
  opacity:.8;
}

.face__nav a.active{
  opacity:1;
  border-bottom:2px solid var(--accent);
  padding-bottom:4px;
}

/* HERO */
.section_face{
  background:linear-gradient(180deg,#ffffff 0%,#f4f8f7 100%);
}

.face__body{
  display:grid;
  grid-template-columns:1.2fr 0.8fr 1fr;
  gap:40px;
  align-items:center;
  margin-top:70px;
}

.face__title{
  font-family:"Playfair Display",serif;
  font-size:44px;
  color:var(--primary);
  margin-bottom:25px;
}

.face__list p{
  margin-bottom:12px;
  font-size:16px;
}

.face__product img{
  filter:drop-shadow(0 20px 40px rgba(0,0,0,.15));
}

.form{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:30px;
}

.form__new-text{
  font-size:14px;
  color:#666;
}

.form__new-price{
  font-size:36px;
  color:var(--primary);
  font-weight:700;
  margin:10px 0;
}

.form__old-price{
  font-size:14px;
  color:#888;
  text-decoration:line-through;
}

.form__time{
  background:var(--bg-soft);
  border-radius:12px;
  padding:15px;
  margin:20px 0;
  text-align:center;
}

.form__time-box{
  display:flex;
  justify-content:center;
  gap:10px;
  font-weight:600;
}

button[type="submit"]{
  width:100%;
  margin-top:20px;
  padding:18px;
  border:none;
  border-radius:10px;
  background:var(--primary);
  color:#fff;
  font-size:15px;
  letter-spacing:.25em;
  cursor:pointer;
}
/* ===== FIX LAYOUT & QUALITY ===== */

.cards{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:32px;
  margin-top:40px;
}

.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:16px;
  padding:28px;
  box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.card p{
  font-size:15px;
  line-height:1.6;
}

.skin-info-block{
  max-width:760px;
  margin:0 auto;
  background:#fff;
  border:1px solid var(--border);
  border-radius:18px;
  padding:40px;
}

.skin-info-block h3{
  margin-top:22px;
  font-size:15px;
  color:var(--primary);
}

.skin-info-block p{
  font-size:15px;
  color:#444;
}

.section_commits .card{
  text-align:left;
}

.faq-block{
  max-width:720px;
  margin:0 auto;
}

.section_footer{
  background:#F4F8F7;
  border-top:1px solid var(--border);
  padding:40px 0;
  text-align:center;
  font-size:14px;
}

.footer-links{
  margin-top:15px;
}

.footer-links button{
  background:none;
  border:none;
  margin:0 6px;
  font-size:14px;
  text-decoration:underline;
  cursor:pointer;
}

/* spacing between sections */
section + section{
  margin-top:40px;
}
/* ===== VISUAL MASS & RHYTHM ===== */

/* wider readable text */
.section__subtitle,
.problems__body,
.time__body,
.section_commits,
.section_why,
.section_professionals,
.section_qualitative,
.section_job,
.faq-block{
  max-width:960px;
  margin-left:auto;
  margin-right:auto;
}

/* stronger headings */
.section__title{
  font-size:46px;
  margin-bottom:30px;
}

.section__subtitle{
  font-size:20px;
  margin-bottom:70px;
}

/* section backgrounds for rhythm */
.section_commits,
.section_qualitative,
.section_job{
  background:var(--bg-soft);
}

/* expert block */
.section_professionals{
  background:#ffffff;
  padding:110px 0;
}

.section_professionals p{
  font-size:17px;
  line-height:1.8;
  max-width:760px;
  margin:20px auto;
}

/* reviews cards bigger */
.section_commits .card{
  min-height:160px;
}

/* order steps emphasis */
.section_job .card{
  font-size:16px;
  text-align:center;
}

/* FAQ visually separated */
.faq-block{
  background:#fff;
  border:1px solid var(--border);
  border-radius:20px;
  padding:50px;
}

/* more vertical air */
section{
  padding:120px 0;
}
/* ===== FIX GIANT GAPS ===== */

/* default sections – more compact */
section{
  padding:80px 0;
}

/* hero stays big */
.section_face{
  padding:100px 0 80px;
}

/* small intro sections */
.section_beauty{
  padding:40px 0 60px;
}

/* causes + problems closer */
.section_causes{
  padding:60px 0;
}

.section_problems{
  padding:70px 0;
}

/* visual rhythm sections */
.section_commits,
.section_qualitative,
.section_job{
  padding:90px 0;
}

/* remove artificial margin stacking */
section + section{
  margin-top:0;
}
/* ===== GLASS / SOFT BACKGROUNDS ===== */

.beauty-glass{
  max-width:900px;
  margin:0 auto;
  padding:60px 70px;
  background:rgba(255,255,255,0.75);
  backdrop-filter:blur(6px);
  border:1px solid var(--border);
  border-radius:24px;
}

.beauty-text{
  font-size:17px;
  line-height:1.8;
  color:#444;
  margin-top:22px;
}
.section-soft-bg{
  background:linear-gradient(
    180deg,
    rgba(244,248,247,0.6) 0%,
    rgba(244,248,247,1) 100%
  );
}
.intro-text{
  font-size:18px;
  line-height:1.9;
  margin-bottom:30px;
  color:#333;
}
/* ===== BEAUTY 2-COLUMN OFFER ===== */

.beauty-grid{
  display:grid;
  grid-template-columns:1fr 1.2fr;
  gap:70px;
  align-items:center;
}

.beauty-image img{
  width:100%;
  border-radius:20px;
  box-shadow:0 25px 60px rgba(0,0,0,.18);
  object-fit:cover;
}

.beauty-content{
  text-align:left;
}

@media (max-width: 900px){
  .beauty-grid{
    grid-template-columns:1fr;
    gap:40px;
  }
}
.card-text{
  font-size:14.5px;
  line-height:1.7;
  color:#555;
  margin-top:10px;
}
/* ===== MAIN OFFER BLOCK ===== */

.section-offer{
  background:linear-gradient(
    180deg,
    #f4f8f7 0%,
    #ffffff 100%
  );
}

.offer-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:80px;
  align-items:center;
  background:#fff;
  border-radius:28px;
  padding:70px;
  box-shadow:0 30px 80px rgba(0,0,0,.12);
}

.offer-image img{
  width:100%;
  border-radius:24px;
  object-fit:cover;
}

.offer-title{
  font-size:36px;
  color:var(--primary);
  margin-bottom:20px;
}

.offer-text{
  font-size:17px;
  line-height:1.8;
  color:#444;
  margin-bottom:25px;
}

.offer-price{
  margin-bottom:25px;
}

.price-new{
  font-size:34px;
  font-weight:700;
  color:var(--primary);
  margin-right:15px;
}

.price-old{
  text-decoration:line-through;
  color:#999;
}

.offer-form input{
  width:100%;
  padding:14px 16px;
  margin-bottom:12px;
  border-radius:8px;
  border:1px solid var(--border);
}

.offer-form button{
  width:100%;
  padding:16px;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:10px;
  font-size:14px;
  letter-spacing:.2em;
  cursor:pointer;
}

.offer-note{
  margin-top:15px;
  font-size:13px;
  color:#777;
}

@media(max-width:900px){
  .offer-box{
    grid-template-columns:1fr;
    padding:40px;
  }
}
.expert-box{
  display:grid;
  grid-template-columns:320px 1fr;
  gap:50px;
  align-items:center;
}

.expert-photo{
  width:100%;
  border-radius:20px;
}

.expert-text p{
  font-size:16.5px;
  line-height:1.8;
  margin-bottom:18px;
}

.expert-name{
  font-weight:600;
}
.review-photo{
  width:56px;
  height:56px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:12px;
}
/* ===== QUALITY BLOCK ===== */

.quality-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:40px;
  margin-top:50px;
}

.quality-card{
  background:#fff;
  border-radius:20px;
  padding:30px;
  text-align:center;
  box-shadow:0 20px 50px rgba(0,0,0,.08);
}

.quality-card img{
  width:100%;
  height:160px;
  object-fit:cover;
  border-radius:14px;
  margin-bottom:20px;
}

.quality-card h3{
  font-size:18px;
  margin-bottom:10px;
  color:var(--primary);
}

.quality-card p{
  font-size:15px;
  line-height:1.7;
  color:#555;
}
/* ===== ORDER STEPS ===== */

.order-steps{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:50px;
  margin-top:60px;
}

.order-card{
  background:#fff;
  border-radius:22px;
  padding:30px;
  text-align:center;
  box-shadow:0 25px 60px rgba(0,0,0,.1);
  position:relative;
}

.order-card img{
  width:100%;
  height:180px;
  object-fit:cover;
  border-radius:16px;
  margin-bottom:20px;
}

.order-card .step{
  position:absolute;
  top:20px;
  left:20px;
  background:var(--primary);
  color:#fff;
  width:36px;
  height:36px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:600;
}

.order-card h3{
  font-size:18px;
  margin-bottom:10px;
  color:var(--primary);
}

.order-card p{
  font-size:15px;
  line-height:1.7;
  color:#555;
}
/* ===== FINAL ORDER FORM FIX ===== */

.order-form{
  width:100%;
}

.price-block{
  margin-bottom:28px;
}

.price-label{
  font-size:14px;
  color:#777;
}

.price-new{
  font-size:38px;
  font-weight:700;
  color:var(--primary);
  margin:6px 0;
}

.price-old{
  font-size:16px;
  color:#999;
  text-decoration:line-through;
}

.form-group{
  margin-bottom:14px;
}

.form-field{
  width:100%;
  height:52px;
  padding:0 16px;
  font-size:15px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
}

.form-field:focus{
  outline:none;
  border-color:var(--primary);
}

.order-button{
  width:100%;
  height:56px;
  margin-top:12px;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:14px;
  font-size:15px;
  font-weight:600;
  letter-spacing:.25em;
  cursor:pointer;
}

.order-button:hover{
  background:#2f5046;
}

.form-note{
  margin-top:14px;
  font-size:13px;
  color:#777;
  text-align:center;
}
/* ===== VERTICAL / TIKTOK IMAGE ===== */

.vertical-media{
  width:100%;
  max-width:320px;
  aspect-ratio:9 / 16;
  border-radius:22px;
  overflow:hidden;
  box-shadow:0 30px 70px rgba(0,0,0,.18);
}

.vertical-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
/* ===== FORCE HORIZONTAL IMAGES IN CAUSES ===== */

/* контейнер для фото */
.section_causes .card img,
.cards .card img{
  width:100%;
  height:180px;          /* горизонтальна висота */
  object-fit:cover;
  border-radius:14px;
  display:block;
}
#order-success-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.order-success-box {
  background: #ffffff;
  padding: 50px 40px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25);
  font-family: "Montserrat", sans-serif;
}

.order-success-box h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 15px;
  color: #1a1a1a;
}

.order-success-box p {
  font-size: 18px;
  line-height: 1.6;
  color: #333;
}
input.phone-error {
  border-color: #d9534f !important;
}
.cosmetic-study{
  margin:60px 0;
  padding:40px;
  border-radius:24px;
  background:#f6faf8;
}

.cosmetic-study h3{
  font-size:22px;
  margin-bottom:8px;
  color:#2c3e3a;
}

.study-sub{
  font-size:15px;
  margin-bottom:25px;
  color:#555;
}

.study-chart{
  width:100%;
  max-width:600px;
  display:block;
  margin:0 auto 20px;
}

.study-chart line{
  stroke:#cfd8d3;
  stroke-width:1;
}

.study-chart text{
  font-size:12px;
  fill:#666;
}

.line{
  fill:none;
  stroke-width:3;
}

.line.hydration{ stroke:#3B6167; }
.line.elasticity{ stroke:#7aa7a1; }
.line.glow{ stroke:#a6c9b8; }

.legend{
  display:flex;
  gap:20px;
  justify-content:center;
  margin-bottom:10px;
  font-size:14px;
}

.legend span::before{
  content:"";
  display:inline-block;
  width:12px;
  height:12px;
  margin-right:6px;
  border-radius:50%;
  vertical-align:middle;
}

.legend .hydration::before{ background:#3B6167; }
.legend .elasticity::before{ background:#7aa7a1; }
.legend .glow::before{ background:#a6c9b8; }

.study-note{
  display:block;
  font-size:12px;
  color:#777;
  text-align:center;
}
/* === DECORATIVE LEAVES === */

.section{
  position: relative;
  overflow: hidden;
}

/* === NATURAL LEAVES SYSTEM === */

.section{
  position:relative;
  overflow:hidden;
}

.leaf{
  position:absolute;
  width:60px;
  height:60px;
  background:url("images/android-chrome-192x192.png") no-repeat center / contain;
  pointer-events:none;
  z-index:0;
  filter: drop-shadow(0 6px 12px rgba(0,0,0,.08));
}


/* hero */
.section_face::before{
  top:40px;
  left:-40px;
  transform:rotate(-15deg);
}
.section_face::after{
  bottom:-30px;
  right:-30px;
  transform:rotate(25deg);
}

/* causes / cards */
.section_causes::before{
  top:-20px;
  right:10%;
  transform:rotate(10deg);
}

/* results */
.section_result::after{
  bottom:-40px;
  left:5%;
  transform:rotate(-25deg);
}

/* expert */
.section_professionals::before{
  top:30px;
  right:-30px;
  transform:rotate(20deg);
}

/* footer */
.section_footer::after{
  top:-30px;
  left:50%;
  transform:rotate(-10deg);
}
.section > .container{
  position:relative;
  z-index:2;
}
.section_face::before{ transform:rotate(-15deg) scale(0.9); }
.section_face::after{ transform:rotate(25deg) scale(1); }

.section_causes::before{ transform:rotate(10deg) scale(0.8); }

.section_result::after{ transform:rotate(-25deg) scale(1.1); }

.section_professionals::before{ transform:rotate(20deg) scale(0.85); }
.modal{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.5);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
}

.modal.active{
  display:flex;
}

.modal-content{
  background:#fff;
  max-width:520px;
  width:90%;
  padding:30px;
  border-radius:16px;
  position:relative;
  max-height:80vh;
  overflow:auto;
}

.modal-close{
  position:absolute;
  top:12px;
  right:16px;
  font-size:22px;
  cursor:pointer;
}

.modal-body h2{
  margin-bottom:12px;
  font-size:20px;
}

.modal-body p{
  font-size:14px;
  line-height:1.6;
}
.footer-disclaimer{
  font-size:12px;
  color:#777;
  max-width:800px;
  margin:20px auto 0;
  text-align:center;
  line-height:1.5;
}
html, body {
  background-color: #f3f7f5;
}
.offer-image {
  display: flex;
  justify-content: center;
  align-items: center;
  background: none;
}

.offer-image img {
  width: 400px;
  max-width: 100%;
  height: auto;
  background: transparent;
  border: none;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.18));
}
.order-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  align-items: stretch;
}
.step-card {
  background: #fff;
  border-radius: 24px;
  padding: 24px;
  height: 100%;
}
@media (max-width: 1024px) {
  .order-steps {
    grid-template-columns: 1fr;
  }
}

.icons-list {
  list-style: none;
  padding: 0;
  margin: 24px 0;
}

.icons-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  line-height: 1.6;
}

.icons-list .icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 4px;
}
