/* ==========================================================================
   Organización Agroproductiva (OA) - Componentes de UI
   Navbar, Hero, Cards, Stepper, Clients, Carousel, Form, Footer
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. NAVBAR
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(1, 151, 113, 0.15);
  transition: all var(--transition-base);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 20px rgba(18, 20, 21, 0.06);
  border-bottom-color: var(--oa-border);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 24px;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo {
  transform: scale(1.03);
}

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

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oa-carbon-900);
  line-height: 1;
}

.brand-name .accent-green {
  color: var(--oa-lime-bright);
}

.brand-name .accent-teal {
  color: var(--oa-teal);
}

.brand-sub {
  font-size: 0.725rem;
  color: var(--oa-gray-500);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 3px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oa-carbon-700);
  position: relative;
  padding: 8px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--oa-teal);
  transition: width var(--transition-base);
}

.nav-link:hover {
  color: var(--oa-teal);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--oa-teal-dark);
}

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

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--oa-gray-100);
  align-items: center;
  justify-content: center;
  color: var(--oa-carbon-900);
}

.mobile-toggle svg {
  width: 24px;
  height: 24px;
}

/* --------------------------------------------------------------------------
   2. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 72px;
  background: var(--oa-carbon-900);
  overflow: hidden;
  color: var(--oa-white);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.hero-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  opacity: 0.28;
  filter: saturate(1.2) contrast(1.1);
  transform: scale(1.05);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(1, 151, 113, 0.25) 0%, transparent 60%),
              linear-gradient(180deg, rgba(18, 20, 21, 0.85) 0%, rgba(18, 20, 21, 0.96) 100%);
  z-index: 2;
}

/* Tira Decorativa Diagonal de Marca */
.hero-diagonal-strip {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: clamp(60px, 12vw, 160px);
  z-index: 3;
  pointer-events: none;
  opacity: 0.85;
}

.hero-diagonal-strip svg {
  width: 100%;
  height: 100%;
}

.hero-content {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: center;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 18px;
  border-radius: var(--radius-full);
  background: rgba(141, 198, 63, 0.15);
  border: 1px solid rgba(141, 198, 63, 0.35);
  color: var(--oa-lime-bright);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 24px;
}

.hero-tagline .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--oa-lime-bright);
  box-shadow: 0 0 10px var(--oa-lime-bright);
  animation: pulse 2s infinite;
}

.hero-title {
  font-size: clamp(2.5rem, 5.8vw, 4.75rem);
  line-height: 0.92;
  letter-spacing: 0.01em;
  color: var(--oa-white);
  margin-bottom: 24px;
}

.hero-title .title-row {
  display: block;
}

.hero-title .title-light {
  font-weight: 300;
  color: #E2E6E8;
}

.hero-title .title-bold {
  font-weight: 700;
}

.hero-title .title-highlight {
  color: var(--oa-lime-bright);
  text-shadow: 0 0 35px rgba(141, 198, 63, 0.35);
}

.hero-desc {
  font-size: clamp(1.125rem, 1.6vw, 1.25rem);
  color: #CBD3D8;
  max-width: 580px;
  line-height: 1.65;
  margin-bottom: 36px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

/* Tarjeta Hero Lateral */
.hero-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 36px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

.hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--oa-lime-bright), var(--oa-teal));
}

.hero-card-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 28px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-md);
}

.hero-card-brand img {
  max-height: 80px;
  width: auto;
}

.hero-card-list {
  display: grid;
  gap: 16px;
}

.hero-card-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  color: #E2E6E8;
  font-size: 0.95rem;
}

.hero-card-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(1, 151, 113, 0.2);
  color: var(--oa-lime-bright);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.hero-card-icon svg {
  width: 16px;
  height: 16px;
}

/* Barra de Estadísticas Hero */
.hero-stats {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 12px;
}

.stat-item {
  position: relative;
  padding-left: 20px;
  border-left: 3px solid var(--oa-teal);
}

.stat-val {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  color: var(--oa-white);
  line-height: 1;
  margin-bottom: 6px;
}

.stat-val .plus {
  color: var(--oa-lime-bright);
}

.stat-label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #CBD3D8;
}

.stat-desc {
  font-size: 0.8rem;
  color: var(--oa-gray-400);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   3. CIENCIA Y PRODUCCIÓN (PILARES)
   -------------------------------------------------------------------------- */
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.pillar-card {
  position: relative;
  background: var(--oa-white);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 5vw, 48px);
  border: 1px solid var(--oa-border);
  box-shadow: var(--shadow-md);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
  overflow: hidden;
}

.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--oa-border-subtle);
}

.pillar-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
}

.pillar-card.ciencia::after {
  background: linear-gradient(90deg, var(--oa-teal), var(--oa-cyan));
}

.pillar-card.produccion::after {
  background: linear-gradient(90deg, var(--oa-lime), var(--oa-lime-bright));
}

.pillar-badge {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 24px;
  background: var(--oa-teal-soft);
  color: var(--oa-teal);
  transition: transform var(--transition-base), background var(--transition-base);
}

.pillar-card:hover .pillar-badge {
  transform: scale(1.08) rotate(5deg);
}

.pillar-badge svg {
  width: 36px;
  height: 36px;
}

.pillar-card.produccion .pillar-badge {
  background: var(--oa-lime-soft);
  color: var(--oa-lime);
}

.pillar-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin-bottom: 8px;
}

.pillar-sub {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--oa-gray-500);
  margin-bottom: 18px;
}

.pillar-desc {
  font-size: 1.0625rem;
  color: var(--oa-carbon-700);
  line-height: 1.65;
  margin-bottom: 28px;
}

.pillar-points {
  display: grid;
  gap: 12px;
}

.pillar-point {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--oa-carbon-800);
}

.pillar-point svg {
  width: 18px;
  height: 18px;
  color: var(--oa-teal);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   4. SERVICIOS
   -------------------------------------------------------------------------- */
.services-grid {
  display: grid;
  gap: 24px;
}

.service-card {
  display: grid;
  grid-template-columns: 280px 80px 1fr;
  align-items: center;
  background: var(--oa-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--oa-border);
  box-shadow: var(--shadow-sm);
  padding: 32px 40px;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.service-card:hover {
  transform: translateX(6px);
  border-color: var(--oa-teal-light);
  box-shadow: var(--shadow-md);
}

.service-left {
  text-align: right;
  padding-right: 24px;
}

.service-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--oa-lime-bright);
  letter-spacing: 0.1em;
  margin-bottom: 4px;
}

.service-title {
  font-size: 1.6rem;
  color: var(--oa-carbon-900);
  line-height: 1;
}

.service-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--oa-gray-500);
  margin-top: 6px;
}

.service-icon-wrap {
  position: relative;
  display: grid;
  place-items: center;
}

.service-icon {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--oa-surface-alt);
  display: grid;
  place-items: center;
  color: var(--oa-teal);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  border: 1px solid var(--oa-border);
  transition: transform var(--transition-base), background var(--transition-base), color var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--oa-teal);
  color: var(--oa-white);
  transform: scale(1.1);
}

.service-icon svg {
  width: 32px;
  height: 32px;
}

.service-right {
  padding-left: 24px;
}

.service-summary {
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--oa-carbon-800);
  margin-bottom: 8px;
}

.service-detail {
  font-size: 0.95rem;
  color: var(--oa-gray-500);
  margin-bottom: 14px;
  line-height: 1.55;
}

.service-bullets {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 8px 16px;
}

.service-bullet {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: var(--oa-carbon-700);
}

.service-bullet::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--oa-lime);
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   5. STEPPER INTERACTIVO DE ENSAYO I+D
   -------------------------------------------------------------------------- */
.trial-stepper-card {
  margin-top: 56px;
  background: linear-gradient(145deg, #1c2022 0%, #121415 100%);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 6vw, 64px);
  color: var(--oa-white);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-lg);
}

.stepper-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: 40px;
}

.stepper-header .section-title {
  color: var(--oa-white);
}

.stepper-header .section-lead {
  color: #B5BFC5;
}

.stepper-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  position: relative;
  margin-bottom: 24px;
}

.stepper-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 16px 12px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #A0ACB2;
  transition: all var(--transition-base);
  position: relative;
  z-index: 2;
}

.stepper-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--oa-white);
}

.stepper-btn.active {
  background: rgba(1, 151, 113, 0.2);
  border-color: var(--oa-teal);
  color: var(--oa-white);
}

.stepper-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--oa-white);
  transition: all var(--transition-base);
}

.stepper-btn.active .stepper-num {
  background: var(--oa-orange);
  box-shadow: 0 0 16px rgba(226, 80, 36, 0.5);
}

.stepper-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Barra de progreso */
.stepper-progress {
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-bottom: 32px;
}

.stepper-progress-bar {
  height: 100%;
  width: 25%;
  background: linear-gradient(90deg, var(--oa-lime), var(--oa-lime-bright));
  border-radius: var(--radius-full);
  transition: width 0.4s var(--ease-out-cubic);
}

/* Panel de Detalle del Paso */
.stepper-panel {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  padding: 32px;
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: opacity var(--transition-base);
}

.stepper-panel-badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--oa-lime-bright);
  margin-bottom: 8px;
}

.stepper-panel-title {
  font-size: 1.5rem;
  color: var(--oa-white);
  margin-bottom: 10px;
}

.stepper-panel-text {
  font-size: 1.0625rem;
  color: #D2D9DD;
  line-height: 1.65;
  max-width: 840px;
}

/* --------------------------------------------------------------------------
   6. CLIENTES Y ALIANZAS
   -------------------------------------------------------------------------- */
.clients-section {
  position: relative;
  overflow: hidden;
}

/* Marquee / Ticker de Logos Infinito */
.logo-marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 24px 0 36px;
}

.logo-marquee::before,
.logo-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}

.logo-marquee::before {
  left: 0;
  background: linear-gradient(90deg, var(--oa-bg-alt) 0%, transparent 100%);
}

.logo-marquee::after {
  right: 0;
  background: linear-gradient(270deg, var(--oa-bg-alt) 0%, transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 32px;
  animation: marquee 42s linear infinite;
}

.marquee-track:hover {
  animation-play-state: paused;
}

.logo-item {
  width: 170px;
  height: 84px;
  background: var(--oa-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--oa-border);
  box-shadow: var(--shadow-sm);
  display: grid;
  place-items: center;
  padding: 14px 20px;
  transition: all var(--transition-base);
  filter: grayscale(100%) opacity(75%);
}

.logo-item:hover {
  filter: grayscale(0%) opacity(100%);
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--oa-teal-light);
}

.logo-item img {
  max-height: 48px;
  max-width: 100%;
  object-fit: contain;
}

/* Grilla Completa de Clientes */
.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 20px;
  margin-top: 36px;
}

.client-card {
  background: var(--oa-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--oa-border);
  padding: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--oa-teal-light);
}

.client-logo-wrap {
  height: 60px;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
  width: 100%;
}

.client-card img {
  max-height: 44px;
  max-width: 120px;
  object-fit: contain;
  filter: grayscale(90%);
  transition: filter var(--transition-fast);
}

.client-card:hover img {
  filter: grayscale(0%);
}

.client-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--oa-carbon-900);
  margin-bottom: 2px;
}

.client-cat {
  font-size: 0.725rem;
  color: var(--oa-gray-500);
}

/* Alianzas Académicas */
.alliances-wrap {
  margin-top: 48px;
  padding: 32px 36px;
  background: var(--oa-white);
  border-radius: var(--radius-lg);
  border-left: 6px solid var(--oa-lime-bright);
  border-top: 1px solid var(--oa-border);
  border-right: 1px solid var(--oa-border);
  border-bottom: 1px solid var(--oa-border);
  box-shadow: var(--shadow-sm);
}

.alliances-title {
  font-size: 1.4rem;
  margin-bottom: 8px;
}

.alliances-lead {
  font-size: 1rem;
  color: var(--oa-gray-500);
  margin-bottom: 20px;
}

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

.alliance-item {
  background: var(--oa-bg-alt);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--oa-border);
}

.alliance-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--oa-teal);
  margin-bottom: 2px;
}

.alliance-label {
  font-size: 0.85rem;
  color: var(--oa-carbon-700);
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   7. LÍNEAS DE INVESTIGACIÓN (PAPERS / CONGRESOS)
   -------------------------------------------------------------------------- */
.research-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
}

.research-card {
  background: var(--oa-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--oa-border);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.research-card:hover {
  transform: translateY(-4px);
  border-color: var(--oa-teal-light);
  box-shadow: var(--shadow-md);
}

.research-badge {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--oa-teal-soft);
  color: var(--oa-teal);
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.research-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.25;
  color: var(--oa-carbon-900);
  margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   8. GALERÍA FOTOGRÁFICA / CARRUSEL DE CAMPO Y LAB
   -------------------------------------------------------------------------- */
.gallery-slider {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 16px 0;
}

.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: galleryScroll 55s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-item {
  width: 320px;
  height: 220px;
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-md);
  flex-shrink: 0;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-smooth);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px 16px 12px;
  background: linear-gradient(180deg, transparent 0%, rgba(18, 20, 21, 0.85) 100%);
  color: var(--oa-white);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   9. EQUIPO DIRECTIVO
   -------------------------------------------------------------------------- */
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.team-card {
  background: var(--oa-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--oa-border);
  padding: 36px 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: all var(--transition-base);
}

.team-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 32px;
  bottom: 32px;
  width: 6px;
  background: var(--oa-lime-bright);
  border-radius: 0 4px 4px 0;
}

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

.team-role {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--oa-teal);
  margin-bottom: 6px;
}

.team-name {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  color: var(--oa-carbon-900);
  margin-bottom: 6px;
}

.team-credentials {
  font-size: 0.95rem;
  color: var(--oa-gray-500);
  font-weight: 500;
  margin-bottom: 16px;
}

.team-focus {
  font-size: 1rem;
  color: var(--oa-carbon-700);
  line-height: 1.6;
  margin-bottom: 16px;
}

.team-inst {
  font-size: 0.85rem;
  color: var(--oa-gray-400);
  font-style: italic;
}

/* --------------------------------------------------------------------------
   10. CONTACTO Y FORMULARIO
   -------------------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.contact-info {
  display: grid;
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 20px;
  background: var(--oa-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--oa-border);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
}

.contact-item:hover {
  border-color: var(--oa-teal-light);
  transform: translateX(4px);
}

.contact-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--oa-white);
}

.contact-icon svg {
  width: 22px;
  height: 22px;
}

.contact-icon.email { background: var(--oa-orange); }
.contact-icon.whatsapp { background: #25D366; }
.contact-icon.instagram { background: #E1306C; }
.contact-icon.location { background: var(--oa-teal); }

.contact-details h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.contact-details p,
.contact-details a {
  font-size: 0.95rem;
  color: var(--oa-carbon-700);
  line-height: 1.5;
}

.contact-details a:hover {
  color: var(--oa-teal);
}

/* Formulario Interactivo */
.contact-form-card {
  background: var(--oa-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--oa-border);
  padding: clamp(28px, 4vw, 44px);
  box-shadow: var(--shadow-md);
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--oa-carbon-800);
  margin-bottom: 8px;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--oa-border);
  background: var(--oa-surface-soft);
  color: var(--oa-carbon-900);
  font-size: 1rem;
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--oa-teal);
  background: var(--oa-white);
  box-shadow: 0 0 0 3px rgba(1, 151, 113, 0.15);
}

.form-textarea {
  resize: vertical;
  min-height: 110px;
}

/* --------------------------------------------------------------------------
   11. BOTÓN FLOTANTE DE WHATSAPP
   -------------------------------------------------------------------------- */
.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 990;
  display: flex;
  align-items: center;
  gap: 12px;
}

.whatsapp-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: var(--oa-white);
  display: grid;
  place-items: center;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
  transition: all var(--transition-base);
  animation: pulseGreen 2.5s infinite;
}

.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6);
}

.whatsapp-btn svg {
  width: 32px;
  height: 32px;
}

.whatsapp-tooltip {
  background: var(--oa-carbon-900);
  color: var(--oa-white);
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  opacity: 0;
  transform: translateX(10px);
  pointer-events: none;
  transition: all var(--transition-fast);
}

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

/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
  background: var(--oa-carbon-900);
  color: #B5BFC5;
  padding-top: 72px;
  padding-bottom: 32px;
  border-top: 4px solid var(--oa-orange);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-name {
  color: var(--oa-white);
  font-size: 1.5rem;
  margin-bottom: 12px;
}

.footer-brand p {
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 360px;
}

.footer-title {
  font-size: 1.15rem;
  color: var(--oa-white);
  margin-bottom: 20px;
}

.footer-links {
  display: grid;
  gap: 10px;
}

.footer-links a {
  color: #B5BFC5;
  font-size: 0.95rem;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--oa-lime-bright);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding-top: 32px;
  font-size: 0.875rem;
}

/* --------------------------------------------------------------------------
   13. RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  .hero-content {
    grid-template-columns: 1fr;
  }
  .hero-card {
    display: none;
  }
  .service-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-left {
    text-align: left;
    padding-right: 0;
  }
  .service-icon-wrap {
    justify-content: flex-start;
  }
  .service-right {
    padding-left: 0;
  }
  .stepper-tabs {
    grid-template-columns: repeat(2, 1fr);
  }
  .team-grid,
  .pillars-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}

@media (max-width: 768px) {
  .nav-menu,
  .nav-actions .btn {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }
  .hero-diagonal-strip {
    display: none;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

/* Mobile Navigation Drawer Overlay */
@media (max-width: 768px) {
  .nav-menu.is-open {
    display: flex !important;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 36px 24px;
    gap: 20px;
    z-index: 999;
    border-top: 1px solid var(--oa-border);
    animation: fadeIn 0.25s ease-out;
  }
  .nav-menu.is-open .nav-link {
    font-size: 1.25rem;
    padding: 10px 0;
    width: 100%;
    border-bottom: 1px solid var(--oa-border);
  }
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}
