/* ============================================================
   service-detail.css — espectacular service-detail pages
   Per-filial visual personality kept; same primitives, different
   composition.
   ============================================================ */

/* =========================================================
   COMMON · big hero with kicker + super-tight kerning
   ========================================================= */
.svc-hero {
  position: relative;
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.svc-hero .breadcrumb { margin-bottom: 28px; }
.svc-hero .kicker {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 18px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.svc-hero .kicker::before {
  content: "";
  display: inline-block;
  width: 32px; height: 1.5px;
  background: var(--accent);
}
.svc-hero h1 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.95;
  letter-spacing: -0.045em;
  margin: 0;
  max-width: 18ch;
}
.svc-hero h1 .it {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; color: var(--accent);
}
.svc-hero .summary {
  margin-top: 36px;
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 64px;
  align-items: end;
}
.svc-hero .summary .lead {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.45;
  color: var(--fg);
  max-width: 52ch;
}
.svc-hero .summary .lead em { font-style: italic; color: var(--accent); }
.svc-hero .summary .meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 20px 24px;
  border-left: 2px solid var(--accent);
  background: var(--paper-soft);
  border-radius: 4px;
}
.svc-hero .summary .meta .row {
  display: flex; justify-content: space-between;
  font-family: var(--mono);
  font-size: 11px;
  color: var(--fg-dim);
  letter-spacing: 0.06em;
  padding: 4px 0;
}
.svc-hero .summary .meta .row .l {
  color: var(--fg-mute);
  text-transform: uppercase;
  letter-spacing: 0.18em;
}
.svc-hero .summary .meta .row .v {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--fg);
}

/* big decorative number (filigree behind hero) */
.svc-hero .filigree {
  position: absolute;
  top: 40px; right: -40px;
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 360px;
  line-height: 1;
  color: var(--accent);
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
}

@media (max-width: 900px) {
  .svc-hero .summary { grid-template-columns: 1fr; gap: 28px; }
  .svc-hero .filigree { font-size: 200px; right: -20px; }
}

/* =========================================================
   PROSE block · editorial paragraphs with dropcap on first
   ========================================================= */
.svc-prose {
  padding: 72px 0 24px;
  max-width: 72ch;
  margin: 0 auto;
}
.svc-prose p {
  font-family: var(--display);
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg);
  margin: 0 0 1.2em;
}
.svc-prose p:first-of-type::first-letter {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
  font-size: 4.5em;
  float: left;
  line-height: 0.85;
  padding: 0.06em 0.14em 0 0;
}
.svc-prose p em { font-style: italic; color: var(--accent); }
.svc-prose p strong { font-weight: 600; color: var(--fg); }

/* =========================================================
   PROCESS · numbered timeline (process steps)
   ========================================================= */
.svc-process {
  padding: 64px 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.svc-process .head {
  display: flex; align-items: baseline; gap: 24px;
  margin-bottom: 40px;
}
.svc-process .head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0;
}
.svc-process .head h2 .it { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.svc-process .head .eyebrow { flex: 1; }
.svc-process .steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 14px;
}
.svc-step {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 28px 28px 26px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-height: 220px;
  border: 1px solid var(--line);
}
.svc-step .n {
  font-family: var(--display);
  font-style: italic;
  font-weight: 400;
  font-size: 56px;
  line-height: 0.8;
  letter-spacing: -0.04em;
  color: var(--accent);
}
.svc-step h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.2;
}
.svc-step p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 0;
}

/* =========================================================
   COVERAGE · 2-col layout with checkmarks
   ========================================================= */
.svc-coverage {
  padding: 80px 0;
}
.svc-coverage .layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.svc-coverage h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 16px;
}
.svc-coverage h2 .it { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.svc-coverage .layout .left p {
  font-family: var(--display);
  font-size: 17px;
  line-height: 1.55;
  color: var(--fg-dim);
  margin: 16px 0 0;
}
.svc-coverage ul {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column;
  gap: 8px;
}
.svc-coverage ul li {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.svc-coverage ul li:first-child { border-top: 1px solid var(--line); }
.svc-coverage ul li .ck {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 12px;
  margin-top: 2px;
}
.brand-consultoria .svc-coverage ul li .ck { color: #fff; }
.svc-coverage ul li .nm {
  font-family: var(--display);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}
.svc-coverage ul li .nm em { font-style: italic; color: var(--accent); }
.svc-coverage ul li .d {
  font-size: 13.5px;
  color: var(--fg-dim);
  margin: 4px 0 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .svc-coverage .layout { grid-template-columns: 1fr; gap: 32px; }
}

/* =========================================================
   REGULATION · standards / laws this service touches
   ========================================================= */
.svc-reg {
  padding: 72px 0;
  background: var(--ink);
  color: var(--inv);
}
.svc-reg .head {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px;
  margin-bottom: 40px;
  align-items: end;
}
.svc-reg .eyebrow.on-dark { color: var(--inv-mute); }
.svc-reg h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 16px 0 0;
  color: var(--inv);
}
.svc-reg h2 .it { font-family: var(--serif); font-style: italic; color: var(--accent-on-dark, var(--accent)); font-weight: 400; }
.svc-reg .lead {
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.55;
  color: var(--inv-dim);
  max-width: 52ch;
}
.svc-reg .stamps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px;
}
.svc-reg .stamp {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--inv-line);
  border-radius: var(--radius);
  padding: 22px 22px 20px;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 160px;
}
.svc-reg .stamp .code {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent-on-dark, var(--accent));
}
.svc-reg .stamp .nm {
  font-family: var(--display);
  font-weight: 500;
  font-style: italic;
  font-size: 28px;
  letter-spacing: -0.025em;
  line-height: 0.95;
  color: var(--inv);
}
.svc-reg .stamp .nm.no-it { font-style: normal; }
.svc-reg .stamp .d {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--inv-dim);
  line-height: 1.5;
  letter-spacing: 0.02em;
  margin-top: auto;
}

/* =========================================================
   CLUSTER · how this service crosses other Summum brands
   ========================================================= */
.svc-cluster {
  padding: 80px 0;
}
.svc-cluster h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 14px;
}
.svc-cluster h2 .it { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.svc-cluster .lead {
  font-size: 18px;
  line-height: 1.55;
  color: var(--fg-dim);
  max-width: 64ch;
  margin: 0 0 40px;
}
.svc-cluster .lead em { font-style: italic; color: var(--accent); }
.svc-cluster .partners {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.svc-cluster .partner {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 30px 28px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 220px;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
  position: relative;
  overflow: hidden;
}
.svc-cluster .partner:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow-3);
}
.svc-cluster .partner .tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--fg-mute);
}
.svc-cluster .partner .tag .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--cluster-c, var(--accent));
}
.svc-cluster .partner h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 26px;
  letter-spacing: -0.025em;
  margin: 4px 0 0;
  line-height: 1.05;
}
.svc-cluster .partner h3 .it {
  font-family: var(--serif); font-style: italic;
  font-weight: 400; color: var(--cluster-c, var(--accent));
}
.svc-cluster .partner p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--fg-dim);
  margin: 0;
}
.svc-cluster .partner .more {
  font-family: var(--mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--cluster-c, var(--accent));
  margin-top: auto;
}

.cluster-marketing   { --cluster-c: #FF5E1A; }
.cluster-consultoria { --cluster-c: #0A0A0A; }
.cluster-sistemas    { --cluster-c: #D89856; }
.cluster-ia          { --cluster-c: #5A95D6; }
.cluster-calidad     { --cluster-c: #5FB394; }

/* =========================================================
   FAQ · accordion-style (without JS — uses <details>)
   ========================================================= */
.svc-faq {
  padding: 72px 0;
  background: var(--paper-warm);
  border-top: 1px solid var(--line);
}
.svc-faq h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 56px);
  letter-spacing: -0.035em;
  line-height: 1;
  margin: 0 0 40px;
  max-width: 18ch;
}
.svc-faq h2 .it { font-family: var(--serif); font-style: italic; color: var(--accent); font-weight: 400; }
.svc-faq details {
  border-bottom: 1px solid var(--line-strong);
  padding: 24px 0;
}
.svc-faq details:first-of-type { border-top: 1px solid var(--line-strong); }
.svc-faq details summary {
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: baseline;
  gap: 24px;
}
.svc-faq details summary::-webkit-details-marker { display: none; }
.svc-faq details summary h3 {
  font-family: var(--display);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.015em;
  margin: 0;
  line-height: 1.25;
}
.svc-faq details summary h3 em { font-style: italic; color: var(--accent); }
.svc-faq details summary .ic {
  width: 24px; height: 24px; border-radius: 50%;
  border: 1px solid var(--line-strong);
  display: grid; place-items: center;
  font-family: var(--mono);
  font-size: 16px;
  color: var(--fg-mute);
  flex-shrink: 0;
  transition: transform 220ms ease, background 220ms ease, color 220ms ease;
}
.svc-faq details[open] summary .ic {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
  transform: rotate(45deg);
}
.svc-faq details .body {
  margin-top: 16px;
  font-family: var(--display);
  font-size: 16px;
  line-height: 1.55;
  color: var(--fg);
  max-width: 64ch;
}
.svc-faq details .body em { font-style: italic; color: var(--accent); }
.svc-faq details .body p:not(:last-child) { margin-bottom: 0.8em; }

/* =========================================================
   RELATED — small variant
   ========================================================= */
.svc-related {
  padding: 72px 0 64px;
}
.svc-related .head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 28px;
  gap: 24px;
}
.svc-related .head h2 {
  font-family: var(--display);
  font-weight: 500;
  font-size: clamp(26px, 3vw, 38px);
  letter-spacing: -0.025em;
  margin: 0;
}
.svc-related .head h2 .it { font-style: italic; color: var(--accent); }
.svc-related .head .all {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-mute);
  transition: color 160ms ease;
}
.svc-related .head .all:hover { color: var(--accent); }
.svc-related .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
}
.svc-related .card {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 24px 26px 22px;
  background: var(--paper);
  display: flex; flex-direction: column; gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 220ms ease, border-color 220ms ease;
  min-height: 160px;
}
.svc-related .card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.svc-related .card .tag {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}
.svc-related .card .lead {
  font-family: var(--display);
  font-size: 15px;
  line-height: 1.4;
  color: var(--fg);
  margin: 0;
  flex: 1;
}
.svc-related .card .more {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}
