/* ══════════════════════════════════════════════════════════════
   RISPRI LABS · SITE POLISH LAYER  (polish.css)
   Loaded after styles-industrial.css on every interior .ind-page
   page (not the homepage, which has home.css). A global lift of
   typography, colour, header, heros, section rhythm and motion to
   match the redesigned homepage. No per-page markup changes.
   ══════════════════════════════════════════════════════════════ */

.ind-page {
  --pol-ink:        #021533;
  --pol-ink-2:      #0c2427;
  --pol-teal:       #1b5ea0;
  --pol-teal-deep:  #00646c;
  --pol-teal-bright:#37c3ca;
  --pol-paper:      #f4f7f6;
  --pol-ink-body:   #4a5f61;
  --pol-line:       #dde7e5;
  --pol-hh:         76px;
  --pol-display: "Archivo", "Barlow", system-ui, sans-serif;
}

/* ─────────────────────────── typography lift ───────────────────── */
.ind-page h1,
.ind-page h2 {
  font-family: var(--pol-display);
  letter-spacing: -0.025em;
}
.ind-page h1 { line-height: 1.02; }
.ind-page h2 { line-height: 1.1; }

.ind-page .ind-section-head h2,
.ind-page .section-header h2 {
  font-family: var(--pol-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  letter-spacing: -0.028em;
  line-height: 1.1;
  text-wrap: balance;
  color: var(--pol-ink);
}
.ind-page .ind-section-head p,
.ind-page .section-header p { color: var(--pol-ink-body); }

.ind-page .ind-section-head { max-width: 44rem; margin-bottom: clamp(2.4rem, 5vw, 4rem); }

/* eyebrows / tags → quiet teal, thin rule (matches homepage) */
.ind-page .ind-tag {
  border: 0;
  padding: 0;
  clip-path: none;
  color: var(--pol-teal-deep);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.ind-page .ind-tag::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.ind-page .ind-tag--dark { color: var(--pol-teal-bright); }

/* overline: drop the pill, become a quiet tracked eyebrow */
.ind-page .overline {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: 0;
  border-radius: 0;
  padding: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: var(--pol-teal-deep);
}
.ind-page .overline::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.7;
}
.ind-page .overline--white { color: var(--pol-teal-bright); }
.ind-page .overline--teal { color: var(--pol-teal-deep); }

/* ─────────────────────────── section rhythm ────────────────────── */
.ind-page .section { padding-block: clamp(3.4rem, 7vw, 6.5rem); }
.ind-page .section--sm { padding-block: clamp(1rem, 2vw, 1.6rem); }
.ind-page .page-main > .section:not(.section--sm):nth-child(even) { background: var(--pol-paper); }

/* ─────────────────────────── buttons ──────────────────────────── */
.ind-page .ind-btn {
  clip-path: none;
  border-radius: 2px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  letter-spacing: -0.005em;
  text-transform: none;
  font-size: 0.92rem;
  padding: 0.95rem 1.55rem;
}
.ind-page .ind-btn--orange { background: var(--pol-teal); }
.ind-page .ind-btn--orange:hover { background: var(--pol-teal-deep); }
.ind-page .ind-btn--dark { background: var(--pol-ink); }
.ind-page .ind-btn--dark:hover { background: var(--pol-ink-2); }

/* primary buttons → teal, cleaner shape */
.ind-page .btn { border-radius: 2px; border-width: 1px; letter-spacing: 0.04em; }
.ind-page .btn-primary,
.ind-page .btn-primary:hover {
  background: var(--pol-teal);
  border-color: var(--pol-teal);
  box-shadow: none;
}
.ind-page .btn-primary:hover { background: var(--pol-teal-deep); border-color: var(--pol-teal-deep); }
.ind-page .btn-primary::after { display: none; }

/* outline buttons sitting on a dark hero → white */
.ind-page .page-hero .btn-outline,
.ind-page .ind-page-hero .btn-outline {
  color: #fff;
  border-color: rgba(255,255,255,0.4);
  background: transparent;
}
.ind-page .page-hero .btn-outline:hover,
.ind-page .ind-page-hero .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,0.08);
  color: #fff;
}

/* feature badges on a dark hero → subtle glass chips */
.ind-page .page-hero .feature-badges span {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
  color: rgba(255,255,255,0.82);
  text-transform: none;
  letter-spacing: 0.01em;
  font-weight: 500;
  border-radius: 3px;
  padding: 0.3rem 0.75rem;
}
.ind-page .header-cta {
  clip-path: none !important;
  border-radius: 2px !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  padding: 0.6rem 1.15rem !important;
}

/* ─────────────────────────── CTA band ─────────────────────────── */
.ind-page .ind-cta-band {
  background: var(--pol-ink);
  background-image: none;
  clip-path: none;
  border-radius: 3px;
  overflow: hidden;
  isolation: isolate;
}
.ind-page .ind-cta-band::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(60% 120% at 100% 100%, rgba(0,129,138,0.4), transparent 60%),
    radial-gradient(50% 90% at 0% 0%, rgba(0,129,138,0.16), transparent 55%);
}
.ind-page .ind-cta-band-inner { position: relative; z-index: 1; }
.ind-page .ind-cta-band h2 {
  font-family: var(--pol-display);
  font-weight: 800;
  font-size: clamp(1.7rem, 3.2vw, 2.6rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* ═══════════════════════ shared interior hero ═══════════════════
   .ind-page-hero  (2-column dark-left / photo-right)  →  a single
   full-bleed cinematic frame with the transparent header over it.
   ══════════════════════════════════════════════════════════════ */
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 {
  background: linear-gradient(105deg, #010e21 0%, #021533 55%, #05244f 100%) !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
}
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2::before { opacity: 1; }
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2.scrolled,
.ind-page .main-header--v2.scrolled,
body.water-page .main-header--v2.scrolled {
  position: sticky !important;
  top: 0 !important;
  z-index: 100000 !important;
  background: #021533 !important;
  border-bottom: 1px solid rgba(255,255,255,0.14) !important;
  box-shadow: 0 10px 32px rgba(0,0,0,0.45) !important;
  -webkit-backdrop-filter: blur(16px) !important;
  backdrop-filter: blur(16px) !important;
}
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2.scrolled::before,
.ind-page .main-header--v2.scrolled::before,
body.water-page .main-header--v2.scrolled::before { opacity: 1; }

.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2.scrolled .site-nav > a,
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2.scrolled .nav-item > .nav-parent,
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2.scrolled .header-phone,
.ind-page .main-header--v2.scrolled .site-nav > a,
.ind-page .main-header--v2.scrolled .nav-item > .nav-parent,
.ind-page .main-header--v2.scrolled .header-phone,
body.water-page .main-header--v2.scrolled .site-nav > a,
body.water-page .main-header--v2.scrolled .nav-item > .nav-parent,
body.water-page .main-header--v2.scrolled .header-phone {
  color: #ffffff !important;
}

.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2.scrolled .brand-text strong,
.ind-page .main-header--v2.scrolled .brand-text strong,
body.water-page .main-header--v2.scrolled .brand-text strong {
  color: #ffffff !important;
}

.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2.scrolled .brand-text span,
.ind-page .main-header--v2.scrolled .brand-text span,
body.water-page .main-header--v2.scrolled .brand-text span {
  color: rgba(255,255,255,0.65) !important;
}

.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2.scrolled .brand img,
.ind-page .main-header--v2.scrolled .brand img,
body.water-page .main-header--v2.scrolled .brand img {
  filter: brightness(0) invert(1) !important;
}
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .brand img {
  filter: brightness(0) invert(1);
}
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .brand-text strong { color: #fff !important; }
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .brand-text span { color: rgba(255,255,255,0.6) !important; }
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .site-nav > a,
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .nav-item > .nav-parent,
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .header-phone {
  color: rgba(255,255,255,0.88) !important;
}
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .site-nav > a:hover,
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .site-nav > a.active,
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .nav-item > .nav-parent:hover,
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .nav-item > .nav-parent.active {
  color: #fff !important;
  background: rgba(255,255,255,0.08) !important;
}
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .header-store-cta {
  color: #fff !important;
  border-color: rgba(255,255,255,0.28) !important;
  background: transparent !important;
}
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .menu-toggle {
  border-color: rgba(255,255,255,0.28) !important;
  background: rgba(255,255,255,0.08) !important;
}
.ind-page:has(.ind-page-hero, .page-hero) .main-header--v2 .menu-toggle span { background: #fff !important; }

/* ---- .ind-page-hero as full-bleed ---- */
.ind-page .ind-page-hero {
  display: block;
  position: relative;
  min-height: min(760px, 82svh);
  margin-top: calc(-1 * var(--pol-hh));
  background: var(--pol-ink);
  overflow: hidden;
  isolation: isolate;
}
.ind-page .ind-page-hero-right {
  position: absolute !important;
  inset: 0 !important;
  min-height: 0 !important;
  clip-path: none !important;
  background: var(--pol-ink);
  z-index: 0;
}
.ind-page .ind-page-hero-right-img {
  opacity: 1;
  filter: saturate(0.5) contrast(1.05) brightness(0.42);
  transform: scale(1.08);
}
.ind-page .ind-page-hero-right-overlay {
  background:
    radial-gradient(130% 95% at 12% 8%, rgba(0,129,138,0.28), transparent 55%),
    linear-gradient(92deg, rgba(2, 21, 51,0.95) 0%, rgba(2, 21, 51,0.6) 46%, rgba(2, 21, 51,0.4) 78%, rgba(2, 21, 51,0.62) 100%),
    linear-gradient(180deg, rgba(2, 21, 51,0.5) 0%, rgba(2, 21, 51,0.25) 32%, rgba(2, 21, 51,0.92) 100%);
}
.ind-page .ind-page-hero-left {
  position: relative;
  z-index: 2;
  background: transparent;
  width: min(1240px, 94vw);
  margin: 0 auto;
  min-height: inherit;
  justify-content: flex-end;
  padding: calc(var(--pol-hh) + clamp(2.2rem, 6vh, 5.5rem)) clamp(1.5rem, 5vw, 4rem) clamp(2.6rem, 6vh, 4.2rem) !important;
}
.ind-page .ind-page-hero-left .ind-dot-grid { display: none; }
.ind-page .ind-page-hero-breadcrumb {
  color: rgba(255,255,255,0.55);
  letter-spacing: 0.12em;
  margin-bottom: 1.3rem;
}
.ind-page .ind-page-hero-breadcrumb a { color: rgba(255,255,255,0.55); }
.ind-page .ind-page-hero-breadcrumb a:hover { color: var(--pol-teal-bright); }
.ind-page .ind-page-hero-breadcrumb span { color: rgba(255,255,255,0.3); }
.ind-page .ind-page-hero-eyebrow {
  font-family: "Inter", sans-serif;
  color: var(--pol-teal-bright);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  gap: 0.7rem;
  margin-bottom: 1.5rem;
}
.ind-page .ind-page-hero-eyebrow::before {
  width: 26px;
  height: 1px;
  background: currentColor;
}
.ind-page .ind-page-hero-title {
  font-family: var(--pol-display);
  font-weight: 800;
  font-size: clamp(2.3rem, 5vw, 4.3rem);
  line-height: 1;
  letter-spacing: -0.032em;
  max-width: 19ch;
  text-wrap: balance;
  margin-bottom: 0;
}
.ind-page .ind-page-hero-sub {
  color: rgba(255,255,255,0.82);
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  line-height: 1.55;
  max-width: 48ch;
  margin-top: 1.6rem;
}
.ind-page .ind-page-hero-badge {
  z-index: 3;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.16);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  clip-path: none;
  border-radius: 3px;
  padding: 0.9rem 1.2rem;
  bottom: clamp(1.5rem, 5vh, 2.6rem);
  right: max(clamp(1rem, 5vw, 2.5rem), calc((100% - min(1240px, 92vw)) / 2));
}
.ind-page .ind-page-hero-badge strong {
  font-family: var(--pol-display);
  font-weight: 800;
  color: #fff;
}
.ind-page .ind-page-hero-badge span { color: rgba(255,255,255,0.62); }

/* ---- .page-hero (industry sub-pages + blog posts) ---- */
.ind-page .page-hero {
  background: var(--pol-ink);
  margin-top: calc(-1 * var(--pol-hh));
  min-height: min(600px, 72svh);
  display: flex;
  align-items: flex-end;
  padding: calc(var(--pol-hh) + clamp(3rem, 10vh, 6rem)) clamp(1.5rem, 5vw, 4rem) clamp(2.4rem, 6vh, 4rem) !important;
}
.ind-page .page-hero::before {
  background:
    radial-gradient(120% 85% at 12% 10%, rgba(0,129,138,0.26), transparent 55%),
    linear-gradient(180deg, rgba(2, 21, 51,0.55) 0%, rgba(2, 21, 51,0.32) 35%, rgba(2, 21, 51,0.93) 100%);
}
.ind-page .page-hero-bg {
  opacity: 0.5;
  filter: saturate(0.5) contrast(1.05) brightness(0.5);
  transform: scale(1.06);
}
.ind-page .page-hero-content { width: 100%; }
.ind-page .page-hero h1 {
  font-family: var(--pol-display);
  font-weight: 800;
  font-size: clamp(2.1rem, 4.8vw, 3.9rem);
  line-height: 1.02;
  letter-spacing: -0.032em;
  max-width: 20ch;
  text-wrap: balance;
}
.ind-page .page-hero p {
  color: rgba(255,255,255,0.82);
  max-width: 52ch;
  font-size: clamp(0.98rem, 1.3vw, 1.12rem);
}

/* blog post hero meta */
.ind-page .page-hero .post-meta {
  color: rgba(255,255,255,0.6);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.ind-page .page-hero .post-cat {
  background: rgba(55,195,202,0.14);
  color: var(--pol-teal-bright);
  border: 1px solid rgba(55,195,202,0.3);
  border-radius: 2px;
  padding: 0.22rem 0.6rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 900px) {
  .ind-page .ind-page-hero { min-height: auto; }
  .ind-page .ind-page-hero-left {
    justify-content: flex-start;
    padding-top: calc(var(--pol-hh) + clamp(1.6rem, 5vh, 3rem));
  }
  .ind-page .page-hero { min-height: auto; }
}

@media (max-width: 760px) {
  .ind-page .ind-page-hero-badge { display: none; }
}

/* ─────────────────────────── motion smoothing ─────────────────── */
.ind-page .reveal {
  transition: opacity 0.7s cubic-bezier(0.2, 0.6, 0.2, 1),
              transform 0.7s cubic-bezier(0.2, 0.6, 0.2, 1);
}

/* ─────────────────── calm the floating widget ─────────────────── */
.ind-page .wa-tooltip {
  opacity: 0;
  transform: translateX(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.ind-page .whatsapp-float-btn:hover .wa-tooltip { opacity: 1; transform: translateX(0); }
.ind-page .wa-icon-ring {
  width: 52px;
  height: 52px;
  animation: waPulse 3s infinite;
}

/* ─────────────────────────── reduced motion ──────────────────── */
@media (prefers-reduced-motion: reduce) {
  .ind-page .ind-page-hero-right-img,
  .ind-page .page-hero-bg { transform: scale(1.02); }
  .ind-page .wa-icon-ring { animation: none; }
}
