/* ═══════════════════════════════════════════
   SHARED CSS — Inna Iankina Site
   Style: Taplink aesthetic — ultra-clean,
   white base, grey caps headings, Raleway+Cormorant
   ═══════════════════════════════════════════ */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;-webkit-tap-highlight-color:transparent;}

:root{
  /* Taplink palette — pure white + warm greys */
  --white:      #ffffff;
  --bg:         #ffffff;
  --bg-warm:    #faf8f5;   /* barely-there warm tint */
  --bg-card:    #f2ede8;   /* beige card bg — from screenshot */
  --bg-dark:    #4a5568;   /* dark grey button — from screenshot */

  --text-head:  #3d3d3d;   /* dark grey headings — caps */
  --text-body:  #5a5a5a;   /* medium grey body */
  --text-light: #8a8a8a;   /* light grey sub-text */
  --text-white: #ffffff;

  --line:       #e0d9d2;   /* thin horizontal rule */
  --line-dark:  #c8c0b8;

  --accent:     #c4987a;   /* warm terracotta — subtle accent */
  --accent-soft:#eeddd2;   /* very soft blush */

  --font-head: 'Raleway', sans-serif;
  --font-body: 'Cormorant Garamond', Georgia, serif;

  --nav-h: 56px;
  --max-w: 1140px;
  --col-w: 640px;       /* single column content width */
}

body{
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 22px;
  line-height: 1.75;
  overflow-x: hidden;
}

/* ══════════════════════════
   NAVIGATION
══════════════════════════ */
.nav{
  position: fixed; top:0; left:0; right:0;
  z-index: 500;
  height: var(--nav-h);
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--line);
  display: flex; align-items: center;
  padding: 0 2rem;
  gap: 1.5rem;
}
.nav-logo{
  font-family: var(--font-head);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-head);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Desktop links */
.nav-links{
  display: none;
  flex: 1;
  justify-content: center;
  list-style: none;
  gap: 2.5rem;
}
.nav-links a{
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active{color: var(--text-head);}

/* Lang switcher — always visible in nav */
.nav-lang{
  display: flex; align-items: center;
  margin-left: auto; flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  gap: 0;
  border: 1px solid var(--line-dark);
}
.nav-lang a, .nav-lang span{
  display: block;
  padding: 0.3rem 0.75rem;
  text-decoration: none;
  transition: all 0.2s;
}
.nav-lang a{color: var(--text-light);}
.nav-lang a:hover{color: var(--text-head); background: var(--bg-warm);}
.nav-lang span.active{background: var(--bg-dark); color: var(--white);}

/* Burger */
.nav-burger{
  display: flex; flex-direction: column;
  justify-content: center; gap: 5px;
  width: 36px; height: 36px;
  background: transparent; border: none;
  cursor: pointer; padding: 4px; flex-shrink: 0;
  margin-left: 0.5rem;
}
.nav-burger span{
  display: block; height: 1px;
  background: var(--text-head); border-radius: 0;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-burger.open span:nth-child(1){transform: translateY(6px) rotate(45deg);}
.nav-burger.open span:nth-child(2){opacity: 0;}
.nav-burger.open span:nth-child(3){transform: translateY(-6px) rotate(-45deg);}

/* Mobile drawer */
.nav-drawer{
  display: none;
  position: fixed;
  top: var(--nav-h); left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 1.5rem 2rem 2rem;
  z-index: 490;
  flex-direction: column; gap: 0;
}
.nav-drawer.open{display: flex;}
.nav-drawer a{
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  text-decoration: none;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.2s;
}
.nav-drawer a:hover, .nav-drawer a.active{color: var(--text-head);}

.nav-overlay{
  display: none; position: fixed; inset: 0; z-index: 489;
  background: rgba(0,0,0,0.06);
}
.nav-overlay.open{display: block;}

/* ══════════════════════════
   PAGE LAYOUT
══════════════════════════ */
.page-wrap{
  position: relative;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-top: calc(var(--nav-h) + 0px);
}

/* Narrow column for text content */
.col{
  max-width: var(--col-w);
  margin: 0 auto;
  padding: 0 1.75rem;
}

/* Full-bleed section (for images that go edge-to-edge) */
.full{width: 100%;}

/* ══════════════════════════
   TYPOGRAPHY SYSTEM
   (matches taplink exactly)
══════════════════════════ */
.t-caps{
  font-family: var(--font-head);
  font-size: clamp(1.4rem, 4vw, 2.2rem);
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-head);
  line-height: 1.25;
}
.t-caps-sm{
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-head);
}
.t-display{
  /* for "INNA IANKINA" style hero name */
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 8vw, 3.5rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-head);
  line-height: 1.15;
}
.t-serif{
  font-family: var(--font-body);
  font-size: 1.2rem;
  color: var(--text-body);
  line-height: 1.85;
}
.t-serif em{font-style: italic;}
.t-serif strong{font-weight: 600; color: var(--text-head);}

.t-quote{
  font-family: var(--font-body);
  font-style: italic;
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--text-head);
  line-height: 1.65;
  text-align: center;
}

/* ══════════════════════════
   SPACING & DIVIDERS
══════════════════════════ */
.hr{
  border: none;
  border-top: 1px solid var(--line);
  margin: 0;
}
.hr-dark{border-top-color: var(--line-dark);}

.spacer-sm{height: 2rem;}
.spacer{height: 3.5rem;}
.spacer-lg{height: 5rem;}

/* ══════════════════════════
   HERO — full-bleed image
══════════════════════════ */
.hero-img{
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  display: block;
  background: var(--bg-warm); /* placeholder */
}
.hero-img-wrap{
  position: relative;
  width: 100%;
}
.hero-name-overlay{
  position: absolute;
  top: 1.5rem; left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  padding: 0 1rem;
}

/* ══════════════════════════
   TWO-COL TEXT+IMAGE LAYOUT
   (matches taplink layout)
══════════════════════════ */
.split{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}
.split-img{
  width: 140px;
  aspect-ratio: 1;
  object-fit: cover;
  flex-shrink: 0;
}
@media(max-width:480px){
  .split{grid-template-columns: 1fr;}
  .split-img{width: 100%; aspect-ratio: 4/3;}
}

/* Item with left image, right text (taplink style) */
.item-row{
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1.25rem;
  align-items: start;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--line);
}
.item-row:first-child{border-top: 1px solid var(--line);}
.item-row-img{
  width: 140px; height: 140px;
  object-fit: cover;
  display: block;
  background: var(--bg-warm);
}
.item-row-text{}
@media(max-width:520px){
  .item-row{grid-template-columns: 110px 1fr; gap: 1rem;}
  .item-row-img{width: 110px; height: 110px;}
}

/* ══════════════════════════
   UNDERLINE LIST
   (taplink "кому точно надо" style)
══════════════════════════ */
.underline-list{
  list-style: none;
  display: flex; flex-direction: column;
}
.underline-list li{
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.6;
}
.underline-list li strong{font-weight: 700; color: var(--text-head);}

/* ══════════════════════════
   BEIGE CARD
   (taplink card with caption below image)
══════════════════════════ */
.card-beige{
  background: var(--bg-card);
  padding: 1.5rem;
}
.card-beige .t-caps-sm{margin-bottom: 0.75rem;}
.card-beige .t-serif{font-size: 1.1rem;}

/* ══════════════════════════
   SERVICE / PRICE BLOCK
══════════════════════════ */
.price-block{
  border-top: 1px solid var(--line);
  padding: 1.75rem 0;
}
.price-block + .price-block{border-top: 1px solid var(--line);}
.price-name{
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-head);
  margin-bottom: 0.35rem;
}
.price-amount{
  font-family: var(--font-body);
  font-size: 2.2rem;
  font-weight: 300;
  color: var(--text-head);
  line-height: 1;
  margin-bottom: 0.35rem;
}
.price-dur{
  font-family: var(--font-head);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.85rem;
}
.price-desc{
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 1.25rem;
}

/* ══════════════════════════
   BUTTONS
   (taplink: dark grey, no radius, caps)
══════════════════════════ */
.btn{
  display: inline-flex; align-items: center; justify-content: space-between;
  width: 100%;
  padding: 1.1rem 1.5rem;
  background: var(--bg-dark);
  color: var(--white);
  font-family: var(--font-head);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border: none; border-radius: 0;
  cursor: pointer;
  transition: background 0.2s, opacity 0.2s;
}
.btn:hover{background: #3a4355; opacity: 0.95;}
.btn:active{opacity: 0.85;}
.btn-arrow::after{content: '›'; font-size: 1.2rem; font-weight: 300; letter-spacing: 0;}

.btn-outline{
  background: transparent;
  border: 1px solid var(--bg-dark);
  color: var(--bg-dark);
}
.btn-outline:hover{background: var(--bg-dark); color: var(--white);}

.btn-paypal{
  background: #0070ba;
  justify-content: center; gap: 0.6rem;
}
.btn-paypal:hover{background: #005fa3;}

.btn-sm{
  width: auto; padding: 0.75rem 1.5rem;
  font-size: 0.62rem;
}

/* ══════════════════════════
   INLINE SOCIAL LINKS
   (like taplink instagram button)
══════════════════════════ */
.social-btn{
  display: flex; align-items: center; justify-content: center;
  width: 56px; height: 56px;
  background: var(--bg-dark);
  color: var(--white);
  text-decoration: none;
  font-size: 1.4rem;
  margin: 0 auto;
}

/* ══════════════════════════
   CONTACT INFO
══════════════════════════ */
.contact-link{
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 1.15rem;
  transition: color 0.2s;
}
.contact-link:hover{color: var(--text-head);}
.contact-link .label{
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
  display: block;
  margin-bottom: 0.15rem;
}

/* ══════════════════════════
   FORM
══════════════════════════ */
.form-group{display: flex; flex-direction: column; gap: 0.4rem; margin-bottom: 1rem;}
.form-label{
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}
.form-input, .form-textarea, .form-select{
  width: 100%;
  padding: 0.85rem 0;
  background: transparent;
  border: none; border-bottom: 1px solid var(--line-dark);
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-head);
  outline: none; border-radius: 0;
  transition: border-color 0.2s;
  appearance: none;
}
.form-input:focus,.form-textarea:focus,.form-select:focus{border-bottom-color: var(--text-head);}
.form-textarea{resize: vertical; min-height: 100px;}

/* ══════════════════════════
   FAQ — taplink style
   simple text with underline
══════════════════════════ */
.faq-item{border-bottom: 1px solid var(--line);}
.faq-btn{
  width: 100%; background: transparent; border: none;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-body);
  text-align: left;
  padding: 1rem 0;
  cursor: pointer;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; line-height: 1.5;
}
.faq-btn:hover{color: var(--text-head);}
.faq-icon{
  flex-shrink: 0;
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-light);
  transition: transform 0.3s;
  width: 20px; text-align: center;
}
.faq-answer{
  max-height: 0; overflow: hidden;
  transition: max-height 0.4s ease;
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--text-body);
  line-height: 1.8;
}
.faq-item.open .faq-answer{max-height: 400px; padding-bottom: 1rem;}
.faq-item.open .faq-icon{transform: rotate(45deg);}

/* ══════════════════════════
   FOOTER
══════════════════════════ */
.footer{
  border-top: 1px solid var(--line);
  padding: 3rem 1.75rem;
}
.footer-inner{
  max-width: var(--max-w); margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: 2rem 4rem;
  align-items: start;
}
.footer-logo{
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-head);
  margin-bottom: 0.5rem;
}
.footer-sub{
  font-family: var(--font-head);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
}
.footer-col-title{
  font-family: var(--font-head);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.75rem;
}
.footer-nav{display: flex; flex-direction: column; gap: 0.4rem;}
.footer-nav a{
  font-family: var(--font-head);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-nav a:hover{color: var(--text-head);}
.footer-bottom{
  max-width: var(--max-w); margin: 1.5rem auto 0;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem; flex-wrap: wrap;
}
.footer-copy{
  font-family: var(--font-head);
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.footer-copy a{color: var(--text-body); text-decoration: none;}

/* ══════════════════════════
   REVEAL ANIMATION
══════════════════════════ */
.reveal{opacity: 0; transform: translateY(16px); transition: opacity 0.7s ease, transform 0.7s ease;}
.reveal.on{opacity: 1; transform: none;}
.d1{transition-delay: 0.07s;} .d2{transition-delay: 0.15s;} .d3{transition-delay: 0.23s;}
.d4{transition-delay: 0.31s;} .d5{transition-delay: 0.39s;}

/* ══════════════════════════
   DESKTOP (768px+)
══════════════════════════ */
@media(min-width: 768px){
  .nav-links{display: flex;}
  .nav-burger{display: none;}
  .nav-drawer{display: none !important;}

  .hero-img{aspect-ratio: 16/9; max-height: 600px;}

  .footer-inner{grid-template-columns: 1.5fr 1fr 1fr;}
}
@media(max-width: 767px){
  .footer-inner{grid-template-columns: 1fr; gap: 2rem;}
  .footer-bottom{flex-direction: column; align-items: flex-start;}
}

/* ═══════════════════════════════
   CAROUSEL
═══════════════════════════════ */
.carousel-wrap{position:relative;overflow:hidden;width:100%;}
.carousel-track{display:flex;transition:transform .4s ease;}
.carousel-track .slide{flex:0 0 100%;width:100%;}
.carousel-btn{
  position:absolute;top:50%;transform:translateY(-50%);
  width:36px;height:36px;border-radius:50%;
  background:rgba(255,255,255,.85);border:1px solid var(--line);
  cursor:pointer;font-size:1rem;color:var(--text-head);
  display:flex;align-items:center;justify-content:center;
  z-index:10;transition:background .2s;
}
.carousel-btn:hover{background:#fff;}
.carousel-prev{left:.75rem;}
.carousel-next{right:.75rem;}
.carousel-dots{
  display:flex;justify-content:center;gap:.5rem;margin-top:.75rem;
}
.carousel-dot{
  width:6px;height:6px;border-radius:50%;
  background:var(--line-dark);cursor:pointer;transition:background .2s;
}
.carousel-dot.active{background:var(--text-head);}

/* ═══════════════════════════════
   REVIEW CARD (WhatsApp style)
═══════════════════════════════ */
.review-wa{
  background:#f5f0e8;
  border:1px solid #e8e0d0;
  border-radius:4px 16px 16px 16px;
  padding:1.25rem 1.25rem 2rem;
  position:relative;
  font-family:var(--font-body);
  font-size:1.1rem;
  color:var(--text-body);
  line-height:1.75;
}
.review-wa-time{
  position:absolute;bottom:.6rem;right:1rem;
  font-size:.85rem;color:var(--text-light);
  font-family:var(--font-head);letter-spacing:.05em;
}

/* ═══════════════════════════════
   HERO BANNER with overlay text
═══════════════════════════════ */
.hero-banner{
  position:relative;width:100%;overflow:hidden;
}
.hero-banner img{
  width:100%;display:block;
  aspect-ratio:3/4;object-fit:cover;
}
@media(min-width:768px){
  .hero-banner img{aspect-ratio:16/9;max-height:600px;}
}
.hero-banner-overlay{
  position:absolute;inset:0;
  display:flex;flex-direction:column;
  justify-content:flex-end;padding:2rem 1.75rem;
  background:linear-gradient(to top,rgba(0,0,0,.35) 0%,transparent 60%);
}
.hero-banner-overlay .t-display{color:#fff;opacity:.92;}
.hero-banner-overlay .t-caps-sm{color:rgba(255,255,255,.8);}

/* Banner with quote overlay */
.quote-banner{
  position:relative;width:100%;overflow:hidden;
}
.quote-banner img{width:100%;display:block;aspect-ratio:3/4;object-fit:cover;}
.quote-banner-overlay{
  position:absolute;inset:0;
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  padding:2rem;
  background:rgba(0,0,0,.18);
}
.quote-banner-circle{
  width:70%;max-width:260px;aspect-ratio:1;
  border-radius:50%;
  background:rgba(255,255,255,.22);
  backdrop-filter:blur(2px);
  display:flex;flex-direction:column;
  align-items:center;justify-content:center;
  padding:1.5rem;text-align:center;
}
.quote-banner-circle p{
  font-family:var(--font-head);
  font-size:.8rem;font-weight:300;
  letter-spacing:.18em;text-transform:uppercase;
  color:#fff;line-height:1.8;
}

/* Two-image collage */
.img-collage{
  display:grid;grid-template-columns:1fr 1fr;gap:.5rem;
}
.img-collage img{width:100%;aspect-ratio:1;object-fit:cover;display:block;}

/* Beige card with image on top */
.element-card{
  background:var(--bg-card);
  overflow:hidden;
}
.element-card img{
  width:100%;aspect-ratio:1/1;object-fit:cover;display:block;
}
.element-card-body{padding:1.25rem;}
.element-card-title{
  font-family:var(--font-head);font-size:.85rem;font-weight:600;
  letter-spacing:.16em;text-transform:uppercase;
  color:var(--text-head);margin-bottom:.6rem;
}
.element-card-text{
  font-family:var(--font-body);font-size:1.05rem;
  color:var(--text-body);line-height:1.75;
}

/* Info article styles */
.article-body h2{
  font-family:var(--font-head);font-size:1rem;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-head);margin:2rem 0 .75rem;
}
.article-body h3{
  font-family:var(--font-head);font-size:.82rem;font-weight:600;
  letter-spacing:.1em;text-transform:uppercase;
  color:var(--text-head);margin:1.5rem 0 .5rem;
}
.article-body p{
  font-family:var(--font-body);font-size:1rem;
  color:var(--text-body);line-height:1.85;margin-bottom:1rem;
}
.article-body blockquote{
  border-left:2px solid var(--line-dark);
  padding:.75rem 1.25rem;margin:1.5rem 0;
  font-style:italic;color:var(--text-light);
}
.article-body ul{
  padding-left:1.25rem;margin-bottom:1rem;
}
.article-body ul li{
  font-family:var(--font-body);font-size:1.1rem;
  color:var(--text-body);line-height:1.75;margin-bottom:.4rem;
}
.article-body ol{
  padding-left:1.25rem;margin-bottom:1rem;
}
.article-body ol li{
  font-family:var(--font-body);font-size:1.1rem;
  color:var(--text-body);line-height:1.75;margin-bottom:.4rem;
}

/* Memo/guide numbered steps */
.memo-section{margin-bottom:2rem;}
.memo-section-title{
  font-family:var(--font-head);font-size:.82rem;font-weight:700;
  letter-spacing:.2em;text-transform:uppercase;
  color:var(--text-head);
  border-bottom:1px solid var(--line);
  padding-bottom:.5rem;margin-bottom:1rem;
}
.memo-item{
  padding:.75rem 0;border-bottom:1px solid var(--border2, var(--line));
}
.memo-item:last-child{border-bottom:none;}
.memo-item-label{
  font-family:var(--font-head);font-size:.78rem;font-weight:600;
  letter-spacing:.15em;text-transform:uppercase;
  color:var(--text-light);margin-bottom:.3rem;
}
.memo-item-text{
  font-family:var(--font-body);font-size:1.1rem;
  color:var(--text-body);line-height:1.8;
}
.memo-item-text strong{font-weight:700;color:var(--text-head);}

/* GTM noscript helper */
.gtm-noscript{display:none;}

/* ═══════════════════════════════
   DESKTOP WIDTH CONSTRAINT
   All full-bleed elements limited
   to .col width on large screens
═══════════════════════════════ */
@media (min-width: 768px) {
  .page-wrap {
    max-width: var(--col-w);
    margin: 0 auto;
  }

  /* Hero banner inside col stays contained */
  .hero-banner img,
  .quote-banner img {
    aspect-ratio: 4/3;
    max-height: 480px;
  }

  /* Carousels same width as text */
  [data-carousel] {
    max-width: var(--col-w);
    margin-left: auto;
    margin-right: auto;
  }

  /* Element cards in carousel — square */
  .element-card img {
    aspect-ratio: 1 / 1;
    max-height: none;
  }

  /* item-row images smaller on desktop */
  .item-row-img {
    width: 110px;
    height: 110px;
  }

  /* img-collage smaller on desktop */
  .img-collage {
    max-width: 200px;
  }
  .img-collage img {
    aspect-ratio: 1;
  }

  /* split img constrained */
  .split-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    flex-shrink: 0;
  }

  /* Quote banner circle slightly smaller */
  .quote-banner-circle {
    width: 72vw;
    max-width: 260px;
    aspect-ratio: 1 !important;
    border-radius: 50% !important;
  }

  /* Footer full width override */
  .footer .footer-inner {
    max-width: var(--max-w);
  }
}

@media (min-width: 1024px) {
  .page-wrap {
    max-width: var(--col-w);
  }
}

/* ── Social icon buttons ── */
.social-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  color: #fff;
  text-decoration: none;
  transition: opacity .2s, transform .2s;
  flex-shrink: 0;
}
.social-btn:hover { opacity: .85; transform: scale(1.05); }
.social-btn svg { display: block; }

/* ═══════════════════════════════
   GLOBAL LARGER FONT — все страницы
═══════════════════════════════ */
.sym-list li {
  font-size: 1.2rem;
  padding: .85rem 0;
}
.result-list li {
  font-size: 1.2rem;
  line-height: 1.65;
}
.highlight {
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--text-head);
  line-height: 1.7;
}
.pull-quote {
  font-size: clamp(1.15rem, 2.5vw, 1.4rem);
}
.t-serif {
  font-size: 1.2rem;
  line-height: 1.85;
}
.underline-list li {
  font-size: 1.2rem;
  padding: .9rem 0;
}
.faq-btn {
  font-size: 1.1rem;
}
.faq-answer {
  font-size: 1.05rem;
  line-height: 1.85;
}
.article-body p,
.article-body li {
  font-size: 1.1rem;
  line-height: 1.88;
}
.memo-item-text {
  font-size: 1.1rem;
  line-height: 1.82;
}
.review-wa {
  font-size: 1.05rem;
}
.element-card-text {
  font-size: 1rem;
  line-height: 1.78;
}

/* Самое ценное — increased size */
.price-intro-quote {
  font-family: var(--font-body);
  font-size: 1.3rem;
  line-height: 1.8;
  color: var(--text-head);
  text-align: left;
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: .5rem;
}

/* ═══════════════════════════════════════════════════
   ADDITIONS — one clean block, no duplicates
═══════════════════════════════════════════════════ */

/* Carousel square images */
.element-card img { aspect-ratio: 1 / 1 !important; object-fit: cover; }

/* t-caps-sm base */
.t-caps-sm { font-size: 0.95rem; letter-spacing: .15em; }

/* Banner TITLES bold */
.hero-banner-overlay .t-display {
  font-weight: 700 !important;
  letter-spacing: .06em !important;
  opacity: 1 !important;
  text-shadow: 0 1px 8px rgba(0,0,0,.35);
}

/* Banner SUBTITLES (t-caps-sm inside overlay) — desktop */
/* hero subtitle now handled inline per-page */

/* Mobile / desktop image toggling */
@media (max-width: 767px) {
  .mobile-only-img { display: block !important; }
  .desktop-only-img { display: none !important; }
}
@media (min-width: 768px) {
  .mobile-only-img { display: none !important; }
  .desktop-only-img { display: block !important; }
}

/* MOBILE — hero banner taller + bigger text */
@media (max-width: 767px) {

  .hero-banner img {
    aspect-ratio: 3 / 2 !important;
    min-height: 340px !important;
    max-height: 520px !important;
  }
  .hero-banner-overlay {
    padding: 1.25rem 1.25rem 1.5rem !important;
  }

  /* Main title on mobile */
  .hero-banner-overlay .t-display {
    font-size: clamp(1.8rem, 8vw, 2.4rem) !important;
    line-height: 1.2 !important;
  }

  /* Subtitle on mobile — 1.5x bigger than before */

}

/* ═══════════════════════════════
   DESKTOP WIDER COLUMN — 820px
═══════════════════════════════ */
@media (min-width: 768px) {
  :root {
    --col-w: 900px;
  }
}


/* ═══════════════════════════════════════════════════════
   TYPOGRAPHY SCALE — base 22px, minimum readable size
   Все rem считаются от 22px
   Декоративные капс-лейблы намеренно мелче — это дизайн
═══════════════════════════════════════════════════════ */

/* ── ОСНОВНОЙ ТЕКСТ ── */
.t-serif,
.t-serif p           { font-size: 1.2rem !important; line-height: 1.85 !important; }

/* ── СПИСКИ ── */
.sym-list li,
.underline-list li,
.result-list li,
.ba-list li          { font-size: 1.15rem; line-height: 1.4; padding-top: .35rem; padding-bottom: .35rem; }

/* ── FAQ ── */
.faq-btn             { font-size: 1rem; }
.faq-answer          { font-size: 1rem; line-height: 1.85; }

/* ── HIGHLIGHT ── */
.highlight           { font-size: 1.35rem; font-weight: 600; line-height: 1.65; }

/* ── PULL QUOTE ── */
.pull-quote          { font-size: clamp(1.05rem, 2.5vw, 1.25rem); }

/* ── НАУКА ── */
.science-card-title  { font-size: 1.05rem; font-weight: 500; }
.science-card-text   { font-size: 1rem; line-height: 1.8; }
.science-note        { font-size: .72rem; letter-spacing: .1em; }

/* ── ЦИФРЫ/СТАТИСТИКА ── */
.stat-number         { font-size: clamp(2rem, 6vw, 2.8rem); }
.stat-desc           { font-size: .72rem; letter-spacing: .1em; line-height: 1.55; }

/* ── ПРОТОКОЛ ── */
.protocol-title      { font-size: 1.05rem; font-weight: 500; }
.protocol-text       { font-size: 1rem; line-height: 1.75; }
.protocol-num        { font-size: .75rem; letter-spacing: .15em; }
.protocol-sublabel   { font-size: .72rem; letter-spacing: .2em; }
.protocol-maintitle  { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 300; }

/* ── ЗАМЕТКА К РЕЗУЛЬТАТУ ── */
.result-note         { font-size: 1.1rem; font-style: italic; line-height: 1.8; margin-top: 1.5rem; padding-top: 1.25rem; border-top: 1px solid var(--line); }

/* ── ЦЕНЫ ── */
.price-name          { font-size: .82rem; letter-spacing: .1em; }
.price-amount        { font-size: 2rem; }
.price-dur           { font-size: .85rem; }

/* ── КНОПКИ — намеренно капс-мелкий ── */
.btn                 { font-size: .78rem; letter-spacing: .14em; padding: 13px 20px; }

/* ── КАРТОЧКИ ЭЛЕМЕНТОВ (карусель) ── */
.element-card-title  { font-size: 1rem; }
.element-card-text   { font-size: .95rem; line-height: 1.75; }

/* ── ОТЗЫВЫ ── */
.review-wa           { font-size: 1rem; line-height: 1.8; }

/* ── СТАТЬИ ── */
.article-body p,
.article-body li     { font-size: 1rem; line-height: 1.88; }

/* ── ПАМЯТКА ── */
.memo-item-text      { font-size: 1rem; line-height: 1.8; }

/* ── FOOTER — намеренно мелче, это служебное ── */
.footer-nav a        { font-size: .72rem; }
.footer-sub          { font-size: .72rem; }
.footer-copy         { font-size: .7rem; }
.footer-col-title    { font-size: .72rem; }

/* ── НАВИГАЦИЯ ── */
.nav-links a         { font-size: .72rem; }

/* ── ЛЕЙБЛЫ-КАПСЫ — декоративные, намеренно мелкие ── */
.s-label             { font-size: .88rem; letter-spacing: .22em; text-transform: uppercase; font-weight: 600; }
.t-caps-sm           { font-size: .82rem; letter-spacing: .18em; }

/* ── ДЕСКТОП: чуть крупнее ── */
@media (min-width: 768px) {
  --col-w: 900px;
  .t-serif            { font-size: 1.05rem !important; }
  .sym-list li,
  .underline-list li,
  .result-list li,
  .ba-list li         { font-size: 1.2rem; line-height: 1.4; }
  .faq-btn            { font-size: 1.05rem; }
  .faq-answer         { font-size: 1.05rem; }
  .science-card-text  { font-size: 1.05rem; }
}

/* ── Price grid: 2 columns on desktop ── */
#price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) {
  #price-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Кнопки: компактные на десктопе ── */
@media (min-width: 768px) {
  .btn {
    width: auto !important;
    display: inline-block !important;
    min-width: 220px;
    max-width: 420px;
  }
  .btn.btn-arrow { padding-right: 2.5rem; }
  /* Исключение: price block кнопки растягиваем */
  .price-block .btn { width: 100% !important; max-width: 100%; }
  /* И кнопки в блоке Проверьте */
  #price-grid .btn { width: 100% !important; max-width: 100%; }
}

/* ── Кнопки: центрирование текста по вертикали ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 768px) {
  .btn { display: inline-flex; }
  .price-block .btn,
  #price-grid .btn { display: flex; }
}


/* ── Before/After grid ── */
.ba-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--line);
  gap: 1px;
}
.ba-cell {
  background: #fff;
  padding: .75rem 1rem;
  font-family: var(--font-body);
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.5;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
}
.ba-cell::before { content: '— '; color: var(--text-light); flex-shrink: 0; }
.ba-cell.after { color: var(--text-head); }
.ba-cell.after::before { color: var(--gold); }
.ba-cell.ba-head { font-family: var(--font-head); font-size: 1rem; letter-spacing: .18em; text-transform: uppercase; color: var(--text-light); font-weight: 400; align-items: flex-end; padding-bottom: .6rem; }
.ba-cell.ba-head::before { display: none; }
.ba-cell.last { border-bottom: none; }
