/* ═══════════════════════════════════════════════════════════════════════
   NÚCLEOS DEL CARIBE — main.css
   Industrial · Corporate · SEO-optimized
   ═══════════════════════════════════════════════════════════════════ */

/* ── Variables ─────────────────────────────────────────────────────── */
:root {
  --ndc-navy:      #0c2340;
  --ndc-navy-dark: #071728;
  --ndc-blue:      #1e4a82;
  --ndc-blue-mid:  #2563eb;
  --ndc-orange:    #f97316;
  --ndc-amber:     #f59e0b;
  --ndc-white:     #ffffff;
  --ndc-gray-50:   #f8fafc;
  --ndc-gray-100:  #f1f5f9;
  --ndc-gray-200:  #e2e8f0;
  --ndc-gray-400:  #94a3b8;
  --ndc-gray-600:  #475569;
  --ndc-gray-800:  #1e293b;
  --ndc-concrete:  #6b7280;
  --ndc-green:     #16a34a;

  --ndc-radius:    8px;
  --ndc-radius-lg: 16px;
  --ndc-shadow:    0 2px 12px rgba(0,0,0,.10);
  --ndc-shadow-lg: 0 8px 32px rgba(0,0,0,.15);
  --ndc-transition: 0.22s ease;

  --ndc-container: 1200px;
  --ndc-font:      -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
}

/* ── Reset básico ──────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--ndc-font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ndc-gray-800);
  background: var(--ndc-white);
  overflow-x: hidden;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: var(--ndc-blue); text-decoration: none; }
a:hover { color: var(--ndc-orange); }
ul { list-style: none; }

/* ── Contenedor ────────────────────────────────────────────────────── */
.ndc-container {
  max-width: var(--ndc-container);
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Secciones ─────────────────────────────────────────────────────── */
.ndc-section { padding: 4.5rem 0; }
.ndc-section-header { text-align: center; margin-bottom: 3rem; }
.ndc-section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--ndc-navy);
  margin-bottom: 0.75rem;
}
.ndc-section-header p {
  font-size: 1.05rem;
  color: var(--ndc-concrete);
  max-width: 640px;
  margin: 0 auto;
}

/* ── HEADER ────────────────────────────────────────────────────────── */
.ndc-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--ndc-navy);
  border-bottom: 3px solid var(--ndc-orange);
  box-shadow: var(--ndc-shadow);
}
.ndc-header-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  height: 64px;
}
.ndc-logo { display: flex; align-items: center; flex-shrink: 0; }
.ndc-logo img { height: 44px; width: auto; }
.ndc-logo-text {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ndc-white);
  letter-spacing: 0.5px;
}
.ndc-logo-text strong { color: var(--ndc-orange); }
.ndc-nav { flex: 1; }
.ndc-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.ndc-nav-menu li a {
  display: block;
  padding: 0.4rem 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.875rem;
  font-weight: 500;
  border-radius: 4px;
  transition: var(--ndc-transition);
}
.ndc-nav-menu li a:hover,
.ndc-nav-menu li.current-menu-item > a {
  color: var(--ndc-orange);
  background: rgba(255,255,255,0.07);
}
/* Submenu */
.ndc-nav-menu li { position: relative; }
.ndc-nav-menu li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--ndc-navy-dark);
  min-width: 220px;
  border-radius: var(--ndc-radius);
  box-shadow: var(--ndc-shadow-lg);
  padding: 0.5rem 0;
  z-index: 10;
}
.ndc-nav-menu li:hover > ul,
.ndc-nav-menu li:focus-within > ul { display: block; }
.ndc-nav-menu li ul li a { color: rgba(255,255,255,0.8); font-size: 0.85rem; padding: 0.4rem 1rem; }

.ndc-menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  margin-left: auto;
}
.ndc-menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ndc-white);
  border-radius: 2px;
  transition: var(--ndc-transition);
}

/* ── BOTONES ───────────────────────────────────────────────────────── */
.ndc-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.25rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  transition: all var(--ndc-transition);
  white-space: nowrap;
}
.ndc-btn:focus-visible { outline: 3px solid var(--ndc-orange); outline-offset: 2px; }
.ndc-btn-sm  { padding: 0.35rem 0.9rem; font-size: 0.8rem; }
.ndc-btn-lg  { padding: 0.8rem 1.75rem; font-size: 1rem; }
.ndc-btn-xl  { padding: 0.9rem 2rem; font-size: 1.05rem; }
.ndc-btn-full { width: 100%; justify-content: center; }

.ndc-btn-primary { background: var(--ndc-orange); color: var(--ndc-white); border-color: var(--ndc-orange); }
.ndc-btn-primary:hover { background: #ea6c0a; color: var(--ndc-white); border-color: #ea6c0a; }

.ndc-btn-whatsapp { background: #25d366; color: var(--ndc-white); border-color: #25d366; }
.ndc-btn-whatsapp:hover { background: #1ebe5c; color: var(--ndc-white); border-color: #1ebe5c; }

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

.ndc-btn-outline-light { background: transparent; color: var(--ndc-white); border-color: rgba(255,255,255,0.6); }
.ndc-btn-outline-light:hover { background: rgba(255,255,255,0.1); color: var(--ndc-white); }

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

/* ── HERO ──────────────────────────────────────────────────────────── */
.ndc-hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  align-items: center;
  background: var(--ndc-navy-dark);
  overflow: hidden;
}
.ndc-hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(30,74,130,0.45) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 20% 80%, rgba(249,115,22,0.12) 0%, transparent 60%),
    url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M0 60L60 0' stroke='rgba(255,255,255,0.03)' stroke-width='1'/%3E%3C/svg%3E");
}
.ndc-hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
  padding-top: 5rem;
  padding-bottom: 5rem;
}
.ndc-hero-badge {
  display: inline-block;
  background: rgba(249,115,22,0.15);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--ndc-orange);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
}
.ndc-hero-title {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: var(--ndc-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
  max-width: 680px;
}
.ndc-hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 580px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.ndc-hero-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; }

/* Hero visual — animated drill representation */
.ndc-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.ndc-hero-drill {
  width: 120px;
  height: 300px;
  background: linear-gradient(180deg, var(--ndc-blue) 0%, rgba(249,115,22,0.6) 100%);
  border-radius: 60px 60px 4px 4px;
  position: relative;
  box-shadow: 0 0 40px rgba(249,115,22,0.3), 0 0 80px rgba(30,74,130,0.4);
  animation: ndc-drill-pulse 3s ease-in-out infinite;
}
.ndc-hero-drill::after {
  content: '';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 10px;
  height: 30px;
  background: var(--ndc-orange);
  border-radius: 0 0 4px 4px;
}
@keyframes ndc-drill-pulse {
  0%,100% { box-shadow: 0 0 40px rgba(249,115,22,0.3); }
  50% { box-shadow: 0 0 60px rgba(249,115,22,0.5), 0 0 100px rgba(249,115,22,0.2); }
}

.ndc-hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,0.4);
  animation: ndc-bounce 2s ease-in-out infinite;
}
@keyframes ndc-bounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(8px)} }

/* ── AI Answer section ────────────────────────────────────────────── */
.ndc-section-ai-answer { background: var(--ndc-gray-50); padding: 2rem 0; }
.ndc-ai-answer { max-width: 800px; margin: 0 auto; text-align: center; }
.ndc-ai-answer h2 { font-size: 1.1rem; font-weight: 700; color: var(--ndc-navy); margin-bottom: 0.75rem; }
.ndc-ai-answer p { font-size: 0.95rem; color: var(--ndc-gray-600); line-height: 1.7; margin-bottom: 1rem; }
.ndc-ai-tags { display: flex; flex-wrap: wrap; gap: 0.4rem; justify-content: center; }
.ndc-ai-tags span {
  background: var(--ndc-white);
  border: 1px solid var(--ndc-gray-200);
  border-radius: 50px;
  padding: 0.2rem 0.7rem;
  font-size: 0.75rem;
  color: var(--ndc-concrete);
}

/* ── SERVICIOS GRID ────────────────────────────────────────────────── */
.ndc-section-services { background: var(--ndc-white); }
.ndc-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.25rem;
}
.ndc-service-card {
  display: block;
  background: var(--ndc-white);
  border: 1px solid var(--ndc-gray-200);
  border-radius: var(--ndc-radius-lg);
  padding: 1.75rem;
  transition: all var(--ndc-transition);
  text-decoration: none;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.ndc-service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 100%;
  background: var(--ndc-orange);
  transform: scaleY(0);
  transition: transform var(--ndc-transition);
  transform-origin: bottom;
}
.ndc-service-card:hover {
  border-color: var(--ndc-orange);
  box-shadow: var(--ndc-shadow-lg);
  transform: translateY(-3px);
}
.ndc-service-card:hover::before { transform: scaleY(1); }
.ndc-service-card-icon {
  font-size: 1.75rem;
  margin-bottom: 0.9rem;
  color: var(--ndc-blue);
}
.ndc-service-card h3 { font-size: 1rem; font-weight: 700; color: var(--ndc-navy); margin-bottom: 0.5rem; }
.ndc-service-card p { font-size: 0.875rem; color: var(--ndc-concrete); line-height: 1.5; margin-bottom: 1rem; }
.ndc-service-card-link { font-size: 0.8rem; font-weight: 600; color: var(--ndc-orange); }

/* ── FERROSCAN ─────────────────────────────────────────────────────── */
.ndc-section-ferroscan {
  background: var(--ndc-navy);
  color: var(--ndc-white);
}
.ndc-ferroscan-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 3rem;
}
.ndc-badge-tech {
  display: inline-block;
  background: rgba(249,115,22,0.2);
  border: 1px solid rgba(249,115,22,0.4);
  color: var(--ndc-orange);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.25rem 0.8rem; border-radius: 50px;
  margin-bottom: 1rem;
}
.ndc-ferroscan-text h2 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; color: var(--ndc-white); margin-bottom: 0.75rem; }
.ndc-ferroscan-text p { color: rgba(255,255,255,0.75); margin-bottom: 1.5rem; }
.ndc-check-list { margin-bottom: 1.75rem; }
.ndc-check-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  color: rgba(255,255,255,0.85); font-size: 0.9rem; margin-bottom: 0.5rem;
}
.ndc-check-list li::before {
  content: '✓';
  color: var(--ndc-orange);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

/* Ferroscan device visual */
.ndc-ferroscan-device {
  width: 160px; height: 200px;
  background: var(--ndc-gray-800);
  border-radius: 12px;
  padding: 1rem;
  border: 2px solid rgba(255,255,255,0.1);
  position: relative;
}
.ndc-ferroscan-screen {
  width: 100%; height: 120px;
  background: #001a10;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
}
.ndc-ferroscan-grid {
  width: 100%; height: 100%;
  background:
    repeating-linear-gradient(90deg, rgba(0,255,100,0.15) 0px, transparent 1px, transparent 20px),
    repeating-linear-gradient(180deg, rgba(0,255,100,0.15) 0px, transparent 1px, transparent 20px);
  position: relative;
}
.ndc-ferroscan-grid::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 8px; height: 8px;
  background: #00ff64;
  border-radius: 50%;
  box-shadow: 0 0 15px #00ff64, 30px -10px 0 6px rgba(0,255,100,0.6), -20px 15px 0 4px rgba(0,255,100,0.4);
}
.ndc-ferroscan-label {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* ── COBERTURA ─────────────────────────────────────────────────────── */
.ndc-section-coverage { background: var(--ndc-gray-50); }
.ndc-coverage-cities { display: flex; flex-wrap: wrap; gap: 0.6rem; justify-content: center; margin-bottom: 2rem; }
.ndc-city-chip {
  display: inline-block;
  background: var(--ndc-white);
  border: 1px solid var(--ndc-gray-200);
  border-radius: 50px;
  padding: 0.4rem 1rem;
  font-size: 0.875rem;
  color: var(--ndc-navy);
  font-weight: 500;
  transition: var(--ndc-transition);
}
.ndc-city-chip:hover { background: var(--ndc-navy); color: var(--ndc-white); border-color: var(--ndc-navy); }
.ndc-coverage-cta { text-align: center; }

/* ── B2B ───────────────────────────────────────────────────────────── */
.ndc-section-b2b { background: var(--ndc-white); }
.ndc-b2b-inner { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 3rem; }
.ndc-badge-b2b {
  display: inline-block;
  background: rgba(30,74,130,0.1);
  border: 1px solid rgba(30,74,130,0.3);
  color: var(--ndc-blue);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 0.25rem 0.8rem; border-radius: 50px; margin-bottom: 1rem;
}
.ndc-b2b-text h2 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; color: var(--ndc-navy); margin-bottom: 0.75rem; }
.ndc-b2b-text p { color: var(--ndc-concrete); margin-bottom: 1.25rem; }
.ndc-b2b-list { margin-bottom: 1.75rem; }
.ndc-b2b-list li { display: flex; align-items: flex-start; gap: 0.5rem; margin-bottom: 0.5rem; font-size: 0.9rem; }
.ndc-b2b-list li::before { content: '→'; color: var(--ndc-orange); font-weight: 700; flex-shrink: 0; }
.ndc-b2b-clients h3 { font-size: 1rem; font-weight: 700; color: var(--ndc-navy); margin-bottom: 1rem; }
.ndc-client-types { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; }
.ndc-client-type {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--ndc-gray-50);
  border: 1px solid var(--ndc-gray-200);
  border-radius: var(--ndc-radius);
  padding: 0.7rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ndc-gray-800);
}
.ndc-client-icon { font-size: 1.1rem; }

/* ── PROCESO ───────────────────────────────────────────────────────── */
.ndc-section-process { background: var(--ndc-gray-50); }
.ndc-process-steps { display: grid; grid-template-columns: repeat(3,1fr); gap: 2rem; margin-bottom: 2.5rem; }
.ndc-step { text-align: center; }
.ndc-step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 60px; height: 60px;
  background: var(--ndc-navy);
  color: var(--ndc-orange);
  font-size: 1.25rem; font-weight: 900;
  border-radius: 50%;
  margin: 0 auto 1rem;
  border: 3px solid var(--ndc-orange);
}
.ndc-step h3 { font-size: 1rem; font-weight: 700; color: var(--ndc-navy); margin-bottom: 0.5rem; }
.ndc-step p { font-size: 0.875rem; color: var(--ndc-concrete); }
.ndc-process-cta { text-align: center; }

/* ── FAQ ───────────────────────────────────────────────────────────── */
.ndc-section-faq { background: var(--ndc-white); }
.ndc-faq { max-width: 800px; margin: 0 auto; }
.ndc-faq-item { border-bottom: 1px solid var(--ndc-gray-200); }
.ndc-faq-item:first-child { border-top: 1px solid var(--ndc-gray-200); }
.ndc-faq-q {
  display: flex; justify-content: space-between; align-items: center;
  width: 100%; background: none; border: none; cursor: pointer;
  text-align: left; padding: 1.1rem 0;
  font-size: 0.975rem; font-weight: 600; color: var(--ndc-navy);
  gap: 1rem;
}
.ndc-faq-q:hover { color: var(--ndc-orange); }
.ndc-faq-icon { flex-shrink: 0; transition: transform var(--ndc-transition); }
.ndc-faq-q[aria-expanded="true"] .ndc-faq-icon { transform: rotate(180deg); }
.ndc-faq-a { padding: 0 0 1.1rem; }
.ndc-faq-a p { font-size: 0.9rem; color: var(--ndc-gray-600); line-height: 1.7; }

/* ── BLOG GRID ─────────────────────────────────────────────────────── */
.ndc-section-blog { background: var(--ndc-gray-50); }
.ndc-blog-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 1.5rem; }
.ndc-card {
  background: var(--ndc-white);
  border: 1px solid var(--ndc-gray-200);
  border-radius: var(--ndc-radius-lg);
  overflow: hidden;
  transition: var(--ndc-transition);
}
.ndc-card:hover { box-shadow: var(--ndc-shadow-lg); transform: translateY(-2px); }
.ndc-card-img { display: block; aspect-ratio: 16/9; overflow: hidden; }
.ndc-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.ndc-card:hover .ndc-card-img img { transform: scale(1.03); }
.ndc-card-body { padding: 1.25rem; }
.ndc-card-meta { font-size: 0.75rem; color: var(--ndc-concrete); margin-bottom: 0.5rem; }
.ndc-card-title { font-size: 1rem; font-weight: 700; color: var(--ndc-navy); margin-bottom: 0.5rem; line-height: 1.4; }
.ndc-card-title a { color: inherit; }
.ndc-card-title a:hover { color: var(--ndc-orange); }
.ndc-card-excerpt { font-size: 0.85rem; color: var(--ndc-concrete); margin-bottom: 1rem; line-height: 1.5; }
.ndc-link-arrow { font-size: 0.85rem; font-weight: 600; color: var(--ndc-blue); }
.ndc-link-arrow:hover { color: var(--ndc-orange); }

/* ── CTA BANDA NARANJA ─────────────────────────────────────────────── */
.ndc-section-cta-orange {
  background: linear-gradient(135deg, var(--ndc-navy-dark) 0%, var(--ndc-blue) 100%);
  color: var(--ndc-white);
}
.ndc-section-cta-orange h2 { font-size: clamp(1.4rem,3vw,2rem); font-weight: 800; color: var(--ndc-white); text-align: center; margin-bottom: 0.75rem; }
.ndc-section-cta-orange > .ndc-container > p { text-align: center; color: rgba(255,255,255,0.75); margin-bottom: 2.5rem; }

/* ── FORMULARIO ────────────────────────────────────────────────────── */
.ndc-form {
  background: var(--ndc-white);
  border-radius: var(--ndc-radius-lg);
  padding: 2rem;
  box-shadow: var(--ndc-shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}
.ndc-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.ndc-form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.ndc-form-group-full { grid-column: 1/-1; }
.ndc-form-group label { font-size: 0.825rem; font-weight: 600; color: var(--ndc-gray-800); }
.ndc-form-group input,
.ndc-form-group select,
.ndc-form-group textarea {
  padding: 0.6rem 0.9rem;
  border: 1.5px solid var(--ndc-gray-200);
  border-radius: var(--ndc-radius);
  font-size: 0.9rem;
  font-family: var(--ndc-font);
  color: var(--ndc-gray-800);
  background: var(--ndc-white);
  transition: border-color var(--ndc-transition);
  width: 100%;
}
.ndc-form-group input:focus,
.ndc-form-group select:focus,
.ndc-form-group textarea:focus {
  border-color: var(--ndc-blue);
  outline: none;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.12);
}
.ndc-form-group textarea { resize: vertical; min-height: 100px; }
.ndc-form-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; align-items: center; margin-top: 1.5rem; }
.ndc-form-msg { margin-top: 1rem; font-size: 0.9rem; font-weight: 500; }
.ndc-form-msg.success { color: var(--ndc-green); }
.ndc-form-msg.error { color: #dc2626; }

/* ── FOOTER ────────────────────────────────────────────────────────── */
.ndc-footer { background: var(--ndc-navy-dark); color: rgba(255,255,255,0.75); padding: 3.5rem 0 0; }
.ndc-footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 2.5rem; margin-bottom: 3rem; }
.ndc-footer-logo { font-size: 1.1rem; font-weight: 800; color: var(--ndc-white); margin-bottom: 0.75rem; letter-spacing: 0.5px; }
.ndc-footer-brand p { font-size: 0.85rem; line-height: 1.6; margin-bottom: 1.25rem; }
.ndc-footer-social { display: flex; gap: 0.75rem; }
.ndc-footer-social a { display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 50%; color: rgba(255,255,255,0.7); transition: var(--ndc-transition); }
.ndc-footer-social a:hover { background: var(--ndc-orange); color: var(--ndc-white); }
.ndc-footer-col h4 { font-size: 0.8rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--ndc-white); margin-bottom: 1rem; }
.ndc-footer-links { display: flex; flex-direction: column; gap: 0.4rem; }
.ndc-footer-links li a { font-size: 0.85rem; color: rgba(255,255,255,0.6); transition: var(--ndc-transition); }
.ndc-footer-links li a:hover { color: var(--ndc-orange); padding-left: 4px; }
.ndc-footer-contact { display: flex; flex-direction: column; gap: 0.5rem; }
.ndc-footer-contact li { font-size: 0.85rem; }
.ndc-footer-contact li a { color: rgba(255,255,255,0.6); transition: var(--ndc-transition); }
.ndc-footer-contact li a:hover { color: var(--ndc-orange); }
.ndc-footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 1.25rem 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
}
.ndc-footer-bottom p { font-size: 0.8rem; color: rgba(255,255,255,0.4); }
.ndc-footer-bottom a { color: rgba(255,255,255,0.5); }
.ndc-footer-bottom a:hover { color: var(--ndc-orange); }
.ndc-lang-switcher { display: flex; gap: 0.75rem; }
.ndc-lang-switcher a { font-size: 0.8rem; font-weight: 600; color: rgba(255,255,255,0.4); letter-spacing: 1px; }
.ndc-lang-switcher a.active,
.ndc-lang-switcher a:hover { color: var(--ndc-orange); }

/* ── WhatsApp flotante ─────────────────────────────────────────────── */
.ndc-wa-float {
  position: fixed;
  bottom: 1.5rem; right: 1.5rem;
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  width: 58px; height: 58px;
  background: #25d366;
  border-radius: 50%;
  color: var(--ndc-white);
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  transition: transform var(--ndc-transition), box-shadow var(--ndc-transition);
}
.ndc-wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 28px rgba(37,211,102,0.55); color: var(--ndc-white); }

/* ── BREADCRUMB ────────────────────────────────────────────────────── */
.ndc-breadcrumb { font-size: 0.8rem; color: var(--ndc-concrete); margin-bottom: 1.25rem; }
.ndc-breadcrumb a { color: var(--ndc-concrete); }
.ndc-breadcrumb a:hover { color: var(--ndc-orange); }
.ndc-breadcrumb span { margin: 0 0.4rem; }

/* ── PÁGINA INTERNA GENÉRICA ───────────────────────────────────────── */
.ndc-main { min-height: 60vh; }
.ndc-page-wrap { padding: 3rem 1.25rem; }
.ndc-page-title { font-size: clamp(1.4rem,4vw,2.5rem); font-weight: 800; color: var(--ndc-navy); margin-bottom: 1.5rem; }
.ndc-entry-content { max-width: 820px; line-height: 1.8; }
.ndc-entry-content h2 { font-size: 1.5rem; font-weight: 700; color: var(--ndc-navy); margin: 2rem 0 0.75rem; }
.ndc-entry-content h3 { font-size: 1.2rem; font-weight: 600; color: var(--ndc-navy); margin: 1.5rem 0 0.5rem; }
.ndc-entry-content p { margin-bottom: 1rem; color: var(--ndc-gray-600); }
.ndc-entry-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.ndc-entry-content ul li { margin-bottom: 0.4rem; color: var(--ndc-gray-600); }
.ndc-entry-content img { border-radius: var(--ndc-radius); margin: 1.5rem 0; }

/* ── SERVICIO PAGE ─────────────────────────────────────────────────── */
.ndc-service-hero { position: relative; min-height: 340px; background: var(--ndc-navy); display: flex; align-items: flex-end; }
.ndc-service-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.3; }
.ndc-service-hero-content { position: relative; z-index: 2; padding: 3rem 0 2.5rem; width: 100%; }
.ndc-service-title { font-size: clamp(1.6rem,4vw,2.8rem); font-weight: 900; color: var(--ndc-white); margin-bottom: 0.75rem; }
.ndc-service-subtitle { font-size: 1.05rem; color: rgba(255,255,255,0.75); max-width: 600px; margin-bottom: 1.5rem; }
.ndc-service-ctas { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.ndc-service-body { display: grid; grid-template-columns: 1fr 300px; gap: 2.5rem; padding: 3rem 1.25rem; }
.ndc-service-content { line-height: 1.8; color: var(--ndc-gray-600); }
.ndc-service-content h2 { font-size: 1.4rem; font-weight: 700; color: var(--ndc-navy); margin: 1.5rem 0 0.75rem; }
.ndc-service-content p { margin-bottom: 1rem; }
.ndc-service-content ul { list-style: none; padding: 0; }
.ndc-service-content ul li { padding: 0.3rem 0 0.3rem 1.4rem; position: relative; }
.ndc-service-content ul li::before { content: '✓'; position: absolute; left: 0; color: var(--ndc-orange); font-weight: 700; }
.ndc-sidebar-cta { background: var(--ndc-navy); color: var(--ndc-white); border-radius: var(--ndc-radius-lg); padding: 1.5rem; margin-bottom: 1.5rem; }
.ndc-sidebar-cta h3 { font-size: 1rem; font-weight: 700; color: var(--ndc-white); margin-bottom: 0.5rem; }
.ndc-sidebar-cta p { font-size: 0.875rem; color: rgba(255,255,255,0.7); margin-bottom: 1rem; }
.ndc-sidebar-cta .ndc-btn { margin-bottom: 0.5rem; }
.ndc-sidebar-services { background: var(--ndc-gray-50); border-radius: var(--ndc-radius-lg); padding: 1.25rem; }
.ndc-sidebar-services h3 { font-size: 0.9rem; font-weight: 700; color: var(--ndc-navy); margin-bottom: 0.75rem; }
.ndc-sidebar-services ul { display: flex; flex-direction: column; gap: 0.3rem; }
.ndc-sidebar-services ul li a { font-size: 0.825rem; color: var(--ndc-gray-600); }
.ndc-sidebar-services ul li a:hover { color: var(--ndc-orange); }
.ndc-section-cta-band { background: var(--ndc-navy); color: var(--ndc-white); }
.ndc-section-cta-band h2 { font-size: clamp(1.3rem,3vw,2rem); font-weight: 800; color: var(--ndc-white); text-align: center; margin-bottom: 0.75rem; }
.ndc-section-cta-band > .ndc-container > p { text-align: center; color: rgba(255,255,255,0.7); margin-bottom: 2rem; }

/* ── 404 ───────────────────────────────────────────────────────────── */
.ndc-404 { min-height: 70vh; display: flex; align-items: center; justify-content: center; }
.ndc-404-content { text-align: center; padding: 3rem; }
.ndc-404-code { font-size: 6rem; font-weight: 900; color: var(--ndc-orange); line-height: 1; margin-bottom: 1rem; }
.ndc-404-content h1 { font-size: 1.5rem; color: var(--ndc-navy); margin-bottom: 0.75rem; }
.ndc-404-content p { color: var(--ndc-concrete); margin-bottom: 1.5rem; }
.ndc-404-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── CHAT AGENT ────────────────────────────────────────────────────── */
.ndc-chat-float {
  position: fixed; bottom: 5.5rem; right: 1.5rem;
  z-index: 9998;
  display: flex; flex-direction: column; align-items: flex-end; gap: 0.5rem;
}
.ndc-chat-toggle {
  display: flex; align-items: center; gap: 0.6rem;
  background: var(--ndc-navy);
  color: var(--ndc-white);
  border: 2px solid var(--ndc-orange);
  border-radius: 50px;
  padding: 0.5rem 1rem 0.5rem 0.6rem;
  cursor: pointer;
  font-weight: 600; font-size: 0.85rem;
  box-shadow: var(--ndc-shadow-lg);
  transition: var(--ndc-transition);
}
.ndc-chat-toggle:hover { background: var(--ndc-blue); }
.ndc-chat-avatar {
  width: 32px; height: 32px; border-radius: 50%;
  background: var(--ndc-orange);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.ndc-chat-window {
  width: 360px;
  max-height: 520px;
  background: var(--ndc-white);
  border-radius: var(--ndc-radius-lg);
  box-shadow: var(--ndc-shadow-lg);
  border: 1px solid var(--ndc-gray-200);
  display: flex; flex-direction: column;
  overflow: hidden;
  animation: ndc-chat-in 0.25s ease;
}
@keyframes ndc-chat-in { from{opacity:0;transform:scale(0.95) translateY(10px)} to{opacity:1;transform:none} }
.ndc-chat-header {
  background: var(--ndc-navy);
  padding: 0.9rem 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.ndc-chat-header-info { flex: 1; }
.ndc-chat-header-name { font-size: 0.875rem; font-weight: 700; color: var(--ndc-white); }
.ndc-chat-header-status { font-size: 0.75rem; color: rgba(255,255,255,0.6); }
.ndc-chat-close {
  background: none; border: none; color: rgba(255,255,255,0.6);
  cursor: pointer; font-size: 1.1rem; line-height: 1; padding: 0.25rem;
}
.ndc-chat-close:hover { color: var(--ndc-white); }
.ndc-chat-msgs {
  flex: 1; overflow-y: auto; padding: 1rem;
  display: flex; flex-direction: column; gap: 0.75rem;
  background: var(--ndc-gray-50);
}
.ndc-chat-bubble {
  max-width: 85%; padding: 0.6rem 0.9rem;
  border-radius: 12px; font-size: 0.875rem; line-height: 1.5;
}
.ndc-chat-bubble.bot { background: var(--ndc-white); color: var(--ndc-gray-800); border: 1px solid var(--ndc-gray-200); align-self: flex-start; border-bottom-left-radius: 2px; }
.ndc-chat-bubble.user { background: var(--ndc-navy); color: var(--ndc-white); align-self: flex-end; border-bottom-right-radius: 2px; }
.ndc-chat-options { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.75rem 1rem; border-top: 1px solid var(--ndc-gray-200); background: var(--ndc-white); }
.ndc-chat-opt {
  flex: 0 0 auto;
  padding: 0.35rem 0.75rem;
  background: var(--ndc-gray-50);
  border: 1.5px solid var(--ndc-gray-200);
  border-radius: 50px;
  font-size: 0.78rem; font-weight: 500; cursor: pointer;
  transition: var(--ndc-transition);
}
.ndc-chat-opt:hover { background: var(--ndc-navy); color: var(--ndc-white); border-color: var(--ndc-navy); }
.ndc-chat-input-row { display: flex; gap: 0.5rem; padding: 0.75rem 1rem; border-top: 1px solid var(--ndc-gray-200); background: var(--ndc-white); }
.ndc-chat-input { flex: 1; padding: 0.5rem 0.75rem; border: 1.5px solid var(--ndc-gray-200); border-radius: 50px; font-size: 0.85rem; outline: none; }
.ndc-chat-input:focus { border-color: var(--ndc-blue); }
.ndc-chat-send { background: var(--ndc-orange); color: var(--ndc-white); border: none; border-radius: 50%; width: 34px; height: 34px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: var(--ndc-transition); }
.ndc-chat-send:hover { background: #ea6c0a; }

/* ── PAGINATION ────────────────────────────────────────────────────── */
.ndc-pagination { text-align: center; padding: 2rem 0; }
.ndc-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border: 1.5px solid var(--ndc-gray-200); border-radius: 8px; font-size: 0.875rem; font-weight: 600; color: var(--ndc-navy); margin: 0 0.2rem; transition: var(--ndc-transition); }
.ndc-pagination .page-numbers.current,
.ndc-pagination .page-numbers:hover { background: var(--ndc-navy); color: var(--ndc-white); border-color: var(--ndc-navy); }

/* ── RESPONSIVE ────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .ndc-ferroscan-inner { grid-template-columns: 1fr; }
  .ndc-ferroscan-visual { display: none; }
  .ndc-b2b-inner { grid-template-columns: 1fr; }
  .ndc-footer-grid { grid-template-columns: 1fr 1fr; }
  .ndc-service-body { grid-template-columns: 1fr; }
  .ndc-hero-visual { display: none; }
  .ndc-hero-inner { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .ndc-header-cta { display: none; }
  .ndc-nav { display: none; }
  .ndc-nav.is-open { display: block; position: absolute; top: 64px; left: 0; right: 0; background: var(--ndc-navy); padding: 1rem; }
  .ndc-nav.is-open .ndc-nav-menu { flex-direction: column; gap: 0; }
  .ndc-nav.is-open .ndc-nav-menu li a { padding: 0.75rem 1rem; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.07); }
  .ndc-menu-toggle { display: flex; }
  .ndc-section { padding: 3rem 0; }
  .ndc-hero { min-height: 100svh; }
  .ndc-hero-ctas { flex-direction: column; }
  .ndc-hero-ctas .ndc-btn { justify-content: center; }
  .ndc-process-steps { grid-template-columns: 1fr; }
  .ndc-form-grid { grid-template-columns: 1fr; }
  .ndc-form-group-full { grid-column: 1; }
  .ndc-footer-grid { grid-template-columns: 1fr; }
  .ndc-footer-bottom { flex-direction: column; text-align: center; }
  .ndc-chat-window { width: calc(100vw - 2rem); }
  .ndc-services-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .ndc-services-grid { grid-template-columns: 1fr; }
  .ndc-blog-grid { grid-template-columns: 1fr; }
  .ndc-client-types { grid-template-columns: 1fr; }
}