/* ==========================================================================
   QLF LABS — Modern Corporate Redesign (2026)
   ========================================================================== */
:root {
  --qlf-navy: #032229;
  --qlf-teal-dark: #004a54;
  --qlf-teal: #00a9a6;
  --qlf-teal-bright: #0dd3c5;
  --qlf-mint: #7ddbc2;
  --qlf-ink: #0f172a;
  --qlf-muted: #475569;
  --qlf-bg: #f4f9fa;
  --qlf-surface: #ffffff;
  --qlf-border: rgba(0, 74, 84, 0.12);
  --qlf-shadow-sm: 0 6px 20px rgba(3, 34, 41, 0.06);
  --qlf-shadow-md: 0 16px 40px rgba(3, 34, 41, 0.10);
  --qlf-shadow-lg: 0 24px 64px rgba(3, 34, 41, 0.16);
  --qlf-radius: 18px;
  --qlf-font-head: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --qlf-font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--qlf-font-body) !important;
  color: var(--qlf-ink);
  background: var(--qlf-surface);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--qlf-font-head) !important;
  letter-spacing: -0.02em;
}

/* Hide legacy Apress header & broken Revolution Slider on Home */
.zolo_header,
.zolo-header-area,
.header_area,
.mobile_header_area,
.zolo_mobile_header {
  display: none !important;
}

body.home #rev_slider_1_1_wrapper,
body.page-id-102 #rev_slider_1_1_wrapper {
  display: none !important;
}

/* Offset for non-home pages so fixed navbar doesn't overlap */
body:not(.home):not(.page-id-102) .zolo_main_content_area,
body:not(.home):not(.page-id-102) #main,
body:not(.home):not(.page-id-102) .pagetitle_parallax_section {
  padding-top: 84px;
}

/* ---------- Reading Progress Bar ---------- */
#qlf-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--qlf-teal), var(--qlf-mint), var(--qlf-teal-bright));
  z-index: 100001;
  transition: width 0.08s linear;
}

/* ---------- Sticky Glassmorphism Navbar ---------- */
.qlf-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99990;
  height: 78px;
  display: flex;
  align-items: center;
  background: rgba(3, 34, 41, 0.58);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.35s ease, box-shadow 0.35s ease, height 0.35s ease, border-color 0.35s ease;
}

.qlf-nav.is-scrolled,
body:not(.home):not(.page-id-102) .qlf-nav {
  background: rgba(3, 34, 41, 0.94);
  box-shadow: 0 10px 30px rgba(3, 34, 41, 0.22);
  border-bottom-color: rgba(125, 219, 194, 0.18);
  height: 70px;
}

.qlf-nav-inner {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.qlf-nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}

.qlf-nav-brand img {
  height: 34px;
  width: auto;
  display: block;
  transition: transform 0.3s ease;
}

.qlf-nav-brand:hover img {
  transform: scale(1.04);
}

.qlf-nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.qlf-nav-links > a,
.qlf-nav-dd-btn {
  color: rgba(255, 255, 255, 0.9) !important;
  font-family: var(--qlf-font-head);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none !important;
  padding: 9px 14px;
  border-radius: 999px;
  background: transparent;
  border: 0;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}

.qlf-nav-links > a:hover,
.qlf-nav-links > a.is-active,
.qlf-nav-dd-btn:hover {
  color: #ffffff !important;
  background: rgba(125, 219, 194, 0.16);
}

.qlf-nav-dd {
  position: relative;
}

.qlf-nav-dd-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 240px;
  background: #062f38;
  border: 1px solid rgba(125, 219, 194, 0.22);
  border-radius: 14px;
  padding: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  z-index: 100;
}

.qlf-nav-dd:hover .qlf-nav-dd-menu,
.qlf-nav-dd.is-open .qlf-nav-dd-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.qlf-nav-dd-menu a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  color: rgba(255, 255, 255, 0.9) !important;
  font-size: 13.5px;
  font-weight: 500;
  text-decoration: none !important;
  transition: background 0.2s ease, color 0.2s ease, padding-left 0.2s ease;
}

.qlf-nav-dd-menu a:hover {
  background: rgba(0, 169, 166, 0.28);
  color: #ffffff !important;
  padding-left: 18px;
}

.qlf-nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.qlf-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--qlf-teal), var(--qlf-teal-bright));
  color: #02242b !important;
  font-family: var(--qlf-font-head);
  font-size: 13.5px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 20px rgba(0, 169, 166, 0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.qlf-nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(13, 211, 197, 0.45);
  filter: brightness(1.05);
}

.qlf-burger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.08);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
}

.qlf-burger span {
  width: 20px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Mobile Drawer */
.qlf-drawer {
  position: fixed;
  inset: 0;
  z-index: 100000;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.qlf-drawer.is-open {
  pointer-events: auto;
  opacity: 1;
}

.qlf-drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 20, 25, 0.65);
  backdrop-filter: blur(6px);
}

.qlf-drawer-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(320px, 86vw);
  background: var(--qlf-navy);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
  overflow-y: auto;
}

.qlf-drawer.is-open .qlf-drawer-panel {
  transform: translateX(0);
}

.qlf-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.qlf-drawer-head img {
  height: 28px;
}

#qlf-drawer-close {
  background: rgba(255, 255, 255, 0.1);
  border: 0;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.qlf-drawer-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 18px;
}

.qlf-drawer-links a {
  color: rgba(255, 255, 255, 0.92) !important;
  text-decoration: none !important;
  font-family: var(--qlf-font-head);
  font-size: 15px;
  font-weight: 600;
  padding: 11px 14px;
  border-radius: 12px;
  transition: background 0.2s ease;
}

.qlf-drawer-links a:hover {
  background: rgba(125, 219, 194, 0.14);
}

.qlf-drawer-sep {
  margin-top: 12px;
  padding: 8px 14px 4px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--qlf-mint);
  font-weight: 700;
}

.qlf-drawer-cta {
  margin-top: 14px;
  text-align: center;
  background: linear-gradient(135deg, var(--qlf-teal), var(--qlf-teal-bright)) !important;
  color: #02242b !important;
  font-weight: 800 !important;
}

@media (max-width: 1024px) {
  .qlf-nav-links,
  .qlf-nav-cta {
    display: none;
  }
  .qlf-burger {
    display: inline-flex;
  }
}

/* ---------- Eliminate Revolution Slider Ghost Height & Top Padding ---------- */
.banner {
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}

rs-fullwidth-wrap,
rs-module-wrap,
.rs-p-wp-fix,
#rev_slider_1_1_wrapper,
#rev_slider_1_1_forcefullwidth,
.rev_slider_wrapper,
[id*="rev_slider"] {
  display: none !important;
  height: 0 !important;
  min-height: 0 !important;
  max-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.home .container-padding,
body.page-id-102 .container-padding {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ---------- Full-Bleed Cinematic Video Hero ---------- */
.qlf-hero {
  position: relative;
  min-height: 92vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--qlf-navy);
  padding: 118px 24px 44px;
  box-sizing: border-box;
}

.qlf-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(1.08) contrast(1.05);
  z-index: 1;
}

.qlf-hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    radial-gradient(circle at 18% 25%, rgba(0, 169, 166, 0.34), transparent 52%),
    radial-gradient(circle at 82% 72%, rgba(125, 219, 194, 0.22), transparent 48%),
    linear-gradient(115deg, rgba(2, 24, 30, 0.88) 0%, rgba(0, 58, 68, 0.72) 52%, rgba(3, 34, 41, 0.82) 100%);
}

.qlf-hero-grid-bg {
  position: absolute;
  inset: 0;
  z-index: 2;
  background-image:
    linear-gradient(rgba(125, 219, 194, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(125, 219, 194, 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at center, black 35%, transparent 80%);
  pointer-events: none;
}

.qlf-hero-inner {
  position: relative;
  z-index: 3;
  max-width: 1260px;
  width: 100%;
  margin: auto;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 44px;
  align-items: center;
}

.qlf-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(125, 219, 194, 0.14);
  border: 1px solid rgba(125, 219, 194, 0.34);
  color: var(--qlf-mint);
  font-family: var(--qlf-font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
  animation: qlfFadeUp 0.8s ease both;
}

.qlf-hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--qlf-teal-bright);
  box-shadow: 0 0 12px var(--qlf-teal-bright);
  animation: qlfPulseDot 2s infinite;
}

.qlf-hero-title {
  color: #ffffff !important;
  font-size: clamp(2.15rem, 4.3vw, 3.65rem) !important;
  line-height: 1.1 !important;
  font-weight: 800 !important;
  margin: 0 0 20px !important;
  animation: qlfFadeUp 0.9s 0.1s ease both;
}

.qlf-hero-title span {
  background: linear-gradient(90deg, #7ddbc2, #0dd3c5, #a7f3d0);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.qlf-hero-sub {
  color: rgba(235, 248, 250, 0.88) !important;
  font-size: clamp(1rem, 1.3vw, 1.18rem) !important;
  line-height: 1.65 !important;
  max-width: 620px;
  margin: 0 0 32px !important;
  animation: qlfFadeUp 0.95s 0.2s ease both;
}

.qlf-hero-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: qlfFadeUp 1s 0.3s ease both;
}

.qlf-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 28px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--qlf-teal), var(--qlf-teal-bright));
  color: #02242b !important;
  font-family: var(--qlf-font-head);
  font-size: 15px;
  font-weight: 800;
  text-decoration: none !important;
  box-shadow: 0 12px 32px rgba(0, 169, 166, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.qlf-btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px rgba(13, 211, 197, 0.52);
}

.qlf-btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 26px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.26);
  color: #ffffff !important;
  font-family: var(--qlf-font-head);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  backdrop-filter: blur(10px);
  transition: background 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.qlf-btn-glass:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: var(--qlf-mint);
  transform: translateY(-3px);
}

/* Right floating glass card in Hero */
.qlf-hero-card {
  background: rgba(4, 38, 46, 0.62);
  border: 1px solid rgba(125, 219, 194, 0.26);
  border-radius: 24px;
  padding: 28px;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
  animation: qlfFadeUp 1.05s 0.35s ease both;
}

.qlf-hero-card-title {
  color: var(--qlf-mint);
  font-family: var(--qlf-font-head);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.qlf-hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.qlf-stat {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  padding: 16px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.qlf-stat:hover {
  transform: translateY(-4px);
  border-color: rgba(125, 219, 194, 0.45);
}

.qlf-stat strong {
  display: block;
  color: #ffffff;
  font-family: var(--qlf-font-head);
  font-size: 1.75rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 4px;
}

.qlf-stat span {
  color: rgba(226, 245, 247, 0.8);
  font-size: 12.5px;
  line-height: 1.35;
  display: block;
}

.qlf-hero-divisions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.qlf-hero-divisions a {
  padding: 6px 13px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: #e6fffa !important;
  background: rgba(0, 169, 166, 0.22);
  border: 1px solid rgba(125, 219, 194, 0.28);
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.qlf-hero-divisions a:hover {
  background: var(--qlf-teal);
  color: #02242b !important;
  transform: translateY(-2px);
}

.qlf-hero-scroll {
  position: relative;
  z-index: 3;
  margin: 26px auto 0;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.72) !important;
  font-size: 11.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none !important;
  animation: qlfBounce 2.2s infinite;
}

@media (max-width: 960px) {
  .qlf-hero {
    min-height: auto;
    padding: 108px 18px 44px;
  }
  .qlf-hero-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

/* ---------- Compact Rhythm: Eliminate Legacy WPBakery White Voids ---------- */
.vc_empty_space {
  height: 10px !important;
  max-height: 12px !important;
}

.apress_spacer_element,
.zolo_spacer,
.ult-spacer {
  height: 10px !important;
  max-height: 12px !important;
}

body.home .wpb_row.vc_row-fluid,
body.page-id-102 .wpb_row.vc_row-fluid {
  padding-top: 34px !important;
  padding-bottom: 34px !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

body.home .wpb_row.vc_row-fluid .vc_column-inner,
body.page-id-102 .wpb_row.vc_row-fluid .vc_column-inner {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 8px !important;
  padding-bottom: 8px !important;
}

body.home .zolo_heading_element,
body.page-id-102 .zolo_heading_element {
  margin-bottom: 12px !important;
}

/* Intro statement row */
body.home .wpb_row:first-of-type,
body.page-id-102 .wpb_row:first-of-type {
  background: linear-gradient(180deg, #f0f8f9 0%, #ffffff 100%) !important;
  padding-top: 40px !important;
  padding-bottom: 24px !important;
  border-bottom: 1px solid rgba(0, 74, 84, 0.08);
}

/* Contact row: compact, balanced 2-column look */
#qlf-contacto {
  background: linear-gradient(180deg, #eef7f8 0%, #f8fbfc 100%) !important;
  padding-top: 44px !important;
  padding-bottom: 48px !important;
}

.qlf-contact-info-card {
  background: linear-gradient(145deg, #032229 0%, #004a54 100%);
  color: #ffffff;
  border-radius: 22px;
  padding: 32px 28px;
  box-shadow: var(--qlf-shadow-md);
  height: 100%;
  box-sizing: border-box;
}

.qlf-contact-info-card h3 {
  color: #ffffff !important;
  font-size: 1.55rem !important;
  font-weight: 800 !important;
  margin: 0 0 10px !important;
}

.qlf-contact-info-card p {
  color: rgba(230, 248, 250, 0.86) !important;
  font-size: 14.5px;
  line-height: 1.6;
  margin: 0 0 22px;
}

.qlf-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.qlf-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(125, 219, 194, 0.2);
  color: #ffffff !important;
  text-decoration: none !important;
  font-size: 14px;
  font-weight: 600;
  transition: background 0.22s ease, transform 0.22s ease;
}

.qlf-contact-item:hover {
  background: rgba(0, 169, 166, 0.28);
  transform: translateX(4px);
}

.qlf-contact-wa-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 20px;
  border-radius: 999px;
  background: linear-gradient(135deg, #25d366, #16a34a);
  color: #ffffff !important;
  font-family: var(--qlf-font-head);
  font-size: 14.5px;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 10px 24px rgba(37, 211, 102, 0.32);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  box-sizing: border-box;
}

.qlf-contact-wa-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(37, 211, 102, 0.45);
}

/* ---------- Division Multimedia Interactive Cards (Food, Feed, Agro, Aqua, Aguas) ---------- */
.vc_inner:has(.vc_col-sm-1\/5) {
  display: flex !important;
  flex-wrap: wrap;
  gap: 0;
  perspective: 1200px;
}

.vc_col-sm-1\/5 {
  padding: 10px !important;
  box-sizing: border-box;
  transition: opacity 0.35s ease, filter 0.35s ease;
}

.vc_inner:hover .vc_col-sm-1\/5:not(:hover) {
  opacity: 0.76;
  filter: saturate(0.78);
}

.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper {
  position: relative;
  background: #ffffff;
  border: 1px solid rgba(0, 74, 84, 0.14);
  border-radius: 22px;
  padding: 12px 12px 20px;
  box-shadow: 0 12px 30px rgba(3, 34, 41, 0.08);
  overflow: hidden;
  transform-style: preserve-3d;
  transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
  will-change: transform;
}

.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(280px circle at var(--mx, 50%) var(--my, 35%), rgba(13, 211, 197, 0.24), transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
  z-index: 3;
}

.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper:hover::before {
  opacity: 1;
}

.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper:hover {
  box-shadow: 0 24px 52px rgba(0, 74, 84, 0.24), 0 0 0 2px rgba(0, 169, 166, 0.45);
  border-color: var(--qlf-teal);
}

.vc_col-sm-1\/5 .expanding_image_wrapper,
.vc_col-sm-1\/5 .apress_expanding_image {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 16px !important;
  background: #032229;
}

/* Shimmer diagonal sweep across photo on hover */
.vc_col-sm-1\/5 .expanding_image_wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: -130%;
  width: 75%;
  height: 100%;
  background: linear-gradient(110deg, transparent 0%, rgba(255, 255, 255, 0.36) 50%, transparent 100%);
  transform: skewX(-22deg);
  transition: left 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
  z-index: 2;
}

.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper:hover .expanding_image_wrapper::after {
  left: 145%;
}

/* Subtle Ken Burns live motion on the 5 division images */
@keyframes qlfKenBurns {
  0% { transform: scale(1.0) translate(0, 0); }
  50% { transform: scale(1.08) translate(-1.5%, -1.5%); }
  100% { transform: scale(1.0) translate(0, 0); }
}

.vc_col-sm-1\/5 img {
  display: block;
  width: 100% !important;
  height: 185px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  animation: qlfKenBurns 14s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease !important;
}

.vc_col-sm-1\/5:nth-child(2) img { animation-delay: -2.8s; }
.vc_col-sm-1\/5:nth-child(3) img { animation-delay: -5.6s; }
.vc_col-sm-1\/5:nth-child(4) img { animation-delay: -8.4s; }
.vc_col-sm-1\/5:nth-child(5) img { animation-delay: -11.2s; }

.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper:hover img {
  animation-play-state: paused;
  transform: scale(1.13) !important;
  filter: saturate(1.15) contrast(1.06);
}

/* Division circular/pill buttons below each photo */
.vc_col-sm-1\/5 .zolo_button,
.vc_col-sm-1\/5 .apress_button_wrap a,
.vc_col-sm-1\/5 a.button,
.vc_col-sm-1\/5 .vc_btn3 {
  margin-top: 14px !important;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1) !important;
}

.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper:hover .zolo_button,
.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper:hover .apress_button_wrap a,
.vc_col-sm-1\/5 > .vc_column-inner > .wpb_wrapper:hover a.button {
  background: linear-gradient(135deg, #004a54, #00a9a6) !important;
  color: #ffffff !important;
  border-color: #00a9a6 !important;
  transform: translateY(-3px) scale(1.06) !important;
  box-shadow: 0 10px 24px rgba(0, 169, 166, 0.35) !important;
}

/* Modern Buttons */
.zolo_button,
.apress_button_wrap a,
a.vc_btn3 {
  border-radius: 999px !important;
  font-family: var(--qlf-font-head) !important;
  font-weight: 700 !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease !important;
}

.zolo_button:hover,
.apress_button_wrap a:hover,
a.vc_btn3:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 24px rgba(0, 169, 166, 0.28) !important;
}

/* Services Section (#servicios) */
#servicios {
  background: linear-gradient(180deg, #f0f9f9 0%, #ffffff 100%) !important;
  padding-top: 72px !important;
  padding-bottom: 72px !important;
}

#servicios .wpb_column .vc_column-inner {
  transition: transform 0.3s ease;
}

#servicios a,
.paoc-popup-link,
.paoc-pro-popup-link {
  transition: transform 0.25s ease, color 0.25s ease, box-shadow 0.25s ease;
}

#servicios .vc_row_inner .wpb_column > .vc_column-inner > .wpb_wrapper {
  background: #ffffff;
  border: 1px solid rgba(0, 74, 84, 0.1);
  border-radius: 18px;
  padding: 22px 18px;
  margin-bottom: 18px;
  box-shadow: var(--qlf-shadow-sm);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.32s ease, border-color 0.32s ease;
}

#servicios .vc_row_inner .wpb_column > .vc_column-inner > .wpb_wrapper:hover {
  transform: translateY(-7px);
  box-shadow: var(--qlf-shadow-md);
  border-color: var(--qlf-teal);
}

/* News / Actualidad Cards */
.zolo_blog_box,
.zolo_blog_area .zolo_blog_col,
article.post {
  transition: transform 0.32s ease, box-shadow 0.32s ease;
}

.zolo_blog_box {
  border-radius: 18px !important;
  overflow: hidden;
  box-shadow: var(--qlf-shadow-sm) !important;
  border: 1px solid var(--qlf-border);
  background: #ffffff;
}

.zolo_blog_box:hover {
  transform: translateY(-6px);
  box-shadow: var(--qlf-shadow-md) !important;
}

/* ---------- Modern Contact Form 7 + reCAPTCHA ---------- */
.wpcf7 {
  background: #ffffff;
  border: 1px solid var(--qlf-border);
  border-radius: 24px;
  padding: 34px 32px;
  box-shadow: var(--qlf-shadow-md);
  max-width: 760px;
  margin: 0 auto;
}

.wpcf7 form label {
  display: block;
  font-family: var(--qlf-font-head);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--qlf-teal-dark);
  margin-bottom: 14px;
}

.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 select,
.wpcf7 textarea {
  width: 100% !important;
  margin-top: 6px;
  padding: 13px 16px !important;
  border: 1.5px solid #d5e4e7 !important;
  border-radius: 12px !important;
  background: #f9fcfd !important;
  color: var(--qlf-ink) !important;
  font-family: var(--qlf-font-body) !important;
  font-size: 15px !important;
  box-sizing: border-box;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.wpcf7 input[type="text"]:focus,
.wpcf7 input[type="email"]:focus,
.wpcf7 input[type="tel"]:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
  outline: none !important;
  border-color: var(--qlf-teal) !important;
  background: #ffffff !important;
  box-shadow: 0 0 0 4px rgba(0, 169, 166, 0.15) !important;
}

.wpcf7 textarea {
  min-height: 125px;
  resize: vertical;
}

.qlf-recaptcha-wrap {
  margin: 18px 0 20px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
}

.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  padding: 14px 32px !important;
  border-radius: 999px !important;
  border: 0 !important;
  background: linear-gradient(135deg, var(--qlf-teal-dark), var(--qlf-teal)) !important;
  color: #ffffff !important;
  font-family: var(--qlf-font-head) !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(0, 74, 84, 0.28) !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease !important;
}

.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(0, 169, 166, 0.4) !important;
  filter: brightness(1.06);
}

.wpcf7 .wpcf7-response-output {
  border-radius: 14px !important;
  padding: 14px 18px !important;
  font-size: 14px;
  font-weight: 600;
  margin: 18px 0 0 !important;
}

/* ---------- Scroll Reveal Mobility (Never leaves blank white voids) ---------- */
.qlf-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s cubic-bezier(0.22, 1, 0.36, 1), transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.qlf-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Floating WhatsApp Widget (Bottom-Left so it never overlaps Back-to-Top) ---------- */
.qlf-wa-widget {
  position: fixed;
  left: 24px;
  right: auto;
  bottom: 24px;
  z-index: 99995;
}

.qlf-wa-bubble {
  position: relative;
  display: inline-flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 12px;
  text-decoration: none !important;
}

.qlf-wa-icon {
  position: relative;
  z-index: 2;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.42);
  transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s ease;
}

.qlf-wa-bubble:hover .qlf-wa-icon {
  transform: scale(1.09) rotate(-4deg);
  box-shadow: 0 16px 36px rgba(37, 211, 102, 0.56);
}

.qlf-wa-pulse {
  position: absolute;
  left: 0;
  right: auto;
  bottom: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.45);
  animation: qlfWaPulse 2.4s infinite;
  z-index: 1;
}

.qlf-wa-tooltip {
  background: #ffffff;
  color: var(--qlf-ink);
  border: 1px solid rgba(0, 74, 84, 0.14);
  border-radius: 16px;
  padding: 10px 16px;
  box-shadow: 0 14px 36px rgba(3, 34, 41, 0.18);
  display: flex;
  flex-direction: column;
  line-height: 1.25;
  transform: translateX(-8px);
  opacity: 0.96;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.qlf-wa-tooltip strong {
  font-family: var(--qlf-font-head);
  font-size: 13px;
  color: var(--qlf-teal-dark);
}

.qlf-wa-tooltip span {
  font-size: 12px;
  color: #16a34a;
  font-weight: 600;
}

.qlf-wa-bubble:hover .qlf-wa-tooltip {
  transform: translateX(0);
  opacity: 1;
}

@media (max-width: 640px) {
  .qlf-wa-tooltip {
    display: none;
  }
  .qlf-wa-widget {
    left: 16px;
    right: auto;
    bottom: 16px;
  }
  .wpcf7 {
    padding: 24px 18px;
  }
}

/* ---------- High-Contrast Legal Links (Términos y Condiciones / Código de Ética) ---------- */
.vc_wp_text.wpb_content_element {
  display: inline-block;
  margin: 0 12px 0 0 !important;
}

.vc_wp_text .widget_text {
  margin: 0 !important;
  padding: 0 !important;
}

.vc_wp_text .widget_text .textwidget p {
  margin: 0 !important;
}

.vc_wp_text .widget_text .textwidget a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 999px;
  background: #e6f5f4;
  border: 1px solid rgba(0, 74, 84, 0.25);
  color: #032229 !important;
  font-family: var(--qlf-font-head);
  font-size: 14px;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.vc_wp_text .widget_text .textwidget a:hover {
  background: #004a54;
  color: #ffffff !important;
  border-color: #004a54;
  transform: translateY(-2px);
}

/* ---------- Keyframes ---------- */
@keyframes qlfFadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes qlfPulseDot {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.35); opacity: 0.65; }
}

@keyframes qlfBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

@keyframes qlfWaPulse {
  0% { transform: scale(1); opacity: 0.6; }
  70% { transform: scale(1.48); opacity: 0; }
  100% { transform: scale(1.48); opacity: 0; }
}
