/* ============================================================
   Unicorn Pet Grooming Salon — styles matched to the Wix site
   Palette + fonts sampled from the live site:
     cyan  #0DA0DB   green headings #1D3B2A   serif: Caudex
   Edit the :root tokens below to re-theme.
   ============================================================ */

:root {
  --cyan:       #0da0db;   /* primary: buttons, tagline, active nav */
  --cyan-dark:  #0b87bb;
  --green:      #1d3b2a;   /* headings */
  --green-soft: #2f4f3c;
  --sage:       #c9d8bf;   /* soft section background */
  --sage-soft:  #eef3ea;
  --ink:        #333333;
  --muted:      #6b6b6b;
  --line:       #e7e7e7;
  --cream:      #ffffff;
  --shadow:     0 12px 34px rgba(0,0,0,.12);
  --shadow-sm:  0 4px 14px rgba(0,0,0,.08);
  --maxw:       1180px;
  --font-head:  "Caudex", Georgia, "Times New Roman", serif;
  --font-body:  "Jost", "Segoe UI", system-ui, -apple-system, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--cyan); text-decoration: none; }
a:hover { color: var(--cyan-dark); }

h1, h2, h3, h4 { font-family: var(--font-head); color: var(--green); line-height: 1.25; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); }
h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
h3 { font-size: clamp(1.2rem, 2.4vw, 1.45rem); }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.section { padding: 76px 0; }
.section--sage { background: var(--sage-soft); }
.section--band { background: var(--sage); }   /* medium sage band (Happy Clients, Meet Us) */
.h-cyan { color: var(--cyan) !important; }
.h-white { color: #fff !important; }
.center { text-align: center; }
.eyebrow {
  font-family: var(--font-body); text-transform: uppercase; letter-spacing: .22em;
  font-size: .76rem; font-weight: 600; color: var(--cyan); margin-bottom: 12px;
}
.lead { font-size: 1.12rem; color: var(--green-soft); max-width: 680px; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons (rectangular, Wix style) ---------- */
.btn {
  display: inline-block; font-family: var(--font-body); font-weight: 500; letter-spacing: .02em;
  padding: 13px 32px; border-radius: 3px; cursor: pointer; border: 2px solid transparent;
  transition: background .15s ease, color .15s ease, box-shadow .15s ease; font-size: 1rem;
}
.btn--primary { background: var(--cyan); color: #fff; }
.btn--primary:hover { background: var(--cyan-dark); color: #fff; }
.btn--ghost { background: transparent; color: var(--cyan); border-color: var(--cyan); }
.btn--ghost:hover { background: var(--cyan); color: #fff; }
.btn--lg { padding: 15px 40px; font-size: 1.05rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.topbar { display: flex; align-items: center; gap: 26px; padding: 14px 0 6px; }
.logo__lockup { display: flex; align-items: center; gap: 7px; }
.logo__bone { height: 50px; width: auto; }
.logo__mark { height: 46px; width: auto; }
.footer__brand .logo__mark, .footer__brand img { height: 50px; }
.logo__tag {
  display: block; color: var(--cyan); font-family: var(--font-body); font-weight: 500;
  font-size: .92rem; letter-spacing: .01em; margin-top: 2px;
}
.badges { display: flex; align-items: center; gap: 14px; }
.badges img { height: 64px; width: auto; }
.topbar__spacer { flex: 1; }
.topbar__cta { display: flex; flex-direction: column; align-items: flex-end; gap: 6px; }
.topbar__phone { color: var(--green); font-weight: 500; text-decoration: underline; font-size: .9rem; white-space: nowrap; }
.socials-vert { display: flex; flex-direction: column; gap: 12px; }
.socials-vert a { color: var(--green); font-size: 1.2rem; line-height: 1; opacity: .9; }
.socials-vert a:hover { opacity: 1; }
.socials-vert img { width: 28px; height: 28px; display: block; }
@media (min-width: 781px) {
  .socials-vert { position: fixed; right: 16px; top: 50%; transform: translateY(-50%); z-index: 60; gap: 14px; }
}
@media (max-width: 780px) {
  .socials-vert { display: none; }
}

.navbar { display: flex; align-items: center; justify-content: flex-end; gap: 8px; padding: 4px 0 14px; }
.navbar a {
  font-family: var(--font-head); color: var(--green); font-size: 1.15rem; padding: 6px 16px;
}
.navbar a:hover, .navbar a.active { color: var(--cyan); }
.nav__toggle { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; margin-left: auto; }
.nav__toggle span { width: 26px; height: 2.5px; background: var(--green); border-radius: 2px; }

/* ---------- Hero ---------- */
.hero { padding: 0; }
.hero__grid { display: grid; grid-template-columns: 1fr 1.15fr; align-items: stretch; min-height: 560px; }
.hero__copy { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 60px 48px; }
.hero__quote {
  font-family: var(--font-head); color: var(--green); font-size: clamp(1.6rem, 2.8vw, 2.5rem);
  line-height: 1.35; max-width: 520px; margin-bottom: 34px;
}
.hero__artcol { display: flex; flex-direction: column; }
.hero__art { flex: 1; background-size: cover; background-position: center; min-height: 420px; }
.hero__credit { text-align: center; font-family: var(--font-head); color: var(--green); font-size: .95rem; padding: 12px 16px; }
.stars { color: #e7b53c; letter-spacing: 2px; }
/* visually hidden (SEO H1s, screen readers) — present for search engines, invisible on screen */
.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; }

/* ---------- Generic blocks ---------- */
.grid { display: grid; gap: 30px; }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.card__img { aspect-ratio: 1/1; object-fit: cover; width: 100%; }
.card__body { padding: 24px 24px 28px; flex: 1; display: flex; flex-direction: column; }
.card__body h3 { margin-bottom: 6px; }
.card__kicker { font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; color: var(--cyan); font-weight: 600; margin-bottom: 8px; }
.card ul { list-style: none; margin: 12px 0; }
.card ul li { padding: 4px 0 4px 22px; position: relative; font-size: .94rem; color: var(--green-soft); }
.card ul li::before { content: ""; position: absolute; left: 3px; top: 11px; width: 7px; height: 7px; border-radius: 50%; background: var(--cyan); }
.card p { font-size: .94rem; color: var(--muted); margin-bottom: 14px; }
.card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- Reviews (borderless columns w/ dividers, matches Wix) ---------- */
.reviews { display: grid; grid-template-columns: repeat(3,1fr); gap: 0; }
.review { background: transparent; border: none; border-left: 1px solid var(--line); padding: 8px 30px; text-align: center; }
.review:first-child { border-left: none; }
.review .stars { display: block; margin-bottom: 14px; font-size: 1.3rem; }
.review__who { font-family: var(--font-head); font-weight: 700; color: var(--green); font-size: 1.3rem; margin-bottom: 14px; }
.review p { font-family: var(--font-head); font-style: normal; color: var(--ink); margin-bottom: 0; line-height: 1.7; }
@media (max-width: 960px){ .review { border-left: none; border-top: 1px solid var(--line); padding: 24px 0; } .review:first-child{ border-top:none; } }

/* ---------- Contact form ---------- */
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form .field { display: block; margin-bottom: 16px; }
.contact-form .field span { display: block; color: #fff; font-size: .85rem; font-weight: 600; margin-bottom: 6px; }
.contact-form .field input, .contact-form .field textarea {
  width: 100%; padding: 12px 14px; border: none; border-radius: 4px;
  font-family: var(--font-body); font-size: 1rem; background: #fff; color: var(--ink);
}
.contact-form .field textarea { resize: vertical; }
.contact-form .form-submit {
  width: 100%; background: #1f3f8f; color: #fff; border: none; padding: 14px;
  border-radius: 4px; font-family: var(--font-body); font-weight: 600; font-size: 1rem; cursor: pointer; margin-top: 4px;
}
.contact-form .form-submit:hover { background: #16306e; }
@media (max-width: 640px) { .contact-form .form-grid { grid-template-columns: 1fr; } }

/* ---------- Feature grid (5-up, Meet Us) ---------- */
.feat-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; text-align: center; }
.feat-grid .feat__icon { font-size: 2.6rem; line-height: 1; margin-bottom: 12px; }
.feat-grid h3 { font-family: var(--font-head); color: #cfe0f2; margin-bottom: 8px; }
.feat-grid p { color: #fff; font-size: .94rem; }

/* Playful character shapes with hover googly eyes */
.critter { position: relative; width: 112px; height: 90px; margin: 0 auto 16px; }
.critter svg { width: 100%; height: 100%; display: block; fill: #d9eaf8; transition: transform .25s ease; }
.critter:hover svg { transform: scale(1.06) rotate(-2deg); }
.critter .eye { position: absolute; top: 40%; width: 15px; height: 15px; background: #fff; border-radius: 50%; opacity: 0; transition: opacity .18s ease; display: grid; place-items: center; box-shadow: 0 1px 2px rgba(0,0,0,.12); }
.critter .eye--l { left: calc(50% - 17px); }
.critter .eye--r { left: calc(50% + 2px); }
.critter .pupil { width: 7px; height: 7px; background: #25323a; border-radius: 50%; transform: translate(var(--tx, 0px), var(--ty, 0px)); }
.critter:hover .eye { opacity: 1; }
@media (max-width: 900px) { .feat-grid { grid-template-columns: repeat(2, 1fr); gap: 32px; } }
@media (max-width: 520px) { .feat-grid { grid-template-columns: 1fr; } }

/* ---------- Instagram grid ---------- */
.ig-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; }
.ig-grid img { width: 100%; aspect-ratio: 1/1; object-fit: cover; transition: opacity .2s; }
.ig-grid a:hover img { opacity: .85; }
@media (max-width: 700px){ .ig-grid { grid-template-columns: repeat(2, 1fr); } }
.ig-live:empty { display: none; }
.ig-icon { width: 24px; height: 24px; flex: none; transition: opacity .2s; }
a:hover > .ig-icon { opacity: .8; }
.ig-live { --behold-gap: 10px; --behold-row-gap: 10px; }

/* ---------- Split ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center; }
.split img { width: 100%; object-fit: cover; }
.split--media-right .split__media { order: 2; }

/* ---------- Info strip ---------- */
.info { display: grid; grid-template-columns: repeat(3,1fr); gap: 30px; }
.info__block h3 { font-family: var(--font-head); font-size: 1.5rem; color: var(--cyan); margin-bottom: 8px; }
.info__block p, .info__block a { color: var(--ink); font-size: 1.02rem; }
.info__big { font-size: 1.35rem !important; font-weight: 600; color: var(--cyan) !important; font-family: var(--font-head); }

/* ---------- Pricing ---------- */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); margin: 16px 0 8px; }
.price-table caption { text-align: left; font-family: var(--font-head); font-size: 1.3rem; color: var(--green); margin-bottom: 10px; caption-side: top; }
.price-table th, .price-table td { padding: 12px 18px; text-align: left; border-bottom: 1px solid var(--line); }
.price-table thead th { background: var(--cyan); color: #fff; font-size: .82rem; text-transform: uppercase; letter-spacing: .06em; }
.price-table tbody td:first-child { font-weight: 500; color: var(--ink); }
.price-table tbody tr:last-child td { border-bottom: none; }
.price-table td:last-child { font-weight: 600; color: var(--cyan); white-space: nowrap; }
.price-note { font-size: .85rem; color: var(--muted); margin: 4px 0 28px; }
.addons { columns: 2; column-gap: 40px; }
.addons li { break-inside: avoid; padding: 6px 0 6px 24px; position: relative; color: var(--green-soft); list-style: none; }
.addons li::before { content: "✦"; color: var(--cyan); position: absolute; left: 0; }
@media (max-width: 640px){ .addons { columns: 1; } }

/* ---------- FAQ ---------- */
.faq { max-width: 860px; margin: 0 auto; }
.faq__item { background: #fff; border: 1px solid var(--line); margin-bottom: 14px; overflow: hidden; }
.faq__q {
  width: 100%; text-align: left; background: none; border: none; cursor: pointer;
  font-family: var(--font-head); font-weight: 700; font-size: 1.08rem; color: var(--green);
  padding: 20px 56px 20px 22px; position: relative;
}
.faq__q::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 1.5rem; color: var(--cyan); transition: transform .25s ease; }
.faq__item.open .faq__q::after { transform: translateY(-50%) rotate(45deg); }
.faq__a { max-height: 0; overflow: hidden; transition: max-height .3s ease; }
.faq__a div { padding: 0 22px 20px; color: var(--green-soft); }
.faq__item.open .faq__a { max-height: 640px; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--cyan); color: #fff; padding: 52px; text-align: center; }
.cta-band h2 { color: #fff; margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.95); max-width: 560px; margin: 0 auto 24px; }
.cta-band .btn--primary { background: #fff; color: var(--cyan); }
.cta-band .btn--primary:hover { background: var(--green); color: #fff; }

/* ---------- Footer (logo left · info right, matches Wix) ---------- */
.site-footer { background: #eef1ee; padding: 40px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.footer-logo { display: inline-flex; flex-direction: column; align-items: flex-start; text-decoration: none; }
.footer-logo .logo__bone { height: 56px; width: auto; }
.footer-logo .logo__mark { height: 48px; width: auto; }
.footer-logo__sub { font-family: var(--font-head); color: var(--green); font-size: 1.05rem; letter-spacing: .04em; margin-top: 4px; padding-left: 6px; }
.footer-info { text-align: right; }
.footer-socials { display: flex; gap: 16px; justify-content: flex-end; margin-bottom: 12px; }
.footer-socials img { width: 26px; height: 26px; display: block; }
.footer-socials a { opacity: .9; }
.footer-socials a:hover { opacity: 1; }
.footer-contact { color: var(--ink); font-size: .98rem; }
.footer-contact a { color: var(--ink); }
.footer-contact a:hover { color: var(--cyan); }
.footer-copy { color: var(--muted); font-size: .85rem; margin-top: 8px; }
@media (max-width: 640px) {
  .footer-row { flex-direction: column; align-items: center; text-align: center; }
  .footer-logo { align-items: center; }
  .footer-info { text-align: center; }
  .footer-socials { justify-content: center; }
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero { background: var(--sage-soft); padding: 64px 0 56px; text-align: center; }
.page-hero p { color: var(--green-soft); max-width: 640px; margin: 12px auto 0; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__grid, .split, .grid--3, .grid--2, .reviews, .info, .footer__grid { grid-template-columns: 1fr; }
  .split--media-right .split__media { order: 0; }
  .hero__artcol { order: 2; }
  .hero__art { min-height: 320px; }
  .topbar { flex-wrap: wrap; gap: 16px; }
  .topbar__cta { order: 3; }
  .navbar {
    position: fixed; inset: 0 0 0 auto; width: min(78vw, 320px);
    background: #fff; z-index: 55; overflow-y: auto;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    padding: 84px 22px 24px; gap: 4px; box-shadow: -10px 0 40px rgba(0,0,0,.18);
    transform: translateX(100%); transition: transform .3s ease;
  }
  .navbar.open { transform: translateX(0); }
  .navbar a { border-bottom: 1px solid var(--line); }
  .navbar a { padding: 12px 14px; }
  .nav__toggle { display: flex; position: absolute; right: 28px; top: 22px; z-index: 60; }
}
@media (max-width: 560px) {
  .section { padding: 54px 0; }
  .cta-band { padding: 38px 22px; }
  .price-table th, .price-table td { padding: 9px 8px; font-size: .82rem; }
  .price-table thead th { font-size: .68rem; letter-spacing: .02em; }
  .price-table caption { font-size: 1.15rem; }
}

/* ---------- Mobile header + hero: compact ---------- */
@media (max-width: 760px) {
  /* static + no backdrop-filter: lets the fixed slide-in menu anchor to the viewport
     (backdrop-filter creates a containing block that breaks fixed children) */
  .site-header { position: static; background: #fff; -webkit-backdrop-filter: none; backdrop-filter: none; }
  .topbar { gap: 10px 14px; padding: 10px 0 8px; }
  .logo__bone { height: 36px; }
  .logo__mark { height: 32px; }
  .logo__tag { font-size: .76rem; margin-top: 1px; }
  .badges { gap: 10px; }
  .badges img { height: 38px; }
  .topbar__cta { order: 3; flex-direction: row; align-items: center; gap: 14px; width: 100%; justify-content: flex-start; }
  .topbar__cta .btn { padding: 10px 20px; font-size: .9rem; }
  .topbar__phone { font-size: .84rem; }
  .nav__toggle { top: 16px; }
  .hero__copy { padding: 34px 22px; }
  .hero__quote { font-size: 1.45rem; margin-bottom: 22px; }
  .btn--lg { padding: 13px 30px; font-size: 1rem; }
  .hero__art { min-height: 250px; }
}
