:root {
  --primary-color: #003366; /* Deep Navy Blue */
  --accent-color: #F58220; /* Safety Orange */
  --text-dark: #333333;
  --text-gray: #666666;
  --bg-light: #EDF2F7;
  --bg-white: #FFFFFF;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: 85px;
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
}

section[id] {
  scroll-margin-top: 85px;
}

body {
  line-height: 1.6;
  background-color: var(--bg-white);
}

a {
  text-decoration: none;
  color: var(--primary-color);
}

.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 15px;
}

.text-center { text-align: center; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-4 { margin-top: 2rem; }
.bg-light { background-color: var(--bg-light); }
.bg-dark { background-color: var(--primary-color); }
.text-white { color: var(--bg-white) !important; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  font-weight: 500;
  border-radius: 4px;
  text-transform: uppercase;
  font-size: 14px;
  transition: all 0.3s;
}
.btn-primary {
  background-color: var(--accent-color);
  color: var(--bg-white);
  border: none;
}
.btn-primary:hover {
  background-color: #d76b16;
}
.btn-nav {
  border: 1px solid var(--primary-color);
  padding: 8px 16px;
  border-radius: 4px;
}
.btn-nav:hover {
  background-color: var(--primary-color);
  color: var(--bg-white) !important;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  z-index: 1000;
  padding: 8px 0;
}
.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1360px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  height: 56px;
  width: auto;
  display: block;
}
.logo-name {
  height: 40px;
  width: auto;
  display: block;
}

/* ===== NAV RIGHT + LANGUAGE SELECTOR ===== */
.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.nav-menu {
  display: flex;
  list-style: none;
  gap: clamp(10px, 1.4vw, 22px);
  align-items: center;
  margin: 0;
  padding: 0;
}
.nav-menu li {
  white-space: nowrap !important;
}
.nav-menu a {
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--text-dark);
  transition: color 0.25s;
  white-space: nowrap !important;
  display: inline-block;
}
.nav-menu a:hover,
.nav-menu a.active {
  color: #0284c7;
}
.btn-nav {
  border: 1.5px solid var(--primary-color);
  padding: 6px 14px;
  border-radius: 4px;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  font-size: 12px !important;
  white-space: nowrap !important;
}
.btn-nav:hover {
  background-color: var(--primary-color);
  color: var(--bg-white) !important;
}

/* Language Selector */
.lang-selector {
  position: relative;
  margin-left: 18px;
  border-left: 1px solid #dce1e8;
  padding-left: 18px;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 7px;
  background: none;
  border: 1.5px solid #d0d7e3;
  border-radius: 6px;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  font-family: 'Roboto', sans-serif;
  transition: border-color 0.3s, background 0.2s;
}
.lang-current:hover, .lang-current.open {
  border-color: var(--primary-color);
  background: #f0f4f9;
}
.lang-current .fi {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.08);
}
.lang-code {
  letter-spacing: 0.5px;
  color: var(--primary-color);
}
.lang-chevron {
  width: 14px;
  height: 14px;
  stroke: var(--text-gray);
  transition: transform 0.25s;
}
.lang-selector.open .lang-chevron {
  transform: rotate(180deg);
}
.lang-dropdown {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: var(--bg-white);
  border: 1px solid #dce1e8;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,30,80,0.12);
  overflow: hidden;
  min-width: 165px;
  z-index: 9999;
}
.lang-selector.open .lang-dropdown {
  display: block;
}
.lang-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  background: none;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  transition: background 0.2s;
  text-align: left;
}
.lang-btn:hover {
  background: var(--bg-light);
}
.lang-btn.active {
  background: #ebf2fb;
  font-weight: 600;
  color: var(--primary-color);
}
.lang-btn .fi {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  box-shadow: 0 0 0 1.5px rgba(0,0,0,0.07);
  flex-shrink: 0;
}
.lang-btn span:last-child {
  flex: 1;
}

/* ===== SECTION EYEBROW ===== */
.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  opacity: 0.8;
  color: var(--accent-color);
}
.text-blue { color: var(--secondary-blue, #0055A4) !important; }

/* ===== HERO SECTION ===== */
.hero {
  position: relative;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  margin-top: 95px;
}
.hero-bg {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  z-index: 1;
  background-image: url('../images/hero/hero-bg.jpg');
  background-size: cover;
  background-position: center center;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: rgba(0, 51, 102, 0.6);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: var(--bg-white);
  max-width: 800px;
}
.hero h1 {
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}
.hero-sub {
  font-size: 18px;
  margin-bottom: 30px;
  font-weight: 300;
}

/* ===== SECTIONS ===== */
.section {
  padding: 80px 0;
}
.section-heading {
  margin-bottom: 50px;
}
.section-heading h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 15px;
}
.section-lead {
  font-size: 18px;
  color: var(--text-gray);
  max-width: 800px;
  margin: 0 auto;
}

/* ===== GRIDS ===== */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 30px;
}

/* ===== CARDS & BOXES ===== */
.card {
  background: var(--bg-white);
  padding: 30px 20px;
  border-radius: 4px;
  border-top: 4px solid var(--accent-color);
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.card h3 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.card p {
  color: var(--text-gray);
  font-size: 14px;
  flex-grow: 1;
}
.info-box {
  background: var(--bg-white);
  padding: 25px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
}
.info-box h4 {
  font-size: 18px;
  color: var(--primary-color);
  margin-bottom: 10px;
}
.info-box p {
  font-size: 15px;
  color: var(--text-gray);
  flex-grow: 1;
}

/* Card Technical Action Buttons */
.card-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  margin-top: 16px;
  padding: 10px 14px;
  background: #f1f5f9;
  color: var(--primary-color) !important;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 5px;
  text-decoration: none;
  border: 1px solid #cbd5e1;
  transition: all 0.25s ease;
  box-sizing: border-box;
}
.card-btn:hover {
  background: var(--primary-color);
  color: #ffffff !important;
  border-color: var(--primary-color);
  transform: translateY(-1px);
}
.card-btn svg {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}
.card-btn:hover svg {
  transform: translateX(3px);
}

/* ===== IFPD INTERACTIVE TABS COMPONENT (COMPACT & TECHNICAL) ===== */
#procedimientos.section {
  padding: 60px 0 54px 0;
}
#procedimientos .section-heading {
  margin-bottom: 28px;
}
#procedimientos .section-heading h2 {
  font-size: 26px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
#procedimientos .section-heading .section-lead {
  font-size: 15px;
  line-height: 1.6;
  max-width: 820px;
  color: #cbd5e1;
  margin: 0 auto;
}

.ifpd-tabs-container {
  margin-top: 24px;
  background: rgba(4, 18, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45);
}

/* Tabs Navigation Bar */
.ifpd-tabs-nav {
  display: flex;
  background: rgba(2, 10, 22, 0.9);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: none;
}
.ifpd-tabs-nav::-webkit-scrollbar {
  display: none;
}

.ifpd-tab-btn {
  flex: 1;
  min-width: 170px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 18px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  color: #94a3b8;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
}
.ifpd-tab-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.04);
}
.ifpd-tab-btn.active {
  color: #ffffff;
  font-weight: 600;
  background: rgba(14, 165, 233, 0.1);
  border-bottom-color: #38bdf8;
}
.ifpd-tab-btn.active svg {
  stroke: #38bdf8;
}

/* Tabs Content Panels */
.ifpd-tabs-content {
  position: relative;
  min-height: auto;
}
.ifpd-tab-panel {
  display: none;
  padding: 32px 36px;
  animation: ifpdFadeIn 0.25s ease forwards;
}
.ifpd-tab-panel.active {
  display: block;
}

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

.ifpd-panel-split {
  display: flex;
  align-items: center;
  gap: 36px;
  width: 100%;
}
.ifpd-panel-info {
  flex: 1.15;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: left;
}
.ifpd-panel-visual {
  flex: 0.85;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ifpd-visual-badge {
  display: inline-block;
  align-self: flex-start;
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.28);
  color: #38bdf8;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ifpd-panel-info h3 {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 10px;
  line-height: 1.35;
  font-weight: 600;
}
.ifpd-lead-text {
  font-size: 14.5px;
  color: #cbd5e1;
  line-height: 1.6;
  margin-bottom: 18px;
}

.ifpd-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 18px 0;
}
.ifpd-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: #e2e8f0;
  line-height: 1.5;
  margin-bottom: 8px;
}
.ifpd-features-list li svg {
  color: #38bdf8;
  flex-shrink: 0;
  margin-top: 3px;
  width: 15px;
  height: 15px;
}

.ifpd-deliverables-box {
  background: rgba(2, 10, 24, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 12px 16px;
  margin-bottom: 18px;
}
.ifpd-deliv-header {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94a3b8;
  margin-bottom: 8px;
}
.ifpd-deliv-header svg {
  color: #38bdf8;
  width: 14px;
  height: 14px;
}
.ifpd-deliv-pills {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.ifpd-deliv-pills li {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f1f5f9;
  font-size: 12px;
  padding: 4px 10px;
  border-radius: 4px;
  font-weight: 500;
}

.ifpd-action-row {
  margin-top: 4px;
}
.btn-tab-action {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.32);
  border: 1px solid rgba(56, 189, 248, 0.35);
}
.btn-tab-action:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}
.btn-tab-action svg {
  transition: transform 0.2s ease;
  width: 14px;
  height: 14px;
}
.btn-tab-action:hover svg {
  transform: translateX(3px);
}

/* Real-World Aeronautical Image Card */
.ifpd-img-wrap {
  width: 100%;
  height: 295px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #0b1526;
  position: relative;
}
.ifpd-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.ifpd-img-wrap:hover img {
  transform: scale(1.025);
}

/* Master Technical Landing Page CTA */
.ifpd-master-cta-wrap {
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.btn-ifpd-master {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #f1f5f9 !important;
  font-size: 13.5px;
  font-weight: 500;
  padding: 10px 24px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 5px;
  text-decoration: none;
  transition: all 0.25s ease;
  backdrop-filter: blur(4px);
}
.btn-ifpd-master:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff !important;
  border-color: #38bdf8;
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.btn-ifpd-master svg {
  transition: transform 0.2s ease;
  width: 14px;
  height: 14px;
}
.btn-ifpd-master:hover svg {
  transform: translateX(3px);
}

/* Highlight badge for Box 4 in Section 2 (Environmental Noise) */
.info-box-highlight {
  position: relative;
  border-left: 4px solid var(--accent-color) !important;
  background: linear-gradient(180deg, #ffffff 0%, #fbfcfe 100%);
}
.box-badge-tag {
  display: inline-block;
  align-self: flex-start;
  background: rgba(230, 81, 0, 0.1);
  color: var(--accent-color);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1px;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

/* Responsive Tabs for Tablets and Mobiles */
@media (max-width: 991px) {
  #procedimientos.section {
    padding: 44px 0 36px 0;
  }
  .ifpd-panel-split {
    flex-direction: column;
    align-items: stretch;
    gap: 22px;
    width: 100%;
  }
  .ifpd-panel-info {
    width: 100%;
    flex: none;
  }
  .ifpd-panel-visual {
    width: 100%;
    max-width: 100%;
    flex: none;
    align-self: stretch;
    display: block;
  }
  .ifpd-img-wrap {
    height: 240px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .ifpd-tab-panel {
    padding: 24px 20px;
  }
  .ifpd-tab-btn {
    padding: 12px 14px;
    font-size: 13px;
    min-width: 160px;
  }
}
@media (max-width: 600px) {
  #procedimientos.section {
    padding: 36px 0 28px 0;
  }
  #procedimientos .section-heading {
    margin-bottom: 16px;
  }
  #procedimientos .section-heading h2 {
    font-size: 20px;
    line-height: 1.3;
  }
  #procedimientos .section-heading .section-lead {
    font-size: 13px;
    line-height: 1.5;
  }
  /* Mobile Tab Navigation: Horizontal smooth scroll without dividing lines */
  .ifpd-tabs-nav {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 8px;
    padding: 10px 12px;
    background: rgba(2, 10, 22, 0.95);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .ifpd-tab-btn {
    flex: 0 0 auto;
    scroll-snap-align: start;
    width: auto;
    min-width: 0;
    padding: 8px 14px;
    font-size: 12.5px;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: #94a3b8;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    justify-content: center;
  }
  .ifpd-tab-btn svg {
    display: inline-block;
    width: 14px;
    height: 14px;
  }
  .ifpd-tab-btn.active {
    background: rgba(14, 165, 233, 0.15);
    border-color: #38bdf8;
    color: #ffffff;
  }
  .ifpd-tab-btn.active svg {
    stroke: #38bdf8;
  }
  .ifpd-tab-panel {
    padding: 18px 14px;
  }
  .ifpd-panel-split {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
    width: 100%;
  }
  .ifpd-panel-info {
    width: 100%;
    flex: none;
  }
  .ifpd-panel-visual {
    width: 100%;
    max-width: 100%;
    flex: none;
    align-self: stretch;
    display: block;
  }
  .ifpd-panel-info h3 {
    font-size: 17px;
    line-height: 1.35;
    margin-bottom: 8px;
  }
  .ifpd-lead-text {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
  .ifpd-features-list {
    margin-bottom: 14px;
  }
  .ifpd-features-list li {
    font-size: 12.5px;
    margin-bottom: 6px;
    line-height: 1.4;
  }
  .ifpd-features-list li svg {
    width: 14px;
    height: 14px;
  }
  .ifpd-img-wrap {
    width: 100%;
    max-width: 100%;
    height: 200px;
    border-radius: 6px;
    box-sizing: border-box;
  }
  .ifpd-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
  }
  .ifpd-deliverables-box {
    padding: 10px 12px;
    margin-bottom: 14px;
  }
  .ifpd-deliv-pills li {
    font-size: 11px;
    padding: 3px 8px;
  }
  .btn-tab-action {
    width: 100%;
    justify-content: center;
    padding: 10px 16px;
    font-size: 13px;
  }
  .btn-ifpd-master {
    width: 100%;
    justify-content: center;
    font-size: 12.5px;
    padding: 10px 16px;
  }
}

.standard-box {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 4px;
  scroll-margin-top: 95px;
}
.standard-box h4 {
  color: var(--accent-color);
  margin-bottom: 10px;
  font-size: 20px;
}

/* Capacidades full height on desktop to prevent cut-off blue section */
@media (min-width: 992px) {
  #capacidades {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    box-sizing: border-box;
  }
  #capacidades .container {
    width: 100%;
  }
}

.btn-cap-standards {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  padding: 10px 20px;
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 1.5px solid var(--primary-color);
  border-radius: 4px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}
.btn-cap-standards:hover {
  background-color: var(--primary-color);
  color: #ffffff !important;
  transform: translateY(-1px);
}
.btn-cap-standards svg {
  transition: transform 0.2s ease;
}
.btn-cap-standards:hover svg {
  transform: translateY(2px);
}

/* Hash target pulse highlight & scroll margin */
.info-box, .card {
  scroll-margin-top: 95px;
}
@keyframes targetPulse {
  0% { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0.45); }
  50% { box-shadow: 0 0 0 10px rgba(230, 81, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(230, 81, 0, 0); }
}
.target-highlight {
  animation: targetPulse 1.8s ease-out;
  border-color: var(--accent-color) !important;
}

/* ===== LAYOUT SPLIT ===== */
.layout-split {
  display: flex;
  align-items: center;
  gap: 50px;
}
.split-content {
  flex: 1;
}
.split-content h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 20px;
}
.bullet-list { list-style: none; }
.bullet-list li {
  margin-bottom: 15px;
  padding-left: 20px;
  position: relative;
  font-size: 16px;
  color: var(--text-gray);
}
.bullet-list li::before {
  content: "■";
  color: var(--accent-color);
  position: absolute;
  left: 0; top: 0;
}
.split-image { flex: 1; }
.img-responsive { width: 100%; height: auto; display: block; }
.shadow { box-shadow: 0 10px 30px rgba(0,0,0,0.1); }

/* ===== CONTACT SECTION ===== */
.contact-section {
  background: var(--bg-light);
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 60px;
  align-items: start;
}
.contact-info h2 {
  font-size: 28px;
  color: var(--primary-color);
  margin-bottom: 16px;
}
.contact-info .section-lead {
  font-size: 16px;
  margin: 0 0 28px 0;
  text-align: left;
}
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}
.contact-detail-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text-gray);
}
.contact-detail-item svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary-color);
  flex-shrink: 0;
  margin-top: 2px;
}
.icao-badge {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 12px;
}
.icao-badge span:first-child {
  font-weight: 700;
  font-size: 13px;
  opacity: 0.9;
  letter-spacing: 1px;
}
.icao-badge span:last-child {
  opacity: 0.7;
  font-family: monospace;
}

/* Contact Form */
.contact-form-wrap {
  background: var(--bg-white);
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,30,80,0.08);
  border: 1px solid #dce1e8;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}
.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--primary-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid #d0d7e3;
  border-radius: 5px;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  color: var(--text-dark);
  background: var(--bg-white);
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.08);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}
.btn-full {
  width: 100%;
  margin-top: 8px;
  padding: 14px;
  font-size: 15px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  box-shadow: 0 4px 12px rgba(245, 130, 32, 0.25);
}
.form-feedback {
  margin-top: 16px;
  padding: 14px 18px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 500;
}
.form-feedback-success {
  background: #e8f5e9;
  color: #2e7d32;
  border: 1px solid #c8e6c9;
}
.form-feedback-error {
  background: #fce4ec;
  color: #b71c1c;
  border: 1px solid #f48fb1;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--primary-color);
  color: var(--bg-white);
  padding: 48px 0 24px;
}
.footer-content {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
}
.footer-tagline {
  font-size: 11px;
  opacity: 0.55;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  margin: 0;
}
.footer-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.footer-col-title {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  opacity: 0.45;
  margin: 0 0 12px;
  font-weight: 600;
}
.footer-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-list li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  opacity: 0.75;
}
.footer-list a {
  color: inherit;
  text-decoration: none;
  opacity: 0.85;
  transition: opacity .2s;
}
.footer-list a:hover { opacity: 1; text-decoration: underline; }
.footer-list svg { flex-shrink: 0; opacity: 0.6; }
.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  font-size: 11px;
  opacity: 0.4;
  letter-spacing: 0.5px;
}

/* Globe icon in language selector trigger */
.lang-globe {
  flex-shrink: 0;
  vertical-align: middle;
  color: rgba(255,255,255,0.85);
}

/* ===== LOGO CAROUSELS (NORMATIVA DE FONDO) ===== */
.brand-carousel-section {
  padding: 34px 0 30px;
  background: #ffffff;
  border-top: 1px solid #eef2f6;
  border-bottom: 1px solid #eef2f6;
  position: relative;
}
.brand-carousel-section .container {
  max-width: 1120px;
}
.brand-carousel-section--alt {
  background: #f8fafc;
}
.brand-carousel-title {
  font-size: 20px;
  font-weight: 700;
  color: #0d2b45;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}
.brand-carousel-sub {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 20px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}
.marquee-track-wrap {
  width: 100%;
  max-width: 1020px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  padding: 8px 0;
}
.marquee-track-wrap::before,
.marquee-track-wrap::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  z-index: 2;
  pointer-events: none;
}
.marquee-track-wrap::before {
  left: 0;
  background: linear-gradient(to right, #ffffff, transparent);
}
.marquee-track-wrap::after {
  right: 0;
  background: linear-gradient(to left, #ffffff, transparent);
}
.brand-carousel-section--alt .marquee-track-wrap::before {
  background: linear-gradient(to right, #f8fafc, transparent);
}
.brand-carousel-section--alt .marquee-track-wrap::after {
  background: linear-gradient(to left, #f8fafc, transparent);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 52px;
  width: max-content;
  animation: marqueeScroll 25s linear infinite;
}
.marquee-track--slow {
  animation-duration: 24s;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== STRATEGIC ALLIANCES (MINIMALIST, REFINED, FULL COLOR, BORDERLESS) ===== */
.section-alliances-clean {
  position: relative;
  padding: 55px 0 60px;
  background: linear-gradient(135deg, rgba(248, 250, 252, 0.93) 0%, rgba(241, 245, 249, 0.95) 100%), url('../images/nosotros/analysis-map.jpg') center/cover no-repeat;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
}
.partners-minimal-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 30px;
}
.partner-logo-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 12px;
  border: none;
  box-shadow: 0 4px 20px rgba(13, 43, 69, 0.05);
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.partner-logo-link:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 10px 28px rgba(13, 43, 69, 0.1);
}
.partner-logo-img {
  max-height: 52px;
  max-width: 210px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: none !important;
  opacity: 1 !important;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  min-width: 120px;
  padding: 0 12px;
  text-decoration: none;
  cursor: pointer;
}
.marquee-item img {
  max-height: 44px;
  max-width: 145px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.7);
  transition: filter 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.marquee-item:hover img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.08);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .marquee-track { gap: 40px; }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .logo-icon { height: 50px; }
  .logo-name { height: 35px; }
  .hero { margin-top: 75px; }
  .layout-split { flex-direction: column; }
  .hero h1 { font-size: 26px; }
  .grid-2 { grid-template-columns: 1fr; }
  .contact-form-wrap { padding: 24px 16px; }
  .lang-selector { display: none; }
  .footer-info { grid-template-columns: 1fr; }
  .brand-carousel-title { font-size: 22px; }
  .marquee-track-wrap::before,
  .marquee-track-wrap::after { width: 40px; }
}
