/* ============================================================
   Tamed Tailz — Pet Grooming Salon (Stockbridge, GA)
   Violet / cream palette · playful but clean
   Built by Margam · margam.io
   ============================================================ */
:root {
  --cream: #faf5ff;          /* soft violet-tinted cream page */
  --cream-2: #f3ebfb;        /* deeper lilac-cream section */
  --ink: #2e2440;            /* deep plum ink */
  --muted: #786b8c;          /* soft mauve text */
  --violet: #8b5cf6;         /* primary violet */
  --violet-dark: #7341e6;    /* deeper violet for hovers */
  --plum: #5b2d9e;           /* rich plum accent */
  --gold: #e8a33d;           /* warm amber accent (stars) */
  --deep: #4c2a86;           /* deep violet block */
  --deep-dark: #3d2070;
  --peach: #f8b878;          /* warm accent highlight */
  --line: #ead9f7;           /* lilac hairline */
  --radius: 22px;
  --shadow: 0 26px 50px -28px rgba(46, 36, 64, 0.42);
  --display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --body: "Inter", system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}
* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { font-family: var(--body); color: var(--ink); background: var(--cream); line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section--cream { background: var(--cream-2); }

h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.01em; line-height: 1.1; }
h1 em, h2 em, .brand em { font-style: italic; color: var(--violet); }
.eyebrow { font-family: var(--display); font-style: italic; font-size: 1.05rem; color: var(--violet-dark); margin-bottom: 14px; letter-spacing: .01em; }
.eyebrow--light { color: #d8c4f5; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; font-weight: 600; font-family: var(--body);
  padding: .85em 1.5em; border-radius: 100px; border: 1.5px solid transparent; cursor: pointer; transition: .25s var(--ease); white-space: nowrap; }
.btn--sm { padding: .6em 1.1em; font-size: .92rem; }
.btn--lg { padding: .95em 1.7em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn--solid { background: var(--violet); color: #fff; }
.btn--solid:hover { background: var(--violet-dark); transform: translateY(-2px); box-shadow: 0 12px 26px -10px rgba(139, 92, 246, .65); }
.btn--ghost { border-color: var(--line); color: var(--ink); background: rgba(255,255,255,.6); }
.btn--ghost:hover { border-color: var(--violet); color: var(--violet-dark); transform: translateY(-2px); }

/* brand / nav */
.brand { font-family: var(--display); font-weight: 700; font-size: 1.45rem; letter-spacing: .01em; display: inline-flex; align-items: center; gap: .4em; }
.brand .paw { font-style: normal; }
.brand--light { color: var(--cream); font-size: 1.7rem; }
.nav { position: sticky; top: 0; z-index: 50; background: rgba(250,245,255,.88); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav__in { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.nav__links { display: flex; gap: 30px; font-weight: 500; }
.nav__links a { color: var(--ink); position: relative; }
.nav__links a:hover { color: var(--violet-dark); }
@media (max-width: 760px) { .nav__links { display: none; } }

/* hero */
.hero { padding: clamp(40px, 6vw, 70px) 0 clamp(30px, 5vw, 50px); }
.hero__in { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(30px, 5vw, 64px); align-items: center; }
.hero h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); margin-bottom: 22px; }
.rating { display: inline-flex; align-items: center; gap: 8px; background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 7px 16px; font-size: .95rem; margin-bottom: 20px; box-shadow: var(--shadow); }
.stars { color: var(--gold); letter-spacing: 1px; }
.lede { font-size: 1.14rem; color: var(--muted); max-width: 46ch; margin-bottom: 30px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__art { position: relative; }
.hero__art img { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: center; border-radius: 180px 180px var(--radius) var(--radius); box-shadow: var(--shadow); }
.hero__badge { position: absolute; bottom: 18px; left: -14px; background: var(--violet); color: #fff; font-family: var(--display);
  font-style: italic; font-size: 1.05rem; line-height: 1.1; text-align: center; padding: 16px 20px; border-radius: 50%;
  width: 116px; height: 116px; display: grid; place-items: center; box-shadow: var(--shadow); transform: rotate(-8deg); }
@media (max-width: 760px) { .hero__in { grid-template-columns: 1fr; } .hero__art { max-width: 380px; margin: 0 auto; } }

/* ribbon */
.ribbon { background: var(--deep); color: #fff; overflow: hidden; padding: 13px 0; }
.ribbon__track { display: flex; align-items: center; gap: 26px; width: max-content; white-space: nowrap;
  font-family: var(--display); font-style: italic; font-size: 1.25rem; animation: scroll 38s linear infinite; }
.ribbon i { color: var(--peach); font-style: normal; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* section heads */
.head { text-align: center; max-width: 640px; margin: 0 auto clamp(36px, 5vw, 56px); }
.head h2 { font-size: clamp(2rem, 4.5vw, 3rem); }
.head__sub { color: var(--muted); margin-top: 10px; }

/* gallery (masonry) — 3 columns reads full with ~6 images */
.masonry { column-count: 3; column-gap: 16px; }
.tile { display: block; width: 100%; border: 0; padding: 0; margin: 0 0 16px; background: none; cursor: pointer;
  border-radius: 16px; overflow: hidden; break-inside: avoid; box-shadow: var(--shadow); }
.tile img { width: 100%; transition: transform .5s var(--ease); }
.tile:hover img { transform: scale(1.06); }
@media (max-width: 900px) { .masonry { column-count: 2; } }
@media (max-width: 540px) { .masonry { column-count: 1; column-gap: 12px; } .tile { margin-bottom: 12px; } }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.about__art img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.about__copy h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 16px; }
.about__copy p { color: var(--muted); margin-bottom: 14px; }
.link { color: var(--violet-dark); font-weight: 600; border-bottom: 1.5px solid currentColor; padding-bottom: 1px; }
.link:hover { color: var(--violet); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__art { max-width: 360px; } }

/* cards */
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 24px; transition: .3s var(--ease); }
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card__emoji { font-size: 1.6rem; display: block; margin-bottom: 6px; }
.card h3 { font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: .96rem; }
.card__price { display: block; margin-top: 12px; font-family: var(--display); font-style: italic; color: var(--plum); font-size: .92rem; }
@media (max-width: 860px) { .cards { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .cards { grid-template-columns: 1fr; } }

/* reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.review { margin: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.review__stars { color: var(--gold); letter-spacing: 2px; }
.review blockquote { margin: 0; font-size: 1.04rem; line-height: 1.6; }
.review figcaption { color: var(--ink); font-weight: 600; font-size: .92rem; margin-top: auto; }
.review figcaption span { color: var(--muted); font-weight: 400; }
.reviews__cta { text-align: center; margin-top: clamp(26px, 4vw, 40px); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; } }

/* book / appointment (deep violet) */
.section--violet { background: linear-gradient(160deg, var(--deep), var(--deep-dark)); color: #fff; }
.order { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 70px); align-items: center; }
.order h2 { font-size: clamp(2rem, 4.5vw, 3rem); margin-bottom: 26px; }
.steps { list-style: none; padding: 0; display: grid; gap: 16px; }
.steps li { display: flex; gap: 14px; align-items: flex-start; font-size: 1.05rem; }
.steps span { flex-shrink: 0; width: 32px; height: 32px; border-radius: 50%; background: rgba(255,255,255,.2);
  display: grid; place-items: center; font-family: var(--display); font-weight: 600; }
.order__call { margin-top: 26px; color: #d8c4f5; }
.order__call a { color: #fff; border-bottom: 1px solid; }
.order__form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow); }
.field { margin-bottom: 16px; }
.field label { display: block; font-weight: 600; font-size: .9rem; margin-bottom: 7px; }
.field input, .field textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px;
  font-family: var(--body); font-size: 1rem; background: var(--cream); color: var(--ink); resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 3px rgba(139,92,246,.2); }
.form__note { margin-top: 14px; text-align: center; font-weight: 600; min-height: 1.2em; }
.form__note.ok { color: var(--plum); }
@media (max-width: 760px) { .order { grid-template-columns: 1fr; } }

/* visit */
.visit { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 5vw, 60px); align-items: center; }
.visit h2 { font-size: clamp(1.9rem, 4vw, 2.7rem); margin-bottom: 24px; }
.info { padding: 14px 0; border-bottom: 1px solid var(--line); display: flex; gap: 18px; }
.info b { min-width: 88px; font-family: var(--display); }
.info a:hover { color: var(--violet-dark); }
.info--hours { align-items: flex-start; }
.info--hours span { color: var(--muted); }
.visit__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.visit__map { aspect-ratio: 4/3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); }
.visit__map iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 760px) { .visit { grid-template-columns: 1fr; } }

/* footer */
.footer { background: var(--ink); color: var(--cream); text-align: center; padding: 48px 0; }
.footer__in p { margin-top: 10px; color: #cdbfe2; }
.footer__in a { color: var(--cream); border-bottom: 1px solid rgba(255,255,255,.3); }
.footer__by { font-size: .9rem; margin-top: 18px; }

/* lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(28,20,42,.93); display: grid; place-items: center; padding: 30px; cursor: zoom-out; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 90vh; border-radius: 14px; box-shadow: 0 30px 80px rgba(0,0,0,.6); }

/* reveals */
.js .section .head, .js .about, .js .cards, .js .reviews, .js .order, .js .visit, .js .masonry { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .in { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .js [class] { opacity: 1 !important; transform: none !important; }
}
