/* ==========================================================================
   GLOBAL OPS GROUP - MANUAL DE MARCA & SISTEMA DE DISEÑO LUXURY B2B
   ========================================================================== */

/* 1. VARIABLES & DESIGN TOKENS */
:root {
  /* Brand Palette based on Style Guide */
  --color-navy-deep: #002244;       /* Primary Headers, Nav, Hero Dark, Footer */
  --color-navy-dark: #001730;       /* Darkest background accent */
  --color-navy-light: #003366;      /* Hover state for navy elements */
  
  --color-blue-electric: #007bff;   /* Interactive CTAs, Active States, Highlights */
  --color-blue-hover: #0056b3;      /* CTA Hover */
  --color-blue-glow: rgba(0, 123, 255, 0.25);
  --color-blue-soft: #e6f0ff;       /* Light blue background tint */

  --color-bg-light: #f4f8fb;        /* Main clean background */
  --color-bg-white: #ffffff;        /* Card & surface white */
  --color-surface-muted: #e9ecef;   /* Clean subtle borders */
  
  --color-text-main: #1a2530;       /* Main readable body text */
  --color-text-muted: #5a6e7f;      /* Secondary subtitles & metadata */
  --color-text-white: #ffffff;      /* Text on dark navy surfaces */
  
  /* Fonts */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Layout & Spacing */
  --nav-height: 80px;
  --container-max-width: 1280px;
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 20px;
  --border-radius-pill: 50px;
  
  /* Shadows & Elevation */
  --shadow-sm: 0 2px 8px rgba(0, 34, 68, 0.06);
  --shadow-md: 0 8px 24px rgba(0, 34, 68, 0.1);
  --shadow-lg: 0 16px 40px rgba(0, 34, 68, 0.15);
  --shadow-electric: 0 8px 20px rgba(0, 123, 255, 0.35);

  /* Transitions */
  --transition-fast: all 0.2s ease;
  --transition-normal: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* 2. BASE RESET & TYPOGRAPHY */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy-deep);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  line-height: 1.65;
  color: var(--color-text-muted);
  font-size: 1rem;
}

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

ul {
  list-style: none;
}

img, svg {
  max-width: 100%;
  height: auto;
  display: block;
}

/* 3. LAYOUT UTILITIES */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin: 0 auto;
  padding: 0 2rem;
}

.section-padding {
  padding: 5rem 0;
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.section-header {
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
  text-align: center;
}

.section-tag {
  display: inline-block;
  padding: 0.35rem 1rem;
  background-color: var(--color-blue-soft);
  color: var(--color-blue-electric);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius-pill);
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  color: var(--color-navy-deep);
  margin-bottom: 1rem;
}

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

/* 4. BUTTONS & INTERACTIVE ELEMENTS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 2rem;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition-normal);
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--color-blue-electric);
  color: var(--color-bg-white);
  box-shadow: var(--shadow-electric);
}

.btn-primary:hover {
  background-color: var(--color-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(0, 123, 255, 0.45);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-navy-deep);
  border-color: var(--color-navy-deep);
}

.btn-secondary:hover {
  background-color: var(--color-navy-deep);
  color: var(--color-bg-white);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--color-bg-white);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: var(--color-bg-white);
  color: var(--color-navy-deep);
  border-color: var(--color-bg-white);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
}

/* 5. STICKY NAVIGATION BAR */
.navbar {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  background-color: rgba(0, 34, 68, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-md);
  transition: var(--transition-normal);
}

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

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-bg-white);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: 0.05em;
}

.brand-icon {
  width: auto;
  height: 48px;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  flex-shrink: 0;
}

.brand-logo:hover .brand-icon {
  transform: scale(1.08);
}

.brand-logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  filter: drop-shadow(0 2px 10px rgba(0, 123, 255, 0.5)) drop-shadow(0 0 1px rgba(255, 255, 255, 0.4));
}

.brand-text span {
  color: var(--color-blue-electric);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: rgba(255, 255, 255, 0.82);
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover {
  color: var(--color-bg-white);
}

.nav-link.active {
  color: var(--color-blue-electric);
  font-weight: 700;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-blue-electric);
  border-radius: 2px;
  box-shadow: 0 0 8px var(--color-blue-electric);
}

.nav-cta {
  display: flex;
  align-items: center;
}

.mobile-nav-cta {
  display: none;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-bg-white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
}

/* 6. MULTI-PAGE SPA VIEW MANAGER */
.page-view {
  display: none;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  min-height: calc(100vh - var(--nav-height) - 400px);
}

.page-view.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

/* 7. HERO SECTION (HOME PAGE) */
.hero {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(0, 23, 48, 0.78) 0%, rgba(0, 34, 68, 0.82) 65%, rgba(0, 23, 48, 0.86) 100%),
    url('assets/hero_bg.jpg') center/cover no-repeat;
  color: var(--color-text-white);
  padding: 6.5rem 0 7.5rem 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(0, 123, 255, 0.15) 0%, transparent 40%),
    radial-gradient(circle at 10% 80%, rgba(0, 34, 68, 0.8) 0%, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background-color: rgba(0, 123, 255, 0.15);
  border: 1px solid rgba(0, 123, 255, 0.3);
  color: #66b2ff;
  border-radius: var(--border-radius-pill);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-slogan {
  font-size: 3.25rem;
  line-height: 1.15;
  color: var(--color-bg-white);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.hero-slogan span {
  background: linear-gradient(135deg, #66b2ff, var(--color-blue-electric));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  max-width: 620px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

/* Executive Graphic Card in Hero */
.hero-visual-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  border-radius: var(--border-radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.hero-globe-svg {
  width: 100%;
  height: 280px;
}

/* 8. METRICS SECTION (HOME) */
.metrics-bar {
  background: var(--color-bg-white);
  margin-top: -3rem;
  position: relative;
  z-index: 10;
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 2.5rem;
  border: 1px solid var(--color-surface-muted);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-item {
  position: relative;
}

.metric-item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -1rem;
  top: 15%;
  height: 70%;
  width: 1px;
  background-color: var(--color-surface-muted);
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-navy-deep);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-number span {
  color: var(--color-blue-electric);
}

.metric-label {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* 9. CARDS & GRID SYSTEMS */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.card {
  background-color: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  padding: 2.25rem;
  border: 1px solid rgba(0, 34, 68, 0.08);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(0, 123, 255, 0.3);
}

.card-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #007bff 0%, #003366 80%, #001730 100%);
  color: var(--color-bg-white);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.65rem;
  margin-bottom: 1.5rem;
  position: relative;
  box-shadow: 
    0 10px 20px rgba(0, 123, 255, 0.3),
    0 4px 6px rgba(0, 23, 48, 0.4),
    inset 0 2px 3px rgba(255, 255, 255, 0.35),
    inset 0 -3px 6px rgba(0, 0, 0, 0.4);
  transform: perspective(600px) rotateX(8deg) rotateY(-6deg);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.card:hover .card-icon {
  transform: perspective(600px) rotateX(0deg) rotateY(0deg) translateY(-6px) scale(1.1);
  box-shadow: 
    0 16px 30px rgba(0, 123, 255, 0.45),
    0 8px 12px rgba(0, 23, 48, 0.5),
    inset 0 2px 4px rgba(255, 255, 255, 0.5);
  background: linear-gradient(135deg, #00a2ff 0%, #007bff 60%, #002244 100%);
}

.card-title {
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: var(--color-navy-deep);
}

.card-text {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

/* Placeholders y Contenedores de Imágenes Corporativas Reales */
.corporate-image-container {
  width: 100%;
  height: 280px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 34, 68, 0.1);
  background-color: var(--color-navy-dark);
}

.corporate-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.map-embed-container {
  width: 100%;
  height: 200px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: var(--shadow-sm);
  margin-top: 1.5rem;
}

.map-embed-iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: contrast(1.05) saturate(1.1);
}

.corporate-placeholder {
  width: 100%;
  height: 240px;
  background: linear-gradient(135deg, #e6ecf2 0%, #d8e2ed 100%);
  border: 2px dashed #b0c4de;
  border-radius: var(--border-radius-md);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  color: var(--color-navy-deep);
  padding: 1.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.corporate-placeholder-icon {
  font-size: 2rem;
  color: var(--color-blue-electric);
  opacity: 0.7;
}

.corporate-placeholder-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-navy-deep);
}

.corporate-placeholder-sub {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

/* 10. NOSOTROS (ABOUT PAGE) */
.about-hero {
  background: 
    linear-gradient(135deg, rgba(0, 34, 68, 0.80) 0%, rgba(0, 23, 48, 0.85) 100%),
    url('assets/headquarters.jpg') center/cover no-repeat;
  color: var(--color-bg-white);
  padding: 5rem 0;
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2rem;
}

.pillar-card {
  background: var(--color-bg-white);
  padding: 2.5rem 2rem;
  border-radius: var(--border-radius-md);
  border-top: 4px solid var(--color-blue-electric);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.pillar-num {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-blue-electric);
  margin-bottom: 0.75rem;
  letter-spacing: 0.1em;
}

/* 11. DIVISIONES PAGE (INTERACTIVE TABS & CARDS) */
.divisions-hero {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(0, 23, 48, 0.84) 0%, rgba(0, 34, 68, 0.80) 50%, rgba(0, 23, 48, 0.88) 100%),
    url('assets/divisions_banner.jpg') center/cover no-repeat;
  color: var(--color-bg-white);
  padding: 5.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.divisions-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 30%, rgba(0, 123, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.divisions-hero .container {
  position: relative;
  z-index: 2;
}

.divisions-hero-title {
  color: #ffffff;
  font-size: 2.75rem;
  margin-top: 0.75rem;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.divisions-hero-desc {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.15rem;
  max-width: 720px;
  margin-top: 0.75rem;
  line-height: 1.6;
}

.divisions-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2.5rem;
  margin-top: 2rem;
}

.divisions-sidebar {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  padding: 1.25rem;
  border: 1px solid var(--color-surface-muted);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
}

.division-tab-btn {
  width: 100%;
  text-align: left;
  padding: 1rem 1.25rem;
  border: none;
  background: transparent;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--color-text-main);
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: var(--transition-fast);
  margin-bottom: 0.5rem;
}

.division-tab-btn:hover {
  background-color: var(--color-bg-light);
  color: var(--color-blue-electric);
}

.division-tab-btn.active {
  background-color: var(--color-navy-deep);
  color: var(--color-bg-white);
  box-shadow: var(--shadow-sm);
}

.division-tab-btn.active .tab-arrow {
  color: var(--color-blue-electric);
  transform: translateX(4px);
}

.division-content-panel {
  display: none;
  background: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  padding: 3rem;
  border: 1px solid var(--color-surface-muted);
  box-shadow: var(--shadow-sm);
  animation: fadeIn 0.3s ease-in-out;
}

.division-content-panel.active {
  display: block;
}

.division-badge {
  display: inline-block;
  padding: 0.3rem 0.9rem;
  background: var(--color-blue-soft);
  color: var(--color-blue-electric);
  font-weight: 700;
  font-size: 0.8rem;
  border-radius: var(--border-radius-pill);
  margin-bottom: 1rem;
}

.service-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin: 2rem 0;
}

.service-item {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  background: var(--color-bg-light);
  padding: 1.25rem;
  border-radius: var(--border-radius-sm);
  border-left: 3px solid var(--color-blue-electric);
}

.service-item-icon {
  color: var(--color-blue-electric);
  font-weight: bold;
  font-size: 1.1rem;
}

.service-item-text h4 {
  font-size: 0.95rem;
  color: var(--color-navy-deep);
  margin-bottom: 0.25rem;
}

.service-item-text p {
  font-size: 0.85rem;
  line-height: 1.4;
}

/* 12. PRESENCIA GLOBAL PAGE */
.global-hero {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(0, 23, 48, 0.85) 0%, rgba(0, 34, 68, 0.80) 50%, rgba(0, 23, 48, 0.88) 100%),
    url('assets/global_banner.jpg') center/cover no-repeat;
  color: var(--color-bg-white);
  padding: 5.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.global-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 30%, rgba(0, 123, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.global-hero .container {
  position: relative;
  z-index: 2;
}

.country-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.country-card {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-md);
  padding: 2rem;
  border: 1px solid var(--color-surface-muted);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-normal);
}

.country-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-blue-electric);
}

.country-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;

  padding-bottom: 1rem;
  border-bottom: 1px solid var(--color-surface-muted);
}

.country-flag-badge {
  font-size: 2rem;
  line-height: 1;
}

.country-name {
  font-size: 1.35rem;
  color: var(--color-navy-deep);
}

.country-hub {
  font-size: 0.8rem;
  color: var(--color-blue-electric);
  font-weight: 700;
  text-transform: uppercase;
}

.country-details p {
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.global-map-container {
  background: radial-gradient(circle at 50% 50%, #001f3f 0%, #001226 70%, #000c1a 100%);
  border-radius: var(--border-radius-lg);
  padding: 3rem 2rem 2.5rem 2rem;
  color: #fff;
  margin-bottom: 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 123, 255, 0.3);
  box-shadow: 0 16px 40px rgba(0, 17, 34, 0.6), inset 0 0 60px rgba(0, 123, 255, 0.08);
}

.map-svg-wrapper {
  position: relative;
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
}

.map-land {
  fill: #0d2847;
  stroke: rgba(0, 123, 255, 0.35);
  stroke-width: 0.8;
  transition: fill 0.3s ease;
}

.map-land-active {
  fill: #153e6b;
  stroke: #007bff;
  stroke-width: 1.2;
}

.map-grid-line {
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 1;
}

.map-route-glow {
  stroke: rgba(0, 210, 255, 0.35);
  stroke-width: 3.5;
  filter: blur(2px);
}

.map-route-active {
  stroke: url(#routeGrad);
  stroke-width: 2.2;
  stroke-dasharray: 6 6;
  animation: flowMapRoute 2.5s linear infinite;
}

@keyframes flowMapRoute {
  from { stroke-dashoffset: 24; }
  to { stroke-dashoffset: 0; }
}

.map-pulse-circle {
  animation: mapNodePulse 2.4s ease-out infinite;
  transform-origin: center;
}

@keyframes mapNodePulse {
  0% {
    r: 6px;
    opacity: 0.9;
    stroke-width: 2px;
  }
  100% {
    r: 22px;
    opacity: 0;
    stroke-width: 0.5px;
  }
}

.map-node-group {
  cursor: pointer;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.map-node-group:hover {
  transform: scale(1.06);
}

.map-node-card {
  filter: drop-shadow(0 6px 14px rgba(0, 15, 35, 0.8));
  transition: all 0.25s ease;
}

.map-node-group:hover .map-node-card rect {
  fill: #003366;
  stroke: #00d2ff;
}

.map-legend-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

/* 13. CONTACTO PAGE */
.contact-hero {
  position: relative;
  background: 
    linear-gradient(135deg, rgba(0, 23, 48, 0.85) 0%, rgba(0, 34, 68, 0.82) 50%, rgba(0, 23, 48, 0.88) 100%),
    url('assets/contact_banner.jpg') center/cover no-repeat;
  color: var(--color-bg-white);
  padding: 5.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.contact-hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 85% 30%, rgba(0, 123, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.contact-hero .container {
  position: relative;
  z-index: 2;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3.5rem;
  margin-top: 2rem;
}

.contact-info-card {
  background: var(--color-navy-deep);
  color: var(--color-bg-white);
  padding: 3rem;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contact-info-card h3 {
  color: var(--color-bg-white);
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

.contact-info-list {
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
}

.contact-info-icon {
  width: 44px;
  height: 44px;
  background: rgba(0, 123, 255, 0.2);
  color: var(--color-blue-electric);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-direct-container {
  background: var(--color-bg-white);
  padding: 2.75rem;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--color-surface-muted);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.direct-channel-header {
  border-bottom: 1px solid var(--color-surface-muted);
  padding-bottom: 1.25rem;
}

.direct-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(37, 211, 102, 0.12);
  color: #128c7e;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.78rem;
  font-weight: 700;
  font-family: var(--font-heading);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 1px solid rgba(37, 211, 102, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #25d366;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  animation: pulseDot 1.8s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(37, 211, 102, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* WhatsApp Main Card */
.whatsapp-main-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: linear-gradient(135deg, #075e54 0%, #128c7e 50%, #25d366 100%);
  color: #ffffff !important;
  padding: 1.6rem 1.75rem;
  border-radius: var(--border-radius-md);
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(18, 140, 126, 0.35);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  position: relative;
  overflow: hidden;
}

.whatsapp-main-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: 0.6s;
}

.whatsapp-main-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 35px rgba(18, 140, 126, 0.45);
}

.whatsapp-main-card:hover::before {
  left: 100%;
}

.whatsapp-card-icon {
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: #ffffff;
}

.whatsapp-card-text {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.whatsapp-card-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  font-weight: 600;
  font-family: var(--font-heading);
}

.whatsapp-card-phone {
  font-size: 1.45rem;
  font-weight: 800;
  font-family: var(--font-heading);
  letter-spacing: 0.02em;
  margin: 0.15rem 0;
}

.whatsapp-card-sub {
  font-size: 0.82rem;
  opacity: 0.92;
}

.whatsapp-card-arrow {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.whatsapp-main-card:hover .whatsapp-card-arrow {
  transform: translateX(4px);
  background: rgba(255, 255, 255, 0.25);
}

/* Quick WhatsApp Chips */
.whatsapp-topics-section {
  background: #f8fafc;
  padding: 1.25rem 1.5rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-surface-muted);
}

.topics-title {
  font-size: 0.88rem;
  color: var(--color-navy-deep);
  font-family: var(--font-heading);
  font-weight: 600;
  margin-bottom: 0.85rem;
}

.whatsapp-chips-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.65rem;
}

.whatsapp-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  padding: 0.65rem 0.9rem;
  border-radius: var(--border-radius-sm);
  border: 1px solid #e2e8f0;
  color: var(--color-navy-deep);
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.whatsapp-chip:hover {
  background: #f0fdf4;
  border-color: #86efac;
  color: #15803d;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}

/* Alternative Direct Channels Grid */
.direct-alt-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.alt-channel-card {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  background: #ffffff;
  padding: 1rem 1.25rem;
  border-radius: var(--border-radius-md);
  border: 1px solid var(--color-surface-muted);
  text-decoration: none;
  transition: all 0.2s ease;
}

.alt-channel-card:hover {
  background: #f8fafc;
  border-color: var(--color-blue-electric);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

.alt-channel-icon {
  font-size: 1.35rem;
}

.alt-channel-info {
  display: flex;
  flex-direction: column;
}

.alt-channel-title {
  font-size: 0.72rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.alt-channel-value {
  font-size: 0.88rem;
  color: var(--color-navy-deep);
  font-weight: 700;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .whatsapp-chips-grid {
    grid-template-columns: 1fr;
  }
  .direct-alt-grid {
    grid-template-columns: 1fr;
  }
  .contact-direct-container {
    padding: 1.75rem 1.25rem;
  }
  .whatsapp-card-phone {
    font-size: 1.2rem;
  }
}

/* 14. FOOTER (4 UNIFORM COLUMNS IN ALL PAGES) */
.site-footer {
  background-color: var(--color-navy-dark);
  color: rgba(255, 255, 255, 0.75);
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-col-title {
  color: var(--color-bg-white);
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  letter-spacing: 0.03em;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 35px;
  height: 2px;
  background-color: var(--color-blue-electric);
}

.footer-slogan {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 1.25rem 0;
  color: rgba(255, 255, 255, 0.7);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

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

.footer-socials {
  display: flex;
  gap: 0.85rem;
  margin-top: 1.25rem;
}

.social-icon {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition-normal);
}

.social-icon:hover {
  background: var(--color-blue-electric);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 123, 255, 0.4);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
}

/* 15. MODAL SYSTEM */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 23, 48, 0.8);
  backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.modal-overlay.active {
  display: flex;
}

.modal-card {
  background: var(--color-bg-white);
  border-radius: var(--border-radius-lg);
  padding: 3rem;
  max-width: 500px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  position: relative;
  animation: modalIn 0.3s ease-out;
}

.modal-icon {
  width: 70px;
  height: 70px;
  background: var(--color-blue-soft);
  color: var(--color-blue-electric);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.25rem;
  margin: 0 auto 1.5rem auto;
}

/* ANIMATIONS */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92); }
  to { opacity: 1; transform: scale(1); }
}

/* 16. WHATSAPP FLOATING EXECUTIVE BUTTON */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 4px 10px rgba(0, 0, 0, 0.25);
  z-index: 9999;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.55), 0 6px 14px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.whatsapp-icon {
  width: 32px;
  height: 32px;
  z-index: 2;
}

.whatsapp-pulse {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.5);
  animation: waPulse 2.4s cubic-bezier(0.25, 1, 0.5, 1) infinite;
  z-index: 1;
}

@keyframes waPulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.whatsapp-tooltip {
  position: absolute;
  right: 72px;
  background: rgba(0, 23, 48, 0.95);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(37, 211, 102, 0.4);
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 23, 48, 0.95);
}

.whatsapp-float:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* 16.1. FLOATING LANGUAGE SELECTOR (Above WhatsApp) */
.lang-float-container {
  position: fixed;
  bottom: 98px;
  right: 28px;
  z-index: 9999;
  user-select: none;
}

.lang-float-btn {
  position: relative;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #001f3f 0%, #001224 100%);
  border: 2px solid rgba(197, 160, 89, 0.75);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 16px rgba(197, 160, 89, 0.25);
  cursor: pointer;
  padding: 0;
  color: #c5a059;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.3s ease, border-color 0.3s ease;
}

.lang-float-btn:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5), 0 0 24px rgba(197, 160, 89, 0.55);
  border-color: #d4af37;
  color: #ffffff;
}

.lang-globe-icon {
  width: 22px;
  height: 22px;
  margin-top: 2px;
  margin-bottom: 2px;
  transition: transform 0.4s ease;
}

.lang-float-btn:hover .lang-globe-icon {
  transform: rotate(25deg);
}

.lang-current-code {
  font-family: var(--font-heading);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  background: #c5a059;
  color: #001730;
  padding: 1px 5px;
  border-radius: 4px;
  line-height: 1;
}

.lang-float-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(197, 160, 89, 0.3);
  animation: langGlowPulse 3s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: -1;
}

@keyframes langGlowPulse {
  0% { transform: scale(0.96); opacity: 0.25; }
  100% { transform: scale(1.22); opacity: 0.65; }
}

.lang-float-tooltip {
  position: absolute;
  right: 72px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(0, 23, 48, 0.96);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--border-radius-sm);
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(197, 160, 89, 0.45);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.lang-float-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px 0 6px 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(0, 23, 48, 0.96);
}

.lang-float-btn:hover .lang-float-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

/* Floating Menu Popover */
.lang-float-menu {
  position: absolute;
  bottom: 74px;
  right: 0;
  width: 240px;
  background: rgba(0, 23, 48, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(197, 160, 89, 0.4);
  border-radius: 14px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55), 0 0 20px rgba(0, 123, 255, 0.15);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px) scale(0.92);
  transform-origin: bottom right;
  transition: opacity 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), visibility 0.25s;
  z-index: 10000;
}

.lang-float-container.active .lang-float-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.lang-menu-header {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #c5a059;
  padding: 6px 8px 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 6px;
}

.lang-options-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.lang-option-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 8px 10px;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  color: #ffffff;
  text-align: left;
  transition: all 0.2s ease;
}

.lang-option-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(197, 160, 89, 0.3);
  transform: translateX(-2px);
}

.lang-option-btn.active {
  background: linear-gradient(135deg, rgba(197, 160, 89, 0.2) 0%, rgba(0, 123, 255, 0.15) 100%);
  border-color: rgba(197, 160, 89, 0.6);
}

.lang-flag {
  font-size: 1.25rem;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}

.lang-info {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.lang-name {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.2;
}

.lang-native {
  font-size: 0.72rem;
  color: #94a3b8;
  line-height: 1.2;
}

.lang-option-btn.active .lang-native {
  color: #c5a059;
}

.lang-check-icon {
  width: 16px;
  height: 16px;
  stroke: #c5a059;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lang-option-btn.active .lang-check-icon {
  opacity: 1;
}

/* Hide Google Translate top bar and banners for pure corporate aesthetics */
body {
  top: 0px !important;
  position: static !important;
}

.goog-te-banner-frame,
.goog-te-gadget,
#goog-gt-tt,
.goog-te-balloon-frame,
iframe.goog-te-banner-frame,
iframe.skiptranslate {
  display: none !important;
  visibility: hidden !important;
}

body > .skiptranslate {
  display: none !important;
}

.goog-text-highlight {
  background: transparent !important;
  box-shadow: none !important;
}

/* 17. RESPONSIVE BREAKPOINTS */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
  .metric-item:nth-child(2)::after {
    display: none;
  }
  .divisions-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .divisions-sidebar {
    position: static;
  }
  .grid-3, .country-grid, .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 1.25rem;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background-color: var(--color-navy-dark);
    flex-direction: column;
    padding: 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .nav-menu.open {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .mobile-nav-cta {
    display: inline-flex;
    margin-top: 0.5rem;
  }
  .nav-cta {
    display: none;
  }
  .hero-slogan {
    font-size: 2.25rem;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-item::after {
    display: none !important;
  }
  .grid-3, .grid-2, .country-grid, .pillars-grid, .form-row, .service-list, .footer-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Divisiones View Responsive Optimizations */
  .divisions-hero {
    padding: 3.5rem 0 3rem;
  }
  .divisions-hero-title,
  .divisions-hero h1 {
    font-size: 1.85rem !important;
    line-height: 1.25 !important;
    word-break: break-word;
  }
  .divisions-hero-desc,
  .divisions-hero p {
    font-size: 0.95rem !important;
    line-height: 1.55 !important;
  }

  .divisions-layout {
    grid-template-columns: 100%;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 100%;
  }

  /* App-like horizontal pill tabs bar on mobile */
  .divisions-sidebar {
    position: sticky;
    top: var(--nav-height);
    z-index: 60;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.75rem 0.5rem;
    margin: 0 -1.25rem 1.25rem -1.25rem;
    border-radius: 0;
    border-top: 1px solid var(--color-surface-muted);
    border-bottom: 1px solid var(--color-surface-muted);
    border-left: none;
    border-right: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    gap: 0.5rem;
    scrollbar-width: none;
  }
  .divisions-sidebar::-webkit-scrollbar {
    display: none;
  }
  .divisions-sidebar h4 {
    display: none;
  }

  .division-tab-btn {
    flex: 0 0 auto;
    width: auto;
    margin-bottom: 0;
    padding: 0.55rem 0.95rem;
    font-size: 0.82rem;
    white-space: nowrap;
    border-radius: 50px;
    background: var(--color-bg-light);
    border: 1px solid var(--color-surface-muted);
    color: var(--color-text-main);
  }
  .division-tab-btn .tab-arrow {
    display: none;
  }
  .division-tab-btn.active {
    background: var(--color-navy-deep);
    color: #ffffff;
    border-color: var(--color-navy-deep);
    box-shadow: 0 4px 12px rgba(0, 23, 48, 0.25);
  }

  .divisions-main-content {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
  }

  .division-content-panel {
    padding: 1.5rem 1.15rem !important;
    border-radius: var(--border-radius-sm);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    overflow: hidden;
  }

  .division-content-panel h2 {
    font-size: 1.35rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .division-content-panel p {
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  .service-list {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    margin: 1.25rem 0;
  }

  .service-item {
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    align-items: flex-start;
  }
  .service-item-icon {
    font-size: 1rem;
    margin-top: 2px;
  }
  .service-item-text h4 {
    font-size: 0.9rem;
    margin-bottom: 0.2rem;
  }
  .service-item-text p {
    font-size: 0.82rem;
    line-height: 1.4;
  }

  .division-content-panel .corporate-image-container {
    height: 180px !important;
    margin-bottom: 1.25rem !important;
    border-radius: var(--border-radius-sm);
  }

  .division-content-panel .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 0.85rem 1rem;
    font-size: 0.88rem;
    white-space: normal;
    line-height: 1.3;
    display: flex;
  }

  /* Floating controls */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 54px;
    height: 54px;
  }
  .whatsapp-icon {
    width: 28px;
    height: 28px;
  }
  .whatsapp-tooltip {
    display: none;
  }
  .lang-float-container {
    bottom: 84px;
    right: 20px;
  }
  .lang-float-btn {
    width: 54px;
    height: 54px;
  }
  .lang-float-tooltip {
    display: none;
  }
  .lang-float-menu {
    bottom: 64px;
    right: 0;
    width: 215px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 1rem;
  }
  .divisions-sidebar {
    margin: 0 -1rem 1rem -1rem;
  }
  .divisions-hero-title,
  .divisions-hero h1 {
    font-size: 1.55rem !important;
  }
  .division-content-panel {
    padding: 1.25rem 0.9rem !important;
  }
  .division-content-panel h2 {
    font-size: 1.25rem !important;
  }
}

