/* =========================================================
   Moda Beauty Bar — styles
   COLORS: change these to adjust the whole site's palette
   ========================================================= */
:root {
  --white: #ffffff;
  --gray-bg: #f0f2f5;    /* light gray page sections */
  --line: #e4e6eb;       /* thin dividers */
  --ink: #111111;        /* main text, logo, buttons */
  --muted: #65676b;      /* secondary text */
  --accent: #111111;     /* active tab underline / buttons */
  --serif: "Cormorant Garamond", "Didot", Georgia, serif;
  --sans: "Inter", "Helvetica Neue", Arial, sans-serif;
  --radius: 10px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font-family: var(--sans); color: var(--ink); background: var(--white); line-height: 1.6; font-size: 16px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .5em; line-height: 1.2; font-weight: 700; }
h2 { font-size: 1.5rem; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Logo (wordmark) */
.logo { display: inline-flex; flex-direction: column; align-items: center; text-decoration: none; color: var(--ink); line-height: 1; }
.logo-word { font-family: var(--serif); font-weight: 400; font-size: 1.9rem; letter-spacing: .04em; }
.logo-sub { display: flex; align-items: center; gap: .45em; font-size: .52rem; letter-spacing: .22em; color: #444; margin-top: .25em; }
.logo-sub i { display: inline-block; width: 1.8em; height: 1px; background: #777; }
.logo.small .logo-word { font-size: 1.5rem; }

/* Buttons */
.btn { display: inline-block; padding: .75em 1.4em; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: .95rem; border: 1px solid transparent; cursor: pointer; transition: .2s; font-family: var(--sans); text-align: center; }
.btn-sm { padding: .5em 1em; font-size: .88rem; }
.btn-block { display: block; width: 100%; margin-top: 1.2rem; }
.btn-primary { background: var(--ink); color: #fff; }
.btn-primary:hover { background: #333; }
.btn-ghost { background: var(--gray-bg); color: var(--ink); }
.btn-ghost:hover { background: var(--line); }

/* Header + tabs */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.tabs { display: flex; align-items: center; gap: .2rem; height: 100%; }
.tabs a:not(.btn) { display: flex; align-items: center; height: 100%; padding: 0 1rem; text-decoration: none; color: var(--muted); font-weight: 600; font-size: .98rem; border-bottom: 3px solid transparent; border-top: 3px solid transparent; transition: .15s; }
.tabs a:not(.btn):hover { color: var(--ink); background: var(--gray-bg); }
.tabs a.active { color: var(--ink); border-bottom-color: var(--accent); }
.tabs .btn { margin-left: .8rem; }
.menu-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-toggle span { display: block; width: 22px; height: 2px; background: var(--ink); margin: 5px 0; transition: .25s; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.hero-logo { display: inline-flex; flex-direction: column; align-items: center; margin-bottom: 1.8rem; }
.hero-logo .logo-word { font-family: var(--serif); font-weight: 300; font-size: clamp(3.6rem, 9vw, 6rem); letter-spacing: .03em; line-height: .9; }
.hero-logo .logo-sub { font-size: .8rem; margin-top: .6em; }
.hero h1 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 32rem; margin: 0 0 1.8rem; }
.actions { display: flex; flex-wrap: wrap; gap: .6rem; }
.hero-photo img { width: 100%; aspect-ratio: 5/4; object-fit: cover; border-radius: var(--radius); background: var(--gray-bg); }

/* Sections + cards */
.section { padding: clamp(48px, 8vw, 88px) 0; }
.section-gray { background: var(--gray-bg); }
.section-head { margin-bottom: 1.8rem; }
.section-head h2 { font-size: clamp(1.6rem, 3vw, 2rem); margin-bottom: .2em; }
.section-head p { color: var(--muted); margin: 0; }
.card { background: #fff; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(0,0,0,.08), 0 0 0 1px rgba(0,0,0,.03); padding: 1.4rem 1.6rem; margin-bottom: 1rem; }
.card p { margin: 0 0 .8em; }
.card p:last-child { margin-bottom: 0; }
hr { border: 0; border-top: 1px solid var(--line); margin: 1.2rem 0; }

/* Posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; align-items: start; }
.post { padding: 0; overflow: hidden; margin: 0; }
.post-head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.1rem .6rem; }
.post-head img { width: 40px; height: 40px; border-radius: 50%; }
.post-head strong { display: block; font-size: .95rem; }
.post-head small { color: var(--muted); font-size: .8rem; }
.post > p { padding: 0 1.1rem; margin: 0 0 .9rem; }
.post-img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: #1c1c1c; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: 1rem; align-items: start; }
.info-card { position: sticky; top: 84px; }
.tagline { text-align: center; font-size: 1.1rem; margin: 0; }
.info-list { list-style: none; padding: 0; margin: 0; }
.info-list li { display: flex; gap: .9rem; align-items: flex-start; padding: .55rem 0; overflow-wrap: anywhere; }
.info-list svg { flex: none; width: 22px; height: 22px; color: var(--muted); margin-top: .1rem; }
.info-list a { text-decoration: none; }
.info-list a:hover { text-decoration: underline; }
.services { list-style: none; padding: 0; margin: 0; }
.services li { display: grid; gap: .1rem; padding: .85rem 0; border-bottom: 1px solid var(--line); }
.services li:last-child { border-bottom: 0; }
.services span { color: var(--muted); font-size: .95rem; }
.price { font-weight: 600; color: var(--ink) !important; }
.review { margin: 0 0 1rem; padding: 1rem; background: var(--gray-bg); border-radius: 8px; }
.review cite { font-style: normal; font-weight: 600; }
.stars { letter-spacing: .15em; }

/* Contact form */
.contact-form { display: grid; gap: .9rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
.contact-form label { display: grid; gap: .3rem; font-size: .85rem; font-weight: 600; }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-weight: 400; font-size: 1rem; color: var(--ink); background: var(--gray-bg); border: 1px solid transparent; border-radius: 8px; padding: .7em .85em; width: 100%; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--ink); background: #fff; }
.contact-form .btn { justify-self: start; }
.note { color: var(--muted); font-size: .82rem; margin: 0; }

/* Reels */
.reels { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.reel { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 9/16; background: #1c1c1c; }
.reel img, .reel video { width: 100%; height: 100%; object-fit: cover; }
.reel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(0,0,0,.65)); pointer-events: none; }
.reel p { position: absolute; left: 1rem; bottom: .9rem; margin: 0; color: #fff; font-weight: 600; z-index: 1; }
.play { position: absolute; top: 50%; left: 50%; width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: rgba(255,255,255,.85); z-index: 1; }
.play::before { content: ""; position: absolute; left: 22px; top: 17px; border-left: 16px solid var(--ink); border-top: 11px solid transparent; border-bottom: 11px solid transparent; }

/* Photos */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.gallery figure { margin: 0; aspect-ratio: 1/1; overflow: hidden; cursor: zoom-in; background: var(--gray-bg); border-radius: 4px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s, opacity .2s; }
.gallery figure:hover img { transform: scale(1.03); opacity: .92; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 2.2rem 0; text-align: center; color: var(--muted); font-size: .9rem; }
.footer-inner { display: grid; justify-items: center; gap: .6rem; }
.footer-inner p { margin: 0; overflow-wrap: anywhere; }
.footer-inner a { text-decoration: none; }
.copy { font-size: .8rem; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(0,0,0,.92); display: flex; align-items: center; justify-content: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; border-radius: 6px; }
.lightbox button { position: absolute; top: 10px; right: 18px; background: none; border: 0; color: #fff; font-size: 2.6rem; cursor: pointer; }

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

/* Tablet / mobile */
@media (max-width: 960px) {
  .posts { grid-template-columns: 1fr 1fr; }
  .reels { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .info-card { position: static; }
}
@media (max-width: 760px) {
  .menu-toggle { display: block; }
  .tabs { position: absolute; top: 64px; left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch; background: #fff; padding: .5rem 16px 1rem; border-bottom: 1px solid var(--line); box-shadow: 0 8px 20px rgba(0,0,0,.06); display: none; }
  .tabs.open { display: flex; }
  .tabs a:not(.btn) { padding: .9rem .2rem; border: 0; border-bottom: 1px solid var(--line); }
  .tabs a.active { border-bottom-color: var(--line); box-shadow: inset 3px 0 0 var(--ink); padding-left: .8rem; }
  .tabs .btn { margin: 1rem 0 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-text { text-align: center; }
  .hero-text .lead { margin-inline: auto; }
  .hero-text .actions { justify-content: center; }
  .posts { grid-template-columns: 1fr; }
  .contact-form .row { grid-template-columns: 1fr; }
  .gallery { gap: 3px; }
  .card { padding: 1.2rem; }
}

/* Services & prices menu */
.center { text-align: center; margin-top: 2rem; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.4rem; }
.filter { font: inherit; font-weight: 600; font-size: .9rem; padding: .5em 1.1em; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--muted); cursor: pointer; transition: .15s; }
.filter:hover { color: var(--ink); border-color: #ccc; }
.filter.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.menu-grid { columns: 2 420px; column-gap: 1rem; }
.menu-cat { break-inside: avoid; display: inline-block; width: 100%; }
.menu-cat[hidden] { display: none; }
.menu-cat h3 { font-family: var(--serif); font-weight: 500; font-size: 1.6rem; margin-bottom: .3em; }
.menu { list-style: none; padding: 0; margin: 0; }
.menu li { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding: .8rem 0; border-bottom: 1px solid var(--line); }
.menu li:last-child { border-bottom: 0; }
.menu b { display: block; font-size: .98rem; }
.menu span { display: block; color: var(--muted); font-size: .9rem; }
.menu em { font-style: normal; font-weight: 700; white-space: nowrap; }
