/* ═══ A² Studio — бренд #073f40 · акцент #f8d59b ═══ */
:root {
  --brand: #073f40;
  --brand-dark: #052e2f;
  --brand-mid: #0a5557;
  --brand-light: #0d6b6e;
  --brand-glow: rgba(13, 107, 110, 0.45);

  --accent: #f8d59b;
  --accent-soft: rgba(248, 213, 155, 0.88);
  --accent-muted: rgba(248, 213, 155, 0.62);
  --accent-dim: rgba(248, 213, 155, 0.28);
  --accent-on-dark: #1a3a3b;

  /* алиасы для совместимости */
  --dark: var(--brand);
  --dark-elevated: var(--brand-dark);
  --deep: var(--brand-mid);
  --gold: var(--accent);
  --gold-bright: var(--accent);
  --gold-light: var(--accent);
  --gold-dim: var(--accent-dim);
  --cream: var(--accent);
  --text: var(--accent);
  --text-muted: var(--accent-soft);
  --text-dim: var(--accent-muted);

  --content-max: 1200px;
  --pad-x: clamp(20px, 4vw, 32px);
  --pad-y: clamp(56px, 9vw, 96px);
  --section-x: max(var(--pad-x), calc((100% - var(--content-max)) / 2));
  --nav-h: 76px;
  --radius: 3px;
  --radius-lg: 8px;
  --shadow-accent: 0 8px 32px rgba(248, 213, 155, 0.12);
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font-body);
  background: var(--brand-dark);
  color: var(--accent);
  overflow-x: hidden;
  line-height: 1.65;
  font-size: 1rem;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  width: 100%;
  max-width: var(--content-max);
  margin-left: auto;
  margin-right: auto;
}

.lead, .hero-sub, p {
  color: var(--accent-soft);
  font-size: 1.05rem;
  line-height: 1.75;
}
.text-bright { color: var(--accent); }
.text-gold { color: var(--accent); }

/* ─── Навигация ─── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--nav-h);
  padding: 14px var(--section-x);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.35s, box-shadow 0.35s;
}
nav.scrolled,
body.page-inner nav {
  background: rgba(7, 63, 64, 0.96);
  backdrop-filter: blur(18px) saturate(1.3);
  border-bottom: 1px solid var(--accent-dim);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

.logo {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--accent);
  text-decoration: none;
  flex-shrink: 0;
}
.logo sup { font-size: 0.85em; color: var(--accent); opacity: 0.85; vertical-align: super; }

.nav-links {
  display: none;
  gap: 24px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--accent-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  transition: color 0.2s;
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-cta {
  background: var(--accent) !important;
  color: var(--brand-dark) !important;
  padding: 11px 20px !important;
  font-weight: 700 !important;
  letter-spacing: 0.1em !important;
  box-shadow: var(--shadow-accent);
  border-radius: var(--radius);
}
.nav-cta:hover { filter: brightness(1.05); transform: translateY(-1px); }

.nav-login-icon {
  position: absolute;
  top: 6px;
  right: 12px;
  z-index: 1100;
  opacity: 0.12;
  color: var(--accent-muted);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 13px;
  height: 13px;
}
.nav-login-icon:hover {
  opacity: 0.85;
  color: var(--accent);
}
.nav-login-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.burger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
  margin: -8px;
  background: none;
  border: none;
}
.burger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  transition: transform 0.3s;
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, var(--brand-light), var(--brand-dark) 70%);
  z-index: 1000; /* Уменьшено, чтобы не перекрывать контент */
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 22px;
  padding: 24px;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
body.menu-open { overflow: hidden; }

.mobile-login-icon {
  position: absolute;
  bottom: 24px;
  right: 24px;
  opacity: 0.15;
  color: var(--accent-muted);
  width: 18px;
  height: 18px;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2100;
}
.mobile-login-icon:active,
.mobile-login-icon:hover {
  opacity: 0.8;
  color: var(--accent);
}
.mobile-login-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.mobile-menu a {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 6vw, 2.3rem);
  color: var(--accent);
  text-decoration: none;
  font-weight: 400;
}
.mobile-menu a.menu-accent {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.04em;
  margin-top: 12px;
  padding: 14px 28px;
  background: var(--brand-mid);
  border: 1px solid var(--accent-dim);
  border-radius: var(--radius);
}
.close-menu {
  position: absolute;
  top: 18px;
  right: var(--section-x);
  font-size: 1.75rem;
  cursor: pointer;
  color: var(--accent);
  background: none;
  border: none;
  padding: 8px;
}

/* ─── Кнопки ─── */
.btn-primary {
  background: var(--accent);
  color: var(--brand-dark);
  padding: 15px 30px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border: none;
  cursor: pointer;
  border-radius: var(--radius);
  box-shadow: var(--shadow-accent);
  transition: transform 0.2s, filter 0.2s;
  text-align: center;
}
.btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
}

.btn-outline {
  border: 1px solid var(--accent-dim);
  color: var(--accent);
  padding: 14px 28px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  border-radius: var(--radius);
  background: rgba(248, 213, 155, 0.04);
  transition: border-color 0.25s, background 0.25s;
  text-align: center;
}
.btn-outline:hover {
  border-color: var(--accent);
  background: rgba(248, 213, 155, 0.1);
}

.btn-wa {
  background: #178848 !important;
  color: #fff !important;
  border: none !important;
}
.btn-wa:hover { filter: brightness(1.08); }
.btn-wa svg { display: inline-block; vertical-align: middle; margin-right: 6px; }

/* ─── Секции ─── */
section { padding: var(--pad-y) var(--section-x); }

.section-label {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.section-label-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  flex-shrink: 0;
}
.section-label span {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  opacity: 0.9;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  margin-bottom: 16px;
  color: var(--accent);
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}
.section-title em { font-style: italic; opacity: 0.95; }

.section-label--center { justify-content: center; margin-bottom: 20px; }
.section-label--center .section-label-line:last-child {
  display: block;
  background: linear-gradient(90deg, transparent, var(--accent));
}

.footer-back {
  color: var(--accent-muted);
  text-decoration: none;
  font-size: 0.88rem;
}
.footer-back:hover { color: var(--accent); }

.abon-strip {
  background:
    radial-gradient(ellipse 80% 100% at 50% 0%, rgba(248, 213, 155, 0.12) 0%, transparent 60%),
    linear-gradient(180deg, rgba(10, 85, 87, 0.6) 0%, rgba(7, 63, 64, 0.8) 100%);
  border-top: 1px solid rgba(248, 213, 155, 0.2);
  border-bottom: 1px solid rgba(248, 213, 155, 0.12);
  padding: 40px var(--section-x);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.abon-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 50% at 50% 100%, rgba(248, 213, 155, 0.06) 0%, transparent 60%);
  pointer-events: none;
}
.abon-strip > * { position: relative; z-index: 1; }
.abon-strip__title,
.abon-strip strong {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 2.0rem) !important;
  color: #f8d59b;
  font-weight: 400;
  line-height: 1.05;
  text-shadow: 0 0 50px rgba(248, 213, 155, 0.35), 0 2px 16px rgba(0, 0, 0, 0.4);
  letter-spacing: 0.01em;
}
.abon-strip__text,
.abon-strip span {
  font-size: 0.78rem;
  color: var(--accent-soft);
  line-height: 1.5;
  opacity: 0.85;
}
.abon-strip__btn { padding: 10px 20px; font-size: 0.7rem; margin-top: 4px; }

.contact-phone-block {
  padding: 22px 0;
}
#contacts-cosmetologist {
  border-top: 1px solid var(--accent-dim);
  margin-top: 24px;
}
.contact-phone-block .contact-label {
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  opacity: 0.85;
  margin-bottom: 8px;
}
.contact-phone-block .contact-value {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 4vw, 1.85rem);
}
.contact-phone-block .contact-value a {
  color: var(--accent);
  text-decoration: none;
}
.contact-phone-block .contact-hint {
  font-size: 0.88rem;
  color: var(--accent-muted);
  margin-top: 8px;
  line-height: 1.5;
}
.contact-phone-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}
.contact-phone-actions .btn-primary,
.contact-phone-actions .btn-outline,
.contact-phone-actions .btn-wa {
  padding: 10px 18px;
  font-size: 0.68rem;
}

#contacts-cosmetologist { scroll-margin-top: calc(var(--nav-h) + 16px); }

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}
@media (min-width: 769px) {
  .reveal { opacity: 0; transform: translateY(24px); }
  .reveal.visible { opacity: 1; transform: translateY(0); }
}

footer {
  background: var(--brand-dark);
  padding: 14px var(--section-x) 10px;
  border-top: 1px solid var(--accent-dim);
}
.footer-inner {
  max-width: var(--content-max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}
.footer-brand {
  grid-column: 1 / -1;
  text-align: center;
  margin-bottom: 2px;
}
.footer-brand .logo { font-size: 1.1rem; display: block; margin-bottom: 0; }
.footer-brand p { display: none; }
.footer-col h4 {
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 5px;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 3px; font-size: 0.72rem; color: var(--accent-muted); }
.footer-col a { color: var(--accent-soft); text-decoration: none; }
.footer-col a:hover { color: var(--accent); }
.footer-note { font-size: 0.65rem; color: var(--accent-muted); margin-top: 2px; }
.footer-bottom {
  max-width: var(--content-max);
  margin: 0 auto;
  border-top: 1px solid var(--accent-dim);
  padding-top: 6px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 8px;
  text-align: center;
}
.footer-bottom p { font-size: 0.65rem; color: var(--accent-muted); }

.float-cta {
  position: fixed;
  bottom: max(20px, env(safe-area-inset-bottom));
  right: max(16px, env(safe-area-inset-right));
  z-index: 900;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.25rem;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
  transition: transform 0.2s;
}
.float-btn:hover { transform: scale(1.06); }
.float-call { background: var(--accent); color: var(--brand-dark); }
.float-wa { background: #25D366; color: #fff; }

@media (min-width: 768px) {
  .burger { display: none; }
  .nav-links { display: flex; }
  .abon-strip { flex-direction: column; gap: 8px; }
  footer { padding: 48px var(--section-x) 32px; }
  .footer-inner { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
  .footer-brand { grid-column: auto; text-align: left; margin-bottom: 0; }
  .footer-brand .logo { font-size: 1.7rem; margin-bottom: 14px; }
  .footer-brand p { display: block; font-size: 0.92rem; line-height: 1.7; }
  .footer-col h4 { font-size: 0.68rem; letter-spacing: 0.16em; margin-bottom: 14px; }
  .footer-col li { margin-bottom: 9px; font-size: 0.9rem; }
  .footer-note { font-size: 0.82rem; margin-top: 8px; }
  .footer-bottom { flex-direction: row; justify-content: space-between; text-align: left; padding-top: 22px; gap: 8px; }
  .footer-bottom p { font-size: 0.78rem; }
}

@media (min-width: 1024px) {
  :root { --nav-h: 82px; }
  nav { padding: 16px var(--section-x); }
  .nav-links { gap: 28px; }
}
