/* ===========================================================
   Advocate for Action - styles
   =========================================================== */

:root {
  --magenta: #e95095;
  --purple: #a870b8;
  --purple-deep: #7049ba;
  --plum: #755280;
  --blue: #0f8bd0;
  --teal: #0eb4ac;
  --orange: #ef7428;
  --dark: #1a1a1a;
  --grey: #555a60;
  --light: #f5f5f5;
  --light-2: #f8f3fb;
  --white: #ffffff;

  --maxw: 1140px;
  --radius: 14px;
  --shadow: 0 14px 40px rgba(26, 26, 26, 0.10);
  --shadow-sm: 0 6px 18px rgba(26, 26, 26, 0.08);
  --grad: linear-gradient(120deg, var(--magenta) 0%, var(--purple-deep) 100%);
  --grad-cool: linear-gradient(120deg, var(--blue) 0%, var(--teal) 100%);

  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.7;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  line-height: 1.2;
  margin: 0 0 .5em;
  font-weight: 700;
  color: var(--dark);
}

h1 { font-size: clamp(2.1rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.7rem); }
h4 { font-size: 1.2rem; }

p { margin: 0 0 1.1em; }

a { color: var(--purple-deep); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--magenta); }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 22px;
}

.section { padding: 72px 0; }
.section--tight { padding: 48px 0; }
.section--light { background: var(--light); }
.section--plum { background: var(--light-2); }

.text-center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--grey); }
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--magenta);
  margin-bottom: .6em;
}

.gradient-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 14px 30px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
  text-align: center;
}
.btn--primary {
  background: var(--grad);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(233, 80, 149, .35);
}
.btn--primary:hover { color: var(--white); transform: translateY(-2px); box-shadow: 0 14px 30px rgba(233, 80, 149, .45); }
.btn--outline {
  background: transparent;
  color: var(--purple-deep);
  border-color: var(--purple-deep);
}
.btn--outline:hover { background: var(--purple-deep); color: var(--white); }
.btn--white { background: var(--white); color: var(--purple-deep); }
.btn--white:hover { color: var(--magenta); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #ececec;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 12px 22px;
  max-width: var(--maxw);
  margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 56px; width: auto; }
.brand__name { font-weight: 700; font-size: 1.05rem; line-height: 1.1; color: var(--dark); }
.brand__name span { display: block; font-weight: 400; font-size: .72rem; color: var(--grey); letter-spacing: .03em; }

.nav { display: flex; align-items: center; gap: 6px; }
.nav a {
  color: var(--dark);
  font-weight: 500;
  font-size: .97rem;
  padding: 9px 14px;
  border-radius: 999px;
}
.nav a:hover { color: var(--magenta); background: var(--light); }
.nav a.is-active { color: var(--magenta); }
.nav .btn { padding: 10px 22px; color: var(--white); }
.nav .btn:hover { color: var(--white); background-image: var(--grad); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  width: 44px; height: 44px;
  padding: 10px;
}
.nav-toggle span {
  display: block;
  height: 3px;
  background: var(--dark);
  border-radius: 3px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle span + span { margin-top: 5px; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: var(--white);
  background: var(--grad);
  overflow: hidden;
}
.hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  opacity: .18;
}
.hero__content {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
  padding: 84px 0;
}
.hero h1 { color: var(--white); }
.hero p { color: rgba(255, 255, 255, .95); }
.hero__tagline { font-size: 1.3rem; font-weight: 500; margin-bottom: 1.2em; }
.hero__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 1.5em;
  justify-content: center;
}

/* Page banner (interior pages) */
.page-banner {
  background: var(--grad);
  color: var(--white);
  text-align: center;
  padding: 50px 0 40px;
}
.page-banner h1 { color: var(--white); margin-bottom: .2em; }
.page-banner p { color: rgba(255,255,255,.92); margin: 0; font-size: 1.15rem; }

/* ---------- Cards / grids ---------- */
.grid { display: grid; gap: 26px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 30px;
  border: 1px solid #f0f0f0;
}
.card--accent { border-top: 5px solid var(--magenta); }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.split.split--top,
.split.split--top > * {
  align-items: start;
  align-self: start;
}

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 36px;
  align-items: center;
  justify-content: center;
}
.badge-row img { max-height: 170px; width: auto; }

.intro-photo {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.quote-intro {
  font-size: 1.25rem;
  font-style: italic;
  color: var(--grey);
}
.signature { font-weight: 600; color: var(--purple-deep); font-style: normal; }

/* ---------- Tabs ---------- */
.tabs { margin-top: 24px; }
.tab-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 30px;
}
.tab-btn {
  border: 2px solid #e3d9ec;
  background: var(--white);
  color: var(--purple-deep);
  font-family: var(--font);
  font-weight: 600;
  font-size: .95rem;
  padding: 10px 22px;
  border-radius: 999px;
  cursor: pointer;
  transition: all .2s ease;
}
.tab-btn:hover { border-color: var(--purple); }
.tab-btn.is-active { background: var(--grad); color: var(--white); border-color: transparent; }
.tab-panel { display: none; animation: fade .3s ease; }
.tab-panel.is-active { display: block; }
@keyframes fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Lists ---------- */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  position: relative;
  padding-left: 32px;
  margin-bottom: 12px;
}
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--grad);
}

/* ---------- Testimonials (3-column masonry-style cards) ---------- */
.reviews {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}
.reviews__col {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.review {
  background: var(--white);
  border: 1px solid #ececec;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 22px 24px;
}
.review__head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.review__avatar {
  flex: 0 0 auto;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: #6c5ce7;
  color: #fff;
  font-weight: 600;
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.review__name { font-weight: 600; font-size: 1rem; color: var(--dark); }
.review__stars { color: #f5b301; font-size: 1.1rem; letter-spacing: 2px; margin-bottom: 10px; }
.review__text { color: var(--grey); font-size: .97rem; margin: 0; }
.review__text.is-clamped {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review__more {
  background: none;
  border: 0;
  padding: 0;
  margin-top: 6px;
  color: var(--dark);
  font-family: var(--font);
  font-size: .95rem;
  text-decoration: underline;
  cursor: pointer;
}
.review__more:hover { color: var(--magenta); }
.review__date { display: block; margin-top: 14px; font-size: .85rem; color: #9aa0a6; }

/* ---------- Pricing / packages ---------- */
.price-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.package { background: var(--grad); color: var(--white); border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.package h3 { color: var(--white); }
.package .check-list li { color: var(--white); }
.package .check-list li::before { background: var(--white); }
.note { font-size: .92rem; color: var(--grey); font-style: italic; }

/* ---------- CTA ---------- */
.cta {
  background: var(--grad-cool);
  color: var(--white);
  border-radius: 22px;
  padding: 54px;
  text-align: center;
  box-shadow: var(--shadow);
}
.cta h2 { color: var(--white); }
.cta p { color: rgba(255,255,255,.95); }

/* ---------- Forms ---------- */
.form { display: grid; gap: 18px; max-width: 640px; margin: 0 auto; text-align: left; }
.form--on-color label { color: var(--white); }
.form-row { display: grid; gap: 18px; grid-template-columns: 1fr 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-weight: 600; font-size: .92rem; }
.field .req { color: var(--magenta); }
.field input, .field select, .field textarea {
  font-family: var(--font);
  font-size: 1rem;
  padding: 13px 15px;
  border: 1px solid #d8d8d8;
  border-radius: 10px;
  background: var(--white);
  color: var(--dark);
  width: 100%;
}
.field textarea { min-height: 130px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--purple);
  box-shadow: 0 0 0 3px rgba(168, 112, 184, .2);
}
.hp { position: absolute; left: -9999px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.8);
  padding: 56px 0 26px;
  font-size: .95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 36px;
}
.site-footer img { height: 64px; margin-bottom: 16px; }
.site-footer h4 { color: var(--white); font-size: 1rem; margin-bottom: 14px; letter-spacing: .04em; text-transform: uppercase; }
.site-footer a { color: rgba(255,255,255,.8); }
.site-footer a:hover { color: var(--magenta); }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.15);
  padding-top: 22px;
  text-align: center;
  font-size: .88rem;
  color: rgba(255,255,255,.6);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid #ececec;
    padding: 14px 22px 22px;
    gap: 4px;
    box-shadow: var(--shadow-sm);
    display: none;
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 12px 14px; }
  .nav .btn { margin-top: 6px; }

  .hero__content { padding: 60px 0; }

  .split { grid-template-columns: 1fr; gap: 30px; }
  .grid--2, .grid--3, .price-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .form-row { grid-template-columns: 1fr; }
  .cta { padding: 38px 24px; }

  .page-banner { padding: 30px 0 20px; }
  .reviews { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .reviews { grid-template-columns: 1fr; }
}
