/* ======================================================
VARIABLES / BASE
====================================================== */
:root {
  --color-primary: #004a48;
  --color-secondary: #ebff8c;
  --color-text-titulo: #3E3B5C;
  --color-text-sub: #6D758F;
  --color-dark: #0f172a;
  --color-text: #334155;
  --color-muted: #64748b;
  --color-light: #f8fafc;
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  --color-background-lila: #FAFAFF;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 20px;

  --shadow-sm: 0 4px 10px rgba(0,0,0,.04);
  --shadow-md: 0 12px 30px rgba(0,0,0,.08);
  --shadow-lg: 0 30px 80px rgba(0,0,0,.12);

  --transition: all .3s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  color: var(--color-text);
  line-height: 1.4;
  background-color: var(--color-white);
}

/* ======================================================
UTILITIES
====================================================== */
.section {
  padding: 100px 0;
}

.bg-light {
  background-color: var(--color-light);
}

.container {
  max-width: 1420px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-header {
  max-width: 760px;
  margin-bottom: 64px;
}

.section-header h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-dark);
  margin-bottom: 16px;
}

.section-intro {
  font-size: 1.05rem;
  color: var(--color-muted);
}

/* ======================================================
SCROLL ANIMATIONS
====================================================== */
.fade-in,
.fade-up,
.fade-left,
.fade-right {
  opacity: 0;
  will-change: transform, opacity;
  transition: opacity .6s cubic-bezier(.4,0,.2,1),
              transform .6s cubic-bezier(.4,0,.2,1);
}

.fade-in.is-visible {
  opacity: 1;
}

.fade-up {
  transform: translateY(40px);
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-left {
  transform: translateX(-40px);
}

.fade-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-right {
  transform: translateX(40px);
}

.fade-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

/* ======================================================
BUTTONS
====================================================== */
.btn {
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  z-index: 0;
}

/* ================= PRIMARY ================= */
.btn-gout-primary {
  background: var(--color-secondary);
  color: var(--color-primary);
  border: none;
  overflow: hidden;
}

.btn-gout-primary::after {
  content: '';
  position: absolute;
  inset: 0;
  background:var(--color-background-lila);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1;
}

.btn-gout-primary:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-gout-primary:hover::after {
  opacity: 1;
}

/* ================= SECONDARY ================= */
.btn-secondary {
  background: var(--color-primary);
  color: var(--color-secondary);
  border: none;
  overflow: hidden;
}

.btn-secondary::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--color-light);
  opacity: 0;
  transition: opacity .3s ease;
  z-index: -1; 
}

.btn-secondary:hover {
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary:hover::after {
  opacity: 1;
}

/* ================= OUTLINE ================= */
.btn-outline-light {
  border: 1.5px solid var(--color-secondary);
  color: var(--color-secondary);
  background: transparent;
}

.btn-outline-light:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  border: 1.5px solid var(--color-primary);
  color: var(--color-primary);
  background: transparent;
}

.btn-outline:hover {
  background: #fff;
  color: var(--color-primary);
}

/* ======================================================
NAV
====================================================== */
.nav-toggle {
  display: none;
}

.nav {
  position: sticky;
  top: 0;
  width: 100%;
  height: 80px;
  z-index: 999;
  background-color: var(--color-primary);
  display: flex;
  align-items: center;
  transition: background .3s ease, box-shadow .3s ease;
}

.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: 100%;
  height: 100%;
}

.logo img {
  height: 38px;
}

.nav-links {
  padding-right: 32px;
  display: flex;
  gap: 32px;
  list-style: none;
  justify-self: end;
  align-items: center;
  margin: 0;
}

.nav-links a {
  position: relative;
  color: var(--color-background-lila);
  font-weight: 500;
  text-decoration: none;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 2px;
  background-color: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a.active::after {
  width: 100%;
}

.nav-links .nav-cta {
  border: none;
  padding: 0;
}

.nav-cta a {
  text-decoration: none;
}

/* ======================================================
BADGE
====================================================== */
.section-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--color-secondary);
  color: var(--color-primary);
  margin-bottom: 30px;
}

.section-badge.dark {
  background: var(--color-primary);
  color: var(--color-secondary);
}

/* ======================================================
HERO
====================================================== */
.hero-strategic-section {
  background-color: var(--color-primary);
  padding: 180px 0;
  color: var(--color-secondary);
}

.strategic-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.strategic-left h1 {
  padding-top: 30px;
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-secondary);
  margin: 0;
}

.strategic-right p {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 22px;
  color: var(--color-secondary);
}

.strategic-right p:last-child {
  margin-bottom: 0;
}

.strategic-left h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-titulo);
  margin-bottom: 16px;
  line-height: 1.1;
}

.strategic-right {
  border-left: 2px solid rgba(255,255,255,0.2);
  padding-left: 40px;
}

/* ======================================================
PRESENCIA REGIONAL
====================================================== */
.presencia {
  padding: 120px 0;
  background-color: var(--color-white);
}

.presencia-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.presencia-contend {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.presencia-contend h2 {
  text-align: center;
  font-size: 2rem;                
  font-weight: 700;
  color: var(--color-text-titulo);
  margin-bottom: 50px;
}

.presencia-contend p {
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
  color: var(--color-text-sub);
  margin-bottom: 36px;
}

.presencia-contend strong {
  font-weight: 600;
  color: var(--color-text-titulo);
}

.presencia .hero-cta {
  position:fixed;
}

.presencia-map {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.presencia-map-img {
  width: 100%;
  max-width: 340px;
  height: auto;
}

/* MAPA */
.map-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

svg {
  width: 100%;
  height: auto;
}

/* ======================================================
SECCIÓN – ESENCIA & DIFERENCIAL
====================================================== */
.essence-section {
  background-color: var(--color-background-lila);
}

.container-essence {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding-left: 5%;
}

.essence-left h2 {
  font-weight: 700;
  color: var(--color-text-titulo);
  margin: 30px 0 60px;
  max-width: 520px;
}

.essence-tabs {
  display: flex;
  flex-direction: column;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 1.4rem;
  font-weight: 600;
  color: #7b8191;
  cursor: pointer;
  text-align: left;
  transition: .3s ease;
}

.tab-btn.active {
  color: var(--color-primary);
}

.essence-right-full {
  position: relative;
  height: 650px;

  width: calc(100% + ((100vw - 1400px) / 2));
  margin-right: calc(-1 * ((100vw - 1400px) / 2));
}

.essence-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
  min-height: 650px;
}

.carousel-item {
  position: absolute;
  inset: 0;
  transform: translateY(100%);
  transition: transform .8s cubic-bezier(.4,0,.2,1);
}

.carousel-item.active {
  transform: translateY(0);
}

.carousel-item.exit-up {
  transform: translateY(-100%);
}

.carousel-card {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 85%;
  background: var(--color-secondary);
  padding: 50px;
  border-radius: 32px 32px 0 0;
}

.carousel-card p {
  line-height: 1.4;
  color: var(--color-primary);
}

.carousel-item {
  position: absolute;
  inset: 0;
}

.carousel-image {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: 32px 32px 0 0;
}

/* ======================================================
SECCIÓN – MODELO DE GESTIÓN INTELIGENTE
====================================================== */
.management-section-v2 {
  padding: 140px 0;
  background: var(--color-secondary); 
}

.management-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 38px;
  align-items: center;
}

.management-image img {
  width: 100%;
  height: 570px;
  object-fit: cover;
  border-radius: 32px;
  display: block;
}

.management-card {
  height: 570px;
  background: var(--color-primary); 
  padding: 70px 60px;
  border-radius: 32px;
  color: var(--color-secondary);
}

.section-badge.light {
  display: inline-block;
  background: var(--color-secondary);
  color: var(--color-primary);
  font-size: 0.8rem;
  font-weight: 600;
  border-radius: 50px;
  margin-bottom: 30px;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.management-card h2 {
  padding-top: 30px;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
  line-height: 1.2;
}

.management-card p {
  font-size: 1rem;
  line-height: 1.4;
  margin-bottom: 20px;
  color: var(--color-secondary);
}

/* ======================================================
SECCIÓN – TECNOLOGÍA APLICADA A RESULTADOS
====================================================== */
.technology-section {
  padding: 160px 0;
  background: var(--color-light);
}

.technology-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
}

.tech-left h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-titulo);
  margin: 30px 0 60px;
  max-width: 520px;
}

/* ======================================================
SECCIÓN – CULTURA OPERATIVA
====================================================== */

.culture-section {
  padding: 160px 0;
  background: var(--color-primary);
  color: var(--color-secondary);
  text-align: center;
}

.culture-section h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.culture-section p {
  max-width: 800px;
  margin: 0 auto 20px auto;
}

/* ======================================================
SECCIÓN – EQUIPOS PREPARADOS PARA GENERAR RESULTADOS
====================================================== */
.team-section {
  padding: 160px 0;
  background: #ffffff;
}

.two-columns {
  display: grid;
  grid-template-columns: .8fr .8fr;
  gap: 48px;
  align-items: center;
}

.team-stats {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.stat-card {
  padding: 30px;
  background: var(--color-primary);
  color: var(--color-secondary);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.stat-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.team-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-titulo);
  margin-bottom: 30px;
}

.team-list li {
  display: flex;
  align-items: center;
  gap: 14px;

  padding: 16px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);

  margin-bottom: 16px;
  font-weight: 500;
  color: var(--color-text-sub);
}

.team-list li:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0,0,0,.08);
}

/* ======================================================
SOLUCIONES NUEVO DISEÑO
====================================================== */
.section-soluciones{
  padding:120px 0;
  background:#fff;
}

.soluciones-layout{
  display:grid;
  grid-template-columns: 1.1fr 1fr 0.8fr;
  gap:60px;
  align-items:center;
}

.solutions-text h2{
  font-size:2.6rem;
  font-weight:800;
  color:var(--color-text-titulo);
  margin-bottom:20px;
}

.solutions-text p{
  font-size: 1rem;
  line-height: 1.4;
  color:var(--color-text-sub);
}

.solution-display{
  background: var(--color-primary);
  padding:42px;
  border-radius:16px;
  color: var(--color-light);
  min-height:320px;

  display:flex;
  flex-direction:column;
  justify-content:center;

  transition: all .35s ease;
}

.solution-display h3{
  font-size:1.35rem;
  font-weight:700;
  margin-bottom:14px;
}

.solution-display p{
  font-size:.95rem;
  line-height: 1.4;
  margin-bottom:18px;
}

.solution-display ul{
  padding-left:16px;
}

.solution-display li{
  margin-bottom:8px;
  font-size:.92rem;
}

.solutions-menu{
  display:flex;
  flex-direction:column;
  gap:16px;
}

.solution-btn{
  background:var(--color-background-lila);
  border:none;
  border-radius:10px;
  padding:14px 20px;

  text-align:left;
  font-weight:600;
  color: var(--color-text-titulo);

  cursor:pointer;

  transition:all .25s ease;
}

.solution-btn:hover{
  background: var(--color-primary);
  color: var(--color-white);
}

.solution-btn.active{
  background: var(--color-primary);
  color: var(--color-white);
}

/* =======================================================
FOOTER
======================================================= */
.footer-simple {
  background-color: var(--color-primary);
  padding: 28px 0;
  color: var(--color-light);
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.footer-logo img {
  height: 40px;
  display: block;
}

.footer-center {
  text-align: center;
  flex: 1;
}

.footer-center p {
  margin: 0;
  line-height: 1.4;
  color: var(--color-light);
}

.footer-center span {
  font-size: 13px;
  opacity: 0.85;
}

.footer-right {
  display: flex;
  gap: 12px;
}

.footer-right a {
  width: 35px;
  color: var(--color-secondary);

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 6px;
  font-size: 25px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.footer-right a:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

/* =====================================================
BOTÓN FLOTANTE
===================================================== */

.floating-contact {
  position: fixed;
  bottom: 20px;
  right: 15px;
  z-index: 999;
  display: flex;
  flex-direction: row-reverse; 
  align-items: center;
  gap: 10px;
}


.contact-toggle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  font-size: 28px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
  transition: 0.3s;
}

.contact-toggle:hover {
  transform: scale(1.1);
}

/* OPCIONES */
.contact-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 12px;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: all 0.3s ease;
}

.contact-options.active {
  opacity: 1;
  pointer-events: auto;
}

/* BOTONES */
.contact-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: white;
  padding: 10px 15px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 14px;
  color: #333;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.2s;
}

.contact-btn i {
  font-size: 16px;
}

.contact-btn:hover {
  transform: translateX(-5px);
}

/* VARIANTES */
.contact-btn.comercial {
  border-left: 4px solid #25D366;
}

.contact-btn.rrhh {
  border-left: 4px solid #0d6efd;
}