/* Orbis Salon customer website — base structure (themes layer on top). */

/*
 * Inter v4.1, bundled under the SIL Open Font License 1.1.
 * One variable font supplies every public-site weight without a third-party
 * request. See assets/fonts/inter/LICENSE.txt.
 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter/InterVariable.woff2') format('woff2-variations');
}

:root {
  --primary: #1b1b2f;
  --secondary: #c9a96a;
  --accent: #c9a96a;
  --dark: #14141f;
  --light: #f7f5f0;
  --text: #23252e;
  --muted: #6b7280;
  --white: #ffffff;
  --border: rgba(0, 0, 0, 0.08);
  --font-heading: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(15, 18, 34, 0.07);
  --shadow-lg: 0 16px 48px rgba(15, 18, 34, 0.14);
  --container: 1160px;
  --header-h: 72px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-body); color: var(--text);
  background: var(--white); line-height: 1.65; font-size: 16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary); }
h1, h2, h3, h4 { font-family: var(--font-heading); color: var(--dark); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.2rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.12rem; color: var(--muted); }
.center { text-align: center; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.container.narrow { max-width: 780px; }
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

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

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 12px 26px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  font-family: var(--font-body); transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease;
}
.btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 4px 14px rgba(15, 18, 34, 0.18); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.btn-outline { background: transparent; color: var(--primary); border-color: var(--primary); }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-ghost { background: rgba(255, 255, 255, 0.14); color: #fff; border-color: rgba(255, 255, 255, 0.5); backdrop-filter: blur(4px); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.28); }
.btn-lg { padding: 15px 34px; font-size: 1.02rem; }
.btn-sm { padding: 8px 18px; font-size: .85rem; }
.btn-block { width: 100%; }
.text-link { color: var(--primary); font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; background: var(--white);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 16px; }
.brand { display: flex; align-items: center; text-decoration: none; }
.brand-logo { max-height: 46px; width: auto; }
.brand-name { font-family: var(--font-heading); font-size: 1.35rem; font-weight: 700; color: var(--dark); }
.site-nav ul { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.site-nav a {
  display: block; padding: 9px 13px; text-decoration: none; color: var(--text);
  font-size: .93rem; font-weight: 500; border-radius: 8px; transition: color .15s, background .15s;
}
.site-nav a:hover { color: var(--primary); background: rgba(0, 0, 0, 0.045); }
.site-nav a.active { color: var(--primary); font-weight: 700; }
.site-nav { display: flex; align-items: center; gap: 14px; }
.nav-cta { white-space: nowrap; }
.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0;
  padding: 10px; cursor: pointer;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--dark); border-radius: 2px; transition: transform .2s, opacity .2s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; display: flex; align-items: center; min-height: 77.5vh;
  background: linear-gradient(135deg, var(--dark) 0%, var(--primary) 100%);
  background-size: cover; background-position: center; color: #fff; text-align: center;
  padding: 72px 0;
}
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10, 12, 24, 0.45), rgba(10, 12, 24, 0.62)); }
.hero:not(.has-image) .hero-overlay { background: radial-gradient(1200px 500px at 70% -10%, rgba(255,255,255,.10), transparent 60%); }
.hero-inner { position: relative; z-index: 1; width: 100%; }
.hero-title { color: #fff; margin-bottom: .35em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-subtitle { font-size: clamp(1.05rem, 2.4vw, 1.3rem); color: rgba(255, 255, 255, 0.88); max-width: 640px; margin: 0 auto 1.2em; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 1.6em; }
.hero-actions .btn-primary { box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35); }
.hero-badges { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.badge-pill {
  padding: 6px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.28); font-size: .82rem; letter-spacing: .04em;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--dark), var(--primary));
  color: #fff; padding: 64px 0 52px; text-align: center;
}
.page-hero h1 { color: #fff; margin-bottom: .2em; }
.page-hero .lead { color: rgba(255, 255, 255, 0.82); margin: 0; }
.page-hero.has-image {
  position: relative; background-size: cover; background-position: center;
  padding: 96px 0 80px;
}
.page-hero.has-image::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 12, 24, 0.48), rgba(10, 12, 24, 0.64));
}
.page-hero.has-image .container { position: relative; z-index: 1; }
.page-hero.has-image h1 { text-shadow: 0 2px 18px rgba(0, 0, 0, 0.3); }
.local-page-hero .breadcrumb,
.local-page-hero .breadcrumb a,
.local-page-hero .breadcrumb a:visited,
.local-page-hero .breadcrumb a:hover,
.local-page-hero .breadcrumb a:focus-visible {
  color: #fff;
}
.local-page-hero .breadcrumb a:hover,
.local-page-hero .breadcrumb a:focus-visible {
  text-decoration: underline;
}

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section.alt { background: var(--light); }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 34px; }
.section-head h2 { margin: 0; }
.split { display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 22px; }
.card-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 26px 24px; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease;
  display: flex; flex-direction: column; align-items: flex-start; gap: 6px;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card h3, .card h2 { margin-bottom: .25em; }
.card-desc { color: var(--muted); font-size: .93rem; margin-bottom: .4em; }
.card .btn { margin-top: auto; }

/* Service cards + rows */
.service-meta { display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.price { font-weight: 700; color: var(--primary); font-size: 1.05rem; }
.price s { color: var(--muted); font-weight: 400; margin-right: 4px; }
.duration { color: var(--muted); font-size: .88rem; }
.service-group { margin-bottom: 40px; }
.service-group-title { padding-bottom: 10px; border-bottom: 2px solid var(--accent); display: inline-block; }
.service-list { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.service-row {
  display: flex; justify-content: space-between; align-items: center; gap: 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 20px 24px; box-shadow: var(--shadow); transition: transform .18s, box-shadow .18s;
}
.service-row:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.service-row h3 { margin-bottom: 2px; }
.service-row .card-desc { margin: 0; }
.service-row-side { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }

/* Filter bar */
.filter-bar { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.filter-btn {
  padding: 8px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--white); font-size: .88rem; font-weight: 600; cursor: pointer; color: var(--text);
  transition: background .15s, color .15s, border-color .15s;
}
.filter-btn:hover { border-color: var(--primary); }
.filter-btn:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.filter-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* Staff */
.staff-card { text-align: center; align-items: center; }
.staff-photo { width: 132px; height: 132px; max-width: 132px; max-height: 132px; border-radius: 50%; object-fit: cover; object-position: center; margin-bottom: 12px; box-shadow: var(--shadow); flex-shrink: 0; }
.staff-avatar {
  width: 132px; height: 132px; border-radius: 50%; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--secondary)); color: #fff;
  font-size: 2.2rem; font-weight: 700; font-family: var(--font-heading); margin-bottom: 12px;
}
.staff-name { font-size: 1.2rem; }
.staff-role { color: var(--accent); font-weight: 600; font-size: .88rem; text-transform: uppercase; letter-spacing: .05em; margin-bottom: .5em; }
.staff-quals { font-size: .82rem; color: var(--muted); }

/* Gallery */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery-grid.large { grid-template-columns: repeat(4, 1fr); }
.gallery-item { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 1; background: var(--light); }
.gallery-item:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-caption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; color: #fff; font-size: .82rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.65));
}
.lightbox {
  position: fixed; inset: 0; z-index: 300; background: rgba(10, 10, 16, 0.92);
  display: flex; align-items: center; justify-content: center; padding: 4vh 4vw;
}
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 90vh; border-radius: 8px; }
.lightbox-close {
  position: absolute; top: 18px; right: 24px; background: none; border: 0; color: #fff;
  font-size: 2.4rem; cursor: pointer; line-height: 1;
}

/* Offers / vouchers / memberships */
.offer-card, .voucher-card, .membership-card { position: relative; }
.offer-flag {
  display: inline-block; padding: 4px 12px; border-radius: 999px; background: var(--accent);
  color: #fff; font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 8px;
}
.offer-title { font-size: 1.3rem; }
.offer-valid { font-size: .82rem; color: var(--muted); }
.membership-price { font-size: 1.6rem; }
.membership-price .per { font-size: .9rem; color: var(--muted); font-weight: 400; }
.benefit-list { padding-left: 18px; margin: 0 0 1em; color: var(--muted); font-size: .92rem; }
.benefit-list li { margin-bottom: 4px; }

/* Products */
.product-image { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 8px; margin-bottom: 12px; }

/* Reviews */
.review-card { margin: 0; }
.stars { color: #eab308; letter-spacing: 2px; margin-bottom: 8px; }
.review-card footer { color: var(--muted); font-size: .88rem; margin-top: auto; }

/* ---------- Contact ---------- */
.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 0 0 1.4em; }
.contact-list li { display: flex; gap: 12px; margin-bottom: 10px; align-items: baseline; }
.contact-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); min-width: 78px; }
address { font-style: normal; margin-bottom: 1.2em; color: var(--muted); }
.hours-list { list-style: none; padding: 0; margin: 0; max-width: 340px; }
.hours-list li { display: flex; justify-content: space-between; gap: 20px; padding: 6px 0; border-bottom: 1px dashed var(--border); font-size: .92rem; }
.map-wrap { margin-top: 48px; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; border-radius: var(--radius); box-shadow: var(--shadow); }

/* Forms */
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; }
.form-field label { font-size: .86rem; font-weight: 600; margin-bottom: 6px; }
.form-field input, .form-field textarea {
  padding: 12px 14px; border: 1.5px solid var(--border); border-radius: 9px; font-size: .96rem;
  font-family: var(--font-body); background: var(--white); color: var(--text); transition: border-color .15s, box-shadow .15s;
}
.form-field input:focus, .form-field textarea:focus {
  outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.06);
}
.form-field.has-error input, .form-field.has-error textarea { border-color: #dc2626; }
.field-error { color: #dc2626; font-size: .8rem; margin-top: 4px; }
.form-banner { padding: 14px 18px; border-radius: 10px; margin-bottom: 18px; font-size: .95rem; }
.form-banner.success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.form-banner.error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.form-banner.notice-strong { background: #fef2f2; color: #b91c1c; border: 1px solid #fecaca; font-size: 1.05rem; font-weight: 600; text-align: center; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- CTA section ---------- */
.cta-section { background: linear-gradient(135deg, var(--dark), var(--primary)); color: #fff; }
.cta-section h2 { color: #fff; }
.cta-section .lead { color: rgba(255, 255, 255, 0.8); }
.cta-section .btn-primary { background: #fff; color: var(--primary); box-shadow: var(--shadow); }
.cta-section .btn-primary:hover { background: #fff; color: var(--dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: rgba(255, 255, 255, 0.78); margin-top: auto; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; padding: 56px 20px 32px; }
.footer-brand { color: #fff; }
.site-footer h4 { color: #fff; font-size: .95rem; text-transform: uppercase; letter-spacing: .06em; }
.site-footer a { color: rgba(255, 255, 255, 0.82); text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-links { list-style: none; padding: 0; margin: 0 0 1.2em; }
.footer-links li { margin-bottom: 7px; }
.social-links { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; }
.footer-cta { border-color: rgba(255, 255, 255, 0.5); color: #fff; }
.footer-cta:hover { background: #fff; color: var(--dark); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 20px; padding-bottom: 24px; font-size: .84rem;
}
.footer-bottom p { margin: 0; }
.site-footer .hours-list li { border-color: rgba(255, 255, 255, 0.14); }

/* ---------- Mobile book bar ---------- */
.mobile-book-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94); backdrop-filter: blur(8px); border-top: 1px solid var(--border);
  box-shadow: 0 -6px 24px rgba(15, 18, 34, 0.10);
  display: none;
}

/* ---------- Rich text ---------- */
.rich-text h2, .rich-text h3 { margin-top: 1.4em; }
.rich-text img { border-radius: var(--radius); }
.rich-text table { width: 100%; border-collapse: collapse; }
.rich-text td, .rich-text th { padding: 8px 10px; border: 1px solid var(--border); text-align: left; }

/* ---------- Error page ---------- */
.error-page { padding: 110px 0; }
.error-code { font-family: var(--font-heading); font-size: 5rem; color: var(--accent); margin: 0; line-height: 1; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .card-grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .card-grid.cols-3 { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid.large { grid-template-columns: repeat(3, 1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .section { padding: 52px 0; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none; position: absolute; top: var(--header-h); left: 0; right: 0;
    background: var(--white); border-bottom: 1px solid var(--border); box-shadow: var(--shadow-lg);
    flex-direction: column; align-items: stretch; padding: 12px 20px 20px; gap: 10px;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 12px 8px; font-size: 1rem; }
  .nav-cta { width: 100%; }
  .card-grid.cols-3, .card-grid.cols-4 { grid-template-columns: 1fr; }
  .gallery-grid, .gallery-grid.large { grid-template-columns: repeat(2, 1fr); }
  .service-row { flex-direction: column; align-items: flex-start; }
  .service-row-side { width: 100%; justify-content: space-between; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .mobile-book-bar { display: block; }
  body { padding-bottom: 68px; }
  .form-row { grid-template-columns: 1fr; }
  .hero { min-height: 87.5vh; }
}
