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

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

/* ======================================================
SECTORES
====================================================== */
.sectors {
  padding: 80px 20px;
  background: var(--color-background-lila);
  font-family: 'Inter', sans-serif;
}

.sectors-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 50px;
}

.sectors-header h2 {
  font-weight: 700;
  font-size: 36px;
  color: var(--color-text-titulo);
  margin-bottom: 15px;
}

.sectors-header p {
  color: var(--color-text-sub);
  font-size: 16px;
  line-height: 1.6;
}

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
  max-width: 1100px;
  margin: 0 auto 60px;
}

.sector-card {
  border: 1px solid #E5E7EB;
  border-radius: 14px;
  padding: 26px;
  transition: 0.3s;
  background: var(--color-white);
}

.sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.sector-card h3 {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-titulo);
  margin-bottom: 10px;
}

.sector-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  margin-bottom: 15px;
  line-height: 1.5;
}

.sector-card span {
  font-size: 12px;
  font-weight: 600;
  color: var(--color-primary);
}

.sectors-cta {
  text-align: center;
}

.sectors-cta h3 {
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-text-titulo);
}

.sectors-cta p {
  color: var(--color-text-sub);
  margin-bottom: 45px;
}

.btn-primary {
  border-radius: var(--radius-md);
  padding: 14px 28px;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.btn-primary:hover {
  opacity: 0.85;
}

/* ===================== 
RESPONSIVE
/* ===================== */

@media (max-width: 1024px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .sectors {
    padding: 60px 15px;
  }

  .sectors-header h2 {
    font-size: 26px;
  }

  .sectors-grid {
    grid-template-columns: 1fr;
  }

  .sector-card {
    padding: 22px;
  }
}

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