/* ============================================
   IMPORTACIÓN DE FUENTES LOCALES
   ============================================ */
@import url("https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100..900;1,100..900&display=swap");

/* Dongle Font Family */
@font-face {
  font-family: "Dongle";
  src: url("../assets/fonts/Dongle/Dongle-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dongle";
  src: url("../assets/fonts/Dongle/Dongle-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Dongle";
  src: url("../assets/fonts/Dongle/Dongle-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Lato Font Family */
@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Thin.ttf") format("truetype");
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-ThinItalic.ttf") format("truetype");
  font-weight: 100;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-LightItalic.ttf") format("truetype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-BoldItalic.ttf") format("truetype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../assets/fonts/Lato/Lato-BlackItalic.ttf") format("truetype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

/* ============================================
   SISTEMA DE TIPOGRAFÍA RESPONSIVE - PANDAPAY
   Base Desktop: 1920px | Base Mobile: 375px
   ============================================ */

:root {
  color-scheme: light !important;
  /* Familias de fuentes */
  --font-dongle: "Dongle", sans-serif;
  --font-lato: "Lato", sans-serif;
  --font-roboto: "Roboto", sans-serif;

  /* Pesos de fuente */
  --font-thin: 100;
  --font-light: 300;
  --font-regular: 400;
  --font-bold: 700;
  --font-black: 900;

  /* ========== DONGLE BOLD - RESPONSIVE ========== */

  /* 144px @ 1920px → 66px @ 375px */
  --dongle-bold-xxxl: clamp(4.125rem, 2.063rem + 5.16vw, 9rem);
  --dongle-bold-xxxl-lh: clamp(3.625rem, 1.813rem + 4.53vw, 5.75rem);

  /* 135px @ 1920px → 63px @ 375px */
  --dongle-bold-xxl: clamp(3.938rem, 1.969rem + 4.92vw, 8.438rem);
  --dongle-bold-xxl-lh: clamp(3.313rem, 1.656rem + 4.14vw, 5.25rem);

  /* 90px @ 1920px → 44px @ 375px */
  --dongle-bold-xl: clamp(2.75rem, 1.375rem + 3.44vw, 5.625rem);

  /* 80px @ 1920px → 40px @ 375px */
  --dongle-bold-lg: clamp(2.5rem, 1.25rem + 3.13vw, 5rem);
  --dongle-bold-lg-lh: clamp(2rem, 1rem + 2.5vw, 3.938rem);

  /* 64px @ 1920px → 31px @ 375px */
  --dongle-bold-md: clamp(1.938rem, 0.969rem + 2.42vw, 4rem);
  --dongle-bold-md-lh: clamp(1.594rem, 0.797rem + 1.99vw, 3.188rem);

  /* 58px @ 1920px → 29px @ 375px */
  --dongle-bold-sm: clamp(1.813rem, 0.906rem + 2.27vw, 3.625rem);
  --dongle-bold-sm-lh: clamp(1.563rem, 0.781rem + 1.95vw, 2.5rem);

  /* 44px @ 1920px → 24px @ 375px */
  --dongle-bold-xs: clamp(1.5rem, 0.75rem + 1.88vw, 2.75rem);
  --dongle-bold-xs-lh: clamp(1.656rem, 0.828rem + 2.07vw, 3.313rem);

  /* ========== DONGLE REGULAR - RESPONSIVE ========== */

  /* 38px @ 1920px → 20px @ 375px */
  --dongle-regular-base: clamp(1.25rem, 0.625rem + 1.56vw, 2.375rem);

  /* ========== LATO BOLD - RESPONSIVE ========== */

  /* 96px @ 1920px → 47px @ 375px */
  --lato-bold-xxxl: clamp(2.938rem, 1.469rem + 3.67vw, 6rem);

  /* 84px @ 1920px → 42px @ 375px */
  --lato-bold-xxl: clamp(2.625rem, 1.313rem + 3.28vw, 5.25rem);

  /* 52px @ 1920px → 27px @ 375px */
  --lato-bold-xl: clamp(1.688rem, 0.844rem + 2.11vw, 3.25rem);
  --lato-bold-xl-lh: clamp(2.125rem, 1.063rem + 2.66vw, 4rem);

  /* 38px @ 1920px → 20px @ 375px */
  --lato-bold-lg: clamp(1.25rem, 0.625rem + 1.56vw, 2.375rem);
  --lato-bold-lg-lh: clamp(1.313rem, 0.656rem + 1.64vw, 2.625rem);

  /* 32px @ 1920px → 18px @ 375px */
  --lato-bold-md: clamp(1.125rem, 0.563rem + 1.41vw, 2rem);
  --lato-bold-md-lh: clamp(1.188rem, 0.594rem + 1.48vw, 2.375rem);

  /* 28px @ 1920px → 16px @ 375px */
  --lato-bold-sm: clamp(1rem, 0.5rem + 1.25vw, 1.75rem);

  /* ========== LATO REGULAR - RESPONSIVE ========== */

  /* 52px @ 1920px → 27px @ 375px */
  --lato-regular-xxl: clamp(1.688rem, 0.844rem + 2.11vw, 3.25rem);
  --lato-regular-xxl-lh: clamp(1.813rem, 0.906rem + 2.27vw, 3.5rem);

  /* 45px @ 1920px → 23px @ 375px */
  --lato-regular-xl: clamp(1.438rem, 0.719rem + 1.8vw, 2.813rem);
  --lato-regular-xl-lh: clamp(1.531rem, 0.766rem + 1.91vw, 3.063rem);

  /* 32px @ 1920px → 18px @ 375px */
  --lato-regular-lg: clamp(1.125rem, 0.563rem + 1.41vw, 2rem);
  --lato-regular-lg-lh: clamp(1.188rem, 0.594rem + 1.48vw, 2.375rem);

  /* 28px @ 1920px → 16px @ 375px */
  --lato-regular-md: clamp(1rem, 0.5rem + 1.25vw, 1.75rem);
  --lato-regular-md-lh: clamp(1.313rem, 0.656rem + 1.64vw, 2.625rem);

  /* 18px @ 1920px → 13px @ 375px */
  --lato-regular-sm: clamp(0.813rem, 0.406rem + 1.02vw, 1.125rem);

  /* 16px @ 1920px → 12px @ 375px */
  --lato-regular-xs: clamp(0.75rem, 0.375rem + 0.94vw, 1rem);

  /* ========== LATO ITALIC - RESPONSIVE ========== */

  /* 32px @ 1920px → 18px @ 375px */
  --lato-italic-lg: clamp(1.125rem, 0.563rem + 1.41vw, 2rem);
  --lato-italic-lg-lh: clamp(1.188rem, 0.594rem + 1.48vw, 2.375rem);

  /* 28px @ 1920px → 16px @ 375px */
  --lato-italic-md: clamp(1rem, 0.5rem + 1.25vw, 1.75rem);
  --lato-italic-md-lh: clamp(1.063rem, 0.531rem + 1.33vw, 2.125rem);

  /* 24px @ 1920px → 15px @ 375px */
  --lato-italic-sm: clamp(0.938rem, 0.469rem + 1.17vw, 1.5rem);

  /* 22px @ 1920px → 14px @ 375px */
  --lato-italic-xs: clamp(0.875rem, 0.438rem + 1.09vw, 1.375rem);
  --lato-italic-xs-lh: clamp(1rem, 0.5rem + 1.25vw, 1.75rem);

  /* 20px @ 1920px → 13px @ 375px */
  --lato-italic-xxs: clamp(0.813rem, 0.406rem + 1.02vw, 1.25rem);
  --lato-italic-xxs-lh: clamp(0.938rem, 0.469rem + 1.17vw, 1.5rem);

  /* 19px @ 1920px → 13px @ 375px */
  --lato-italic-xxxs: clamp(0.813rem, 0.406rem + 1.02vw, 1.188rem);
  --lato-italic-xxxs-lh: clamp(0.969rem, 0.484rem + 1.21vw, 1.563rem);

  /* ========== LATO LIGHT - RESPONSIVE ========== */

  /* 28px @ 1920px → 16px @ 375px */
  --lato-light-md: clamp(1rem, 0.5rem + 1.25vw, 1.75rem);
  --lato-light-md-lh: clamp(1.313rem, 0.656rem + 1.64vw, 2.625rem);

  /* 24px @ 1920px → 15px @ 375px */
  --lato-light-sm: clamp(0.938rem, 0.469rem + 1.17vw, 1.5rem);
  --lato-light-sm-lh: clamp(1.313rem, 0.656rem + 1.64vw, 2.625rem);

  /* ========== PALETA DE COLORES ========== */
  --color-green: #6db02d;
  --color-cyan: #6ebbd0;
  --color-gray: #585857;
  --color-light-green: #e2edd6;
  --color-light-cyan: #dceff4;
  --color-light-gray: #ededed;
  --color-black: #000000;
  --color-white: #ffffff;

  /* Alias semánticos */
  --color-primary: var(--color-green);
  --color-secondary: var(--color-cyan);
  --color-dark: var(--color-gray);
  --color-bg-primary: var(--color-light-green);
  --color-bg-secondary: var(--color-light-cyan);
  --color-bg-light: var(--color-light-gray);

  --navbar-padding-block: clamp(1rem, 2.5vh, 2.5rem);
  --navbar-padding-inline: clamp(1.5rem, 5vw, 3.5rem);
  --navbar-gap: clamp(0.75rem, 2vw, 2rem);

  /* Tamaños de fuente más estables */
  --font-nav-link: clamp(0.875rem, 0.8rem + 0.2vw, 1rem);
  --font-nav-button: clamp(0.875rem, 0.85rem + 0.3vw, 1.125rem);
  --font-hero-title: clamp(2.5rem, 4rem + 3vw, 6.5rem);
  --font-hero-text: clamp(1rem, 0.95rem + 0.4vw, 1.375rem);
  --font-hero-button: clamp(1.125rem, 1rem + 0.5vw, 1.875rem);
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: light !important;
  }
}

@media (prefers-color-scheme: light) {
  :root {
    color-scheme: light !important;
  }
}
/* ============================================
   APLICACIÓN DE VARIABLES
   ============================================ */
* {
  forced-color-adjust: none !important;
  -webkit-filter: none !important;
  filter: none !important;
  background-blend-mode: normal !important;
}

html,
body {
  forced-color-adjust: none !important;
  background: #ffffff !important;
  color: #000000 !important;
}

body {
  font-family: var(--font-lato);
  font-weight: var(--font-regular);
  font-size: var(--lato-regular-lg);
  line-height: var(--lato-regular-lg-lh);
}
img,
picture,
video,
svg {
  filter: none !important;
  color-scheme: light !important;
}

/* Headings con Dongle */
h1 {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-xxxl);
  line-height: var(--dongle-bold-xxxl-lh);
}

h2 {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-xxxl);
  line-height: var(--dongle-bold-xxxl-lh);
}

h3 {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-xs);
  line-height: var(--dongle-bold-xs-lh);
}

h4 {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-lg);
  line-height: var(--dongle-bold-lg-lh);
}

h5 {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-md);
  line-height: var(--dongle-bold-md-lh);
}

h6 {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-sm);
  line-height: var(--dongle-bold-sm-lh);
}

/* Clases auxiliares */
p {
  font-size: var(--lato-regular-lg);
  line-height: var(--lato-regular-lg-lh);
}

/* ============================================
   CLASES DE UTILIDAD - DONGLE
   ============================================ */

.dongle-hero {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-xxxl);
  line-height: var(--dongle-bold-xxxl-lh);
}

.dongle-display {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-xxl);
  line-height: var(--dongle-bold-xxl-lh);
}

.dongle-title-xl {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-xl);
}

.dongle-title-lg {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-lg);
  line-height: var(--dongle-bold-lg-lh);
}

.dongle-title-md {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-md);
  line-height: var(--dongle-bold-md-lh);
}

.dongle-title-sm {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-sm);
  line-height: var(--dongle-bold-sm-lh);
}

.dongle-title-xs {
  font-family: var(--font-dongle);
  font-weight: var(--font-bold);
  font-size: var(--dongle-bold-xs);
  line-height: var(--dongle-bold-xs-lh);
}

.dongle-text {
  font-family: var(--font-dongle);
  font-weight: var(--font-regular);
  font-size: var(--dongle-regular-base);
}

/* ============================================
   CLASES DE UTILIDAD - LATO
   ============================================ */

.lato-hero {
  font-family: var(--font-lato);
  font-weight: var(--font-bold);
  font-size: var(--lato-bold-xxxl);
}

.lato-display {
  font-family: var(--font-lato);
  font-weight: var(--font-bold);
  font-size: var(--lato-bold-xxl);
}

.lato-h1 {
  font-family: var(--font-lato);
  font-weight: var(--font-bold);
  font-size: var(--lato-bold-xl);
  line-height: var(--lato-bold-xl-lh);
}

.lato-h2 {
  font-family: var(--font-lato);
  font-weight: var(--font-bold);
  font-size: var(--lato-bold-lg);
  line-height: var(--lato-bold-lg-lh);
}

.lato-h3 {
  font-family: var(--font-lato);
  font-weight: var(--font-bold);
  font-size: var(--lato-bold-md);
  line-height: var(--lato-bold-md-lh);
}

.lato-h4 {
  font-family: var(--font-lato);
  font-weight: var(--font-bold);
  font-size: var(--lato-bold-sm);
}

/* Text utilities */
.text-xxl {
  font-size: var(--lato-regular-xxl);
  line-height: var(--lato-regular-xxl-lh);
}

.text-xl {
  font-size: var(--lato-regular-xl);
  line-height: var(--lato-regular-xl-lh);
}

.text-lg {
  font-size: var(--lato-regular-lg);
  line-height: var(--lato-regular-lg-lh);
}

.text-md {
  font-size: var(--lato-regular-md);
  line-height: var(--lato-regular-md-lh);
}

.text-sm {
  font-size: var(--lato-regular-sm);
}

.text-xs {
  font-size: var(--lato-regular-xs);
}

/* Italic variants */
.text-italic-lg {
  font-style: italic;
  font-size: var(--lato-italic-lg);
  line-height: var(--lato-italic-lg-lh);
}

.text-italic-md {
  font-style: italic;
  font-size: var(--lato-italic-md);
  line-height: var(--lato-italic-md-lh);
}

.text-italic-sm {
  font-style: italic;
  font-size: var(--lato-italic-sm);
}

.text-italic-xs {
  font-style: italic;
  font-size: var(--lato-italic-xs);
  line-height: var(--lato-italic-xs-lh);
}

.text-italic-xxs {
  font-style: italic;
  font-size: var(--lato-italic-xxs);
  line-height: var(--lato-italic-xxs-lh);
}

.text-italic-xxxs {
  font-style: italic;
  font-size: var(--lato-italic-xxxs);
  line-height: var(--lato-italic-xxxs-lh);
}

/* Light variants */
.text-light-md {
  font-weight: var(--font-light);
  font-size: var(--lato-light-md);
  line-height: var(--lato-light-md-lh);
}

.text-light-sm {
  font-weight: var(--font-light);
  font-size: var(--lato-light-sm);
  line-height: var(--lato-light-sm-lh);
}

/* ============================================
   RESPONSIVE OVERRIDES (Solo si es necesario)
   ============================================ */

@media (max-width: 375px) {
  body {
    font-size: 16px;
  }
}

@media (min-width: 1920px) {
  html {
    font-size: 16px;
  }
}

/* ============================================
   CLASES DE COLOR - TEXTO
   ============================================ */
.text-green {
  color: var(--color-green);
}
.text-cyan {
  color: var(--color-cyan);
}
.text-gray {
  color: var(--color-gray);
}
.text-light-green {
  color: var(--color-light-green);
}
.text-light-cyan {
  color: var(--color-light-cyan);
}
.text-light-gray {
  color: var(--color-light-gray);
}

/* Alias semánticos */
.text-primary {
  color: var(--color-primary);
}
.text-secondary {
  color: var(--color-secondary);
}
.text-dark {
  color: var(--color-dark);
}
.text-black {
  color: var(--color-black);
}

/* ============================================
   CLASES DE COLOR - FONDO
   ============================================ */
.bg-green {
  background-color: var(--color-green);
}
.bg-cyan {
  background-color: var(--color-cyan);
}
.bg-gray {
  background-color: var(--color-gray);
}
.bg-light-green {
  background-color: var(--color-light-green);
}
.bg-light-cyan {
  background-color: var(--color-light-cyan);
}
.bg-light-gray {
  background-color: var(--color-light-gray);
}

/* Alias semánticos */
.bg-primary {
  background-color: var(--color-primary);
}
.bg-secondary {
  background-color: var(--color-secondary);
}
.bg-dark {
  background-color: var(--color-dark);
}

/* ============================================
   CLASES DE COLOR - BORDE
   ============================================ */
.border-green {
  border-color: var(--color-green);
}
.border-cyan {
  border-color: var(--color-cyan);
}
.border-gray {
  border-color: var(--color-gray);
}
.border-light-green {
  border-color: var(--color-light-green);
}
.border-light-cyan {
  border-color: var(--color-light-cyan);
}
.border-light-gray {
  border-color: var(--color-light-gray);
}

/* Alias semánticos */
.border-primary {
  border-color: var(--color-primary);
}
.border-secondary {
  border-color: var(--color-secondary);
}
.border-dark {
  border-color: var(--color-dark);
}

/* ============================================
   RESET BÁSICO
   ============================================ */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  overflow-y: auto;
}

body.loading,
html.loading {
  overflow: hidden !important;
  height: 100vh !important;
}

a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

a:hover {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button:hover {
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.flex-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.flex-row {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================
   PANTALLA DE CARGA
   ============================================ */
#loading-screen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../assets/images/fondo-degrade-1.png") no-repeat center/cover;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

#loading-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

#loading-logo {
  width: 400px;
  height: auto;
  margin-bottom: 40px;
  animation: pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

#loading-spinner {
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
  opacity: 0.9;
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.05);
    opacity: 0.9;
  }
}

@keyframes spin {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

body.loading {
  overflow: hidden !important;
}

/* Responsive */
@media (max-width: 768px) {
  #loading-logo {
    width: 150px;
    margin-bottom: 30px;
  }

  #loading-spinner {
    width: 50px;
    height: 50px;
  }
}

@media (max-width: 480px) {
  #loading-logo {
    width: 120px;
    margin-bottom: 25px;
  }

  #loading-spinner {
    width: 40px;
    height: 40px;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */

.header {
  background: url("../assets/images/fondo-degrade-1.png") center/cover no-repeat;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  position: relative;
  isolation: isolate;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: var(--navbar-gap);
  padding: clamp(1rem, 3vw, 2.5rem) clamp(1rem, 4vw, 3.5rem) 0 clamp(1rem, 4vw, 3.5rem);
  width: 100%;
  max-width: 90rem;
  margin-inline: auto;
  position: relative;
  z-index: 100;
  min-width: 0;
}

.logo-navbar {
  width: clamp(8rem, 12vw + 2rem, 14rem);
  flex-shrink: 0;
}

.logo-navbar img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 220 / 60;
  object-fit: contain;
}

.contenedor-links {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: nowrap;
  border-radius: 0.5rem;
  flex-shrink: 1;
  margin: auto;
}

.contenedor-links a {
  font-family: var(--font-roboto);
  font-weight: 600;
  font-size: 0.8rem;
  padding: 0.2rem 0.85rem;
  border-radius: 0.3rem;
  white-space: nowrap;
  transition: background-color 0.2s ease;
  text-decoration: none;
  color: inherit;
}

.contenedor-links a:hover,
.contenedor-links a.active {
  background-color: var(--color-primary);
}

.contenedor-links a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

.btn-ingresar-navbar {
  flex-shrink: 0;
}

.btn-navbar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;

  font-family: var(--font-roboto);
  font-weight: 500;
  font-size: 0.8rem;
  line-height: 1.2;

  padding: 0.75rem 1.25rem;
  border-radius: clamp(0.375rem, 0.5vw, 0.625rem);

  background-color: var(--color-black);
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;

  transition: background-color 0.25s ease, transform 0.15s ease;
}

.btn-navbar:hover {
  background-color: var(--color-green);
  transform: translateY(-1px);
}

.btn-navbar:active {
  transform: translateY(0);
}

.btn-navbar:focus-visible {
  outline: 2px solid var(--color-green);
  outline-offset: 3px;
}

.contenedor-links .btn-navbar {
  display: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 0.5rem;
  background: transparent;
  border: none;
  position: relative;
  z-index: 110;
  transition: right 0.45s cubic-bezier(0.45, 0.05, 0.55, 0.95);
}

.menu-toggle span {
  width: 25px;
  height: 3px;
  border-radius: 2px;
  transition: all 0.3s ease;
  background-color: var(--color-green);
}

.menu-toggle.dark span {
  background-color: var(--color-green);
}

.menu-toggle.light span {
  background-color: #fff;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
  position: fixed;
  width: 100%;
}
/* ============================================
   HERO
   ============================================ */
.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2rem, 4vw, 4rem);
  width: 100%;
  max-width: 87.5rem;
  margin-inline: auto;
  padding-inline: var(--navbar-padding-inline);
  min-height: inherit;
}

.hero-img {
  flex: 0 0 auto;
  width: clamp(10rem, 20vw, 18rem);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-img img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

.hero-text {
  flex: 1 1 auto;
  max-width: 60%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1rem, 2vh, 2rem);
  text-align: center;
}

.hero-text .title-hero {
  font-family: var(--font-dongle);
  width: 100%;
  word-wrap: break-word;
  hyphens: auto;
}

.hero-text .title-hero * {
  font-family: inherit;
  font-size: inherit;
  line-height: 0.6;
  margin: auto;
  white-space: normal;
}

.hero-text p {
  font-size: 1.1rem;
  line-height: 1.1;
  margin: 0;
  max-width: 40rem;
}

.hero-text p em {
  font-style: italic;
}

.btn-hero {
  font-size: 1.5rem;
  font-weight: 500;
  padding: 0.5rem 1.2rem;
  border-radius: 0.5rem;

  background-color: var(--color-green);
  color: white;
  border: none;
  cursor: pointer;
  text-decoration: none;

  transition: background-color 0.3s ease, transform 0.15s ease;
  margin-top: clamp(1rem, 2vh, 2rem);
}

.btn-hero:hover {
  background-color: var(--color-black);
  transform: translateY(-2px);
}

.btn-hero:active {
  transform: translateY(0);
}

.btn-hero:focus-visible {
  outline: 3px solid var(--color-black);
  outline-offset: 3px;
}

.hero-slider {
  max-width: 90rem;
  margin: auto;
  position: relative;
  flex: 1;
  width: 100%;
  min-height: 60vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.slide {
  position: absolute;
  inset: 0;
  display: none;
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.5s ease, transform 0.6s ease;
}

.slide.active {
  display: flex;
  opacity: 1;
  transform: translateX(0);
  position: absolute; /* Solo una vez */
  z-index: 1;
}

.hero-arrow {
  position: absolute;
  background: transparent;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  color: white;
  border: none;
  border-radius: 50%;
  width: clamp(2.5rem, 5vw, 3.5rem);
  height: clamp(2.5rem, 5vw, 3.5rem);
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-family: var(--font-dongle);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
}

.hero-arrow:hover {
  color: var(--color-green);
  transform: translateY(-50%) scale(1.1);
}

.hero-arrow:active {
  transform: translateY(-50%) scale(0.95);
}

.hero-arrow:focus-visible {
  outline: 2px solid white;
  outline-offset: 3px;
}

.hero-prev {
  left: clamp(1rem, 3vw, 2rem);
}
.hero-next {
  right: clamp(1rem, 3vw, 2rem);
}

@media (max-width: 1024px) {
  .navbar {
    grid-template-columns: auto 1fr auto;
    gap: 1rem;
  }

  .contenedor-links a {
    padding: 0.4rem 0.6rem;
    font-size: 0.71rem;
  }

  .btn-navbar {
    font-size: 0.71rem;
  }

  .logo-navbar {
    width: clamp(7rem, 10vw, 120px);
  }

  .hero {
    gap: 2rem;
  }
}

/* Tablets */
@media (max-width: 900px) {

  .header {
    background-position-y: 33%;
  }

  .navbar {
    grid-template-columns: auto 1fr;
    padding: 1.5rem 1.5rem 0;
  }
  .contenedor-links .btn-navbar {
    display: block;
  }
  .contenedor-links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 85%;
    max-width: 400px;
    z-index: 99;

    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    padding: 5rem 2rem 2rem;
    gap: 0;

    background: var(--color-black);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.3);
    border-radius: 0;
  }

  .contenedor-links.active {
    transform: translateX(0);
  }

  .contenedor-links a {
    padding: 1rem 1.5rem;
    text-align: left; /* Alineado a la izquierda */
    font-size: 1.125rem;
    font-weight: 500;
    border-radius: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all 0.2s ease;
  }

  .contenedor-links a:hover,
  .contenedor-links a.active {
    background-color: rgba(109, 176, 45, 0.1);
    color: var(--color-green);
    padding-left: 2rem; /* Efecto de indentación */
  }

  .contenedor-links .btn-navbar {
    margin-top: auto; /* Lo empuja al fondo */
    margin-bottom: 1rem;
    width: calc(100% - 3rem);
    margin-left: 1.5rem;
    margin-right: 1.5rem;
    text-align: center;
    padding: 1rem;
    font-size: 1rem;
    background-color: var(--color-green);
    color: white;
    border-radius: 0.5rem;
    display: block;
  }

  .contenedor-links .btn-navbar:hover {
    background-color: var(--color-light-cyan); /* Verde más claro */
    padding-left: 1rem; /* Cancela el efecto de indentación */
  }

  .btn-ingresar-navbar {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: flex-end;
  }

  /* Hero ajustado */
  .hero {
    flex-direction: column;
    padding-block: 2rem;
    gap: 2rem;
  }

  .hero-img {
    order: -1;
    width: clamp(8rem, 30vw, 12rem);
  }

  .hero-text {
    max-width: 100%;
    justify-content: flex-end;
  }

  .btn-navbar {
    background-color: var(--color-green);
  }

  .btn-navbar:hover {
    background-color: var(--color-black);
  }
}

/* Mobile */
@media (max-width: 480px) {
  :root {
    --navbar-padding-inline: 1rem;
  }

  .header {
    background-position-y: 10% !important;
  }

  .hero-slider {
    min-height: calc(100vh - 5rem);
  }

  .slide {
    padding-inline: 1rem;
  }

  .hero {
    gap: 1.5rem;
    padding-block: 1.5rem;
  }

  .hero-img {
    width: clamp(7rem, 35vw, 10rem);
  }

  .hero-text .title-hero {
    line-height: 0.85;
  }

  .hero-text .title-hero * {
    font-size: 2.7rem !important;
  }

  .img-mobile {
    display: none;
  }

  .hero-arrow {
    width: 2.5rem;
    height: 2.5rem;
    font-size: 1.5rem;
  }

  .hero-prev {
    left: 0.5rem;
  }
  .hero-next {
    right: 0.5rem;
  }
}

/* ============================================
   FIX PARA ZOOM EXTREMO
   ============================================ */

/* Previene overflow horizontal en cualquier zoom */
.header,
.navbar,
.hero-slider,
.hero {
  overflow-x: clip;
}

/* Mantiene proporciones en zoom > 200% */
@media (min-resolution: 2dppx) {
  .logo-navbar {
    max-width: 12rem;
  }

  .contenedor-links {
    flex-wrap: wrap;
  }
}

/* ============================================
  MEDIO DE PAGO SECTION
============================================ */

.medio-pago {
  width: 100%;
  overflow: hidden;
  background: white;
  padding: 40px 0;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.medio-pago::before,
.medio-pago::after {
  content: "";
  position: absolute;
  top: 0;
  width: 100px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.medio-pago::before {
  left: 0;
  background: linear-gradient(to right, white, transparent);
}

.medio-pago::after {
  right: 0;
  background: linear-gradient(to left, white, transparent);
}

.medio-pago-track {
  display: flex;
  max-width: 90rem;
  gap: 60px;
  animation: scroll 30s linear infinite;
  width: fit-content;
}

.container-medio-pago {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 80px;
  padding: 20px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05), 0 4px 8px rgba(0, 0, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    inset 0 -1px 0 rgba(134, 90, 90, 0.05);
  position: relative;
  transition: all 0.3s ease;
}

.container-medio-pago::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.8),
    rgba(0, 0, 0, 0.02)
  );
  border-radius: 12px;
  pointer-events: none;
}

.container-medio-pago:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08), 0 8px 16px rgba(0, 0, 0, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.9), inset 0 -1px 0 rgba(0, 0, 0, 0.05);
}

.container-medio-pago img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  transition: all 0.3s ease;
  position: relative;
  z-index: 1;
}

.container-medio-pago:hover img {
  opacity: 1;
  transform: scale(1.05);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .medio-pago {
    padding: 30px 0;
  }

  .medio-pago-track {
    gap: 40px;
  }

  .container-medio-pago {
    width: 140px;
    height: 80px;
    padding: 15px;
  }

  .medio-pago::before,
  .medio-pago::after {
    width: 50px;
  }
}

@media (max-width: 480px) {
  .medio-pago {
    padding: 20px 0;
  }

  .medio-pago-track {
    gap: 30px;
  }

  .container-medio-pago {
    width: 120px;
    height: 70px;
    padding: 10px;
  }

  .medio-pago::before,
  .medio-pago::after {
    width: 30px;
  }
}

/* ============================================
 CONOCENOS SECTION
============================================ */
.conocenos {
  width: 100%;
  max-width: 90rem;
  padding: 40px 60px;
  gap: 60px;
  position: relative;
  align-items: stretch;
  justify-content: center;
  margin: auto;
}

.container-conocenos {
  flex: 1 1 600px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.texto-wrapper-conocenos,
.video-wrapper {
  flex: 1;
  max-height: 500px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panda-wrapper {
  position: relative;
  width: 300px;
  z-index: 2;
}

.panda-wrapper img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  top: 0;
  z-index: 2;
}

.texto-wrapper-conocenos {
  padding: 150px 40px;
  margin-top: -55px;
  z-index: 1;
  position: relative;
  text-align: center;
  border-radius: 60px;
}

.video-wrapper {
  position: relative;
  width: 100%;
  border-radius: 60px;
  overflow: hidden;
  display: flex;
  height: 100%;
}

.video-wrapper img.gif-display {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  border-radius: 60px;
}

/* @media (max-width: 768px) {
  .conocenos {
    flex-direction: column;
    padding: 0 15px;
    gap: 10px;
  }

  .container-conocenos.video {
    justify-content: center !important;
  }

  .video-wrapper {
    max-height: 400px;
  }
}

@media (max-width: 425px) {
  .conocenos {
    padding: 20px 15px;
  }
} */

@media (max-width: 768px) {
  .conocenos {
    flex-direction: column;
    padding: 0 15px;
    gap: 20px; /* Incrementamos el gap para separar los contenedores */
  }

  .container-conocenos {
    /* Aseguramos que los contenedores hijos ocupen el 100% en ancho */
    width: 100%;
    /* Quitamos el flex-basis para que el tamaño sea determinado por el contenido o width: 100% */
    flex: 0 0 auto;
  }

  /* ⚠️ AJUSTE CRÍTICO para el Panda y el Texto */
  .texto-wrapper-conocenos {
    /* Reducimos drásticamente el padding excesivo para móvil */
    padding: 40px 20px;
    /* Eliminamos o reducimos el margen negativo que puede causar problemas */
    margin-top: -30px;
    /* El contenedor de texto ya es full-width por el 100% de su padre */
    border-radius: 40px; /* Opcional: ajustar el radio si se ve mejor */
  }
  .video-wrapper img.gif-display {
    border-radius: 40px;
  }
  .panda-wrapper {
    /* Reducimos el tamaño fijo para que el panda no sea tan dominante en pantallas pequeñas */
    width: 200px;
    /* Centramos el panda */
    margin: 0 auto;
    top: 10px;
    /* Ajustamos el z-index si hay superposición con otros elementos */
    z-index: 2;
  }

  .video-wrapper {
    max-height: 300px; /* Reducción opcional a 300px para pantallas muy cortas */
    border-radius: 40px;
  }
}

/* Mantenemos el ajuste para la pantalla más pequeña */
@media (max-width: 425px) {
  .conocenos {
    padding: 20px 15px;
  }
  /* Si el video debe ser más pequeño aún */
  .video-wrapper {
    max-height: 250px;
  }
}

/* ============================================
 SOLUCIONES SECTION
============================================ */
.soluciones {
  max-width: 90rem;
  width: 100%;
  margin: auto;
  justify-content: center;
  align-items: center;
  padding: clamp(40px, 6vw, 80px) clamp(20px, 4vw, 60px);
}

.soluciones h2 {
  text-align: center;
  margin-bottom: clamp(8px, 1vw, 10px);
  /* font-size: clamp(45px, 7vw, 135px); */
  line-height: clamp(40px, 6vw, 105px);
}

.soluciones > p {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 80px);
  font-size: clamp(18px, 2.2vw, 38px);
  line-height: clamp(24px, 2.8vw, 42px);
  max-width: 90%;
}

.contenedor-soluciones {
  width: 100%;
  flex-wrap: wrap;
  padding: clamp(20px, 3vw, 40px) clamp(20px, 4vw, 60px);
  gap: clamp(40px, 8vw, 130px);
  align-items: flex-start;
  justify-content: center;
  margin-bottom: clamp(40px, 6vw, 80px);
}

.item-soluciones {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: clamp(15px, 2vw, 20px);
  max-width: 280px;
  flex: 1 1 200px;
}

.item-soluciones img {
  max-width: clamp(80px, 10vw, 120px);
  width: 100%;
  height: auto;
  object-fit: contain;
}

.item-soluciones p {
  font-size: clamp(16px, 2vw, 20px);
  color: var(--color-gray);
  margin-bottom: 0;
  line-height: clamp(22px, 2.5vw, 25px);
}

.contenedor-boton-soluciones {
  padding: clamp(8px, 1.5vw, 10px) clamp(20px, 3vw, 30px);
  border: 2px solid var(--color-cyan);
  border-radius: clamp(15px, 2vw, 20px);
  max-width: 90%;
  text-align: center;
}

.contenedor-boton-soluciones h6 {
  font-size: clamp(24px, 3.5vw, 58px);
  line-height: clamp(28px, 3.8vw, 40px);
  margin: 0;
}

@media (max-width: 1200px) {
  .contenedor-soluciones {
    gap: 60px;
    flex-wrap: nowrap;
  }

  .item-soluciones p {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
  .contenedor-soluciones {
    gap: 40px;
    padding: 20px;
  }

  .item-soluciones {
    max-width: 100%;
    flex: 1 1 45%;
    min-width: 150px;
  }
}

@media (max-width: 480px) {
  .soluciones {
    padding: 40px 15px;
  }

  .contenedor-soluciones {
    gap: 30px;
    flex-direction: column;
    align-items: center;
  }

  .contenedor-boton-soluciones h6 {
    font-size: 27px;
    line-height: 25px;
  }

  .item-soluciones {
    max-width: 100%;
    flex: 1 1 100%;
  }

  .contenedor-boton-soluciones {
    max-width: 100%;
  }
}

/* ============================================
           TERMINALES SECTION
============================================ */
.section-terminales {
  width: 100%;
  background-color: var(--color-light-gray);
}

.terminales {
  width: 100%;
  max-width: 90rem;
  margin: auto;
  padding: 80px 60px;
  position: relative;
}

.terminales-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.terminales-title h2 {
  color: var(--color-black);
  margin: 0;
  line-height: 70px;
}

.terminales-title h2 span {
  color: var(--color-green);
}

.terminales-controls {
  display: flex;
  gap: 15px;
}

.carousel-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.carousel-btn:hover {
  background-color: var(--color-green);
  transform: scale(1.1);
}

.carousel-btn svg {
  width: 40px;
  height: 40px;
  fill: var(--color-cyan);
}

.carousel-btn svg:hover {
  fill: var(--color-black);
}

.terminales-content {
  display: flex;
  gap: 40px;
  align-items: stretch;
  max-height: max-content;
}

.terminales-info-card {
  flex: 3;
  background-color: white;
  border-radius: 40px;
  padding: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.terminales-info-text h3 {
  font-family: var(--font-lato);
  line-height: 45px;
  color: var(--color-black);
  margin-bottom: 30px;
}

.terminales-info-text p {
  font-family: var(--font-lato);
  font-size: 20px;
  line-height: 28px;
  color: var(--color-gray);
}

.panda-character {
  text-align: center;
  margin-top: auto;
}

.panda-character img {
  width: auto;
  height: 300px;
}

.terminal-card {
  flex: 1;
  background-image: url("../assets/images/fondo-degrade-2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  border-radius: 40px;
  padding: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
}

.terminal-icon {
  width: 120px;
  height: 120px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 80px;
}

.terminal-icon img {
  width: 90px;
  height: auto;
}

.terminal-card h4 {
  font-family: var(--font-dongle);
  font-weight: 700;
  font-size: 64px;
  line-height: 51px;
  color: var(--color-black);
  margin-bottom: 15px;
}

.terminal-card p {
  font-family: var(--font-lato);
  font-weight: 500;
  font-size: 26px;
  line-height: 30px;
  color: var(--color-black);
}

.carousel-container {
  position: relative;
  overflow: hidden;
}

.carousel-track {
  display: flex;
  transition: transform 0.5s ease;
}

.carousel-item {
  min-width: 100%;
  display: flex;
  gap: 40px;
}

@media (max-width: 1440px) {
  .terminales-content {
    gap: 30px;
  }
  .terminales-info-card,
  .terminal-card {
    padding: 40px;
  }
  .panda-character img {
    height: 250px;
  }
}

@media (max-width: 1024px) {
  .terminales {
    padding: 60px 40px;
  }
  .terminales-title h2 {
    line-height: 60px;
  }
  .terminal-card h4 {
    font-size: 48px;
  }
  .terminal-card p {
    font-size: 20px;
    line-height: 26px;
  }
}

@media (max-width: 768px) {
  .terminales-content {
    flex-direction: column;
  }
  .terminal-card {
    padding: 40px 30px;
  }
  .terminal-icon {
    margin-bottom: 40px;
  }
  .terminal-icon img {
    width: 70px;
  }
}

@media (max-width: 480px) {
  .terminales {
    padding: 30px 15px;
  }
  .terminales-header {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-bottom: 30px;
  }
  .terminales-title h2 {
    line-height: 40px;
    margin-bottom: 20px;
    text-align: center;
  }
  .terminales-info-card,
  .terminal-card {
    padding: 25px;
    border-radius: 20px;
    flex-direction: column;
  }

  .terminales-info-text h3 {
    line-height: 25px;
  }
  .terminal-card h4 {
    font-size: 32px;
  }
}

/* ============================================
           TESTIMONIOS SECTION 
============================================ */

.testimonios {
  width: 100%;
  max-width: 90rem;
  margin: auto;
  background-color: white;
  padding: 80px 0;
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.testimonios-header {
  text-align: center;
  margin-bottom: 60px;
  max-width: 1400px;
}
.testimonios-header h2 {
  font-family: var(--font-dongle);
  font-weight: 700;
  line-height: 84px;
  color: var(--color-black);
  margin-bottom: 20px;
}
.testimonios-header h2 span {
  color: var(--color-green);
}
.testimonios-header p {
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  color: var(--color-black);
}
.testimonios-carousel {
  position: relative;
  /* max-width: 1400px; */
  width: 100%;
  max-width: none;
  margin: 0 auto;
}
.testimonios-track-container {
  overflow: hidden;
  position: relative;
  padding: 60px 0;
}
.testimonios-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 40px;
}
.testimonial-card {
  width: 400px;
  height: 500px;
  background-color: var(--color-light-cyan);
  border-radius: 50px;
  padding: 40px 35px;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;

  align-items: flex-start;
  justify-content: center;
  display: flex;
  flex-direction: column;
}
.testimonial-card.active {
  background-color: var(--color-green);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.25);
  height: 550px;
  opacity: 1;
}
.quote-icon {
  font-family: var(--font-lato);
  font-size: 84px;
  letter-spacing: -6px;
  color: var(--color-cyan);
  margin-top: 30px;
  line-height: 40px;
}
.testimonial-card.active .quote-icon {
  color: white;
  font-size: 96px;
}
.testimonial-text {
  font-family: var(--font-lato);
  font-size: 1.3rem;
  line-height: 2rem;
  color: var(--color-gray);
  flex-grow: 1;
  display: flex;
  align-items: center;
}
.testimonial-card.active .testimonial-text {
  font-size: 1.5rem;
  line-height: 2rem;
}
.testimonial-author {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  padding-top: 20px;
  flex-shrink: 0;
}
.author-divider {
  width: 2px;
  height: 50px;
  background-color: var(--color-green);
  flex-shrink: 0;
  align-self: center;
}
.testimonial-card.active .author-divider {
  background-color: white;
}
.author-info h4 {
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: 19px;
  line-height: 25px;
  color: var(--color-gray);
}
.testimonial-card.active .author-info h4 {
  font-size: 22px;
  line-height: 28px;
}
.author-info p {
  font-family: var(--font-lato);
  font-size: 19px;
  line-height: 25px;
  color: var(--color-gray);
  font-style: italic;
}
.testimonial-card.active .author-info p {
  font-size: 22px;
  line-height: 28px;
}
.testimonios-controls {
  display: flex;
  justify-content: space-between;
  position: absolute;
  top: 50%;
  left: -20px;
  right: -20px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 20;

  width: 95%;
  justify-self: center;
}
.testimonios-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  pointer-events: all;
}
.testimonios-btn:hover {
  background-color: var(--color-green);
  transform: scale(1.15);
}
.testimonios-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background-color: var(--color-gray);
}
.testimonios-btn:disabled:hover {
  transform: none;
  background-color: var(--color-gray);
}
.testimonios-btn svg {
  width: 40px;
  height: 40px;
  fill: var(--color-cyan);
}
.testimonios-btn svg:hover {
  fill: var(--color-black);
}

@media (max-width: 1024px) {
  .testimonial-card {
    width: 300px;
    height: 400px;
    /* transform: scale(0.9); */
  }

  .testimonios-track {
    gap: 20px;
  }

  .testimonios-btn {
    width: 50px;
    height: 50px;
  }

  .testimonial-card.active {
    /* transform: scale(1.05); */
    height: 470px;
  }

  .testimonial-card.active .quote-icon {
    color: white;
    font-size: 85px;
  }

  .testimonios-controls {
    left: -30px;
    right: -30px;
  }

  .testimonial-text {
    font-size: 1.1rem;
    line-height: 1.4;
  }

  .testimonial-card.active .testimonial-text {
    font-size: 1.13rem;
    line-height: 1.3;
  }

  .quote-icon {
    font-size: 70px;
    margin-top: 0;
  }

  .author-info h4,
  .author-info p {
    font-size: 14px;
    line-height: 22px;
  }

  .testimonial-card.active .author-info h4 {
    font-size: 16px;
    line-height: 22px;
  }

  .testimonial-card.active .author-info p {
    font-size: 16px;
    line-height: 22px;
  }
  .testimonial-author {
    padding-top: 10px;
  }
  .author-divider {
    height: 40px;
  }

  .testimonial-card.active .author-divider {
    height: 40px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .testimonios-track-container {
    padding: 40px 0;
  }

  .testimonios-track {
    justify-content: flex-start;
    gap: 20px;
  }

  .testimonial-card {
    width: 80vw;
    max-width: 380px;
    height: auto;
    min-height: 300px;
    opacity: 0.7;
  }

  .testimonial-card.active {
    height: 400px;
    opacity: 1;
  }

  .testimonios-controls {
    position: static; /* Cambiamos a posicionamiento normal */
    transform: none;
    margin-top: 20px;
    justify-content: center;
    pointer-events: all;
    gap: 15px;
  }

  .testimonios-carousel {
    margin-left: -30px;
    margin-right: -30px;
  }

  .testimonios-header {
    width: 90%;
  }

  .testimonios-header h2 {
    line-height: 0.7;
  }
  .testimonios-header p {
    font-size: 25px;
  }
}

@media (max-width: 480px) {
  .testimonial-card {
    width: 90vw;
    max-width: 320px;
    padding: 25px 20px;
    min-height: 280px;
  }

  .testimonial-card.active {
    padding: 30px 25px;
  }

  .testimonial-text {
    font-size: 16px;
    line-height: 22px;
  }

  .testimonial-card.active {
    box-shadow: none;
  }

  .testimonial-card.active .testimonial-text {
    font-size: 18px;
    line-height: 24px;
  }

  .author-info h4 {
    font-size: 16px;
  }

  .author-info p {
    font-size: 14px;
  }
}

/* ============================================
           QUIENES SOMOS SECTION
============================================ */
.section-quienes-somos {
  width: 100%;
  background-color: var(--color-light-gray);
}

.quienes-somos {
  width: 100%;
  max-width: 90rem;
  margin: auto;
  padding: 80px 60px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.quienes-somos-content {
  flex: 1;
  max-width: 700px;
}

.quienes-somos-content h2 {
  color: var(--color-black);
  margin-bottom: 30px;
}

.quienes-somos-content h2 span {
  color: var(--color-green);
}

.quienes-somos-content > p {
  font-family: var(--font-lato);
  font-size: 32px;
  line-height: 38px;
  color: var(--color-black);
  margin-bottom: 30px;
}

.quienes-somos-destacado {
  padding: 20px;
  border: 2px solid var(--color-cyan);
  border-radius: 20px;
  background-color: transparent;
  max-width: 100%;
  margin-top: 65px;
}

.quienes-somos-destacado p {
  font-family: var(--font-dongle);
  font-weight: 700;
  font-size: 43px;
  line-height: 30px;
  color: var(--color-cyan);
  margin: 0;
}

.quienes-somos-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.quienes-somos-visual img {
  width: 100%;
  max-width: 700px;
  height: auto;
  display: block;
}

@media (max-width: 1024px) {
  .quienes-somos {
    padding: 60px 40px;
    gap: 50px;
  }

  .quienes-somos-content h2 {
    line-height: 50px;
  }

  .quienes-somos-content > p {
    font-size: 18px;
    line-height: 26px;
  }

  .quienes-somos-destacado p {
    font-size: 30px;
    line-height: 22px;
  }

  .quienes-somos-visual img {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .quienes-somos {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }

  .quienes-somos-content {
    max-width: 100%;
  }

  .quienes-somos-destacado {
    padding: 20px 25px;
  }

  .quienes-somos-destacado p {
    font-size: clamp(24px, 3.5vw, 58px);
    line-height: clamp(28px, 3.8vw, 40px);
  }

  .quienes-somos-visual {
    width: 100%;
  }

  .quienes-somos-visual img {
    max-width: 400px;
  }
}

@media (max-width: 480px) {
  .quienes-somos-destacado p {
    line-height: 20px;
    font-size: 27px;
    text-align: center;
  }

  .quienes-somos-visual img {
    max-width: 300px;
  }
}

/* ============================================
           COMISIONES SECTION
============================================ */

.comisiones {
  width: 100%;
  max-width: 90rem;
  margin: 0 auto;
  padding: 80px 60px;
  display: flex;
  gap: 200px;
  align-items: stretch;
}

.comisiones-card-main {
  max-width: 31.25rem;
  background-image: url("../assets/images/fondo-degrade-2.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom;
  border-radius: 40px;
  padding: 40px;
  position: relative;
  overflow: visible;
  max-height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.comisiones-text h2 {
  font-weight: 900;
  color: var(--color-black);
  margin-bottom: 20px;
  font-size: var(--dongle-bold-xxl);
  line-height: 0.6;
}

.comisiones-text h2 .white-text {
  color: white;
}

.comisiones-text p {
  font-size: 1.5rem;
  line-height: 1.2;
  color: var(--color-black);
  font-weight: 400;
}

.panda-image {
  position: absolute;
  right: -155px;
  bottom: -70px;
  width: 250px;
  height: auto;
  z-index: 2;
}

.panda-image img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
}

.comisiones-benefits {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.benefit-card {
  max-width: 100%;
  background-color: var(--color-light-cyan);
  border-radius: 30px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  transition: all 0.3s ease;
}

.benefit-icon {
  width: 80px;
  height: 80px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.benefit-icon svg {
  width: 45px;
  height: 45px;
}

.benefit-content h3 {
  font-family: var(--font-lato);
  font-size: var(--lato-bold-lg);
  line-height: var(--lato-bold-lg-lh);
  color: var(--color-black);
  font-weight: 700;
  margin-bottom: 10px;
}

.benefit-content p {
  font-size: var(--lato-italic-xxs);
  color: var(--color-green);
  font-style: italic;
  margin: 0;
}

@media (max-width: 1024px) {
  .comisiones {
    gap: 120px;
    padding: 50px 30px;
  }

  .comisiones-card-main {
    max-width: 400px;
    padding: 40px;
  }

  .comisiones-text h2 {
    line-height: 55px;
  }

  .panda-image {
    right: -125px;
    bottom: -60px;
    width: 200px;
  }

  .benefit-card {
    padding: 30px;
    gap: 25px;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
  }

  .benefit-icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 900px) {
  .comisiones {
    flex-direction: column;
    gap: 50px;
    padding: 50px 30px;
    align-items: center;
  }

  .comisiones-card-main {
    max-width: 100%;
    width: 85%;
    padding: 40px;
    border-radius: 30px;
    align-self: self-start;
  }

  .comisiones-text h2 {
    line-height: 55px;
  }

  .panda-image {
    right: -111px;
    bottom: -55px;
    width: 190px;
  }

  .comisiones-benefits {
    width: 100%;
    gap: 25px;
  }

  .benefit-card {
    padding: 30px;
    border-radius: 25px;
    gap: 20px;
  }

  .benefit-icon {
    width: 70px;
    height: 70px;
  }

  .benefit-icon svg {
    width: 40px;
    height: 40px;
  }
}

@media (max-width: 768px) {
  .comisiones {
    padding: 45px 25px;
    gap: 40px;
  }

  .comisiones-card-main {
    padding: 35px;
  }

  .comisiones-text h2 {
    line-height: 50px;
  }

  .panda-image {
    /* right: -60px; */
    bottom: -50px;
    width: 180px;
  }

  .benefit-card {
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .comisiones {
    padding: 40px 20px;
    gap: 40px;
  }

  .comisiones-card-main {
    padding: 30px;
    border-radius: 25px;
    padding-bottom: 120px;
    max-width: 100%;
    width: 100%;
  }

  .comisiones-text h2 {
    line-height: 40px;
    margin-bottom: 15px;
  }

  .panda-image {
    display: none;
  }

  .benefit-card {
    padding: 25px;
    border-radius: 20px;
    gap: 20px;
  }

  .benefit-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
  }

  .benefit-icon svg {
    width: 35px;
    height: 35px;
  }

  .benefit-icon img {
    width: 35px;
    height: 35px;
  }
}

@media (max-width: 480px) {
  .comisiones {
    padding: 30px 15px;
    gap: 30px;
  }
  .comisiones-card-main {
    padding: 25px;
    border-radius: 20px;
  }

  .comisiones-text h2 {
    /* line-height: 35px; */
    margin-bottom: 12px;
  }

  .panda-image {
    width: 140px;
    bottom: -30px;
  }

  .benefit-card {
    padding: 20px;
    gap: 15px;
  }

  .benefit-icon {
    width: 55px;
    height: 55px;
  }

  .benefit-icon svg,
  .benefit-icon img {
    width: 30px;
    height: 30px;
  }

  .benefit-content h3 {
    margin-bottom: 8px;
  }
}
/* ============================================
           CONTACTO SECTION
============================================ */

.contacto {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px;
}

.contacto-header {
  text-align: center;
  margin-bottom: 80px;
}

.contacto-header h2 {
  font-weight: 900;
  color: var(--color-black);
  text-transform: uppercase;
}

.contacto-header h2 .green-text {
  color: var(--color-green);
}

.contacto-content {
  display: flex;
  gap: 80px;
  align-items: stretch;
}

.contacto-info {
  flex: 1;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.contacto-info h3 {
  font-family: var(--font-lato);
  font-size: var(--lato-bold-lg);
  font-weight: 700;
  color: var(--color-black);
  margin-bottom: 30px;
}

.contacto-info > p {
  font-size: var(--lato-regular-lg);
  line-height: var(--lato-regular-lg-lh);
  line-height: 1.5;
  margin-bottom: 60px;
}

.contacto-detalles {
  margin-bottom: 40px;
}

.contacto-detalles p {
  font-size: var(--lato-italic-md);
  line-height: var(--lato-italic-md-lh);
  color: var(--color-black);
  font-style: italic;
}

.contacto-detalles p strong {
  font-weight: 700;
  font-style: normal;
}

.social-icons {
  display: flex;
  gap: 20px;
  align-items: center;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-icons a:hover {
  background-color: var(--color-green);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(109, 176, 45, 0.3);
}

.social-icons a svg,
.social-icons a img {
  width: 32px;
  height: 32px;
}

.contacto-form-wrapper {
  flex: 1;
  background-color: var(--color-light-green);
  border-radius: 40px;
  padding: 50px;
}

.contacto-form {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.form-row {
  display: flex;
  gap: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-group.full-width {
  width: 100%;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 25px;
  font-size: var(--lato-italic-md);
  font-family: var(--font-lato);
  font-style: italic;
  color: var(--color-gray);
  background-color: transparent;
  border: 2px solid var(--color-green);
  border-radius: 15px;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-gray);
  font-style: italic;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-cyan);
  background-color: white;
  box-shadow: 0 4px 15px rgba(110, 187, 208, 0.2);
}

.form-group textarea {
  min-height: 200px;
  resize: vertical;
}

.form-submit {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.form-submit button {
  width: 100%;
  padding: 15px 60px;
  font-size: 22px;
  font-weight: 700;
  font-family: var(--font-lato);
  color: white;
  background-color: var(--color-green);
  border: none;
  border-radius: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.form-submit button:hover {
  background-color: var(--color-black);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.form-error {
  border-color: #ff4d4d !important;
  box-shadow: 0 0 5px rgba(255, 77, 77, 0.5) !important;
}

.form-error::placeholder {
  color: #ff4d4d;
  opacity: 1;
}

@media (max-width: 1440px) {
  .contacto {
    padding: 70px 50px;
  }

  .contacto-content {
    gap: 60px;
  }

  .contacto-form-wrapper {
    padding: 45px;
  }
}

@media (max-width: 1024px) {
  .contacto {
    padding: 60px 40px;
  }

  .contacto-content {
    gap: 50px;
  }

  .contacto-form-wrapper {
    padding: 40px;
  }

  .social-icons a {
    width: 50px;
    height: 50px;
  }

  .social-icons a img {
    width: 28px;
    height: 28px;
  }

  .form-group input,
  .form-group textarea {
    padding: 15px 20px;
  }

  .form-submit button {
    padding: 16px 50px;
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .contacto {
    padding: 50px 30px;
  }

  .contacto-header {
    margin-bottom: 50px;
  }

  .contacto-content {
    flex-direction: column;
    gap: 40px;
  }

  .contacto-info {
    max-width: 100%;
    text-align: center;
    align-items: center;
  }

  .contacto-detalles {
    margin-bottom: 30px;
  }

  .social-icons {
    justify-content: center;
  }

  .contacto-form-wrapper {
    padding: 35px;
    border-radius: 30px;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .form-submit button {
    padding: 15px 40px;
  }
}

@media (max-width: 480px) {
  .contacto {
    padding: 40px 20px;
  }

  .contacto-header {
    margin-bottom: 40px;
  }

  .contacto-content {
    gap: 30px;
  }

  .contacto-header h2 {
    line-height: 40px;
  }

  .contacto-form-wrapper {
    padding: 25px 20px;
    border-radius: 20px;
  }

  .form-group input,
  .form-group textarea {
    padding: 12px 16px;
  }

  .form-submit button {
    width: 100%;
    padding: 14px 0;
    font-size: 18px;
  }

  .social-icons a {
    width: 45px;
    height: 45px;
  }

  .social-icons a img {
    width: 24px;
  }
}

@media (max-width: 375px) {
  .contacto {
    padding: 30px 15px;
  }

  .contacto-form-wrapper {
    padding: 20px 15px;
  }

  .form-group input,
  .form-group textarea {
    padding: 10px 14px;
  }

  .form-submit button {
    font-size: 16px;
  }
}

/* ============================================
          DISTRIBUCION SECTION
============================================ */

.section-distribucion {
  width: 100%;
  background-color: var(--color-cyan);
}

.distribucion {
  max-width: 90rem;
  width: 100%;
  margin: auto;
  padding: 80px 60px;
  display: flex;
  gap: 40px;
  align-items: stretch;
}

.distribucion-card {
  flex: 1;
  background-color: var(--color-light-cyan);
  border-radius: 40px;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.distribucion-card h3 {
  font-size: var(--dongle-bold-md);
  font-weight: 900;
  line-height: var(--dongle-bold-md-lh);
  color: var(--color-black);
  text-align: center;
}

.distribucion-card h3 span {
  color: var(--color-green);
  display: block;
}

.email-form {
  display: flex;
  width: 80%;
  gap: 0;
  background-color: white;
  border-radius: 20px;
  overflow: hidden;
}

.email-form input {
  flex: 1;
  padding: 20px 30px;
  font-size: var(--lato-italic-sm);
  font-family: var(--font-lato);
  font-style: italic;
  color: var(--color-gray);
  border: none;
  outline: none;
  background-color: transparent;
}

.email-form input::placeholder {
  color: var(--color-gray);
  font-style: italic;
}

.email-form button {
  padding: 20px 40px;
  font-size: var(--lato-regular-sm);
  font-weight: 700;
  font-family: var(--font-lato);
  color: white;
  background-color: var(--color-green);
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.email-form button:hover {
  background-color: var(--color-black);
}

.tarjetas-card {
  flex: 1;
  background-color: var(--color-light-green);
  border-radius: 40px;
  padding: 60px 50px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 25px;
}

.tarjetas-card h4 {
  font-size: var(--dongle-bold-md);
  line-height: var(--dongle-bold-md-lh);
  font-weight: 900;
  color: var(--color-black);
}

.tarjetas-card h4 span {
  color: var(--color-green);
  display: block;
}

.tarjetas-card p {
  font-size: var(--lato-regular-sm);
  color: var(--color-black);
  font-weight: 400;
}

.btn-contacto {
  padding: 10px 25px;
  font-size: var(--dongle-regular-base);
  font-weight: 400;
  font-family: var(--font-dongle);
  color: white;
  background-color: var(--color-green);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.btn-contacto:hover {
  background-color: var(--color-black);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

@media (max-width: 1440px) {
  .distribucion {
    padding: 70px 50px;
    gap: 30px;
  }

  .distribucion-card,
  .tarjetas-card {
    padding: 50px 40px;
    border-radius: 35px;
  }

  .email-form {
    width: 85%;
  }
}

@media (max-width: 1024px) {
  .distribucion {
    padding: 60px 40px;
    gap: 30px;
  }

  .distribucion-card,
  .tarjetas-card {
    padding: 45px 35px;
    border-radius: 30px;
  }

  .email-form input {
    padding: 10px 25px;
  }

  .email-form button {
    padding: 18px;
  }

  .btn-contacto {
    padding: 10px 25px;
  }
}

@media (max-width: 768px) {
  .distribucion {
    flex-direction: column;
    padding: 50px 30px;
    gap: 40px;
  }

  .distribucion-card,
  .tarjetas-card {
    width: 100%;
    max-width: 100%;
    padding: 40px 30px;
    border-radius: 25px;
  }

  .email-form input {
    padding: 16px 20px;
    border-bottom: 1px solid var(--color-light-gray);
  }

  .email-form button {
    width: 20%;
    padding: 16px 0;
  }

  .tarjetas-card p {
    margin-bottom: 10px;
  }

  .btn-contacto {
    padding: 8px 30px;
    border-radius: 15px;
  }
}

@media (max-width: 480px) {
  .distribucion {
    padding: 40px 20px;
  }

  .distribucion-card,
  .tarjetas-card {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .email-form {
    width: 100%;
  }

  .email-form input {
    padding: 14px 18px;
  }

  .email-form button {
    padding: 14px 0;
    font-size: var(--lato-regular-sm);
  }

  .btn-contacto {
    width: 100%;
    padding: 10px 0;
  }
}

@media (max-width: 375px) {
  .distribucion {
    padding: 30px 15px;
  }

  .distribucion-card,
  .tarjetas-card {
    padding: 25px 15px;
  }

  .email-form {
    border-radius: 15px;
  }

  .email-form input {
    padding: 12px 15px;
  }

  .email-form button {
    font-size: 16px;
  }

  .btn-contacto {
    font-size: var(--dongle-regular-base);
    border-radius: 15px;
  }
}

/* ============================================
           BLOG SECTION
============================================ */
.blog {
  max-width: 90rem;
  margin: auto;
  width: 100%;
  background-color: white;
  padding: 80px 60px;
}

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
  flex-wrap: wrap;
  gap: 20px;
}

.blog-header h2 {
  color: var(--color-black);
  margin: 0;
}

.blog-header h2 span {
  color: var(--color-green);
}

.blog-controls {
  display: flex;
  gap: 15px;
}

.blog-btn {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--color-black);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.blog-btn:hover {
  background-color: var(--color-green);
  transform: scale(1.1);
}

.blog-btn svg {
  width: 40px;
  height: 40px;
  fill: var(--color-cyan);
}

.blog-carousel {
  position: relative;
  overflow: hidden;
}

.blog-track {
  display: flex;
  transition: transform 0.5s ease;
}

.blog-item {
  min-width: 100%;
  display: flex;
  gap: 40px;
  align-items: center;
  justify-content: center;
}

.blog-card {
  display: flex;
  gap: 50px;
  align-items: stretch;
  border-radius: 41px;
  padding: 0;
  overflow: hidden;
  border: 2px solid var(--color-cyan);
  background-color: white;
}

.blog-image {
  flex: 1;
  min-width: 45%;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.blog-content {
  flex: 1;
  padding: 60px 60px 60px 0;
}

.blog-content h4 {
  font-family: var(--font-lato);
  font-weight: 700;
  font-size: var(--lato-bold-xl);
  line-height: var(--lato-bold-xl-lh);
  color: var(--color-black);
  margin-bottom: 30px;
}

.blog-content p {
  font-family: var(--font-lato);
  font-size: var(--lato-regular-lg);
  line-height: var(--lato-regular-lg-lh);
}

@media (max-width: 1024px) {
  .blog {
    padding: 60px 40px;
  }

  .blog-header {
    margin-bottom: 50px;
  }

  .blog-card {
    gap: 30px;
  }

  .blog-content {
    padding: 40px 40px 40px 0;
  }

  .blog-content h4 {
    margin-bottom: 20px;
  }
}

@media (max-width: 768px) {
  .blog {
    padding: 50px 30px;
  }

  .blog-header {
    flex-direction: column;
    align-items: center;
    gap: 25px;
    text-align: center;
  }

  .blog-card {
    flex-direction: column;
    gap: 0;
    border-radius: 30px;
  }

  .blog-image {
    width: 100%;
    min-width: 100%;
  }

  .blog-content {
    padding: 30px;
    text-align: center;
  }

  .blog-content h4 {
    margin-bottom: 15px;
  }
}

@media (max-width: 480px) {
  .blog {
    padding: 40px 20px;
  }

  .blog-header h2 {
    line-height: 40px;
  }

  .blog-header {
    margin-bottom: 40px;
  }

  .blog-btn {
    width: 50px;
    height: 50px;
  }

  .blog-btn svg {
    width: 28px;
    height: 28px;
  }

  .blog-card {
    border-radius: 25px;
  }

  .blog-content {
    padding: 25px 20px;
  }
}

@media (max-width: 375px) {
  .blog {
    padding: 30px 15px;
  }

  .blog-header {
    margin-bottom: 30px;
  }

  .blog-content {
    padding: 20px 15px;
  }

  .blog-btn {
    width: 45px;
    height: 45px;
  }

  .blog-btn svg {
    width: 24px;
    height: 24px;
  }

  .blog-card {
    border-radius: 20px;
  }
}

/* ============================================
           FOOTER SECTION
============================================ */

footer {
  width: 100%;
  background-color: var(--color-gray);
  color: white;
  padding: 80px 60px 30px;
}

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 70px;
}

.footer-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  width: 250px;
  height: auto;
  margin-bottom: 10px;
}

.footer-column p {
  font-size: var(--lato-regular-md);
  line-height: var(--lato-regular-md-lh);
  font-weight: 400;
  color: white;
  margin: 0;
}

.section-icon {
  width: 50px;
  height: 50px;
  padding: 10px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.section-icon img {
  width: 45px;
  height: 45px;
  object-fit: contain;
}

.footer-column h4 {
  font-size: var(--lato-bold-sm);
  font-family: var(--font-lato);
  color: var(--color-green);
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  font-size: var(--lato-regular-md);
  line-height: var(--lato-regular-md-lh);
  font-weight: 400;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--color-green);
  padding-left: 5px;
}

.social-icons {
  display: flex;
  gap: 15px;
  margin-top: 10px;
}

.social-icons a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background-color: var(--color-cyan);
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(109, 176, 45, 0.3);
}

.social-icons img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.footer-disclaimer {
  padding: 30px 60px;
  margin-bottom: 40px;
}

.footer-disclaimer p {
  font-size: var(--lato-light-md);
  line-height: var(--lato-light-md-lh);
  font-weight: 300;
  color: #d0d0d0;
  text-align: center;
}

.footer-divider {
  height: 1px;
  background: #d0d0d0;
  margin: 30px 0;
}

.footer-copyright {
  text-align: center;
}

.footer-copyright p {
  font-size: var(--lato-light-sm);
  line-height: var(--lato-light-sm-lh);
  font-weight: 300;
  color: #d0d0d0;
}

@media (max-width: 1440px) {
  footer {
    padding: 70px 50px 25px;
  }

  .footer-grid {
    gap: 50px;
  }

  .footer-disclaimer {
    padding: 25px 40px;
  }
}

@media (max-width: 1024px) {
  footer {
    padding: 60px 40px 25px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .footer-logo {
    width: 200px;
  }

  .footer-disclaimer {
    padding: 25px 30px;
  }

  .footer-disclaimer p {
    text-align: left;
  }
}

@media (max-width: 768px) {
  footer {
    padding: 50px 30px 20px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .footer-column {
    text-align: center;
    align-items: center;
  }

  .footer-links {
    align-items: center;
  }

  .social-icons {
    justify-content: center;
  }

  .footer-disclaimer {
    padding: 20px;
  }

  .footer-disclaimer p {
    text-align: center;
  }
}

@media (max-width: 480px) {
  footer {
    padding: 40px 20px 15px;
  }

  .footer-logo {
    width: 160px;
  }

  .section-icon {
    width: 40px;
    height: 40px;
  }

  .section-icon img {
    width: 28px;
    height: 28px;
  }

  .social-icons a {
    width: 40px;
    height: 40px;
  }

  .footer-disclaimer p {
    font-size: 13px;
  }

  .footer-copyright p {
    font-size: 12px;
  }
}

@media (max-width: 375px) {
  footer {
    padding: 30px 15px 15px;
  }

  .footer-logo {
    width: 140px;
  }

  .footer-disclaimer p {
    font-size: 12px;
  }

  .footer-copyright p {
    font-size: 11px;
  }
}

/* ===== Scroll to top ===== */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background-color: var(--color-black);
  color: var(--color-green);
  border: none;
  border-radius: 50%;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: all 0.4s ease;
  z-index: 1000;
}

.scroll-top svg {
  transform: rotate(90deg);
}

.scroll-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.scroll-top:hover {
  background-color: var(--color-green);
  color: var(--color-black);
  transform: translateY(-5px);
}

/* ============================================
   MODAL DE AVISO (Éxito/Error)
   ============================================ */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  display: none; /* Oculto por defecto */
  justify-content: center;
  align-items: center;
  z-index: 10000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal-overlay.open {
  display: flex;
  opacity: 1;
}

.modal-content {
  background: var(--color-white);
  border-radius: 20px;
  padding: 40px;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: translateY(-50px);
  transition: transform 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-overlay.open .modal-content {
  transform: translateY(0);
}

/* Título y Icono */
.modal-content h3 {
  font-family: var(--font-lato);
  font-weight: var(--font-bold);
  font-size: var(--lato-bold-lg);
  line-height: var(--lato-bold-lg-lh);
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.modal-content p {
  font-size: var(--lato-regular-md);
  color: var(--color-gray);
  margin-bottom: 30px;
}

/* Colores Específicos */
.modal-success h3 {
  color: var(--color-green);
}

.modal-error h3 {
  color: #ff4d4d;
}

.modal-icon {
  width: 30px;
  height: 30px;
  display: inline-block;
}

/* Botón de cierre */
.modal-close-btn {
  background-color: var(--color-green);
  color: var(--color-white);
  border: none;
  padding: 10px 25px;
  border-radius: 10px;
  cursor: pointer;
  font-family: var(--font-roboto);
  font-weight: 700;
  transition: background-color 0.3s ease;
}

.modal-close-btn:hover {
  background-color: var(--color-black);
}
