/* ==========================================================================
   INGTROMOLD DESIGN SYSTEM — Refined Dual-Tone Palette
   ========================================================================== */
:root {
  /* Neutral Base */
  --white: #FFFFFF;
  --bg-soft: #F4F6F9;          /* Cool grey tint for section bg */
  --bg-card: #FFFFFF;
  --line: #E2E8F0;

  /* Structural Blue/Slate — refined steel slate, not neon */
  --blue-primary: #475569;     /* Slate grey — calm, professional, premium */
  --blue-hover:   #334155;
  --blue-accent:  #475569;
  --blue-deep:    #0F172A;     /* Obsidian deep slate for dark sections */
  --blue-soft:    #F1F5F9;     /* Soft backing tint */
  --blue-glow:    rgba(71, 85, 105, 0.08);

  /* Pastel Blue Accent — light and fresh for CTAs & badges */
  --warm:         #0052a3;     /* Pastel sky blue */
  --warm-hover:   #004080;
  --warm-soft:    #E0F2FE;
  --warm-glow:    rgba(0, 82, 163, 0.15);

  /* Typography */
  --ink-dark:  #0F172A;
  --ink-soft:  #475569;
  --ink-faint: #64748B;
  --ink-light: #94A3B8;

  /* Fonts */
  --font-display: 'Plus Jakarta Sans', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout */
  --container: 1200px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;

  /* Transitions */
  --transition-fast:   0.15s ease;
  --transition-normal: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow:   0.45s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==========================================================================
   RESET & FOUNDATIONS
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--white);
  color: var(--ink-dark);
  font-family: var(--font-body);
  font-size: 15.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;
  overflow-x: hidden; /* Prevents decorative side glows from triggering scrollbars */
}

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

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

ul {
  list-style: none;
}

section {
  position: relative;
  overflow: hidden;
  z-index: 1; /* Pushes sections above background shapes but below main nav */
}

.section-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* Custom focus ring */
:focus-visible {
  outline: 3px solid var(--blue-primary);
  outline-offset: 3px;
}

/* ==========================================================================
   FLOATING BACKGROUND GEOMETRIC SHAPES
   ========================================================================== */
.background-decorations {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.shape {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

/* Large blur circles for ambient lighting */
.shape-circle-1 {
  top: 15%;
  right: -150px;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(91, 170, 220, 0.08) 0%, transparent 70%);
  filter: blur(60px);
}

.shape-circle-2 {
  top: 62%;
  left: -200px;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(71, 85, 105, 0.04) 0%, transparent 70%);
  filter: blur(80px);
}

/* Small vector squares floating in space */
.shape-square-1 {
  top: 32%;
  left: 6%;
  width: 16px;
  height: 16px;
  border: 3px solid var(--blue-primary);
  border-radius: 3px;
  transform: rotate(45deg);
  opacity: 0.2;
  animation: float-shape 6s ease-in-out infinite alternate;
}

.shape-square-2 {
  top: 78%;
  right: 8%;
  width: 22px;
  height: 22px;
  border: 3.5px solid var(--blue-primary);
  border-radius: 4px;
  transform: rotate(15deg);
  opacity: 0.15;
  animation: float-shape 8s ease-in-out infinite alternate-reverse;
}

@keyframes float-shape {
  0% { transform: translateY(0) rotate(0deg); }
  100% { transform: translateY(-15px) rotate(45deg); }
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

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

.btn-pill {
  padding: 12px 24px;
  border-radius: 9999px;
}

/* ---- Pastel Blue CTA ---- */
.btn-pill-accent {
  background: var(--warm);
  color: var(--white);
  box-shadow: 0 4px 14px var(--warm-glow);
}

.btn-pill-accent:hover {
  background: var(--warm-hover);
  color: var(--white);
  box-shadow: 0 6px 20px var(--warm-glow);
}

/* ---- Slate Dark (secondary nav button) ---- */
.btn-pill-dark {
  background: var(--blue-deep);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.08);
}

.btn-pill-dark:hover {
  background: var(--blue-primary);
  color: var(--white);
  border-color: var(--blue-primary);
  box-shadow: 0 4px 14px var(--blue-glow);
}

.btn-outline-light {
  padding: 12px 24px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  border-radius: var(--radius-sm);
  background: transparent;
  backdrop-filter: blur(4px);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--blue-deep);
  border-color: var(--white);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOPBAR
   ========================================================================== */
.topbar {
  background: var(--blue-deep);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 101;
  padding: 8px 0;
}

.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar a {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.topbar a:hover {
  color: var(--blue-primary);
}

.topbar-right {
  display: flex;
  gap: 24px;
}

/* ==========================================================================
   SITE HEADER (Glassmorphic & Proportional Nav)
   ========================================================================== */
.site-header {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background var(--transition-normal);
}

.header-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 40px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
}

.main-nav {
  display: flex;
  gap: 30px;
  justify-content: center;
}

.main-nav-left {
  justify-content: center;
}

.main-nav a {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.main-nav a:hover {
  color: var(--blue-deep);
}

/* Dot hover effect */
.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--blue-primary);
  transition: all var(--transition-normal);
  transform: translateX(-50%);
}

.main-nav a:hover::after {
  width: 16px;
}

.logo-slot {
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-img {
  height: 38px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.logo-slot:hover .logo-img {
  transform: scale(1.02);
}

.footer-logo-img {
  height: 32px;
  opacity: 0.95;
  margin-bottom: 12px;
}

.logo-text {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  display: flex;
  align-items: center;
  gap: 6px;
}

.logo-text::before {
  content: '';
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 2px;
  background: var(--blue-primary);
}

.header-right {
  display: flex;
  justify-content: flex-end;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  justify-self: end;
}

.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--ink-dark);
  transition: all var(--transition-normal);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  padding: 8px 40px 20px;
}

.mobile-nav a {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px solid var(--line);
}

.mobile-nav a:hover {
  color: var(--blue-primary);
}

.mobile-nav.is-open {
  display: flex;
}

/* ==========================================================================
   HERO — Single split layout (image bg + text left)
   ========================================================================== */
.hero {
  position: relative;
  min-height: 580px;
  display: flex;
  align-items: center;
  background: var(--blue-deep);
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    rgba(9, 16, 31, 0.95) 0%,
    rgba(9, 16, 31, 0.88) 38%,
    rgba(9, 16, 31, 0.45) 65%,
    rgba(9, 16, 31, 0.08) 100%);
  z-index: 1;
}

.hero-content-outer {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 90px 40px;
}

.hero-content {
  max-width: 520px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91, 170, 220, 0.15);
  border: 1px solid rgba(91, 170, 220, 0.3);
  color: var(--warm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 4px;
  margin-bottom: 24px;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-accent {
  color: var(--warm);
}

.hero-sub {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.82);
  max-width: 460px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero-sub strong {
  color: var(--warm);
  font-weight: 700;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-hero-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--warm);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 13px 26px;
  border-radius: 9999px;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px var(--warm-glow);
  border: none;
  cursor: pointer;
}

.btn-hero-primary:hover {
  background: var(--warm-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px var(--warm-glow);
}

.btn-hero-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 12px 24px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  transition: all var(--transition-fast);
  cursor: pointer;
}

.btn-hero-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.75);
  color: var(--white);
  transform: translateY(-2px);
}

/* Hide old carousel controls (hero slider unused) */
.hero-arrow, .hero-dots { display: none; }

/* Navigation arrows — now on the slider wrapper */
.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  background: rgba(9, 16, 31, 0.45);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  backdrop-filter: blur(4px);
}

.hero-arrow:hover {
  background: var(--warm);
  border-color: var(--warm);
  color: var(--white);
  transform: translateY(-50%) scale(1.08);
}

.hero-arrow-left  { left: 20px; }
.hero-arrow-right { right: 20px; }

/* Dots */
.hero-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 10;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.35);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.hero-dot.is-active {
  background: var(--warm);
  width: 24px;
}

/* Hero Marquee Track (Trustbar) */
.hero-marquee {
  max-width: 1400px;
  width: 95%;
  margin: 0 auto;
  background: var(--blue-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  padding: 12px 0;
  border-bottom-left-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
}

.marquee-track {
  display: flex;
  gap: 20px;
  white-space: nowrap;
  width: max-content;
  animation: scroll-marquee 24s linear infinite;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
}

.marquee-track .dot {
  color: var(--warm);
}

@keyframes scroll-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}


/* ==========================================================================
   SERVICES SECTION — Redesign
   ========================================================================== */
.services {
  padding: 80px 0 0;
  background: var(--white);
}

/* Header: title left, button right */
.services-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.services-kicker {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #0052a3;
  margin-bottom: 12px;
}

.services-main-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.1;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
  margin-bottom: 8px;
  position: relative;
  padding-bottom: 18px;
}

.services-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: #0052a3;
  border-radius: 2px;
}

.services-title-accent {
  color: #0052a3;
}

.services-head-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.65;
  max-width: 400px;
  margin-top: 16px;
}

.services-header-right {
  display: flex;
  align-items: flex-start;
  padding-top: 4px;
  flex-shrink: 0;
}

.btn-services-cta {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: var(--blue-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 14px 26px;
  border-radius: 9999px;
  transition: all var(--transition-fast);
  white-space: nowrap;
  box-shadow: 0 4px 16px rgba(9, 16, 31, 0.18);
}

.btn-services-cta:hover {
  background: #1a2d4a;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(9, 16, 31, 0.22);
}

/* 3 service cards */
.services-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 0;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 24px;
  transition: all var(--transition-normal);
}

.service-card:hover {
  border-color: rgba(91, 170, 220, 0.35);
  box-shadow: 0 12px 32px rgba(9, 16, 31, 0.08);
  transform: translateY(-3px);
}

/* Large icon box at top of card */
.service-card-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(91, 170, 220, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue-deep);
  margin-bottom: 16px;
  transition: background var(--transition-fast);
}

.service-card-icon-wrap svg {
  width: 26px !important;
  height: 26px !important;
}

.service-card:hover .service-card-icon-wrap {
  background: rgba(91, 170, 220, 0.18);
}

.service-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--blue-deep);
  margin-bottom: 6px;
  position: relative;
  padding-bottom: 10px;
}

.service-card h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 3px;
  background: #0052a3;
  border-radius: 2px;
}

.service-card > p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* Checkmark list */
.service-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px 10px;
}

.service-card-list li {
  font-size: 11px;
  color: var(--ink-soft);
  display: flex;
  align-items: center;
  gap: 5px;
}

.service-card-list li::before {
  content: '';
  display: inline-block;
  width: 16px;
  height: 16px;
  min-width: 16px;
  border-radius: 50%;
  background: rgba(0, 82, 163, 0.15);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' width='10' height='10' fill='none' stroke='%230052a3' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 10px;
}

/* Bottom dark bar */
.services-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: var(--blue-deep);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 28px 40px;
  margin-top: 32px;
}

.services-bottom-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
  min-width: 240px;
}

.services-bottom-shield {
  width: 52px;
  height: 52px;
  min-width: 52px;
  border-radius: 50%;
  background: rgba(0, 82, 163, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #0052a3;
  flex-shrink: 0;
}

.services-bottom-text strong {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.services-bottom-text p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
  margin: 0;
  max-width: 340px;
}

.services-bottom-stats {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}

.svc-stat {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.8);
}

.svc-stat div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.svc-stat strong {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--white);
  display: block;
}

.svc-stat span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
}

/* Responsive */
@media (max-width: 860px) {
  .services-cards { grid-template-columns: 1fr; }
  .services-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    border-radius: var(--radius-sm);
  }
  .services-bottom-stats { gap: 20px; }
}

/* ==========================================================================
   QUIÉNES SOMOS (Dark Feature / Mockup)
   ========================================================================== */
.dark-feature {
  background: var(--blue-deep);
  padding: 60px 0;
  margin-top: 80px;
}

.dark-feature-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 64px;
  align-items: stretch;
}

.dark-feature-visual {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 100%;
}

.device-mock {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(91, 170, 220, 0.15);
  border: 1.5px solid rgba(91, 170, 220, 0.25);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
  display: flex;
  align-items: center;
  justify-content: center;
}

.device-mock:hover {
  transform: scale(1.02);
  box-shadow: 0 30px 80px rgba(91, 170, 220, 0.3);
}

.device-mock img,
.device-mock video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dark-feature-text h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.dark-feature-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 32px;
  max-width: 440px;
  line-height: 1.7;
}

/* ==========================================================================
   PRODUCTOS SECTION — DARK PREMIUM REDESIGN
   ========================================================================== */
.portfolio {
  padding: 30px 0 100px;
  background: var(--bg-soft);
  position: relative;
  overflow: hidden;
}

/* Ambient glow blobs */
.portfolio-blob {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(100px);
  opacity: 0.45;
}

.portfolio-blob-1 {
  width: 500px;
  height: 500px;
  top: -150px;
  right: -80px;
  background: radial-gradient(circle, rgba(91, 170, 220, 0.08) 0%, transparent 70%);
}

.portfolio-blob-2 {
  width: 400px;
  height: 400px;
  bottom: -100px;
  left: -60px;
  background: radial-gradient(circle, rgba(71, 85, 105, 0.04) 0%, transparent 70%);
}

/* Header layout: 2-column */
.portfolio-head {
  max-width: 100%;
  margin-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  position: relative;
  z-index: 2;
}

/* Kicker badge */
.portfolio-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue-primary);
  background: rgba(71, 85, 105, 0.06);
  border: 1px solid rgba(71, 85, 105, 0.15);
  padding: 5px 13px;
  border-radius: 99px;
  margin-bottom: 18px;
  width: fit-content;
}

.kicker-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-primary);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.5; transform: scale(0.7); }
}

/* NEW: 2-col portfolio header */
.portfolio-head-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.portfolio-main-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 18px;
}

.portfolio-main-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 52px;
  height: 4px;
  background: var(--blue-primary);
  border-radius: 2px;
}

.portfolio-title-accent {
  color: var(--blue-primary);
}

.portfolio-head-desc {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  max-width: 420px;
}

/* Right col: shield + text row */
.portfolio-shield-row {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.portfolio-shield-icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #0052a3;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 6px 18px rgba(0, 82, 163, 0.2);
}

.portfolio-head-right {
  padding-top: 64px;
}

.portfolio-head-right p {
  font-size: 14.5px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin: 4px 0 0;
}

.portfolio-head-right p strong {
  color: #0052a3;
  font-weight: 700;
}

/* Stats bar */
.portfolio-stats-bar {
  display: flex;
  align-items: stretch;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 3px 18px rgba(9, 16, 31, 0.06);
  padding: 28px 32px;
  margin-bottom: 48px;
  gap: 0;
  position: relative;
  z-index: 2;
}

.pstat-new {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  flex: 1;
  padding: 0 24px;
}

.pstat-new:first-child { padding-left: 0; }
.pstat-new:last-child  { padding-right: 0; }

.pstat-sep {
  width: 1px;
  background: var(--line);
  flex-shrink: 0;
  align-self: stretch;
}

.pstat-circle {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #0052a3;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 82, 163, 0.2);
  flex-shrink: 0;
}

.pstat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pstat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  color: #0052a3;
  line-height: 1;
  letter-spacing: -0.03em;
}

.pstat-num-sm {
  min-height: 1px;
}

.pstat-label {
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
  line-height: 1.3;
  margin-top: 4px;
}

.pstat-desc {
  font-size: 11.5px;
  color: var(--ink-soft);
  line-height: 1.4;
  margin-top: 4px;
}

/* "Encuentra el troquel ideal" subtitle */
.portfolio-find {
  text-align: center;
  margin-bottom: 40px;
  position: relative;
  z-index: 2;
}

.portfolio-find h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.5vw, 1.9rem);
  color: var(--blue-deep);
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.portfolio-find-accent {
  color: var(--blue-primary);
  text-decoration: underline;
  text-decoration-color: rgba(14, 156, 237, 0.4);
  text-underline-offset: 3px;
}

.portfolio-find p {
  font-size: 14.5px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Old pstat styles (kept for any residual use) */
.pstat {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
}

.pstat strong {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--warm);
  letter-spacing: -0.02em;
  line-height: 1;
  white-space: nowrap;
}

.pstat span {
  font-size: 11.5px;
  color: var(--ink-soft);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}

.pstat-divider {
  width: 1px;
  height: 32px;
  background: var(--line);
  flex-shrink: 0;
}

/* Responsive */
@media (max-width: 860px) {
  .portfolio-head-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .portfolio-stats-bar {
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px 24px;
  }
  .pstat-new { min-width: 42%; padding: 0; }
  .pstat-sep { display: none; }
}



/* CTA bar below the card grid */
.portfolio-cta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  margin-top: 48px;
  padding: 24px 32px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  position: relative;
  z-index: 2;
  box-shadow: 0 2px 12px rgba(9, 16, 31, 0.05);
}

.portfolio-cta-bar p {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
}



/* HORIZONTAL SCROLLING GRID SYSTEM */
.catalog-grid {
  display: flex;
  overflow-x: auto;
  gap: 28px;
  padding: 12px 4px 32px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: rgba(71, 85, 105, 0.3) rgba(0,0,0,0.06);
  -webkit-overflow-scrolling: touch;
  position: relative;
  z-index: 2;
}

/* Custom Scrollbar for horizontal slider */
.catalog-grid::-webkit-scrollbar {
  height: 8px;
}

.catalog-grid::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 99px;
}

.catalog-grid::-webkit-scrollbar-thumb {
  background: var(--warm);
  border-radius: 99px;
}

/* PRODUCT CARD WRAPPER - handles filter: drop-shadow for masked cards */
.catalog-card-wrapper {
  flex: 0 0 280px;
  scroll-snap-align: start;
  position: relative;
  overflow: visible;
  transition: transform var(--transition-normal);
}

.catalog-card-wrapper:hover {
  transform: translateY(-6px);
}

.card-shadow-container {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 10px 22px rgba(15, 23, 42, 0.08));
  transition: filter var(--transition-normal);
}

.catalog-card-wrapper:hover .card-shadow-container {
  filter: drop-shadow(0 18px 36px rgba(91, 170, 220, 0.18));
}

/* MAIN CARD CONTAINER */
.catalog-card {
  width: 100%;
  height: 100%;
  background: var(--bg-card);
  border-radius: 36px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  position: relative;
  border: 1px solid var(--line);
}

/* Image container — centered product image/video inside dark gradient box */
.catalog-card-img {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: radial-gradient(circle at center, #1E293B 0%, #0F172A 100%);
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Subtle blueprint grid overlay on dark gradient */
.catalog-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(91, 170, 220, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(91, 170, 220, 0.05) 1px, transparent 1px);
  background-size: 18px 18px;
  pointer-events: none;
  z-index: 1;
}

.catalog-card-img img,
.catalog-card-img video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
  position: relative;
  z-index: 3;
}

.catalog-card-wrapper:hover .catalog-card-img img,
.catalog-card-wrapper:hover .catalog-card-img video {
  transform: scale(1.05);
}

/* Reference Badge */
.catalog-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 10;
  background: var(--warm-soft);
  color: var(--warm-hover);
  font-family: var(--font-display);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 99px;
  border: 1px solid rgba(91, 170, 220, 0.2);
}

/* Body content */
.catalog-card-body {
  padding: 16px 8px 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
  gap: 8px;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.catalog-card-body h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.3;
  margin: 0;
}

/* Favorite heart icon button */
.btn-like {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.btn-like:hover {
  color: #EF4444;
  border-color: #FEE2E2;
  background: #FEF2F2;
  transform: scale(1.08);
}

.btn-like.is-active {
  background: #FEF2F2;
  border-color: #FECACA;
  color: #EF4444;
}

.btn-like svg {
  width: 15px;
  height: 15px;
  fill: currentColor;
}

.catalog-desc {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* Card Footer with specs */
.catalog-card-footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--line);
}

.catalog-specs-mini {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-pill {
  font-size: 11px;
  color: var(--ink-faint);
  line-height: 1.2;
}

.spec-pill strong {
  color: var(--ink-soft);
  font-weight: 700;
}

/* Floating button container outside of masked catalog card */
.card-btn-container {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 56px;
  height: 56px;
  z-index: 15;
  pointer-events: none;
}

/* Shopping Cart WhatsApp button */
.btn-cotizar {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: var(--warm);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px var(--warm-glow);
  border: 1px solid rgba(255, 255, 255, 0.1);
  pointer-events: auto;
}

.btn-cotizar:hover {
  background: var(--warm-hover);
  transform: scale(1.05);
  box-shadow: 0 6px 16px var(--warm-glow);
}

.btn-cotizar svg {
  width: 18px;
  height: 18px;
}

/* Inverted corner fillets */
.card-btn-container::before,
.card-btn-container::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  pointer-events: none;
  background: radial-gradient(circle at 100% 100%, transparent 16px, var(--bg-card) 16.5px);
}

/* Top fillet */
.card-btn-container::before {
  top: -16px;
  right: 0;
}

/* Left fillet */
.card-btn-container::after {
  bottom: 0;
  left: -16px;
}

/* Keep old specs table classes so nothing else breaks */
.catalog-specs-table {
  display: none;
}

.catalog-ref {
  display: none;
}


/* ==========================================================================
   CREDIBILITY SECTION
   ========================================================================== */
.credibility {
  padding: 90px 0;
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.credibility-inner {
  max-width: 780px;
  text-align: center;
}

.credibility-kicker {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 15px;
  margin-bottom: 24px;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.credibility-quote {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
  line-height: 1.6;
  color: var(--blue-deep);
  font-weight: 500;
  margin-bottom: 28px;
  position: relative;
  padding: 0 24px;
}

.credibility-author {
  font-size: 15px;
  font-weight: 700;
  color: var(--blue-deep);
}

.credibility-role {
  font-size: 13px;
  color: var(--ink-faint);
  margin-top: 4px;
}

/* ==========================================================================
   NUESTRO PROCESO DE INGENIERÍA SECTION
   ========================================================================== */
.engineering-process {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}

.process-head {
  max-width: 600px;
  margin: 0 auto 60px;
  text-align: center;
}

.process-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  color: var(--blue-deep);
  letter-spacing: -0.02em;
  margin-bottom: 16px;
}

.process-title::after {
  content: '';
  display: block;
  width: 50px;
  height: 4px;
  background: var(--blue-primary);
  margin: 14px auto 0;
  border-radius: 2px;
}

.process-sub {
  font-size: 15.5px;
  color: var(--ink-soft);
}

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

.process-step {
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  background: var(--bg-soft);
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: rgba(14, 156, 237, 0.35);
  box-shadow: 0 16px 36px var(--blue-glow);
  background: var(--white);
}

.step-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 48px;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue-primary);
  margin-bottom: 20px;
  opacity: 0.85;
  transition: all var(--transition-normal);
}

.process-step:hover .step-num {
  color: var(--blue-primary);
  -webkit-text-stroke: 1.5px var(--blue-primary);
  opacity: 1;
  transform: scale(1.05);
}

.process-step h3 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 800;
  color: var(--blue-deep);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.process-step p {
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.55;
}

/* Special badge for the 4th step */
.process-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--blue-primary);
  color: var(--blue-deep);
  padding: 3px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   CTA & MAP LAYOUT
   ========================================================================== */
.final-cta {
  padding: 100px 0;
  background: var(--white);
}

.final-cta-head {
  max-width: 640px;
  margin: 0 auto 56px;
  text-align: center;
}

.final-cta-head h2 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--blue-deep);
  letter-spacing: -0.02em;
}

.final-cta-head p {
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 28px;
}

.final-cta-note {
  font-size: 13.5px;
  color: var(--ink-faint);
  margin-top: 16px;
}

.final-cta-note a {
  text-decoration: underline;
  color: var(--blue-primary);
  font-weight: 700;
}

.location-card {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.location-info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.location-info h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 24px;
  margin-bottom: 16px;
  color: var(--blue-deep);
}

.location-info address {
  font-style: normal;
  font-size: 15.5px;
  color: var(--ink-soft);
  margin-bottom: 24px;
  line-height: 1.6;
}

.contact-line {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  padding: 14px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-dark);
  font-weight: 600;
  transition: all var(--transition-fast);
}

.contact-line i {
  color: var(--blue-primary);
  font-size: 16px;
}

.contact-line:hover {
  color: var(--blue-primary);
  padding-left: 6px;
}

.map-frame {
  min-height: 360px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  min-height: 360px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  padding: 64px 0 32px;
  background: var(--blue-deep);
  color: var(--white);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 32px;
  align-items: start;
  padding-bottom: 32px;
}

.site-footer .logo-text {
  color: var(--white);
}

.footer-brand p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 12px;
  max-width: 260px;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 600;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--blue-primary);
}

.footer-meta {
  text-align: right;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
}

.footer-meta p {
  margin-bottom: 4px;
}

.footer-copy {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.45);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   WHATSAPP FLOATING PULSE
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition-fast);
}

.whatsapp-float::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.6;
  animation: whatsapp-pulse 1.8s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}

.whatsapp-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

@keyframes whatsapp-pulse {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    opacity: 0.4;
  }
  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

/* ==========================================================================
   SCROLL REVEAL STYLES
   ========================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* ==========================================================================
   RESPONSIVITY & MOBILE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1024px) {
  .main-nav-left {
    display: none;
  }
  .header-inner {
    grid-template-columns: 1fr auto 1fr;
  }
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .dark-feature-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: start;
  }
  .dark-feature-visual {
    position: relative;
    height: auto;
  }
  .device-mock {
    position: relative;
    transform: none !important;
    height: 380px;
    width: 100%;
  }
  .location-card {
    grid-template-columns: 1fr;
  }
  .map-frame {
    min-height: 300px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .footer-meta {
    text-align: left;
  }
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  /* Portfolio — no changes needed at 1024px since it's a single column flow */
  .portfolio-stats {
    flex-wrap: wrap;
  }
  .portfolio-cta-bar {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .section-inner {
    padding: 0 20px;
  }
  .topbar-inner {
    padding: 0 20px;
  }
  .header-inner {
    padding: 14px 20px;
  }
  .nav-toggle {
    display: flex;
  }
  .hero {
    padding: 20px 0;
  }
  .hero-slide {
    height: 300px;
    border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    width: 90%;
  }
  .hero-marquee {
    width: 90%;
  }
  .hero-content {
    left: 20px;
    right: 20px;
    max-width: none;
  }
  .hero-arrow {
    display: none;
  }
  .hero-marquee {
    border-bottom-left-radius: var(--radius-sm);
    border-bottom-right-radius: var(--radius-sm);
  }
  .services {
    padding: 64px 0;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .services-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 40px;
  }
  .dark-feature {
    padding: 64px 0;
  }
  .portfolio {
    padding: 24px 0 64px;
  }
  .portfolio-stats {
    flex-wrap: wrap;
    gap: 0;
  }
  .pstat {
    padding: 10px 16px;
  }
  .pstat strong {
    font-size: 1rem;
  }
  .portfolio-cta-bar {
    flex-direction: column;
    text-align: center;
    padding: 20px 18px;
  }
  /* Catalog card — slimmer for mobile scroll */
  .catalog-card {
    flex: 0 0 252px;
  }
  .catalog-grid {
    gap: 16px;
    padding-bottom: 16px;
  }
  .credibility {
    padding: 64px 0;
  }
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-step {
    padding: 28px 24px;
  }
  .engineering-process {
    padding: 64px 0;
  }
  .final-cta {
    padding: 64px 0;
  }
  .location-info {
    padding: 32px 20px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   CARD MINI-CAROUSEL — DOTS & HOVER HINT
   ========================================================================== */
.catalog-card-img {
  cursor: pointer;
}

/* Smooth image transitions for the card carousel */
.card-main-img {
  transition: opacity 0.2s ease !important;
}

/* Dots at bottom of card image */
.card-img-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
  z-index: 5;
  pointer-events: none;
}

.card-img-dot {
  width: 5px;
  height: 5px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.4);
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.card-img-dot.is-active {
  background: var(--white);
  width: 14px;
}

/* "Ver galería" hint that fades in on hover */
.card-img-hint {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(9, 16, 31, 0.78) 0%, transparent 100%);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 20px 0 8px;
  opacity: 0;
  transition: opacity 0.22s ease;
  z-index: 4;
  pointer-events: none;
}

.catalog-card-img:hover .card-img-hint {
  opacity: 1;
}

/* ==========================================================================
   LIGHTBOX GALLERY MODAL
   ========================================================================== */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Dark blurred backdrop */
.lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(7, 12, 22, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* Main box — bounces in like a bubble */
.lb-box {
  position: relative;
  z-index: 1;
  background: #0F1923;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 24px;
  width: min(94vw, 920px);
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: 0 50px 120px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255,255,255,0.04);
  
  /* Start scale very small for bubble feel */
  transform: scale(0.05);
  transform-origin: center;
  transition: transform 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-modal.is-open .lb-box {
  transform: scale(1);
}

/* Coordinate-based bubble origins */
.gallery-modal.has-origin .lb-box {
  transform-origin: var(--origin-x) var(--origin-y);
}

/* Header */
.lb-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  gap: 12px;
}

.lb-title {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.lb-header-right {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.lb-counter {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.38);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.lb-close {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.lb-close:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.22);
}

/* Viewer area */
.lb-viewer-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
  min-height: 260px;
  max-height: 58vh;
  background: #080D15;
}

.lb-viewer {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 14px 60px;
}

.lb-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
  display: block;
}

.lb-video {
  max-width: 100%;
  max-height: 100%;
  border-radius: 6px;
  display: block;
}

/* Navigation arrows */
.lb-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.lb-nav:hover {
  background: var(--warm);
  border-color: var(--warm);
  transform: translateY(-50%) scale(1.08);
}

.lb-prev { left: 10px; }
.lb-next { right: 10px; }

/* Thumbnail strip */
.lb-thumbs {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  overflow-x: auto;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  flex-shrink: 0;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.12) transparent;
}

.lb-thumbs::-webkit-scrollbar { height: 3px; }
.lb-thumbs::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 99px; }

.lb-thumb {
  width: 66px;
  height: 52px;
  border-radius: 8px;
  border: 2px solid transparent;
  background-size: cover;
  background-position: center;
  background-color: rgba(255, 255, 255, 0.04);
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
  padding: 0;
  overflow: hidden;
}

.lb-thumb:hover {
  border-color: rgba(255, 255, 255, 0.35);
  transform: scale(1.04);
}

.lb-thumb.is-active {
  border-color: var(--warm);
  box-shadow: 0 0 0 3px rgba(91, 170, 220, 0.2);
  transform: scale(1.06);
}

/* Video thumbnail */
.lb-thumb-video {
  background: rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
}

.lb-thumb-video:hover {
  color: var(--white);
}

.lb-thumb-video.is-active {
  color: var(--white);
}

/* Mobile adjustments */
@media (max-width: 640px) {
  .lb-box {
    width: 98vw;
    max-height: 96vh;
    border-radius: 14px;
  }
  .lb-viewer-wrap {
    max-height: 42vh;
  }
  .lb-viewer {
    padding: 10px 48px;
  }
  .lb-nav {
    width: 36px;
    height: 36px;
  }
  .lb-prev { left: 6px; }
  .lb-next { right: 6px; }
  .lb-thumb {
    width: 54px;
    height: 42px;
  }
}

/* ==========================================================================
   TRUST BAR — Static dark strip with 6 features
   ========================================================================== */
.trustbar {
  background: var(--blue-deep);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 26px 0;
}

.trustbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  flex: 1;
  min-width: 130px;
  padding: 0 14px;
}

.trust-divider {
  width: 1px;
  height: 46px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.trust-icon-i {
  width: 24px;
  height: 24px;
  min-width: 24px;
  color: rgba(255, 255, 255, 0.8);
  flex-shrink: 0;
  margin-top: 1px;
}

.trust-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.trust-text strong {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.trust-text span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.4;
}

/* ==========================================================================
   WHY US — ¿Por qué elegir Ingtromold?
   ========================================================================== */
.why-us {
  padding: 60px 0 20px;
  background: var(--bg-soft);
  border-top: 1px solid var(--line);
}

.why-us-inner {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.why-us-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  color: var(--blue-deep);
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 16px;
}

.why-us-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 48px;
  height: 4px;
  background: var(--warm);
  border-radius: 2px;
}

/* Single horizontal row with all items + quote */
.why-features-row {
  display: flex;
  align-items: flex-start;
  gap: 0;
  flex-wrap: wrap;
}

.why-feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
  min-width: 160px;
  padding: 0 28px;
  /* No border, no background, no shadow */
}

.why-feature:first-child {
  padding-left: 0;
}

.why-feature-divider {
  width: 1px;
  min-height: 56px;
  align-self: stretch;
  background: var(--line);
  flex-shrink: 0;
}

.why-feature-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  color: var(--blue-deep);
  flex-shrink: 0;
  margin-top: 2px;
}

.why-feature-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.why-feature-text strong {
  display: block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-deep);
  line-height: 1.3;
}

.why-feature-text span {
  font-size: 12.5px;
  color: var(--ink-soft);
  line-height: 1.4;
}

/* Quote inline — no box, same size as features */
.why-quote {
  flex: 1.5;
  min-width: 180px;
  padding: 0 0 0 28px;
  margin-top: -28px;
}

.quote-mark-open {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  color: var(--warm);
  display: inline;
  line-height: 1;
  user-select: none;
}

.why-quote p {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--blue-deep);
  line-height: 1.5;
  margin: 0;
  display: inline;
}

.quote-mark-close {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 18px;
  color: var(--warm);
  display: inline;
  line-height: 1;
  margin-left: 2px;
  user-select: none;
}

/* Responsive */
@media (max-width: 900px) {
  .trustbar-inner {
    gap: 16px;
    justify-content: flex-start;
  }
  .trust-divider { display: none; }
  .trust-item { min-width: 42%; }

  .why-features-row {
    flex-direction: column;
    gap: 20px;
  }
  .why-feature-divider { display: none; }
  .why-feature,
  .why-quote { padding-left: 0; min-width: 100%; }
}

@media (max-width: 600px) {
  .hero-content-outer { padding: 60px 24px; }
  .why-quote { padding: 28px 24px 20px; }
  .trustbar-inner { padding: 0 20px; }
  .trust-item { min-width: 100%; }
}


/* ==========================================================================
   REDESIGNED DARK-FEATURE & WHITE STATS BAR
   ========================================================================== */
.dark-kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(91, 170, 220, 0.12);
  border: 1px solid rgba(91, 170, 220, 0.25);
  color: var(--warm);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 20px;
}

.dark-kicker-badge i {
  font-size: 14px;
}

.dark-feature-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 3.8vw, 2.8rem);
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.dark-title-accent {
  color: #0052a3;
}

.dark-title-line {
  width: 48px;
  height: 3px;
  background: #0052a3;
  margin-bottom: 24px;
  border-radius: 2px;
}

.dark-desc-main {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 14px;
}

.dark-desc-main strong {
  color: #0052a3;
  font-weight: 700;
}

.dark-desc-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.65;
  margin-bottom: 32px;
}

.dark-desc-sub strong {
  color: var(--white);
  font-weight: 700;
}

.dark-features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 24px;
}

.dark-feat-col {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
}

.dark-feat-header {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dark-feat-svg {
  width: 18px;
  height: 18px;
  color: #0052a3;
  flex-shrink: 0;
  stroke-width: 2.2;
}

.dark-feat-col strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--white);
  line-height: 1.2;
}

.dark-feat-col span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.4;
  padding-left: 26px;
}

.btn-dark-cta {
  background: #0066cc;
  box-shadow: 0 4px 14px rgba(0, 102, 204, 0.3);
}

.btn-dark-cta:hover {
  background: #0052a3;
  box-shadow: 0 6px 20px rgba(0, 102, 204, 0.4);
}

.dark-quote-banner {
  margin-top: 40px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.dark-quote-icon {
  color: #0052a3;
  font-size: 28px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.8;
}

.dark-quote-text {
  color: rgba(255, 255, 255, 0.85);
  font-size: 13px;
  line-height: 1.55;
  margin: 0;
}

.dark-quote-text strong {
  color: var(--white);
  font-weight: 700;
}

/* WHITE STATS BAR SECTION */
.bottom-stats-section {
  padding: 0 0 60px;
  background: var(--white);
  margin-top: -30px;
  position: relative;
  z-index: 10;
}

.bottom-stats-bar {
  display: flex;
  align-items: center;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: 20px 0;
  gap: 0;
}

.bstat-item {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  padding: 0 16px;
}

.bstat-item:first-child {
  padding-left: 0;
}

.bstat-item:last-child {
  padding-right: 0;
}

.bstat-svg {
  width: 22px;
  height: 22px;
  color: #0052a3;
  flex-shrink: 0;
  stroke-width: 1.75;
}

.bstat-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.bstat-text strong {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 12.5px;
  color: var(--blue-deep);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.bstat-text span {
  font-size: 11px;
  color: var(--ink-soft);
  line-height: 1.35;
}

.bstat-sep {
  width: 1px;
  background: var(--line);
  flex-shrink: 0;
  align-self: stretch;
}

/* RESPONSIVE FOR NEW DARK-FEATURE AND STATS */
@media (max-width: 1024px) {
  .dark-features-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .bottom-stats-bar {
    flex-wrap: wrap;
    gap: 24px;
    padding: 24px 0;
  }
  .bstat-item {
    min-width: 45%;
    padding: 0;
  }
  .bstat-sep {
    display: none;
  }
}

@media (max-width: 768px) {
  .dark-quote-banner {
    flex-direction: column;
    text-align: center;
    gap: 12px;
    padding: 20px;
  }
}

@media (max-width: 576px) {
  .dark-features-row {
    grid-template-columns: 1fr;
  }
  .bstat-item {
    min-width: 100%;
  }
}

/* ==========================================================================
   SECCIÓN: EXPERIENCIA Y RESPALDO
   ========================================================================== */
.experience-showcase {
  padding: 80px 0;
  background: #F8FAFC; /* Soft cool gray/white background like in screenshot */
  position: relative;
}

.experience-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 50px;
  align-items: stretch;
}

.exp-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.exp-kicker {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: #0066cc; /* Brand accent blue */
  text-transform: uppercase;
}

.exp-kicker-line {
  width: 25px;
  height: 3px;
  background: #0066cc;
  margin: 12px 0 24px;
  border-radius: 2px;
}

.exp-title {
  font-family: var(--font-display);
  font-size: 38px;
  font-weight: 800;
  color: var(--blue-deep);
  line-height: 1.25;
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.exp-title-accent {
  color: #0066cc;
  border-bottom: 3.5px solid #0066cc; /* Underline exactly like in the picture */
  padding-bottom: 1px;
  display: inline-block;
}

.exp-desc-1, .exp-desc-2 {
  font-family: var(--font-body);
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin-bottom: 24px;
}

/* Callout Quote Box */
.exp-callout {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #F1F5F9; /* Very soft light gray-blue background */
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 20px 24px;
  margin-bottom: 24px;
  width: 100%;
}

.exp-callout-icon {
  color: #0066cc;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 4px;
}

.exp-callout-icon svg {
  width: 24px;
  height: 24px;
}

.exp-callout-text {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink-dark);
}

.exp-callout-text strong {
  font-weight: 700;
  color: var(--blue-deep);
}

/* Footer info */
.exp-footer {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 12px;
}

.exp-footer-badge {
  width: 42px;
  height: 42px;
  background: var(--blue-deep); /* Dark Slate badge background */
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.exp-footer-badge svg {
  width: 20px;
  height: 20px;
  stroke: var(--white);
}

.exp-footer-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.exp-footer-text strong {
  font-family: var(--font-display);
  font-size: 13.5px;
  font-weight: 800;
  color: var(--blue-deep);
}

.exp-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-body);
  font-size: 12px;
  color: var(--ink-soft);
}

.exp-location .pin-svg {
  width: 13px;
  height: 13px;
  color: #0066cc;
}

/* Visual Column */
.exp-visual {
  display: flex;
  height: 100%;
}

.exp-img-wrapper {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08); /* Premium subtle shadow */
}

.exp-img-wrapper img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.exp-img-wrapper:hover img {
  transform: scale(1.02); /* Smooth interaction hover */
}

/* RESPONSIVE MEDIA QUERIES FOR EXPERIENCE SHOWCASE */
@media (max-width: 1024px) {
  .experience-showcase {
    padding: 80px 0;
  }
  .experience-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
  }
  .exp-visual {
    order: -1; /* Place image above text on tablets/mobile */
    width: 100%;
    height: 480px; /* Make the image taller in tablet view */
  }
  .exp-title {
    font-size: 34px;
  }
}

@media (max-width: 576px) {
  .experience-showcase {
    padding: 60px 0;
  }
  .exp-visual {
    height: 320px; /* Height for mobile screen */
  }
  .exp-title {
    font-size: 28px;
  }
  .exp-callout {
    padding: 16px;
  }
  .exp-footer {
    align-items: flex-start;
  }
}


