/* ============================================
   Олена Пілатес на Виноградарі — базові стилі
   Палітра: тепла нейтральна (крем/еспресо/теракота)
   ============================================ */

:root {
  --bg: #f7f1ea;
  --bg-alt: #efe4d6;
  --bg-deep: #2b2620;
  --text: #2b2620;
  --text-soft: #6b6055;
  --text-on-deep: #f3ece2;
  --accent: #b9694a;
  --accent-soft: #e7c9b8;
  --line: #ded3c4;

  --font-head: "Cormorant Garamond", "Georgia", serif;
  --font-body: "Work Sans", "Segoe UI", sans-serif;

  --container: 1180px;
  --radius: 2px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--text);
}

h1 {
  font-size: clamp(2.2rem, 4.4vw, 3.5rem);
  font-weight: 600;
  text-wrap: balance;
}
h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); text-wrap: balance; }
h3 { font-size: 1.3rem; letter-spacing: 0.01em; }

p { margin: 0 0 1em; color: var(--text-soft); }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 0.72rem;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 14px;
}

.lede {
  font-size: 1.15rem;
  color: var(--text-soft);
  max-width: 660px;
}

.br-desktop { display: none; }
@media (min-width: 881px) {
  .br-desktop { display: inline; }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.btn svg { width: 17px; height: 17px; flex: none; }

.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #a3573b; }

.btn-outline {
  background: transparent;
  border-color: var(--text);
  color: var(--text);
}
.btn-outline:hover { background: var(--text); color: var(--bg); }

.btn-sm { padding: 10px 18px; font-size: 0.86rem; }

.btn-square {
  width: 42px;
  height: 42px;
  padding: 0;
}

.btn-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 28px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 241, 234, 0.94);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 76px;
}

.logo {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--text);
  letter-spacing: 0.01em;
  white-space: nowrap;
}
.logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.9rem;
  color: var(--text);
  font-weight: 500;
  white-space: nowrap;
}
.nav-links a:hover { color: var(--accent); }

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

.lang-switch {
  display: flex;
  gap: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-right: 6px;
}
.lang-switch a {
  text-decoration: none;
  color: var(--text-soft);
  padding: 2px 3px;
}
.lang-switch a.active { color: var(--accent); }

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--text);
  border-radius: var(--radius);
  width: 42px;
  height: 42px;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--text);
  margin: 4px auto;
}

/* Hero */
.hero {
  --header-h: 77px; /* 76px шапка + 1px бордер */
  padding: 40px 0;
  min-height: calc(100svh - var(--header-h));
  display: flex;
  align-items: center;
}
.hero .container {
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(32px, 4vw, 56px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.1rem, 3.9vw, 3.15rem);
  margin-bottom: 0.42em;
}
.hero .lede {
  font-size: clamp(1.02rem, 1.15vw, 1.13rem);
  max-width: 560px;
}
.hero .btn-row { margin-top: clamp(20px, 2.6vh, 28px); }
.hero-visual,
.about-visual,
.prenatal-visual {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius);
  background: linear-gradient(155deg, var(--accent-soft) 0%, var(--bg-alt) 55%, var(--line) 100%);
}

/* хіро-фото не має виштовхувати перший екран за межі вьюпорта */
.hero-visual {
  aspect-ratio: 4 / 5;
  max-height: calc(100svh - 77px - clamp(72px, 11vh, 132px));
}

.hero .trust-line { margin-top: clamp(18px, 2.8vh, 30px); }

.trust-line {
  margin-top: 30px;
  font-size: 0.85rem;
  color: var(--text-soft);
  display: flex;
  align-items: center;
  gap: 10px;
}
.trust-line::before {
  content: "";
  width: 26px;
  height: 1px;
  background: var(--accent);
  flex: none;
}

/* Sections */
section { padding: 90px 0; }
.section-alt { background: var(--bg-alt); }
.section-deep {
  background: var(--bg-deep);
  color: var(--text-on-deep);
}
.section-deep h2, .section-deep h3, .section-deep p { color: var(--text-on-deep); }
.section-deep p { opacity: 0.82; }
.section-deep .eyebrow { color: var(--accent-soft); }
.section-deep .btn-outline {
  border-color: rgba(243, 236, 226, 0.5);
  color: var(--text-on-deep);
}
.section-deep .btn-outline:hover {
  background: var(--text-on-deep);
  color: var(--bg-deep);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 56px;
  text-align: center;
}
.section-head.left { text-align: left; margin: 0 0 48px; }
.section-head.left .lede { margin-bottom: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  background: linear-gradient(160deg, var(--line) 0%, var(--bg) 60%, var(--accent-soft) 100%);
}
.credentials {
  list-style: none;
  padding: 0;
  margin: 28px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.credentials li {
  padding-left: 22px;
  position: relative;
  color: var(--text-soft);
  font-size: 0.95rem;
}
.credentials li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* Кому підійде: шкала рівнів */
.level-scale {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
  margin-top: 8px;
}
.level-scale::before {
  content: "";
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  height: 1px;
  background: linear-gradient(90deg, var(--line) 0%, var(--accent) 100%);
}
.level-step {
  position: relative;
  padding-top: 36px;
}
.level-step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  border: 1px solid var(--accent);
  background: var(--bg-alt);
}
.level-step h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}
.level-step p {
  margin: 0;
  font-size: 0.94rem;
}

/* Кому підійде: запити з іконками */
.goals-block { margin-top: 72px; }
.goals-block .eyebrow { display: block; margin-bottom: 22px; }
.goals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(196px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.goal-item {
  background: var(--bg);
  padding: 30px 24px;
}
.goal-item svg {
  width: 26px;
  height: 26px;
  color: var(--accent);
  margin-bottom: 16px;
}
.goal-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.goal-item p {
  margin: 0;
  font-size: 0.89rem;
  line-height: 1.55;
}

/* Напрямки: велике обладнання (основний рівень) */
.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
  gap: 24px;
}
.equipment-card {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  padding: 36px 30px;
}
.equipment-card svg {
  width: 36px;
  height: 36px;
  color: var(--accent);
  margin-bottom: 20px;
}
.equipment-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}
.equipment-card p {
  margin: 0;
  font-size: 0.92rem;
}

/* Напрямки: додаткові методи (другий рівень) */
.methods-block { margin-top: 72px; }
.methods-block .eyebrow {
  display: block;
  text-align: center;
  margin-bottom: 24px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(218px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.service-card {
  background: var(--bg);
  padding: 26px 24px;
}
.service-card .num {
  font-family: var(--font-head);
  font-size: 0.85rem;
  color: var(--accent);
  display: block;
  margin-bottom: 10px;
}
.service-card h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}
.service-card p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

/* Prenatal highlight */
.prenatal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.prenatal-points {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.prenatal-points li {
  padding-left: 24px;
  position: relative;
  font-size: 0.98rem;
}
.prenatal-points li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: var(--accent-soft);
  font-size: 0.8rem;
}

/* Format */
.format-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.format-card {
  padding: 40px 34px;
  border: 1px solid var(--line);
  background: var(--bg);
}
.format-card .eyebrow { display: block; }

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-list a {
  text-decoration: none;
  font-family: var(--font-head);
  font-size: 1.3rem;
  color: var(--text-on-deep);
  border-bottom: 1px solid rgba(243, 236, 226, 0.3);
  padding-bottom: 4px;
  display: inline-block;
}
.contact-list a:hover { border-color: var(--accent-soft); }
.meta {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-soft);
  margin-bottom: 6px;
}
.location-box {
  border: 1px solid rgba(243, 236, 226, 0.22);
  padding: 34px 30px;
}
.location-box .address {
  font-family: var(--font-head);
  font-size: 1.5rem;
  color: var(--text-on-deep);
  margin: 0 0 22px;
  opacity: 1;
}

/* Footer */
.site-footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
  background: var(--bg-alt);
}
.site-footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-note { font-size: 0.82rem; color: var(--text-soft); margin: 0; }

/* Responsive */
@media (max-width: 1120px) {
  .btn-label { display: none; }
  .header-actions .btn-sm {
    width: 42px;
    height: 42px;
    padding: 0;
  }
  .nav-links { gap: 20px; }
}

@media (max-width: 880px) {
  .hero .container,
  .about-grid,
  .prenatal-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual, .about-visual { order: -1; max-width: 420px; }
  .prenatal-visual { max-width: 420px; }
  .format-grid { grid-template-columns: 1fr; }
  section { padding: 64px 0; }

  .hero {
    min-height: 0;
    padding: 32px 0 48px;
    display: block;
  }
  .hero .container { gap: 28px; }
  .hero-visual {
    aspect-ratio: 4 / 3;
    max-height: 36svh;
    object-position: 50% 22%;
  }

  .level-scale { grid-template-columns: 1fr; gap: 30px; }
  .level-scale::before {
    top: 6px;
    bottom: 6px;
    left: 6px;
    right: auto;
    width: 1px;
    height: auto;
    background: linear-gradient(180deg, var(--line) 0%, var(--accent) 100%);
  }
  .level-step { padding-top: 0; padding-left: 34px; }
  .level-step::before { top: 5px; }
  .goals-block { margin-top: 56px; }

  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 28px 28px;
    gap: 16px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .lang-switch { margin-right: 2px; }
}

@media (max-width: 460px) {
  .container { padding: 0 20px; }
  .logo { font-size: 1.15rem; }
  .header-actions { gap: 6px; }
  .site-header .container { gap: 10px; }
  /* адреса є в секції контактів — у шапці кнопка мапи не влазить */
  .header-actions .btn-square { display: none; }
  .hero { padding: 24px 0 40px; }
  .hero .container { gap: 22px; }
}
