/*
Theme Name: M.Bellod Groomers
Theme URI: https://mbellodgroomers.com
Author: Fabius
Description: Custom block-ready theme for M.Bellod Groomers.
Version: 1.0.2
Text Domain: mbellodgroomers
*/

:root {
  --ink: #18201f;
  --muted: #61706c;
  --cream: #f8f4ee;
  --paper: #fffdf8;
  --petrol: #154642;
  --mint: #d9ebe4;
  --coral: #b94d3d;
  --gold: #e7ba6a;
  --line: rgba(24, 32, 31, .12);
  --shadow: 0 22px 60px rgba(21, 70, 66, .14);
}

* { box-sizing: border-box; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 244, 238, .94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.header-inner, .section-inner {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}
.header-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-weight: 850;
  letter-spacing: .02em;
}
.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--petrol);
  box-shadow: inset 0 -8px 18px rgba(0,0,0,.12);
}
.nav {
  display: flex;
  align-items: center;
  gap: 18px;
  font-size: .94rem;
}
.nav a { text-decoration: none; color: #263331; }
.nav a:hover { color: var(--coral); }
.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 70, 66, .22);
  border-radius: 4px;
  background: #fff;
  color: var(--petrol);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.menu-icon,
.menu-icon::before,
.menu-icon::after {
  display: block;
  width: 21px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
  transition: transform .18s ease, opacity .18s ease;
}
.menu-icon {
  position: relative;
}
.menu-icon::before,
.menu-icon::after {
  content: "";
  position: absolute;
  left: 0;
}
.menu-icon::before { top: -7px; }
.menu-icon::after { top: 7px; }
.menu-open .menu-icon { background: transparent; }
.menu-open .menu-icon::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-icon::after { transform: translateY(-7px) rotate(-45deg); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.nav-cta, .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 4px;
  border: 1px solid transparent;
  background: var(--coral);
  color: #fff;
  text-decoration: none;
  font-weight: 760;
}
.button.secondary {
  background: transparent;
  color: var(--petrol);
  border-color: rgba(21, 70, 66, .3);
}
.button.light {
  background: #fff;
  color: var(--petrol);
}

.hero {
  position: relative;
  min-height: calc(100svh - 74px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #102f2d;
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(16,47,45,.92), rgba(16,47,45,.66) 47%, rgba(16,47,45,.18)), var(--hero-image);
  background-size: cover;
  background-position: center;
}
.hero .section-inner {
  position: relative;
  padding: 76px 0 92px;
}
.hero-content { max-width: 720px; }
.eyebrow {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 800;
  color: var(--petrol);
  margin-bottom: 16px;
}
.hero .eyebrow,
.section.dark .eyebrow {
  color: #f2c979;
}
h1, h2, h3 { line-height: 1.08; margin: 0; letter-spacing: 0; }
h1 { font-size: clamp(2.45rem, 7vw, 5.7rem); max-width: 880px; }
h2 { font-size: clamp(2rem, 4vw, 3.55rem); }
h3 { font-size: 1.2rem; }
.lede {
  max-width: 650px;
  margin: 24px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255,255,255,.86);
}
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.proof {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 48px;
  background: rgba(255,255,255,.22);
  border: 1px solid rgba(255,255,255,.22);
}
.proof div { padding: 18px; background: rgba(255,255,255,.1); }
.proof strong { display: block; color: #fff; }
.proof span { display: block; color: rgba(255,255,255,.78); font-size: .92rem; margin-top: 4px; }

.section { padding: 86px 0; background: var(--paper); }
.section.alt { background: var(--mint); }
.section.dark { background: var(--petrol); color: #fff; }
.section.compact { padding: 66px 0; }
.split {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}
.copy p:first-child { margin-top: 0; }
.copy p, .copy li { color: var(--muted); font-size: 1.03rem; }
.dark .copy p, .dark .copy li { color: rgba(255,255,255,.82); }
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}
.card {
  min-height: 210px;
  padding: 28px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 10px 34px rgba(24,32,31,.06);
}
.card p { color: var(--muted); margin-bottom: 0; }
.card.dark-card {
  background: rgba(255,255,255,.08);
  border-color: rgba(255,255,255,.18);
}
.card.dark-card p { color: rgba(255,255,255,.78); }
.media-split {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 44px;
  align-items: center;
}
.media-frame {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 4 / 3;
}
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.list {
  list-style: none;
  padding: 0;
  margin: 22px 0 0;
}
.list li {
  padding: 14px 0 14px 32px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 22px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--coral);
}
.price-table {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}
.price-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 6px;
}
.price-row strong:last-child { color: var(--petrol); white-space: nowrap; }
.contact-panel {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 34px;
  padding: 34px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.field { margin-bottom: 14px; }
.field label { display: block; font-weight: 760; margin-bottom: 6px; }
.field input, .field textarea {
  width: 100%;
  border: 1px solid rgba(24,32,31,.18);
  border-radius: 4px;
  padding: 13px 14px;
  font: inherit;
  background: #fff;
}
.field textarea { min-height: 130px; resize: vertical; }
.alert { padding: 14px 16px; border-radius: 6px; margin-bottom: 16px; }
.alert.ok { background: #dff4e8; color: #164332; }
.alert.error { background: #ffe5df; color: #743222; }

.site-footer {
  background: #111918;
  color: rgba(255,255,255,.78);
  padding: 48px 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 34px;
}
.site-footer a { color: #fff; text-decoration: none; }
.site-footer h3 { color: #fff; font-size: 1rem; margin-bottom: 12px; }
.footer-links { display: grid; gap: 8px; }
.legal-content { max-width: 820px; }
.wp-block-group.alignfull {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.wp-block-button__link {
  border-radius: 4px;
  background: var(--coral);
  color: #fff;
  font-weight: 760;
  text-decoration: none;
}
.cmplz-cookiebanner {
  border-radius: 8px !important;
  box-shadow: var(--shadow) !important;
  font-family: inherit !important;
}
.privacy-banner {
  position: fixed;
  left: 18px;
  right: 18px;
  bottom: 18px;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 18px;
  background: #fffdf8;
  color: var(--ink);
  border: 1px solid rgba(24, 32, 31, .14);
  border-radius: 8px;
  box-shadow: var(--shadow);
}
.privacy-banner__copy strong { display: block; margin-bottom: 3px; }
.privacy-banner__copy p {
  margin: 0;
  color: var(--muted);
  font-size: .94rem;
}
.privacy-banner__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.privacy-banner__link {
  color: var(--petrol);
  font-weight: 760;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.privacy-banner__button {
  min-height: 40px;
  padding: 0 14px;
  border: 1px solid var(--coral);
  border-radius: 4px;
  background: var(--coral);
  color: #fff;
  font: inherit;
  font-weight: 760;
  cursor: pointer;
}
.privacy-banner__button--ghost {
  background: #fff;
  color: var(--petrol);
  border-color: rgba(21, 70, 66, .3);
}

@media (max-width: 860px) {
  .header-inner {
    min-height: 68px;
    padding: 12px 0;
    gap: 12px;
    flex-wrap: wrap;
  }
  .brand { max-width: calc(100% - 58px); }
  .menu-toggle { display: inline-flex; }
  .nav {
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 0 4px;
    font-size: .98rem;
    border-top: 1px solid var(--line);
  }
  .menu-open .nav { display: flex; }
  .nav a {
    padding: 13px 2px;
    border-bottom: 1px solid rgba(24,32,31,.08);
  }
  .nav-cta {
    margin-top: 10px;
    min-height: 44px;
    padding: 0 14px;
    border-bottom: 0;
  }
  .hero { min-height: auto; }
  .hero .section-inner { padding: 62px 0 72px; }
  .proof, .grid, .split, .media-split, .contact-panel, .footer-grid {
    grid-template-columns: 1fr;
  }
  .proof { margin-top: 34px; }
  .section { padding: 64px 0; }
  .privacy-banner {
    align-items: stretch;
    flex-direction: column;
  }
  .privacy-banner__actions {
    align-items: stretch;
  }
  .privacy-banner__link,
  .privacy-banner__button {
    flex: 1 1 auto;
    justify-content: center;
    text-align: center;
  }
}
