/* =========================================================
   CommuniCopy: shared stylesheet
   Bold & confident brand system. Variables live at the top;
   change them here to re-theme the whole site.
   ========================================================= */

:root {
  /* Brand colours */
  --color-ink: #101014;
  --color-muted: #63636d;
  --color-bg: #ffffff;
  --color-bg-alt: #f5f4f1;
  --color-dark: #0b0b12;
  --color-dark-text: #f5f4f1;
  --color-primary: #ff4e1f;      /* CTAs, links, accents */
  --color-primary-dark: #e03d10; /* hover / active */
  --color-accent: #3b2eff;       /* secondary accent: badges, highlights */
  --color-border: #e6e4e0;
  --color-border-dark: #26262f;

  /* Type */
  --font-display: "Space Grotesk", "Arial Black", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Spacing / shape */
  --radius: 14px;
  --radius-sm: 8px;
  --container: 1160px;
  --section-pad: clamp(56px, 8vw, 112px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--color-ink);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
section { padding: var(--section-pad) 0; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.1;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.15rem; font-weight: 700; }
p { margin: 0 0 1em; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.lede { font-size: 1.15rem; color: var(--color-muted); max-width: 640px; }
.muted { color: var(--color-muted); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
  padding: 14px 26px;
  border-radius: 999px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--color-primary); color: #fff; }
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-outline { background: transparent; color: var(--color-ink); border-color: var(--color-border); }
.btn-outline:hover { border-color: var(--color-ink); }
.btn-on-dark { background: #fff; color: var(--color-dark); }
.btn-on-dark:hover { background: var(--color-primary); color: #fff; }
.btn-ghost-on-dark { background: transparent; color: var(--color-dark-text); border-color: rgba(245,244,241,0.35); }
.btn-ghost-on-dark:hover { border-color: #fff; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.3rem;
  text-decoration: none;
  color: var(--color-ink);
  letter-spacing: -0.01em;
}
.brand span { color: var(--color-primary); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-ink);
}
.nav-links a:hover { color: var(--color-primary); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
  transition: transform .2s ease, opacity .2s ease;
}

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--color-border);
    display: none;
    gap: 18px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta .btn-outline { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--color-dark);
  color: var(--color-dark-text);
  padding: clamp(72px, 10vw, 130px) 0 var(--section-pad);
}
.hero .eyebrow { color: var(--color-primary); }
.hero h1 { color: #fff; max-width: 820px; }
.hero .lede { color: rgba(245,244,241,0.78); }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 28px; }
.hero-stats {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 56px;
  padding-top: 32px;
  border-top: 1px solid rgba(245,244,241,0.16);
}
.hero-stat .stat-num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
}
.hero-stat .stat-label { font-size: 0.85rem; color: rgba(245,244,241,0.65); }

/* ---------- Hero with visual (image/illustration) ---------- */
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
}
.hero h1, .hero .lede, .hero .hero-actions { max-width: none; }
.hero-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: rgba(245,244,241,0.04);
  border: 1px solid rgba(245,244,241,0.12);
  aspect-ratio: 4 / 3;
}
.hero-visual img { width: 100%; height: 100%; display: block; }
.hero-visual figcaption {
  font-size: 0.72rem;
  color: rgba(245,244,241,0.45);
  padding: 8px 14px;
  border-top: 1px solid rgba(245,244,241,0.1);
}

.feature-split {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}
.feature-split.reverse .support-visual { order: -1; }
@media (max-width: 860px) {
  .feature-split { grid-template-columns: 1fr; }
  .feature-split .support-visual { order: -1; }
}

/* ---------- Generic supporting image slot (light sections) ---------- */
.support-visual {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  aspect-ratio: 4 / 3;
}
.support-visual img { width: 100%; height: 100%; display: block; }
.support-visual figcaption {
  font-size: 0.72rem;
  color: var(--color-muted);
  padding: 8px 14px;
  border-top: 1px solid var(--color-border);
}

/* ---------- Section variants ---------- */
.section-alt { background: var(--color-bg-alt); }
.section-dark { background: var(--color-dark); color: var(--color-dark-text); }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .muted { color: rgba(245,244,241,0.65); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

/* ---------- Grids / Cards ---------- */
.grid { display: grid; gap: 28px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) {
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
}
.card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 32px;
}
.card-dark {
  background: #17171f;
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius);
  padding: 32px;
  color: var(--color-dark-text);
}
.icon-badge {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: rgba(255,78,31,0.12);
  color: var(--color-primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 700;
  margin-bottom: 18px;
}

/* ---------- Pricing ---------- */
.price-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
}
.price-card.popular {
  border-color: var(--color-primary);
  box-shadow: 0 12px 32px rgba(255,78,31,0.14);
}
.price-badge {
  position: absolute;
  top: -14px; left: 32px;
  background: var(--color-primary);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
}
.price-tier-name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.price-amount { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; margin: 8px 0 4px; }
.price-amount small { font-family: var(--font-body); font-size: 0.95rem; font-weight: 500; color: var(--color-muted); }
.price-tag { color: var(--color-muted); font-size: 0.92rem; margin-bottom: 20px; }
.price-features { list-style: none; margin: 0 0 28px; padding: 0; flex-grow: 1; }
.price-features li {
  padding: 9px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.94rem;
  display: flex;
  gap: 10px;
}
.price-features li:first-child { border-top: none; }
.price-features li::before { content: "✓"; color: var(--color-primary); font-weight: 700; flex-shrink: 0; }

.price-extra-note { text-align: center; font-size: 0.82rem; color: var(--color-muted); margin: 10px 0 0; }
.pricing-offer-banner {
  display: inline-block;
  background: rgba(59,46,255,0.1);
  color: var(--color-accent);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 10px 20px;
  border-radius: 999px;
  margin: 4px 0 32px;
}

/* ---------- Process steps ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; }
.step-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-primary);
  margin-bottom: 10px;
}
.step-num::before { content: "0" counter(step) "."; }

/* ---------- Testimonials ---------- */
.testimonial-card {
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  padding: 30px;
  border: 1px solid var(--color-border);
}
.testimonial-quote { font-size: 1.05rem; margin-bottom: 18px; }
.testimonial-quote::before { content: "\201C"; }
.testimonial-quote::after { content: "\201D"; }
.testimonial-author { font-weight: 700; font-family: var(--font-display); font-size: 0.92rem; }
.testimonial-company { color: var(--color-muted); font-size: 0.88rem; }

/* ---------- Case study block (Our Work) ---------- */
.case-study {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  padding: 48px 0;
  border-bottom: 1px solid var(--color-border);
}
.case-study:last-of-type { border-bottom: none; }
@media (max-width: 860px) {
  .case-study { grid-template-columns: 1fr; }
  .case-study.reverse .case-study-media { order: -1; }
}
.case-study.reverse .case-study-media { order: 2; }
.placeholder-shot {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, #efeeea, #efeeea 12px, #e6e4de 12px, #e6e4de 24px);
  border: 1px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 24px;
}
.placeholder-shot .placeholder-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--color-muted);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.placeholder-note {
  display: inline-block;
  margin-top: 14px;
  font-size: 0.82rem;
  color: var(--color-primary);
  background: rgba(255,78,31,0.1);
  padding: 4px 10px;
  border-radius: 6px;
}
.case-study-shot {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
}

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 700px) { .form-grid { grid-template-columns: 1fr; } }
.form-field { display: flex; flex-direction: column; gap: 8px; grid-column: span 1; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 600; font-size: 0.9rem; }
.form-field input,
.form-field select,
.form-field textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-ink);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 0.85rem; color: var(--color-muted); margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--color-dark);
  color: rgba(245,244,241,0.7);
  padding: 56px 0 28px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(245,244,241,0.14);
  margin-bottom: 24px;
}
.footer-brand .brand { color: #fff; }
.footer-links { display: flex; gap: 28px; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; }
.footer-links a { text-decoration: none; color: rgba(245,244,241,0.75); font-size: 0.92rem; }
.footer-links a:hover { color: #fff; }
.footer-legal { font-size: 0.82rem; line-height: 1.7; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
}
.footer-bottom a { text-decoration: none; color: rgba(245,244,241,0.75); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Utility ---------- */
.cta-band {
  background: var(--color-primary);
  color: #fff;
  border-radius: var(--radius);
  padding: 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.cta-band h2 { color: #fff; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,0.85); margin: 0; }
.tag-list { display: flex; gap: 10px; flex-wrap: wrap; }
.tag {
  font-size: 0.78rem;
  font-weight: 600;
  background: var(--color-bg-alt);
  border: 1px solid var(--color-border);
  padding: 5px 12px;
  border-radius: 999px;
}
.legal-content h2 { margin-top: 1.6em; }
.legal-content { max-width: 760px; }
