/* Axiom Clinic — общий стиль сайта */

:root{
  --cream: #f4f1ea;
  --cream-deep: #ece7db;
  --paper: #faf8f3;
  --ink: #1c231f;
  --ink-soft: #4a544d;
  --line: #ddd6c6;
  --line-soft: #e6e0d2;
  --dark: #182420;
  --dark-2: #101a16;
  --sage: #6f8f7c;
  --sage-deep: #4c6c58;
  --sage-pale: #a9c0ae;

  --serif: "Source Serif 4", "Iowan Old Style", "Georgia", serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  font-family:var(--sans);
  background:var(--cream);
  color:var(--ink);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;display:block;}
a{color:inherit;text-decoration:none;}
ul{margin:0;padding:0;list-style:none;}
h1,h2,h3{font-family:var(--serif);font-weight:500;margin:0;line-height:1.15;}
p{margin:0;}

.container{
  max-width:1180px;
  margin:0 auto;
  padding:0 40px;
}

/* ---------- Topbar ---------- */
.topbar{
  background:var(--dark);
  color:#cfd8d1;
  font-size:13px;
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding-top:9px;
  padding-bottom:9px;
}
.topbar-left span{margin-right:16px;}
.topbar-left b{color:#fff;font-weight:600;}
.topbar-right a{margin-left:18px;opacity:.85;}
.topbar-right a:hover{opacity:1;}

/* ---------- Header / nav ---------- */
header.site-header{
  background:var(--cream);
  border-bottom:1px solid var(--line);
  position:sticky;
  top:0;
  z-index:100;
}
.header-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:22px 0 18px;
  gap:24px;
}
.logo{
  font-family:var(--serif);
  font-size:23px;
  white-space:nowrap;
}
.logo em{
  font-style:italic;
  color:var(--sage-deep);
}
.header-info{
  display:flex;
  gap:34px;
  font-size:13.5px;
  color:var(--ink-soft);
}
.header-info b{
  display:block;
  color:var(--ink);
  font-weight:600;
  font-size:14px;
  margin-bottom:2px;
}
.header-info .call-link{
  color:var(--sage-deep);
  text-decoration:underline;
  font-size:13px;
}
.header-icons{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:10px;
}
.social-pills{
  display:flex;
  align-items:center;
  gap:8px;
}
.icon-pill{
  height:30px;
  min-width:30px;
  padding:0 8px;
  border-radius:15px;
  border:1px solid var(--line);
  display:flex;align-items:center;justify-content:center;
  font-size:10.5px;font-weight:600;color:var(--ink-soft);
}
.icon-pill:hover{border-color:var(--ink); color:var(--ink);}
.btn{
  display:inline-block;
  padding:12px 22px;
  font-size:14px;
  font-weight:600;
  border:1px solid var(--dark);
  cursor:pointer;
  transition:background .15s ease, color .15s ease, border-color .15s ease;
}
.btn-dark{
  background:var(--dark);
  color:#fff;
}
.btn-dark:hover{background:var(--dark-2);}
.btn-outline{
  background:transparent;
  color:var(--ink);
  border-color:var(--line);
}
.btn-outline:hover{border-color:var(--ink);}
.btn-sage{
  background:var(--sage);
  color:#fff;
  border-color:var(--sage);
}
.btn-sage:hover{background:var(--sage-deep);}

nav.main-nav{
  display:flex;
  gap:30px;
  padding-bottom:16px;
  font-size:14.5px;
}
nav.main-nav a{
  padding-bottom:4px;
  color:var(--ink-soft);
  border-bottom:2px solid transparent;
}
nav.main-nav a:hover{color:var(--ink);}
nav.main-nav a.active{
  color:var(--ink);
  border-bottom-color:var(--sage-deep);
  font-weight:600;
}

/* ---------- Breadcrumb + page head ---------- */
.crumb{
  font-size:12.5px;
  color:var(--ink-soft);
  padding-top:22px;
}
.crumb a{color:var(--ink-soft);}
.crumb a:hover{color:var(--ink);}
.page-head{
  padding:14px 0 40px;
  border-bottom:1px solid var(--line);
  background:var(--cream);
}
.eyebrow{
  font-size:12.5px;
  color:var(--sage-deep);
  margin-bottom:10px;
}
.page-head h1{
  font-size:40px;
  margin-bottom:14px;
}
.page-head .lead{
  max-width:640px;
  color:var(--ink-soft);
  font-size:16px;
  line-height:1.6;
}
.page-head-actions{
  display:flex;
  gap:12px;
  margin-top:26px;
}

/* ---------- Generic section ---------- */
.section{
  padding:64px 0;
}
.section-tight{padding:44px 0;}
.section-head{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:40px;
  margin-bottom:34px;
}
.section-head h2{font-size:28px;}
.section-head .note{
  max-width:340px;
  color:var(--ink-soft);
  font-size:14.5px;
  line-height:1.55;
  text-align:right;
}

/* ---------- Placeholder art block ---------- */
.art{
  background:linear-gradient(135deg,#96ad9c 0%, #4f6b57 100%);
  position:relative;
  overflow:hidden;
}
.art.alt{background:linear-gradient(160deg,#a6b6a2 0%, #3f5a49 100%);}
.art-tag{
  position:absolute;
  top:12px;left:12px;
  background:rgba(20,28,23,.55);
  color:#fff;
  font-size:11px;
  letter-spacing:.04em;
  padding:5px 9px;
}
.art-tag.right{left:auto;right:12px;}

/* ---------- Homepage hero slider ---------- */
.hero-slider{
  position:relative;
  width:100%;
  height:480px;
  overflow:hidden;
  background:linear-gradient(135deg,#96ad9c 0%, #4f6b57 100%);
}
.hero-slide{
  position:absolute;
  inset:0;
  display:flex;
  align-items:center;
  justify-content:center;
  opacity:0;
  transition:opacity .6s ease;
  background:linear-gradient(135deg,#96ad9c 0%, #4f6b57 100%);
}
.hero-slide.alt{background:linear-gradient(160deg,#a6b6a2 0%, #3f5a49 100%);}
.hero-slide.active{opacity:1;}
.hero-slide-label{
  color:#fff;
  font-size:13px;
  opacity:.85;
  letter-spacing:.02em;
}
.hero-dots{
  position:absolute;
  bottom:22px;
  left:50%;
  transform:translateX(-50%);
  display:flex;
  gap:9px;
  z-index:2;
}
.hero-dot{
  width:9px;height:9px;
  border-radius:50%;
  background:rgba(255,255,255,.45);
  cursor:pointer;
  transition:background .2s ease;
}
.hero-dot.active{background:#fff;}
@media(max-width:640px){
  .hero-slider{height:320px;}
}

/* ---------- Footer CTA ---------- */
.cta-band{
  background:var(--dark);
  color:#f2efe6;
  padding:40px 0;
}
.cta-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  flex-wrap:wrap;
}
.cta-row h3{
  font-size:22px;
  color:#fff;
  margin-bottom:8px;
}
.cta-row p{
  color:#b8c2ba;
  font-size:14.5px;
  max-width:520px;
  line-height:1.5;
}

/* ---------- Footer ---------- */
footer.site-footer{
  background:var(--dark-2);
  color:#c7d0c9;
}
.footer-main{
  padding:50px 0 30px;
  display:grid;
  grid-template-columns:1.6fr 1fr 1fr 1fr;
  gap:24px;
}
.footer-brand .logo{color:#fff;}
.footer-brand p{
  margin-top:14px;
  font-size:13.5px;
  line-height:1.6;
  color:#93a096;
  max-width:260px;
}
.footer-col h4{
  color:#fff;
  font-size:13.5px;
  font-weight:600;
  margin-bottom:14px;
}
.footer-col li{margin-bottom:10px;}
.footer-col a{
  font-size:13.5px;
  color:#a9b4a4;
}
.footer-col a:hover{color:#fff;}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding:18px 0 26px;
  display:flex;
  justify-content:space-between;
  gap:20px;
  font-size:12.5px;
  color:#7c887e;
  flex-wrap:wrap;
}
.footer-bottom a{margin-left:18px;color:#7c887e;}
.footer-bottom a:hover{color:#fff;}

/* ---------- Cards ---------- */
.card{
  background:var(--paper);
  border:1px solid var(--line-soft);
}
.card-pad{padding:26px 28px;}

/* ---------- Responsive ---------- */
@media (max-width: 900px){
  .container{padding:0 20px;}
  .header-row{flex-wrap:wrap;}
  .header-info{display:none;}
  nav.main-nav{flex-wrap:wrap;gap:16px 22px;}
  .footer-main{grid-template-columns:1fr 1fr;}
  .section-head{flex-direction:column;align-items:flex-start;}
  .section-head .note{text-align:left;}
  .cta-row{flex-direction:column;align-items:flex-start;}
}
