/* ---------- Brand colors (from the McRae logo): change these to re-theme the site ---------- */
:root {
  --plum: #2a1466;         /* headings, dark accents */
  --plum-deep: #170b3b;    /* top bar, dark sections, footer */
  --violet: #7b1fe0;       /* top of the flames */
  --rose: #b8406e;         /* mid-flame, readable on white */
  --coral: #ee6262;        /* base of the sun (heat) */
  --indigo: #3526af;       /* top of the snowflake (cool) */
  --lavender: #a860d8;     /* snowflake tips */
  --flame: linear-gradient(135deg, #6a18c9 0%, #9a2fb0 50%, #b8406e 100%);
  --flame-hover: linear-gradient(135deg, #5a12b0 0%, #86279a 50%, #a1355f 100%);
  --sunset: linear-gradient(90deg, #7b1fe0, #d0517d, #ee6262);
  --frost: #efecfc;        /* cool tint */
  --ember: #fdeeee;        /* heat tint */
  --ink: #1b1530;
  --muted: #62597a;
  --line: #e6e1f0;
  --bg: #ffffff;
  --tint: #f8f5fd;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(42, 20, 102, 0.10);
  --shadow-lg: 0 20px 50px rgba(42, 20, 102, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1160px, 100% - 32px); margin-inline: auto; }
.container--narrow { width: min(800px, 100% - 32px); }

.skip-link {
  position: absolute; left: -9999px; top: 8px; z-index: 100;
  background: var(--plum); color: #fff; padding: 8px 14px; border-radius: 8px;
}
.skip-link:focus { left: 8px; }

:focus-visible { outline: 3px solid var(--violet); outline-offset: 2px; }

.eyebrow.eyebrow {
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--rose); margin-bottom: .6em;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 12px 22px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .15s, box-shadow .15s;
}
.btn svg { width: 20px; height: 20px; }
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--flame); color: #fff; box-shadow: 0 6px 18px rgba(123, 31, 224, .30); }
.btn--primary:hover { background: var(--flame-hover); }
.btn--ghost { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn--ghost:hover { background: var(--plum); color: #fff; }
.btn--sm { padding: 8px 18px; font-size: .95rem; }
.btn--lg { padding: 15px 28px; font-size: 1.05rem; }
.btn--block { width: 100%; }

/* ---------- Top bar & header ---------- */
.topbar { background: var(--plum-deep); color: #d9cff0; border-bottom: 3px solid transparent; border-image: var(--sunset) 1; font-size: .9rem; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 8px 0; }
.topbar strong { color: #fff; }
.topbar__phone { color: #fff; font-weight: 700; text-decoration: none; white-space: nowrap; }

.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .95); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }

.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.logo__mark { width: 50px; height: auto; flex: none; }
.logo__text { display: flex; flex-direction: column; font-family: "Michroma", "Inter", sans-serif; font-weight: 400; font-size: 1.15rem; letter-spacing: .14em; text-transform: uppercase; line-height: 1.15; color: var(--plum); }
.logo__text small { font-family: "Inter", sans-serif; font-size: .72rem; font-weight: 700; letter-spacing: .2em; color: var(--rose); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text small { color: #f3a0a8; }
.logo--light .logo__mark { background: #fff; border-radius: 14px; padding: 6px; width: 62px; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav a:not(.btn) { text-decoration: none; font-weight: 600; font-size: .95rem; color: var(--ink); }
.nav a:not(.btn):hover { color: var(--rose); }

.nav-toggle {
  display: none; background: none; border: 0; padding: 10px; cursor: pointer;
  flex-direction: column; gap: 5px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--plum); 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; overflow: hidden;
  background:
    radial-gradient(900px 500px at 100% 0%, rgba(123, 31, 224, .16), transparent 60%),
    radial-gradient(700px 500px at 0% 100%, rgba(238, 98, 98, .14), transparent 60%),
    linear-gradient(180deg, var(--tint), #fff);
}
.hero__inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: 56px; align-items: center; padding: 80px 0 90px; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 3.8rem); font-weight: 800; color: var(--plum); }
.hero h1 span { background: var(--sunset); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero__lead { font-size: 1.15rem; color: var(--muted); max-width: 36em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0 24px; }
.hero__badges { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px 22px; }
.hero__badges li { display: flex; align-items: center; gap: 8px; font-weight: 600; font-size: .95rem; color: var(--plum); }
.hero__badges li::before {
  content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--plum); color: #fff; font-size: .75rem;
}

.hero__card { background: #fff; border-radius: 20px; padding: 28px; box-shadow: var(--shadow-lg); }
.hero__card h2 { font-size: 1.3rem; color: var(--plum); }
.quick-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px 0 16px; }
.quick {
  display: flex; flex-direction: column; align-items: flex-start; gap: 10px;
  padding: 16px; border: 1.5px solid var(--line); border-radius: 12px;
  text-decoration: none; font-weight: 700; color: var(--ink);
  transition: border-color .15s, transform .15s, box-shadow .15s;
}
.quick:hover { border-color: var(--rose); transform: translateY(-2px); box-shadow: var(--shadow); }
.quick__icon { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; background: var(--tint); color: var(--violet); }
.quick__icon svg { width: 22px; height: 22px; }
.quick__icon--cool { background: var(--frost); color: var(--indigo); }
.quick__icon--heat { background: var(--ember); color: var(--coral); }
.hero__card-note { font-size: .9rem; color: var(--muted); margin: 0; }

/* ---------- Stats ---------- */
.stats { background: var(--plum); color: #fff; position: relative; }
.stats::before { content: ""; position: absolute; inset: 0 0 auto; height: 3px; background: var(--sunset); }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 34px 0; text-align: center; }
.stats strong { display: block; font-size: 2.1rem; font-weight: 800; line-height: 1.1; background: linear-gradient(90deg, #c9a3f5, #f59a9a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stats span { font-size: .92rem; color: #d9cff0; }

/* ---------- Sections ---------- */
.section { padding: 96px 0; }
.section--tint { background: var(--tint); }
.section--dark { background: var(--plum-deep); color: #fff; }
.section--dark .section__head p:not(.eyebrow) { color: #c8bde3; }
.section--dark .eyebrow { color: #f3a0a8; }
.section__head { text-align: center; max-width: 680px; margin: 0 auto 52px; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.08rem; }

/* Service cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px;
  transition: transform .2s, box-shadow .2s, border-color .2s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin: 0; }
.card__icon {
  display: grid; place-items: center; width: 52px; height: 52px; border-radius: 12px;
  background: var(--tint); color: var(--violet); margin-bottom: 18px;
}
.card__icon svg { width: 26px; height: 26px; }
.card__icon--cool { background: var(--frost); color: var(--indigo); }
.card__icon--heat { background: var(--ember); color: var(--coral); }

/* Why us */
.why { display: grid; grid-template-columns: 1fr 1.1fr; gap: 64px; align-items: center; }
.why__copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.6em; }
.why__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why__list li { position: relative; overflow: hidden; background: #fff; border-radius: var(--radius); padding: 28px 24px 24px; box-shadow: var(--shadow); }
.why__list li::before { content: ""; position: absolute; inset: 0 0 auto; height: 4px; background: var(--sunset); }
.why__list p { color: var(--muted); margin: 0; font-size: .96rem; }

/* About */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: 64px; align-items: center; }
.about__logo { background: #fff; border-radius: 24px; padding: 36px; box-shadow: var(--shadow-lg); }
.about__logo img { width: 100%; height: auto; }
.about p { color: var(--muted); font-size: 1.08rem; }
.about__sig { display: flex; flex-wrap: wrap; gap: 10px 28px; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); }
.about__sig strong { display: block; color: var(--plum); }
.about__sig span { font-size: .9rem; color: var(--muted); }

/* Plans */
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column;
  background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 34px 30px;
}
.plan h3 { font-size: 1.3rem; color: var(--plum); }
.plan__price { color: var(--muted); margin-bottom: 1.2em; }
.plan__price strong { font-size: 2.6rem; font-weight: 800; color: var(--ink); letter-spacing: -0.03em; }
.plan ul { list-style: none; padding: 0; margin: 0 0 28px; flex: 1; }
.plan li { position: relative; padding: 8px 0 8px 28px; border-bottom: 1px solid var(--line); font-size: .96rem; }
.plan li:last-child { border-bottom: 0; }
.plan li::before { content: "✓"; position: absolute; left: 0; top: 8px; color: var(--rose); font-weight: 800; }
.plan--featured { border-color: var(--violet); box-shadow: var(--shadow-lg); transform: scale(1.03); }
.plan__tag {
  position: absolute; top: -14px; left: 50%; transform: translateX(-50%); margin: 0;
  background: var(--flame); color: #fff; font-size: .78rem; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase; padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.review {
  margin: 0; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column;
}
.review__sample {
  align-self: flex-start; margin: 0 0 12px; padding: 2px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .12); font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #d9cff0;
}
.stars { color: #ffb547; font-size: 1.15rem; letter-spacing: 2px; margin-bottom: 12px; }
.review blockquote { margin: 0 0 18px; font-size: 1.02rem; color: #ece6f8; flex: 1; }
.review figcaption { font-weight: 700; color: #c9a3f5; font-size: .92rem; }

/* Service area */
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.area p { color: var(--muted); font-size: 1.08rem; }
.area__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.area__list li {
  display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 10px;
  padding: 12px 16px; font-weight: 600; box-shadow: 0 2px 8px rgba(42, 20, 102, .06);
}
.area__list li::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--sunset); flex: none; }

/* FAQ */
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; padding: 22px 40px 22px 0; position: relative;
  font-weight: 700; font-size: 1.08rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 4px; top: 50%; transform: translateY(-50%);
  font-size: 1.6rem; font-weight: 400; color: var(--rose); transition: transform .2s;
}
.faq details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq details p { color: var(--muted); padding-bottom: 20px; margin: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: 56px; align-items: start; }
.contact__info > p { color: var(--muted); font-size: 1.08rem; }
.contact__list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 18px; }
.contact__list li { display: grid; gap: 2px; }
.contact__label { font-size: .78rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--rose); }
.contact__list a { font-weight: 700; color: var(--plum); text-decoration: none; font-size: 1.1rem; }
.contact__list a:hover { text-decoration: underline; }

.form { background: #fff; border-radius: 20px; padding: 32px; box-shadow: var(--shadow-lg); display: grid; gap: 16px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; }
.form label span { font-weight: 600; font-size: .92rem; }
.form input, .form select, .form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff;
  transition: border-color .15s, box-shadow .15s;
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--plum); box-shadow: 0 0 0 4px rgba(42, 20, 102, .12);
}
.form [aria-invalid="true"] { border-color: #d6353a; }
.form textarea { resize: vertical; }
.form__status { margin: 0; font-weight: 600; min-height: 1.5em; }
.form__status.is-error { color: #c62f33; }
.form__status.is-ok { color: #1e8a4c; }

/* Footer */
.footer { background: var(--plum-deep); color: #c8bde3; padding: 60px 0 0; }
.footer__inner { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 40px; align-items: start; padding-bottom: 40px; }
.footer__fine { margin: 14px 0 0; font-size: .9rem; }
.footer__nav { display: grid; gap: 10px; }
.footer__nav a { text-decoration: none; }
.footer__nav a:hover { color: #fff; }
.footer__cta { display: grid; gap: 4px; justify-items: end; text-align: right; }
.footer__phone { color: #fff; font-size: 1.6rem; font-weight: 800; text-decoration: none; }
.footer__bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 20px 0; font-size: .88rem; }
.footer__bottom p { margin: 0; }

/* Floating call button (phones only) */
.call-fab {
  display: none; position: fixed; right: 16px; bottom: 16px; z-index: 60;
  align-items: center; gap: 8px; padding: 14px 20px; border-radius: 999px;
  background: var(--flame); color: #fff; font-weight: 800; text-decoration: none;
  box-shadow: 0 10px 25px rgba(123, 31, 224, .40);
}
.call-fab svg { width: 20px; height: 20px; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; padding: 60px 0 70px; }
  .cards, .reviews { grid-template-columns: 1fr 1fr; }
  .why, .area, .contact, .about { grid-template-columns: 1fr; gap: 40px; }
  .about__logo { max-width: 420px; }
  .plans { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; }
  .plan--featured { transform: none; }
}

@media (max-width: 860px) {
  .nav-toggle { display: flex; }
  .nav {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    padding: 8px 16px 20px; display: none;
  }
  .nav.is-open { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav .btn { margin-top: 14px; }
  .call-fab { display: inline-flex; }
  .footer { padding-bottom: 70px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .section { padding: 68px 0; }
  .topbar__inner span { display: none; }
  .topbar__inner { justify-content: center; }
  .stats__grid { grid-template-columns: 1fr 1fr; }
  .cards, .reviews, .why__list, .area__list, .form__row { grid-template-columns: 1fr; }
  .hero__actions .btn { width: 100%; }
  .form, .hero__card { padding: 22px; }
  .logo__text { font-size: .95rem; letter-spacing: .1em; }
  .logo__mark { width: 42px; }
  .footer__inner { grid-template-columns: 1fr; }
  .footer__cta { justify-items: start; text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}
