/* ============================================================
   BIGUDI — салон краси | styles
   Modern & colorful: white base, electric-blue (#0027E8) accent, rounded, friendly
   ============================================================ */

:root {
  /* Brand */
  --blue: #0027E8;          /* primary (logo blue) */
  --blue-dark: #001CC0;     /* hover / active */
  --blue-soft: #DDE4FF;     /* tint chips / card accent */

  /* Accents — blue-harmonious + one warm pop */
  --violet: #6E5CF0;
  --violet-soft: #E7E2FF;
  --sky: #2E9BFF;
  --sky-soft: #D8ECFF;
  --amber: #FFB020;
  --amber-soft: #FFEFC7;

  /* Neutrals */
  --ink: #0B1437;           /* deep navy text */
  --ink-soft: #5A6280;
  --tint: #F1F4FF;          /* cool page tint (replaces cream) */
  --white: #FFFFFF;
  --line: #E5E8F6;          /* cool border */

  --shadow-sm: 0 4px 16px rgba(11,20,55,.07);
  --shadow-md: 0 14px 40px rgba(11,20,55,.12);
  --shadow-lg: 0 30px 70px rgba(0,39,232,.22);

  --radius: 22px;
  --radius-sm: 14px;
  --container: 1180px;

  --font-body: 'Manrope', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-display: 'Unbounded', 'Manrope', sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 92px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

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

h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.08; letter-spacing: -.5px; }
h1 { font-size: clamp(2.4rem, 6vw, 4.2rem); }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-weight: 700; font-size: .98rem;
  padding: 13px 24px; border-radius: 100px;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
  white-space: nowrap; cursor: pointer; text-align: center;
}
.btn-lg { padding: 16px 32px; font-size: 1.05rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(0,39,232,.30); }
.btn-primary:hover { background: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,39,232,.40); }
.btn-ghost { background: var(--tint); color: var(--ink); border: 1.5px solid var(--line); }
.btn-ghost:hover { background: #fff; border-color: var(--blue); color: var(--blue-dark); transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--blue-dark); }
.btn-light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-warm { background: var(--amber); color: var(--ink); box-shadow: 0 10px 24px rgba(255,176,32,.38); }
.btn-warm:hover { background: #F2A310; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(255,176,32,.5); }

/* ---------- Eyebrow / section heads ---------- */
.eyebrow {
  display: inline-block; font-weight: 700; font-size: .82rem; letter-spacing: 1px;
  text-transform: uppercase; color: var(--blue-dark);
  background: var(--blue-soft); padding: 6px 14px; border-radius: 100px;
}
.eyebrow.light { background: rgba(255,255,255,.25); color: #fff; }
.section { padding: clamp(64px, 9vw, 120px) 0; }
.section-tint { background: var(--tint); }
.section-head { max-width: 640px; margin: 0 auto clamp(36px, 5vw, 60px); text-align: center; }
.section-head h2 { margin: 16px 0 14px; }
.section-sub { color: var(--ink-soft); font-size: 1.08rem; }
.section-cta { text-align: center; margin-top: 44px; }

/* Stars */
.g-stars { color: #FFB400; letter-spacing: 2px; font-size: 1rem; }
.g-stars.lg { font-size: 1.5rem; }
.g-stars.sm { font-size: .85rem; letter-spacing: 1px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.82);
  backdrop-filter: saturate(160%) blur(14px);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 20px; height: 72px; }
.logo { display: flex; align-items: center; flex-shrink: 0; }
.logo img { height: 36px; width: auto; }
.nav { display: flex; gap: 30px; margin-left: 18px; }
.nav a { font-weight: 600; color: var(--ink); position: relative; padding: 4px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px;
  background: var(--blue); border-radius: 2px; transition: width .2s ease;
}
.nav a:hover { color: var(--blue-dark); }
.nav a:hover::after { width: 100%; }
.nav-book { display: none; }   /* shown only inside the mobile dropdown */
.nav-book::after { display: none; }

.header-actions { display: flex; align-items: center; gap: 14px; margin-left: auto; }
.google-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--tint); border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 14px; font-size: .85rem; transition: box-shadow .2s, transform .2s;
}
.google-badge:hover { box-shadow: var(--shadow-sm); transform: translateY(-1px); }
.google-badge .g-stars { font-size: .8rem; letter-spacing: 1px; }
.g-rate strong { font-weight: 800; }

.burger { display: none; flex-direction: column; gap: 5px; padding: 8px; }
.burger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .25s; }
.burger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; overflow: hidden; background:
  radial-gradient(120% 120% at 85% -10%, var(--blue-soft) 0%, transparent 50%),
  radial-gradient(90% 90% at 0% 10%, var(--violet-soft) 0%, transparent 45%),
  var(--white);
}
.hero-inner {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: 50px; align-items: center;
  padding: clamp(48px, 7vw, 96px) 24px clamp(70px, 9vw, 120px);
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero h1 { margin-bottom: 22px; }
.hero-sub { font-size: 1.18rem; color: var(--ink-soft); max-width: 30ch; margin-bottom: 32px; }
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 30px; }
.hero-trust { display: flex; align-items: center; gap: 12px; color: var(--ink-soft); font-size: .98rem; }
.hero-trust strong { color: var(--ink); }

/* Hero visual placeholders */
.hero-visual { position: relative; height: 460px; }
.ph {
  position: absolute; border-radius: var(--radius); box-shadow: var(--shadow-md);
  display: flex; align-items: flex-end; padding: 16px; overflow: hidden;
}
.ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ph-tag {
  font-size: .8rem; font-weight: 700; color: rgba(255,255,255,.9);
  background: rgba(33,26,46,.28); padding: 4px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
.ph-1 { width: 62%; height: 78%; right: 0; top: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--amber) 100%); }
.ph-2 { width: 50%; height: 52%; left: 0; bottom: 0;
  background: linear-gradient(135deg, var(--violet) 0%, #fff 130%); border: 6px solid #fff; }
.float-chip {
  position: absolute; background: #fff; border-radius: 100px; padding: 10px 16px;
  font-weight: 700; font-size: .9rem; box-shadow: var(--shadow-md);
}
.chip-1 { left: -10px; top: 22%; }
.chip-2 { right: 4%; bottom: 8%; color: var(--blue-dark); }

/* Marquee */
.hero-marquee { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--ink); padding: 14px 0; }
.marquee-track { display: flex; gap: 22px; white-space: nowrap; width: max-content; animation: marquee 26s linear infinite; }
.marquee-track span { font-family: var(--font-display); font-weight: 600; font-size: 1.1rem; color: #fff; opacity: .92; }
.marquee-track span:nth-child(even) { color: var(--sky); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ============================================================
   SERVICES
   ============================================================ */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.service-card {
  display: block; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .2s, box-shadow .2s; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; background: var(--c); opacity: 0; transition: opacity .25s;
}
.service-card > * { position: relative; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.service-card:hover::before { opacity: .5; }
.service-ico {
  width: 58px; height: 58px; border-radius: 16px; background: var(--c);
  display: grid; place-items: center; font-size: 1.7rem; margin-bottom: 18px;
}
.service-card h3 { margin-bottom: 8px; }
.service-card p { color: var(--ink-soft); font-size: .98rem; margin-bottom: 18px; }
.price { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--font-display); font-weight: 700; color: var(--blue-dark); font-size: 1.05rem; }
.price-cta { font-family: var(--font-body); font-weight: 700; font-size: .82rem; color: var(--blue); display: inline-flex; align-items: center; gap: 4px; transition: gap .2s ease; white-space: nowrap; }
.service-card:hover .price-cta { gap: 9px; }

/* ============================================================
   TEAM
   ============================================================ */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; max-width: 860px; margin: 0 auto; }
.team-card { text-align: center; }
.avatar {
  position: relative; aspect-ratio: 1; border-radius: var(--radius); overflow: hidden;
  background: color-mix(in srgb, var(--a) 75%, #fff);
  display: grid; place-items: center; margin-bottom: 16px; box-shadow: var(--shadow-sm);
}
.avatar > span:first-child { font-family: var(--font-display); font-size: 3rem; font-weight: 700; color: #fff; opacity: .85; }
.avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center 28%; }
.avatar-tag {
  position: absolute; bottom: 10px; font-size: .72rem; font-weight: 700; color: #fff;
  background: rgba(33,26,46,.3); padding: 3px 10px; border-radius: 100px; backdrop-filter: blur(4px);
}
.team-card h3 { font-size: 1.1rem; margin-bottom: 4px; }
.role { color: var(--ink-soft); font-size: .92rem; }

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews-top { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: start; }
.reviews-summary .eyebrow { margin-bottom: 14px; }
.reviews-summary h2 { margin-bottom: 24px; }
.rating-big { display: flex; align-items: center; gap: 18px; margin-bottom: 24px; }
.rating-num { font-family: var(--font-display); font-size: 3.8rem; font-weight: 800; color: var(--blue); line-height: 1; }
.rating-big p { color: var(--ink-soft); font-size: .95rem; }

.reviews-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.review-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
}
.review-card:first-child { grid-column: span 2; }
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review-head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.review-ava {
  width: 44px; height: 44px; border-radius: 50%; flex-shrink: 0;
  background: color-mix(in srgb, var(--a) 80%, #fff); color: #fff;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 700;
}
.review-head figcaption { font-weight: 700; }
.review-head .g-mini { margin-left: auto; }
.review-card blockquote { color: var(--ink-soft); font-size: 1rem; }

/* ============================================================
   LOCATION
   ============================================================ */
.location-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: stretch; }
.map-wrap {
  border-radius: var(--radius); overflow: hidden; min-height: 420px;
  box-shadow: var(--shadow-md); border: 1px solid var(--line); background: #eee;
}
.map-wrap iframe { width: 100%; height: 100%; min-height: 420px; }
.contact-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.contact-card h3 { font-size: 1.5rem; margin-bottom: 22px; }
.contact-list { display: flex; flex-direction: column; gap: 20px; margin-bottom: 26px; }
.contact-list li { display: flex; gap: 14px; }
.ci { font-size: 1.3rem; flex-shrink: 0; }
.contact-list strong { display: block; font-size: .85rem; text-transform: uppercase; letter-spacing: .5px; color: var(--ink-soft); margin-bottom: 2px; }
.contact-list p { font-size: 1.05rem; font-weight: 600; }
.contact-list a:hover { color: var(--blue-dark); }
.todo { font-size: .78rem; font-weight: 600; color: var(--blue-dark); background: var(--blue-soft); padding: 1px 7px; border-radius: 6px; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.contact-actions .btn { flex: 1; }
.socials { display: flex; gap: 18px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: auto; }
.socials a { font-weight: 700; color: var(--blue-dark); }
.socials a:hover { text-decoration: underline; }

/* ============================================================
   BOOKING
   ============================================================ */
.booking { padding-bottom: clamp(80px, 10vw, 140px); }
.booking-card {
  text-align: center; max-width: 840px; margin: 0 auto;
  background:
    radial-gradient(120% 140% at 100% 0%, var(--blue-dark) 0%, transparent 55%),
    linear-gradient(135deg, var(--blue) 0%, #3A5CFF 100%);
  border-radius: 32px; padding: clamp(40px, 6vw, 76px); color: #fff; box-shadow: var(--shadow-lg);
}
.booking-copy h2 { color: #fff; margin: 14px 0 14px; }
.booking-copy p { color: rgba(255,255,255,.92); margin: 0 auto 30px; font-size: 1.1rem; max-width: 50ch; }
.booking-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline-light { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.6); }
.btn-outline-light:hover { background: #fff; color: var(--blue-dark); border-color: #fff; transform: translateY(-2px); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--ink); color: #fff; padding: 56px 0 28px; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; padding-bottom: 36px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-brand img { filter: brightness(0) invert(1); margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.65); max-width: 30ch; }
.footer-nav { display: flex; flex-direction: column; gap: 12px; }
.footer-nav a, .footer-contact a { color: rgba(255,255,255,.78); font-weight: 600; }
.footer-nav a:hover, .footer-contact a:hover { color: var(--blue); }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 22px; font-size: .88rem; color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--blue); }

/* ---------- Sticky mobile book bar ---------- */
.mobile-book {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 90;
  background: var(--blue); color: #fff; text-align: center; font-weight: 800;
  padding: 15px; border-radius: 100px; box-shadow: 0 12px 30px rgba(0,39,232,.45);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list { max-width: 840px; margin: 0 auto; display: flex; flex-direction: column; gap: 16px; }
.faq-item {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 26px; box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.faq-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.faq-item[open] { border-color: var(--blue); box-shadow: var(--shadow-md); }
.faq-item summary {
  list-style: none; cursor: pointer; display: flex; align-items: center; gap: 18px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; color: var(--ink); padding: 22px 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+"; margin-left: auto; flex-shrink: 0;
  width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; font-size: 1.5rem; line-height: 1;
  background: var(--blue-soft); color: var(--blue-dark);
  transition: transform .25s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
/* colourful toggles, cycling through the brand palette like the service cards */
.faq-item:nth-child(4n+2) summary::after { background: var(--violet-soft); color: #6A4FD0; }
.faq-item:nth-child(4n+3) summary::after { background: var(--sky-soft);  color: #1668C9; }
.faq-item:nth-child(4n+4) summary::after { background: var(--amber-soft); color: #C2691F; }
.faq-a { padding: 0 0 24px; color: var(--ink-soft); max-width: 64ch; }
.faq-a a { color: var(--blue-dark); font-weight: 600; }
.faq-a a:hover { text-decoration: underline; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 980px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { height: 360px; max-width: 480px; }
  .hero-sub { max-width: 46ch; }
  .reviews-top { grid-template-columns: 1fr; gap: 32px; }
  .location-grid { grid-template-columns: 1fr; }
  .booking-card { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 760px) {
  /* Header: shrink logo + compact rating chip so everything fits ≥360px */
  .logo img { height: 30px; }
  .header-inner { gap: 12px; }
  .header-actions { gap: 10px; }
  .google-badge { padding: 6px 10px; gap: 6px; }
  .google-badge .g-stars { display: none; }   /* keep just G icon + rating number */
  .g-rate .g-count { display: none; }
  .btn-book { display: none; }                 /* replaced by in-menu + sticky bar */

  /* Mobile dropdown menu */
  .nav { display: none; }
  .nav.open {
    display: flex; flex-direction: column; gap: 0; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 20px 18px; margin: 0;
    box-shadow: var(--shadow-md);
  }
  .nav.open a:not(.nav-book) { padding: 15px 2px; border-bottom: 1px solid var(--line); font-size: 1.05rem; }
  .nav-book { display: flex; width: 100%; margin-top: 14px; }
  .burger { display: flex; }
  .mobile-book { display: block; }

  /* Keep content clear of the sticky booking bar */
  body { padding-bottom: 84px; }

  .footer-inner { grid-template-columns: 1fr; gap: 26px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .review-card:first-child { grid-column: span 1; }
  .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  body { font-size: 16px; }
  h1 { font-size: 2.15rem; }
  .hero-sub { font-size: 1.05rem; }
  .services-grid, .team-grid { grid-template-columns: 1fr; }
  .contact-actions { flex-direction: column; }
  /* Stack hero buttons full-width so long labels never overflow */
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-trust { font-size: .92rem; }
  .float-chip { font-size: .82rem; padding: 8px 13px; }
  .chip-1 { left: 0; }
  .booking-actions { flex-direction: column; }
  .booking-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
