/* ==========================================================================
   OnlineBaat — static site stylesheet
   One file, no build step, no framework. Edit colours in :root below.
   ========================================================================== */

:root {
  --ink:        #150b28;
  --ink-2:      #23123f;
  --violet:     #6c2bd9;
  --violet-lt:  #8b5cf6;
  --coral:      #ff5c8a;
  --lilac:      #cbbaf5;
  --paper:      #ffffff;
  --mist:       #f7f4fd;
  --line:       #e7e0f5;
  --body:       #4b4260;
  --heading:    #1c1030;

  --wrap: 1140px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 18px 44px rgba(30, 12, 62, 0.12);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.72;
  color: var(--body);
  background: var(--paper);
}

img { max-width: 100%; display: block; height: auto; }

a { color: var(--violet); text-decoration: none; }
a:hover { color: var(--coral); text-decoration: underline; }

h1, h2, h3, h4 {
  color: var(--heading);
  font-weight: 700;
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); }
h3 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; max-width: 70ch; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute; left: -9999px;
  background: var(--ink); color: #fff; padding: 12px 20px; z-index: 200;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ---------- Header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 18px; min-height: 76px;
}
.logo img { max-height: 44px; width: auto; }
.logo:hover { text-decoration: none; }

.header-right { display: flex; align-items: center; gap: 14px; }

.nav-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 9px 12px; cursor: pointer;
  color: var(--heading); font: inherit; font-size: 0.95rem;
}

.nav { margin-left: auto; }

.nav ul {
  display: flex; align-items: center; gap: 28px;
  list-style: none; margin: 0; padding: 0;
}
.nav a {
  color: var(--heading); font-weight: 500; font-size: 0.97rem;
  padding: 6px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--violet); text-decoration: none; border-bottom-color: var(--violet); }
.nav a[aria-current="page"] { color: var(--violet); border-bottom-color: var(--violet); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-block;
  background: var(--violet); color: #fff; font-weight: 600;
  padding: 14px 30px; border: 0; border-radius: 999px;
  cursor: pointer; font-size: 1rem; font-family: inherit;
  text-align: center;
}
.btn:hover { background: var(--violet-lt); color: #fff; text-decoration: none; }

.btn-coral { background: var(--coral); }
.btn-coral:hover { background: #ff789e; }

.btn-outline {
  background: transparent; color: #fff;
  border: 2px solid rgba(255,255,255,.55); padding: 12px 28px;
}
.btn-outline:hover { background: rgba(255,255,255,.14); color: #fff; }

.btn-sm { padding: 10px 20px; font-size: 0.92rem; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Hero ---------- */

.hero {
  position: relative;
  color: #fff;
  padding: clamp(56px, 8vw, 92px) 0 0;
  background:
    radial-gradient(900px 560px at 15% 0%, #52219e 0%, rgba(82,33,158,0) 60%),
    radial-gradient(700px 480px at 92% 18%, #a52a72 0%, rgba(165,42,114,0) 62%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
.hero h1 { color: #fff; margin-bottom: 4px; }
.hero .tag {
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 500; color: var(--lilac); margin-bottom: 22px;
}
.hero .claim {
  font-size: clamp(1.02rem, 2vw, 1.2rem);
  font-weight: 600; color: #fff; max-width: 30ch; margin-bottom: 30px;
}
.hero-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.hero-copy { padding-bottom: clamp(48px, 7vw, 80px); }

.phones {
  display: flex; justify-content: center; align-items: flex-end; gap: 14px;
}
.phones img {
  width: 32%; max-width: 210px;
  border-radius: 20px;
  border: 5px solid rgba(255,255,255,.16);
  box-shadow: 0 26px 50px rgba(0,0,0,.42);
}
.phones img:nth-child(2) { margin-bottom: 26px; }

/* ---------- Page header (inner pages) ---------- */

.page-head {
  background: linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
  color: #fff; text-align: center;
  padding: clamp(56px, 8vw, 88px) 0;
}
.page-head h1 { color: #fff; margin-bottom: 6px; }
.page-head p { color: var(--lilac); margin: 0 auto; max-width: 55ch; }

/* ---------- Sections ---------- */

section { padding: clamp(54px, 7.5vw, 86px) 0; }
.section-mist { background: var(--mist); }
.section-dark { background: var(--ink); color: #d7cdeb; }
.section-dark h2, .section-dark h3 { color: #fff; }

.lede {
  font-size: clamp(1.25rem, 2.8vw, 1.85rem);
  font-weight: 600; color: var(--heading);
  max-width: 24ch; line-height: 1.3; letter-spacing: -0.02em;
}
.center { text-align: center; }
.center .lede, .center p { margin-left: auto; margin-right: auto; }

/* ---------- Stats ---------- */

.stats {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px; margin-top: 44px;
}
.stat { text-align: center; }
.stat .num {
  display: block;
  font-size: clamp(2rem, 4.4vw, 2.9rem);
  font-weight: 700; line-height: 1.1;
  color: var(--coral);
  letter-spacing: -0.03em;
}
.stat .label {
  font-size: 0.86rem; font-weight: 600;
  letter-spacing: 0.06em; color: var(--lilac);
}

/* ---------- Reviews ---------- */

.reviews {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 26px; margin-top: 34px;
}
.review {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: 0 8px 22px rgba(30,12,62,.05);
  display: flex; flex-direction: column;
}
.review p { font-size: 0.99rem; margin-bottom: 20px; }
.review .who { display: flex; align-items: center; gap: 13px; margin-top: auto; }
.review .who img {
  width: 52px; height: 52px; border-radius: 50%;
  object-fit: cover; flex: none;
  border: 2px solid var(--line);
}
.review .who span { font-weight: 600; color: var(--heading); }
.stars { color: var(--coral); letter-spacing: 2px; margin-bottom: 10px; font-size: 0.95rem; }

/* ---------- Prose (policy pages) ---------- */

.prose { max-width: 78ch; }
.prose h2 { font-size: 1.45rem; margin: 2em 0 .6em; }
.prose h3 { font-size: 1.1rem; margin: 1.8em 0 .5em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .7em; max-width: 78ch; }
.prose li ul { margin-top: .7em; }
.prose .caps { font-weight: 600; color: var(--heading); }

/* ---------- Contact ---------- */

.contact-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(30px, 5vw, 56px); align-items: center;
}
.contact-grid img { border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.detail { margin-bottom: 22px; }
.detail h3 { font-size: 0.92rem; letter-spacing: .04em; color: var(--violet); margin-bottom: 2px; }
.detail p { margin: 0; font-size: 1.05rem; color: var(--heading); }

/* ---------- CTA band ---------- */

.cta-band {
  background: linear-gradient(120deg, var(--violet) 0%, var(--coral) 100%);
  color: #fff; text-align: center;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.9); margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; margin-top: 26px; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: #a396c2; padding: 54px 0 32px; }
.site-footer img { max-height: 42px; width: auto; margin-bottom: 14px; }
.site-footer a { color: #ded4f5; }
.site-footer a:hover { color: #fff; }
.footer-top {
  display: flex; flex-wrap: wrap; gap: 30px;
  justify-content: space-between; align-items: flex-start;
  padding-bottom: 26px; border-bottom: 1px solid rgba(255,255,255,.12);
}
.footer-links { display: flex; flex-wrap: wrap; gap: 22px; list-style: none; margin: 0; padding: 0; }
.footer-bottom {
  padding-top: 22px; font-size: .9rem;
  display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center;
}

/* ---------- Responsive ---------- */

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy { padding-bottom: 8px; }
  .phones { padding-bottom: 44px; }
  .contact-grid { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }

  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 18px; }
  .nav a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); }
  .nav a:hover { border-bottom-color: var(--line); }
  .site-header .wrap { position: relative; }
  .header-right .btn { display: none; }
}

@media (max-width: 560px) {
  .stats { grid-template-columns: 1fr; gap: 30px; }
  .btn-row .btn { width: 100%; }
}

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