/* ============================================================
   Premium demo stylesheet — shared across all agency demos.
   Theme (accent colors + hero image) is set per-page via
   CSS variables in an inline <style> block and the hero markup.
   ============================================================ */

:root {
  /* Defaults — overridden per site */
  --accent: #1f5c3d;
  --accent-dark: #164329;
  --accent-soft: #eaf2ec;

  --ink: #14181d;
  --body: #4c5561;
  --muted: #7a828d;
  --bg: #ffffff;
  --bg-alt: #f7f6f2;
  --line: #e7e5df;
  --star: #f5a623;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(18,21,26,.06), 0 2px 8px rgba(18,21,26,.05);
  --shadow-md: 0 6px 20px rgba(18,21,26,.08), 0 2px 6px rgba(18,21,26,.05);
  --shadow-lg: 0 18px 50px rgba(18,21,26,.14);
  --container: 1140px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: "Sora", "Inter", sans-serif;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 700;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

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

.eyebrow {
  display: inline-block;
  font-family: "Sora", sans-serif;
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  line-height: 1;
}
.btn svg { width: 19px; height: 19px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 8px 20px -6px color-mix(in srgb, var(--accent) 55%, transparent);
}
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); box-shadow: 0 14px 26px -8px color-mix(in srgb, var(--accent) 60%, transparent); }
.btn-ghost {
  background: rgba(255,255,255,.12);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.5);
  backdrop-filter: blur(4px);
}
.btn-ghost:hover { background: rgba(255,255,255,.22); transform: translateY(-2px); }
.btn-lg { padding: 17px 34px; font-size: 1.08rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.86);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--accent);
  display: grid; place-items: center;
  color: #fff;
  flex-shrink: 0;
}
.brand-mark svg { width: 21px; height: 21px; }
.brand-name {
  font-family: "Sora", sans-serif;
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--ink);
  letter-spacing: -.02em;
  line-height: 1.05;
}
.brand-tag { font-size: .74rem; color: var(--muted); font-weight: 500; }
.header-cta { display: flex; align-items: center; gap: 18px; }
.header-phone {
  font-family: "Sora", sans-serif;
  font-weight: 600;
  color: var(--ink);
  font-size: 1.02rem;
  display: flex; align-items: center; gap: 7px;
}
.header-phone svg { width: 17px; height: 17px; color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  color: #fff;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.03);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background:
    linear-gradient(105deg, rgba(10,14,18,.86) 0%, rgba(10,14,18,.62) 45%, rgba(10,14,18,.30) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  padding: 104px 0 108px;
  max-width: 680px;
}
.hero .rating-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.22);
  padding: 8px 15px;
  border-radius: 100px;
  font-size: .9rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.stars { color: var(--star); letter-spacing: 1px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin-bottom: 20px;
}
.hero p.lead {
  font-size: 1.2rem;
  color: rgba(255,255,255,.9);
  max-width: 560px;
  margin-bottom: 34px;
  line-height: 1.5;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-badges {
  display: flex;
  gap: 26px;
  margin-top: 44px;
  flex-wrap: wrap;
}
.hero-badge { display: flex; align-items: center; gap: 9px; font-size: .92rem; color: rgba(255,255,255,.88); font-weight: 500; }
.hero-badge svg { width: 20px; height: 20px; color: #fff; opacity: .85; }

/* ---------- Trust strip ---------- */
.trust-strip { background: var(--ink); color: rgba(255,255,255,.85); }
.trust-strip .container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px 40px;
  padding-top: 20px;
  padding-bottom: 20px;
}
.trust-item { display: flex; align-items: center; gap: 10px; font-size: .95rem; font-weight: 500; }
.trust-item svg { width: 20px; height: 20px; color: var(--accent); flex-shrink: 0; }
.trust-item b { color: #fff; font-family: "Sora", sans-serif; }

/* ---------- Section base ---------- */
section { padding: 92px 0; }
.section-head { max-width: 640px; margin-bottom: 52px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 16px; }
.section-head p { font-size: 1.1rem; color: var(--body); }

/* ---------- Services ---------- */
.services { background: var(--bg-alt); }
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: color-mix(in srgb, var(--accent) 35%, var(--line)); }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 13px;
  background: var(--accent-soft);
  display: grid; place-items: center;
  margin-bottom: 20px;
}
.service-icon svg { width: 26px; height: 26px; color: var(--accent); }
.service-card h3 { font-size: 1.22rem; margin-bottom: 9px; }
.service-card p { font-size: .98rem; color: var(--body); }

/* ---------- Feature split ---------- */
.feature .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.feature-media img { width: 100%; height: 100%; object-fit: cover; }
.feature h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 18px; }
.check-list { list-style: none; margin-top: 22px; display: grid; gap: 14px; }
.check-list li { display: flex; align-items: flex-start; gap: 12px; font-size: 1.02rem; color: var(--ink); font-weight: 500; }
.check-list svg { width: 22px; height: 22px; color: var(--accent); flex-shrink: 0; margin-top: 1px; }

/* ---------- Stats ---------- */
.stats { background: var(--accent); color: #fff; }
.stats .container { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat .num { font-family: "Sora", sans-serif; font-size: 2.6rem; font-weight: 700; line-height: 1; letter-spacing: -.03em; }
.stat .label { font-size: .95rem; color: rgba(255,255,255,.85); margin-top: 8px; }

/* ---------- Testimonials ---------- */
.testimonials { background: var(--bg-alt); }
.testi-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.testi-card .stars { font-size: 1.05rem; margin-bottom: 14px; }
.testi-card blockquote { font-size: 1.02rem; color: var(--ink); line-height: 1.55; font-style: normal; flex: 1; }
.testi-card .who { margin-top: 18px; font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- Claim CTA ---------- */
.claim {
  background: radial-gradient(120% 140% at 15% 0%, var(--accent-dark) 0%, var(--ink) 60%);
  color: #fff;
  text-align: center;
}
.claim h2 { color: #fff; font-size: clamp(1.9rem, 3.6vw, 2.6rem); margin-bottom: 16px; }
.claim p { font-size: 1.12rem; color: rgba(255,255,255,.86); max-width: 540px; margin: 0 auto 10px; }
.claim .price {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  font-family: "Sora", sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  color: #fff;
  margin: 20px auto 30px;
  padding: 12px 22px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 100px;
  background: rgba(255,255,255,.06);
}
.claim .price .dot { opacity: .4; }
.claim .fineprint { font-size: .9rem; color: rgba(255,255,255,.6); margin-top: 20px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.7); padding: 40px 0; }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; }
.footer-inner .brand-name { color: #fff; }
.footer-meta { font-size: .9rem; text-align: right; }
.footer-meta a { color: rgba(255,255,255,.85); font-weight: 600; }

/* ---------- Responsive ---------- */
@media (max-width: 940px) {
  .service-grid, .testi-grid { grid-template-columns: 1fr 1fr; }
  .stats .container { grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
  .feature .container { grid-template-columns: 1fr; gap: 34px; }
  .feature-media { order: -1; }
}
@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 64px 0; }
  .header-phone span { display: none; }
  .brand-tag { display: none; }
  .service-grid, .testi-grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 72px 0 76px; }
  .hero p.lead { font-size: 1.08rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; }
  .trust-strip .container { justify-content: flex-start; gap: 12px 28px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-meta { text-align: center; }
}
