/* ===============================
   IMPORT GOOGLE FONTS
 ================================= */
@import url('https://fonts.googleapis.com/css2?family=Michroma&display=swap');

/* ===============================
   LIMON EMOJI — Logo como imagen inline
   Reemplaza el emoji 🍋 en toda la interfaz
 ================================= */
.limon-emoji {
    display: inline-block;
    width: 48px;
    height: 48px;
    background: url('../img/favicon/limon.ico') no-repeat center;
    background-size: contain;
    vertical-align: middle;
    margin: 0 5px;
}


/* ===============================
   ZALANDO SANS VARIABLE
 ================================= */
@font-face {
  font-family: 'Zalando Sans';
  src: url('/static/font/ZalandoSansSemiExpanded-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Zalando Sans';
  src: url('/static/font/ZalandoSansSemiExpanded-Italic-VariableFont_wght.ttf') format('truetype');
  font-weight: 200 900;
  font-style: italic;
  font-display: swap;
}

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

html {
  scroll-behavior: smooth;
}

section {
  scroll-margin-top: 180px;
}

/* ===============================
   BRAND COLORS
 ================================= */
:root {
  --limonit-yellow: #e0c707;
  --limonit-green: #20743c;


  --limonit-gradient: linear-gradient(70deg,
      var(--limonit-yellow),
      var(--limonit-green));
  --limonit-gradient-yellow: linear-gradient(70deg,
      var(--limonit-green),
      var(--limonit-yellow));

  --page-gutter: 1rem;
  --container-max: 1400px;
  --content-shift: 0%;
}

/* ===============================
   VARIABLES LIGHT
 ================================= */
.theme-light {
  --bg-main: #f9fafb;
  --bg-hero: transparent;
  --text-main: #072912;
  --text-muted: #0d2e1d;
  --card-bg: rgba(255, 255, 255, 0.8);
  --nav-bg: rgba(255, 255, 255, 0.65);
}

/* ===============================
   BASE TYPO SCALE
 ================================= */
html {
  font-size: 18px;
}

/* ===============================
   BASE
 ================================= */
body {
  font-family: 'Zalando Sans', sans-serif;
  padding-top: 0;
  margin: 0;
  color: var(--text-main);
  transition: background 0.4s ease, color 0.4s ease;
  line-height: 1.6;
  position: relative;
  min-height: 100vh;
  background-color: transparent;
  font-size: 1rem;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../img/fondo/FONDO(2).jpeg');
  background-size: cover;
  background-position: center;
  opacity: 0.55; 
  z-index: -1;
  pointer-events: none;
}

h1, h2 {
  font-family: 'Michroma', sans-serif;
  letter-spacing: 1px;
}
h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
}

h3, h4, h5, h6, p, li, label {
  font-family: 'Zalando Sans', sans-serif;
}

/* ===============================
   LOGO 
 ================================= */
.logo {
  width: auto;
  height: 250px;
  margin: -50px 0 -70px 2cm;
  display: block;
  transition: all 0.3s ease;
  position: relative;
}


.footer-logo {
  height: 100px !important;
  margin-left: 0 !important;
  width: auto !important;
}

/* ===============================
   HERO
 ================================= */
.hero {
  min-height: auto;
  background: var(--bg-hero);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 0;
  position: relative;
  margin-bottom: 0;
  overflow: hidden;
  text-align: left;
}

.hero-content {
  flex: 0 0 50%;
  max-width: 50%;
}

.hero h1 span {
  color: var(--limonit-green);
}

.hero-buttons {
  margin-top: 1.5rem;
  display: flex;
  gap: 1.5rem;
  width: 100%;
  flex-wrap: wrap;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -50px;
  right: -150px;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle,
      rgba(224, 199, 7, 0.35) 0%,
      rgba(37, 124, 66, 0.25) 40%,
      transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

.hero.blur-bg::after {
  opacity: 0.15;
}

.hero:first-of-type {
  padding-top: clamp(100px, 12vw, 150px) !important; 
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 1rem;
}
.hero h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 600;
  line-height: 1.25;
}

p {
  font-family: 'Zalando Sans', sans-serif;
  font-weight: 400;
}

.zalando-hero {
  font-family: 'Zalando Sans', sans-serif;
  font-weight: 600;
}

.hero p {
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--text-muted);
}

/* Hero ul/li — sin estilo feo default */
.hero ul {
  list-style: none;
  padding: 0;
  margin: 0.75rem 0 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.hero ul li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.5;
  font-family: 'Zalando Sans', sans-serif;
}

.hero ul li::before {
  content: "";
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--limonit-gradient);
  display: inline-block;
}

/* ===============================
   BUTTONS
 ================================= */
.hero-buttons a {
  text-decoration: none;
}

.btn-primary-hero {
  background: var(--limonit-gradient);
  border: none;
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  color:var(--text-main);
  background-size: 200% 200%;
  transition: all 0.3s ease;
  font-size: 0.88rem;
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(36, 159, 78, 0.3);
  background-position: right center;
  color: var(--limonit-yellow);
}

.btn-secondary-hero {
  border: 2px solid var(--limonit-green);
  background: transparent;
  padding: 0.75rem 1.8rem;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 0.88rem;
  color: var(--limonit-green); 
}

.btn-secondary-hero:hover {
  background: var(--limonit-green);
  color: var(--limonit-yellow);
}
.btn-primary-hero,
.btn-secondary-hero {
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.gradient-text {
  font-weight: 600;
  background: var(--limonit-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
/* ===============================
   BTN SOLICITAR - lidas
 ================================= */
 .btn-primary-lidas {
  background: var(--limonit-yellow);
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  background-size: 200% 200%;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.82rem;
  text-decoration: none;
  margin-top: 0;
}

.btn-primary-lidas:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(36, 159, 78, 0.3);
  background-position: right center;
  color: var(--limonit-yellow);
}


.btn-primary-solicitar {
  background: var(--limonit-gradient);
  border: none;
  padding: 0.5rem 1.1rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  color: var(--text-main);
  background-size: 200% 200%;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  font-size: 0.82rem;
  text-decoration: none;
  margin-top: 0;
}

.btn-primary-solicitar:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(36, 159, 78, 0.3);
  background-position: right center;
  color: var(--limonit-yellow);
}


.btn-primary-hero,
.btn-secondary-hero{
  transition: all .25s cubic-bezier(.4,0,.2,1);
}

.btn-primary-hero:hover,
.btn-secondary-hero:hover{
  transform: translateY(-4px) scale(1.02);
}



/* ===============================
   UTILS
 ================================= */
.michroma-regular {
  font-family: "Michroma", sans-serif;
  font-weight: 400;
}

.italic-text {
  font-style: italic;
  font-weight: 500;
}

/* ===============================
   NAVBAR
 ================================= */
.navbar {
  position: relative;
  top: 0;
  width: 100%;
  backdrop-filter: blur(14px);
  background: transparent;
  backdrop-filter: blur(14px);
  display: flex;
  justify-content: center;
  align-items: center;
  
  z-index: 1000;
  isolation: isolate;
}
.navbar::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  backdrop-filter: blur(15px);
  z-index: -1;
}

.nav-content {
  width: 100%;
  max-width: none;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-left: 1rem;
  padding-right: 10rem;
}
.nav-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.8rem;
  align-items: center;
}

nav a {
  margin: 0;
  text-decoration: none;
  color: var(--text-main);
  transition: 0.3s;
  font-weight: 500;
}

nav a:hover {
  color: var(--limonit-green);
}

.nav-links a {
  text-decoration: none;
  color: var(--text-main);
  white-space: nowrap;
  transition: 0.3s ease;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
}

.theme-btn {
  border: none;
  background: none;
  font-size: 1.2rem;
  cursor: pointer;
  margin-left: 1.5rem;
}

/* Grupo mobile */
.navbar-right-group {
  display: none;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

/* Hamburguesa — oculto en desktop */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.4rem;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  z-index: 1100;
  flex-shrink: 0;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: var(--limonit-green);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }


/* ===============================
   MOCKUP
 ================================= */
.mockup {
  flex: 0 0 35%;
  max-width: 35%;
  margin-left: auto;
position: relative;
}

.mockup img {
  width: 100%;
  display: block;
}

.mockup-header {
  height: 50px;
  background: var(--limonit-green);
}

.mockup-body {
  padding: 1.5rem;
}


/*NUEVO*/
.mockup::before{
  content:"";
  position:absolute;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  width:450px;
  height:450px;
  background: radial-gradient(circle, rgba(224,199,7,0.35), transparent 70%);
  filter: blur(90px);
  z-index:-1;
}

/* ===============================
   BACK TO TOP
 ================================= */
#backToTop {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 8px;
  background: linear-gradient(145deg,#e0c707,#257c42);
  color: var(--text-muted);
  font-weight: 600;
  border: none;
  cursor: pointer;
  z-index: 200;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  transition: all 0.3s ease;
}

#backToTop i { font-size: 14px; }
#backToTop:hover { transform: translateY(-4px); color: var(--limonit-yellow); }

/* ===============================
   CHAT LINES (si existen)
 ================================= */
.chat-line {
  height: 14px;
  background: var(--text-muted);
  border-radius: 10px;
  margin-bottom: 1rem;
  opacity: 0.4;
}
.chat-line.short { width: 60%; }
.chat-line.long  { width: 80%; }

/* ===============================
   FOOTER
 ================================= */
.footer {
  width: 100%;
  display: flex;
  justify-content: center;
  
  
  padding: 2rem 0;
  position: relative;
 background: transparent;
  backdrop-filter: blur(14px);
}

.footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.35;
  backdrop-filter: blur(10px);
  z-index: 0;
}

.footer-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  text-align: center;
  padding: 1.5rem 1rem;
}

.footer-copy {
  font-size: 0.78rem;
  color: var(--text-muted);
}


/* ===============================
   VARIABLES DARK — PREMIUM
 ================================= */
.theme-dark {
  --bg-main: #05070a;
  --bg-hero:
    radial-gradient(circle at 75% 35%, rgba(212, 175, 55, 0.18), transparent 55%),
    linear-gradient(to right, #000000, #05070a);
  --text-main: #f5f5f5;
  --text-muted: #9ca3af;
  --limonit-green: #257c42;
  --limonit-yellow: #e0c707;
  --card-bg: #0c1117;
  --nav-bg: linear-gradient(90deg, #000000, #0a0a0a 40%, #1a1403);
}

.theme-dark .hero h1 span {
  text-shadow: 0 0 25px rgba(212, 175, 55, 0.4);
}

.theme-dark .btn-primary:hover {
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.35);
}

.theme-dark .mockup {
  border: none;
  background: transparent;
}

.theme-dark .mockup img {
  background: transparent;
  mix-blend-mode: normal;
  box-shadow: none;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.6));
}

.theme-dark .btn-primary-hero { color: #000; }
.theme-dark .btn-primary-hero:hover { color: #e0c707 !important; }

.theme-dark .btn-secondary-hero {
  border: 2px solid var(--limonit-yellow);
  color: var(--limonit-yellow);
}

/* ===============================
   BENTO GRID AND UTILS
 ================================= */
.bento-item { transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); }
.bento-item:hover { transform: translateY(-8px) !important; }

/* ===============================
   RUBRO CARDS (sección rubros)
 ================================= */
.rubro-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: default;
}
.rubro-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(32, 116, 60, 0.18) !important;
}
.rubro-label {
  font-family: 'Zalando Sans', sans-serif;
  font-size: 0.73rem;
  letter-spacing: 0.3px;
  color: var(--text-main);
  text-transform: uppercase;
}

/* ===============================
   CAROUSEL CASOS DE ÉXITO
 ================================= */
.casos-track-wrapper {
  overflow: hidden;
  width: 100%;
  position: relative;
  padding: 0.5rem 0;
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.casos-track {
  display: flex;
  gap: 1.2rem;
  width: max-content;
  animation: scrollCasos 28s linear infinite;
}

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

@keyframes scrollCasos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.caso-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: rgba(255,255,255,0.85);
  border: 1px solid rgba(32,116,60,0.1);
  border-radius: 1rem;
  padding: 1.2rem 1.8rem;
  min-width: 140px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.caso-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(32,116,60,0.15);
}

.caso-logo {
  font-size: 2.2rem;
  line-height: 1;
}

.caso-nombre {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-main);
  font-family: 'Zalando Sans', sans-serif;
  text-align: center;
  white-space: nowrap;
}


/* ===============================
   VISUALLY HIDDEN (SEO h1)
 ================================= */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}