/* ═══════════════════════════════════════════════════
   CEPLACO — Premium Industrial CSS
   ═══════════════════════════════════════════════════ */

/* ─── CSS Variables ─────────────────────────────── */
:root {
  /* Duotone: off-white ↔ deep navy */
  --clr-light:       #edf1f7;   /* secciones claras */
  --clr-light-2:     #e2e8f2;   /* cards/bordes en claro */
  --clr-dark:        #1c13c8;   /* navy profundo — texto & secciones oscuras */
  --clr-dark-2:      #1c13c8;
  --clr-dark-3:      #1c13c8;
  --clr-accent:      #1c13c8;   /* azul principal unificado */
  --clr-accent-med:  #2a20e5;   /* un azul apenas más claro para hover */
  --clr-accent-dim:  rgba(28, 19, 200, 0.12);
  --clr-accent-glow: rgba(28, 19, 200, 0.35);
  --clr-white:       #f5f7fc;
  --clr-pure-white:  #ffffff;
  --clr-navy-muted:  rgba(28, 19, 200, 0.88);
  --clr-navy-faint:  rgba(28, 19, 200, 0.08);
  --clr-navy-border: rgba(28, 19, 200, 0.14);

  /* Backwards-compat aliases still used in a few places */
  --clr-black:       var(--clr-dark-3);
  --clr-graphite:    var(--clr-dark);
  --clr-graphite-2:  var(--clr-dark-2);
  --clr-silver:      rgba(28, 19, 200, 0.45);
  --clr-silver-light: rgba(28, 19, 200, 0.65);

  --font-display: 'Urbanist', sans-serif;
  --font-body:    'Urbanist', sans-serif;
  --font-headline: 'Montserrat', sans-serif;

  --nav-h: 76px;
  --section-pad: clamp(48px, 10vw, 140px);
  --container-max: 1280px;
  --container-px:  clamp(16px, 5vw, 80px);

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:   cubic-bezier(0.4, 0, 0.2, 1);
  --ease-premium:  cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s var(--ease-in-out);
  --transition-premium: 0.6s var(--ease-premium);
  --shadow-elevated: 0 16px 32px rgba(0,0,0,0.06);
}

/* ─── Reset & Base ───────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--clr-light);
  color: var(--clr-dark);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  text-wrap: balance;
}
p {
  text-wrap: pretty;
}

/* ─── Utility ────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

/* Section Divider / Miscelánea style */
.section-divider {
  width: 100%;
  padding: 0 clamp(20px, 3vw, 50px);
  margin-bottom: clamp(40px, 6vw, 80px);
  box-sizing: border-box;
}
.section-divider .divider-line {
  width: 100%;
  height: 1px;
  background-color: currentColor;
  opacity: 0.15;
}
.section-divider .divider-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  font-family: SFMono-Regular, Consolas, Menlo, monospace;
  font-size: clamp(0.6rem, 1.5vw, 0.72rem);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-weight: 500;
}
.section-divider .divider-title {
  opacity: 0.85;
}
.section-divider .divider-code {
  opacity: 0.5;
}

.text-accent { color: var(--clr-accent); }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--clr-accent);
  margin-bottom: 20px;
}
.section-tag::before {
  content: '';
  display: block;
  width: 28px; height: 1px;
  background: var(--clr-accent);
}
.section-tag--light { color: rgba(255,255,255,0.7); }
.section-tag--light::before { background: rgba(255,255,255,0.5); }

.section-title {
  font-family: var(--font-headline);
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.95;
  color: var(--clr-dark);
  margin-bottom: 32px;
  text-wrap: balance;
}
.section-title--light { color: var(--clr-pure-white); }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 80px;
}
.section-sub {
  font-size: 1rem;
  color: var(--clr-navy-muted);
  line-height: 1.7;
}

@media (max-width: 768px) {
  .hide-mobile {
    display: none !important;
  }
  /* Hide decorative grid lines on mobile — reduces noise */
  .grid-lines {
    display: none;
  }
}


/* ─── Scroll Reveal ──────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out-expo), transform 0.7s var(--ease-out-expo);
}
[data-reveal="fade-right"] { transform: translateX(-40px); }
[data-reveal="fade-left"]  { transform: translateX(40px); }
[data-reveal="split-text"] {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

/* ─── Buttons ────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  border-radius: 3px;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;

  transition: all 0.3s var(--ease-out-expo);
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.2s;
}
.btn:hover::after { opacity: 1; }

.btn-primary {
  background: var(--clr-accent);
  color: #fff;
  box-shadow: 0 0 0 0 var(--clr-accent-glow);
}
.btn-primary:hover {
  box-shadow: 0 0 28px 4px var(--clr-accent-glow);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--clr-dark);
  border: 1px solid var(--clr-navy-border);
}
.btn-secondary:hover {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
  transform: translateY(-2px);
}

.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }
.btn-icon-right { width: 18px; height: 18px; transition: transform 0.3s; }
.btn:hover .btn-icon-right { transform: translateX(4px); }

/* ═══════════════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════════════ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10000;
  height: var(--nav-h);
  transition: background 0.4s, box-shadow 0.4s, backdrop-filter 0.4s;
}
.navbar.scrolled {
  background: #0606ea;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--clr-navy-border);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-px);
}

.nav-logo { display: flex; align-items: center; }
.logo-img {
  height: 38px;
  width: auto;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-link {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-pure-white);
  transition: color var(--transition-base);
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1.5px;
  background: var(--clr-accent);
  transition: width 0.3s var(--ease-out-expo);
}
.nav-link:hover { color: var(--clr-accent); }
.nav-link:hover::after { width: 100%; }
.nav-link.nav-cta {
  color: var(--clr-pure-white);
  background: var(--clr-accent);
  border: 1.5px solid var(--clr-accent);
  padding: 8px 18px;
  border-radius: 2px;
}
.nav-link.nav-cta:hover { background: var(--clr-accent-med); border-color: var(--clr-accent-med); }
.nav-link.nav-cta::after { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 1.5px;
  background: var(--clr-pure-white);
  transition: all 0.3s;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); background: var(--clr-dark); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); background: var(--clr-dark); }

/* ═══════════════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════════════ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  background: var(--clr-accent);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-img, .hero-video {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.hero-video.desktop-video {
  display: block;
}
.hero-video.mobile-video {
  display: none;
}
.hero-img {
  filter: brightness(0.45) saturate(0.75);
  transform: scale(1.04);
  animation: heroZoom 18s ease-in-out infinite alternate;
}
@keyframes heroZoom {
  from { transform: scale(1.04); }
  to   { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(28, 19, 200, 0.5);
  mix-blend-mode: multiply;
  pointer-events: none;
}

.hero-particles {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: var(--container-px) var(--container-px) clamp(48px, 8vw, 100px);
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 16px;
  border: 1px solid rgba(6, 6, 234, 0.35);
  border-radius: 2px;
  background: rgba(6, 6, 234, 0.08);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;

  color: rgba(255,255,255,0.75);
  margin-bottom: 32px;
}
.badge-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--clr-accent);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 var(--clr-accent-glow); }
  50% { box-shadow: 0 0 0 6px transparent; }
}

/* Zoom-style Buttons */
.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 8vw, 89px);
  font-weight: 300;
  line-height: 1.05;
  color: var(--clr-pure-white);
  margin-bottom: 0;
  letter-spacing: -0.04em;
  text-align: left;
  text-wrap: balance;
}

.hero-headline em {
  font-style: normal;
  color: var(--clr-pure-white);
}

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: var(--clr-pure-white);
  line-height: 1.6;
  max-width: 720px;
  margin-bottom: 40px;
  text-align: center;
  text-wrap: pretty;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Zoom-style Buttons */
.btn-zoom-primary,
.btn-zoom-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.btn-zoom-primary {
  background: var(--clr-dark); /* deep navy */
  color: var(--clr-pure-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(3, 6, 63, 0.3);
}

.btn-zoom-primary:hover {
  background: var(--clr-dark-3); /* even darker deep navy */
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(3, 6, 63, 0.45);
}

.btn-zoom-secondary {
  background: var(--clr-pure-white);
  color: var(--clr-dark);
  border: 1px solid var(--clr-pure-white);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.btn-zoom-secondary:hover {
  background: var(--clr-light);
  border-color: var(--clr-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.15);
}

.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  right: var(--container-px);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.65rem;
  letter-spacing: 0.2em;

  color: rgba(255,255,255,0.35);
}
.scroll-line {
  width: 1px; height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(255,255,255,0.3));
  animation: scrollPulse 2.5s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.9; }
}

/* Stats bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255,255,255,0.07);
}
.hero-stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 28px 24px;
  gap: 4px;
}
.hero-stat-divider {
  width: 1px; height: 48px;
  background: rgba(255,255,255,0.1);
}
.stat-number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  letter-spacing: 0.04em;
  color: var(--clr-pure-white);
  line-height: 1;
}
.stat-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--clr-pure-white);
}

/* ═══════════════════════════════════════════════════
   ABOUT  — PREMIUM TYPOGRAPHY SECTION (OCI STYLE)
   ═══════════════════════════════════════════════════ */
.about {
  position: relative;
  height: 500vh; /* 5 viewports: 1 for text, 3 for images, 1 for the sticky reveal sequence */
  background: transparent;
  color: var(--clr-pure-white);
  z-index: 2;
}

.about-sticky-wrapper {
  position: sticky;
  top: 0;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  z-index: 999;
}

.about-content-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--clr-accent); /* blue background on content level only */
}

.about-images-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none; /* allow clicks/hovers to fall through to content layer if needed */
  z-index: 2;
}

.about-img-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  will-change: transform;
}

.about-img-wrap {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  overflow: hidden;
}

.about-img-item {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.about-img-slide:hover .about-img-item {
  transform: scale(1.05);
}

.about .container {
  max-width: 1600px;
  padding: 0 clamp(24px, 6vw, 80px);
}

.about-slider {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(40px, 8vw, 100px);
  position: relative;
}

.about-slider-nav-col {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  min-height: 280px;
}

.about-slider-titles {
  position: relative;
  width: 100%;
  height: 60px;
}

.about-slide-title {
  position: absolute;
  top: 0; left: 0;
  font-family: var(--font-headline);
  font-size: clamp(1.625rem, 4.55vw, 4.03rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 0.79;
  color: rgba(255, 255, 255, 0.2);
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo), color 0.4s ease;
  pointer-events: none;
}

.about-slide-title.active {
  opacity: 1;
  transform: translateY(0);
  color: var(--clr-pure-white);
  pointer-events: auto;
}

.about-slider-controls {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  position: relative;
  padding: 30px 0;
  width: 44px;
}

.about-slider-controls::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0; left: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.15);
  transform: translateX(-50%);
  z-index: 1;
}

.about-control-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--clr-pure-white);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent); /* Covers the background line */
  position: relative;
  z-index: 2;
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.2s;
}

.about-control-btn svg {
  width: 16px; height: 16px;
}

.about-control-btn:hover {
  border-color: var(--clr-pure-white);
  background: rgba(255, 255, 255, 0.08);
}

.about-control-btn:active {
  transform: scale(0.94);
}

.about-slider-content-col {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-slides-container {
  position: relative;
  width: 100%;
}

.about-slide {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s var(--ease-out-expo), transform 0.5s var(--ease-out-expo);
  pointer-events: none;
  display: none;
  flex-direction: column;
  gap: 32px;
}

.about-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
  display: flex;
}

.about-slide-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--clr-pure-white);
}

.about-slide-meta {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-slide-num {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.45);
}

.about-slide-tag {
  font-family: var(--font-body);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.85);
}

/* ═══════════════════════════════════════════════════
   SOLUTIONS  — LIGHT SECTION
   ═══════════════════════════════════════════════════ */
.solutions-reveal-wrapper {
  position: relative;
  z-index: 1;
  background: transparent;
}

.solutions {
  padding: var(--section-pad) 0 clamp(30px, 4vw, 60px) 0;
  background-color: var(--global-bg, var(--clr-white));
  position: relative;
  z-index: 1;
  width: 100%;
}

.solutions.fixed-reveal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  z-index: 1;
  overflow: hidden;
}

.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.solution-card {
  position: relative;
  background: var(--clr-dark-2);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 3px;
  overflow: hidden;
  transition: border-color 0.4s, transform 0.4s var(--ease-out-expo);
  cursor: default;
}
.solution-card:hover {
  border-color: rgba(59,130,246,0.35);
  transform: translateY(-8px);
}

.solution-card-glow {
  position: absolute;
  bottom: -60px; left: 50%;
  transform: translateX(-50%);
  width: 200px; height: 200px;
  background: radial-gradient(circle, var(--clr-accent-glow) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s, bottom 0.4s;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(30px);
}
.solution-card:hover .solution-card-glow {
  opacity: 1;
  bottom: -30px;
}

.solution-card-inner {
  padding: 40px 36px;
  position: relative;
  z-index: 1;
}

.solution-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.solution-icon {
  width: 56px; height: 56px;
  border: 1px solid rgba(59,130,246,0.3);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-accent-dim);
  transition: background 0.3s, border-color 0.3s;
}
.solution-icon svg {
  width: 28px; height: 28px;
  stroke: var(--clr-accent);
}
.solution-card:hover .solution-icon {
  background: rgba(59,130,246,0.25);
  border-color: var(--clr-accent);
}

.solution-number {
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: rgba(255,255,255,0.04);
  line-height: 1;
  letter-spacing: -0.02em;
  transition: color 0.3s;
}
.solution-card:hover .solution-number { color: rgba(59,130,246,0.1); }

.solution-title {
  font-family: var(--font-display);
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  color: var(--clr-pure-white);
  margin-bottom: 16px;
  line-height: 1.1;
}

.solution-desc {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.55);
  line-height: 1.75;
  margin-bottom: 28px;
}

.solution-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.tag {
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-navy-muted);
  border: 1px solid var(--clr-navy-border);
  padding: 4px 10px;
  border-radius: 2px;
  background: rgba(0, 56, 168, 0.05);
  transition: border-color 0.3s, color 0.3s;
}
.solution-card:hover .tag,
.sol-item.is-active .tag {
  border-color: var(--clr-accent);
  color: var(--clr-accent);
}

/* ═══════════════════════════════════════════════════
   CIRCULAR ECONOMY  — SOLID BLUE SECTION
   ═══════════════════════════════════════════════════ */
.circular {
  position: relative;
  padding: var(--section-pad) 0 0 0;
  /* overflow: visible so the SVG diagram nodes are not clipped */
  overflow: visible;
  color: #ffffff;
  background-color: transparent;
}
.circular .section-divider {
  color: var(--clr-dark);
  transition: color 0.4s ease;
}
body.bg-dark .circular .section-divider {
  color: #ffffff;
}
.circular .container {
  position: relative;
  z-index: 1;
}

.circular-header {
  max-width: 100%;
  margin-bottom: 56px;
  text-align: left;
  margin-left: 0;
  margin-right: auto;
}

.circular-header .section-title {
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
}

.circular-header-desc {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--clr-pure-white);
  margin-top: 24px;
}

/* ─── 3D Circular Process Component ─── */

.circular-process-wrap {
  width: 100%;
  padding: 120px 0;
  position: relative;
  z-index: 1;
  background: transparent;
  /* Ensure SVG diagram nodes (which extend slightly beyond the diagram container) are visible */
  overflow: visible;
}

.circular-side-label {
  position: absolute;
  left: 2.5rem;
  top: 120px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  pointer-events: none;
  z-index: 10;
}

@media (min-width: 1480px) {
  .circular-side-label {
    left: calc(50% - 700px + 2.5rem);
  }
}

@media (max-width: 1200px) {
  .circular-side-label {
    position: relative;
    left: auto;
    top: auto;
    writing-mode: horizontal-tb;
    transform: none;
    display: block;
    text-align: center;
    margin-bottom: 40px;
    font-size: 0.8rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.65);
  }
}

.circular-infographic-container {
  display: grid;
  grid-template-columns: 1fr 480px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas: 
    "step1 diagram step2"
    "step4 diagram step3";
  align-items: center;
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 4%;
}

.info-center-diagram {
  grid-area: diagram;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.circular-diagram-wrap-static {
  width: 480px;
  height: 480px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  /* Ensure nodes are not clipped by parent overflow */
  overflow: visible;
}

.diagram-svg-static {
  width: 100%;
  height: 100%;
  overflow: visible;
}

/* Base style for static diagram paths */
.flow-track-seg {
  stroke-linecap: round;
  transition: opacity 0.3s ease, stroke-width 0.3s ease;
}

/* Moving light pulse circle */
.flow-pulse-circle {
  stroke-dasharray: 160 1096.6; /* 160px pulse length, remaining gap to cover 1256.6 */
  stroke-dashoffset: 0;
  animation: pulse-travel 8s linear infinite;
  opacity: 0.85;
  pointer-events: none;
}

@keyframes pulse-travel {
  from {
    stroke-dashoffset: 0;
  }
  to {
    stroke-dashoffset: -1256.6;
  }
}

/* Centerpiece styling */
.center-sphere-html-static {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #ffffff;
  padding: 20px;
  box-sizing: border-box;
}

.center-state-static {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.center-num-big-static {
  font-family: var(--font-headline);
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.05;
  color: #ffffff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.45);
}

.center-lbl-sub-static {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
  margin-top: 10px;
  text-transform: uppercase;
}

.center-lbl-sub-label {
  font-family: var(--font-display);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.45);
  margin-top: 4px;
  text-transform: uppercase;
}

/* Nodes styling */
.diagram-node-static > circle {
  stroke: #ffffff;
  stroke-width: 2px;
  transition: r 0.3s ease, stroke-width 0.3s ease, filter 0.3s ease;
}

/* Info Cards styling */
.info-card {
  background: rgba(6, 6, 234, 0.25);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 26px 30px;
  border-radius: 20px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.35s ease, 
              box-shadow 0.35s ease;
}

.info-card-header {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
  gap: 4px;
}

.info-card-divider {
  width: 40px;
  height: 2px;
  background: #ffffff;
  margin-top: 8px;
  border-radius: 2px;
}

.info-card-number {
  font-family: var(--font-headline);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: color 0.3s ease;
}

.info-card-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.info-card-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background-color 0.3s ease, border-color 0.3s ease;
}

.info-card-icon {
  width: 22px;
  height: 22px;
  transition: transform 0.3s ease;
}

.info-card-desc {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.6;
  color: #ffffff;
  margin: 0;
}

/* Card-specific custom color schemes and hovers */
#card-retiro {
  --card-accent-color: #60a5fa;
  grid-area: step1;
  justify-self: end;
  text-align: right;
}
#card-retiro .info-card-header {
  align-items: flex-end;
}
#card-retiro .info-card-number { color: #ffffff; }
#card-retiro:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(96, 165, 250, 0.45);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15);
}

#card-clasificacion {
  --card-accent-color: #22d3ee;
  grid-area: step2;
  justify-self: start;
  text-align: left;
}
#card-clasificacion .info-card-header {
  align-items: flex-start;
}
#card-clasificacion .info-card-number { color: #ffffff; }
#card-clasificacion:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(34, 211, 238, 0.45);
  box-shadow: 0 16px 48px rgba(6, 182, 212, 0.15);
}

#card-procesado {
  --card-accent-color: #3b82f6;
  grid-area: step3;
  justify-self: start;
  text-align: left;
}
#card-procesado .info-card-header {
  align-items: flex-start;
}
#card-procesado .info-card-number { color: #ffffff; }
#card-procesado:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(59, 130, 246, 0.45);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15);
}

#card-reincorporacion {
  --card-accent-color: #ffffff;
  grid-area: step4;
  justify-self: end;
  text-align: right;
}
#card-reincorporacion .info-card-header {
  align-items: flex-end;
}
#card-reincorporacion .info-card-number { color: #ffffff; }
#card-reincorporacion:hover {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.15);
}

/* Connect nodes and connector lines styling on card hovers */
#card-retiro:hover ~ .info-center-diagram #node-retiro-static circle:first-child { r: 52; stroke-width: 4; }
#card-clasificacion:hover ~ .info-center-diagram #node-clasif-static circle:first-child { r: 52; stroke-width: 4; }
#card-procesado:hover ~ .info-center-diagram #node-procesado-static circle:first-child { r: 52; stroke-width: 4; }
#card-reincorporacion:hover ~ .info-center-diagram #node-reinc-static circle:first-child { r: 52; stroke-width: 4; }

/* Connector lines basic and active state */
.connector-line {
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), stroke-width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.25;
}
.connector-dot {
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0.45;
  transform-origin: center;
}

#card-retiro:hover ~ .info-center-diagram #connector-retiro,
#card-clasificacion:hover ~ .info-center-diagram #connector-clasif,
#card-procesado:hover ~ .info-center-diagram #connector-procesado,
#card-reincorporacion:hover ~ .info-center-diagram #connector-reinc {
  opacity: 0.9;
  stroke-width: 3.5px;
}

#card-retiro:hover ~ .info-center-diagram #connector-retiro-dot,
#card-clasificacion:hover ~ .info-center-diagram #connector-clasif-dot,
#card-procesado:hover ~ .info-center-diagram #connector-procesado-dot,
#card-reincorporacion:hover ~ .info-center-diagram #connector-reinc-dot {
  opacity: 1;
  transform: scale(1.4);
}

/* Responsive adjustments */
@media (max-width: 1100px) {
  .circular-infographic-container {
    grid-template-columns: 1fr 380px 1fr;
    gap: 30px;
  }
  .circular-diagram-wrap-static {
    width: 380px;
    height: 380px;
  }
  .center-num-big-static {
    font-size: 2.2rem;
  }
  .center-lbl-sub-static {
    font-size: 0.65rem;
  }
  .diagram-node-static > circle {
    r: 40px !important;
  }
  .diagram-node-static text {
    font-size: 9px !important;
  }
  .diagram-node-static text[y="-5"] {
    font-size: 11px !important;
  }
}

@media (max-width: 992px) {
  .circular-process-wrap {
    padding: 80px 0;
  }
  .circular-infographic-container {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto auto;
    grid-template-areas:
      "diagram"
      "step1"
      "step2"
      "step3"
      "step4";
    gap: 30px;
    justify-items: center;
    /* Prevent diagram overflow clipping */
    overflow: visible;
  }
  .info-center-diagram {
    margin-bottom: 20px;
  }
  .circular-diagram-wrap-static {
    width: min(450px, 92vw);
    height: min(450px, 92vw);
    overflow: visible;
  }
  .info-card {
    max-width: 500px;
    width: 100%;
    text-align: center !important;
    margin-left: auto;
    margin-right: auto;
  }
  .info-card-header {
    align-items: center !important;
  }
  .connector-lines {
    display: none;
  }
}

@media (max-width: 480px) {
  .circular-diagram-wrap-static {
    width: min(360px, 92vw);
    height: min(360px, 92vw);
    overflow: visible;
  }
  /* Ensure circular section does not clip diagram nodes */
  .circular-process-wrap {
    overflow: visible;
  }
}

/* Materials We Receive Section (Banner Component) */
.receive-section {
  padding: clamp(80px, 12vw, 140px) 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.receive-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: url('receive_materials.webp');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  z-index: -2;
}

.receive-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--clr-accent);
  mix-blend-mode: multiply;
  opacity: 0.50;
  z-index: -1;
}

/* New Redesigned Visual Summary Card */
.circular-card {
  background: rgba(10, 10, 15, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: 60px 48px;
  width: 100%;
  max-width: 1060px;
  margin: 0 auto;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  transform: translateZ(0);
}

.circular-card-header {
  max-width: 720px;
  margin-bottom: 48px;
  text-align: left;
}

.circular-card-label {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #8ab4f8; /* Soft blue label */
  text-transform: uppercase;
  display: block;
  margin-bottom: 16px;
}

.circular-card-title {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-weight: 300;
  line-height: 1.1;
  color: var(--clr-pure-white);
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}

.circular-card-title .highlight-blue {
  color: #8ab4f8; /* highlighted text color */
  font-weight: 400;
}

.circular-card-desc {
  font-family: var(--font-body);
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}

/* Card Body Grid */
.circular-card-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
}

.circular-col {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.circular-col-title {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 8px;
  text-align: center !important;
  display: block !important;
  width: 100% !important;
}

.circular-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

/* Items List Card Style */
.circular-item {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 16px 20px;
  border-radius: 16px;
  transition: transform 0.3s var(--ease-out-expo), background-color 0.3s, border-color 0.3s;
}

.circular-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.circular-item-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(6, 6, 234, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #8ab4f8; /* Soft blue icon */
  transition: background-color 0.3s, border-color 0.3s;
}

.circular-item:hover .circular-item-icon-wrap {
  background: rgba(6, 6, 234, 0.45);
  border-color: rgba(255, 255, 255, 0.15);
}

.circular-item-icon-wrap svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 1.5px;
  transition: transform 0.3s;
}

.circular-item:hover .circular-item-icon-wrap svg {
  transform: scale(1.1);
}

.circular-item-text {
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: #ffffff;
}

/* Arrow Column */
.circular-arrow-col {
  display: flex;
  justify-content: center;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  padding: 0 16px;
}

.circular-arrow-icon {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  stroke-width: 2px;
  opacity: 0.7;
}

/* CTA Button Wrapper */
.rmc-cta-wrapper {
  display: flex;
  justify-content: center;
  padding-top: 56px;
}

.commit-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  border-radius: 100px;
  background: rgba(255, 255, 255, 1);
  color: var(--clr-accent);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0);
  transition: background 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.3s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
  white-space: nowrap;
}

.commit-cta-btn:hover {
  background: transparent;
  color: var(--clr-pure-white);
  border-color: rgba(255, 255, 255, 0.8);
  transform: translateY(-2px);
  box-shadow: 0 14px 48px rgba(0, 0, 0, 0.28);
}

.commit-cta-btn:active {
  transform: translateY(0);
}



/* ─── Process Accordion ───────────────────────────── */
.process-flow-container {
  margin-top: 64px;
  padding-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  position: relative;
  z-index: 1;
}

.flow-section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--clr-pure-white);
  margin-bottom: 40px;
  letter-spacing: -0.02em;
  text-align: center;
}

.process-accordion {
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.accordion-item {
  border-left: 2px solid rgba(255, 255, 255, 0.15);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  background: transparent;
  transition: border-left-color 0.4s ease, background-color 0.4s ease;
}

.accordion-item:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.accordion-item:hover {
  border-left-color: rgba(255, 255, 255, 0.75);
  background-color: rgba(255, 255, 255, 0.02);
}

.accordion-item.active {
  border-left-color: var(--clr-pure-white);
  background-color: rgba(255, 255, 255, 0.03);
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  padding: 24px 24px 24px 32px;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  color: var(--clr-pure-white);
  outline: none;
}

.accordion-header-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.accordion-num {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--clr-pure-white);
  font-weight: 500;
  min-width: 24px;
  transition: color 0.3s ease;
}

.accordion-item:hover .accordion-num,
.accordion-item.active .accordion-num {
  color: var(--clr-pure-white);
}

.accordion-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.3s ease, transform 0.4s var(--ease-out-expo);
  color: var(--clr-pure-white);
}

.accordion-item:hover .accordion-icon,
.accordion-item.active .accordion-icon {
  opacity: 1;
}

.accordion-item.active .accordion-icon {
  transform: scale(1.1);
}

.accordion-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--clr-pure-white);
  text-transform: uppercase;
  margin: 0;
  transition: transform 0.3s ease;
}

.accordion-header-right {
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 16px;
}

.accordion-toggle-icon {
  position: relative;
  width: 14px;
  height: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.plus-line {
  position: absolute;
  background-color: var(--clr-pure-white);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.plus-line.horizontal {
  width: 14px;
  height: 2px;
}

.plus-line.vertical {
  width: 2px;
  height: 14px;
}

.accordion-item.active .plus-line.vertical {
  transform: rotate(90deg);
  opacity: 0;
}

.accordion-item.active .accordion-toggle-icon {
  transform: rotate(180deg);
}

.accordion-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.45s ease;
  opacity: 0;
}

.accordion-item.active .accordion-panel {
  opacity: 1;
}

.accordion-content {
  padding: 0 24px 28px 76px;
}

.accordion-desc {
  font-size: 1.1rem;
  color: var(--clr-pure-white);
  line-height: 1.7;
  margin: 0;
}


/* Rediseño Proceso de Retorno (Tabs / Menú Vertical) */
.retorno-tabs-wrap {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  margin-top: 80px;
  position: relative;
  z-index: 1;
}

/* LEFT COLUMN: Navigation Menu */
.retorno-nav {
  position: relative;
}

.retorno-menu {
  display: flex;
  flex-direction: column;
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.retorno-menu-item {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 24px 32px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: background 0.3s, border-color 0.3s, transform 0.4s var(--ease-out-expo);
  will-change: transform;
}

.retorno-menu-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.retorno-menu-item.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.retorno-item-num {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.3s;
}

.retorno-menu-item.active .retorno-item-num {
  color: var(--clr-pure-white);
}

.retorno-item-label {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: -0.01em;
  transition: color 0.3s;
}

.retorno-menu-item.active .retorno-item-label {
  color: var(--clr-pure-white);
}

/* RIGHT COLUMN: Content Panel */
.retorno-content {
  position: relative;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 48px;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.retorno-tab-content {
  position: absolute;
  top: 48px;
  left: 48px;
  right: 48px;
  bottom: 48px;
  opacity: 0;
  visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  transition: opacity 0.5s ease, transform 0.5s var(--ease-out-expo), visibility 0.5s;
  transform: translateY(15px);
}

.retorno-tab-content.active {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  bottom: auto;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.retorno-content-title {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--clr-pure-white);
  letter-spacing: -0.02em;
  margin: 0;
}

.retorno-content-desc {
  font-family: var(--font-body);
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}


/* Commitment Section */
.commitment-btn-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 64px;
  position: relative;
  z-index: 1;
}

.commitment-btn-wrapper .commit-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: transparent;
  color: #ffffff;
  border: 2px solid #ffffff;
  padding: 16px 32px;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  transition: background 0.3s, color 0.3s, border-color 0.3s, transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
  text-decoration: none;
}

.commitment-btn-wrapper .commit-cta-btn:hover {
  background: #ffffff;
  color: #0606ea;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(6, 6, 234, 0.15);
}

/* ═══════════════════════════════════════════════════
   QUALITY — STICKY STACKING CARDS (layolab-style)
   ═══════════════════════════════════════════════════ */
.quality {
  padding: var(--section-pad) 0 0;
  background: #000250;
  position: relative;
  color: #ffffff;
  margin-top: 0;
}

.quality .section-title {
  color: #ffffff;
}

.quality .section-title .text-accent {
  color: #ffffff;
}

.solutions .section-title {
  color: var(--clr-dark);
}

.solutions .section-title .text-accent {
  color: var(--clr-dark);
}



/* Intro header: vertical flex layout to occupy full width */
.solutions .container,
.quality .container {
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  padding: 0 clamp(50px, 6vw, 80px);
}

@media (max-width: 768px) {
  .solutions .container,
  .quality .container {
    padding: 0 var(--container-px);
  }
}
.quality-intro-header {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-bottom: clamp(40px, 6vw, 72px);
  width: 100%;
}
.quality-intro-text {
  width: 100%;
}
.quality .section-title,
.solutions .section-title {
  font-size: clamp(2.5rem, 5.5vw, 5.2rem);
  line-height: 0.95;
  white-space: normal;
  letter-spacing: -0.02em;
  font-weight: 300;
  max-width: none;
  text-wrap: balance;
  overflow-wrap: normal;
  word-break: normal;
  width: auto;
  margin-bottom: 0;
}

.quality-intro-desc {
  align-self: flex-start;
  max-width: 900px;
  text-align: left;
}
.quality-intro-desc p {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--clr-pure-white);
}

/* ─── Cards wrapper: full screen width ─── */
.qa-cards-wrap {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}

/* ─── Card: sticky full-width card that stacks seamlessly ─── */
.qa-card {
  position: sticky;
  height: 540px;
  min-height: 540px;
  display: flex;
  flex-direction: column;
  border-radius: 0;
  overflow: hidden;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.04), 0 20px 40px rgba(0, 0, 0, 0.04);
  margin-bottom: 0;
  will-change: transform;
}

/* Sticky stacking offsets with z-index */
#qa-consistencia {
  top: 90px;
  z-index: 1;
  background: #000250;
  color: #ffffff;
}
#qa-estabilidad {
  top: 90px;
  z-index: 2;
  background: #000250;
  color: #ffffff;
}
#qa-rendimiento {
  top: 90px;
  z-index: 3;
  background: #000250;
  color: #ffffff;
}
#qa-trazabilidad {
  top: 90px;
  z-index: 4;
  background: #000250;
  color: #ffffff;
  box-shadow: none;
}

/* Color-specific overrides for card inner elements (All cards unified to Dark Blue) */
.qa-card .qa-card-num {
  color: #ffffff;
}
.qa-card .qa-card-code {
  color: rgba(255, 255, 255, 0.6);
}
.qa-card .qa-card-title {
  color: #ffffff;
}
.qa-card .qa-card-desc p {
  color: #ffffff;
}
.qa-card .qa-card-tags li {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.qa-card .qa-card-arrow {
  border-color: #ffffff;
}
.qa-card .qa-card-arrow svg {
  stroke: #ffffff;
}
.qa-card .qa-card-arrow:hover {
  background: #ffffff;
}
.qa-card .qa-card-arrow:hover svg {
  stroke: #000250;
}

/* ─── Card inner: 2-column split grid with template areas ─────────── */
.qa-card-inner {
  height: 100%;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  grid-template-rows: auto 1fr;
  grid-template-areas:
    "content number"
    "content media";
  gap: 20px clamp(40px, 5vw, 70px);
  align-items: start;
  box-sizing: border-box;
  padding: 60px clamp(50px, 6vw, 80px) 70px;
  width: 100%;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
}

.qa-card-inner::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(50px, 6vw, 80px);
  right: clamp(50px, 6vw, 80px);
  height: 1px;
  background-color: #ffffff;
}

/* Left Column Content Container */
.qa-card-content {
  grid-area: content;
  display: flex;
  flex-direction: column;
  gap: clamp(14px, 2vw, 22px);
  min-width: 0;
  align-self: center;
  margin-top: -20px;
}

.qa-card-num {
  grid-area: number;
  justify-self: end;
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9.5rem);
  font-weight: 300;
  line-height: 0.9;
  letter-spacing: -0.04em;
  margin: 0;
  margin-top: 28px;
}

.qa-card-code {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.qa-card-title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3.8vw, 3.4rem);
  font-weight: 300;
  letter-spacing: -0.02em;
  line-height: 1;
  text-wrap: balance;
}

.qa-card-desc p {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
}

/* Tags list */
.qa-card-tags {
  display: none;
}

.qa-card-tags li {
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
}

/* Circular Arrow Action Button */
.qa-card-action {
  margin-top: 10px;
}

.qa-card-arrow {
  width: 56px;
  height: 56px;
  border: 1.5px solid currentColor;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background: transparent;
  transition: background 0.3s, transform 0.3s;
}

.qa-card-arrow svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  transition: transform 0.3s;
}

.qa-card-arrow:hover {
  transform: scale(1.05);
}

.qa-card-arrow:hover svg {
  transform: translateX(4px);
}

/* Right Column Media Container */
.qa-card-media {
  grid-area: media;
  justify-self: end;
  align-self: start;
  width: 50%;
  max-width: 320px;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
  transition: transform 0.6s var(--ease-out-expo);
}

.qa-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out-expo);
}

.qa-card:hover .qa-card-img {
  transform: scale(1.05);
}

/* ─── Mobile: quality cards — full rich layout ── */
@media (max-width: 768px) {
  .qa-cards-wrap {
    width: 100%;
    padding: 0 var(--container-px); /* Align with main containers padding */
    gap: 0;
    box-sizing: border-box;
  }
  .qa-card {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    min-height: auto !important;
    border-radius: 0 !important;
    margin-bottom: 64px !important; /* Balanced spacing between cards */
    border: none !important;
    background: transparent !important; /* Match section background */
    box-shadow: none !important;
    overflow: visible !important; /* Prevent clipping at the base */
  }
  .qa-card-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    grid-template-areas:
      "content number"
      "media media";
    gap: 4px !important; /* Minimal gap to bring the photo extremely close to its description text */
    padding: 24px 0 0 0; /* Remove inside padding to align content directly */
    height: auto;
  }
  .qa-card-inner::before {
    display: none !important; /* Hide inside top border line */
  }
  .qa-card-content {
    grid-area: content;
    align-self: start;
    gap: 8px; /* Compact text block spacing */
    margin-top: 0;
  }

  .qa-card-num {
    grid-area: number;
    font-size: clamp(1.6rem, 6vw, 2.4rem) !important;
    justify-self: end;
    align-self: start;
    line-height: 1.05;
    margin-top: 0;
    opacity: 1;
  }
  .qa-card-media {
    grid-area: media;
    width: 100%;
    max-width: 100%;
    /* 3:2 ratio — taller vertical footprint, shows more of the photo */
    aspect-ratio: 3 / 2;
    max-height: 240px;
    justify-self: center;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    overflow: hidden; /* Ensure rounded corners on the image inside */
  }
  .qa-card-title {
    font-size: clamp(1.6rem, 6vw, 2.4rem);
    line-height: 1.05;
  }
  .qa-card-desc p {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    margin: 0;
  }
  .qa-card-action {
    display: none !important;
  }
  .quality .section-title {
    white-space: normal;
  }
  .quality-intro-desc {
    align-self: flex-start;
    text-align: left;
    max-width: 100%;
  }
  .quality {
    padding-bottom: 80px !important;
  }
}

@media (max-width: 560px) {
  /* Inherits title font-size instead of overriding to 3.2rem */
}


.qa-num {
  color: var(--clr-navy-muted);
  flex-shrink: 0;
  min-width: 28px;
  transition: color 0.35s;
}
.qa-panel.active .qa-num {
  color: var(--clr-accent);
}

.qa-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 4.2vw, 4rem);
  font-weight: 700;
  color: var(--clr-dark);
  letter-spacing: -0.025em;
  line-height: 1;
  flex: 1;
  min-width: 0;
  transition: letter-spacing 0.55s var(--ease-out-expo), color 0.3s;
}
.qa-panel.active .qa-title {
  letter-spacing: 0.005em;
  color: var(--clr-accent);
}

/* ─── Toggle +/− icon ───────────────────────── */
.qa-toggle {
  width: 38px; height: 38px;
  border: 1px solid var(--clr-navy-border);
  flex-shrink: 0;
  position: relative;
  transition: border-color 0.35s, background 0.35s;
}
.qa-panel.active .qa-toggle {
  border-color: var(--clr-accent);
  background: rgba(6, 6, 234, 0.07);
}

.qa-toggle-line {
  position: absolute;
  background: var(--clr-navy-muted);
  transition: background 0.35s, transform 0.5s var(--ease-out-expo), opacity 0.35s;
}
.qa-toggle-h {
  left: 9px; right: 9px;
  height: 1px;
  top: 50%;
  transform: translateY(-50%);
}
.qa-toggle-v {
  top: 9px; bottom: 9px;
  width: 1px;
  left: 50%;
  transform: translateX(-50%);
  transform-origin: center;
}
.qa-panel.active .qa-toggle-line {
  background: var(--clr-accent);
}
.qa-panel.active .qa-toggle-v {
  opacity: 0;
  transform: translateX(-50%) scaleY(0);
}

/* ─── Accordion body (grid height animation) ─ */
.qa-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.75s var(--ease-out-expo);
}
.qa-panel.active .qa-body {
  grid-template-rows: 1fr;
}

.qa-body-inner {
  overflow: hidden;
}

/* ─── Body content layout ───────────────────── */
.qa-body-content {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: clamp(24px, 4vw, 56px);
  align-items: start;
  padding: 0 clamp(20px, 4vw, 60px) clamp(28px, 4vw, 48px);
  padding-left: calc(clamp(20px, 4vw, 60px) + clamp(16px, 3vw, 40px) + 28px);
}

.qa-body-badge {
  width: 56px; height: 56px;
  border: 1px solid var(--clr-accent);
  background: rgba(6, 6, 234, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.3s;
}
.qa-panel.active .qa-body-badge {
  background: rgba(6, 6, 234, 0.1);
}
.qa-body-badge svg {
  width: 26px; height: 26px;
  stroke: var(--clr-accent);
}

.qa-body-desc p {
  font-size: 0.97rem;
  color: var(--clr-navy-muted);
  line-height: 1.85;
  max-width: 580px;
}

/* ─── Tag chips ─────────────────────────────── */
.qa-body-tags {
  display: flex;
  flex-direction: column;
  gap: 6px;
  align-items: flex-end;
}
.qa-tag {
  display: inline-block;
  padding: 4px 12px;
  border: 1px solid var(--clr-navy-border);
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--clr-navy-muted);
  white-space: nowrap;
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.qa-panel.active .qa-tag {
  border-color: rgba(6, 6, 234, 0.25);
  color: var(--clr-accent);
  background: rgba(6, 6, 234, 0.04);
}

/* ═══════════════════════════════════════════════════
   UNIFIED FOOTER (Base39 style)
   ═══════════════════════════════════════════════════ */
.footer {
  background-color: var(--clr-dark);
  color: var(--clr-pure-white);
  padding: 120px 0 0 0;
  position: relative;
  z-index: 5;
  overflow: hidden;
}

.footer-top {
  padding: 0 0 0 0;
}

.footer-grid-unified {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  align-items: start;
}

/* Contact Side (Left) */
.footer-contact-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-contact-side .section-title {
  color: var(--clr-pure-white);
  margin-bottom: 20px;
}

.footer-contact-side .section-title .text-accent-blue {
  color: var(--clr-pure-white);
}

.footer-contact-sub {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: rgba(255, 255, 255, 0.9);
  max-width: 500px;
  margin-bottom: 32px;
}

.btn-whatsapp-footer {
  background: var(--clr-pure-white);
  color: #1c13c8;
  border: 1px solid var(--clr-pure-white);
  padding: 14px 28px;
  font-weight: 600;
  border-radius: 100px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s var(--ease-out-expo);
}

.btn-whatsapp-footer:hover {
  background: transparent;
  color: var(--clr-pure-white);
  border-color: var(--clr-pure-white);
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

/* Contact List (Right) */
.footer-contact-list-side {
  display: flex;
  flex-direction: column;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.footer-contact-item {
  display: flex;
  align-items: center;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  gap: 20px;
}

.contact-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.03);
  transition: background 0.3s, border-color 0.3s;
}

.footer-contact-item:hover .contact-icon-wrap {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
}

.contact-icon {
  width: 20px;
  height: 20px;
  color: var(--clr-pure-white);
  stroke-width: 2px;
}

.contact-label {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 500;
  color: var(--clr-pure-white);
  flex-grow: 1;
}

.contact-value {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  text-align: right;
  transition: color 0.25s, opacity 0.25s;
}

.contact-value:hover {
  color: var(--clr-pure-white);
}

.contact-link-underlined {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Unified Footer Bottom */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  margin-top: 40px;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copy, .footer-tagline {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.05em;
}

/* Massive SVG Logo (Base39 style) */
.footer-massive-logo-img-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 10px;
  position: relative;
  transform: translateY(15%);
  pointer-events: none;
  user-select: none;
}

.footer-massive-logo-img {
  width: 100%;
  max-width: 1350px;
  height: auto;
  display: block;
}

/* ═══════════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
   ═══════════════════════════════════════════════════ */
.wa-float {
  position: fixed;
  bottom: 32px; right: 32px;
  z-index: 999;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.4);
  transition: transform 0.3s var(--ease-out-expo), box-shadow 0.3s;
}
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
.wa-float:hover {
  transform: scale(1.12);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.6);
}
.wa-pulse {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(37, 211, 102, 0.4);
  animation: waPulse 2.5s ease-out infinite;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
  .solutions-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid-unified { gap: 40px; }
}

@media (max-width: 860px) {
  /* ── Navigation — animated mobile menu ── */
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
  }
  .nav-links.open {
    display: flex;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: #0606ea;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    justify-content: center;
    align-items: center;
    gap: 40px;
    z-index: 9999;
    animation: navMenuOpen 0.35s var(--ease-out-expo) forwards;
  }
  @keyframes navMenuOpen {
    from { opacity: 0; transform: translateY(-16px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-links.open .nav-link {
    animation: navLinkIn 0.4s var(--ease-out-expo) both;
  }
  .nav-links.open li:nth-child(1) .nav-link { animation-delay: 0.05s; }
  .nav-links.open li:nth-child(2) .nav-link { animation-delay: 0.10s; }
  .nav-links.open li:nth-child(3) .nav-link { animation-delay: 0.15s; }
  .nav-links.open li:nth-child(4) .nav-link { animation-delay: 0.20s; }
  .nav-links.open li:nth-child(5) .nav-link { animation-delay: 0.25s; }
  @keyframes navLinkIn {
    from { opacity: 0; transform: translateY(20px); }
    to   { opacity: 1; transform: translateY(0); }
  }
  .nav-link {
    font-size: 1.4rem;
    color: var(--clr-pure-white);
    letter-spacing: 0.06em;
  }
  .hamburger { display: flex; }

  .nav-logo,
  .hamburger {
    position: relative;
    z-index: 10001;
  }
  .hamburger.active span {
    background: var(--clr-pure-white) !important;
  }

  /* ── Fix: disable backdrop-filter containing block when menu is open ── */
  .navbar.menu-open {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    box-shadow: none !important;
  }


  .about-slider {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .about-slider-nav-col {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    min-height: auto;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 24px;
    width: 100%;
  }
  .about-slider-titles {
    height: 48px;
    margin-bottom: 0;
  }
  .about-slider-controls {
    flex-direction: row;
    padding: 0;
    margin-left: 0;
    gap: 12px;
    width: auto;
  }
  .about-slider-controls::before {
    display: none;
  }

  .solutions-grid { grid-template-columns: 1fr; }



  .receive-cards-wrapper { grid-template-columns: 1fr; gap: 24px; }
  .receive-main-card { padding: 28px 24px 20px; }
  .retorno-tabs-wrap { grid-template-columns: 1fr; gap: 32px; margin-top: 48px; }
  .retorno-content { min-height: auto; padding: 32px; }
  .retorno-tab-content { top: auto; left: auto; right: auto; bottom: auto; }
  .accordion-header { padding: 20px 16px 20px 24px; }
  .accordion-content { padding: 0 16px 24px 64px; }
  .commitment-btn-wrapper { margin-top: 40px; }

  .quality-intro-header { grid-template-columns: 1fr; gap: 24px; }
  .quality .section-title { max-width: 100%; text-wrap: balance; }
  .qa-body-content { grid-template-columns: auto 1fr; gap: 20px; }
  .qa-body-tags { align-items: flex-start; flex-direction: row; flex-wrap: wrap; }

  .footer-grid-unified { grid-template-columns: 1fr; gap: 48px; }
  .footer-contact-side { width: 100%; }

  .hero-stats-bar { flex-direction: column; gap: 0; }
  .hero-stat-divider { width: 80%; height: 1px; }
  .hero-scroll-hint { display: none; }
  .br-desktop { display: none; }
}

@media (max-width: 560px) {
  .hero-headline {
    white-space: normal;
    font-size: clamp(2.2rem, 9.5vw, 3rem);
    line-height: 1.08;
    letter-spacing: -0.03em;
  }
  .hero-actions { flex-direction: column; width: 100%; gap: 12px; }
  .btn { width: 100%; justify-content: center; padding: 16px 28px; min-height: 52px; }

  .rmc-stepper { flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
  .rmc-step-connector { display: none; }
  .rmc-slide { padding: 24px 20px; min-height: 200px; }
  .retorno-menu-item { padding: 16px 24px; gap: 16px; }
  .retorno-item-label { font-size: 1.05rem; }
  .retorno-content { padding: 24px; }
  .retorno-content-title { font-size: 1.6rem; }
  .retorno-content-desc { font-size: 1rem; line-height: 1.65; }
  .accordion-header { padding: 16px 12px 16px 20px; }
  .accordion-header-left { gap: 14px; }
  .accordion-num { font-size: 0.95rem; min-width: 18px; }
  .accordion-title { font-size: 0.95rem; }
  .accordion-content { padding: 0 12px 20px 52px; }
  .accordion-desc { font-size: 1rem; line-height: 1.7; }
  .qa-title { font-size: clamp(1.2rem, 5vw, 1.8rem); }
  .qa-body-content { grid-template-columns: 1fr; gap: 16px; }

  /* ── Footer mobile ── */
  .footer-contact-item {
    padding: 18px 0;
    gap: 14px;
  }
  .footer {
    padding: 60px 0 0 0;
  }
  .footer-large-title {
    margin-bottom: 28px;
  }
  .contact-icon-wrap {
    width: 42px;
    height: 42px;
  }
  .contact-icon {
    width: 18px;
    height: 18px;
  }
  .footer-massive-logo-img {
    max-width: 100%;
  }

  /* ── About text size on mobile ── */
  .about-slide-text {
    font-size: clamp(1.2rem, 4.5vw, 1.8rem);
    line-height: 1.45;
  }
  .about-slide-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }

  .wa-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wa-float svg { width: 26px; height: 26px; }
}



/* ═══════════════════════════════════════════════════
   DECORATIVE VERTICAL GRID LINES
   ═══════════════════════════════════════════════════ */
.grid-lines {
  position: fixed;
  top: 0; bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: min(var(--container-max), 100%);
  padding: 0 var(--container-px);
  pointer-events: none;
  z-index: 0;
  display: flex;
  justify-content: space-between;
}
/* ═ GRID LINES ─ slightly visible on light bg */
.grid-line {
  display: block;
  width: 1px;
  height: 100%;
  background: rgba(3, 6, 63, 0.06);
}

/* ═══════════════════════════════════════════════════
   TEXT REVEAL — CLIP-PATH SLIDE UP ANIMATION
   ═══════════════════════════════════════════════════ */
.text-reveal-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: 1.15;
}

.text-reveal-inner {
  display: inline-block;
  transform: translateY(110%);
  opacity: 0;
  transition: transform 0.9s var(--ease-out-expo), opacity 0.6s ease;
}

[data-reveal].revealed .text-reveal-inner,
.text-reveal-wrap.is-visible .text-reveal-inner {
  transform: translateY(0%);
  opacity: 1;
}

.text-reveal-wrap:nth-child(2) .text-reveal-inner { transition-delay: 0.1s; }
.text-reveal-wrap:nth-child(3) .text-reveal-inner { transition-delay: 0.2s; }

/* ─── Split Text Animations (Style OCI) ──────────── */
.line-mask {
  display: block;
  overflow: hidden;
  margin-bottom: -0.12em;
  padding-bottom: 0.12em;
  vertical-align: bottom;
  line-height: inherit;
}

.split-word {
  display: inline-block;
  white-space: nowrap;
  vertical-align: bottom;
  line-height: inherit;
}

.split-char {
  display: inline-block;
  transform: translateY(112%);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  transition-delay: var(--delay, 0s);
  will-change: transform, opacity;
}

[data-reveal="split-text"].revealed .split-char {
  transform: translateY(0);
  opacity: 1;
}

.no-transform .split-char {
  transform: none !important;
}

/* ═══════════════════════════════════════════════════
   SOLUTIONS — ACCORDION + DYNAMIC IMAGE LAYOUT
   ═══════════════════════════════════════════════════ */
.solutions-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Left — sticky image panel */
.solutions-visual {
  position: sticky;
  top: calc(var(--nav-h) + 40px);
  height: 540px;
  border-radius: 2px;
  overflow: hidden;
  background: var(--clr-graphite);
}

.solutions-img-wrap {
  position: relative;
  width: 100%;
  height: 100%;
}

.solutions-img-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.65s var(--ease-out-expo), transform 0.65s var(--ease-out-expo);
  transform: scale(1.05);
}

.solutions-img-slide.active {
  opacity: 1;
  transform: scale(1);
}

.solutions-img-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.75) saturate(0.7);
}

.solutions-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(2,4,18,0.55) 0%, rgba(0,2,80,0.3) 100%);
}

.solutions-img-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  display: flex;
  align-items: center;
  gap: 8px;
}
.solutions-img-current { color: var(--clr-pure-white); transition: color 0.3s; }

/* Right — header + accordion */
.solutions-accordion-panel {
  padding-top: 20px;
}

.solutions-header {
  margin-bottom: 48px;
}

/* Accordion */
.sol-accordion {
  border-top: 1px solid var(--clr-navy-border);
}

.sol-item {
  border-bottom: 1px solid var(--clr-navy-border);
  position: relative;
  overflow: hidden;
}

.sol-item::before {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 2px; height: 0;
  background: var(--clr-accent);
  transition: height 0.4s var(--ease-out-expo);
}
.sol-item.is-active::before { height: 100%; }

.sol-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 0 24px 16px;
  text-align: left;
  color: var(--clr-navy-muted);
  transition: color 0.25s;
}
.sol-item.is-active .sol-trigger,
.sol-trigger:hover { color: var(--clr-dark); }

.sol-num {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--clr-accent);
  min-width: 24px;
}

.sol-trigger-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.01em;
  flex: 1;
  transition: letter-spacing 0.4s var(--ease-out-expo);
}
.sol-item.is-active .sol-trigger-title { letter-spacing: 0.04em; }

.sol-trigger-icon {
  width: 28px; height: 28px;
  border: 1px solid var(--clr-navy-border);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  transition: border-color 0.25s, transform 0.4s var(--ease-out-expo), background 0.25s;
}
.sol-trigger-icon svg {
  width: 14px; height: 14px;
  stroke: var(--clr-navy-muted);
  transition: stroke 0.25s, transform 0.4s;
}
.sol-item.is-active .sol-trigger-icon {
  border-color: var(--clr-accent);
  background: var(--clr-accent-dim);
  transform: rotate(90deg);
}
.sol-item.is-active .sol-trigger-icon svg { stroke: var(--clr-accent); }

.sol-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.55s var(--ease-out-expo);
  padding-left: 16px;
}
.sol-item.is-active .sol-panel { max-height: 280px; }

.sol-desc {
  font-size: 0.9rem;
  color: var(--clr-navy-muted);
  line-height: 1.8;
  padding-bottom: 16px;
}

.sol-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-bottom: 24px;
}

/* ═══════════════════════════════════════════════════
   MAGNETIC HOVER — card offset via JS
   ═══════════════════════════════════════════════════ */
.benefit-column,
.accordion-item {
  will-change: transform;
}

/* ═══════════════════════════════════════════════════
   SOLUTIONS — BY MONDAY SERVICE ROWS LAYOUT
   ═══════════════════════════════════════════════════ */

/* Solutions Section Header */
.solutions-header {
  margin-bottom: 60px;
  text-align: left;
}
.solutions .section-title {
  margin-bottom: 24px;
}

.solutions-desc {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.3rem);
  font-weight: 500;
  line-height: 1.18;
  letter-spacing: -0.015em;
  color: var(--clr-accent);
  max-width: 900px;
}

/* Solutions Rows */
.sol-row-list {
  display: flex;
  flex-direction: column;
  position: relative;
  background: transparent;
}

.sol-row {
  position: sticky;
  top: var(--nav-h);
  min-height: calc(100vh - var(--nav-h));
  height: auto;
  background-color: transparent;
  display: grid;
  grid-template-columns: 180px 1fr 520px;
  gap: 40px;
  align-items: start;
  padding-top: 30px;
  padding-bottom: 80px;
  border-top: 1px solid var(--clr-accent);
  box-sizing: border-box;
  transition: border-color 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s ease;
  opacity: 0;
  transform: translateY(40px);
}

.sol-row.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.sol-row:hover .sol-row-title {
  color: var(--clr-accent);
}
.sol-row:hover .sol-row-img {
  transform: scale(1.06);
}

@media (min-width: 961px) {
  .sol-row::before {
    content: "";
    position: absolute;
    top: 0;
    left: calc(-50vw + 50%);
    right: calc(-50vw + 50%);
    bottom: -300px;
    background-color: var(--global-bg, var(--clr-white));
    z-index: -1;
    pointer-events: none;
  }

  /* Hero adjustments for desktop to let the background animation take center stage */
  .hero-content {
    max-width: none !important;
    width: 100% !important;
    padding-bottom: clamp(32px, 4vw, 48px) !important;
  }
  .hero-headline {
    width: 100% !important;
    font-size: clamp(2rem, 4.5vw, 82px) !important;
    white-space: nowrap !important;
  }
}

.sol-row:last-child {
  border-bottom: none;
  padding-bottom: 30px;
}

/* Specific z-index offsets to allow panels to slide on top of one another */
#row-pulverizados {
  z-index: 1;
}
#row-masterbatch {
  z-index: 2;
}
#row-colores {
  z-index: 3;
}

/* Details container — always expanded and visible */
.sol-row-details {
  display: block;
  opacity: 1;
  margin-top: 18px;
}

/* Large numbers on the left */
.sol-row-num {
  font-family: var(--font-display);
  font-size: clamp(5rem, 11vw, 9.5rem);
  font-weight: 300; /* light weight, not bold, elegant and refined */
  color: var(--clr-dark); /* match the body text color */
  line-height: 1;
  letter-spacing: -0.04em;
  text-align: left;
  align-self: start; /* aligned on the top margin */
  
  /* Subtle premium animation: scales 98% -> 100%, moves up 10px */
  transform: translateY(10px) scale(0.98);
  transition: transform 0.35s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s ease;
  will-change: transform;
}

.sol-row.active .sol-row-num {
  transform: translateY(0) scale(1);
}

/* Middle content area */
.sol-row-content {
  display: flex;
  flex-direction: column;
}

.sol-row-title {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3.8vw, 3.4rem);
  font-weight: 300;
  color: var(--clr-accent);
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 0.79;
  transition: color 0.4s ease;
}

.sol-row-desc {
  font-family: var(--font-display);
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: -0.01em;
  color: var(--clr-dark);
  margin-bottom: 24px;
  max-width: 580px;
  transition: color 0.4s ease;
}

.sol-row-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* Right media area */
.sol-row-media {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
}

.sol-row-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(28, 19, 200, 0.1);
  box-shadow: 0 12px 32px rgba(28, 19, 200, 0.08);
  transition: box-shadow 0.4s;
}

.sol-row-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Dark theme overrides for background transition */
body.bg-dark .sol-row {
  border-top-color: rgba(255, 255, 255, 0.25);
}
body.bg-dark .sol-row:last-child {
  border-bottom-color: rgba(255, 255, 255, 0.25);
}
body.bg-dark .sol-row-num {
  color: var(--clr-pure-white);
}
body.bg-dark .sol-row-title {
  color: var(--clr-pure-white);
}
body.bg-dark .sol-row-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* ─── Responsive styling ─── */
@media (max-width: 960px) {

  .sol-row {
    position: relative;
    top: auto;
    height: auto;
    min-height: auto;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 40px 0 !important;
    background-color: var(--global-bg, var(--clr-white)) !important;
    /* Softer border on mobile — reduce visual noise */
    border-top-color: rgba(28, 19, 200, 0.18) !important;
  }
  
  .sol-row-details {
    max-height: none !important;
    opacity: 1 !important;
    margin-top: 16px !important;
  }

  .sol-row-desc {
    margin-bottom: 16px;
    line-height: 1.6;
  }
  
  .sol-row-media {
    justify-content: flex-start;
  }
  
  .sol-row-img-wrap {
    max-width: 100%;
    height: auto !important;
    aspect-ratio: 16 / 10;
    transform: none !important;
    /* Softer border on mobile image wrap */
    border-color: rgba(28, 19, 200, 0.06) !important;
    box-shadow: 0 8px 24px rgba(28, 19, 200, 0.06) !important;
  }

  .sol-row-num {
    font-size: 4.5rem !important;
    align-self: start !important;
    transform: none !important;
  }

  /* ── Solutions & circular description text — mobile readability ── */
  .solutions-desc {
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    line-height: 1.4;
  }

  .circular-header-desc {
    font-size: clamp(1.1rem, 3.5vw, 1.6rem);
    line-height: 1.4;
    margin-top: 20px;
  }

  .circular-header {
    margin-bottom: 40px;
  }

  /* ── Receive section — less padding on mobile ── */
  .receive-section {
    padding: clamp(56px, 10vw, 100px) 0;
  }
  .receive-section::before {
    background-attachment: scroll; /* Resolve iOS/mobile fixed attachment bugs */
  }
  .receive-section::after {
    opacity: 0.35; /* Reveal background image texture better on mobile */
  }
}

@media (max-width: 560px) {
  .solutions-header {
    margin-bottom: 32px;
  }
  
  .sol-row {
    padding: 32px 0 !important;
  }
  
  .sol-row-num {
    font-size: 3.2rem !important;
  }

  .sol-row-title {
    font-size: clamp(1.4rem, 5vw, 2rem);
    line-height: 1.05;
  }
}

/* ─── Premium Desktop Interactions (Layolab style) ─── */
@media (hover: hover) and (pointer: fine) {
  .qa-card, .sol-row, .about-img-slide, .solution-card {
    will-change: transform, opacity, box-shadow;
    transition: transform var(--transition-premium), box-shadow var(--transition-premium), opacity var(--transition-premium);
  }
  
  .qa-card-inner {
    transition: transform var(--transition-premium), box-shadow var(--transition-premium);
  }

  .qa-card:hover .qa-card-inner,
  .solution-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-elevated);
  }
  
  .sol-row:hover {
    transform: translateY(-4px) !important;
  }
}

/* ─── Premium Mobile Interactions (Layolab / CEPLACO style) ─── */
@media (max-width: 960px) {
  /* Haptic active states for touch interfaces */
  .qa-card, .sol-row, .about-img-slide, .solution-card, .circular-item {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  }
  .qa-card:active,
  .sol-row:active,
  .about-img-slide:active,
  .solution-card:active,
  .circular-item:active {
    transform: scale(0.97) !important;
    transition: transform 0.1s ease-out !important;
  }

  /* Kill sticky hovers on touch */
  .qa-card:hover .qa-card-img,
  .sol-row:hover .sol-row-img,
  .about-img-slide:hover .about-img-item {
    transform: none;
  }

  /* ── Mobile stagger reveal system ──────────────── */
  /* All staggered children start hidden — JS applies class + custom-delay */
  .mobile-reveal,
  [data-mobile-stagger],
  .circular-infographic-container .info-card {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
  }
  .mobile-reveal.is-visible,
  [data-mobile-stagger].is-visible,
  .circular-infographic-container .info-card.is-visible {
    opacity: 1;
    transform: translateY(0);
  }
  /* Respect per-element stagger delay set by JS */
  [data-mobile-stagger],
  .mobile-reveal,
  .circular-infographic-container .info-card {
    transition-delay: var(--stagger-delay, 0ms);
  }

  /* ── Quality Cards — rich mobile card styles ── */
  .qa-card {
    position: relative !important;
    top: 0 !important;
    height: auto !important;
    min-height: auto !important;
    overflow: visible !important;
    background: transparent !important;
    border: none !important;
    transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
  }
  .qa-card.is-visible {
    border-top: none !important;
  }
  #qa-consistencia, #qa-estabilidad, #qa-rendimiento, #qa-trazabilidad,
  #qa-consistencia.is-visible, #qa-estabilidad.is-visible, #qa-rendimiento.is-visible, #qa-trazabilidad.is-visible {
    border-top: none !important;
  }

  .qa-card::before {
    display: none !important;
  }

  /* ── Solutions rows mobile — visual depth ── */
  .sol-row {
    border-left: none !important;
    transition: opacity 0.75s var(--ease-out-expo), transform 0.75s var(--ease-out-expo);
  }
  .sol-row.is-visible {
    border-left: none !important;
  }



  /* ── Footer contact items stagger ── */
  .footer-contact-item {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo);
    transition-delay: var(--stagger-delay, 0ms);
  }
  .footer-contact-item.is-visible {
    opacity: 1;
    transform: translateX(0);
  }

  /* ── Circular summary card mobile style ── */
  .circular-card {
    padding: 36px 20px;
    border-radius: 20px;
  }
  .circular-card-header {
    margin-bottom: 32px;
  }
  .circular-card-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .circular-arrow-col {
    padding: 12px 0;
  }
  .circular-arrow-icon {
    transform: rotate(90deg); /* point downwards */
  }
}

/* ─── Ultra Small Mobile Optimization (390px & below) ─── */
@media (max-width: 400px) {
  :root {
    --container-px: 16px;
    --section-pad: 48px;
  }
  .qa-card-inner {
    padding: 24px 16px 32px;
    gap: 14px;
  }
  .sol-row {
    padding: 28px 0 !important;
  }
  .sol-row-num {
    font-size: 2.8rem !important;
  }
  .sol-row-title {
    font-size: 1.55rem;
    line-height: 1.05;
  }
  .receive-main-card {
    padding: 24px 16px 20px;
  }
  .hero-headline {
    font-size: clamp(2.1rem, 10vw, 2.6rem);
    letter-spacing: -0.03em;
    line-height: 1.08;
  }

  /* Footer at 390px */
  .footer-contact-side .section-title {
    font-size: clamp(1.6rem, 7vw, 2.4rem) !important;
  }
  /* Section divider margins */
  .section-divider {
    margin-bottom: clamp(24px, 5vw, 48px);
  }
  .circular-card {
    padding: 24px 16px;
  }
}

/* ─── Mobile Hero Video Swap (Full width cover) ─── */
@media (max-width: 768px) {
  .hero-video.desktop-video {
    display: none !important;
  }
  .hero-video.mobile-video {
    display: block !important;
    object-fit: cover;
    object-position: center;
  }
}

/* Unified Mobile Heading Sizes (matches .section-title / "Estándares que definen la industria") */
@media (max-width: 960px) {
  .solutions .section-title,
  .circular-header .section-title,
  .footer-contact-side .section-title,
  .quality .section-title {
    font-size: clamp(2.2rem, 7vw, 4.5rem) !important;
    line-height: 0.82 !important;
    letter-spacing: -0.02em !important;
    font-weight: 300 !important;
    font-family: var(--font-headline) !important;
  }

  .line-mask,
  .split-word {
    line-height: 0.82 !important;
    margin-bottom: -0.12em !important;
    padding-bottom: 0.12em !important;
  }
}

/* ═══════════════════════════════════════════════════
   MOBILE UX POLISH — Comprehensive spacing,
   typography & rhythm fixes (mobile-only)
   ═══════════════════════════════════════════════════ */

/* ── 860px: Footer padding + quality cards spacing ── */
@media (max-width: 860px) {
  .footer {
    padding: 80px 0 0 0;
  }

  /* Reduce excessive gap between quality cards on mobile */
  .qa-card {
    margin-bottom: 64px !important;
  }

  /* Quality card text spacing improvements */
  .qa-card-title {
    margin-bottom: 8px;
  }
  .qa-card-desc p {
    line-height: 1.55;
  }

  /* Better gap between quality text and image */
  .qa-card-inner {
    gap: 16px !important;
  }

  /* Footer contact spacing */
  .footer-contact-side {
    gap: 24px;
  }

  /* Quality section intro description spacing */
  .quality-intro-desc p {
    font-size: clamp(1rem, 3vw, 1.2rem);
    line-height: 1.55;
  }

  /* WhatsApp button touch target improvement */
  .btn-whatsapp-footer {
    padding: 16px 28px;
    font-size: 0.85rem;
    min-height: 52px;
  }

  /* Info cards (infographic steps) — better spacing on mobile */
  .info-card {
    padding: 22px 24px;
  }
  .info-card-desc {
    line-height: 1.55;
  }

  /* Section divider consistent margins */
  .section-divider {
    margin-bottom: clamp(32px, 5vw, 56px);
  }

  /* Circular card grid items — better touch spacing */
  .circular-item {
    padding: 14px 16px;
  }
  .circular-item-text {
    font-size: 1rem;
  }

  /* Process accordion — improved readability */
  .accordion-desc {
    line-height: 1.65;
  }

  /* Retorno tabs — better spacing on mobile */
  .retorno-content {
    border-radius: 20px;
  }

  /* Commitment button — better touch target */
  .commitment-btn-wrapper .commit-cta-btn {
    padding: 16px 28px;
    min-height: 52px;
  }
}

/* ── 560px: Tighten up remaining spacing ── */
@media (max-width: 560px) {
  /* Quality cards — reduce gap further */
  .qa-card {
    margin-bottom: 48px !important;
  }

  /* Circular card grid items */
  .circular-card {
    padding: 32px 18px !important;
  }
  .circular-card-grid {
    gap: 12px;
  }

  /* Info cards tighter on small screens */
  .info-card {
    padding: 18px 20px;
  }

  /* Contact items better vertical rhythm */
  .contact-label {
    font-size: 0.95rem;
  }
  .contact-value {
    font-size: 0.9rem;
  }

  /* Circular process wrap less vertical padding */
  .circular-process-wrap {
    padding: 60px 0;
  }
}
