:root {
  --blue: #004cf7;
  --lime: #cff700;
  --lime-soft: #c4d73f;
  --ink: #1a1a1a;
  --muted: #5d6470;
  --line: rgba(26, 26, 26, 0.12);
  --paper: #f7f8f2;
  --white: #ffffff;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --shadow: 0 24px 70px rgba(0, 76, 247, 0.16);
  --shadow-dark: 0 28px 90px rgba(0, 0, 0, 0.20);
  --font-display: "Cocogoose", "Arial Rounded MT Bold", "Avenir Next", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-body: "Avenir Next", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  overflow-x: hidden;
  padding-top: 84px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

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

.container {
  width: min(1160px, calc(100% - 40px));
  margin-inline: auto;
}

.section {
  position: relative;
  padding: clamp(74px, 9vw, 132px) 0;
}

.section.compact {
  padding: clamp(50px, 7vw, 88px) 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 0 0 18px;
  color: var(--blue);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  line-height: 1.15;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 12px;
  height: 12px;
  flex: 0 0 12px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: none;
}

h1,
h2,
h3,
h4 {
  margin: 0;
  font-family: var(--font-display);
  line-height: 0.98;
  letter-spacing: -0.045em;
}

h1 {
  font-size: clamp(3.1rem, 8.2vw, 7.8rem);
  max-width: 1040px;
}

h2 {
  font-size: clamp(2.2rem, 5.8vw, 5rem);
}

h3 {
  font-size: clamp(1.45rem, 3.5vw, 2.55rem);
}

p {
  margin: 0;
  color: var(--muted);
}

.lead {
  color: rgba(26, 26, 26, 0.72);
  font-size: clamp(1.02rem, 1.9vw, 1.3rem);
  max-width: 690px;
}

.text-white,
.text-white p,
.text-white .lead {
  color: rgba(255, 255, 255, 0.82);
}

.text-white h1,
.text-white h2,
.text-white h3,
.text-white .eyebrow {
  color: #fff;
}

.text-white .eyebrow::before {
  background: var(--lime);
}

.highlight {
  color: var(--blue);
}

.highlight-lime {
  color: var(--lime);
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  width: 100%;
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
  background: rgba(247, 248, 242, 0.98);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(26, 26, 26, 0.10);
  box-shadow: 0 16px 48px rgba(26, 26, 26, 0.08);
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 84px;
  gap: clamp(12px, 2vw, 26px);
}

.logo-link {
  display: inline-flex;
  align-items: center;
  width: clamp(172px, 18vw, 220px);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  flex: 1 1 auto;
}

.nav a {
  position: relative;
  padding: 12px clamp(8px, 1vw, 14px);
  color: rgba(26, 26, 26, 0.78);
  font-size: clamp(0.82rem, 0.85vw, 0.95rem);
  font-weight: 800;
  white-space: nowrap;
  transition: color 0.22s ease;
}

.nav a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 6px;
  height: 4px;
  border-radius: 999px;
  background: var(--lime);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--blue);
}

.nav a:hover::after,
.nav a.is-active::after {
  transform: scaleX(1);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  font-weight: 850;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.06);
}

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 14px 22px;
  border-radius: 999px;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 800;
  font-variant-ligatures: none;
  text-transform: none;
  letter-spacing: -0.012em;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(255,255,255,0.0), rgba(255,255,255,0.42), rgba(255,255,255,0.0));
  transform: translateX(-120%);
  transition: transform 0.55s ease;
}

.btn:hover {
  transform: translate3d(0, -3px, 0);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  color: var(--ink);
  background: var(--lime);
  box-shadow: 0 20px 52px rgba(207, 247, 0, 0.25);
}

.btn-dark {
  color: #fff;
  background: var(--ink);
}

.btn-outline {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(0, 76, 247, 0.22);
}

.btn-blue {
  color: #fff;
  background: var(--blue);
  box-shadow: 0 20px 52px rgba(0, 76, 247, 0.23);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--ink);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.menu-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(72px, 10vw, 140px) 0 clamp(76px, 10vw, 150px);
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
}

.hero.short {
  min-height: 520px;
  padding: clamp(88px, 11vw, 150px) 0 clamp(70px, 8vw, 120px);
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

.hero::before {
  width: 52vw;
  height: 52vw;
  right: -22vw;
  top: -18vw;
  background: radial-gradient(circle, rgba(207, 247, 0, 0.58), rgba(207, 247, 0, 0.16) 45%, rgba(207, 247, 0, 0) 68%);
}

.hero::after {
  width: 44vw;
  height: 44vw;
  left: -24vw;
  bottom: -24vw;
  background: radial-gradient(circle, rgba(0, 76, 247, 0.28), rgba(0, 76, 247, 0.08) 48%, rgba(0, 76, 247, 0) 72%);
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  align-items: center;
  gap: clamp(38px, 6vw, 92px);
}

.hero-copy {
  display: grid;
  gap: 26px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 4px;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--blue);
  font-weight: 950;
}

.hero-kicker .wave-mark {
  width: 58px;
  height: 16px;
  color: var(--blue);
}

.hero-visual {
  position: relative;
  min-height: 520px;
}

.foam-stage {
  position: absolute;
  inset: 0;
  border-radius: 42px;
  background: linear-gradient(150deg, rgba(255,255,255,0.88), rgba(255,255,255,0.55));
  border: 1px solid rgba(0, 76, 247, 0.12);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.foam-stage::before {
  content: "";
  position: absolute;
  inset: 22px;
  border: 2px solid rgba(0, 76, 247, 0.08);
  border-radius: 32px;
}

.foam-object {
  position: absolute;
  width: 58%;
  min-height: 130px;
  border-radius: 30px;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.18);
  transform: translate3d(0, 0, 0) rotate(-6deg);
}

.foam-object.blue {
  right: 7%;
  top: 18%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.32), rgba(255,255,255,0) 38%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 8px, rgba(0,0,0,0) 8px 20px),
    var(--blue);
}

.foam-object.lime {
  left: 8%;
  top: 39%;
  width: 66%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.46), rgba(255,255,255,0) 34%),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.15) 0 5px, rgba(0,0,0,0) 5px 14px),
    var(--lime-soft);
  transform: rotate(5deg);
}

.foam-object.dark {
  right: 12%;
  bottom: 16%;
  width: 52%;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0) 42%),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.06) 0 6px, rgba(0,0,0,0) 6px 18px),
    var(--ink);
  transform: rotate(8deg);
}

.measure-line {
  position: absolute;
  left: 9%;
  right: 9%;
  bottom: 9%;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(26, 26, 26, 0.55);
  font-weight: 900;
}

.measure-line::before,
.measure-line::after {
  content: "";
  height: 2px;
  flex: 1;
  background: linear-gradient(90deg, rgba(0,76,247,0), rgba(0,76,247,0.5), rgba(0,76,247,0));
}

.floating-badge {
  position: absolute;
  display: grid;
  gap: 4px;
  padding: 16px 18px;
  border-radius: 22px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-dark);
}

.floating-badge strong {
  color: var(--lime);
  font-size: 1.5rem;
  line-height: 1;
}

.floating-badge span {
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.85rem;
  font-weight: 800;
}

.badge-a {
  left: -18px;
  top: 12%;
}

.badge-b {
  right: -18px;
  bottom: 24%;
  background: var(--blue);
}

.page-hero-card {
  position: relative;
  z-index: 2;
  padding: clamp(38px, 7vw, 80px);
  border-radius: clamp(28px, 5vw, 54px);
  background: var(--blue);
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.page-hero-card::before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  right: -220px;
  top: -260px;
  border-radius: 999px;
  background: rgba(207, 247, 0, 0.55);
}

.page-hero-card::after {
  content: "";
  position: absolute;
  left: 34px;
  bottom: 28px;
  width: 128px;
  height: 18px;
  background: radial-gradient(circle at 9px 9px, var(--lime) 0 8px, transparent 9px) 0 0/36px 18px repeat-x;
  opacity: 0.65;
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  display: grid;
  gap: 18px;
}

.page-hero-content .lead {
  color: rgba(255, 255, 255, 0.82);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1fr);
  gap: clamp(36px, 6vw, 88px);
  align-items: center;
}

.section-head {
  display: grid;
  gap: 18px;
  margin-bottom: clamp(36px, 6vw, 72px);
}

.section-head.center {
  text-align: center;
  justify-items: center;
}

.grid {
  display: grid;
  gap: 22px;
}

.grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  position: relative;
  overflow: hidden;
  min-height: 100%;
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.06);
  transform: translate3d(0, 0, 0);
}

.card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 76, 247, 0.09), rgba(207, 247, 0, 0.13));
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover::before {
  opacity: 1;
}

.card > * {
  position: relative;
  z-index: 2;
}

.icon-box {
  width: 70px;
  height: 70px;
  border-radius: 22px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(207, 247, 0, 0.72), rgba(255,255,255,0.86));
  border: 1px solid rgba(0,76,247,0.12);
  box-shadow: 0 18px 46px rgba(0, 76, 247, 0.10);
}

.card h3 {
  margin-bottom: 14px;
  font-size: clamp(1.5rem, 2.6vw, 2.2rem);
}

.card p {
  font-size: 1rem;
}

.card.dark {
  background: var(--ink);
  color: #fff;
}

.card.dark p {
  color: rgba(255, 255, 255, 0.72);
}

.card.blue {
  background: var(--blue);
  color: #fff;
}

.card.blue p {
  color: rgba(255, 255, 255, 0.78);
}

.card.lime {
  background: var(--lime);
}


.flat-icon {
  width: 58px;
  height: 58px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  color: var(--blue);
  background: linear-gradient(135deg, rgba(207, 247, 0, 0.74), rgba(255, 255, 255, 0.82));
  border: 1px solid rgba(0, 76, 247, 0.13);
  box-shadow: 0 16px 40px rgba(0, 76, 247, 0.12);
  transform: translate3d(0,0,0);
}

.flat-icon svg {
  width: 38px;
  height: 38px;
  overflow: visible;
}

.icon-fill-soft {
  fill: currentColor;
  opacity: 0.13;
}

.icon-line {
  fill: none;
  stroke: currentColor;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-draw {
  stroke-dasharray: 180;
  stroke-dashoffset: 0;
}

.icon-pop {
  transform-origin: center;
}

.animated-icon {
  animation: iconFloat 4.8s ease-in-out infinite;
}

.animated-icon .icon-draw {
  animation: iconDraw 4.8s ease-in-out infinite;
}

.animated-icon .icon-pop {
  animation: iconPop 4.8s ease-in-out infinite;
}

.icon-invert {
  color: #fff;
  background: rgba(255,255,255,0.13);
  border-color: rgba(255,255,255,0.22);
  box-shadow: none;
}

.icon-invert .icon-fill-soft {
  fill: var(--lime);
  opacity: 0.26;
}

.product-icon,
.industry-icon {
  position: absolute;
  right: 22px;
  top: 22px;
  z-index: 3;
  width: 68px;
  height: 68px;
}

.industry-icon {
  right: 20px;
  top: 20px;
}

.mini-icon {
  width: 44px;
  height: 44px;
  border-radius: 15px;
  box-shadow: none;
}

.mini-icon svg {
  width: 28px;
  height: 28px;
}

@keyframes iconFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -6px, 0) rotate(-2deg); }
}

@keyframes iconDraw {
  0%, 100% { stroke-dashoffset: 0; }
  50% { stroke-dashoffset: 28; }
}

@keyframes iconPop {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.76; }
}

.product-card {
  display: grid;
  min-height: 420px;
  padding: 0;
}

.product-visual {
  position: relative;
  min-height: 210px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0,76,247,0.15), rgba(207,247,0,0.16));
}

.product-visual::before,
.product-visual::after {
  content: "";
  position: absolute;
  border-radius: 26px;
  transform: rotate(-8deg);
}

.product-visual::before {
  width: 68%;
  height: 96px;
  left: 12%;
  top: 42px;
  background: var(--blue);
  box-shadow: 0 22px 60px rgba(0, 76, 247, 0.24);
}

.product-visual::after {
  width: 48%;
  height: 82px;
  right: 12%;
  bottom: 36px;
  background: var(--lime);
  transform: rotate(7deg);
}

.product-card:nth-child(2) .product-visual::before {
  background: var(--ink);
}

.product-card:nth-child(2) .product-visual::after {
  background: var(--blue);
}

.product-card:nth-child(3) .product-visual::before {
  background: var(--lime-soft);
}

.product-card:nth-child(3) .product-visual::after {
  background: var(--ink);
}

.product-content {
  padding: 28px;
}

.product-content h3 {
  font-size: clamp(1.45rem, 2.8vw, 2.15rem);
  margin-bottom: 12px;
}

.industry-card {
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.industry-illustration {
  position: relative;
  height: 160px;
  border-radius: 24px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(0, 76, 247, 0.12), rgba(207, 247, 0, 0.18));
  border: 1px solid rgba(0, 76, 247, 0.08);
}

.industry-illustration::before {
  content: "";
  position: absolute;
  width: 70%;
  height: 70px;
  left: 13%;
  top: 46px;
  border-radius: 20px;
  background: var(--blue);
  transform: rotate(-5deg);
  box-shadow: 0 22px 40px rgba(0, 76, 247, 0.24);
}

.industry-illustration::after {
  content: "";
  position: absolute;
  width: 42%;
  height: 58px;
  right: 12%;
  bottom: 18px;
  border-radius: 18px;
  background: var(--lime);
  transform: rotate(8deg);
}

.industry-card:nth-child(even) .industry-illustration::before {
  background: var(--ink);
}

.industry-card:nth-child(3n) .industry-illustration::after {
  background: var(--lime-soft);
}

.spec-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.spec-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: rgba(26, 26, 26, 0.76);
  font-weight: 750;
}

.spec-list li::before {
  content: "";
  flex: 0 0 13px;
  width: 13px;
  height: 13px;
  margin-top: 7px;
  border-radius: 999px;
  background: var(--lime);
  box-shadow: 0 0 0 5px rgba(207, 247, 0, 0.28);
}

.band {
  position: relative;
  overflow: hidden;
  background: var(--blue);
  color: #fff;
}

.band::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 78% 10%, rgba(207, 247, 0, 0.42), transparent 32%),
    radial-gradient(circle at 7% 100%, rgba(255,255,255,0.16), transparent 28%);
}

.band .container {
  position: relative;
  z-index: 2;
}

.band p {
  color: rgba(255, 255, 255, 0.78);
}

.process-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.process-step {
  position: relative;
  padding: 26px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.process-step span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
}

.process-step h3 {
  margin-bottom: 10px;
  font-size: 1.35rem;
}

.density-panel {
  padding: clamp(26px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: var(--shadow);
}

.density-bars {
  display: grid;
  gap: 16px;
  margin-top: 28px;
}

.density-bar {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: 18px;
  font-weight: 900;
}

.density-bar i {
  display: block;
  height: 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--lime));
  transform-origin: left;
}

.presentation-card {
  display: grid;
  place-items: center;
  min-height: 220px;
  text-align: center;
}

.presentation-card h3 {
  position: relative;
}

.presentation-card h3::after {
  content: "";
  display: block;
  width: 64px;
  height: 7px;
  border-radius: 999px;
  margin: 18px auto 0;
  background: var(--lime);
}

.about-visual {
  position: relative;
  min-height: 430px;
  border-radius: 38px;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(0,76,247,0.16), rgba(207,247,0,0.22)),
    var(--white);
  border: 1px solid rgba(0, 76, 247, 0.12);
  box-shadow: var(--shadow);
}

.about-visual::before,
.about-visual::after {
  content: "";
  position: absolute;
  border-radius: 30px;
  background: var(--blue);
}

.about-visual::before {
  width: 66%;
  height: 110px;
  left: 10%;
  top: 24%;
  transform: rotate(-7deg);
}

.about-visual::after {
  width: 56%;
  height: 95px;
  right: 8%;
  bottom: 22%;
  background: var(--lime);
  transform: rotate(8deg);
}

.counter-card {
  position: absolute;
  left: 28px;
  bottom: 28px;
  padding: 20px 24px;
  border-radius: 24px;
  background: var(--ink);
  color: #fff;
  box-shadow: var(--shadow-dark);
}

.counter-card strong {
  display: block;
  color: var(--lime);
  font-size: clamp(2.8rem, 6vw, 4.6rem);
  line-height: 0.9;
  font-family: var(--font-display);
}

.differentials {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.diff-pill {
  padding: 20px;
  min-height: 104px;
  border-radius: 22px;
  display: grid;
  align-items: end;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.10);
  font-weight: 950;
  font-size: 1.14rem;
  color: var(--ink);
}

.diff-pill:nth-child(2),
.diff-pill:nth-child(3) {
  background: var(--lime);
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(320px, 1fr);
  gap: clamp(34px, 6vw, 74px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 18px;
}

.info-card {
  display: flex;
  gap: 16px;
  padding: 20px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 16px 48px rgba(0,0,0,0.05);
}

.info-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
}

.info-card strong {
  display: block;
  margin-bottom: 2px;
}

.info-card p,
.info-card a {
  color: rgba(26,26,26,0.68);
  font-weight: 750;
}

.form-card {
  padding: clamp(24px, 4vw, 42px);
  border-radius: var(--radius-xl);
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.form-card p {
  color: rgba(255,255,255,0.72);
  margin-top: 8px;
}

.form {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.form-field {
  display: grid;
  gap: 8px;
}

.form label {
  font-size: 0.86rem;
  color: rgba(255,255,255,0.78);
  font-weight: 850;
}

.form input,
.form textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 18px;
  padding: 15px 16px;
  color: #fff;
  background: rgba(255,255,255,0.12);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.form textarea {
  min-height: 132px;
  resize: vertical;
}

.form input::placeholder,
.form textarea::placeholder {
  color: rgba(255,255,255,0.58);
}

.form input:focus,
.form textarea:focus {
  border-color: var(--lime);
  background: rgba(255,255,255,0.16);
}

.form .btn {
  justify-self: start;
  margin-top: 8px;
}

.map-card {
  min-height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  background:
    linear-gradient(135deg, rgba(26,26,26,0.18), rgba(0,76,247,0.16)),
    repeating-linear-gradient(0deg, rgba(26,26,26,0.06) 0 1px, transparent 1px 34px),
    repeating-linear-gradient(90deg, rgba(26,26,26,0.05) 0 1px, transparent 1px 34px),
    #fff;
  border: 1px solid rgba(26,26,26,0.08);
  display: grid;
  place-items: center;
  box-shadow: 0 18px 58px rgba(0,0,0,0.06);
}

.map-pin {
  display: grid;
  place-items: center;
  width: 86px;
  height: 86px;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow);
}

.map-pin::after {
  content: "";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  background: var(--lime);
}


.process-step .flat-icon {
  margin: 18px 0 18px;
}

.presentation-card .flat-icon,
.value-card .flat-icon {
  margin-bottom: 18px;
}

.card.blue .icon-box {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.22);
}

.card.blue .icon-box .flat-icon {
  color: #fff;
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.24);
  box-shadow: none;
}

.map-frame {
  display: block;
  padding: 0;
  background: #fff;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 380px;
  height: 100%;
  border: 0;
  filter: saturate(1.05) contrast(1.02);
}

.info-card .info-icon {
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  display: grid;
  place-items: center;
}

.info-card .info-icon .flat-icon {
  width: 52px;
  height: 52px;
}

.cta-block {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
  padding: clamp(28px, 5vw, 56px);
  border-radius: clamp(28px, 5vw, 48px);
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  position: relative;
}

.cta-block::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -210px;
  top: -210px;
  border-radius: 999px;
  background: rgba(207, 247, 0, 0.34);
}

.cta-block > * {
  position: relative;
  z-index: 2;
}

.cta-block p {
  color: rgba(255,255,255,0.74);
  max-width: 700px;
  margin-top: 12px;
}

.footer {
  padding: 56px 0 30px;
  background: var(--ink);
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(180px, 0.9fr) minmax(140px, 0.5fr) minmax(180px, 0.7fr) minmax(220px, 0.9fr);
  gap: 32px;
  align-items: start;
}

.footer-logo {
  width: 210px;
  margin-bottom: 20px;
}

.footer p,
.footer a {
  color: rgba(255,255,255,0.70);
}

.footer h3 {
  color: #fff;
  font-size: 1.1rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.footer-links {
  display: grid;
  gap: 8px;
}

.socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.socials a {
  width: 38px;
  height: 38px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.10);
  color: #fff;
  font-weight: 950;
  transition: transform 0.2s ease, background 0.2s ease;
}

.socials a:hover {
  transform: translate3d(0, -3px, 0);
  background: var(--blue);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding-top: 30px;
  margin-top: 38px;
  border-top: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.58);
  font-size: 0.92rem;
}

.marquee {
  width: 100%;
  overflow: hidden;
  border-block: 1px solid rgba(26, 26, 26, 0.08);
  background: var(--lime);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 28px;
  padding: 18px 0;
  color: var(--ink);
  font-family: var(--font-display);
  font-weight: 950;
  font-size: clamp(1.05rem, 2vw, 1.6rem);
  letter-spacing: -0.03em;
  white-space: nowrap;
  will-change: transform;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 28px;
}

.marquee-track span::after {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: var(--blue);
}

[data-reveal],
[data-reveal-stagger] > * {
  transform: translate3d(0, 0, 0);
}

.skip-link {
  position: absolute;
  left: 20px;
  top: 10px;
  z-index: 100;
  padding: 10px 14px;
  border-radius: 10px;
  background: var(--ink);
  color: #fff;
  transform: translateY(-140%);
}

.skip-link:focus {
  transform: translateY(0);
}

.dev-credit {
  color: rgba(255, 255, 255, 0.82);
}

.dev-credit a {
  color: var(--lime);
  font-weight: 800;
}

.dev-credit a:hover {
  color: #fff;
}

@media (hover: hover) and (pointer: fine) {
  .card,
  .product-card,
  .industry-card,
  .info-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
  }

  .card:hover,
  .product-card:hover,
  .industry-card:hover,
  .info-card:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 24px 72px rgba(0, 76, 247, 0.14);
  }
}


@media (max-width: 1240px) {
  .phone-pill {
    display: none;
  }

  .nav a {
    padding-inline: 9px;
  }
}

@media (max-width: 1080px) and (min-width: 961px) {
  .header-cta .btn {
    min-height: 42px;
    padding: 10px 14px;
    font-size: 0.86rem;
  }

  .logo-link {
    width: 158px;
  }
}

@media (max-width: 1120px) {
  .header-cta .phone-pill {
    display: none;
  }

  .grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  body {
    padding-top: 74px;
  }

  .container {
    width: min(100% - 30px, 760px);
  }

  .nav-shell {
    min-height: 74px;
    gap: 14px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    inset: 74px 15px auto 15px;
    display: grid;
    gap: 4px;
    padding: 18px;
    border-radius: 24px;
    background: #fff;
    border: 1px solid rgba(26,26,26,0.08);
    box-shadow: 0 24px 70px rgba(0,0,0,0.16);
    transform: translate3d(0, -18px, 0);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

  .menu-open .nav {
    opacity: 1;
    transform: translate3d(0, 0, 0);
    pointer-events: auto;
  }

  .nav a {
    padding: 13px 14px;
    border-radius: 14px;
  }

  .nav a::after {
    display: none;
  }

  .nav a.is-active,
  .nav a:hover {
    background: rgba(0, 76, 247, 0.08);
  }

  .header-cta .btn {
    display: none;
  }

  .hero,
  .hero.short {
    min-height: auto;
    padding: 58px 0 76px;
  }

  .hero-grid,
  .split,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    min-height: 440px;
  }

  .grid.cols-3,
  .process-row,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-block {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(100% - 24px, 100%);
  }

  .section {
    padding: 66px 0;
  }

  .logo-link {
    width: 160px;
  }

  h1 {
    font-size: clamp(2.55rem, 15vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.45rem);
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .foam-object {
    min-height: 92px;
  }

  .floating-badge {
    transform: scale(0.85);
  }

  .badge-a {
    left: 10px;
    top: 10%;
  }

  .badge-b {
    right: 6px;
    bottom: 20%;
  }

  .grid.cols-2,
  .grid.cols-3,
  .grid.cols-4,
  .process-row,
  .footer-grid,
  .differentials {
    grid-template-columns: 1fr;
  }

  .density-bar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .product-card,
  .industry-card {
    min-height: auto;
  }

  .page-hero-card {
    padding: 32px 24px 54px;
  }

  .footer-bottom {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  .animated-icon,
  .animated-icon .icon-draw,
  .animated-icon .icon-pop {
    animation: none !important;
  }

  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@supports (-webkit-touch-callout: none) {
  .hero {
    min-height: -webkit-fill-available;
  }

  .form input,
  .form textarea {
    font-size: 16px;
  }
}


/* === Polyforma polish pass: responsive refinement === */
.header-cta .phone-pill,
.phone-pill {
  display: none !important;
}

.nav a {
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  font-weight: 760;
  text-transform: none;
  font-variant-ligatures: none;
  letter-spacing: -0.012em;
}

.header-cta {
  gap: 10px;
}

/* Compact custom-solution cards */
.band .grid.cols-2 {
  align-items: stretch;
}

.process-step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 10px 18px;
  align-items: start;
  min-height: 0;
  padding: clamp(20px, 2.3vw, 28px);
  border-radius: 26px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.10);
}

.process-step span {
  grid-column: 1;
  grid-row: 1;
  width: 44px;
  height: 44px;
  margin: 0;
}

.process-step .flat-icon {
  grid-column: 1;
  grid-row: 2 / span 2;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 18px;
}

.process-step .flat-icon svg {
  width: 32px;
  height: 32px;
}

.process-step h3 {
  grid-column: 2;
  grid-row: 1;
  align-self: end;
  margin: 0 0 2px;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  line-height: 1.02;
}

.process-step p {
  grid-column: 2;
  grid-row: 2 / span 2;
  font-size: 0.98rem;
  line-height: 1.55;
}

/* Products: density without empty graph box */
.density-section .section-head {
  max-width: 850px;
}

.density-chip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 34px;
}

.density-chip {
  position: relative;
  overflow: hidden;
  min-height: 250px;
  padding: clamp(22px, 3vw, 34px);
  border-radius: 30px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.18);
}

.density-chip::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 150px;
  height: 150px;
  border-radius: 38px;
  background: rgba(207,247,0,0.22);
  transform: rotate(10deg);
}

.density-chip span {
  display: inline-grid;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-bottom: 42px;
  border-radius: 999px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 950;
}

.density-chip h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.4vw, 2.05rem);
}

.density-chip p {
  color: rgba(255,255,255,0.78);
}

/* Products: better format cards */
.formats-section .section-head {
  max-width: 860px;
  margin-inline: auto;
}

.format-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.format-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  min-height: 245px;
  padding: clamp(24px, 3vw, 34px);
  border-radius: 32px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.06);
}

.format-card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -90px;
  bottom: -90px;
  border-radius: 999px;
  background: rgba(0,76,247,0.10);
}

.format-card .flat-icon,
.diff-card .flat-icon {
  margin: 0;
}

.format-card h3 {
  margin-bottom: 10px;
  font-size: clamp(1.45rem, 2.5vw, 2rem);
}

.format-card p {
  font-size: 1rem;
  line-height: 1.55;
}

.lime-format {
  background: var(--lime);
}

.blue-format {
  background: var(--blue);
  color: #fff;
}

.blue-format p {
  color: rgba(255,255,255,0.78);
}

/* Nosotros: refined differentials */
.about-diff-section {
  background: linear-gradient(180deg, rgba(0,76,247,0.04), rgba(207,247,0,0.08));
}

.differential-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.diff-card {
  position: relative;
  overflow: hidden;
  min-height: 265px;
  padding: clamp(22px, 2.6vw, 30px);
  border-radius: 30px;
  background: #fff;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 18px 58px rgba(0, 0, 0, 0.06);
}

.diff-card::after {
  content: "";
  position: absolute;
  right: -46px;
  top: -46px;
  width: 140px;
  height: 140px;
  border-radius: 34px;
  background: rgba(0,76,247,0.09);
  transform: rotate(12deg);
}

.diff-card h3 {
  margin: 34px 0 12px;
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  line-height: 1.08;
}

.diff-card p {
  font-size: 0.98rem;
  line-height: 1.55;
}

.lime-card {
  background: var(--lime);
}

.blue-card {
  background: var(--blue);
  color: #fff;
}

.dark-card {
  background: var(--ink);
  color: #fff;
}

.blue-card p,
.dark-card p {
  color: rgba(255,255,255,0.76);
}

/* Responsive fixes */
@media (max-width: 1120px) {
  .differential-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 960px) {
  .nav {
    inset: 74px 12px auto 12px;
    padding: 14px;
    gap: 6px;
  }

  .nav a {
    width: 100%;
    padding: 15px 16px;
    border-radius: 16px;
    text-align: left;
    font-size: 0.98rem;
    line-height: 1.15;
  }

  .density-chip-grid,
  .format-grid {
    grid-template-columns: 1fr;
  }

  .density-chip {
    min-height: 0;
  }

  .format-card {
    min-height: 0;
  }

  .about-visual {
    min-height: 320px;
  }
}

@media (max-width: 640px) {
  body {
    padding-top: 68px;
  }

  .nav-shell {
    min-height: 68px;
  }

  .logo-link {
    width: 155px;
  }

  .menu-toggle {
    width: 44px;
    height: 44px;
  }

  .nav {
    inset: 68px 10px auto 10px;
    border-radius: 22px;
  }

  .section {
    padding: 58px 0;
  }

  .band {
    border-radius: 0;
  }

  .process-step {
    grid-template-columns: 48px 1fr;
    padding: 20px;
    border-radius: 24px;
  }

  .process-step span {
    width: 38px;
    height: 38px;
  }

  .process-step .flat-icon {
    width: 46px;
    height: 46px;
  }

  .process-step h3 {
    font-size: 1.18rem;
  }

  .process-step p {
    font-size: 0.95rem;
  }

  .density-chip-grid,
  .format-grid,
  .differential-grid {
    gap: 14px;
  }

  .density-chip {
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
  }

  .density-chip span {
    margin-bottom: 26px;
  }

  .format-card {
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 22px;
    border-radius: 24px;
  }

  .format-card .flat-icon,
  .diff-card .flat-icon {
    width: 50px;
    height: 50px;
    border-radius: 17px;
  }

  .format-card .flat-icon svg,
  .diff-card .flat-icon svg {
    width: 31px;
    height: 31px;
  }

  .diff-card {
    min-height: 0;
    padding: 22px;
    border-radius: 24px;
  }

  .diff-card h3 {
    margin-top: 26px;
  }

  .about-visual {
    min-height: 260px;
    border-radius: 28px;
  }
}

@media (max-width: 420px) {
  .format-card,
  .process-step {
    grid-template-columns: 1fr;
  }

  .process-step span,
  .process-step .flat-icon,
  .process-step h3,
  .process-step p {
    grid-column: auto;
    grid-row: auto;
  }
}


/* Final fix: eyebrow dot must never overlap text */
.eyebrow {
  gap: 14px;
}

.eyebrow::before {
  flex: 0 0 12px;
  box-shadow: none !important;
}

@media (max-width: 640px) {
  .eyebrow {
    gap: 10px;
    font-size: 0.72rem;
    letter-spacing: 0.10em;
    line-height: 1.2;
    max-width: 100%;
  }

  .eyebrow::before {
    width: 10px;
    height: 10px;
    flex-basis: 10px;
  }
}


/* === Polyforma image integration pass === */
.photo-card,
.section-photo-banner,
.industry-illustration.has-img,
.about-visual.has-photo,
.contact-mini-photo,
.product-visual.has-img {
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
  background: #fff;
}

.photo-card img,
.section-photo-banner img,
.industry-illustration.has-img img,
.about-visual.has-photo img,
.contact-mini-photo img,
.product-visual.has-img img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-photo-card {
  position: absolute;
  inset: 26px 0 26px 0;
  border-radius: 42px;
  box-shadow: 0 34px 90px rgba(0, 76, 247, 0.18);
  border: 1px solid rgba(0, 76, 247, 0.15);
  background: #fff;
}

.hero-photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0.10), rgba(0,76,247,0.10));
  pointer-events: none;
}

.photo-card-glow {
  position: absolute;
  inset: auto -18% -25% 36%;
  width: 52%;
  height: 42%;
  border-radius: 999px;
  background: rgba(207, 247, 0, 0.32);
  filter: blur(34px);
  pointer-events: none;
}

.page-hero-card.has-image {
  isolation: isolate;
  background-size: cover;
  background-position: center;
  min-height: clamp(420px, 46vw, 590px);
}

.page-hero-card.has-image::before {
  inset: 0;
  width: auto;
  height: auto;
  right: auto;
  top: auto;
  border-radius: inherit;
  background: linear-gradient(90deg, rgba(0, 76, 247, 0.95), rgba(0, 76, 247, 0.72) 46%, rgba(26, 26, 26, 0.24));
}

.page-hero-products { background-image: url('../assets/img/polyforma-custom-cuts.jpg'); }
.page-hero-applications { background-image: url('../assets/img/polyforma-proyectos.jpg'); }
.page-hero-about { background-image: url('../assets/img/polyforma-nosotros.jpg'); }
.page-hero-contact { background-image: url('../assets/img/polyforma-hero.jpg'); }

.product-visual.has-img {
  min-height: 240px;
}

.product-visual.has-img::before,
.product-visual.has-img::after,
.industry-illustration.has-img::before,
.industry-illustration.has-img::after,
.about-visual.has-photo::before,
.about-visual.has-photo::after {
  display: none !important;
}

.product-visual.has-img::after {
  display: block !important;
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,76,247,0.18));
  pointer-events: none;
}

.section-photo-banner {
  height: clamp(230px, 32vw, 400px);
  border-radius: clamp(26px, 4vw, 42px);
  margin: clamp(26px, 5vw, 52px) 0;
  border: 1px solid rgba(26, 26, 26, 0.08);
  box-shadow: 0 28px 80px rgba(0, 76, 247, 0.14);
}

.density-section .section-photo-banner {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 34px 90px rgba(0,0,0,0.18);
}

.industry-illustration.has-img {
  height: 210px;
  background: var(--ink);
}

.industry-illustration.has-img::before { display: none !important; }
.industry-illustration.has-img::after { display: none !important; }

.industry-illustration.has-img > img {
  transition: transform 0.5s ease;
}

.image-overlay-icon {
  position: absolute !important;
  right: 16px !important;
  bottom: 16px !important;
  top: auto !important;
  width: 62px !important;
  height: 62px !important;
  color: #fff;
  background: rgba(0, 76, 247, 0.74);
  border-color: rgba(255, 255, 255, 0.24);
  box-shadow: 0 18px 38px rgba(0,0,0,0.24);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.industry-card:hover .industry-illustration.has-img > img {
  transform: scale(1.045);
}

.about-visual.has-photo {
  background: var(--ink);
}

.about-visual.has-photo img {
  filter: saturate(1.02) contrast(1.03);
}

.about-visual.has-photo::after {
  display: block !important;
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.02), rgba(0,0,0,0.44));
  pointer-events: none;
}

.about-visual.has-photo .counter-card {
  z-index: 3;
}

.contact-mini-photo {
  height: 170px;
  border-radius: 24px;
  margin: 24px 0 2px;
  border: 1px solid rgba(255,255,255,0.18);
}

.contact-mini-photo img {
  filter: saturate(1.06);
}

@media (max-width: 960px) {
  .hero-photo-card {
    position: relative;
    inset: auto;
    height: 420px;
    border-radius: 34px;
  }

  .hero-visual {
    min-height: auto;
  }

  .page-hero-card.has-image {
    min-height: 430px;
  }

  .industry-illustration.has-img {
    height: 230px;
  }
}

@media (max-width: 640px) {
  .hero-photo-card {
    height: 340px;
    border-radius: 28px;
  }

  .section-photo-banner {
    height: 235px;
    border-radius: 24px;
  }

  .page-hero-card.has-image {
    min-height: 380px;
  }

  .product-visual.has-img {
    min-height: 205px;
  }

  .industry-illustration.has-img {
    height: 210px;
  }

  .contact-mini-photo {
    height: 145px;
  }
}


/* Image pseudo-element hard resets */
.product-visual.has-img::after,
.about-visual.has-photo::after,
.page-hero-card.has-image::before {
  width: auto !important;
  height: auto !important;
  left: 0 !important;
  right: 0 !important;
  top: 0 !important;
  bottom: 0 !important;
  transform: none !important;
}

.product-visual.has-img::after,
.about-visual.has-photo::after {
  border-radius: 0 !important;
}

/* ─── FIX: Imágenes en tarjetas de producto ─────────────────────────────── */
/* El ::after de nth-child(2) y nth-child(3) tenía mayor especificidad
   y pintaba encima de las fotos con azul/negro sólido.                      */
.product-visual.has-img img {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Fuerza que el overlay ::after sea solo un gradiente sutil, sin color sólido */
.product-card:nth-child(2) .product-visual.has-img::after,
.product-card:nth-child(3) .product-visual.has-img::after {
  background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,0.20)) !important;
  z-index: 3;
}

/* Ensure the img always fills the visual container */
.product-visual.has-img {
  min-height: 240px;
}
/* ─────────────────────────────────────────────────────────────────────────── */

/* ─── FIX: Spacing entre imagen y texto en tarjetas de aplicaciones (móvil) ─ */
.industry-card > div {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.industry-card > div h3 {
  padding: 0 4px;
}

.industry-card > div p {
  padding: 0 4px;
  margin-top: -8px;
}

@media (max-width: 960px) {
  .industry-card > div {
    gap: 14px;
  }

  .industry-card > div h3 {
    padding: 0 8px;
    margin-top: 4px;
  }

  .industry-card > div p {
    padding: 0 8px;
    margin-top: -6px;
  }

  .industry-card > a,
  .industry-card > .btn {
    margin: 0 8px 8px;
  }
}
/* ─────────────────────────────────────────────────────────────────────────── */
