/* =============================================================
   IMDA GROUP — Sitio Web
   Manual de Identidad Corporativa aplicado:
   - Rojo:    PANTONE 485 C  | #DA291C
   - Amarillo:PANTONE 123 C  | #FFC72C
   - Negro:   PANTONE Black C| #2D2926
   - Tipografía: Ubuntu (Light, Regular, Medium, Bold)
   ============================================================= */

:root {
  /* Colores oficiales del Manual de Identidad */
  --imda-red:       #DA291C;
  --imda-red-dark:  #B01F14;
  --imda-red-soft:  #F4D5D2;
  --imda-yellow:    #FFC72C;
  --imda-yellow-dk: #E0AB1E;
  --imda-black:     #2D2926;
  --imda-black-2:   #1A1816;
  --imda-black-3:   #0F0E0D;

  /* Neutros */
  --white:          #FFFFFF;
  --gray-50:        #FAFAFA;
  --gray-100:       #F4F4F4;
  --gray-200:       #E5E5E5;
  --gray-300:       #C9C9C9;
  --gray-400:       #8A8A8A;
  --gray-500:       #5C5A57;
  --gray-600:       #3A3835;

  /* Tipografía */
  --font-body:    'Ubuntu', system-ui, sans-serif;
  --font-display: 'Bebas Neue', 'Ubuntu', sans-serif;
  --font-mono:    'JetBrains Mono', monospace;

  /* Espaciado y radios */
  --radius-sm: 6px;
  --radius:    12px;
  --radius-lg: 20px;

  --shadow-sm:  0 2px 8px rgba(45,41,38,.08);
  --shadow:     0 8px 24px rgba(45,41,38,.12);
  --shadow-lg:  0 20px 60px rgba(45,41,38,.18);
  --shadow-red: 0 12px 40px rgba(218,41,28,.32);

  --container: 1240px;
}

/* ====== RESET ====== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--imda-black);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
  font-weight: 400;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color .25s ease; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; margin: 0; }
h1,h2,h3,h4,h5 { margin: 0; line-height: 1.2; font-weight: 700; }

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

/* ====== UTILIDADES ====== */
.text-red    { color: var(--imda-red); }
.text-yellow { color: var(--imda-yellow-dk); }
.hide-mobile { display: inline-flex; }
@media (max-width: 720px){ .hide-mobile { display: none; } }

/* ====== BOTONES ====== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14.5px;
  letter-spacing: .3px;
  text-transform: uppercase;
  transition: all .25s ease;
  border: 2px solid transparent;
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg     { padding: 16px 28px; font-size: 15px; }
.btn-sm     { padding: 9px 16px; font-size: 12.5px; }
.btn-block  { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--imda-red);
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-primary:hover {
  background: var(--imda-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 16px 48px rgba(218,41,28,.45);
}

.btn-yellow {
  background: var(--imda-yellow);
  color: var(--imda-black);
}
.btn-yellow:hover {
  background: var(--imda-yellow-dk);
  transform: translateY(-2px);
}

.btn-ghost {
  background: rgba(255,255,255,.06);
  color: var(--white);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--imda-yellow);
  color: var(--imda-yellow);
}

.btn-ghost-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.4);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,.1);
  border-color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--imda-red);
  border-color: var(--imda-red);
}
.btn-outline:hover {
  background: var(--imda-red);
  color: var(--white);
}

/* ====== TOPBAR ====== */
.topbar {
  background: var(--imda-black);
  color: var(--gray-300);
  font-size: 13px;
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.topbar-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 9px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
}
.topbar i { color: var(--imda-yellow); margin-right: 6px; }
.topbar a:hover { color: var(--imda-yellow); }
.topbar-social { display: flex; gap: 8px; margin-left: 8px; }
.topbar-social a {
  width: 28px; height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,.06);
  border-radius: 50%;
  transition: all .2s;
}
.topbar-social a:hover {
  background: var(--imda-red);
  color: var(--white) !important;
}
.topbar-social i { color: inherit; margin: 0; }
@media (max-width: 720px){
  .topbar-inner { flex-direction: column; gap: 6px; padding: 8px 16px; }
  .topbar-left, .topbar-right { gap: 14px; font-size: 12px; }
}

/* ====== HEADER ====== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  transition: box-shadow .3s ease;
}
.header.scrolled { box-shadow: var(--shadow-sm); }

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
}
.brand-fallback {
  width: 54px; height: 54px;
  background: var(--imda-red);
  color: var(--imda-yellow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 50%;
  border: 3px solid var(--imda-red);
}
.brand-fallback-light {
  background: transparent;
  border: 3px solid var(--imda-yellow);
  color: var(--imda-yellow);
}
.brand-text strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1.5px;
  color: var(--imda-red);
  line-height: 1;
}
.brand-text strong span {
  color: var(--imda-black);
  margin-left: 3px;
  font-weight: 400;
}
.brand-text small {
  display: block;
  font-size: 10.5px;
  color: var(--gray-500);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  margin-top: 2px;
  font-weight: 500;
}

.main-nav {
  display: flex;
  gap: 4px;
}
.nav-link {
  padding: 10px 16px;
  font-weight: 500;
  font-size: 14.5px;
  color: var(--imda-black);
  border-radius: var(--radius-sm);
  position: relative;
  transition: all .2s ease;
}
.nav-link:hover { color: var(--imda-red); }
.nav-link.active {
  color: var(--imda-red);
  background: var(--imda-red-soft);
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: var(--imda-red);
  transition: width .25s ease;
}
.nav-link:hover::after { width: 60%; }

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--imda-black);
  border-radius: 2px;
  transition: all .25s ease;
}
.nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1100px){
  .main-nav {
    position: fixed;
    inset: 0 0 0 auto;
    width: 320px;
    max-width: 86%;
    background: var(--imda-black);
    flex-direction: column;
    padding: 100px 24px 24px;
    transform: translateX(100%);
    transition: transform .3s ease;
    box-shadow: -10px 0 40px rgba(0,0,0,.3);
  }
  .main-nav.open { transform: translateX(0); }
  .main-nav .nav-link {
    color: var(--white);
    font-size: 16px;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,.08);
    border-radius: 0;
  }
  .main-nav .nav-link.active { background: var(--imda-red); color: var(--white); }
  .nav-toggle { display: flex; z-index: 110; }
  .header-cta .btn { display: none; }
}
@media (max-width: 480px){
  .brand-text small { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  background: linear-gradient(135deg, var(--imda-black-3) 0%, var(--imda-black) 60%, var(--imda-black-2) 100%);
  color: var(--white);
  padding: 90px 0 0;
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-grid-pattern {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 80%);
}
.hero-glow {
  position: absolute;
  width: 500px; height: 500px;
  border-radius: 50%;
  filter: blur(120px);
  opacity: .3;
}
.hero-glow-red {
  background: var(--imda-red);
  top: -150px; left: -100px;
}
.hero-glow-yellow {
  background: var(--imda-yellow);
  bottom: -100px; right: -100px;
  opacity: .15;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 60px;
  align-items: center;
  padding-bottom: 100px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(218,41,28,.12);
  border: 1px solid rgba(218,41,28,.4);
  border-radius: 50px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  letter-spacing: 1.5px;
  color: var(--imda-yellow);
  margin-bottom: 28px;
  text-transform: uppercase;
}
.hero-tagline .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--imda-red);
  box-shadow: 0 0 0 4px rgba(218,41,28,.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(218,41,28,.25); }
  50%     { box-shadow: 0 0 0 8px rgba(218,41,28,.05); }
}

.hero-title {
  font-size: clamp(36px, 5.4vw, 64px);
  font-weight: 700;
  letter-spacing: -1.5px;
  line-height: 1.05;
  margin-bottom: 24px;
}
.highlight-red    { color: var(--imda-red); }
.highlight-yellow {
  color: var(--imda-yellow);
  position: relative;
  display: inline-block;
}
.highlight-yellow::after {
  content: '';
  position: absolute;
  left: 0; right: 0;
  bottom: 4px;
  height: 8px;
  background: var(--imda-red);
  z-index: -1;
  opacity: .6;
}

.hero-sub {
  font-size: 17px;
  color: rgba(255,255,255,.78);
  max-width: 580px;
  margin-bottom: 36px;
  line-height: 1.7;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 56px; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 32px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 38px;
  letter-spacing: .5px;
  color: var(--imda-yellow);
  line-height: 1;
}
.stat span {
  display: block;
  font-size: 12.5px;
  color: rgba(255,255,255,.6);
  margin-top: 6px;
  text-transform: uppercase;
  letter-spacing: .5px;
}

.hero-visual {
  position: relative;
  height: 540px;
}
.hero-image-frame {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #2a1f1d 0%, #1a1614 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: var(--shadow-lg);
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .85;
}
.hero-image-frame.placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(218,41,28,.4), transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(255,199,44,.2), transparent 50%),
    repeating-linear-gradient(45deg, rgba(255,255,255,.02) 0 2px, transparent 2px 12px);
}
.hero-image-frame.placeholder::after {
  content: '\f3fd';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 180px;
  color: rgba(218,41,28,.35);
}

.hero-image-label {
  position: absolute;
  left: 24px; bottom: 24px;
  background: rgba(15,14,13,.85);
  backdrop-filter: blur(12px);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 14px;
  border: 1px solid rgba(255,255,255,.1);
  z-index: 2;
}
.hero-image-label i {
  font-size: 22px;
  color: var(--imda-yellow);
}
.hero-image-label strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1px;
  color: var(--white);
}
.hero-image-label span {
  font-size: 11px;
  color: rgba(255,255,255,.6);
  font-family: var(--font-mono);
}

.floating-card {
  position: absolute;
  background: var(--white);
  color: var(--imda-black);
  padding: 14px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  font-size: 13px;
  z-index: 3;
  animation: float 4s ease-in-out infinite;
}
.floating-card i { font-size: 22px; }
.floating-card strong { display: block; font-size: 13.5px; }
.floating-card span { font-size: 12px; color: var(--gray-500); }
.floating-card-1 {
  top: 20px; left: -30px;
  animation-delay: 0s;
}
.floating-card-1 i { color: var(--imda-red); }
.floating-card-2 {
  top: 60%; right: -20px;
  animation-delay: 1.5s;
}
.floating-card-2 i { color: var(--imda-yellow-dk); }

@keyframes float {
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-10px); }
}

@media (max-width: 1100px){
  .hero-inner { grid-template-columns: 1fr; gap: 40px; padding-bottom: 80px; }
  .hero-visual { height: 380px; max-width: 560px; }
  .floating-card-1 { left: 10px; }
  .floating-card-2 { right: 10px; }
}
@media (max-width: 600px){
  .hero { padding-top: 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stat strong { font-size: 30px; }
  .hero-visual { height: 280px; }
  .hero-image-label { left: 12px; bottom: 12px; padding: 10px 14px; }
  .floating-card { display: none; }
}

/* ====== Marquee de marcas en el hero ====== */
.hero-marquee {
  position: relative;
  background: var(--imda-black-3);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
  overflow: hidden;
  padding: 18px 0;
}
.marquee-track {
  display: flex;
  gap: 50px;
  animation: marquee 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.marquee-track span {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 3px;
  color: rgba(255,255,255,.4);
  display: flex;
  align-items: center;
  gap: 14px;
}
.marquee-track i { color: var(--imda-red); font-size: 14px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   BENEFITS BAR
   ============================================================ */
.benefits-bar {
  background: var(--imda-yellow);
  padding: 28px 0;
  position: relative;
}
.benefits-bar::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 4px;
  background:
    repeating-linear-gradient(45deg, var(--imda-black) 0 12px, var(--imda-yellow) 12px 24px);
  opacity: .2;
}
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 16px;
}
.benefit-item i {
  font-size: 32px;
  color: var(--imda-black);
  flex-shrink: 0;
}
.benefit-item strong {
  display: block;
  font-size: 15px;
  color: var(--imda-black);
}
.benefit-item span {
  font-size: 13px;
  color: var(--imda-black);
  opacity: .7;
}
@media (max-width: 900px){
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .benefits-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   TIPOGRAFÍA DE SECCIONES
   ============================================================ */
.section-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--imda-red);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
}
.section-eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 2px;
  background: var(--imda-red);
}

.section-title {
  font-size: clamp(28px, 3.6vw, 44px);
  font-weight: 700;
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.section-lead {
  font-size: 16.5px;
  color: var(--gray-500);
  max-width: 720px;
  line-height: 1.7;
}

.section-head { margin-bottom: 56px; }
.section-head.center {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-head.center .section-eyebrow { padding-left: 0; }
.section-head.center .section-eyebrow::before {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  top: -3px;
}
.section-head.center .section-eyebrow::after {
  content: '';
  display: inline-block;
  width: 16px; height: 2px;
  background: var(--imda-red);
  margin-left: 10px;
  vertical-align: middle;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about-preview { padding: 100px 0; background: var(--gray-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.about-visual {
  position: relative;
}
.about-img-stack {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--imda-black);
  box-shadow: var(--shadow-lg);
}
.about-img-stack img { width: 100%; height: 100%; object-fit: cover; }
.about-img-stack.placeholder {
  background: linear-gradient(135deg, var(--imda-black) 0%, var(--imda-black-2) 100%);
}
.about-img-stack.placeholder::before {
  content: '\f7d9';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 160px;
  color: rgba(218,41,28,.35);
}
.about-img-stack::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(45deg, transparent 60%, rgba(218,41,28,.25));
}

.about-badge {
  position: absolute;
  bottom: -30px;
  right: -30px;
  background: var(--imda-yellow);
  color: var(--imda-black);
  padding: 24px 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 16px;
  border: 4px solid var(--white);
}
.badge-num {
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1;
  color: var(--imda-red);
}
.badge-label {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 32px 0;
}
.mv-card {
  padding: 24px;
  background: var(--white);
  border-radius: var(--radius);
  border-top: 4px solid var(--imda-red);
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.mv-card:nth-child(2) { border-top-color: var(--imda-yellow); }
.mv-card i {
  font-size: 22px;
  color: var(--imda-red);
  margin-bottom: 12px;
}
.mv-card:nth-child(2) i { color: var(--imda-yellow-dk); }
.mv-card h4 {
  font-size: 17px;
  margin-bottom: 8px;
  color: var(--imda-black);
}
.mv-card p {
  font-size: 13.5px;
  color: var(--gray-500);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 900px){
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-badge { right: 20px; bottom: -20px; padding: 18px 22px; }
  .badge-num { font-size: 44px; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services { padding: 100px 0; background: var(--white); position: relative; }
.services::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 360px;
  background:
    radial-gradient(circle at 80% 20%, rgba(255,199,44,.06), transparent 50%);
  pointer-events: none;
}

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

.service-card {
  position: relative;
  padding: 36px 28px 28px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  transition: all .3s ease;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 0; height: 4px;
  background: var(--imda-red);
  transition: width .35s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.service-card:hover::before { width: 100%; }

.service-number {
  font-family: var(--font-display);
  font-size: 56px;
  letter-spacing: 1px;
  color: var(--gray-100);
  line-height: 1;
  position: absolute;
  top: 18px; right: 22px;
  transition: color .3s ease;
}
.service-card:hover .service-number {
  color: var(--imda-yellow);
}

.service-icon {
  width: 64px;
  height: 64px;
  background: var(--imda-red-soft);
  color: var(--imda-red);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 20px;
  transition: all .3s ease;
}
.service-card:hover .service-icon {
  background: var(--imda-red);
  color: var(--white);
  transform: rotate(-5deg);
}

.service-card h3 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--imda-black);
  position: relative;
  z-index: 2;
}
.service-card p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0 0 20px;
  line-height: 1.65;
  flex: 1;
}

.service-points {
  margin-bottom: 20px;
}
.service-points li {
  font-size: 13.5px;
  color: var(--gray-600);
  padding: 6px 0 6px 24px;
  position: relative;
  border-bottom: 1px dashed var(--gray-200);
}
.service-points li:last-child { border-bottom: none; }
.service-points li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  left: 0; top: 7px;
  font-size: 11px;
  color: var(--imda-red);
}

.service-link {
  font-size: 13px;
  font-weight: 700;
  color: var(--imda-red);
  letter-spacing: .5px;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}
.service-link i { transition: transform .25s ease; }
.service-link:hover i { transform: translateX(4px); }

.service-featured {
  background: linear-gradient(135deg, var(--imda-black) 0%, var(--imda-black-2) 100%);
  color: var(--white);
  border: none;
  grid-row: span 1;
}
.service-featured h3 { color: var(--white); }
.service-featured p { color: rgba(255,255,255,.7); }
.service-featured .service-number { color: rgba(255,255,255,.08); }
.service-featured .service-icon {
  background: var(--imda-red);
  color: var(--white);
}
.service-featured .service-points li { color: rgba(255,255,255,.85); border-bottom-color: rgba(255,255,255,.08); }
.service-featured .service-points li::before { color: var(--imda-yellow); }
.service-featured .service-link { color: var(--imda-yellow); }
.service-featured:hover .service-number { color: rgba(255,199,44,.3); }
.service-featured:hover { transform: translateY(-6px); box-shadow: var(--shadow-red); }
.service-featured:hover::before { width: 100%; background: var(--imda-yellow); }

.service-warning .service-icon {
  background: rgba(255,199,44,.18);
  color: var(--imda-yellow-dk);
}
.service-warning:hover .service-icon {
  background: var(--imda-yellow);
  color: var(--imda-black);
}

.services-cta {
  margin-top: 50px;
  padding: 32px;
  background: var(--gray-50);
  border-radius: var(--radius);
  border: 1px dashed var(--gray-300);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.services-cta p { margin: 0; font-size: 15px; color: var(--gray-600); }

@media (max-width: 1000px){
  .services-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .services-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   PRODUCTS
   ============================================================ */
.products { padding: 100px 0; background: var(--gray-50); }
.products .section-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: end;
}
@media (max-width: 800px){
  .products .section-head { grid-template-columns: 1fr; }
}

.products-categories {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.cat-btn {
  padding: 9px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-600);
  transition: all .2s;
}
.cat-btn:hover {
  border-color: var(--imda-red);
  color: var(--imda-red);
}
.cat-btn.active {
  background: var(--imda-red);
  border-color: var(--imda-red);
  color: var(--white);
}

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

.product-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: all .3s ease;
  display: flex;
  flex-direction: column;
}
.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--imda-red);
}
.product-img {
  position: relative;
  aspect-ratio: 4/3;
  background: var(--gray-100);
  overflow: hidden;
}
.product-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.product-card:hover .product-img img { transform: scale(1.06); }
.product-img::after {
  content: '\f085';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  color: var(--gray-200);
  z-index: 0;
}
.product-img img { position: relative; z-index: 1; }
.product-tag {
  position: absolute;
  top: 12px; left: 12px;
  padding: 5px 11px;
  background: var(--imda-red);
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  z-index: 2;
}
.product-tag.tag-yellow { background: var(--imda-yellow); color: var(--imda-black); }
.product-tag.tag-dark   { background: var(--imda-black); color: var(--imda-yellow); }

.product-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-cat {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--imda-red);
  margin-bottom: 8px;
  font-family: var(--font-mono);
}
.product-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--imda-black);
}
.product-card p {
  font-size: 13px;
  color: var(--gray-500);
  margin: 0 0 16px;
  line-height: 1.55;
  flex: 1;
}

.product-card.fade-out {
  opacity: 0;
  transform: scale(.95);
  pointer-events: none;
  display: none;
}

.products-footer-note {
  margin-top: 40px;
  padding: 20px;
  text-align: center;
  font-size: 14px;
  color: var(--gray-500);
}
.products-footer-note i { color: var(--imda-red); margin-right: 6px; }
.products-footer-note a { color: var(--imda-red); font-weight: 700; text-decoration: underline; }

@media (max-width: 1000px){
  .products-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px){
  .products-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   BRANDS
   ============================================================ */
.brands { padding: 100px 0; background: var(--white); }
.brands-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 0;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  width: 100%;
}
.brand-cell:nth-child(8n) { border-right: none; }
.brand-cell:nth-last-child(-n+8) { border-bottom: none; }
.brand-cell {
  aspect-ratio: 1;
  background: var(--white);
  border-right: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  position: relative;
  transition: all .3s ease;
  cursor: default;
}
.brand-cell:hover {
  background: var(--imda-black);
  z-index: 2;
  transform: scale(1.05);
  box-shadow: var(--shadow);
}
.brand-cell img {
  max-width: 70%;
  max-height: 50%;
  object-fit: contain;
  filter: grayscale(1);
  opacity: .7;
  transition: all .3s ease;
}
.brand-cell:hover img {
  filter: grayscale(0) brightness(0) invert(1);
  opacity: 1;
}
.brand-cell span {
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--gray-500);
  letter-spacing: .5px;
  text-transform: uppercase;
  transition: color .3s ease;
}
.brand-cell:hover span { color: var(--imda-yellow); }

.brand-cell.placeholder-brand::before {
  content: '\f3fd';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 32px;
  color: var(--gray-300);
  margin-bottom: 4px;
  transition: color .3s ease;
}
.brand-cell.placeholder-brand:hover::before { color: var(--imda-red); }

@media (max-width: 1000px){ .brands-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 600px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }

/* ============================================================
   SECTORS
   ============================================================ */
.sectors {
  padding: 100px 0;
  background:
    linear-gradient(135deg, var(--imda-black) 0%, var(--imda-black-2) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.sectors::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(218,41,28,.2), transparent 70%);
  filter: blur(80px);
}
.sectors .section-eyebrow { color: var(--imda-yellow); }
.sectors .section-eyebrow::before { background: var(--imda-yellow); }
.sectors .section-eyebrow::after { background: var(--imda-yellow); }
.sectors .section-title { color: var(--white); }
.sectors .section-lead { color: rgba(255,255,255,.65); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}
.sector-card {
  padding: 28px 22px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  transition: all .3s ease;
  text-align: left;
}
.sector-card:hover {
  background: var(--imda-red);
  transform: translateY(-4px);
  border-color: var(--imda-red);
}
.sector-card i {
  font-size: 30px;
  color: var(--imda-yellow);
  margin-bottom: 14px;
}
.sector-card:hover i { color: var(--white); }
.sector-card h4 {
  font-size: 16px;
  margin-bottom: 6px;
  color: var(--white);
}
.sector-card p {
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin: 0;
}
.sector-card:hover p { color: rgba(255,255,255,.9); }

@media (max-width: 900px){ .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px){ .sectors-grid { grid-template-columns: 1fr; } }

/* ============================================================
   PROCESS
   ============================================================ */
.process { padding: 100px 0; background: var(--gray-50); }

.process-timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.process-step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  border: 1px solid var(--gray-200);
  position: relative;
  transition: all .3s ease;
}
.process-step::before {
  content: '';
  position: absolute;
  top: 24px; right: -16px;
  width: 0; height: 0;
  border-left: 14px solid var(--imda-red);
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  z-index: 2;
}
.process-step:nth-child(3)::before,
.process-step:nth-child(6)::before { display: none; }

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--imda-red);
  box-shadow: var(--shadow);
}
.step-number {
  font-family: var(--font-display);
  font-size: 44px;
  color: var(--imda-red);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: 1px;
}
.step-content h4 {
  font-size: 17px;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--imda-black);
}
.step-content h4 i { color: var(--imda-red); font-size: 18px; }
.step-content p {
  font-size: 14px;
  color: var(--gray-500);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 900px){
  .process-timeline { grid-template-columns: repeat(2, 1fr); }
  .process-step::before { display: none; }
}
@media (max-width: 480px){ .process-timeline { grid-template-columns: 1fr; } }

/* ============================================================
   CASES
   ============================================================ */
.cases { padding: 100px 0; background: var(--white); }
.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.case-card {
  padding: 32px 28px;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--white);
  transition: all .3s ease;
  position: relative;
  overflow: hidden;
}
.case-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(180deg, transparent, rgba(218,41,28,.04));
  transition: height .35s ease;
}
.case-card:hover {
  border-color: var(--imda-red);
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.case-card:hover::before { height: 100%; }

.case-tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--imda-red);
  background: var(--imda-red-soft);
  padding: 5px 10px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.case-card h4 {
  font-size: 19px;
  margin-bottom: 12px;
  color: var(--imda-black);
}
.case-card > p {
  font-size: 14.5px;
  color: var(--gray-500);
  margin: 0 0 20px;
  line-height: 1.65;
}
.case-metric {
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.case-metric strong {
  font-family: var(--font-display);
  font-size: 38px;
  color: var(--imda-red);
  line-height: 1;
}
.case-metric span {
  font-size: 13px;
  color: var(--gray-500);
}

@media (max-width: 900px){ .cases-grid { grid-template-columns: 1fr; } }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 60px 0;
  background:
    linear-gradient(135deg, var(--imda-red) 0%, var(--imda-red-dark) 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: '';
  position: absolute;
  top: -50%; right: -10%;
  width: 60%; height: 200%;
  background: rgba(255,199,44,.08);
  transform: rotate(20deg);
}
.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  position: relative;
}
.cta-band h3 {
  font-size: clamp(22px, 2.6vw, 32px);
  margin-bottom: 6px;
  color: var(--white);
}
.cta-band p {
  margin: 0;
  font-size: 15.5px;
  color: rgba(255,255,255,.85);
}
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials { padding: 100px 0; background: var(--gray-50); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  padding: 32px 28px;
  border-radius: var(--radius);
  position: relative;
  border-left: 4px solid var(--imda-yellow);
  box-shadow: var(--shadow-sm);
  transition: all .3s ease;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.quote-mark {
  font-family: var(--font-display);
  font-size: 80px;
  line-height: .5;
  color: var(--imda-red);
  opacity: .15;
  position: absolute;
  top: 30px; right: 28px;
}
.testimonial-card p {
  font-size: 14.5px;
  color: var(--gray-600);
  margin: 0 0 24px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}
.testimonial-author { margin-bottom: 12px; }
.testimonial-author strong {
  display: block;
  font-size: 14px;
  color: var(--imda-black);
}
.testimonial-author span {
  font-size: 12.5px;
  color: var(--gray-500);
}
.rating { display: flex; gap: 2px; }
.rating i { color: var(--imda-yellow-dk); font-size: 13px; }

@media (max-width: 900px){ .testimonials-grid { grid-template-columns: 1fr; } }

/* ============================================================
   FAQ
   ============================================================ */
.faq { padding: 100px 0; background: var(--white); }
.faq-list {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.faq-item {
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  overflow: hidden;
  transition: all .25s ease;
}
.faq-item[open] {
  background: var(--white);
  border-color: var(--imda-red);
  box-shadow: var(--shadow-sm);
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 22px 28px;
  font-size: 16px;
  font-weight: 500;
  color: var(--imda-black);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i {
  width: 32px; height: 32px;
  background: var(--imda-red-soft);
  color: var(--imda-red);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform .25s ease, background .25s ease;
}
.faq-item[open] summary i {
  transform: rotate(45deg);
  background: var(--imda-red);
  color: var(--white);
}
.faq-item p {
  margin: 0;
  padding: 0 28px 24px;
  font-size: 14.5px;
  color: var(--gray-500);
  line-height: 1.7;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact { padding: 100px 0; background: var(--gray-50); }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: stretch;
}

.contact-info {
  background: linear-gradient(160deg, var(--imda-black) 0%, var(--imda-black-2) 100%);
  color: var(--white);
  padding: 40px 32px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.contact-info::before {
  content: '';
  position: absolute;
  bottom: -100px; right: -100px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(218,41,28,.3), transparent 70%);
  filter: blur(60px);
}

.contact-info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
  position: relative;
}
.contact-info-card:last-of-type { border-bottom: none; }
.contact-info-card > i {
  width: 44px; height: 44px;
  background: rgba(218,41,28,.18);
  color: var(--imda-yellow);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.contact-info-card strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--imda-yellow);
  margin-bottom: 4px;
  font-family: var(--font-mono);
}
.contact-info-card a,
.contact-info-card span {
  display: block;
  font-size: 15.5px;
  color: var(--white);
  font-weight: 500;
}
.contact-info-card a:hover { color: var(--imda-yellow); }
.contact-info-card small {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

.contact-social {
  margin-top: 28px;
  position: relative;
}
.contact-social strong {
  display: block;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--imda-yellow);
  margin-bottom: 14px;
  font-family: var(--font-mono);
}
.contact-social > div { display: flex; gap: 10px; }
.contact-social a {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  color: var(--white);
}
.contact-social a:hover {
  background: var(--imda-red);
  transform: translateY(-3px);
}

.contact-form {
  background: var(--white);
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
}
.contact-form h3 {
  font-size: 22px;
  margin-bottom: 24px;
  color: var(--imda-black);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--gray-600);
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--imda-black);
  background: var(--gray-50);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-sm);
  transition: all .2s ease;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--imda-red);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(218,41,28,.1);
}
.form-group textarea { resize: vertical; min-height: 110px; }

.form-note {
  margin: 14px 0 0;
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
}

@media (max-width: 900px){
  .contact-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 32px 24px; }
  .contact-info { padding: 32px 24px; }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--imda-black-3);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 4px;
  background:
    repeating-linear-gradient(90deg,
      var(--imda-red) 0 60px,
      var(--imda-yellow) 60px 90px,
      var(--imda-black) 90px 100px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 50px;
  padding-bottom: 60px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.7;
  margin: 16px 0 22px;
  color: rgba(255,255,255,.55);
  max-width: 320px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.06);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .25s ease;
  color: var(--white);
}
.footer-social a:hover {
  background: var(--imda-red);
  transform: translateY(-3px);
}

.brand-footer .brand-text strong {
  color: var(--imda-yellow);
}
.brand-footer .brand-text strong span {
  color: var(--white);
}
.brand-footer .brand-text small { color: rgba(255,255,255,.5); }

.footer-col h5 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--imda-yellow);
  margin-bottom: 20px;
  font-family: var(--font-mono);
}
.footer-col ul li {
  padding: 6px 0;
  font-size: 14px;
}
.footer-col ul a:hover { color: var(--imda-yellow); padding-left: 4px; }
.footer-col ul a { transition: all .2s ease; }

.footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 8px 0;
}
.footer-contact i {
  color: var(--imda-red);
  margin-top: 4px;
  width: 16px;
  flex-shrink: 0;
}
.footer-contact a:hover { color: var(--imda-yellow); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.06);
  padding: 24px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255,255,255,.4);
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 900px){
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 560px){
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* ============================================================
   FLOATING / FIXED ELEMENTS
   ============================================================ */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  z-index: 99;
  box-shadow: 0 10px 30px rgba(37,211,102,.4);
  transition: transform .25s ease;
}
.wa-float:hover { transform: scale(1.08); }
.wa-pulse {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #25D366;
  animation: wa-pulse 2s infinite;
  z-index: -1;
}
@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: .6; }
  100% { transform: scale(1.5); opacity: 0; }
}

.back-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 48px;
  height: 48px;
  background: var(--imda-black);
  color: var(--imda-yellow);
  border-radius: 50%;
  font-size: 18px;
  z-index: 99;
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
  transition: all .25s ease;
  box-shadow: var(--shadow);
}
.back-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.back-top:hover { background: var(--imda-red); color: var(--white); }

@media (max-width: 600px){
  .wa-float { width: 54px; height: 54px; font-size: 26px; bottom: 16px; right: 16px; }
  .back-top { width: 42px; height: 42px; bottom: 16px; left: 16px; }
}

/* ============================================================
   ANIMACIONES DE ENTRADA (scroll reveal)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Reduce motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ============================================================
   PAGE HERO (subpáginas)
   ============================================================ */
.page-hero {
  position: relative;
  background: linear-gradient(135deg, #1a1a1a 0%, var(--imda-black) 60%, #2a1010 100%);
  color: var(--white);
  padding: 110px 0 70px;
  overflow: hidden;
  border-bottom: 4px solid var(--imda-red);
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at 50% 30%, black 30%, transparent 70%);
}
.page-hero-bg::before {
  content: ""; position: absolute;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(218,41,28,.25), transparent 70%);
  border-radius: 50%;
  top: -100px; right: -50px;
  filter: blur(40px);
}
.page-hero-bg::after {
  content: ""; position: absolute;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,199,44,.2), transparent 70%);
  border-radius: 50%;
  bottom: -80px; left: 10%;
  filter: blur(50px);
}
.page-hero-inner { position: relative; z-index: 2; }

.breadcrumbs {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,.55);
  margin-bottom: 28px;
}
.breadcrumbs a { color: var(--imda-yellow); text-decoration: none; }
.breadcrumbs a:hover { color: var(--white); }
.breadcrumbs i { font-size: 9px; color: rgba(255,255,255,.4); }
.breadcrumbs span { color: var(--white); }

.page-hero-eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--imda-yellow);
  padding: 6px 16px;
  background: rgba(255,199,44,.12);
  border-left: 3px solid var(--imda-yellow);
  margin-bottom: 22px;
}
.page-hero-title {
  font-family: var(--font-display);
  font-size: clamp(40px, 6vw, 76px);
  line-height: 1;
  letter-spacing: 1px;
  margin: 0 0 18px;
  text-transform: uppercase;
}
.page-hero-sub {
  max-width: 760px;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255,255,255,.8);
  margin: 0;
}

@media (max-width: 720px){
  .page-hero { padding: 80px 0 50px; }
  .page-hero-sub { font-size: 16px; }
}

/* ============================================================
   ABOUT GRID FLIPPED (nosotros standalone)
   ============================================================ */
.about-grid-flipped {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}
.about-grid-flipped .lede {
  font-size: 18px;
  font-weight: 500;
  color: var(--imda-black);
  margin-bottom: 18px;
  line-height: 1.6;
}
.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 2px solid #eee;
}
.about-stats > div { text-align: center; }
.about-stats strong {
  display: block;
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--imda-red);
  line-height: 1;
  margin-bottom: 6px;
}
.about-stats span {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #666;
}
@media (max-width: 900px){
  .about-grid-flipped { grid-template-columns: 1fr; gap: 40px; }
}

/* ============================================================
   MVV (Misión Visión Valores)
   ============================================================ */
.section-mvv {
  background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
}
.mvv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.mvv-card {
  background: var(--white);
  border-radius: 14px;
  padding: 40px 32px;
  text-align: center;
  border: 2px solid #f0f0f0;
  transition: all .3s ease;
}
.mvv-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(0,0,0,.08);
}
.mvv-icon {
  width: 70px; height: 70px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 28px;
  margin: 0 auto 22px;
}
.mvv-mision { border-top: 4px solid var(--imda-red); }
.mvv-mision .mvv-icon { background: rgba(218,41,28,.1); color: var(--imda-red); }
.mvv-vision { border-top: 4px solid var(--imda-yellow); }
.mvv-vision .mvv-icon { background: rgba(255,199,44,.18); color: #c79a00; }
.mvv-valores { border-top: 4px solid var(--imda-black); }
.mvv-valores .mvv-icon { background: rgba(45,41,38,.1); color: var(--imda-black); }
.mvv-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1px;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.mvv-card p {
  color: #555;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 900px){
  .mvv-grid { grid-template-columns: 1fr; gap: 20px; }
}

/* ============================================================
   DPF GRID (subpágina anticontaminantes)
   ============================================================ */
.dpf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.dpf-card {
  background: var(--white);
  border: 2px solid #eee;
  border-radius: 14px;
  padding: 36px 32px;
  position: relative;
  transition: all .3s ease;
}
.dpf-card:hover {
  border-color: var(--imda-red);
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(218,41,28,.12);
}
.dpf-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--imda-red), #b01b10);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
}
.dpf-card h3 {
  font-family: var(--font-display);
  font-size: 26px;
  letter-spacing: 1px;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.dpf-card > p {
  color: #555;
  line-height: 1.65;
  margin-bottom: 22px;
}
.dpf-card h5 {
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--imda-red);
  margin: 0 0 12px;
  padding-bottom: 10px;
  border-bottom: 2px solid #f3f3f3;
}
.dpf-card ul {
  list-style: none;
  padding: 0; margin: 0;
}
.dpf-card ul li {
  padding: 6px 0 6px 26px;
  position: relative;
  color: #444;
  font-size: 15px;
}
.dpf-card ul li::before {
  content: "✓";
  position: absolute; left: 0; top: 6px;
  color: var(--imda-red);
  font-weight: 700;
}
@media (max-width: 900px){
  .dpf-grid { grid-template-columns: 1fr; }
}

/* BENEFICIOS GRID */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 16px;
}
.benefit-tile {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 12px;
  padding: 28px 24px;
  transition: all .3s ease;
}
.benefit-tile:hover {
  background: rgba(255,199,44,.08);
  border-color: var(--imda-yellow);
  transform: translateY(-4px);
}
.benefit-tile i {
  font-size: 30px;
  color: var(--imda-yellow);
  margin-bottom: 14px;
}
.benefit-tile h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  margin: 0 0 8px;
  color: var(--white);
}
.benefit-tile p {
  color: rgba(255,255,255,.7);
  font-size: 14px;
  margin: 0;
  line-height: 1.6;
}
@media (max-width: 900px){
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px){
  .benefits-grid { grid-template-columns: 1fr; }
}

.legal-note {
  margin-top: 50px;
  padding: 22px 26px;
  background: rgba(255,199,44,.08);
  border-left: 4px solid var(--imda-yellow);
  border-radius: 4px;
  color: rgba(255,255,255,.85);
  font-size: 14px;
  line-height: 1.7;
}
.legal-note i { color: var(--imda-yellow); margin-right: 8px; }
.legal-note strong { color: var(--imda-yellow); }

/* SERVICE TAG (badge "★ Especialidad" en card destacada) */
.service-tag {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--imda-yellow);
  color: var(--imda-black);
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 10px;
  border-radius: 999px;
  z-index: 3;
}

/* PRODUCTS FILTERS (subpáginas) */
.products-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin: 30px 0 40px;
}
.filter-chip {
  padding: 9px 18px;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: 50px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--gray-600);
  cursor: pointer;
  transition: all .2s;
  font-family: var(--font-body);
}
.filter-chip:hover {
  border-color: var(--imda-red);
  color: var(--imda-red);
}
.filter-chip.active {
  background: var(--imda-red);
  border-color: var(--imda-red);
  color: var(--white);
}

/* PRODUCT CTA & PLACEHOLDER */
.product-cta {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--imda-red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  text-decoration: none;
}
.product-cta i { transition: transform .25s ease; font-size: 10px; }
.product-cta:hover i { transform: translateX(4px); }

.product-placeholder {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, var(--gray-100), var(--gray-200));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 50px;
  color: var(--gray-400);
}

.product-img {
  position: relative;
}

/* CONTACT FORM (subpágina contacto) */
.contact-form-card {
  background: var(--white);
  padding: 40px;
  border-radius: 14px;
  box-shadow: 0 10px 40px rgba(0,0,0,.06);
  border: 1px solid var(--gray-100);
}
.contact-form-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1px;
  margin: 0 0 20px;
  text-transform: uppercase;
}
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form label {
  display: flex; flex-direction: column;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--gray-600);
  font-weight: 600;
  gap: 6px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  font-family: var(--font-body);
  font-size: 15px;
  padding: 12px 14px;
  border: 2px solid var(--gray-100);
  border-radius: 8px;
  background: var(--gray-50);
  text-transform: none;
  letter-spacing: 0;
  color: var(--imda-black);
  transition: all .2s;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--imda-red);
  background: var(--white);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.btn-block { width: 100%; justify-content: center; }
.form-note {
  font-size: 12px;
  color: var(--gray-400);
  text-align: center;
  margin: 0;
}
@media (max-width: 600px){
  .form-row { grid-template-columns: 1fr; }
  .contact-form-card { padding: 28px 22px; }
}

/* CONTACT INFO CARD */
.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: start;
}
.contact-info-card {
  background: linear-gradient(135deg, var(--imda-black) 0%, #1a1614 100%);
  color: var(--white);
  padding: 44px 38px;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
  display: block;
}
.contact-info-card > h3,
.contact-info-card > p {
  display: block;
}
.contact-info-card::before {
  content: ""; position: absolute;
  top: 0; right: 0;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(218,41,28,.3), transparent 70%);
  border-radius: 50%;
  filter: blur(40px);
}
.contact-info-card > * { position: relative; z-index: 2; }
.contact-info-card h3 {
  font-family: var(--font-display);
  font-size: 30px;
  letter-spacing: 1px;
  margin: 0 0 14px;
  text-transform: uppercase;
}
.contact-info-card > p {
  color: rgba(255,255,255,.75);
  line-height: 1.7;
  margin-bottom: 30px;
}
.contact-info-list {
  list-style: none;
  padding: 0; margin: 0 0 30px;
  display: flex; flex-direction: column;
  gap: 18px;
}
.contact-info-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.contact-info-list li > div { flex: 1; min-width: 0; }
.contact-info-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  background: var(--imda-red);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
}
.contact-info-icon i { font-size: 16px; line-height: 1; }
.contact-info-list strong {
  display: block;
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--imda-yellow);
  margin-bottom: 4px;
}
.contact-info-list span {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 15px;
  line-height: 1.5;
}
.contact-info-list a { color: rgba(255,255,255,.85); text-decoration: none; }
.contact-info-list a:hover { color: var(--imda-yellow); }

.contact-social {
  display: flex; gap: 10px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.1);
}
.contact-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,.08);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .2s;
  text-decoration: none;
}
.contact-social a:hover {
  background: var(--imda-red);
  transform: translateY(-3px);
}

@media (max-width: 900px){
  .contact-grid { grid-template-columns: 1fr; }
}

/* ABOUT placeholder visual */
.about-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(135deg, var(--imda-red) 0%, var(--imda-black) 100%);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.85);
  gap: 14px;
}
.about-placeholder i { font-size: 70px; }
.about-placeholder span {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* SECTION HEAD CENTER variant */
.section-head-center { text-align: center; }
.section-head-center .section-sub { margin-left: auto; margin-right: auto; max-width: 720px; }
.section-head-light .section-title,
.section-head-light .eyebrow { color: var(--white); }
.eyebrow-light { color: var(--imda-yellow) !important; }

/* PROCESS TIMELINE simple version (subpágina nosotros) */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 30px;
}
.process-step {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border: 2px solid #f0f0f0;
  transition: all .3s ease;
}
.process-step:hover {
  border-color: var(--imda-red);
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0,0,0,.08);
}
.process-num {
  font-family: var(--font-display);
  font-size: 50px;
  letter-spacing: 1px;
  color: var(--imda-red);
  line-height: 1;
  margin-bottom: 14px;
}
.process-body h4 {
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin: 0 0 8px;
}
.process-body p { color: #555; line-height: 1.6; margin: 0; font-size: 14px; }
@media (max-width: 900px){ .process-timeline { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px){ .process-timeline { grid-template-columns: 1fr; } }

/* CTA BAND extra variants */
.cta-band {
  background: linear-gradient(135deg, var(--imda-red) 0%, #b01b10 100%);
  padding: 60px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(255,255,255,.04) 0 2px, transparent 2px 14px);
}
.cta-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
  position: relative; z-index: 2;
}
.cta-band h3 {
  font-family: var(--font-display);
  font-size: 36px;
  letter-spacing: 1px;
  margin: 0 0 6px;
  text-transform: uppercase;
  color: var(--white);
}
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 600px; }
.cta-band-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-light {
  background: var(--white);
  color: var(--imda-red);
  border: 2px solid var(--white);
}
.btn-light:hover { background: var(--imda-yellow); border-color: var(--imda-yellow); color: var(--imda-black); }
.btn-outline-light {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}
.btn-outline-light:hover { background: var(--white); color: var(--imda-red); }

/* SECTION DARK */
.section-dark {
  background: linear-gradient(180deg, var(--imda-black) 0%, #1a1614 100%);
  color: var(--white);
  padding: 90px 0;
  position: relative;
}


/* Aliases para las subpáginas (compat con .eyebrow / .section / .section-light / .section-sub) */
.section { padding: 90px 0; }
.section-light { background: var(--white); }
.eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--imda-red);
  text-transform: uppercase;
  margin-bottom: 14px;
  padding-left: 24px;
  position: relative;
}
.eyebrow::before {
  content: '';
  position: absolute;
  left: 0; top: 50%;
  width: 16px; height: 2px;
  background: var(--imda-red);
}
.section-head-center .eyebrow { padding-left: 0; }
.section-head-center .eyebrow::before {
  position: relative;
  display: inline-block;
  margin-right: 10px;
  top: -3px;
}
.section-head-center .eyebrow::after {
  content: '';
  display: inline-block;
  width: 16px; height: 2px;
  background: var(--imda-red);
  margin-left: 10px;
  vertical-align: middle;
}
.section-sub {
  font-size: 16.5px;
  color: var(--gray-500);
  max-width: 720px;
  line-height: 1.7;
  margin: 0;
}
.section-head-center .section-sub { color: var(--gray-500); }

