/* ==========================================================================
   REET ALMACENES & LOGÍSTICA - CSS GLOBAL & SISTEMA DE DISEÑO
   ========================================================================== */

:root {
  /* Paleta de Colores Inspirada en el Logo REET */
  --bg-primary: #08161d;
  --bg-secondary: #0c202a;
  --bg-card: rgba(13, 33, 44, 0.75);
  --bg-card-hover: rgba(18, 45, 60, 0.85);
  --bg-glass: rgba(12, 32, 44, 0.65);
  
  --primary-teal: #008B99;
  --primary-dark: #004D56;
  --accent-cyan: #00E5D9;
  --accent-cyan-glow: rgba(0, 229, 217, 0.35);
  --accent-gold: #FFD166;
  
  --text-main: #F0F6F8;
  --text-muted: #9BB1C0;
  --text-dim: #678090;
  
  --border-glass: rgba(0, 229, 217, 0.18);
  --border-glass-light: rgba(255, 255, 255, 0.1);
  --border-glow: rgba(0, 229, 217, 0.4);

  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;

  --transition-fast: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.6s cubic-bezier(0.16, 1, 0.3, 1);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;

  --box-shadow-card: 0 12px 36px rgba(0, 0, 0, 0.4);
  --box-shadow-glow: 0 0 25px rgba(0, 229, 217, 0.25);
}

/* RESET & CONFIGURACIÓN BASE */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: var(--font-body);
  overflow-x: hidden;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: var(--transition-fast);
}

a:hover {
  color: #5efff6;
}

.text-gradient {
  background: linear-gradient(135deg, #00E5D9 0%, #008B99 50%, #76f3ec 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-cyan {
  color: var(--accent-cyan) !important;
}

/* LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

[class*="col-"] {
  padding: 15px;
}

.col-12 { width: 100%; }
.col-md-6 { width: 100%; }
.col-lg-3 { width: 100%; }
.col-lg-4 { width: 100%; }
.col-lg-5 { width: 100%; }
.col-lg-6 { width: 100%; }
.col-lg-7 { width: 100%; }

@media (min-width: 768px) {
  .col-md-4 { width: 33.333%; }
  .col-md-6 { width: 50%; }
}

@media (min-width: 992px) {
  .col-lg-2 { width: 16.666%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333%; }
  .col-lg-5 { width: 41.666%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333%; }
}

.align-items-center { align-items: center; }
.text-center { text-align: center; }
.py-5 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-6 { padding-top: 5rem; padding-bottom: 5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }
.h-100 { height: 100%; }

/* GLASS CARD & DECORATION */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 30px;
  box-shadow: var(--box-shadow-card);
  transition: var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--box-shadow-card), var(--box-shadow-glow);
  transform: translateY(-4px);
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 217, 0.1);
  border: 1px solid rgba(0, 229, 217, 0.25);
  color: var(--accent-cyan);
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 15px;
}

.section-title {
  font-size: 2.3rem;
  margin-bottom: 15px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 600;
  border-radius: 30px;
  padding: 14px 28px;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(135deg, #00E5D9 0%, #008B99 100%);
  color: #06151E;
  box-shadow: 0 4px 15px rgba(0, 229, 217, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #33eee5 0%, #00a4b5 100%);
  box-shadow: 0 6px 25px rgba(0, 229, 217, 0.5);
  transform: translateY(-2px);
  color: #000;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-glass:hover {
  background: rgba(0, 229, 217, 0.15);
  border-color: var(--accent-cyan);
  color: #fff;
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-glass);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(0, 229, 217, 0.05);
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.9rem;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1.1rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   LOADER GLOBAL CON LOGO DE LA EMPRESA
   ========================================================================== */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 21, 30, 0.92);
  backdrop-filter: blur(20px);
}

.loader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 420px;
  width: 90%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.loader-logo-container {
  margin-bottom: 25px;
  filter: drop-shadow(0 0 15px rgba(0, 229, 217, 0.4));
}

.loader-logo-svg {
  width: 280px;
  height: auto;
  animation: logoPulse 2s infinite ease-in-out;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 10px rgba(0, 229, 217, 0.3)); }
  50% { transform: scale(1.03); filter: drop-shadow(0 0 25px rgba(0, 229, 217, 0.7)); }
}

.loader-spinner-wrapper {
  position: relative;
  width: 60px;
  height: 60px;
  margin-bottom: 25px;
}

.loader-ring {
  width: 100%;
  height: 100%;
  border: 3px solid rgba(0, 229, 217, 0.15);
  border-top-color: var(--accent-cyan);
  border-radius: 50%;
  animation: spin 1s infinite linear;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loader-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}

.loader-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #008B99, #00E5D9);
  border-radius: 10px;
  transition: width 0.2s ease;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.loader-text {
  color: var(--text-muted);
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

/* ==========================================================================
   NAVBAR & ENCABEZADO
   ========================================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 15px 0;
  transition: var(--transition-normal);
  background: rgba(8, 22, 29, 0.6);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(0, 229, 217, 0.1);
}

.navbar.scrolled {
  background: rgba(6, 21, 30, 0.95);
  padding: 10px 0;
  box-shadow: 0 8px 30px rgba(0,0,0,0.5);
  border-bottom-color: rgba(0, 229, 217, 0.25);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo-svg {
  width: 190px;
  height: 48px;
  display: block;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  color: var(--text-muted);
  font-weight: 500;
  font-size: 0.95rem;
  border-radius: 20px;
  transition: var(--transition-fast);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-cyan);
  background: rgba(0, 229, 217, 0.08);
}

.nav-link.active {
  font-weight: 600;
  box-shadow: inset 0 0 10px rgba(0, 229, 217, 0.1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.mobile-toggle span {
  width: 25px;
  height: 2px;
  background: var(--text-main);
  transition: var(--transition-fast);
  border-radius: 2px;
}

/* ==========================================================================
   SECCIONES Y NAVEGACIÓN ENTRE PÁGINAS
   ========================================================================== */
.main-wrapper {
  margin-top: 75px;
  min-height: calc(100vh - 75px);
  position: relative;
}

.page-section {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.page-section.active {
  display: block;
  opacity: 1;
}

/* BANNERS HEADER DE PÁGINA */
.page-header-banner {
  padding: 70px 0 40px;
  background: linear-gradient(180deg, rgba(0, 139, 153, 0.15) 0%, rgba(8, 22, 29, 0) 100%);
  border-bottom: 1px solid var(--border-glass);
}

.header-breadcrumb {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.header-breadcrumb a {
  color: var(--text-dim);
}

.header-breadcrumb a:hover {
  color: var(--accent-cyan);
}

.page-header-title {
  font-size: 2.8rem;
  margin-bottom: 10px;
}

.page-header-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 750px;
}

/* ==========================================================================
   PÁGINA INICIO - HERO & VIDEO DE FONDO
   ========================================================================== */
.hero-video-container {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 80px 0 60px;
}

.hero-background-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 1;
  transform: translate(-50%, -50%);
  object-fit: cover;
  opacity: 0.35;
  filter: brightness(0.7) contrast(1.1);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: radial-gradient(circle at 30% 30%, rgba(8, 22, 29, 0.6) 0%, rgba(6, 21, 30, 0.95) 100%);
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 4;
  max-width: 900px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(0, 229, 217, 0.12);
  border: 1px solid rgba(0, 229, 217, 0.3);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
  margin-bottom: 20px;
}

.badge-dot {
  width: 8px;
  height: 8px;
  background: var(--accent-cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent-cyan);
}

.hero-title {
  font-size: 3.2rem;
  letter-spacing: -1px;
  margin-bottom: 20px;
  line-height: 1.15;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin-bottom: 35px;
  line-height: 1.6;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 45px;
}

.hero-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 15px;
}

.category-chip {
  display: flex;
  align-items: center;
  gap: 15px;
  background: rgba(12, 32, 44, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-glass);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.category-chip:hover {
  border-color: var(--accent-cyan);
  transform: translateY(-3px);
}

.category-chip.featured {
  border-color: rgba(0, 229, 217, 0.4);
  background: rgba(0, 139, 153, 0.2);
}

.chip-icon {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(0, 229, 217, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

.chip-text strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-main);
}

.chip-text span {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* MÉTRICAS & INDICADORES DE CONFIANZA */
.metrics-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 20px;
  padding: 25px 40px;
}

.metric-item {
  text-align: center;
}

.metric-icon {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--text-main);
}

.metric-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-divider {
  width: 1px;
  height: 50px;
  background: var(--border-glass);
}

/* APARTADO DE VIDEO DE LA EMPRESA */
.section-company-video {
  background: linear-gradient(180deg, rgba(8, 22, 29, 0) 0%, rgba(12, 32, 44, 0.5) 100%);
}

.company-video-card {
  padding: 20px;
}

.video-player-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0,0,0,0.6);
  background: #000;
}

.company-main-video {
  width: 100%;
  max-height: 540px;
  display: block;
  object-fit: cover;
}

.video-overlay-play-btn {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(6, 21, 30, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  cursor: pointer;
  transition: var(--transition-normal);
}

.video-overlay-play-btn.playing {
  opacity: 0;
  pointer-events: none;
}

.play-pulse-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00E5D9, #008B99);
  color: #06151E;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  padding-left: 5px;
  box-shadow: 0 0 30px var(--accent-cyan);
  animation: pulsePlay 2s infinite;
}

@keyframes pulsePlay {
  0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 217, 0.7); }
  70% { transform: scale(1.1); box-shadow: 0 0 0 20px rgba(0, 229, 217, 0); }
  100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(0, 229, 217, 0); }
}

.video-chapters-bar {
  margin-top: 15px;
  padding: 15px;
  background: rgba(6, 21, 30, 0.7);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.chapter-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent-cyan);
}

.chapter-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-chapter {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-chapter:hover, .btn-chapter.active {
  background: rgba(0, 229, 217, 0.15);
  border-color: var(--accent-cyan);
  color: var(--text-main);
}

.video-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-info-box {
  display: flex;
  gap: 15px;
  padding: 15px;
  background: rgba(255,255,255,0.03);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.05);
}

.box-icon {
  font-size: 1.5rem;
}

.box-content h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.box-content p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ACCORDION Y TABS INTERACTIVOS DE POSICIONAMIENTO */
.lead-text {
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.body-text {
  color: var(--text-muted);
  font-size: 1rem;
}

.pillars-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background: rgba(6, 21, 30, 0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: var(--transition-fast);
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  cursor: pointer;
}

.accordion-header .num {
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-right: 15px;
}

.accordion-header h3 {
  font-size: 1.05rem;
  flex: 1;
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.accordion-item.active {
  border-color: var(--accent-cyan);
  background: rgba(0, 139, 153, 0.15);
}

.accordion-item.active .accordion-body {
  max-height: 120px;
  padding: 0 20px 15px 50px;
}

.accordion-item.active .accordion-header i {
  transform: rotate(180deg);
  color: var(--accent-cyan);
}

/* CLIENT TABS */
.interactive-client-solutions {
  padding: 30px;
}

.card-subtitle-title {
  font-size: 1.3rem;
  margin-bottom: 5px;
}

.card-subtitle-desc {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.client-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 20px;
}

.client-tab-btn {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border-glass);
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}

.client-tab-btn.active, .client-tab-btn:hover {
  background: var(--primary-teal);
  color: #fff;
  border-color: var(--accent-cyan);
}

.client-tab-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.client-tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

.client-solution-badge {
  font-weight: 700;
  color: var(--accent-cyan);
  font-size: 1.1rem;
  margin-bottom: 15px;
}

.need-box, .solution-box {
  background: rgba(6, 21, 30, 0.5);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border-left: 3px solid var(--accent-cyan);
}

.need-box strong, .solution-box strong {
  display: block;
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 4px;
}

/* BANNER CTA */
.cta-banner-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: linear-gradient(135deg, rgba(0, 139, 153, 0.3) 0%, rgba(12, 32, 44, 0.9) 100%);
  border: 1px solid var(--accent-cyan);
}

.cta-content h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.cta-content p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ==========================================================================
   PÁGINA ACERCA DE
   ========================================================================== */
.focus-title {
  font-size: 0.95rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.focus-pills-grid {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.focus-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 229, 217, 0.1);
  border: 1px solid var(--border-glass);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  color: var(--accent-cyan);
}

.quote-box {
  background: rgba(6, 21, 30, 0.6);
  border-left: 4px solid var(--accent-cyan);
  padding: 15px 20px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: var(--text-main);
}

.showcase-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-sm);
}

.showcase-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.rounded-custom {
  border-radius: var(--radius-sm);
}

/* MISIÓN VISIÓN VALORES */
.mvv-card {
  padding: 35px;
}

.mvv-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.mvv-icon {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: rgba(0, 229, 217, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.mvv-header h3 {
  font-size: 1.6rem;
}

.mvv-body p {
  color: var(--text-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.valor-card {
  text-align: center;
  padding: 25px 15px;
}

.v-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.valor-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.valor-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* PRINCIPIO OPERATIVO */
.principio-operativo-box {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 139, 153, 0.25) 0%, rgba(8, 22, 29, 0.9) 100%);
  border: 1px solid var(--accent-cyan);
}

.po-badge {
  display: inline-block;
  background: var(--accent-cyan);
  color: #06151E;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 15px;
  font-size: 0.8rem;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.po-triad {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 25px;
  flex-wrap: wrap;
}

.po-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(6, 21, 30, 0.7);
  padding: 12px 24px;
  border-radius: 30px;
  border: 1px solid var(--border-glass);
}

.po-num {
  width: 30px;
  height: 30px;
  background: var(--accent-cyan);
  color: #06151E;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
}

.po-arrow {
  color: var(--accent-cyan);
  font-size: 1.2rem;
}

/* FLUJO OPERATIVO ESTÁNDAR */
.flujo-timeline-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
}

.flujo-step-card {
  padding: 22px 18px;
  position: relative;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.step-num {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.step-icon {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.flujo-step-card h4 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.flujo-step-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.resultado-esperado-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 30px;
  border-left: 4px solid var(--accent-cyan);
}

.res-icon {
  font-size: 2.2rem;
}

.res-content strong {
  display: block;
  font-size: 1rem;
  color: var(--accent-cyan);
}

.res-content p {
  font-size: 0.95rem;
  color: var(--text-main);
}

/* SEGURIDAD & CUMPLIMIENTO */
.criticos-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.critico-item {
  display: flex;
  gap: 15px;
  background: rgba(6, 21, 30, 0.5);
  padding: 15px;
  border-radius: var(--radius-sm);
}

.c-letter {
  width: 36px;
  height: 36px;
  background: var(--primary-teal);
  color: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.c-info h4 {
  font-size: 1rem;
  margin-bottom: 4px;
}

.c-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.pilares-cumplimiento-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.pilar-card {
  text-align: center;
  padding: 30px 20px;
}

.p-icon {
  font-size: 2.2rem;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.pilar-card h4 {
  font-size: 1.15rem;
  margin-bottom: 6px;
}

.pilar-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ==========================================================================
   PÁGINA SERVICIOS
   ========================================================================== */
.servicios-six-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
}

.servicio-card {
  padding: 30px;
  display: flex;
  flex-direction: column;
}

.s-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.s-num {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dim);
}

.s-icon {
  width: 50px;
  height: 50px;
  background: rgba(0, 229, 217, 0.12);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--accent-cyan);
}

.servicio-card h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.servicio-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 20px;
  flex-grow: 1;
}

.s-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.88rem;
}

.servicio-card.featured-service {
  border-color: var(--accent-cyan);
  background: linear-gradient(135deg, rgba(0, 139, 153, 0.25) 0%, rgba(12, 32, 44, 0.9) 100%);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--accent-cyan);
  color: #06151E;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 10px;
  text-transform: uppercase;
}

/* DEEP DIVE MINERALES */
.m-diff-badge {
  display: inline-block;
  background: rgba(0, 229, 217, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
  padding: 4px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 700;
}

.capacidades-title {
  font-size: 1.05rem;
}

.capacidades-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.capa-item {
  background: rgba(6, 21, 30, 0.6);
  border: 1px solid var(--border-glass);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 10px;
}

.capa-item i {
  color: var(--accent-cyan);
}

/* VENTAJAS COMPETITIVAS */
.ventajas-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.ventaja-card {
  padding: 25px;
}

.v-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.v-head h3 {
  font-size: 1.2rem;
}

.v-head .v-icon {
  margin-bottom: 0;
  font-size: 1.6rem;
}

.ventaja-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* CALCULATOR FORM */
.calc-form-grid {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  background: rgba(6, 21, 30, 0.8);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 10px rgba(0, 229, 217, 0.2);
}

.checkbox-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cb-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.05);
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  cursor: pointer;
  border: 1px solid var(--border-glass);
}

.cb-pill input {
  accent-color: var(--accent-cyan);
}

.calc-result-box {
  background: rgba(0, 139, 153, 0.2);
  border: 1px solid var(--accent-cyan);
  padding: 15px;
  border-radius: var(--radius-sm);
}

.result-text span {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.result-text strong {
  color: var(--accent-cyan);
  font-size: 0.95rem;
}

/* ==========================================================================
   PÁGINA CONTACTO
   ========================================================================== */
.contact-detail-card {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 14px;
  background: rgba(6, 21, 30, 0.5);
  border-radius: var(--radius-sm);
}

.c-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(0, 229, 217, 0.15);
  color: var(--accent-cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.c-text {
  display: flex;
  flex-direction: column;
}

.c-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.c-val {
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-main);
}

.c-sub {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.evidence-box {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 139, 153, 0.15);
  border: 1px dashed var(--accent-cyan);
  padding: 15px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-muted);
}

.contact-form-card {
  padding: 35px;
}

.form-title {
  font-size: 1.6rem;
}

.form-subtitle {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.form-response-alert {
  margin-top: 20px;
  background: rgba(0, 229, 217, 0.15);
  border: 1px solid var(--accent-cyan);
  border-radius: var(--radius-sm);
  padding: 20px;
  display: flex;
  gap: 15px;
  align-items: flex-start;
  animation: fadeIn 0.4s ease;
}

.form-response-alert.hidden {
  display: none;
}

.alert-icon {
  font-size: 2rem;
  color: var(--accent-cyan);
}

.alert-content h4 {
  font-size: 1.1rem;
  color: var(--accent-cyan);
  margin-bottom: 5px;
}

.alert-content p {
  font-size: 0.9rem;
  color: var(--text-main);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background: #040e13;
  border-top: 1px solid var(--border-glass);
  margin-top: auto;
}

.footer-logo-svg {
  width: 200px;
  height: 50px;
}

.footer-about-text {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-title {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: var(--accent-cyan);
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links a:hover {
  color: var(--accent-cyan);
  transform: translateX(4px);
}

.footer-contact-info p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  font-size: 0.85rem;
  color: var(--text-dim);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 991px) {
  .hero-title { font-size: 2.4rem; }
  .section-title { font-size: 1.9rem; }
  
  .nav-menu {
    position: fixed;
    top: 75px;
    right: -100%;
    width: 280px;
    height: calc(100vh - 75px);
    background: rgba(6, 21, 30, 0.98);
    backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
    padding: 30px 20px;
    transition: var(--transition-normal);
  }

  .nav-menu.active { right: 0; }
  .nav-list { flex-direction: column; }
  .mobile-toggle { display: flex; }
  
  .pilares-cumplimiento-grid { grid-template-columns: 1fr; }
  .po-triad { flex-direction: column; }
  .po-arrow { transform: rotate(90deg); }
}

@media (max-width: 576px) {
  .hero-title { font-size: 1.9rem; }
  .hero-description { font-size: 1rem; }
  .page-header-title { font-size: 2rem; }
  .metric-divider { display: none; }
  .metrics-wrapper { flex-direction: column; }
}
