/* =========================================================
   CoffeeNCoders — service.css: one service page (/services/<slug>/, service.php). Loaded after main.css.
   Only the hero is dark (with the "what's included" card and a copper edge). Everything under it is ONE section
   (.sv-body, like About: the Work list's background, centred heads, no lines or boxes): "what we build" with outline numbers + tools → the six steps (same numbers) → FAQ
   (<details>, no JS) → links to the other services → the shared WhatsApp band (includes/wa-end.php). Type follows the home hero scale.
   ========================================================= */

/* shared section heading on this page: centred title (the **highlight** on its own copper line) with the text under it */
.sv-head { display: grid; justify-items: center; gap: 16px; margin-bottom: clamp(32px, 4.5vw, 52px); text-align: center; }   /* centred, like About */
.sv-title { font-family: var(--display); font-size: clamp(28px, 3vw, 44px); font-weight: 700; line-height: 1.08; letter-spacing: -.04em; }
.sv-title b { display: block; font-weight: inherit; color: var(--copper); }
.sv-lead { font-size: 17px; line-height: 1.6; color: var(--muted); }

/* ---------- Hero ---------- */
.sv-hero {
  position: relative; overflow: hidden; color: var(--cream);
  padding: clamp(130px, 17vh, 190px) 0 clamp(80px, 9vw, 120px);
  background:
    radial-gradient(45% 55% at 85% 25%, rgba(226, 117, 58, .2), transparent 70%),
    radial-gradient(35% 45% at 5% 90%, rgba(244, 168, 90, .08), transparent 70%),
    var(--espresso);
}
.sv-hero::after {   /* the copper edge the light part starts from */
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(226, 117, 58, .8) 30%, rgba(244, 168, 90, .9) 50%, rgba(226, 117, 58, .8) 70%, transparent);
  box-shadow: 0 0 24px 2px rgba(226, 117, 58, .45);
}
.sv-hero__grid { position: relative; z-index: 1; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); align-items: center; gap: 48px clamp(40px, 6vw, 96px); }
.sv-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted-dark); }
.sv-crumbs a { transition: color .2s; }
.sv-crumbs a:hover { color: var(--amber); }
.sv-crumbs [aria-current] { color: var(--cream); }
.sv-hero__kicker {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding: 5px 14px 5px 5px; border-radius: 999px;
  font-size: 13.5px; font-weight: 600; background: rgba(255, 255, 255, .05); border: 1px solid var(--line-dark);
}
.sv-hero__ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }
.sv-hero__ico img { width: 17px; height: 17px; }
.sv-hero__title { margin-top: 18px; font-family: var(--display); font-size: clamp(32px, 3.8vw, 56px); font-weight: 700; line-height: 1.05; letter-spacing: -.045em; }   /* the About hero's type size (shared look on every inner hero) */
.sv-hero__title b { display: block; font-weight: inherit; color: var(--copper); }
.sv-hero__lead { max-width: 660px; margin-top: 22px; font-size: 18px; line-height: 1.65; color: rgba(247, 242, 235, .8); }
.sv-hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 22px; margin-top: 32px; }
.sv-hero__note { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; color: var(--muted-dark); }
.sv-hero__note::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px rgba(95, 211, 154, .7); }

/* the "what's included" card */
.sv-pack {
  padding: 26px; border-radius: 22px;
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .02));
  border: 1px solid rgba(255, 236, 220, .12);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), 0 40px 80px -40px rgba(0, 0, 0, .8);
  backdrop-filter: blur(8px);
}
.sv-pack__head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--line-dark); }
.sv-pack__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); }
.sv-pack__price { font: 700 22px var(--display); letter-spacing: -.03em; }
.sv-pack__list { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.sv-pack__list li { display: flex; align-items: flex-start; gap: 11px; font-size: 15px; line-height: 1.45; color: rgba(247, 242, 235, .9); }
.sv-pack__tick { flex: none; width: 20px; height: 20px; margin-top: 1px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--copper); }
.sv-pack__tick svg { width: 11px; height: 11px; }

/* ---------- Everything under the hero: ONE section (.sv-body), like About: the Work list's background
   (paper + a soft amber glow), centred heads, no lines between the parts, no boxes ---------- */
.sv-body { padding-block: clamp(72px, 9vw, 120px); background: radial-gradient(50% 40% at 100% 0%, rgba(244, 168, 90, .14), transparent 70%), var(--paper); }
.sv-build, .sv-steps, .sv-faq, .sv-end { background: none; }
.sv-build + .sv-steps, .sv-steps + .sv-faq, .sv-faq + .sv-end, .sv-build + .sv-faq, .sv-build + .sv-end, .sv-steps + .sv-end { margin-top: clamp(72px, 9vw, 120px); }
.sv-head .sv-lead { max-width: 620px; }

/* ---------- What we build: two columns, a big outline number beside each (About's "count on" list) ---------- */
.sv-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 64px); max-width: 980px; margin-inline: auto; }
.sv-card, .sv-steps__list li { position: relative; padding-left: 72px; }
.sv-card__no, .sv-steps__no { position: absolute; left: 0; top: -6px; font: 700 44px/1 var(--display); letter-spacing: -.04em; color: transparent; -webkit-text-stroke: 1.5px var(--copper); }
.sv-card__title, .sv-steps__list h3 { font: 700 19px/1.25 var(--display); letter-spacing: -.02em; color: var(--ink); }
.sv-card__text, .sv-steps__list p { margin-top: 8px; font-size: 15.5px; line-height: 1.6; color: var(--muted); }
.sv-tech { display: grid; justify-items: center; gap: 14px; margin-top: clamp(48px, 6vw, 72px); text-align: center; }
.sv-tech__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.sv-tech__list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.sv-tech__list li { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 10px; border-radius: 999px; font-size: 14px; font-weight: 500; background: #fff; border: 1px solid var(--line); }
.sv-tech__list img { width: 18px; height: 18px; }

/* ---------- The six steps: three columns, the same outline numbers ---------- */
.sv-steps__list { margin: 0 auto; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 40px clamp(28px, 4vw, 56px); max-width: 1180px; }

/* ---------- FAQ (<details>) ---------- */
.sv-faq__grid { display: grid; justify-items: center; gap: clamp(28px, 4vw, 44px); }
.sv-faq__intro { display: grid; justify-items: center; gap: 16px; max-width: 620px; text-align: center; }
.sv-faq__list { display: grid; gap: 10px; width: 100%; max-width: 820px; }
.sv-q { border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.sv-q[open] { border-color: rgba(226, 117, 58, .35); box-shadow: 0 18px 40px -28px rgba(90, 50, 20, .45); }
.sv-q summary {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 22px;
  list-style: none; cursor: pointer; font: 700 17px/1.35 var(--display); letter-spacing: -.015em;
}
.sv-q summary::-webkit-details-marker { display: none; }
.sv-q summary:focus-visible { outline: 2px solid var(--copper); outline-offset: -2px; border-radius: 16px; }
.sv-q__plus { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(29, 23, 18, .06); transition: transform .3s var(--ease), background .3s, color .3s; }
.sv-q__plus svg { width: 14px; height: 14px; }
.sv-q[open] .sv-q__plus { transform: rotate(45deg); color: #fff; background: var(--copper); }
.sv-q p { padding: 0 22px 22px; font-size: 15.5px; line-height: 1.65; color: var(--muted); }

/* ---------- Other services (the WhatsApp band after them is shared: main.css .wa-end) ---------- */
.sv-more__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; text-align: center; color: var(--muted); }
.sv-more__list { margin-top: 16px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 10px; }
.sv-more__item {
  display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: 16px; border: 1px solid var(--line); background: #fff;
  transition: border-color .3s, transform .3s var(--ease);
}
.sv-more__item:hover { border-color: rgba(226, 117, 58, .45); }
.sv-more__ico { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: var(--paper); border: 1px solid var(--line); }
.sv-more__ico img { width: 18px; height: 18px; }
.sv-more__item b { display: block; font: 700 15px var(--display); letter-spacing: -.01em; }
.sv-more__item small { display: block; margin-top: 2px; font-size: 13px; color: var(--muted); }
.sv-more__go { margin-left: auto; color: var(--copper); transition: transform .25s var(--ease); }
.sv-more__item:hover .sv-more__go { transform: translateX(3px); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .sv-hero__grid { grid-template-columns: 1fr; }
  .sv-steps__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  .sv-hero { padding-top: 110px; }
  .sv-steps__list, .sv-cards { grid-template-columns: 1fr; gap: 28px; }
  .sv-card, .sv-steps__list li { padding-left: 60px; }
  .sv-card__no, .sv-steps__no { font-size: 36px; }
  .sv-pack { padding: 20px; }
  .sv-q summary { padding: 18px; font-size: 16px; }
  .sv-q p { padding: 0 18px 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .sv-card, .sv-more__item, .sv-q__plus { transition: none; }
}
