/* =========================================================
   Base
   ========================================================= */

:root{
  --navy: #0b2a45;
  --navy-2:#0a2740;
  --gold: #f5b11a;
  --bg: #f3f6f9;
  --card: #ffffff;
  --text: #1f2d3a;
  --muted: rgba(31,45,58,.72);
  --line: rgba(11,42,69,.10);
  --shadow: 0 18px 40px rgba(0,0,0,.08);
  --r: 22px;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height:1.6;
}

img{ max-width:100%; height:auto; display:block; }

.container{
  width:min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

/* =========================================================
   Header
   ========================================================= */

.site-header{
  position: sticky;
  top:0;
  z-index: 50;
  background: linear-gradient(180deg, var(--navy), var(--navy-2));
  border-top: 3px solid var(--gold);
  border-bottom: 2px solid rgba(245,177,26,.55);
}

.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding: 14px 0;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
}

.logo-badge{
  width:44px;
  height:44px;
  border-radius:999px;
  background:#fff;
  display:grid;
  place-items:center;
  overflow:hidden;
  flex: 0 0 auto;
}
.logo-badge img{ width:36px; height:36px; object-fit:contain; }

.logo-title{
  font-weight:800;
  letter-spacing:.02em;
  font-size: 16px;
  line-height:1.1;
}
.logo-subtitle{
  font-size: 12px;
  opacity:.85;
}

.main-nav{
  display:flex;
  gap:18px;
  align-items:center;
}
.main-nav a{
  color:#fff;
  text-decoration:none;
  font-size: 14px;
  opacity:.9;
}
.main-nav a:hover{ opacity:1; }

.header-actions{
  display:flex;
  align-items:center;
  gap:16px;
}

.lang-switch{
  color:#fff;
  font-size: 13px;
  opacity:.95;
}
.lang{
  color:#fff;
  text-decoration:none;
  font-weight:700;
}
.lang:not(.is-active){ opacity:.75; }
.lang.is-active{ opacity:1; }

.btn-appointment{
  background: var(--gold);
  color:#101010;
  text-decoration:none;
  font-weight:800;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: 0 10px 22px rgba(0,0,0,.18);
  white-space: nowrap;
}

/* burger left as is */
.nav-toggle{
  display:none;
  border:0;
  background:transparent;
  width:44px;
  height:44px;
  border-radius: 12px;
}
.nav-toggle span{
  display:block;
  height:2px;
  background:#fff;
  margin:6px 8px;
  opacity:.9;
}

/* =========================================================
   Hero
   ========================================================= */

.hero{
  position:relative;
  overflow:hidden;
  padding: 54px 0 34px;
}

.hero--light{
  background:
    radial-gradient(900px 320px at 35% 0%, rgba(245,177,26,.28), transparent 60%),
    linear-gradient(180deg, #ffffff, #f6f8fb);
  border-bottom: 1px solid var(--line);
}

.hero-bg{
  position:absolute;
  inset:0;
  pointer-events:none;
}

.hero-inner{
  position:relative;
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items:center;
}

.eyebrow{
  font-size: 12px;
  letter-spacing:.14em;
  font-weight:800;
  color: rgba(11,42,69,.65);
}

.hero-title{
  margin: 8px 0 10px;
  font-size: clamp(34px, 4vw, 54px);
  line-height:1.05;
  letter-spacing:-.02em;
}

.hero-lead{
  margin: 0 0 14px;
  font-size: 16px;
  font-weight:700;
  color: rgba(11,42,69,.78);
}

.cta-row{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 18px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
  border-radius: 999px;
  padding: 10px 16px;
  font-weight:800;
  font-size: 14px;
  border: 1px solid transparent;
}

.btn-gold{
  background: var(--gold);
  color:#101010;
  box-shadow: 0 10px 22px rgba(0,0,0,.10);
}

.btn-outline{
  background: transparent;
  border-color: rgba(11,42,69,.25);
  color: var(--navy);
}

.media-card{
  border-radius: var(--r);
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow);
}
.media-card img{
  width:100%;
  height:auto;
  display:block;
}

/* =========================================================
   Sections / Typography
   ========================================================= */

.section{
  padding: 54px 0;
}

.section-alt{
  background: linear-gradient(180deg, #eef3f8, #f7f9fc);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-head{
  max-width: 980px;
  margin-bottom: 18px;
}

.kicker{
  font-size: 12px;
  letter-spacing:.14em;
  font-weight:900;
  text-transform:uppercase;
  color: rgba(11,42,69,.55);
  margin-bottom: 6px;
}

.section h2{
  margin: 0 0 10px;
  font-size: 30px;
  line-height:1.2;
  letter-spacing:-.01em;
}

.muted{
  color: var(--muted);
}

.list{
  padding-left: 20px;
  margin: 10px 0;
}

.fn-link{
  text-decoration:none;
  font-weight:800;
  color: var(--navy);
}

.mini-note{
  margin-top: 14px;
  padding: 14px 16px;
  border: 1px dashed rgba(11,42,69,.18);
  border-radius: 16px;
  color: rgba(11,42,69,.75);
  background: rgba(255,255,255,.65);
}

.divider{
  height:1px;
  background: var(--line);
  margin: 18px 0;
}

/* =========================================================
   Card base (we'll neutralize in flow sections below)
   ========================================================= */

.card{
  background: var(--card);
  border-radius: var(--r);
  padding: 22px 22px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(11,42,69,.06);
}

.card-media{
  padding: 0;
}
.card-media img{
  border-radius: var(--r);
}
.card-body{
  padding: 14px 18px;
}

.grid.two{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items:start;
}

.beauty-grid{
  display:grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 22px;
  align-items:start;
}

.beauty-cta{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top: 14px;
}

.beauty-ul{
  list-style:none;
  padding:0;
  margin: 12px 0 0;
  display:flex;
  flex-direction:column;
  gap:12px;
}
.beauty-ul li{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 12px 0;
  border-top: 1px solid rgba(11,42,69,.10);
}
.beauty-ul .dot{
  width:10px;
  height:10px;
  border-radius:999px;
  margin-top: 7px;
  background: var(--gold);
  flex: 0 0 auto;
}
.beauty-ul strong{ display:block; }
.beauty-ul .desc{
  display:block;
  margin-top: 2px;
  color: rgba(31,45,58,.72);
}

.beauty-media{
  margin-top: 14px;
  border-radius: 18px;
  overflow:hidden;
  background:#fff;
  box-shadow: var(--shadow);
}
.beauty-img{
  width:100%;
  height:auto;
  display:block;
}

/* =========================================================
   Slides
   ========================================================= */

.slide-cap{
  color: rgba(11,42,69,.70);
  font-size: 13px;
}

/* =========================================================
   Contact
   ========================================================= */

.contact{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items:start;
}

.contact-form label{
  display:block;
  margin-bottom: 12px;
}
.contact-form span{
  display:block;
  font-weight:800;
  font-size: 12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  color: rgba(11,42,69,.60);
  margin-bottom: 6px;
}

.contact-form input,
.contact-form textarea{
  width:100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(11,42,69,.18);
  outline:none;
  background:#fff;
  font: inherit;
}

.form-note{
  color: rgba(31,45,58,.65);
  font-size: 12px;
}

.stack{
  display:flex;
  flex-direction:column;
  gap: 22px;
}

.contact-meta{
  display:flex;
  flex-direction:column;
  gap: 12px;
  margin-top: 12px;
}
.meta-item{
  display:grid;
  grid-template-columns: 120px 1fr;
  gap: 10px;
}
.meta-label{
  font-weight:900;
  color: rgba(11,42,69,.60);
  font-size: 12px;
  text-transform:uppercase;
  letter-spacing:.08em;
}
.meta-value a{
  color: var(--navy);
  text-decoration:none;
  font-weight:800;
}

.map-embed iframe{
  width:100%;
  height: 360px;
  display:block;
}

.pill-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid rgba(11,42,69,.18);
  text-decoration:none;
  color: var(--navy);
  font-weight:900;
}



/* =========================================================
   FLOW OVERRIDES — one column, no blocky cards
   (this is the key part you wanted)
   ========================================================= */

/* Generic flow */
.flow{
  display:flex;
  flex-direction:column;
  gap:18px;
  max-width: 980px;
}

.flow-item{ padding:0; margin:0; }
.flow-item h3{ margin:0 0 10px; }

.flow-sep{
  height:1px;
  background: rgba(11,42,69,.12);
  margin: 6px 0;
}

/* BEAUTY: remove card feel and keep content one after another */
.beauty .beauty-grid{ display:block; } /* stack */
.beauty .card{
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  border: 0;
}
.beauty .beauty-list{ margin-top: 18px; }
.beauty .beauty-cta{ gap:12px; }

/* Make options list less "blocky" */
.beauty .beauty-ul li{
  padding: 10px 0;
}
.beauty .beauty-media{
  max-width: 820px;
}

/* MACROPHAGES: stack and remove card look */
#macrophages .grid.two{ display:block; }
#macrophages .card{
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  border: 0;
}
#macrophages .grid.two .card + .card{
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(11,42,69,.12);
}

/* TYPES: one by one (no blocks) */
#types .grid.two{ display:block; }
#types .card{
  background: transparent;
  box-shadow: none;
  border-radius: 0;
  padding: 0;
  border: 0;
}

/* Hair types flow */
.hairtypes-flow{
  display:flex;
  flex-direction:column;
  gap:18px;
  max-width: 980px;
}
.hairtype-item{
  padding: 0;
  margin: 0;
  border-top: 1px solid rgba(11,42,69,.12);
  padding-top: 16px;
}
.hairtype-item:first-child{
  border-top: 0;
  padding-top: 0;
}

/* Slides: keep image, but remove "card block" vibe */
.slide-card{
  background: transparent !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  margin-top: 18px;
}
.slide-card img{
  width:100%;
  height:auto;
  display:block;
  border-radius: 18px;
  box-shadow: var(--shadow);
}
.slide-card .card-body{
  padding: 10px 0 0 !important;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .main-nav{ display:none; } /* keep simple */
  .nav-toggle{ display:block; }
  .beauty-grid{ display:block; }
  .contact{ grid-template-columns: 1fr; }
  .meta-item{ grid-template-columns: 1fr; }
}

/* =========================================
   BEAUTY OPTIONS — text left / image right
   ========================================= */

.beauty-options-flow{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
  margin-top: 24px;
}

/* text */
.beauty-options-text h3{
  margin: 0 0 6px;
}

.beauty-options-text .muted{
  margin-bottom: 14px;
}

/* image */
.beauty-options-media{
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.beauty-options-media img{
  width:100%;
  height:auto;
  display:block;
}

/* mobile */
@media (max-width: 900px){
  .beauty-options-flow{
    grid-template-columns: 1fr;
  }

  .beauty-options-media{
    margin-top: 12px;
  }
}

/* =========================================================
   Beauty options: text + image side by side
   ========================================================= */

.beauty-options-flow{
  display:grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
  max-width: 1100px;
}

.beauty-options-media{
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0,0,0,.08);
}

.beauty-options-media img{
  width:100%;
  height:auto;
  display:block;
}

/* Mobile */
@media (max-width: 980px){
  .beauty-options-flow{
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
/* =========================================================
   Case reports: make them calmer & smaller
   ========================================================= */

.slide-card{
  max-width: 900px;
  margin: 24px auto 0;
}

.slide-card img{
  max-height: 520px;
  object-fit: contain;
}

/* Even calmer on large screens */
@media (min-width: 1200px){
  .slide-card{
    max-width: 820px;
  }
}

/* Beauty options image — remove rounded corners */
.beauty-options-media{
  border-radius: 0;
  overflow: visible;
  box-shadow: none; /* если тень тоже не нужна */
}

.beauty-options-media img{
  border-radius: 0;
  display: block;
  width: 100%;
  height: auto;
}

/* =========================================
   BEAUTY OPTIONS — balance text & image
   ========================================= */

.beauty-options-flow{
  display: grid;
  grid-template-columns: 1.05fr 1.25fr; /* картинка чуть шире */
  gap: 36px;
  align-items: start;
}

/* TEXT — make denser */
.beauty-options-text p{
  margin-bottom: 12px;
}

.beauty-options-text h3{
  margin-bottom: 8px;
}

.beauty-ul{
  gap: 10px; /* было визуально больше */
}

.beauty-ul li{
  padding: 8px 0; /* компактнее */
}

/* IMAGE — slightly larger, clean */
.beauty-options-media img{
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile */
@media (max-width: 980px){
  .beauty-options-flow{
    grid-template-columns: 1fr;
    gap: 20px;
  }
}