/* ══════════════════════════════════════════════════════════════════
   MTEC — service-page.css
   Service-specific patterns (hero with image card, product callout,
   benefit list, considerations, geometries, certification, gallery,
   CTA final). Used only by pages under /servicios/. Pair with
   page-chrome.css for shared chrome.
   ══════════════════════════════════════════════════════════════════ */

/* ── SERVICE HERO ────────────────────────────────── */
.page-hero-inner.service-hero-grid {
  padding: 48px var(--page-pad) 80px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

@media (max-width: 980px) {
  .page-hero-inner.service-hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    padding-top: 56px;
    padding-bottom: 48px;
  }
}
.page-eyebrow {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 14px;
}
.page-title--service {
  font-size: clamp(32px, 4.6vw, 64px);
  letter-spacing: -0.02em;
  line-height: 1.02;
  margin-bottom: 22px;
}
.page-subtitle--service {
  margin-bottom: 32px;
  max-width: 56ch;
  text-align: justify;
  hyphens: auto;
}
.page-subtitle--service .lead-paragraph,
.page-subtitle--service p {
  display: block;
  margin: 0 0 14px;
  text-align: justify;
}
.page-subtitle--service > *:last-child { margin-bottom: 0; }
.page-subtitle--service strong { color: #fff; font-weight: 600; }
.page-subtitle--service a {
  color: var(--platino);
  text-decoration: underline;
  text-decoration-color: rgba(178,190,201,0.45);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.page-subtitle--service a:hover { text-decoration-color: var(--platino); }
.page-subtitle--service ul,
.page-subtitle--service ol {
  margin: 0 0 14px;
  padding-left: 1.4em;
}
.page-subtitle--service li { margin-bottom: 6px; }

/* Hero CTA row — holds the alliance card and the ficha-técnica link.
   Either, both, or neither may be present. Center-aligned so the
   text link sits at the same optical line as the alliance card body. */
.hero-cta-row {
  display: flex; align-items: center;
  gap: 24px; flex-wrap: wrap;
  margin-top: 8px;
}
.hero-cta-row[hidden] { display: none; }

/* Editorial CTA — pure text link with an animated baseline rule that
   grows from 0% to 100% on hover. No bg, no border. Reads as content,
   not chrome. Pairs by contrast with the alliance card. */
.hero-cta-doc {
  display: inline-flex; align-items: baseline; gap: 14px;
  padding: 6px 0 8px;
  background: none; border: none;
  color: rgba(255,255,255,0.92);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 13px; font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  position: relative;
  transition: color 0.25s ease;
  cursor: pointer;
}
.hero-cta-doc[hidden] { display: none; }
.hero-cta-doc::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: rgba(255,255,255,0.92);
  transform: scaleX(0.18);            /* short baseline at rest */
  transform-origin: left center;
  transition: transform 0.55s cubic-bezier(.2,.85,.25,1);
}
.hero-cta-doc:hover { color: #fff; }
.hero-cta-doc:hover::after { transform: scaleX(1); }
.hero-cta-doc:focus-visible {
  outline: 2px solid var(--acero-light, #2B82B9);
  outline-offset: 4px;
  border-radius: 2px;
}
/* Hide the PDF icon — the word "ficha técnica" already implies the doc. */
.hero-cta-doc > svg:first-of-type { display: none; }
.hero-cta-doc-arrow {
  width: 12px; height: 12px;
  color: currentColor;
  align-self: center;
  transition: transform 0.4s cubic-bezier(.2,.85,.25,1);
}
.hero-cta-doc:hover .hero-cta-doc-arrow { transform: translateX(5px); }
@media (max-width: 720px) {
  .hero-cta-row { gap: 18px; }
  .hero-cta-doc { font-size: 12.5px; }
}

/* Sections without an h2 below the kicker need extra breathing room
   so the small uppercase tag doesn't crowd the paragraph/grid. */
[data-service-section="solucion"] .section-tag,
[data-service-section="consideraciones"] .section-tag,
[data-service-section="geometrias"] .section-tag {
  margin-bottom: 40px;
}

/* ── ALLIANCE CALLOUT — appears only when a partner logo is set ─── */
.product-callout {
  display: inline-flex; flex-direction: column;
  align-items: flex-start; gap: 12px;
  padding: 18px 26px;
  border: 1px solid rgba(255,255,255,0.20);
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(11,53,84,0.30) 100%);
  position: relative; overflow: hidden;
  margin-top: 8px;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}
.product-callout[hidden] { display: none; }
.product-callout::before {
  content: ''; position: absolute;
  top: -50%; right: -30%;
  width: 80%; height: 200%;
  background: radial-gradient(ellipse at 50% 50%, rgba(178,190,201,0.28) 0%, transparent 60%);
  pointer-events: none;
}
.product-callout-kicker {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase;
  color: rgba(178,215,255,0.78);
  position: relative; z-index: 1;
}
.product-callout-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px, 3.4vw, 44px);
  font-weight: 700; color: #fff;
  letter-spacing: -0.01em; line-height: 1;
  position: relative; z-index: 1;
}
.product-callout-partner {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 500;
  color: rgba(255,255,255,0.62);
  letter-spacing: 0.05em;
  position: relative; z-index: 1;
}
.product-callout-partner strong {
  color: rgba(255,255,255,0.92);
  font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 11px;
}
/* Partner logo — integrated into the dark callout in MTEC's monochrome
   palette. The brightness(0)+invert(1) filter renders any partner logo
   as a clean white silhouette so it sits in the same visual universe
   as the surrounding chrome (eyebrow, kicker, etc.). A fixed external
   box + object-fit:contain keeps every partner logo at the same visual
   size regardless of its source aspect ratio.
   Requires logos uploaded as PNG with transparent background. */
.product-callout-logo {
  display: block;
  box-sizing: border-box;
  height: 56px;
  width: 200px;
  max-width: 100%;
  object-fit: contain;
  opacity: 0.95;
  filter: brightness(0) invert(1);
  position: relative; z-index: 1;
}

/* ── HERO IMAGE STAGE — atmospheric halo behind the card ── */
.hero-image-stage {
  position: relative;
  isolation: isolate;
  max-width: 460px;
  margin-left: auto;
  padding: 28px 24px 36px;
  margin-right: -24px;
}
.hero-image-stage::before {
  content: '';
  position: absolute;
  inset: -40px -30px -60px -40px;
  background:
    radial-gradient(58% 65% at 72% 35%, rgba(43,130,185,0.85) 0%, rgba(27,108,168,0.35) 40%, transparent 72%),
    radial-gradient(70% 55% at 25% 88%, rgba(11,53,84,0.80) 0%, rgba(11,53,84,0.20) 50%, transparent 82%);
  filter: blur(48px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.95;
}
/* Faint diagonal grid texture inside the halo for editorial depth */
.hero-image-stage::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, transparent 49.5%, rgba(178,190,201,0.06) 50%, transparent 50.5%) 0 0 / 28px 28px;
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
  mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 50%, #000 30%, transparent 80%);
}

/* ── HERO IMAGE CARD ─────────────────────────────── */
.hero-image-card {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
  max-width: 460px;
  margin-left: auto;
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid rgba(178,190,201,0.18);
  background: linear-gradient(180deg, rgba(13,27,46,0.25) 0%, rgba(13,27,46,0.55) 100%);
  box-shadow:
    0 1px 0 rgba(255,255,255,0.10) inset,
    0 0 0 1px rgba(43,130,185,0.18),
    0 30px 60px -18px rgba(6,12,24,0.65),
    0 70px 120px -40px rgba(43,130,185,0.55);
}
.hero-image-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.2s cubic-bezier(.22,1,.36,1);
  /* Brand "film": gentle desaturation + slight contrast lift so any
     photo reads as part of the same visual universe — preserves the
     photo's content. */
  filter: saturate(0.78) contrast(1.04);
}
.hero-image-card:hover img { transform: scale(1.03); }

/* Subtle neutral-grey color cast — pulls any photo toward a unified
   editorial temperature without bluing it. */
.hero-image-veil {
  position: absolute; inset: 0;
  pointer-events: none;
  background: #C0C3C5;
  mix-blend-mode: color;
  opacity: 0.28;
}

/* Soft vignette + corner depth — neutral shadows, no blue cast. */
.hero-image-card::after {
  content: '';
  position: absolute; inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(20,24,28,0.12) 0%, transparent 22%, transparent 65%, rgba(20,24,28,0.42) 100%),
    radial-gradient(120% 90% at 0% 100%, rgba(28,32,36,0.18) 0%, transparent 60%);
  mix-blend-mode: multiply;
}
.hero-image-card::after {
  content: '';
  position: absolute; inset: 12px;
  border-top: 1px solid var(--platino);
  border-left: 1px solid var(--platino);
  border-right: 1px solid transparent;
  border-bottom: 1px solid transparent;
  width: 36px; height: 36px;
  pointer-events: none;
}
.hero-image-card::before {
  content: '';
  position: absolute;
  right: 12px; bottom: 12px;
  width: 36px; height: 36px;
  border-right: 1px solid var(--platino);
  border-bottom: 1px solid var(--platino);
  pointer-events: none;
}
.hero-image-stamp {
  position: absolute;
  left: 22px; bottom: 22px;
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: rgba(11,53,84,0.85);
  border: 1px solid rgba(255,255,255,0.25);
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  backdrop-filter: blur(4px);
}
.hero-image-stamp::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--platino); border-radius: 50%;
  box-shadow: 0 0 10px rgba(178,190,201,0.85);
}

/* ── SERVICE H2 — slightly tighter than chrome default ── */
.section-h2--service {
  font-size: clamp(28px, 4vw, 52px);
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 24px;
  max-width: 24ch;
}

/* Service two-col with slight asymmetry */
.two-col--service {
  grid-template-columns: 1fr 1fr;
  gap: 72px;
}
@media (max-width: 900px) {
  .two-col--service { grid-template-columns: 1fr; gap: 40px; }
}

/* ── CONSIDERACIONES CAROUSEL — horizontal pagination of 5 rows ── */
.consid-carousel { position: relative; }
.consid-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.consid-track::-webkit-scrollbar { display: none; }
.consid-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
}

/* Paginator styles (.consid-paginator / .consid-nav / .consid-counter)
   live in assets/css/page-chrome.css so they can be reused across pages
   without depending on service-page.css. */

/* ── BENEFIT LIST — editorial hairline list ─────── */
.benefit-list {
  display: flex; flex-direction: column;
  border-top: 1px solid rgba(178,190,201,0.32);
}
.benefit-row {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 18px; align-items: center;
  padding: 18px 0;
  border-bottom: 1px solid rgba(178,190,201,0.22);
  position: relative;
  transition: padding 0.3s;
}
.benefit-row::before {
  content: ''; position: absolute;
  bottom: -1px; left: 0; height: 1px; width: 0;
  background: var(--platino);
  transition: width 0.55s cubic-bezier(.22,1,.36,1);
}
.benefit-row:hover::before { width: 60px; }
.benefit-icon {
  width: 22px; height: 22px;
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
}
.benefit-icon svg { width: 100%; height: 100%; stroke: currentColor; fill: none; stroke-width: 1.5; }
.benefit-label {
  font-size: 14px; font-weight: 500;
  color: #fff; line-height: 1.4;
}
.benefit-chip {
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  border: 1px solid rgba(178,190,201,0.32);
  background: rgba(178,190,201,0.05);
  padding: 5px 10px;
  white-space: nowrap;
}

/* ── KEY METRIC chip ─────────────────────────────── */
/* KPI row — up to 3 metrics shown horizontally below the description. */
.kpi-row {
  display: flex; align-items: stretch;
  gap: 16px;
  margin: 28px 0 8px;
  flex-wrap: wrap;
}
.kpi-row[hidden] { display: none; }
.kpi {
  display: inline-flex; flex-direction: column;
  padding: 18px 22px;
  border-left: 3px solid var(--platino);
  background: linear-gradient(90deg, rgba(178,190,201,0.10) 0%, rgba(11,53,84,0.30) 100%);
  flex: 1 1 0; min-width: 140px;
}
.kpi-value {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(26px, 2.8vw, 38px);
  font-weight: 700; color: #fff;
  letter-spacing: -0.02em; line-height: 1;
}
.kpi-label {
  font-size: 10.5px; font-weight: 600;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: rgba(178,215,255,0.85);
  margin-top: 6px;
}
@media (max-width: 540px) {
  .kpi-row { gap: 10px; }
  .kpi { min-width: 100%; }
}

/* ── CONSIDERATIONS GRID ─────────────────────────── */
.consid-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 56px;
  border-top: 1px solid rgba(178,190,201,0.32);
}
@media (max-width: 800px) {
  .consid-grid { grid-template-columns: 1fr; gap: 0; }
}
.consid-item {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 16px; align-items: flex-start;
  padding: 22px 0;
  border-bottom: 1px solid rgba(178,190,201,0.22);
  position: relative;
  transition: padding 0.3s;
}
.consid-item::before {
  content: ''; position: absolute;
  bottom: -1px; left: 0; height: 1px; width: 0;
  background: var(--platino);
  transition: width 0.55s cubic-bezier(.22,1,.36,1);
}
.consid-item:hover::before { width: 80px; }
.consid-num {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 22px; font-weight: 600;
  color: rgba(178,215,255,0.65);
  line-height: 1; letter-spacing: -0.01em;
}
.consid-text {
  font-size: 14px; line-height: 1.6;
  color: rgba(255,255,255,0.85);
}

/* ── GEOMETRY CARDS ──────────────────────────────── */
/* Geometrias carousel — pages of 2x3 grid (6 items per page). */
.geo-carousel { position: relative; }
.geo-track {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.geo-track::-webkit-scrollbar { display: none; }
.geo-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.geo-paginator {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(178,190,201,0.18);
  justify-content: flex-end;
}
.geo-paginator[hidden] { display: none; }

.geo-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
}
.geo-card {
  background: rgba(178,190,201,0.06);
  border: 1px solid rgba(178,190,201,0.22);
  padding: 28px 22px;
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 14px;
  position: relative; overflow: hidden;
  transition: background 0.3s, border-color 0.3s, transform 0.4s cubic-bezier(.22,1,.36,1);
}
.geo-card:hover {
  background: rgba(178,190,201,0.14);
  border-color: rgba(178,190,201,0.55);
  transform: translateY(-3px);
}
.geo-card::before {
  content: ''; position: absolute;
  top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--platino) 0%, transparent 100%);
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.5s cubic-bezier(.22,1,.36,1);
}
.geo-card:hover::before { transform: scaleX(1); }
.geo-svg {
  width: 56px; height: 56px;
  color: rgba(255,255,255,0.85);
  transition: color 0.3s, transform 0.5s cubic-bezier(.22,1,.36,1);
}
.geo-card:hover .geo-svg { color: #fff; transform: scale(1.06); }
.geo-svg svg {
  width: 100%; height: 100%;
  stroke: currentColor; fill: none;
  stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round;
}
.geo-name {
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.geo-card:hover .geo-name { color: #fff; }

/* ── CERTIFICATION ───────────────────────────────── */
.cert-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: start;
}
@media (max-width: 900px) {
  .cert-grid { grid-template-columns: 1fr; }
}
.cert-badges {
  display: flex; flex-wrap: wrap; gap: 20px;
  align-items: flex-start;
}

/* Each standard (API/ASME/ISO) is its own vertical card: logo on top,
   then a stack of its specific normas underneath. The badge tile keeps
   its 110x110 white-chip styling; norms hang below as a tight list. */
.cert-stack-card {
  display: flex; flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 160px;
}
.cert-stack-card .cert-badge--in-stack {
  align-self: center;
}
.cert-stack-norms {
  list-style: none;
  margin: 4px 0 0;
  padding: 12px 0 0;
  border-top: 1px solid rgba(178,190,201,0.22);
  display: flex; flex-direction: column;
  gap: 6px;
}
.cert-stack-norms li {
  display: flex;
  margin: 0;
  padding: 0;
}
.cert-stack-norm {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 500;
  letter-spacing: 0.02em;
  color: rgba(255,255,255,0.78);
  padding: 4px 0;
  line-height: 1.35;
  text-align: left;
  width: 100%;
}
.cert-stack-norm--link {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, transform 0.25s cubic-bezier(.22,1,.36,1);
  position: relative;
  padding-bottom: 5px;
}
.cert-stack-norm--link::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: rgba(178,190,201,0.55);
  transform: scaleX(0.16);
  transform-origin: left center;
  transition: transform 0.45s cubic-bezier(.2,.85,.25,1);
}
.cert-stack-norm--link:hover { color: #fff; }
.cert-stack-norm--link:hover::after { transform: scaleX(1); }
.cert-stack-norm--link:focus-visible {
  outline: 2px solid var(--acero-light, #2B82B9);
  outline-offset: 2px;
  border-radius: 2px;
}
.cert-stack-norm-arrow {
  flex: 0 0 12px;
  margin-left: auto;
  color: rgba(178,215,255,0.78);
  transition: transform 0.3s cubic-bezier(.2,.85,.25,1);
}
.cert-stack-norm--link:hover .cert-stack-norm-arrow {
  transform: translateX(3px);
  color: #fff;
}
@media (max-width: 540px) {
  .cert-stack-card { width: 100%; flex-direction: row; gap: 18px; align-items: flex-start; }
  .cert-stack-card .cert-badge--in-stack { align-self: flex-start; flex-shrink: 0; }
  .cert-stack-norms { border-top: none; padding-top: 0; flex: 1; }
}
.cert-badge {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 4px;
  width: 110px; height: 110px;
  border: 1px solid rgba(178,190,201,0.35);
  background: linear-gradient(135deg, rgba(255,255,255,0.06) 0%, rgba(11,53,84,0.30) 100%);
  transition: border-color 0.3s, transform 0.4s cubic-bezier(.22,1,.36,1);
  overflow: hidden;
}
.cert-badge:hover {
  border-color: var(--platino);
  transform: translateY(-4px) rotate(-1deg);
}
.cert-badge-name {
  font-family: "Barlow Condensed", sans-serif;
  font-size: 28px; font-weight: 700;
  color: #fff; letter-spacing: 0.02em; line-height: 1;
}
.cert-badge-sub {
  font-size: 9px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: rgba(178,215,255,0.80);
}
/* Logo is rendered in monochrome white so every cert mark integrates
   into the MTEC palette over the dark page. A fixed inner square keeps
   every logo at the same visual area regardless of its aspect ratio.
   Requires PNG with transparent background. */
.cert-badge-logo {
  display: block;
  width: 80px;
  height: 80px;
  object-fit: contain;
  padding: 4px;
  opacity: 0.95;
  filter: brightness(0) invert(1);
}
.cert-norms {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 24px;
}
.cert-norm {
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  padding: 6px 12px;
  border: 1px solid rgba(178,190,201,0.32);
  background: rgba(178,190,201,0.07);
}
.cert-doc-links {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 28px;
}
.cert-doc {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 13px 22px;
  background: rgba(178,190,201,0.08);
  border: 1px solid rgba(178,190,201,0.35);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: rgba(255,255,255,0.92);
  transition: background 0.3s, border-color 0.3s, transform 0.3s;
}
.cert-doc:hover {
  background: rgba(178,190,201,0.18);
  border-color: var(--platino);
  transform: translateX(3px);
}
.cert-doc svg { transition: transform 0.3s; }
.cert-doc:hover svg { transform: translateX(3px); }
.cert-doc--pending {
  color: rgba(255,255,255,0.55);
  cursor: not-allowed;
}
.cert-doc--pending::after {
  content: 'pendiente';
  font-size: 9px; letter-spacing: 0.18em;
  color: rgba(255,200,150,0.85);
  margin-left: 4px;
}

/* ── GALLERY — paginated carousel, 3 per page (matches consid/geo style) ─── */
.gallery-carousel {
  position: relative;
  margin-top: 8px;
}
.gallery-grid {
  display: flex;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.gallery-grid::-webkit-scrollbar { display: none; }
.gallery-page {
  flex: 0 0 100%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.gallery-item {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(178,190,201,0.22);
  background: rgba(11,32,58,0.40);
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.0s cubic-bezier(.22,1,.36,1);
}
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(11,53,84,0.0) 50%, rgba(11,53,84,0.55) 100%);
  pointer-events: none;
}
@media (max-width: 800px) {
  .gallery-page { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .gallery-page { grid-template-columns: 1fr; }
}

.gallery-paginator {
  display: flex; align-items: center; gap: 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(178,190,201,0.18);
  justify-content: flex-end;
}
.gallery-paginator[hidden] { display: none; }
.gallery-caption {
  position: absolute; left: 14px; bottom: 14px;
  font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.88);
  z-index: 1;
}

/* ── CTA FINAL ───────────────────────────────────── */
.cta-final {
  padding: clamp(64px, 9vw, 120px) 0;
  position: relative; overflow: hidden;
}
.cta-final::before {
  content: ''; position: absolute;
  top: -10%; right: -10%; width: 70%; height: 120%;
  background: radial-gradient(ellipse at 50% 50%, rgba(178,190,201,0.20) 0%, transparent 70%);
  pointer-events: none;
}
.cta-final-inner {
  margin: 0 auto;
  padding: 0 var(--page-pad);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
@media (max-width: 800px) {
  .cta-final-inner { grid-template-columns: 1fr; gap: 32px; }
}
.cta-headline {
  font-family: "Barlow Condensed", sans-serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700; color: #fff;
  letter-spacing: -0.015em; line-height: 1.08;
  max-width: 24ch;
}
.btn-agenda {
  display: inline-flex; align-items: center; gap: 14px;
  padding: 18px 32px;
  background: #fff; color: #0D1B2E;
  font-family: "Inter", sans-serif;
  font-size: 13px; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%);
  transition: background 0.25s, transform 0.25s cubic-bezier(.22,1,.36,1), box-shadow 0.3s;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3), 0 2px 8px rgba(0,0,0,0.2);
  white-space: nowrap;
}
.btn-agenda:hover {
  background: #EDF1F5;
  transform: translateY(-3px);
  box-shadow: 0 18px 56px rgba(0,0,0,0.40);
}
.btn-agenda svg { transition: transform 0.25s; }
.btn-agenda:hover svg { transform: translateX(4px); }

/* ── Mobile tweaks ───────────────────────────────── */
@media (max-width: 720px) {
  .page-title--service { font-size: clamp(36px, 11vw, 56px); }
  .hero-image-card { max-width: 100%; aspect-ratio: 4/3; }
  .section-h2--service { font-size: clamp(24px, 7vw, 36px); }
  .product-callout { padding: 18px 22px; }
  .product-callout-name { font-size: 28px; }
  .kpi { padding: 14px 18px; }
  .geo-card { padding: 22px 16px; }
  .cert-badge { width: 92px; height: 92px; }
  .cert-badge-name { font-size: 24px; }
  .cert-badge-logo { width: 68px; height: 68px; }
  .product-callout-logo { height: 48px; width: 180px; }
}
