/* ======================================================
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;
}

@media (max-width: 768px) {

  .nav-cta {
    position: fixed;
    left: 0;
    bottom: 0;
    width: 100%;

    padding: 20px 34px 30px;
    background: var(--color-light);

    z-index: 1000;

    opacity: 0;
    pointer-events: none;
    transform: translateY(20px);
    transition: all .3s ease;
  }

  .nav-links.open + .nav-cta {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }
}

/* ======================================================
HERO
====================================================== */
.hero {
  padding: 50px 0;
  background: var(--color-background-lila);
}

.hero-media {
  position: relative;
  max-width: 1400px;
  margin: auto;
  height: 620px;
  border-radius: 24px;
  overflow: hidden;
}

.hero-media video{
  width:100%;
  height:100%;
  object-fit:cover;
}

.hero-content {
  position: absolute;
  inset: 0;

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

  text-align: center;
  max-width: 800px;
  margin: auto;
  padding: 0 20px;

  z-index: 2;
}

.hero-content h1 {
  font-size: 2.3rem;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--color-light);
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.4;
  max-width: 720px;
  opacity: .95;
  margin-bottom: 40px;
  color: var(--color-light);
}

.hero-actions {
  display: flex;
  gap: 16px;
}

/* ================================
SOLUCIONES
=================================== */
.gout-solutions {
  padding: 100px 20px;
  background: var(--color-background-lila);
  font-family: 'Inter', sans-serif;
}

.gout-solutions-intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
}

.gout-metrics {
  display: flex;
  justify-content: center;
  gap: 60px;
  margin: 60px auto;
  max-width: 900px;
  flex-wrap: wrap;
}

.metric {
  text-align: center;
  max-width: 220px;
}

.metric h3 {
  font-weight: 700;
  font-size: 34px;
  color: var(--color-primary);
  margin-bottom: 8px;
}

.metric p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.5;
}

.gout-solutions-header {
  text-align: center;
  margin-bottom: 50px;
}

.gout-solutions-header h2 {
  font-weight: 700;
  font-size: 28px;
  color: var(--color-text-titulo);
}

.gout-solutions-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.gout-solutions-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.visual-card {
  background: linear-gradient(135deg, #004a48, #008a85);
  color: white;
  padding: 28px;
  border-radius: 14px;
  opacity: 0.5;
  transition: all 0.3s ease;
  cursor: pointer;
}

.visual-card h3 {
  font-size: 18px;
}

.visual-card.active {
  opacity: 1;
  transform: scale(1.03);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.gout-solutions-accordion {
  background: white;
  border-radius: 16px;
  padding: 25px;
  border: 1px solid #e5e7eb;
}

.accordion-item {
  border-bottom: 1px solid #e5e7eb;
  padding: 18px 0;
}

.accordion-item:last-child {
  border-bottom: none;
}

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

.accordion-header h4 {
  font-weight: 700;
  font-size: 18px;
  color: var(--color-text-titulo);
}

.accordion-header span {
  font-size: 18px;
  color: var(--color-primary);
  transition: transform 0.3s;
}

.accordion-item.active .accordion-header span {
  transform: rotate(180deg);
}

.accordion-body {
  margin-top: 12px;
  display: none;
}

.accordion-item.active .accordion-body {
  display: block;
}

.accordion-body p {
  color: var(--color-text-sub);
  margin-bottom: 10px;
  font-size: 15px;
}

.accordion-body ul {
  padding-left: 18px;
}

.accordion-body li {
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--color-text-sub);
}

/* ======================================================
CALL TO ACTION INTERMEDIO
====================================================== */
.cta-section {
  background: var(--color-secondary);
  padding: 64px 0;
}

.cta-wrapper {
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  align-items: center;
  gap: 32px;
}

.cta-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-primary);
  max-width: 620px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: flex-end;
}

/* ======================================================
CLIENTES SLIDER
====================================================== */
.container-wide {
  padding: 64px 0;
}

.clientes-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--color-text-titulo);
  text-align: center;
  margin-bottom: 48px;
}

.logos-slider {
  overflow: hidden;
  margin-top: 40px;
}

.logos-track {
  display: flex;
  gap: 60px;
  animation: scrollLogos 30s linear infinite;
}

.logos-track img {
  height: 40px;
  opacity: .75;
  transition: var(--transition);
}

.logos-track img:hover {
  opacity: 1;
}

@keyframes scrollLogos {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 768px) {
.logos-track{
  gap:20px;
}

.logos-track {
  display: flex;
  gap: 30px;
  animation: scrollLogos 10s linear infinite;
}

.logos-track img{
  height: 40px;
  opacity: .75;
  transition: var(--transition);
}
}

/* ======================================================
SOLUCIONES 
====================================================== */
.gout-solutions-visual{
  display:flex;
  flex-direction:column;
  gap:30px;
  position:relative;
}

.gout-solutions-visual::before{
  content:'';
  position:absolute;
  left:19px;
  top:0;
  bottom:0;
  width:2px;
  background:rgba(0,0,0,0.1);
}

/* step */
.visual-step{
  display:flex;
  align-items:center;
  gap:14px;

  background:transparent;
  border:none;
  cursor:pointer;
  text-align:left;

  opacity:.6;
  transition:.3s ease;
}

/* número */
.visual-step span{
  width:28px;
  height:28px;
  border-radius:50%;
  background:#ddd;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:.75rem;
  font-weight:600;
}

.visual-step p{
  margin-top: revert;
  font-weight:600;
  color:var(--color-text-titulo);
}

.visual-step:hover{
  opacity:1;
  transform:translateX(4px);
}

.visual-step.active{
  opacity:1;
}

.visual-step.active span{
  background:var(--color-primary);
  color:#fff;
}

/* ======================================================
CLIENTES
====================================================== */
.clientes-section {
  padding: 120px 0;
  background: var(--color-background-lila);
}

.clientes-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 80px;
}

.clientes-header h2 {
  font-weight: 700;
  color: var(--color-text-titulo);
}

.clientes-highlight {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 16px;
  color: var(--color-text);
}

.clientes-intro p {
  color: var(--color-text-sub);
}

/* GRID */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--color-border);
}

.partner-card {
  height: 160px;
  border-right: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;

  background: var(--color-white);
  transition: var(--transition);
}

.partner-card img {
  height: 40px;
  object-fit: contain;
  opacity: .8;
}

.partner-card span {
  font-size: 0.75rem;
  color: var(--color-muted);
}

.partner-card:hover {
  background: var(--color-light);
  transform: scale(1.02);
}

/* ======================================================
TESTIMONIALS – FIXED & IMPROVED
====================================================== */
.testimonials-section {
  background: var(--color-primary);
  color: var(--color-light);
  position: relative;
  padding: 120px 0;
  overflow: hidden;
}

/* HEADER */
.testimonials-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.testimonials-header h2 {
  color: var(--color-secondary);
  font-size: 2rem;
  margin-bottom: 16px;
}

.testimonials-header p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
}

/* CLAIM */
.testimonials-claim {
  text-align: center;
  font-weight: 600;
  margin-bottom: 40px;
  color: var(--color-secondary);
  font-size: 1rem;
}

/* SLIDER WRAPPER */
.testimonials-slider {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* CONTENEDOR */
.testimonials-steps {
  position: relative;
  width: 100%;
  max-width: 800px;
  min-height: 280px;
}

/* CARDS BASE (ocultos) */
.testimonials-box {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(40px);
  pointer-events: none;

  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 40px;
  margin: auto;

  transition: all .4s ease;
}

/* ACTIVO */
.testimonials-box.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

/* CLIENTE */
.testimonials-client {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.testimonials-avatar {
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-avatar img {
  max-width: 70%;
}

.testimonials-client strong {
  color: var(--color-light);
}

.testimonials-client span {
  font-size: 0.85rem;
  color: rgba(255,255,255,.6);
}

/* TEXTO */
.testimonials-content p {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--color-light);
  position: relative;
  padding-left: 10px;
}

/* COMILLAS */
.testimonials-content p::before {
  content: "“";
  font-size: 3rem;
  position: absolute;
  left: -20px;
  top: -20px;
  color: var(--color-secondary);
  opacity: .3;
}

/* FLECHAS */
.testimonials-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.1);
  border: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: white;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.testimonials-arrow:hover {
  background: var(--color-secondary);
  color: var(--color-primary);
}

.testimonials-arrow.left {
  left: -60px;
}

.testimonials-arrow.right {
  right: -60px;
}

/* DOTS */
.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 40px;
}

.testimonials-dots span {
  width: 8px;
  height: 8px;
  background: rgba(255,255,255,.3);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.testimonials-dots span.active {
  background: var(--color-secondary);
  transform: scale(1.3);
}

/* =======================================================
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;
}

.scroll-top {
  background-color: var(--color-secondary);
}

.bi-arrow-up-short{
  color: var(--color-primary);
}

/* =====================================================
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;
}