/* Hair & Beauty Salon Ligita — site styles */

:root {
  --cream: #fff;
  --sand: #f5f5f5;   /* only for small icon circles / placeholders */
  --blush: #efefef;
  --line: #e8e8e8;
  --ink: #141414;
  --ink-soft: #333;
  --muted: #6b6b6b;
  --accent: #141414;       /* buttons, links, active states */
  --accent-hover: #3d3d3d;
  --soft: #8a8a8a;         /* italic heading words (large text only) */
  --label: #6f6f6f;        /* small uppercase labels */
  --white: #fff;

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow: 0 18px 50px -24px rgba(60, 30, 30, .35);
  --wrap: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(64px, 9vw, 120px);
  --header-h: 76px;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--muted); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 {
  font-family: var(--serif);
  font-weight: 500;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: -.01em;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2.8rem, 6.4vw, 5rem); }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.4rem); }
h3 { font-size: 1.6rem; }
h1 em, h2 em { font-style: italic; color: var(--soft); }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: var(--section) 0; }
.section--sand { background: #fff; }
.section + .section--sand, .section--sand + .section { border-top: 1px solid var(--line); }
.section--tight { padding-top: 0; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase;
  color: var(--label); margin: 0 0 1.1rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }

.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 38em; }
.section-head { max-width: 640px; margin-bottom: clamp(36px, 5vw, 56px); }
.section-head--center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }
.section-head--center .lead { margin-left: auto; margin-right: auto; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px; }
.skip-link:focus { left: 8px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 50px; padding: 0 1.6em;
  font: 600 .95rem/1 var(--sans); letter-spacing: .02em;
  border-radius: 999px; border: 1px solid transparent;
  text-decoration: none; cursor: pointer;
  transition: background-color .2s, color .2s, border-color .2s, transform .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--primary { background: var(--accent); color: #fff; }
.btn--primary:hover { background: var(--accent-hover); color: #fff; }
.btn--dark { background: var(--ink); color: #fff; }
.btn--dark:hover { background: var(--accent-hover); color: #fff; }
.btn--ghost { border-color: var(--ink); color: var(--ink); background: transparent; }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.btn--light { background: #fff; color: var(--ink); }
.btn--light:hover { background: var(--blush); color: var(--ink); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
/* Blur lives on a pseudo-element: backdrop-filter on the header itself would trap the fixed mobile menu inside it */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 255, 255, .9);
  backdrop-filter: saturate(1.4) blur(12px);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.nav-open .site-header::before { background: var(--cream); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--header-h); }
.brand { display: block; flex: none; }
.brand img { width: 150px; mix-blend-mode: multiply; }

.nav { display: flex; align-items: center; gap: 32px; }
.nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-size: .95rem; font-weight: 500;
  padding: 6px 0; border-bottom: 1px solid transparent; transition: border-color .2s, color .2s;
}
.nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--accent); border-bottom-color: currentColor; }
.nav .btn { min-height: 44px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 50%;
  background: transparent; color: var(--ink); cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  display: block; width: 22px; height: 1.5px; background: currentColor; position: relative; transition: transform .25s, background-color .25s;
}
.nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 0; }
.nav-toggle span::before { top: -7px; }
.nav-toggle span::after { top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 880px) {
  :root { --header-h: 66px; }
  .brand img { width: 128px; }
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
    flex-direction: column; align-items: stretch; gap: 28px;
    padding: 32px var(--gutter) 40px; background: var(--cream);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility 0s .25s;
    overflow-y: auto;
  }
  .nav-open .nav { opacity: 1; visibility: visible; transform: none; transition: opacity .25s, transform .25s; }
  .nav ul { flex-direction: column; gap: 0; }
  .nav ul a:not(.btn) { display: block; font-family: var(--serif); font-size: 2rem; padding: 10px 0; border-bottom: 1px solid var(--line); }
  .nav ul a[aria-current="page"] { border-bottom-color: var(--line); }
  .nav .btn { min-height: 54px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .action-bar { display: none; }
}

/* Hero */
.hero { padding: clamp(32px, 6vw, 72px) 0 var(--section); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 2rem; }
.hero-media { position: relative; }
.hero-media img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 78% center;
  border-radius: 999px 999px var(--radius-lg) var(--radius-lg);
}
.hero-badge {
  position: absolute; left: -28px; bottom: 36px;
  background: #fff; border-radius: var(--radius); box-shadow: 0 10px 30px -14px rgba(0, 0, 0, .25);
  padding: 16px 20px; display: grid; gap: 4px; min-width: 190px;
}
.hero-badge strong { font-family: var(--serif); font-size: 2.2rem; font-weight: 600; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.hero-badge span { font-size: .85rem; color: var(--muted); }

.ratings { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-top: 2rem; padding: 0; list-style: none; }
.ratings li { display: flex; align-items: center; gap: 8px; font-size: .92rem; color: var(--muted); }
.ratings a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.ratings a:hover { color: var(--ink); }
.ratings b { color: var(--ink); font-weight: 700; }
.stars { display: inline-flex; gap: 2px; color: var(--ink); }
.stars svg { width: 15px; height: 15px; }

@media (max-width: 880px) {
  .hero .wrap { grid-template-columns: 1fr; }
  .hero-media { order: -1; max-width: 460px; width: 100%; margin: 0 auto; }
  .hero-media img { aspect-ratio: 1 / 1; object-position: 72% 30%; }
  .hero-badge { left: 12px; bottom: 16px; min-width: 0; padding: 12px 16px; }
  .hero-badge strong { font-size: 1.8rem; }
}

/* Split / about */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 88px); align-items: center; }
.split--reverse > :first-child { order: 2; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; } .split--reverse > :first-child { order: 0; } }

.collage { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.collage img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
.collage img:nth-child(1) { grid-row: span 2; aspect-ratio: 3 / 4.4; }
.collage img:nth-child(2), .collage img:nth-child(3) { aspect-ratio: 4 / 3.2; }

.facts {
  display: grid; grid-template-columns: repeat(3, 1fr); margin: 2rem 0 0; padding: 0; list-style: none;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
}
.facts li { padding: 18px 12px; text-align: center; }
.facts li + li { border-left: 1px solid var(--line); }
.facts strong { display: block; font-family: var(--serif); font-size: clamp(1.9rem, 5vw, 2.4rem); font-weight: 600; color: var(--ink); line-height: 1.1; font-variant-numeric: lining-nums; }
.facts span { display: block; margin-top: 4px; font-size: .8rem; line-height: 1.3; color: var(--muted); }

/* Services */
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  text-decoration: none; color: inherit;
  transition: transform .3s, border-color .3s;
}
.service:hover { transform: translateY(-3px); border-color: #d6cfcb; color: inherit; }
.service img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .6s; }
.service:hover img { transform: scale(1.04); }
.service-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.service h3 { margin: 0; }
.service p { margin: 0; color: var(--muted); font-size: .95rem; }
.service .more { margin-top: auto; padding-top: 12px; font-size: .88rem; font-weight: 600; color: var(--accent); display: inline-flex; align-items: center; gap: 6px; }
.service .more svg { width: 16px; height: 16px; transition: transform .2s; }
.service:hover .more svg { transform: translateX(3px); }
@media (max-width: 980px) { .services { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) {
  .services { grid-template-columns: 1fr; }
  .service { display: grid; grid-template-columns: 36% 1fr; }
  /* contain: size stops tall photos from stretching the card; the photo just fills the row, cropped */
  .service img { width: 100%; height: 100%; min-height: 150px; aspect-ratio: auto; contain: size; }
  .service-body { padding: 18px; }
  .service h3 { font-size: 1.35rem; }
}

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { counter-increment: step; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.steps li::before {
  content: "0" counter(step); display: block; margin-bottom: 18px;
  font-family: var(--serif); font-size: 2.6rem; line-height: 1; color: var(--soft); font-style: italic;
}
.steps h3 { font-size: 1.45rem; margin-bottom: .3em; }
.steps p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 820px) { .steps { grid-template-columns: 1fr; } }

/* Photo strip */
.strip { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 16px; }
.strip img { width: 100%; height: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: var(--radius); }
@media (max-width: 720px) {
  .strip { grid-template-columns: 1fr 1fr; }
  .strip img:first-child { grid-column: span 2; aspect-ratio: 16 / 9; }
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3vw, 36px); display: flex; flex-direction: column; gap: 16px; }
.review blockquote { margin: 0; font-family: var(--serif); font-size: clamp(1.25rem, 2vw, 1.5rem); line-height: 1.35; color: var(--ink); }
.review figcaption { margin-top: auto; font-size: .9rem; font-weight: 600; color: var(--ink); display: flex; justify-content: space-between; align-items: center; gap: 12px; }
@media (max-width: 760px) { .reviews { grid-template-columns: 1fr; } }

/* Visit / contact */
.visit { display: grid; grid-template-columns: .9fr 1.1fr; gap: 20px; align-items: stretch; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(24px, 3.5vw, 44px); }
.card h2 { font-size: clamp(2rem, 3.4vw, 2.6rem); }
.map { border-radius: var(--radius-lg); overflow: hidden; min-height: 420px; background: var(--sand); border: 1px solid var(--line); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }
@media (max-width: 880px) { .visit { grid-template-columns: 1fr; } .map, .map iframe { min-height: 340px; } }

.contact-list { list-style: none; margin: 0 0 28px; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center; }
.contact-list .ico { width: 40px; height: 40px; border-radius: 50%; background: var(--sand); color: var(--ink); display: grid; place-items: center; }
.contact-list .ico svg { width: 18px; height: 18px; }
.contact-list a { color: var(--ink); text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--accent); }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: .85rem; font-weight: 600; padding: 6px 12px; border-radius: 999px; background: var(--sand); color: var(--muted); margin-bottom: 14px; }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.status.is-open { background: #e5f1e8; color: #2f6b43; }
.status.is-closed { background: var(--sand); color: var(--muted); }
.status:empty { display: none; }

.hours { width: 100%; border-collapse: collapse; margin-bottom: 28px; font-size: .96rem; }
.hours th, .hours td { padding: 9px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink); font-variant-numeric: tabular-nums; }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; color: var(--accent); }

/* Page header (inner pages) */
.page-head { padding: clamp(48px, 8vw, 96px) 0 clamp(36px, 5vw, 56px); }
.page-head h1 { font-size: clamp(2.6rem, 5.6vw, 4.2rem); max-width: 14em; }
.crumbs { display: flex; gap: 8px; list-style: none; margin: 0 0 18px; padding: 0; font-size: .85rem; color: var(--muted); }
.crumbs a { color: var(--muted); text-decoration: none; }
.crumbs a:hover { color: var(--accent); }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }

/* Service menu (services page) */
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; list-style: none; margin: 0; padding: 0; }
.menu-grid li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 24px; }
.menu-grid h3 { font-size: 1.4rem; margin-bottom: .25em; }
.menu-grid p { margin: 0; font-size: .94rem; color: var(--muted); }
@media (max-width: 880px) { .menu-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .menu-grid { grid-template-columns: 1fr; } }

.booking { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(8px, 1.5vw, 16px); }
#wahanda-online-booking-widget-iframe { height: 1100px; border-radius: calc(var(--radius-lg) - 8px); overflow: hidden; background: var(--cream); }
@media (max-width: 600px) { #wahanda-online-booking-widget-iframe { height: 88vh; min-height: 640px; } }
.booking-note { margin: 18px 4px 4px; font-size: .92rem; color: var(--muted); text-align: center; }

/* Values (about page) */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; list-style: none; margin: 0; padding: 0; }
.values li { padding: 28px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); }
.values .ico { width: 48px; height: 48px; border-radius: 50%; background: var(--sand); color: var(--ink); display: grid; place-items: center; margin-bottom: 18px; }
.values .ico svg { width: 22px; height: 22px; }
.values h3 { font-size: 1.45rem; margin-bottom: .3em; }
.values p { margin: 0; color: var(--muted); font-size: .96rem; }
@media (max-width: 820px) { .values { grid-template-columns: 1fr; } }

.img-rounded { width: 100%; border-radius: var(--radius-lg); object-fit: cover; }

/* Gallery */
.gallery { columns: 3 280px; column-gap: 16px; }
.gallery a { display: block; margin-bottom: 16px; break-inside: avoid; border-radius: var(--radius); overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; transition: transform .5s, opacity .3s; }
.gallery a:hover img { transform: scale(1.03); }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh; width: 100vw; height: 100vh; margin: 0; }
.lightbox::backdrop { background: rgba(20, 14, 13, .92); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox img { max-width: min(92vw, 1100px); max-height: 84vh; width: auto; border-radius: 12px; }
.lightbox button {
  position: fixed; width: 50px; height: 50px; border-radius: 50%; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, .12); color: #fff; display: grid; place-items: center;
}
.lightbox button:hover { background: rgba(255, 255, 255, .24); }
.lightbox button svg { width: 22px; height: 22px; }
.lightbox .lb-close { top: 18px; right: 18px; }
.lightbox .lb-prev { left: 18px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 18px; top: 50%; transform: translateY(-50%); }
@media (max-width: 600px) { .lightbox .lb-prev, .lightbox .lb-next { top: auto; bottom: 24px; transform: none; } }

/* CTA band */
.cta-band { background: #fff; border: 1px solid var(--line); color: var(--muted); border-radius: var(--radius-lg); padding: clamp(36px, 6vw, 72px); display: grid; grid-template-columns: 1.4fr auto; gap: 32px; align-items: center; }
.cta-band h2 { margin-bottom: .25em; }
.cta-band p { margin: 0; }
@media (max-width: 760px) { .cta-band { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: #fff; border-top: 1px solid var(--line); color: var(--muted); padding: clamp(56px, 7vw, 88px) 0 28px; font-size: .95rem; }
.site-footer a { color: var(--ink); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr .8fr; gap: 40px; }
.footer-logo { width: 170px; mix-blend-mode: multiply; margin-bottom: 18px; }
.site-footer h2 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); margin: 0 0 16px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-hours li { display: flex; justify-content: space-between; gap: 16px; max-width: 220px; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; }
.socials a:hover { border-color: var(--accent); color: var(--accent); text-decoration: none; }
.socials svg { width: 18px; height: 18px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; }
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; gap: 32px; } }

/* Mobile action bar */
.action-bar { display: none; }
@media (max-width: 700px) {
  .action-bar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, .95); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid var(--line);
  }
  .action-bar .btn { min-height: 48px; padding: 0 1em; }
  body { padding-bottom: 76px; }
}

/* Reveal on scroll (only when JS is running) */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.is-visible { opacity: 1; transform: none; }

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