/* ─────────────────────────────────────────────────────────────────────
   SPICA · NEO-inspired design system
   Tokens, typography, components — built on Bootstrap 5
   ───────────────────────────────────────────────────────────────────── */

:root {
  /* palette */
  --bg:       rgb(247, 247, 247);
  --bg-2:     rgb(238, 238, 238);
  --ink:      #111110;
  --ink-2:    #4A4843;
  --ink-3:    #908B82;
  --rule:     #D6D1C4;
  --rule-2:   #C9C2B0;
  --invert:   #FFFFFF;
  --black:    #0A0A0A;

  /* typography */
  --sans:     'Geist', 'Nunito', system-ui, -apple-system, sans-serif;
  --mono:     'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  /* radius / motion */
  --r-pill:   999px;
  --r-big:    8px;
  --r-card:   16px;
  --ease:     cubic-bezier(.2,.65,.3,1);

  /* slide carousel widths (preserved) */
  --slide-width: 55%;
  --slide-gap:   12px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--sans);
  background: var(--bg);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  margin: 0;
  position: relative;
  overflow-x: hidden;
}

/* film-grain overlay */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.22;
  mix-blend-mode: multiply;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.5 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

::selection { background: var(--ink); color: var(--bg); }

/* ─── Typography utilities ─────────────────────────────────────────── */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 24px;
}

.section-headline {
  font-family: var(--sans);
  font-weight: 300;
  letter-spacing: -0.035em;
  font-size: clamp(40px, 6vw, 80px);
  line-height: 1.02;
  margin: 0 0 32px;
  color: var(--ink);
  text-wrap: balance;
}

/* override Bootstrap display + heading defaults */
.display-4, .display-5, .display-6, h1, h2, h3 {
  font-family: var(--sans);
  font-weight: 300 !important;
  letter-spacing: -0.025em;
  color: var(--ink);
}

.display-4 {
  font-size: clamp(40px, 5.5vw, 72px) !important;
  line-height: 1.04 !important;
  text-wrap: balance;
}

.fw-bold { font-weight: 500 !important; }

p { color: var(--ink-2); text-wrap: pretty; }
.pservices {
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 auto;
  padding-top: 18px;
}

/* ─── Section padding ─────────────────────────────────────────────── */
.section-padding { padding: 120px 0; }
section { padding: 96px 0; }

/* ─── NAVBAR ──────────────────────────────────────────────────────── */
.navbar {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  max-width: 100vw;
  transition:
    background 420ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-radius 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
    top 420ms cubic-bezier(0.22, 1, 0.36, 1),
    max-width 420ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: padding, border-radius, box-shadow, background, max-width;
}
.nav-fluid {
  padding-left: clamp(20px, 3vw, 48px);
  padding-right: clamp(20px, 3vw, 48px);
  transition: padding 350ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar-logo {
  height: 28px;
  width: auto;
  transition: opacity 0.25s ease;
}
.navbar-logo.fade-out { opacity: 0; }

.navbar .nav-link, .navbar-brand {
  color: rgba(255,255,255,.85);
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: -0.005em;
  font-weight: 400;
  padding: 0 14px;
  transition: color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.navbar .nav-link:hover, .navbar-brand:hover { color: var(--invert); }

.scrolled {
  background: var(--bg) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border-bottom: none !important;
  box-shadow: none;
}
.scrolled .nav-link, .scrolled .navbar-brand { color: var(--ink) !important; }

/* State B — desktop: full-width bar (no pill) with ALL nav items packed
   together and centered horizontally on the page (logo + links + CTA +
   lang switcher all grouped in the middle, like when they were inside
   the pill, but without the pill chrome). */
@media (min-width: 992px) {
  .scrolled {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
  }
  .scrolled .nav-fluid {
    flex-wrap: nowrap;
    justify-content: center;
  }
  .scrolled .navbar-brand { margin-right: 28px; }
  .scrolled .navbar-collapse {
    flex-grow: 0 !important;
    flex-basis: auto !important;
    align-items: center;
    width: auto;
  }
  .scrolled .navbar-nav {
    margin-left: 0 !important;
    margin-right: 0 !important;
    gap: .25rem !important;
  }
  .scrolled .nav-btns { display: contents; }
  .scrolled .nav-cta {
    margin-left: 10px;
    margin-right: 0;
  }
  .scrolled .lang-switch { margin-left: 14px; }

  /* CTA blends into the nav — no button chrome in State B */
  .scrolled .btn-navbar {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--ink) !important;
    padding: 7px 14px !important;
  }
  .scrolled .btn-navbar:hover {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--ink) !important;
    opacity: .62;
  }
  .scrolled .nav-btns .btn[style*="grey"] {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--ink) !important;
  }
  .scrolled .nav-btns .btn[style*="grey"]:hover {
    background: transparent !important;
    border-color: transparent !important;
    color: var(--ink) !important;
    opacity: .62;
  }
}

/* Pills delicadas estilo NEO — siempre visibles en desktop */
.btn-navbar {
  color: rgba(255,255,255,.85);
  border: 1px solid rgba(255,255,255,.35);
  border-radius: var(--r-pill);
  font-size: 13px;
  font-family: var(--sans);
  font-weight: 400;
  letter-spacing: -0.005em;
  text-transform: none;
  padding: 7px 16px !important;
  background: transparent;
  transition:
    background 420ms cubic-bezier(0.22, 1, 0.36, 1),
    color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 420ms cubic-bezier(0.22, 1, 0.36, 1),
    padding 420ms cubic-bezier(0.22, 1, 0.36, 1),
    opacity 200ms ease;
}
.btn-navbar:hover {
  color: var(--ink);
  background: var(--invert);
  border-color: var(--invert);
}
.scrolled .btn-navbar {
  color: var(--ink);
  border-color: rgba(17,17,16,.25);
}
.scrolled .btn-navbar:hover {
  color: var(--bg);
  background: var(--ink);
  border-color: var(--ink);
}

/* "Contact Us" — pill rellena (override del style inline grey) */
.nav-btns .btn[style*="grey"] {
  background: var(--invert) !important;
  color: var(--ink) !important;
  border-color: var(--invert) !important;
}
.nav-btns .btn[style*="grey"]:hover {
  background: transparent !important;
  color: var(--invert) !important;
  border-color: rgba(255,255,255,.6) !important;
}
.scrolled .nav-btns .btn[style*="grey"] {
  background: var(--ink) !important;
  color: var(--bg) !important;
  border-color: var(--ink) !important;
}
.scrolled .nav-btns .btn[style*="grey"]:hover {
  background: transparent !important;
  color: var(--ink) !important;
  border-color: var(--ink) !important;
}

.nav-btns {
  display: flex;
  align-items: center;
  gap: 10px;
}
.nav-cta { position: relative; display: inline-flex; }
.nav-microcopy {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, -2px);
  margin: 0;
  font-family: var(--sans);
  font-size: 12px;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.55);
  width: max-content;
  max-width: 30ch;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms var(--ease), transform 260ms var(--ease);
}
.scrolled .nav-microcopy { color: rgba(17, 17, 16, 0.55); }
.nav-cta:hover .nav-microcopy,
.btn-navbar:focus-visible + .nav-microcopy {
  opacity: 1;
  transform: translate(-50%, 0);
}
.transition-custom { transition: all 0.6s var(--ease); }

/* language switch — siempre visible, delicado */
.lang-switch { display: flex; align-items: center; gap: 6px; margin-left: 14px; }
.lang-option {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.08em;
  cursor: pointer;
  color: rgba(255,255,255,.55);
  transition: color 420ms cubic-bezier(0.22, 1, 0.36, 1);
}
.lang-option.active { color: var(--invert); }
.lang-divider { color: rgba(255,255,255,.35); font-size: 11px; transition: color 420ms cubic-bezier(0.22, 1, 0.36, 1); }
.scrolled .lang-option { color: var(--ink-3); }
.scrolled .lang-option.active { color: var(--ink); }
.scrolled .lang-divider { color: var(--ink-3); }

/* ─── HERO ────────────────────────────────────────────────────────── */
.hero-bg {
  background: var(--black);
  position: relative;
  min-height: 100svh;
  height: 100svh;
  overflow: hidden;
  padding: 0 !important;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
/* Old video-wrapper overlay removed — see .hero-overlay below for the new spec-driven gradient. */

.hero-vid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}
.hero-vid.active { opacity: 1; }

.hero-container {
  position: relative;
  z-index: 3;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-top: 96px;
  padding-bottom: 40px;
  color: var(--invert);
}

.hero-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 100%;
  gap: 32px;
}
.hero-top-left {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.hero-top-right {
  flex-shrink: 0;
  white-space: nowrap;
}

.hero-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
}

.hero-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 64px;
  flex-wrap: wrap;
}
.hero-bottom-left {
  flex: 1 1 520px;
  min-width: 0;
  max-width: 820px;
  display: grid;
  grid-template-columns: 1fr;
}
.hero-bottom-left .hero-h1,
.hero-bottom-left .hero-subheader {
  grid-column: 1;
  grid-row: 1;
  margin: 0;
  width: 100%;
}
.hero-bottom-left .hero-h1 { align-self: start; }
.hero-bottom-left .hero-subheader { align-self: end; }
.hero-bottom-right {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}
.hero-bottom-right .hero-actions { white-space: nowrap; }
.hero-bottom-right .btn-pill,
.hero-bottom-right .tlink { white-space: nowrap; }

/* ── HERO H1 + supporting copy ───────────────────────────────── */
.hero-h1 {
  margin: 0;
  font-family: var(--sans);
  font-weight: 500 !important;
  letter-spacing: -0.02em;
  line-height: 1.1;
  color: #FFFFFF;
  text-shadow: 0 2px 24px rgba(0,0,0,0.25);
  font-size: 42px;
  max-width: 720px;
  text-wrap: balance;
  min-height: calc(1.1em * 2);
}
.hero-h1 span { display: block; min-height: 1.1em; }
.hero-subheader {
  margin: 0;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.9);
  max-width: 520px;
  min-height: calc(1.5em * 2);
}
.hero-microcopy {
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
  color: rgba(255,255,255,0.6);
  text-align: right;
  max-width: 320px;
}

/* ── HERO typewriter cursor ──────────────────────────────────── */
.js-typewriter { opacity: 0; }
.js-typewriter.is-typing::after {
  content: '|';
  display: inline-block;
  margin-left: 2px;
  font-weight: 300;
  color: currentColor;
  animation: cursorBlink 1s step-start infinite;
  transform: translateY(-0.05em);
}
@keyframes cursorBlink {
  50% { opacity: 0; }
}

/* ── HERO entrance cascade ───────────────────────────────────── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.hero-animate {
  opacity: 0;
  animation: fadeUp 700ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero-animate--eyebrow       { animation-delay: 0ms; }
.hero-animate--h1-line-1     { animation-delay: 250ms; }
.hero-animate--h1-line-2     { animation-delay: 1300ms; }
.hero-animate--subheader     { animation-delay: 1900ms; }
.hero-animate--cta-primary   { animation-delay: 2300ms; }
.hero-animate--cta-secondary { animation-delay: 2300ms; }
.hero-animate--microcopy     { animation-delay: 2500ms; }
@media (prefers-reduced-motion: reduce) {
  .hero-animate { animation: none; opacity: 1; transform: none; }
}

/* ── HERO gradient overlay (between video and text) ─────────── */
.hero-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.4) 0%,
    rgba(0,0,0,0)   15%,
    rgba(0,0,0,0)   60%,
    rgba(0,0,0,0.75) 100%
  );
}

.hero-wordmark {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(22vw, 26vw, 32vw);
  letter-spacing: -0.05em;
  line-height: 0.85;
  color: var(--invert);
  mix-blend-mode: difference;
  margin: 0;
  user-select: none;
  text-align: left;
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}
.hero-tag {
  margin: 0;
  font-size: clamp(15px, 1.3vw, 18px);
  color: rgba(255,255,255,.85);
  max-width: 42ch;
  text-wrap: balance;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 24px;
}

.brands-strip {
  background: linear-gradient(180deg, #000 0%, #050505 50%, var(--black) 100%);
  padding: 28px 0 36px;
  margin-top: -1px;
  overflow: hidden;
}
.brands-strip-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}
.brands-strip-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
  white-space: nowrap;
  flex-shrink: 0;
}
.brands-strip-marquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0%, #000 6%, #000 94%, transparent 100%);
}
.brands-strip-track {
  display: flex;
  align-items: center;
  gap: 64px;
  width: max-content;
  animation: brands-scroll 38s linear infinite;
  will-change: transform;
}
.brands-strip-marquee:hover .brands-strip-track {
  animation-play-state: paused;
}
.brands-strip-track img {
  height: 42px;
  width: auto;
  object-fit: contain;
  opacity: .75;
  filter: brightness(0) invert(1);
  transition: opacity .3s ease, filter .3s ease;
  flex-shrink: 0;
}
/* SVG-01 has white text on a dark pill — invert turns the whole pill white. Skip filter so the white text shows naturally on black. */
.brands-strip-track img[src*="Spica-01.svg"] {
  filter: none;
  opacity: .85;
}
/* SVG-03 (KING ROOF) has a lion inside a shield. brightness(0) flattens both into a solid white block. grayscale+invert preserves contrast so the lion stays visible inside the shield. */
.brands-strip-track img[src*="Spica-03.svg"] {
  filter: grayscale(1) invert(1) contrast(1.4) brightness(1.2);
}
/* WEBP-05 (Coffee America) — inverting flattens the badge to a solid disc. Plain grayscale keeps the text + cup detail readable while removing the blue. */
.brands-strip-track img[src*="Spica-05.webp"] {
  filter: grayscale(1);
}
.brands-strip-track img:hover {
  opacity: 1;
  filter: none;
}
@keyframes brands-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .brands-strip-track { animation: none; }
}

/* ─── BUTTONS ─────────────────────────────────────────────────────── */
.btn-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  background: var(--invert);
  color: var(--ink);
  border: 1px solid var(--invert);
  text-decoration: none;
  transition: background .2s var(--ease), color .2s var(--ease), transform .2s var(--ease);
}
.btn-pill:hover {
  background: transparent;
  color: var(--invert);
}

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 400;
  color: var(--invert);
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,.4);
  padding-bottom: 4px;
  transition: gap .2s var(--ease), border-color .2s var(--ease);
}
.tlink:hover { gap: 14px; color: var(--invert); border-color: var(--invert); }
.tlink svg { transition: transform .2s var(--ease); }

.btn-custom {
  background: var(--ink);
  color: var(--bg);
  padding: 14px 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.005em;
  border: 1px solid var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn-custom:hover {
  background: transparent;
  color: var(--ink);
}

.btn-custom1 {
  background: transparent;
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn-custom1:hover { background: var(--ink); color: var(--bg); }

.btn-custom2 {
  background: var(--ink);
  color: var(--bg);
  padding: 12px 28px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 500;
  border: 1px solid var(--ink);
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn-custom2:hover { background: transparent; color: var(--ink); }
.btn-custom2 a { color: var(--bg); text-decoration: none; }
.btn-custom2:hover a { color: var(--ink) !important; }

.btn-ads {
  color: var(--invert);
  background: rgba(0,0,0,0.5);
  padding: 16px 36px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
}
.btn-ads:hover { color: var(--invert); border-color: var(--invert); background: transparent; }

/* ─── REVEAL animation ────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.active { opacity: 1; transform: translateY(0); }

/* ─── SERVICES grids ─────────────────────────────────────────────── */
.icons {
  width: 56px;
  height: 56px;
  filter: grayscale(100%);
  opacity: .85;
  transition: transform .35s ease, opacity .35s ease, filter .35s ease;
  will-change: transform;
}
.service-item:hover .icons {
  transform: translateY(-6px);
  opacity: 1;
  filter: grayscale(100%) contrast(1.15) brightness(.85);
}
.service-item {
  border-top: 1px solid var(--rule);
  padding: 24px 14px 22px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: background-color .35s ease, box-shadow .35s ease;
}
.service-item:hover {
  background-color: rgba(255, 255, 255, .08);
  box-shadow: 0 6px 20px -18px rgba(17, 17, 16, .08);
}
.service-item h6 {
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
}
.service-text { display: flex; flex-direction: column; gap: 6px; }
.service-text p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  padding: 0 !important;
}

/* override Bootstrap pt-5 for service grid items so spacing is consistent */
.row.g-4.pt-5 .col-md-3.pt-5,
.row.g-4.pt-5 .col-md-4.pt-5 { padding-top: 24px !important; }

/* ─── SPEC SECTION (NEO-style table) ─────────────────────────────── */
.spec-section { padding: 120px 0; background: var(--bg); }
.spec-section .eyebrow { margin-bottom: 32px; }
.spec-table {
  border-top: 1px solid var(--rule);
  margin-top: 24px;
}
.spec-row {
  display: grid;
  grid-template-columns: 200px 1fr 1fr;
  gap: 32px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
  transition: padding-left .35s var(--ease);
}
.spec-row:hover { padding-left: 12px; }
.spec-label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
.spec-value {
  font-family: var(--sans);
  font-size: clamp(20px, 1.8vw, 26px);
  font-weight: 400;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.spec-note {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: var(--ink-2);
  text-align: right;
}

/* ─── RATIO containers (videos) ──────────────────────────────────── */
.ratio-container {
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-2);
}

/* ─── CAROUSEL (top caption / Bootstrap) ─────────────────────────── */
.custom-carousel { width: 100%; position: relative; }

.carousel-top-caption {
  position: absolute;
  top: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 18px;
  z-index: 10;
  background: rgba(17,17,16,0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--invert);
  padding: 12px 18px;
  border-radius: var(--r-pill);
  min-width: 360px;
  white-space: nowrap;
  border: 1px solid rgba(255,255,255,.12);
}
.carousel-category {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  flex: 1;
  display: inline-block;
  will-change: transform, opacity, filter;
}
.letra-anim {
  display: inline-block;
  transition: all 0.4s ease;
  will-change: filter, opacity, transform;
}
.nav-btn {
  border: none;
  background: transparent;
  color: var(--invert);
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  opacity: .85;
}
.nav-btn:hover { opacity: 1; }

.carousel-caption { left: 5%; right: 5%; bottom: 80px; }
.custom-caption {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 5vw, 72px);
  letter-spacing: -0.03em;
  line-height: 1.02;
  color: var(--invert);
  text-wrap: balance;
}
.caption-p {
  max-width: 640px;
  margin: 18px auto 0;
  font-family: var(--sans);
  font-size: clamp(14px, 1.1vw, 17px);
  line-height: 1.55;
  color: rgba(255,255,255,.85);
  padding-bottom: 60px;
  text-wrap: pretty;
}

/* ─── DOTS CAROUSEL (custom JS, NEO grid feel) ───────────────────── */
.carousel-section { width: 100%; padding: 80px 0 64px; }
.carousel-viewport { width: 100%; overflow: hidden; position: relative; }

.carousel-track {
  display: flex;
  align-items: center;
  gap: 0;
  transition: transform 0.6s var(--ease);
  will-change: transform;
  cursor: grab;
  user-select: none;
}
.carousel-track.is-dragging { cursor: grabbing; transition: none; }

.carousel-slide {
  flex: 0 0 var(--slide-width);
  width: var(--slide-width);
  padding: 0 var(--slide-gap);
  transition: transform 0.6s var(--ease), opacity 0.6s var(--ease);
}
.slide-inner {
  border-radius: var(--r-card);
  overflow: hidden;
  background: var(--bg-2);
  position: relative;
  border: 1px solid var(--rule);
}
.slide-inner img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  display: block;
  pointer-events: none;
}
.slide-caption {
  position: absolute;
  bottom: 14px;
  left: 14px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--invert);
  background: rgba(17,17,16,0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 8px 14px;
  border-radius: var(--r-pill);
}
.carousel-slide.active { transform: scale(1); opacity: 1; z-index: 2; }
.carousel-slide:not(.active) { transform: scale(0.92); opacity: 0.55; z-index: 1; }

.carousel-dots { display: flex; justify-content: center; gap: 8px; margin-top: 24px; }
.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ink-3);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s;
  opacity: .5;
}
.dot.active { background: var(--ink); transform: scale(1.4); opacity: 1; }

/* ─── VIDEO PREVIEW PANELS ───────────────────────────────────────── */
.video-preview, .video-preview2 {
  width: 100%;
  height: clamp(420px, 60vh, 700px);
  background-size: cover;
  background-position: center;
  border-radius: var(--r-card);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.video-preview  { background-image: url("../multimedia/img/Google_Ads.webp"); }
.video-preview2 { background-image: url("../multimedia/img/Disen_o_Ux.webp"); }

/* ─── FAQ INTRO + portada ────────────────────────────────────────── */
#faq { padding: 140px 0 0; }
#faq .p-custom {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
}
#faq .lead {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.03em;
  line-height: 1.04;
  color: var(--ink);
  text-wrap: balance;
  margin-top: 12px;
}

.portada {
  background-image: url("../multimedia/img/flower_logo.webp");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 70vh;
  margin-top: 40px;
  mix-blend-mode: multiply;
}
@media (max-width: 768px) {
  .portada {
    min-height: 0;
    aspect-ratio: 1 / 1;
    margin-top: 24px;
    background-size: 190% auto;
  }
}

/* ─── CONTACT ────────────────────────────────────────────────────── */
#contact { padding: 120px 0; background: var(--bg); }
#contact .navbar-logo { height: 28px; filter: none; }
#contact h2 {
  font-family: var(--sans);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin-bottom: 16px;
}
#contact ul li {
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink-2);
}
.channel-link {
  text-decoration: none;
  color: var(--ink);
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 1px;
  transition: border-color .2s var(--ease);
}
.channel-link:hover { color: var(--ink); border-color: var(--ink); }

/* ─── CONTACT FORM (video bg) ────────────────────────────────────── */
.video-section { position: relative; overflow: hidden; min-height: 100svh; }
.bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.video-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10,10,10,0.55);
  z-index: -1;
}
.video-section h2 {
  color: var(--invert) !important;
  font-weight: 300;
  font-size: clamp(40px, 5.5vw, 72px);
  letter-spacing: -0.035em;
  text-wrap: balance;
}

/* form fields: underline-only */
.form-control, .form-select {
  background: transparent !important;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  padding: 18px 0 8px;
  color: var(--invert) !important;
  font-family: var(--sans);
  font-size: 15px;
  box-shadow: none !important;
}
.form-control::placeholder { color: rgba(255,255,255,.55); }
.form-control:focus, .form-select:focus { border-color: var(--invert); }
.form-select option { color: var(--ink); background: var(--bg); }

.input-group-text {
  background: transparent;
  border: none;
  color: var(--invert);
  font-weight: 500;
  border-bottom: 1px solid rgba(255,255,255,.3);
  border-radius: 0;
  font-family: var(--mono);
  font-size: 13px;
  padding: 18px 12px 8px 0;
}
.phone-input-group .phone-prefix {
  min-width: 90px;
  justify-content: flex-start;
  letter-spacing: 0.02em;
}
.input-group .form-control { border-left: none; }

.btn-submit {
  color: var(--invert);
  background: transparent;
  border: 1px solid rgba(255,255,255,.5);
  padding: 14px 28px;
  font-size: 14px;
  font-weight: 500;
  border-radius: var(--r-pill);
  font-family: var(--sans);
  letter-spacing: -0.005em;
  transition: background .2s var(--ease), color .2s var(--ease);
}
.btn-submit:hover {
  color: var(--ink);
  background: var(--invert);
  border-color: var(--invert);
}

.terms {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,.5);
  margin-top: 16px;
}

/* invalid feedback */
.invalid-feedback {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  color: #ff8a80;
}
.is-invalid {
  border-color: #ff8a80 !important;
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: var(--ink);
  color: var(--bg);
  padding: 24px 0 !important;
}
footer p {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.6);
}

/* ─── BACK TO TOP ────────────────────────────────────────────────── */
.btn-back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  background: var(--ink);
  color: var(--bg);
  border: 1px solid var(--ink);
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  z-index: 1000;
  transition: background 0.3s, color 0.3s;
}
.btn-back-to-top:hover { background: var(--bg); color: var(--ink); }

/* ─── MODAL (FAQ + success) ──────────────────────────────────────── */
.modal-content {
  border-radius: var(--r-card) !important;
  border: none;
  background: var(--bg);
}
.modal-header { border: 0 !important; padding: 24px 24px 0; }
.modal-title {
  font-family: var(--sans);
  font-weight: 300;
  font-size: clamp(28px, 3vw, 42px);
  letter-spacing: -0.03em;
  color: var(--ink);
}
.btn-close {
  font-size: 0.8rem !important;
  opacity: .6;
}

/* FAQ accordion */
.modal-body h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3) !important;
  text-align: left !important;
  padding: 32px 0 12px;
  margin: 0;
  border-top: 1px solid var(--rule);
}
.modal-body h5:first-of-type { border-top: none; padding-top: 16px; }

.accordion {
  --bs-accordion-active-color: var(--ink);
  --bs-accordion-active-bg: transparent;
}
.accordion-item {
  border: none !important;
  border-bottom: 1px solid var(--rule) !important;
  border-radius: 0 !important;
  background: transparent !important;
  padding: 0 !important;
}
.accordion-button {
  background: transparent !important;
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  color: var(--ink) !important;
  padding: 18px 0 !important;
  letter-spacing: -0.01em;
}
.accordion-button:focus { box-shadow: none; }
.accordion-button::after,
.accordion-button:not(.collapsed)::after {
  background-image: none !important;
}
.accordion-button::after {
  content: "+";
  font-family: var(--mono);
  font-size: 20px;
  font-weight: 300;
  width: auto;
  height: auto;
  line-height: 1;
  color: var(--ink-3);
  transform: none !important;
  transition: transform .2s var(--ease);
}
.accordion-button:not(.collapsed)::after { content: "-"; color: var(--ink); }
.accordion-body {
  color: var(--ink-2) !important;
  font-size: 14px;
  line-height: 1.6;
  padding: 0 0 18px !important;
}

/* ─── HELPERS ────────────────────────────────────────────────────── */
.p-custom { letter-spacing: 0; }
.text-black { color: var(--ink) !important; }

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
  /* NAV — delicate mobile style (1x.tech/neo inspired) */
  .navbar { padding: 18px 0 !important; }
  .navbar-logo { height: 22px; }

  .navbar-toggler {
    border: none !important;
    background: transparent !important;
    padding: 10px !important;
    box-shadow: none !important;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .navbar-toggler:focus { box-shadow: none !important; outline: none; }
  .navbar-toggler-icon {
    background-image: none !important;
    width: 22px;
    height: 10px;
    position: relative;
  }
  .navbar-toggler-icon::before,
  .navbar-toggler-icon::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(255,255,255,.85);
    transition: transform .3s var(--ease), top .3s var(--ease), background .2s var(--ease);
  }
  .navbar-toggler-icon::before { top: 0; }
  .navbar-toggler-icon::after { top: 9px; }
  .scrolled .navbar-toggler-icon::before,
  .scrolled .navbar-toggler-icon::after { background: var(--ink); }

  /* Fullscreen panel */
  .navbar-collapse {
    position: fixed !important;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100svh !important;
    background: var(--bg) !important;
    backdrop-filter: none !important;
    padding: 96px 32px 48px;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    z-index: 1055;
    transform: translateX(100%);
    transition: transform 0.45s var(--ease), visibility 0s linear 0.45s;
    display: flex !important;
    visibility: hidden;
  }
  .navbar-collapse.show {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.45s var(--ease), visibility 0s linear 0s;
  }
  .navbar-collapse .navbar-nav {
    margin: 0 !important;
    gap: 0 !important;
    border-top: 1px solid var(--rule);
    width: 100%;
  }
  .navbar-collapse .nav-item { width: 100%; }
  .navbar-collapse .nav-link {
    color: var(--ink) !important;
    font-family: var(--sans);
    font-size: clamp(26px, 7vw, 40px);
    font-weight: 300;
    letter-spacing: -0.03em;
    line-height: 1.1;
    padding: 22px 0 !important;
    border-bottom: 1px solid var(--rule);
    width: 100%;
    text-align: left;
    transition: opacity .2s var(--ease), padding-left .3s var(--ease);
  }
  .navbar-collapse .nav-link:hover { padding-left: 8px; }

  .navbar-collapse .nav-btns {
    opacity: 1 !important;
    pointer-events: auto !important;
    transform: none !important;
    display: grid;
    grid-template-columns: auto 1fr;
    grid-template-areas:
      "btn lang"
      "micro micro";
    align-items: center;
    column-gap: 16px;
    row-gap: 14px;
    margin-top: 24px;
    width: 100%;
  }
  .navbar-collapse .nav-cta { display: contents; }
  .navbar-collapse .btn-navbar { grid-area: btn; justify-self: start; }
  .navbar-collapse .lang-switch { grid-area: lang; justify-self: end; }
  .navbar-collapse .nav-microcopy {
    position: static;
    display: block;
    grid-area: micro;
    width: auto;
    margin: 0;
    font-family: var(--sans);
    font-size: 13px;
    line-height: 1.5;
    color: rgba(17, 17, 16, 0.55);
    max-width: 42ch;
    text-align: left;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }
  .navbar-collapse .btn-navbar {
    flex: 0 0 auto;
    border-color: rgba(17,17,16,.2) !important;
    color: var(--ink) !important;
    font-size: 12px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 10px 20px !important;
  }
  .navbar-collapse .btn-navbar:hover {
    background: var(--ink) !important;
    color: var(--bg) !important;
    border-color: var(--ink) !important;
  }
  .navbar-collapse .lang-switch {
    margin: 0;
    color: var(--ink);
    font-size: 12px;
    letter-spacing: 0.12em;
  }
  .navbar-collapse .lang-switch .lang-option { color: var(--ink-3); }
  .navbar-collapse .lang-switch .lang-option.active { color: var(--ink); }
  .navbar-collapse .lang-switch .lang-divider { color: var(--ink-3); }

  .nav-close-btn {
    position: absolute;
    top: 22px;
    right: 24px;
    background: none;
    border: none;
    font-size: 0;
    cursor: pointer;
    color: var(--ink);
    line-height: 1;
    width: 40px;
    height: 40px;
    padding: 0;
  }
  .nav-close-btn::before,
  .nav-close-btn::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 22px;
    height: 1px;
    background: var(--ink);
    transform-origin: center;
  }
  .nav-close-btn::before { transform: translate(-50%, -50%) rotate(45deg); }
  .nav-close-btn::after { transform: translate(-50%, -50%) rotate(-45deg); }

  /* HERO — centered, refined on mobile */
  .hero-wordmark { font-size: 38vw; }
  .hero-container {
    align-items: center;
    text-align: center;
  }
  .hero-top {
    flex-direction: column;
    gap: 10px;
    align-items: center;
  }
  .hero-eyebrow,
  .hero-eyebrow-right { text-align: center; }
  .hero-foot {
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100%;
  }
  .hero-tag {
    max-width: 28ch;
    margin: 0 auto;
    text-align: center;
    text-wrap: balance;
  }
  .hero-actions {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .brands-strip { padding: 20px 0 26px; }
  .brands-strip-inner { flex-direction: column; gap: 14px; align-items: stretch; }
  .brands-strip-label { text-align: center; font-size: 10px; }
  .brands-strip-track { gap: 44px; animation-duration: 26s; }
  .brands-strip-track img { height: 32px; }
}
@media (min-width: 768px) and (max-width: 991.98px) {
  .brands-strip-track { gap: 56px; animation-duration: 32s; }
  .brands-strip-track img { height: 38px; }
}

/* ── HERO H1 responsive sizes ───────────────────────────────── */
@media (max-width: 1199.98px) {
  .hero-h1 { font-size: 34px; }
}
/* Tablet portrait + mobile: stack centered */
@media (max-width: 991.98px) {
  .hero-bottom {
    flex-direction: column;
    align-items: center;
    gap: 22px;
  }
  .hero-bottom-left {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    text-align: center;
  }
  .hero-bottom-left .hero-h1,
  .hero-bottom-left .hero-subheader {
    text-align: center;
    width: 100%;
  }
  .hero-bottom-right {
    align-items: center;
    width: 100%;
    max-width: 100%;
    gap: 12px;
  }
  .hero-subheader { max-width: 42ch; margin-left: auto; margin-right: auto; }
  .hero-microcopy { text-align: center; max-width: 42ch; margin-left: auto; margin-right: auto; }
  .hero-actions { width: auto; justify-content: center; }
}
/* Mobile-only smaller sizes */
@media (max-width: 767.98px) {
  .hero-h1 { font-size: 26px; }
  .hero-subheader { font-size: 15px; max-width: 36ch; }
  .hero-microcopy { max-width: 36ch; }
}

@media (min-width: 992px) {
  .nav-close-btn { display: none; }
  .navbar-collapse {
    background: transparent !important;
    backdrop-filter: none !important;
  }
}

@media (max-width: 768px) {
  :root { --slide-width: 85%; --slide-gap: 8px; }
  section, .section-padding { padding: 64px 0; }
  #faq { padding: 80px 0 0; }
  .spec-section { padding: 64px 0; }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }
  .spec-note { text-align: left; }

  .hero-container { padding-top: 80px; padding-bottom: 36px; }
  .hero-foot { padding-top: 16px; gap: 20px; }
  .hero-tag { font-size: 16px; line-height: 1.35; }
  .hero-actions { gap: 14px; }
  .hero-actions .btn-pill { padding: 14px 28px; font-size: 14px; }
  .hero-actions .tlink { font-size: 14px; }

  .service-item { flex-direction: column; }

  .carousel-top-caption {
    top: 1rem;
    padding: 8px 14px;
    gap: 10px;
    min-width: 220px;
    max-width: 90vw;
  }
  .carousel-category { font-size: 10px; }
  .nav-btn { font-size: 12px; }

  .carousel-caption { bottom: 0; padding-bottom: 40px; left: 0; right: 0; }
  .custom-caption { font-size: 1.6rem; margin-bottom: 8px; }
  .custom-carousel .carousel-item img {
    height: 60vh;
    object-fit: cover;
    object-position: 40% 10%;
  }
  .caption-p { font-size: 12px; padding-bottom: 0; max-width: 90%; margin: 8px auto 0; }

  .video-preview, .video-preview2 { height: 320px; border-radius: var(--r-big); }
}

@media (max-width: 480px) {
  :root { --slide-width: 92%; --slide-gap: 6px; }
  .carousel-slide:not(.active) { transform: scale(0.94); opacity: 0.45; }
}

/* ─── INDUSTRIES SHOWCASE ──────────────────────────────────────────── */
:root {
  --industry-construction-image: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  --industry-renovation-image:   linear-gradient(135deg, #1a1a1a, #0a0a0a);
  --industry-medspa-image:       linear-gradient(135deg, #1a1a1a, #0a0a0a);
  --industry-realestate-image:   linear-gradient(135deg, #1a1a1a, #0a0a0a);
  --industry-media-image:        linear-gradient(135deg, #1a1a1a, #0a0a0a);
  --industry-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --industry-serif: Georgia, 'Times New Roman', serif;
}

.industries {
  background: var(--bg);
  padding: 120px 0 0;
  position: relative;
}

.industries-intro {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px 56px;
  text-align: center;
}

.industries-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin: 0 0 24px;
}

.industries-h2 {
  font-family: var(--sans) !important;
  font-size: clamp(40px, 5.5vw, 72px);
  font-weight: 300 !important;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--ink);
  max-width: 16ch;
  margin: 0 auto 24px;
  text-wrap: balance;
}

.industries-sub {
  font-family: var(--sans);
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 62ch;
  margin: 0 auto;
}

.industries-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  padding: 0 48px 56px;
  max-width: 1320px;
  margin: 0 auto;
}

.industries-tab {
  padding: 12px 22px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: pointer;
  background: transparent;
  color: var(--ink);
  border: 1px solid rgba(17, 17, 16, 0.15);
  transition: border-color 200ms ease, background 200ms ease, color 200ms ease;
  white-space: nowrap;
}
.industries-tab:hover { border-color: rgba(17, 17, 16, 0.35); }
.industries-tab.active {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.industries-tab:focus-visible { outline: 2px solid var(--ink); outline-offset: 2px; }

.industries-panels {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 48px;
}

.industries-panel {
  display: none;
}
.industries-panel.active {
  display: block;
  animation: industryPanelIn 300ms ease-out forwards;
}
@keyframes industryPanelIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.industry-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #1a1a1a, #0a0a0a);
  background-size: cover;
  background-position: center;
}
.industry-image[data-industry="construction"] { background-image: var(--industry-construction-image); }
.industry-image[data-industry="renovation"]   { background-image: var(--industry-renovation-image); }
.industry-image[data-industry="medspa"]       { background-image: var(--industry-medspa-image); }
.industry-image[data-industry="realestate"]   { background-image: var(--industry-realestate-image); }
.industry-image[data-industry="media"]        { background-image: var(--industry-media-image); }

.industry-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

.industry-image-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 56px;
  z-index: 1;
  max-width: 760px;
}

.industry-image-eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 16px;
}

.industry-image-title {
  font-family: var(--sans) !important;
  font-size: clamp(32px, 3.6vw, 52px);
  font-weight: 300 !important;
  letter-spacing: -0.025em;
  line-height: 1.04;
  color: var(--bg);
  margin: 0 0 14px;
}

.industry-image-sub {
  font-family: var(--sans);
  font-size: clamp(15px, 1.2vw, 18px);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.82);
  max-width: 62ch;
  margin: 0;
}

.industry-features {
  margin: 0 !important;
  padding: 24px 0 96px !important;
}
.industry-features > .col-md-4 { text-align: left; }
.industry-features .service-item { height: 100%; }

.industries-cta {
  max-width: 860px;
  margin: 0 auto;
  padding: 48px 48px 160px;
  text-align: center;
}

.industries-cta-microcopy {
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink-2);
  margin: 0 0 32px;
}

.industries-cta-row {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.industries-cta-primary {
  background: var(--ink);
  color: var(--bg);
  padding: 16px 32px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border: 1px solid var(--ink);
  transition: background 200ms ease, color 200ms ease;
}
.industries-cta-primary:hover { background: transparent; color: var(--ink); }

.industries-cta-secondary {
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 500;
  color: rgba(17, 17, 16, 0.8);
  border-bottom: 1px solid rgba(17, 17, 16, 0.3);
  padding-bottom: 3px;
  text-decoration: none;
  transition: color 200ms ease, border-color 200ms ease;
}
.industries-cta-secondary:hover { color: var(--ink); border-color: var(--ink); }

/* Entrance cascade */
.ind-fade {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 700ms var(--industry-ease), transform 700ms var(--industry-ease);
  transition-delay: 0ms;
}
.industries.in-view .ind-fade { opacity: 1; transform: translateY(0); }
.industries.in-view .ind-fade[data-delay="150"] { transition-delay: 150ms; }
.industries.in-view .ind-fade[data-delay="300"] { transition-delay: 300ms; }
.industries.in-view .ind-fade[data-delay="450"] { transition-delay: 450ms; }
.industries.in-view .ind-fade[data-delay="600"] { transition-delay: 600ms; }

/* Responsive */
@media (min-width: 768px) and (max-width: 1023px) {
  .industry-image-title { font-size: 32px; }
}
@media (max-width: 767px) {
  .industries { padding-top: 72px; }
  .industries-intro { padding: 0 24px 40px; }
  .industries-tabs {
    padding: 0 20px 40px;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .industries-tabs::-webkit-scrollbar { display: none; }
  .industries-tab { flex-shrink: 0; }
  .industries-panels { padding: 0 20px; }
  .industry-image-content { padding: 28px; max-width: 100%; }
  .industry-image-title { font-size: 26px; }
  .industry-features { padding: 16px 0 56px !important; }
  .industries-cta { padding: 32px 24px 96px; }
  .industries-cta-microcopy { font-size: 15px; }
}
