:root{
  --bg:#fef9f2;             /* молочный фон */
  --fg:#1f1f1f;             /* тёмный текст */
  --muted:#6a6a6a;          /* вторичный текст */
  --brand:#c7a77a;          /* тёплое золотистое */
  --brand-ink:#715d3b;      /* тёмно-золотистый для текста */
  --line:#ece6dc;           /* тонкая линия/бордер */
  --card:#ffffff;           /* карточки */
  --radius:14px;
  --shadow:0 6px 24px rgba(21,17,9,.06);
  --shadow-strong:0 10px 30px rgba(21,17,9,.10);
  --maxw:720px;
}

/* reset (мягкий) */
*,*::before,*::after{box-sizing:border-box}

/* NEW: фиксируем горизонтальный скролл */
html, body{
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--fg);
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
button{font:inherit}

/* базовая сетка */
.wrap{max-width:var(--maxw);margin:0 auto;padding:0 16px}
.section{padding:28px 0}
.muted{color:var(--muted)}
.pill{
  display:inline-block;
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12px;
  color:var(--brand-ink);
  background:#fff7ed;
}
.h1{
  font-size:28px;
  line-height:1.15;
  margin:8px 0 6px;
  font-weight:600;
  letter-spacing:-0.02em;
  color:#f3f0ca;
  margin-top:12px;
  padding: 24px;
}
.h2{
  font-size:22px;
  line-height:1.2;
  margin:0 0 14px;
  font-weight:700;
}
.h3{
  font-size:16px;
  font-weight:600;
  margin:0 0 6px;
}
p{margin:0 0 10px;font-size:15px;line-height:1.55}

/* хедер */
header{
  position:sticky;
  top:0;
  z-index:10;
  background:rgba(255,253,250,.9);
  backdrop-filter:saturate(140%) blur(10px);
  border-bottom:1px solid var(--line);
}
.head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:56px;
}
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight:700;
}
.logo-mark{
  width:28px;
  height:28px;
  border-radius:8px;
  background:linear-gradient(135deg,#eddcc2,#c7a77a);
}
.cta-head{
  padding:8px 12px;
  border-radius:10px;
  background:var(--fg);
  color:#fff;
  font-weight:600;
}

/* герой + фоновое фото */
.hero{
  padding:80px 0 80px;
  background-image:
    linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.45)),
    url("images/hero-bg.jpg");
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  /* NEW: убрал радиус, чтобы секция точно не вылезала за края */
  border-radius:0;
  color:#fff; /* весь текст в hero — белым */
  text-align:center;
}
.hero-card{
  background:transparent;
  border:none;
  box-shadow:none;
  padding:0;
}
.hero-brand{
  margin-top:10px;
  font-size:26px;
  font-weight:700;
  letter-spacing:.22em;
  text-transform:uppercase;
  color:#ffffff;
  opacity:.95;
}
.hero-subtitle{
  margin:12px auto 20px;
  max-width:320px;
  font-size:15px;
  line-height:1.5;
  color:rgba(255,255,255,.85);
}
.badge-row{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-top:10px;
  justify-content:center; /* NEW: выравниваем по центру для симметрии */
}
.cta-primary{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin-top:14px;
  width:100%;
  max-width:320px;        /* NEW: ограничиваем ширину кнопки, чтобы она не упиралась в края */
  margin-left:auto;       /* NEW */
  margin-right:auto;      /* NEW */
  padding:14px 16px;
  border-radius:12px;
  background:var(--brand);
  color:#16130c;
  font-weight:700;
  border:none;
  box-shadow:var(--shadow-strong);
}
.mini{
  font-size:12px;
  margin-top:8px;
  color:var(--muted);
}

/* карточки */
.cards{display:grid;gap:12px}
.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
}

/* Команда */
/* Команда — эталонный вид для одного мастера */
.team-intro{
  margin-bottom:14px;
  font-size:14px;
  line-height:1.6;
}

.team-list{
  display:flex;
  justify-content:center;   /* по центру секции */
}
/* Команда — секция на всю ширину, карточка по центру, готово к будущей карусели */

/* фон секции растягивается на весь экран */
.section-team{
  margin-left:calc(50% - 50vw);
  margin-right:calc(50% - 50vw);
  background:#f9f8f0;
}

/* а контент при этом живёт в “контейнере” по центру */
.team-shell{
  max-width:var(--maxw);
  margin:0 auto;
  padding:28px 16px 0; /* верх совпадает с .section, низ компенсируем через отступ снизу у footer/след. секции */
}

/* сам скроллер команды */
.team-scroller{
  display:flex;
  justify-content:center;    /* сейчас одна карточка — просто по центру */
  gap:12px;
  overflow-x:hidden;         /* пока карусель не нужна */
}

/* карточка мастера */
.team-card{
  width:100%;
  max-width:360px;           /* шире, чем мобильная “визиточка”, чтобы не смотреться одинокой на десктопе */
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px;
  box-shadow:var(--shadow);
}

/* квадратное фото — как ты хотел */
.team-photo{
  width:100%;
  aspect-ratio:1 / 1;
  object-fit:cover;
  border-radius:10px;
  margin-bottom:10px;
  border:1px solid var(--line);
}

.role{
  font-size:13px;
  color:var(--muted);
  margin-bottom:6px;
}

.tag-row{
  display:flex;
  flex-wrap:wrap;
  gap:6px;
  margin-top:8px;
}

.tag{
  font-size:11px;
  border-radius:999px;
  padding:4px 8px;
  border:1px solid var(--line);
  color:var(--muted);
}
.team-note{
  margin-top:10px;
  text-align:center;
}

.format-list{
  margin:8px 0 10px;
  padding-left:18px;
  line-height:1.55;
}

.format-list li{
  margin-bottom:6px;
}


.gift-sets{
  display:grid;
  gap:12px;
  margin:10px 0 4px;
}

.gift-set{
  padding:10px 10px 8px;
  border-radius:10px;
  border:1px solid var(--line);
  background:#fffdf9;
}


/* таблица услуг */
.price{
  width:100%;
  border-collapse:separate;
  border-spacing:0 10px;
}
.price tr{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:12px;
  box-shadow:var(--shadow);
}
.price td{
  padding:12px 14px;
  vertical-align:middle;
}
.price .name{font-weight:600}
.price .cost{
  white-space:nowrap;
  font-weight:700;
  color:var(--brand-ink);
}

/* список преимуществ */
.benefits{display:grid;gap:10px}
.benefit{display:flex;gap:10px}
.dot{
  width:8px;
  height:8px;
  border-radius:50%;
  background:var(--brand);
  position:relative;
  top:8px;
  flex:0 0 8px;
}

/* отзывы */
.quote{
  border-left:3px solid var(--brand);
  padding-left:12px;
}
.who{
  font-size:13px;
  color:var(--muted);
}

/* блок B2B */
.b2b{
  background:#fffef8;
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:14px;
}

/* контакты */
.contact-actions{
  display:grid;
  gap:10px;
  margin-top:12px;
}
.btn{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:14px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  font-weight:600;
}
.btn.primary{
  background:var(--fg);
  color:#fff;
  border-color:var(--fg);
}
.note{
  font-size:12px;
  color:var(--muted);
  text-align:center;
  margin-top:6px;
}

/* футер и плавающая кнопка */
footer{
  padding:24px 0 40px;
  color:var(--muted);
  font-size:12px;
  text-align:center;
}
.fab{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:20;
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 16px;
  border-radius:999px;
  background:var(--brand);
  box-shadow:var(--shadow-strong);
  font-weight:700;
  color:#16130c;
}

/* якоря: плавная прокрутка */
html{scroll-behavior:smooth}

/* чуть просторнее на ≥480px */
@media (min-width:480px){
  .h1{font-size:28px}
}

.seo-photo {
  max-width: 580px;
  width: 100%;
  margin: 0 auto 32px auto;
  border-radius: 16px;
  display: block;
  object-fit: cover;
}

