/* visit.css (CLEAN VERSION) */
:root{
  --navy:#0b2b44;
  --navy2:#103a5c;
  --gold:#f0b429;
  --bg:#f4f7fb;
  --card:#ffffff;
  --text:#0f172a;
  --muted:#52606d;

  --line:rgba(255,255,255,.14);
  --shadow: 0 18px 50px rgba(2,10,25,.18);
  --softShadow: 0 14px 34px rgba(3,15,35,.12);

  --radius: 12px;   /* единый радиус для фото */
  --radius2: 22px;  /* радиус для карточек (там где оставляем) */
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
html,body{margin:0;padding:0}

body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}
.muted{color:var(--muted)}

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

/* =========================
   HEADER (2 yellow lines)
========================= */
.sm-header{
  position: sticky;
  top: 0;
  z-index: 100;
}

.sm-header__line{height:3px;background:var(--gold)}

.sm-header__bar{
  background: rgba(11,43,68,.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,.14);
  border-top: 1px solid rgba(255,255,255,.10);
}

.sm-header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  min-height:78px;
  padding:12px 0;
}

/* brand */
.sm-brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:240px;
}
.sm-brand__badge{
  width:44px;height:44px;
  border-radius:999px;
  background:#fff;
  display:flex;align-items:center;justify-content:center;
  box-shadow: var(--softShadow);
  overflow:hidden;
}
.sm-brand__badge img{width:34px;height:34px;object-fit:contain}
.sm-brand__text{display:flex;flex-direction:column;line-height:1.05}
.sm-brand__title{
  font-weight:900;
  letter-spacing:.6px;
  color:#fff;
  font-size:15px;
}
.sm-brand__subtitle{font-size:12px;color:rgba(255,255,255,.82)}

/* nav */
.sm-nav{display:flex;gap:14px;align-items:center}
.sm-nav a{
  font-size:14px;
  color:rgba(255,255,255,.92);
  padding:8px 10px;
  border-radius:12px;
  transition:.2s ease;
}
.sm-nav a:hover{background: rgba(255,255,255,.08)}

/* CTA + language */
.sm-cta{display:flex;gap:10px;align-items:center}

.sm-lang{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background: rgba(255,255,255,.06);
}
.sm-lang__link{
  font-weight:900;
  font-size:13px;
  letter-spacing:.02em;
  color:rgba(255,255,255,.88);
  padding:2px 2px;
}
.sm-lang__link:hover{color:#fff}
.sm-lang__link--active{
  color:#fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sm-lang__sep{color:rgba(255,255,255,.55);font-weight:900}

/* Header CTA button */
.sm-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.28);
  font-weight:900;
  white-space:nowrap;
  transition:.18s ease;
}
.sm-btn:hover{filter:brightness(1.02)}
.sm-btn--gold{
  background: var(--gold);
  color:#132032;
  border-color: rgba(0,0,0,.10);
}

/* если ты хочешь убрать Request Appointment в шапке — оставляем так: */
.sm-cta .sm-btn--gold{display:none}

/* mobile toggle */
.sm-navToggle{
  display:none;
  width:44px;height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.06);
  cursor:pointer;
}
.sm-navToggle span{
  display:block;
  width:18px;height:2px;
  margin:4px auto;
  background: rgba(255,255,255,.88);
  border-radius:2px;
}

/* =====================
   BUTTONS (content)
===================== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding:0 18px;
  border-radius:999px;
  border:1px solid transparent;
  font-weight:900;
  transition:.18s ease;
  white-space:nowrap;
}
.btn-gold{
  background: var(--gold);
  color:#132032;
  border-color: rgba(0,0,0,.08);
}
.btn-gold:hover{filter:brightness(.98)}
.btn-darkGhost{
  color: rgba(11,43,68,.95);
  border-color: rgba(11,43,68,.18);
  background: rgba(11,43,68,.04);
}
.btn-darkGhost:hover{background: rgba(11,43,68,.07)}

/* =====================
   HERO (LIGHT)
===================== */
.hero{position:relative;overflow:hidden}

.hero.hero--light{
  background:
    radial-gradient(900px 420px at 52% 18%,
      rgba(240,180,41,.38) 0%,
      rgba(240,180,41,.22) 28%,
      rgba(240,180,41,.10) 52%,
      rgba(240,180,41,0) 72%
    ),
    linear-gradient(180deg,#fff 0%,#f4f7fb 78%,#f4f7fb 100%);
  padding:84px 0 72px;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:28px;
  align-items:start;
}

.eyebrow{
  display:inline-block;
  font-size:12px;
  letter-spacing:.14em;
  font-weight:900;
  color:rgba(11,43,68,.70);
  text-transform:uppercase;
}

.hero-title{
  margin:12px 0 12px;
  font-size: clamp(34px, 4vw, 52px);
  line-height:1.08;
  font-weight:900;
  color: var(--navy);
}

.hero-lead{
  margin:0 0 14px;
  font-size:18px;
  color: rgba(11,43,68,.88);
  font-weight:900;
}

.hero-text{margin:10px 0 0;color:rgba(15,23,42,.78)}

/* убрать кнопки/теги под текстом (как ты хотела) */
#visit .cta-row,
#visit .hero-tags{display:none}

/* HERO media: NO frame + subtle rounding + no “empty padding” */
#visit .media-card{
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: 0;
  overflow: visible;
}
#visit .media-card img{
  width:100%;
  height: clamp(260px, 34vw, 520px);
  object-fit: cover;     /* убирает “пустоты” */
  background: transparent;
  padding: 0;
  border-radius: var(--radius);
}

/* =====================
   SECTIONS
===================== */
.section{padding:44px 0 54px;background:transparent}

.section-alt{
  padding:56px 0 64px;
  background:
    radial-gradient(900px 320px at 10% -80px, rgba(240,180,41,.14), transparent 60%),
    radial-gradient(900px 320px at 90% 0%, rgba(11,43,68,.10), transparent 60%),
    linear-gradient(180deg, #f7fafc, #ffffff);
  border-top:1px solid rgba(240,180,41,.20);
  border-bottom:1px solid rgba(240,180,41,.20);
}

.section-head{padding:2px 2px 8px;margin-bottom:14px}
.kicker{
  font-size:12px;
  letter-spacing:.12em;
  color:rgba(11,43,68,.85);
  font-weight:900;
  text-transform:uppercase;
}
.section h2{
  margin:0 0 6px;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height:1.2;
}

.rule-line{
  margin-top:28px;
  height:1px;
  background: linear-gradient(90deg,
    transparent,
    rgba(11,43,68,.14),
    rgba(240,180,41,.22),
    rgba(11,43,68,.14),
    transparent
  );
}

/* =====================
   GRID + CARDS (base)
===================== */
.grid{display:grid;gap:16px}
.grid.two{grid-template-columns:1fr 1fr}

.card{
  background: var(--card);
  border-radius: var(--radius2);
  box-shadow: var(--softShadow);
  padding:18px;
  border:1px solid rgba(10,30,55,.06);
}
.card h3{margin:0 0 10px;font-size:18px}
.card p{margin:10px 0}

.list{margin:10px 0 0;padding-left:18px}
.list li{margin:6px 0}

/* media card inside sections (default) */
.card-media{padding:0;overflow:hidden}
.card-media img{
  width:100%;
  height:240px;
  object-fit: cover;
  background: rgba(11,43,68,.06);
}

/* =============================
   CLEAN SECTIONS (urgent/benefit/prepare)
   — убрать “карточки” и сделать картинку ближе
============================= */
#urgent .card,
#benefit .card,
#prepare .card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
}

/* сетка: правая колонка фиксированная и ближе */
#urgent .grid.two,
#benefit .grid.two,
#prepare .grid.two{
  grid-template-columns: minmax(0, 1fr) 520px;
  gap: 24px;
  align-items: start;
}

/* media block: прижать к тексту */
#urgent .card.card-media,
#benefit .card.card-media,
#prepare .card.card-media{
  justify-self: start;
  width: 100%;
  max-width: 520px;
  overflow: visible;
}

/* фото: убрать “пустоты”, рамки, и сделать единый радиус */
#urgent .card-media img,
#benefit .card-media img,
#prepare .card-media img{
  height: 320px;
  object-fit: cover;           /* убирает пустые поля */
  background: transparent;
  border: 0;
  box-shadow: none;
  border-radius: var(--radius);
}

/* мини-заметка urgent: без плашки */
#urgent .mini-note{
  margin-top:10px;
  padding:0;
  border:0;
  background:transparent;
  border-radius:0;
  color: rgba(11,43,68,.62);
  font-size:13px;
}

/* =====================
   FIGURES / EVIDENCE / CASE
   — убрать белые “пустые рамки” вокруг картинок
===================== */

/* общий принцип: не делаем белый фон + padding вокруг figure */
.figure-card,
.evidence-card{padding:0;background:transparent;border:0;box-shadow:none}

.figure-card img,
.case-figure-large img,
.case-inline-figure img,
.evidence-figures img,
.img-contain{
  background: transparent;
  padding: 0;
  border: 0;
  box-shadow: none;
  border-radius: var(--radius);
}

/* evidence right: две картинки */
.evidence-figures{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: start;
}
.evidence-figures img{
  width:100%;
  height: 420px;
  object-fit: contain; /* статьи/скриншоты лучше contain, но без белых полей от padding */
}

/* case images */
.case-figure-large img{width:100%;height:480px;object-fit:contain}
.case-inline-figure img{width:100%;height:420px;object-fit:contain}

/* =====================
   INFO CARD (leave as-is)
===================== */
.badge-row{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:8px}
.badge{
  display:inline-flex;
  align-items:center;
  font-size:12px;
  font-weight:900;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(11,43,68,.06);
  border: 1px solid rgba(11,43,68,.10);
  color: rgba(11,43,68,.92);
}

.info-card{
  padding:18px;
  border-radius: var(--radius2);
  background:
    radial-gradient(900px 220px at 20% -40px, rgba(240,180,41,.18), transparent 62%),
    radial-gradient(900px 220px at 90% 0%, rgba(11,43,68,.10), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.96), rgba(255,255,255,.92));
  border:1px solid rgba(10,30,55,.08);
  box-shadow: var(--softShadow);
}

.info-top{
  display:flex;
  flex-direction:column;
  gap:10px;
  padding-bottom:12px;
  border-bottom:1px solid rgba(10,30,55,.08);
  margin-bottom:12px;
}

.info-kicker{
  font-size:12px;
  letter-spacing:.12em;
  font-weight:900;
  text-transform:uppercase;
  color: rgba(11,43,68,.85);
}

.info-block{
  padding:12px 0;
  border-bottom:1px solid rgba(10,30,55,.08);
}
.info-block:last-of-type{border-bottom:none;padding-bottom:0}

.info-title{margin:0 0 8px;font-size:16px;color:rgba(11,43,68,.95)}
.info-list{margin:0;padding-left:18px}
.info-list li{margin:6px 0;color:rgba(15,23,42,.86)}

/* =====================
   CONTACT
===================== */
.contact{
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:start;
}

.contact-form{
  background: rgba(255,255,255,.86);
  border-radius: var(--radius2);
  padding:18px;
  border:1px solid rgba(15,23,42,.08);
  box-shadow: 0 18px 50px rgba(15,23,42,.10);
}

.contact-form label{display:block;margin-bottom:12px}
.contact-form span{display:block;font-size:12px;color:var(--muted);margin-bottom:6px}
.contact-form input,
.contact-form textarea{
  width:100%;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.12);
  background:#fff;
  color:var(--text);
  padding:12px 12px;
  outline:none;
}
.contact-form input:focus,
.contact-form textarea:focus{
  border-color: rgba(240,180,41,.55);
  box-shadow: 0 0 0 4px rgba(240,180,41,.18);
}
.form-note{margin:10px 0 0;font-size:12px;color:var(--muted)}

.contact-meta{margin-top:14px;display:grid;gap:10px}
.meta-item{
  padding:12px;
  border-radius:16px;
  border:1px solid rgba(15,23,42,.08);
  background: rgba(255,255,255,.86);
  box-shadow: 0 16px 46px rgba(15,23,42,.08);
}
.meta-label{display:block;font-size:12px;color:var(--muted)}
.meta-value{font-weight:900;color:rgba(11,43,68,.95)}

.map-card{padding:0;overflow:hidden}
.map-embed{width:100%;height:320px}
.map-embed iframe{width:100%;height:100%;display:block;border:0}

.pill-link{
  display:inline-flex;
  margin-top:10px;
  padding:8px 12px;
  border-radius:999px;
  font-weight:900;
  font-size:12px;
  background: rgba(240,180,41,.14);
  border:1px solid rgba(240,180,41,.30);
  color: rgba(11,43,68,.95);
}
.pill-link:hover{background: rgba(240,180,41,.18)}



/* =====================
   RESPONSIVE
===================== */
@media (max-width: 980px){
  .hero-inner{grid-template-columns:1fr}
  .grid.two{grid-template-columns:1fr}
  .contact{grid-template-columns:1fr}
  .map-embed{height:280px}

  /* clean sections stack */
  #urgent .grid.two,
  #benefit .grid.two,
  #prepare .grid.two{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  #urgent .card-media img,
  #benefit .card-media img,
  #prepare .card-media img{
    height: auto;
  }

  /* evidence images stack */
  .evidence-figures{grid-template-columns:1fr}
  .evidence-figures img{height: 360px}

  .case-figure-large img{height: 340px}
  .case-inline-figure img{height: 320px}
}

@media (max-width: 860px){
  .sm-navToggle{display:inline-block}

  .sm-nav{
    position: fixed;
    top: 86px;
    left: 20px;
    right: 20px;
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: 10px;
    border-radius: 18px;
    background: rgba(11,43,68,.96);
    border: 1px solid rgba(255,255,255,.14);
    box-shadow: var(--shadow);
  }

  .sm-nav a{
    width:100%;
    padding: 10px 12px;
    border-radius: 14px;
    background: rgba(255,255,255,.06);
  }
  .sm-nav a:hover{background: rgba(255,255,255,.10)}
  .sm-nav.open{display:flex}
}

/* =============================
   CLEAN BLOCKS — remove white cards
   (Clinical perspective + What to expect)
============================= */

/* Clinical perspective */
#clinical .card,
#clinical .info-card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* What to expect */
#expect .card,
#expect .info-card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* =============================
   CLINICAL PERSPECTIVE — remove text cards
============================= */

/* убрать карточный стиль только у ТЕКСТА */
#perspective .stack .card{
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
}

/* чуть воздуха между текстовыми блоками */
#perspective .stack{
  display: grid;
  gap: 18px;
}



#perspective .case-title{
  margin: 0 0 6px;
  font-size: 20px;
  font-weight: 900;
  color: var(--navy);
}

#perspective .case-subtitle{
  margin: 0 0 14px;
  font-size: 14px;
  font-weight: 900;
  color: #e67e22;
}

#perspective .case-caption{
  margin-top: 10px;
  font-size: 14px;
  color: rgba(15,23,42,.75);
}

/* Case report – tighten spacing around image */
#perspective .case-title{
  margin: 0 0 4px;        /* было слишком много */
  line-height: 1.25;
}

#perspective .case-subtitle{
  margin: 0 0 10px;       /* прижимаем к картинке */
  line-height: 1.3;
}

#perspective .case-figure-large{
  margin: 0;              /* убираем лишние отступы контейнера */
}

#perspective .case-caption{
  margin: 8px 0 0;        /* ближе к картинке */
  text-align: center;
  line-height: 1.4;
}

/* === Perspective case: tighten text + crop empty space inside image === */
#perspective .figure-card .case-title{
  margin: 0 0 6px !important;
  line-height: 1.25;
}
#perspective .figure-card .case-subtitle{
  margin: 0 0 12px !important;
  line-height: 1.3;
}
#perspective .figure-card .case-caption{
  margin: 10px 0 0 !important;
  line-height: 1.4;
  text-align: center;
}

/* ключевое: убираем “пустоту” внутри PNG, показывая верх */
#perspective .figure-card .case-figure-large img{
  width: 100%;
  height: 360px !important;      /* подстрой: 320–420 */
  object-fit: cover !important;  /* обрезает пустые поля */
  object-position: top center;   /* держим верх (где текст/фото) */
  border-radius: var(--radius);
}

.case-title{
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 800;
  line-height: 1.3;
  color: var(--navy);
}

/* FIX: Supporting figures titles are cut */
#supporting-figures .card{
  height: auto !important;
  min-height: unset !important;
  overflow: visible !important;
}

/* FIX: Supporting Figures layout */
#supporting-figures .card{
  height: auto !important;   /* убираем обрезку */
  padding: 20px !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Заголовки и текст */
#supporting-figures h3{
  margin: 0;
  font-size: 18px;
  line-height: 1.3;
}

#supporting-figures p{
  margin: 0 0 6px;
  font-size: 14px;
  color: rgba(15,23,42,.75);
}

/* Картинки — полностью видимые */
#supporting-figures img{
  width: 100%;
  height: auto !important;
  max-height: 420px;
  object-fit: contain !important; /* НЕ обрезаем */
  background: transparent;
}

/* NAVY titles for Supporting Figures */
#supporting-figures h3{
  color: var(--navy);        /* основной navy */
  font-weight: 800;
}

/* Navy subtitle (MALT second line) */
#supporting-figures p{
  color: rgba(11,43,68,.85); /* мягкий navy, не чёрный */
}