/* ============================================================
   SLRS DIGITAL — DESIGN SYSTEM
   Motif: architectural "blueprint" — thin rules, corner ticks,
   and a stamped ONE-TIME / RECURRING badge system that carries
   real meaning throughout the package pages.
   ============================================================ */

:root {
  /* Color */
  --navy: #10243E;
  --navy-soft: #1C3352;
  --ink: #1F2A37;
  --paper: #F7F8FA;
  --paper-raised: #FFFFFF;
  --line: #DCE1E8;
  --blue: #1D5FBF;
  --blue-deep: #164A99;
  --green: #1B8A5A;
  --green-soft: #E4F3EC;
  --gold: #D9A319;
  --gold-soft: #FBF1D8;
  --red: #C23B3B;
  --red-soft: #FBEAEA;
  --muted: #5B6B7E;

  /* Type */
  --font-display: "Space Grotesk", "Arial Narrow", sans-serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, monospace;

  /* Layout */
  --max: 1180px;
  --radius: 10px;
  --gap: clamp(1rem, 2vw, 2rem);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.15;
  margin: 0 0 0.5em;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.1rem, 4.5vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 600; }
p { margin: 0 0 1em; color: var(--ink); }
a { color: inherit; }
img { max-width: 100%; display: block; }
ul { padding-left: 1.2em; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
}

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3rem, 6vw, 5.5rem) 0; }
.section--tight { padding: clamp(2rem, 4vw, 3rem) 0; }
.section--raised { background: var(--paper-raised); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: inline-block;
  margin-bottom: 0.75rem;
}
.lede { font-size: 1.15rem; color: var(--muted); max-width: 640px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(247,248,250,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.5rem; max-width: var(--max); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
/* Logo: fixed height, width auto, object-fit contain — aspect ratio locked, never stretched or cropped. */
.brand__logo { height: 42px; width: auto; object-fit: contain; flex-shrink: 0; }
.footer__logo { height: 46px; width: auto; object-fit: contain; }
.brand__name { font-family: var(--font-display); font-weight: 700; color: var(--navy); font-size: 1.05rem; }
.brand__name small { display: block; font-family: var(--font-mono); font-weight: 400; font-size: 0.62rem; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; }

.nav-desktop { display: none; }
.nav-desktop ul { list-style: none; display: flex; gap: 1.15rem; padding: 0; margin: 0; align-items: center; }
.nav-desktop a.navlink { text-decoration: none; color: var(--ink); font-size: 0.89rem; font-weight: 500; white-space: nowrap; }
.nav-desktop a.navlink:hover { color: var(--blue-deep); }
.has-mega { position: relative; }
.mega {
  display: none; position: absolute; top: 130%; left: -1rem;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 12px 32px rgba(16,36,62,0.12); padding: 0.75rem; min-width: 280px;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { display: block; }
.mega a { display: block; padding: 0.5rem 0.75rem; border-radius: 6px; text-decoration: none; color: var(--ink); font-size: 0.9rem; }
.mega a:hover { background: var(--paper); color: var(--blue-deep); }

.header-ctas { display: flex; align-items: center; gap: 0.6rem; }
.btn {
  display: inline-flex; align-items: center; gap: 0.45rem;
  font-family: var(--font-body); font-weight: 600; font-size: 0.92rem;
  padding: 0.65rem 1.2rem; border-radius: 8px; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-deep) 100%); color: #fff; }
.btn-primary:hover { background: linear-gradient(135deg, var(--blue-deep) 0%, #103d80 100%); box-shadow: 0 8px 20px rgba(29,95,191,0.32); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-secondary:hover { background: var(--navy); color: #fff; }
.btn-whatsapp { background: var(--green); color: #fff; }
.btn-whatsapp:hover { background: #157048; box-shadow: 0 6px 18px rgba(27,138,90,0.28); }
.btn-block { width: 100%; justify-content: center; }
.btn-sm { padding: 0.5rem 0.9rem; font-size: 0.82rem; min-height: 40px; }

.menu-toggle { display: flex; background: none; border: 1px solid var(--line); border-radius: 8px; padding: 0.5rem 0.6rem; }
.menu-toggle span { display: block; width: 20px; height: 2px; background: var(--navy); margin: 4px 0; }

@media (min-width: 1100px) {
  .nav-desktop { display: block; }
  .menu-toggle { display: none; }
}

/* Below 640px: the header keeps only the logo + hamburger. WhatsApp/Get Started already
   live full-width in the mobile drawer, so showing them again in the header row risks
   forcing horizontal overflow on narrow phones (~360-375px) — this keeps the header row
   short no matter how long the agency name or CTA labels are. */
@media (max-width: 640px) {
  .header-ctas a.btn { display: none; }
  .brand__name small { display: none; }
}
.menu-toggle { min-width: 44px; min-height: 44px; align-items: center; justify-content: center; }

.mobile-nav { display: none; background: #fff; border-top: 1px solid var(--line); }
.mobile-nav.open { display: block; }
.mobile-nav ul { list-style: none; margin: 0; padding: 0.5rem 1.5rem 1.25rem; }
.mobile-nav a { display: block; padding: 0.65rem 0; text-decoration: none; color: var(--ink); border-bottom: 1px solid var(--line); font-weight: 500; }
.mobile-nav .mobile-cta { margin-top: 1rem; }

/* ---------- Hero ---------- */
.hero {
  position: relative; padding: clamp(3rem,7vw,6rem) 0 clamp(2.5rem,5vw,4rem); overflow: hidden;
  background: linear-gradient(150deg, #EEF3FB 0%, var(--paper) 45%, var(--paper) 100%);
}
.hero__grid {
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 42px 42px;
  position: absolute; inset: 0; opacity: 0.45; pointer-events: none;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.hero__inner { position: relative; max-width: 760px; }
.hero__locbar {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-mono); font-size: 0.78rem; color: var(--navy);
  border: 1px solid var(--line); background: var(--paper-raised);
  padding: 0.4rem 0.8rem; border-radius: 100px; margin-bottom: 1.4rem;
}
.hero__locbar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); }
.hero h1 { margin-bottom: 0.65rem; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-top: 1.6rem; }

/* ---------- Ticked panel / signature blueprint frame ---------- */
.tick-frame {
  position: relative; border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--paper-raised); padding: 1.75rem;
}
.tick-frame::before, .tick-frame::after {
  content: ""; position: absolute; width: 14px; height: 14px;
  border-top: 2px solid var(--navy); border-left: 2px solid var(--navy); top: -1px; left: -1px; opacity: 0.35;
}
.tick-frame::after { top: auto; left: auto; bottom: -1px; right: -1px; border-top: none; border-left: none; border-bottom: 2px solid var(--navy); border-right: 2px solid var(--navy); }

/* ---------- Stamp badges (the signature element) ---------- */
.stamp {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-mono); font-size: 0.68rem; letter-spacing: 0.09em; text-transform: uppercase;
  font-weight: 600; padding: 0.32rem 0.65rem; white-space: nowrap;
}
.stamp--onetime {
  border: 1.5px solid var(--navy); color: var(--navy); border-radius: 3px; transform: rotate(-1.2deg);
  background: var(--paper-raised);
}
.stamp--recurring {
  border: 1.5px solid var(--green); color: var(--green); border-radius: 100px; transform: rotate(1deg);
  background: var(--green-soft);
}
.stamp--mixed {
  border: 1.5px solid var(--gold); color: #8a6a10; border-radius: 3px 100px 3px 100px; background: var(--gold-soft);
}
.stamp::before { content: "●"; font-size: 0.5rem; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: 1fr; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 900px) { .grid-3 { grid-template-columns: repeat(3,1fr); } .grid-4 { grid-template-columns: repeat(4,1fr); } }

.card {
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem; transition: box-shadow .15s ease, transform .15s ease;
}
.card:hover { box-shadow: 0 10px 26px rgba(16,36,62,0.08); transform: translateY(-2px); }
.card--flagship { border: 2px solid var(--gold); box-shadow: 0 8px 24px rgba(217,163,25,0.16); position: relative; }
.card--flagship:hover { box-shadow: 0 12px 30px rgba(217,163,25,0.24); }
.card--popular { border: 2px solid var(--blue); box-shadow: 0 8px 24px rgba(29,95,191,0.14); position: relative; }
.card--popular:hover { box-shadow: 0 12px 30px rgba(29,95,191,0.22); }
.popular-ribbon {
  position: absolute; top: -12px; left: 1.25rem; background: var(--blue); color: #fff;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 100px; box-shadow: 0 3px 8px rgba(29,95,191,0.35);
}
.flagship-ribbon {
  position: absolute; top: -12px; left: 1.25rem; background: var(--gold); color: #4a3800;
  font-family: var(--font-mono); font-size: 0.68rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  padding: 0.3rem 0.7rem; border-radius: 100px; box-shadow: 0 3px 8px rgba(217,163,25,0.35);
}
.card__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; margin-bottom: 0.75rem; }
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--muted); font-size: 0.94rem; }
.card__cta { margin-top: 1rem; display: flex; gap: 0.6rem; flex-wrap: wrap; }

.icon-tile {
  width: 44px; height: 44px; border-radius: 9px; background: var(--navy); color: #fff;
  display: flex; align-items: center; justify-content: center; font-family: var(--font-mono); font-weight: 700; margin-bottom: 0.9rem;
}
.icon-tile--leaf { background: rgba(16,36,62,0.06); color: var(--navy); }

/* ---------- Problem list ---------- */
.problem-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.75rem; }
.problem-list li {
  display: flex; gap: 0.75rem; align-items: flex-start; padding: 0.9rem 1rem;
  background: var(--paper-raised); border: 1px solid var(--line); border-left: 3px solid var(--red); border-radius: 8px;
  font-style: italic; color: var(--navy);
}
.problem-list li::before { content: "“"; font-family: var(--font-display); font-size: 1.4rem; color: var(--red); line-height: 0.6; }

/* ---------- Compare band (one-time vs ongoing) ---------- */
.compare { display: grid; grid-template-columns: 1fr; gap: 1.2rem; }
@media (min-width: 800px) { .compare { grid-template-columns: 1fr auto 1fr; align-items: center; } }
.compare__panel { border-radius: var(--radius); padding: 2rem; }
.compare__panel--onetime { background: var(--navy); color: #fff; }
.compare__panel--onetime h3 { color: #fff; }
.compare__panel--onetime p { color: #C7D2E0; }
.compare__panel--ongoing { background: var(--green-soft); border: 1px solid var(--green); }
.compare__vs { font-family: var(--font-mono); color: var(--muted); text-align: center; font-size: 0.85rem; }

/* ---------- Process timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 900px) { .timeline { grid-template-columns: repeat(4, 1fr); gap: 0.8rem; } }
.timeline li { border: 1px solid var(--line); background: var(--paper-raised); border-radius: 8px; padding: 1rem; position: relative; }
.timeline .step-num { font-family: var(--font-mono); font-size: 0.75rem; color: var(--blue-deep); display: block; margin-bottom: 0.35rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #C7D2E0; padding: 3rem 0 1.5rem; margin-top: 3rem; }
.site-footer a { color: #C7D2E0; text-decoration: none; }
.site-footer a:hover { color: #fff; }
.site-footer a[aria-label^="SLRS on"] { color: #C7D2E0; border: 1px solid #2A4266; border-radius: 50%; width: 36px; height: 36px; align-items: center; justify-content: center; transition: background .15s ease, color .15s ease; }
.site-footer a[aria-label^="SLRS on"]:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.site-footer h4 { color: #fff; font-size: 0.95rem; margin-bottom: 0.9rem; font-family: var(--font-mono); letter-spacing: 0.06em; text-transform: uppercase; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.footer-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.5rem; font-size: 0.9rem; }
.footer-bottom { border-top: 1px solid #2A4266; margin-top: 2.5rem; padding-top: 1.25rem; font-size: 0.8rem; color: #91A2BA; display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; justify-content: space-between; }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 200;
  width: 56px; height: 56px; border-radius: 50%; background: var(--green); color: #fff;
  display: flex; align-items: center; justify-content: center; text-decoration: none;
  box-shadow: 0 10px 24px rgba(27,138,90,0.4);
}
.wa-float svg { width: 26px; height: 26px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 1rem; grid-template-columns: 1fr; }
@media (min-width: 700px) { .form-grid.cols-2 { grid-template-columns: 1fr 1fr; } }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 0.35rem; }
input, select, textarea {
  width: 100%; font-family: var(--font-body); font-size: 0.95rem; padding: 0.7rem 0.85rem;
  border: 1.5px solid var(--line); border-radius: 8px; background: #fff; color: var(--ink);
}
input:focus, select:focus, textarea:focus { border-color: var(--blue); }
.field-full { grid-column: 1 / -1; }

/* ---------- Tables ---------- */
.tier-table { width: 100%; border-collapse: collapse; }
.tier-table th, .tier-table td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--line); font-size: 0.92rem; vertical-align: top; }
.tier-table th { font-family: var(--font-mono); text-transform: uppercase; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--muted); background: var(--paper); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); }
@media (max-width: 700px) {
  .tier-table thead { display: none; }
  .tier-table, .tier-table tbody, .tier-table tr, .tier-table td { display: block; width: 100%; }
  .tier-table tr { border-bottom: 4px solid var(--paper); }
  .tier-table td { border-bottom: 1px solid var(--line); }
  .tier-table td::before { content: attr(data-label); display: block; font-family: var(--font-mono); font-size: 0.68rem; text-transform: uppercase; color: var(--muted); margin-bottom: 0.2rem; }
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-0 { margin-top: 0; }
.section-head { max-width: 640px; margin: 0 auto 2.5rem; text-align: center; }
.chip { display: inline-block; font-family: var(--font-mono); font-size: 0.72rem; padding: 0.3rem 0.65rem; border-radius: 100px; border: 1px solid var(--line); color: var(--muted); background: #fff; }
.divider { height: 1px; background: var(--line); border: none; margin: 2.5rem 0; }
.two-col { display: grid; gap: 2rem; grid-template-columns: 1fr; }
@media (min-width: 900px) { .two-col { grid-template-columns: 2fr 1fr; } }
.included-list, .excluded-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.6rem; }
.included-list li, .excluded-list li { display: flex; gap: 0.6rem; align-items: flex-start; font-size: 0.94rem; }
.included-list li::before { content: "✓"; color: var(--green); font-weight: 700; }
.excluded-list li::before { content: "—"; color: var(--red); font-weight: 700; }
.faq details { border-bottom: 1px solid var(--line); padding: 1rem 0; }
.faq summary { cursor: pointer; font-weight: 600; color: var(--navy); }
.faq p { margin-top: 0.6rem; color: var(--muted); }
.filter-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-bottom: 2rem; }
.filter-btn { font-family: var(--font-mono); font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.04em; padding: 0.65rem 1rem; min-height: 40px; border-radius: 100px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.filter-btn.active { background: var(--navy); color: #fff; border-color: var(--navy); }
.placeholder-box { border: 1.5px dashed var(--line); border-radius: var(--radius); padding: 2rem; text-align: center; color: var(--muted); background: var(--paper-raised); }

/* ============================================================
   BUSINESS SKYLINE ART SYSTEM — the site's primary illustrated
   motif: a row of simple, distinguishable business silhouettes
   (shop, salon, clinic, factory, café, e-commerce, office, solar/
   energy) sitting on every hero. Directly visualizes "we work with
   every kind of business" instead of decoration for its own sake.
   ============================================================ */
.hero-skyline-wrap {
  position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 130px;
  pointer-events: none; z-index: 0; overflow: hidden;
}
.hero-skyline { display: block; width: 100%; height: 100%; opacity: 0.5; }
@media (max-width: 640px) { .hero-skyline-wrap { height: 80px; } }

/* Leaf glyph — kept as a small, occasional accent (growth-language spots only), not the primary motif. */
.leaf-icon { display: inline-block; vertical-align: middle; flex-shrink: 0; }

/* ---------- Hero photo collage (homepage) — real photos, scrapbook-style overlap ---------- */
.hero-grid-layout { display: grid; grid-template-columns: 1fr; gap: 2.5rem; align-items: center; }
@media (min-width: 900px) { .hero-grid-layout { grid-template-columns: 1.15fr 0.85fr; } }
.hero-collage { position: relative; height: 300px; max-width: 420px; margin: 0 auto; }
@media (min-width: 900px) { .hero-collage { height: 380px; max-width: none; margin: 0; } }
.hero-collage img {
  position: absolute; border-radius: 14px; object-fit: cover;
  box-shadow: 0 14px 32px rgba(16,36,62,0.22); border: 5px solid var(--paper-raised);
}
.hero-collage .c1 { top: 0; left: 6%; width: 62%; height: 72%; transform: rotate(-4deg); z-index: 2; }
.hero-collage .c2 { bottom: 0; right: 2%; width: 46%; height: 48%; transform: rotate(5deg); z-index: 3; }
.hero-collage .c3 { top: 4%; right: 6%; width: 36%; height: 34%; transform: rotate(-7deg); z-index: 1; }
.hero-collage .c4 { bottom: 6%; left: 0; width: 38%; height: 36%; transform: rotate(6deg); z-index: 1; }
@media (max-width: 640px) { .hero-collage { height: 260px; } }

/* Organic wave divider between sections — replaces a hard straight edge with a soft curve. */
.wave-divider { display: block; width: 100%; height: 48px; color: var(--paper-raised); margin-top: -1px; }
.wave-divider--to-paper { color: var(--paper); }

/* ---------- Story Timeline: wrapped year-chips (horizontal year-map, no photos) ---------- */
.year-chips { display: flex; flex-wrap: wrap; gap: 0.75rem; max-width: 900px; margin: 0 auto; }
.year-chip {
  border: 1px solid var(--line); background: var(--paper-raised); border-radius: 100px;
  padding: 0; overflow: hidden; transition: box-shadow .15s ease;
}
.year-chip:hover { box-shadow: 0 6px 16px rgba(16,36,62,0.08); }
.year-chip summary {
  cursor: pointer; list-style: none; padding: 0.6rem 1.1rem; display: flex; align-items: center; gap: 0.6rem;
}
.year-chip summary::-webkit-details-marker { display: none; }
.year-chip summary .yr {
  font-family: var(--font-mono); font-size: 0.72rem; font-weight: 600; color: var(--blue-deep);
  background: var(--blue-deep); background: rgba(29,95,191,0.09); padding: 0.2rem 0.55rem; border-radius: 100px;
  white-space: nowrap;
}
.year-chip summary .ttl { font-weight: 600; color: var(--navy); font-size: 0.92rem; }
.year-chip summary .chev { margin-left: auto; color: var(--muted); font-size: 0.75rem; transition: transform .15s ease; }
.year-chip[open] summary .chev { transform: rotate(180deg); }
.year-chip .body { padding: 0 1.1rem 1rem 1.1rem; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); margin-top: 0.4rem; padding-top: 0.75rem; }

/* ---------- Growth motif (sapling -> tree), used to reinforce the one-time vs ongoing metaphor ---------- */
.growth-badge { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--green); }

