/*
Theme Name: Teleworks One
Theme URI: https://junglerdev.com 
Author: JunglerDev
Author URI: https://junglerdev.com
Description: Custom WordPress theme for Teleworks One — Smart Home integration company. Built on Bootstrap 5.3.3 with mobile-first design, animated hero, interactive sections, and SMTP contact form.
Version: 1.0.0
Tested up to: 6.9
Requires at least: 6.4
Requires PHP: 8.1
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: teleworks
Tags: custom-logo, custom-menu, featured-images, bootstrap, one-page, landing-page
*/

/* ============================================================
   TELEWORKS ONE — BRAND TOKENS
   (All colors reference these root variables so future rebrands
   touch only this block and the RGB companion vars below.)
   ============================================================ */
:root {
  /* — Primary palette — */
  --tw-blue-deep:   #486ca4;
  --tw-blue-mid:    #486ca4;
  --tw-blue-light:  #eef2f8;
  --tw-green:       #6c9e40;
  --tw-white:       #ffffff;
  --tw-off:         #f7f7f5;
  --tw-ink:         #0d0d0d;
  --tw-muted:       #8a8a8a;
  --tw-border:      #e4e4e4;

  /* — RGB companions (used in rgba() calls) — */
  --tw-blue-deep-rgb:  72, 108, 164;
  --tw-blue-mid-rgb:   72, 108, 164;
  --tw-green-rgb:      108, 158, 64;
  --tw-ink-rgb:        13, 13, 13;
  --tw-white-rgb:      255, 255, 255;

  /* — Override Bootstrap primary to match brand — */
  --bs-primary:          var(--tw-blue-mid);
  --bs-primary-rgb:      var(--tw-blue-mid-rgb);
  --bs-secondary:        var(--tw-green);
  --bs-secondary-rgb:    var(--tw-green-rgb);
  --bs-link-color:       var(--tw-blue-mid);
  --bs-link-hover-color: var(--tw-blue-deep);

  /* — Typography — */
  --font-display: "Inter", sans-serif;
  --font-body:    "Manrope", sans-serif;
  --bs-body-font-family: var(--font-body);
}

/* ============================================================
   GLOBAL RESETS / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }
html, body { max-width: 100%; overflow-x: hidden; }

body {
  font-family: var(--font-body);
  background: var(--tw-white);
  color: var(--tw-ink);
  overflow-x: hidden;
}

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 40px;
  background: var(--tw-green);
  transition: background 0.5s ease;
  z-index: 300;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  gap: 20px;
}
.top-bar-left { display: flex; align-items: center; gap: 24px; }
.top-bar-item {
  display: flex; align-items: center; gap: 7px;
  font-family: var(--font-display); font-size: 11px; font-weight: 500;
  letter-spacing: 0.04em; color: rgba(var(--tw-white-rgb), 0.92);
  text-decoration: none; white-space: nowrap; transition: color 0.2s;
}
.top-bar-item:hover { color: var(--tw-white); }
.top-bar-item i { font-size: 12px; opacity: 0.85; }
.top-bar-divider { width: 1px; height: 14px; background: rgba(var(--tw-white-rgb), 0.28); flex-shrink: 0; }
.top-bar-right { display: flex; align-items: center; gap: 16px; }
.top-bar-socials { display: flex; align-items: center; gap: 12px; }
.top-bar-socials a {
  color: rgba(var(--tw-white-rgb), 0.8); font-size: 13px;
  text-decoration: none; transition: color 0.2s, transform 0.2s; display: flex; align-items: center;
}
.top-bar-socials a:hover { color: var(--tw-white); transform: translateY(-1px); }
.top-bar-cta {
  background: var(--tw-white); color: var(--tw-green);
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase;
  padding: 6px 18px; border-radius: 100px; text-decoration: none;
  transition: background 0.2s, color 0.2s; white-space: nowrap;
}
.top-bar-cta:hover { background: var(--tw-blue-mid); color: var(--tw-white); }
.top-bar-lang {
  display: flex; align-items: center; gap: 0;
  background: rgba(0,0,0,0.18); border-radius: 100px; padding: 3px 4px; margin-right: 4px;
}
.lang-option {
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.12em; color: rgba(var(--tw-white-rgb), 0.55);
  padding: 3px 9px; border-radius: 100px; cursor: pointer;
  transition: background 0.2s, color 0.2s; user-select: none;
}
.lang-option.lang-active { background: rgba(var(--tw-white-rgb), 0.22); color: var(--tw-white); }
.lang-option:hover:not(.lang-active) { color: var(--tw-white); }

/* ============================================================
   MAIN NAV
   ============================================================ */
.main-nav {
  position: fixed; top: 40px; left: 0; right: 0; z-index: 200;
  padding: 0 5%; height: 72px;
  display: flex; align-items: center; justify-content: space-between;
  mix-blend-mode: normal;
  background: rgba(var(--tw-white-rgb), 0.82);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  box-shadow: 0 1px 0 rgba(var(--tw-ink-rgb), 0.06);
}
.main-nav .nav-logo img { height: 65px; display: block; filter: brightness(1) invert(0); }
.main-nav .nav-links { display: flex; gap: 40px; list-style: none; margin-bottom: 0px; }
.main-nav .nav-links a {
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--tw-ink); text-decoration: none; opacity: 0.55; transition: opacity 0.2s;
}
.main-nav .nav-links a:hover { opacity: 1; }
.nav-inner { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.nav-desktop-wrap { display: flex; align-items: center; gap: 40px; margin-left: auto; }
.nav-logo-desktop { display: flex; align-items: center; }
.nav-logo-desktop img { height: 65px; display: block; filter: brightness(1) invert(0); }

/* ============================================================
   MOBILE MENU
   ============================================================ */
.mobile-menu-toggle, .mobile-menu-backdrop, .mobile-menu-panel { display: none; }
.mobile-menu-toggle {
  appearance: none; border: none; background: transparent;
  width: 46px; height: 46px; border-radius: 12px;
  align-items: center; justify-content: center; flex-direction: column;
  gap: 5px; cursor: pointer; padding: 0;
  color: var(--tw-blue-mid); flex-shrink: 0;
}
.mobile-menu-toggle span {
  width: 20px; height: 2px; border-radius: 999px;
  background: currentColor;
  transition: transform 0.3s ease, opacity 0.3s ease; display: block;
}
.mobile-menu-backdrop {
  position: fixed; inset: 64px 0 0 0;
  background: rgba(0,0,0,0.35); opacity: 0;
  pointer-events: none; transition: opacity 0.28s ease; z-index: 239;
}
.mobile-menu-panel {
  position: fixed; top: 64px; right: 0; bottom: 0;
  width: min(100%, 420px); max-width: 100vw;
  height: calc(100dvh - 64px);
  background: var(--tw-ink); color: var(--tw-white);
  transform: translateX(100%);
  transition: transform 0.34s cubic-bezier(0.16,1,0.3,1), visibility 0s linear 0.34s;
  z-index: 240; overflow: hidden;
  box-shadow: -16px 0 40px rgba(0,0,0,0.28);
  visibility: hidden; pointer-events: none;
}
.mobile-menu-inner {
  height: 100%; min-height: 100%; display: flex; flex-direction: column;
  overflow-y: auto; overflow-x: hidden; padding: 18px 20px 22px;
}
.mobile-menu-nav { display: flex; flex-direction: column; }
.mobile-menu-link {
  font-family: var(--font-display); font-size: 16px; font-weight: 600;
  line-height: 1.35; color: var(--tw-white); text-decoration: none;
  padding: 14px 0; border-bottom: 1px solid rgba(var(--tw-white-rgb), 0.12);
}
.mobile-menu-info { margin-top: 14px; display: grid; gap: 10px; }
.mobile-menu-item {
  display: flex; align-items: flex-start; gap: 12px;
  color: rgba(var(--tw-white-rgb), 0.82); text-decoration: none;
  font-family: var(--font-body); font-size: 14px; line-height: 1.5;
}
.mobile-menu-item i { font-size: 15px; color: rgba(var(--tw-white-rgb), 0.6); margin-top: 3px; width: 16px; text-align: center; flex-shrink: 0; }
.mobile-menu-footer { margin-top: 18px; padding-top: 16px; border-top: 1px solid rgba(var(--tw-white-rgb), 0.08); }
.mobile-menu-socials { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; flex-wrap: wrap; }
.mobile-menu-socials a {
  color: rgba(var(--tw-white-rgb), 0.82); font-size: 16px; text-decoration: none;
  width: 36px; height: 36px; border-radius: 50%;
  border: 1px solid rgba(var(--tw-white-rgb), 0.14);
  display: inline-flex; align-items: center; justify-content: center;
}
.mobile-menu-cta {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; width: 100%; border-radius: 999px;
  background: var(--tw-green); color: var(--tw-white); text-decoration: none;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; padding: 12px 16px;
}
body.menu-open { overflow: hidden; }
body.menu-open .mobile-menu-backdrop { opacity: 1; pointer-events: auto; }
body.menu-open .mobile-menu-panel { transform: translateX(0); visibility: visible; pointer-events: auto; transition-delay: 0s; }
body.menu-open .mobile-menu-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.menu-open .mobile-menu-toggle span:nth-child(2) { opacity: 0; }
body.menu-open .mobile-menu-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
#hero { min-height: 100vh; position: relative; background: var(--tw-blue-mid); overflow: hidden; }
.hero-left {
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 150px 6% 80px; position: relative; z-index: 2;
  min-height: 100vh; max-width: 820px;
}
.hero-eyebrow {
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.38em; text-transform: uppercase;
  color: rgba(var(--tw-white-rgb), 0.85); margin-bottom: 28px;
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.6s ease forwards 0.3s;
}
.hero-headline {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.2vw, 68px);
  font-weight: 900; line-height: 1.13; letter-spacing: -0.03em;
  color: var(--tw-white); margin-bottom: 36px;
}
.hero-headline .word { display: inline-block; overflow: hidden; vertical-align: bottom; }
.hero-headline .word span { display: inline-block; transform: translateY(105%); animation: wordReveal 0.75s cubic-bezier(0.16,1,0.3,1) forwards; }
.hero-headline .word:nth-child(1) span { animation-delay: 0.5s; }
.hero-headline .word:nth-child(2) span { animation-delay: 0.63s; }
.hero-headline .word:nth-child(3) span { animation-delay: 0.76s; }
.hero-headline .word:nth-child(4) span { animation-delay: 0.89s; }
.hero-headline .word:nth-child(5) span { animation-delay: 1.02s; }
.hero-headline .word:nth-child(6) span { animation-delay: 1.15s; }
.hero-sub {
  font-family: var(--font-body); font-size: clamp(13px, 0.95vw, 15px);
  font-weight: 400; line-height: 1.75; color: rgba(var(--tw-white-rgb), 0.9);
  max-width: 340px; margin-bottom: 52px;
  opacity: 0; animation: fadeUp 0.7s ease forwards 1.5s;
}
.hero-ctas { display: flex; gap: 16px; align-items: center; opacity: 0; animation: fadeUp 0.7s ease forwards 1.7s; }
.btn-primary {
  background: var(--tw-white); color: var(--tw-ink);
  padding: 16px 34px; border-radius: 100px;
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase; text-decoration: none;
  transition: background 0.25s, color 0.25s, transform 0.2s;
}
.btn-primary:hover { background: var(--tw-blue-mid); color: var(--tw-white); transform: translateY(-2px); }
.btn-ghost {
  font-family: var(--font-display); font-size: 10px; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(var(--tw-white-rgb), 0.82); text-decoration: none;
  display: flex; align-items: center; gap: 10px; transition: color 0.2s;
}
.btn-ghost:hover { color: var(--tw-white); }
.btn-ghost-arrow {
  width: 30px; height: 30px; border: 1px solid rgba(var(--tw-white-rgb), 0.45);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 13px; transition: border-color 0.2s, transform 0.25s;
}
.btn-ghost:hover .btn-ghost-arrow { border-color: rgba(var(--tw-white-rgb), 0.5); transform: translateY(3px); }
.hero-stats {
  display: flex; gap: 40px; margin-top: 32px; padding-top: 32px;
  border-top: 1px solid rgba(var(--tw-white-rgb), 0.07);
  opacity: 0; animation: fadeUp 0.7s ease forwards 1.9s;
}
.hero-stat-num { font-family: var(--font-display); font-size: 30px; font-weight: 900; letter-spacing: -0.03em; color: var(--tw-white); line-height: 1; }
.hero-stat-label { font-family: var(--font-display); font-size: 10px; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(var(--tw-white-rgb), 0.7); margin-top: 6px; }
.hero-right { position: absolute; inset: 0; z-index: 0; }
.hero-right::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(0,0,0,0.50) 0%, rgba(0,0,0,0.25) 50%, rgba(0,0,0,0.15) 100%);
  z-index: 2; pointer-events: none;
}
.hero-video-wrapper { position: absolute; inset: 0; z-index: 1; }
.hero-video-wrapper video { width: 100%; height: 100%; object-fit: cover; animation: subtleZoom 14s ease-in-out infinite alternate; }

/* ============================================================
   ABOUT / NOSOTROS
   ============================================================ */
#nosotros {
  min-height: 100vh;
  display: grid; grid-template-columns: minmax(300px, 0.92fr) minmax(380px, 1.08fr);
  gap: 36px; align-items: center; padding: 80px 5% 60px;
  overflow: hidden; background: var(--tw-blue-mid); position: relative;
}
.about-left { display: flex; flex-direction: column; justify-content: center; padding: 24px 24px 24px 0; }
.about-eyebrow { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--tw-blue-mid); margin-bottom: 16px; }
.about-logo { width: auto; max-width: 140px; height: auto; display: block; filter: brightness(0) invert(1); margin-bottom: 16px; opacity: 0.9; object-fit: contain; }
.about-headline { font-family: var(--font-display); font-size: clamp(18px, 1.9vw, 30px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.14; color: var(--tw-white); margin-bottom: 24px; max-width: 480px; }
.hl-blue { background: var(--tw-blue-mid); color: var(--tw-white); padding: 0 8px 3px; border-radius: 3px; font-style: normal; }
.hl-smart { background: var(--tw-white); color: var(--tw-green); padding: 0 6px 2px; border-radius: 3px; font-style: normal; }
.about-copy { max-width: 560px; }
.about-body { font-family: var(--font-body); font-size: clamp(15px, 1.1vw, 17px); font-weight: 400; line-height: 1.65; color: rgba(var(--tw-white-rgb),1); max-width: 560px; margin-bottom: 12px; }
.about-body:last-child { margin-bottom: 0; }
.about-body--secondary { color: rgba(var(--tw-white-rgb), 0.95); }
.about-right { display: flex; flex-direction: column; overflow: hidden; background: var(--tw-white); border: 1px solid rgba(var(--tw-white-rgb),0.15); border-radius: 24px; box-shadow: 0 18px 60px rgba(0,0,0,0.2); margin-top: 0; }
.about-image-strip { flex: 0 0 240px; overflow: hidden; position: relative; }
.about-image-strip img { width: 100%; height: 100%; object-fit: cover; object-position: center center; filter: brightness(0.86); transition: transform 0.9s ease; }
.about-image-strip:hover img { transform: scale(1.04); }
.mvv-stack { flex: 1; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.mvv-block { flex: 1; display: flex; align-items: center; gap: 18px; padding: 30px 5%; border-top: 1px solid var(--tw-border); transition: background 0.22s; cursor: default; position: relative; z-index: 1; }
.mvv-block:hover { background: rgba(247,247,245,0.9); }
.mvv-num { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.14em; color: var(--tw-blue-mid); flex-shrink: 0; width: 20px; }
.mvv-divider-v { width: 1px; height: 24px; background: var(--tw-border); flex-shrink: 0; }
.mvv-title { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--tw-ink); margin-bottom: 5px; }
.mvv-text { font-family: var(--font-body); font-size: clamp(13px, 1.0vw, 15px); font-weight: 400; line-height: 1.6; color: #5d5d5d; }

/* ============================================================
   SOLUTIONS ACCORDION
   ============================================================ */
#soluciones { min-height: 100vh; display: flex; flex-direction: column; background: var(--tw-off); overflow: hidden; padding-top: 100px; padding-bottom: 0; }
.sol-header { padding: 0 5% 36px; display: flex; flex-direction: column; gap: 8px; flex-shrink: 0; }
.sol-eyebrow { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--tw-blue-mid); }
.sol-headline { font-family: var(--font-display); font-size: clamp(32px, 3.5vw, 56px); font-weight: 900; letter-spacing: -0.03em; color: var(--tw-ink); }
.sol-accordion { flex: 1; display: flex; min-height: 0; width: 100%; }
.sol-panel { flex: 1; position: relative; overflow: hidden; cursor: pointer; transition: flex 0.6s cubic-bezier(0.16,1,0.3,1); border-right: 1px solid rgba(var(--tw-white-rgb),0.06); }
.sol-panel:last-child { border-right: none; }
.sol-panel:hover { flex: 3.2; }
.sol-panel-bg { position: absolute; inset: 0; background-size: cover; background-position: center; filter: brightness(0.82) saturate(0.72); transition: filter 0.6s ease, transform 0.8s ease; }
.sol-panel:hover .sol-panel-bg { filter: brightness(0.58) saturate(0.8); transform: scale(1.04); }
.sol-panel-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 0%, transparent 38%, rgba(0,0,0,0.78) 100%); z-index: 0; transition: opacity 0.5s ease; }
.sol-panel::after { content: ""; position: absolute; inset: 0; z-index: 1; opacity: 0; pointer-events: none; background: rgba(var(--tw-white-rgb), 0.72); transition: opacity 0.5s cubic-bezier(0.16,1,0.3,1); }
.sol-panel:hover::after { opacity: 1; }
.sol-panel:hover .sol-panel-overlay { opacity: 0; transition: opacity 0.4s ease; }
.sol-panel-content { z-index: 2; }
.sol-panel-header { display: contents; }
.sol-chevron { display: none; }
.sol-panel:hover .sol-panel-num { color: rgba(0,0,0,0.28) !important; }
.sol-panel:nth-child(1):hover .sol-panel-title, .sol-panel:nth-child(3):hover .sol-panel-title, .sol-panel:nth-child(5):hover .sol-panel-title { color: var(--tw-blue-mid); }
.sol-panel:nth-child(2):hover .sol-panel-title, .sol-panel:nth-child(4):hover .sol-panel-title { color: var(--tw-green); }
.sol-panel:hover .sol-panel-list li.sol-more { color: #999; }
.sol-panel:nth-child(1):hover .sol-cta, .sol-panel:nth-child(3):hover .sol-cta, .sol-panel:nth-child(5):hover .sol-cta { color: var(--tw-blue-mid); border-bottom-color: var(--tw-blue-mid); }
.sol-panel:nth-child(2):hover .sol-cta, .sol-panel:nth-child(4):hover .sol-cta { color: var(--tw-green); border-bottom-color: var(--tw-green); }
.sol-panel:nth-child(1):hover .sol-panel-list li::before, .sol-panel:nth-child(3):hover, .sol-panel:nth-child(5):hover .sol-panel-list li::before { background: var(--tw-blue-mid); }
.sol-panel:nth-child(2):hover .sol-panel-list li::before, .sol-panel:nth-child(4):hover .sol-panel-list li::before { background: var(--tw-green); }
.sol-panel-content { position: absolute; inset: 0; padding: 26px 24px 48px; display: flex; flex-direction: column; justify-content: flex-end; z-index: 2; }
.sol-panel-num { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.25em; color: rgba(var(--tw-white-rgb), 0.5); margin-bottom: 12px; }
.sol-panel-title { font-family: var(--font-display); font-size: clamp(16px, 1.5vw, 24px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; color: var(--tw-white); white-space: nowrap; transition: color 0.4s ease; }
.sol-panel-detail { max-height: 0; overflow: hidden; opacity: 0; transition: max-height 0.5s cubic-bezier(0.16,1,0.3,1) 0.1s, opacity 0.4s ease 0.15s; }
.sol-panel:hover .sol-panel-detail { max-height: 600px; opacity: 1; }
.sol-panel-desc { font-family: var(--font-body); font-size: clamp(14px, 1.1vw, 18px); font-weight: 400; line-height: 1.5; color: rgba(var(--tw-white-rgb), 0.78); margin-top: 16px; margin-bottom: 18px; max-width: 400px; transition: font-size 0.25s ease, color 0.25s ease; }
.sol-panel:hover .sol-panel-desc { font-size: clamp(15px, 1.15vw, 20px); color: #2a2a2a; }
.sol-panel-list { list-style: none; display: flex; flex-direction: column; gap: 2.5px; margin-bottom: 10px; }
.sol-panel-list li { font-family: var(--font-display); font-size: clamp(11px, 0.80vw, 14px); font-weight: 500; letter-spacing: 0.02em; color: rgba(var(--tw-white-rgb), 0.72); padding-left: 14px; position: relative; transition: font-size 0.25s ease, color 0.25s ease; }
.sol-panel:hover .sol-panel-list li { font-size: clamp(12px, 0.9vw, 15px); color: #3a3a3a; }
.sol-panel-list li.sol-more { color: rgba(var(--tw-white-rgb), 0.3); font-style: italic; font-weight: 300; }
.sol-panel-list li::before { content: ""; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 5px; height: 1px; background: var(--tw-blue-mid); }
.sol-cta { display: inline-block; font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tw-white); text-decoration: none; padding-bottom: 4px; border-bottom: 1px solid rgba(var(--tw-white-rgb), 0.3); transition: border-color 0.2s, color 0.2s; }
.sol-cta:hover { color: var(--tw-blue-mid); border-color: var(--tw-blue-mid); }

/* ============================================================
   ECOSYSTEM / ECOSISTEMA
   ============================================================ */
#ecosistema { background: var(--tw-white); min-height: 100vh; display: block; padding: 0; overflow: hidden; position: relative; }
.eco-header { position: absolute; top: 112px; left: 0; right: 0; text-align: center; z-index: 5; padding: 44px 5% 0; }
.eco-eyebrow { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--tw-blue-mid); margin-bottom: 20px; }
.eco-headline { font-family: var(--font-display); font-size: clamp(30px, 3.8vw, 58px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; color: var(--tw-white); text-shadow: 0 2px 12px rgba(0,0,0,0.35); margin-bottom: 20px; }
.eco-sub { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: rgba(var(--tw-white-rgb), 0.75); text-shadow: 0 1px 6px rgba(0,0,0,0.3); letter-spacing: 0.02em; }
.eco-map-wrapper { position: absolute; inset: 0; width: 100%; max-width: 100%; margin: 0; border-radius: 0; overflow: hidden; }
.eco-stage { position: absolute; inset: 0; width: 100%; height: 100%; }
.eco-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center 30%; filter: brightness(0.68) saturate(0.8); transition: filter 0.5s ease; }
.eco-map-wrapper:hover .eco-image, .eco-stage:hover .eco-image { filter: brightness(0.58) saturate(0.7); }
.eco-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.42) 18%, rgba(0,0,0,0) 42%); pointer-events: none; }
.eco-hotspot { position: absolute; transform: translate(-50%, -50%); cursor: pointer; z-index: 10; }
.eco-pulse { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 56px; height: 56px; border-radius: 50%; background: rgba(var(--tw-blue-mid-rgb), 0.25); animation: hotspotPulse 2.4s ease-out infinite; }
.eco-dot { width: 22px; height: 22px; border-radius: 50%; border: 3px solid rgba(var(--tw-white-rgb), 0.9); position: relative; z-index: 2; transition: transform 0.2s; }
.eco-hotspot:hover .eco-dot { transform: scale(1.3); }
[data-service="auto"]     .eco-dot, [data-service="auto"]     .eco-pulse { background: var(--tw-blue-mid); }
[data-service="auto"]     .eco-pulse { background: rgba(var(--tw-blue-mid-rgb), 0.25); }

[data-service="security"] .eco-dot { background: #70a8ff; }
[data-service="security"] .eco-pulse { background: rgba(112, 168, 255, 0.25); }

[data-service="av"]       .eco-dot { background: var(--tw-green); }
[data-service="av"]       .eco-pulse { background: rgba(var(--tw-green-rgb), 0.25); }

[data-service="network"]  .eco-dot { background: #96db59; }
[data-service="network"]  .eco-pulse { background: rgba(150, 219, 89, 0.25); }

[data-service="spaces"]   .eco-dot { background: #36428d; }
[data-service="spaces"]   .eco-pulse { background: rgba(54, 66, 141, 0.25); }

[data-for="auto"]     .eco-legend-dot { background: var(--tw-blue-mid); }
[data-for="security"] .eco-legend-dot { background: #70a8ff; }
[data-for="av"]       .eco-legend-dot { background: var(--tw-green); }
[data-for="network"]  .eco-legend-dot { background: #96db59; }
[data-for="spaces"]   .eco-legend-dot { background: #36428d; }

.eco-tt-btn { display: block; text-align: right; margin-top: 14px; color: #aaa; font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; text-decoration: none; transition: color 0.2s; }
.eco-tt-btn:hover { color: var(--tw-ink); }
.eco-tooltip { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(240,240,238,0.97); backdrop-filter: blur(16px); border: 1px solid rgba(0,0,0,0.07); border-radius: 14px; padding: 22px 24px; width: 240px; opacity: 0; pointer-events: none; transition: opacity 0.25s ease, transform 0.25s ease; z-index: 20; }
.eco-tooltip--right { left: 30px; transform: translateY(-50%) translateX(6px); }
.eco-tooltip--left { right: 30px; transform: translateY(-50%) translateX(-6px); }
.eco-tooltip--bottom { top: 36px; left: 50%; transform: translateX(-50%) translateY(6px); }
.eco-hotspot:hover .eco-tooltip, .eco-tooltip:hover { opacity: 1; pointer-events: auto; transform: translateY(-50%) translateX(0); }
.eco-hotspot:hover .eco-tooltip--bottom, .eco-tooltip--bottom:hover { transform: translateX(-50%) translateY(0); }
.eco-tt-tag { font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.2em; color: var(--tw-blue-mid); margin-bottom: 8px; }
.eco-tt-title { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--tw-ink); margin-bottom: 12px; line-height: 1.3; }
.eco-tt-list { display: flex; flex-direction: column; gap: 5px; }
.eco-tt-list span { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: #666; padding-left: 12px; position: relative; }
.eco-tt-list span::before { content: "—"; position: absolute; left: 0; color: var(--tw-blue-mid); font-size: 10px; }
.eco-legend { position: absolute; bottom: 102px; left: 50%; z-index: 15; transform: translateX(-50%); display: flex; background: rgba(245,245,243,0.92); backdrop-filter: blur(12px); border: 1px solid rgba(0,0,0,0.06); border-radius: 100px; padding: 12px 24px; }
.eco-legend-item { display: flex; align-items: center; justify-content:center; gap: 8px; font-family: var(--font-display); font-size: 10px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: #888; min-width:170px; }
.eco-legend-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--tw-blue-mid); flex-shrink: 0; }
.eco-image-wrap { position: relative; } /* whatever your wrapper is */
.eco-stage picture{position:absolute;inset:0;width:100%;height:100%;z-index:1;}
.eco-image--back{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 30%;z-index:0;}



/* ============================================================
   PROCESS — TAB STEPPER
   Works on all devices: click/tap tabs on desktop,
   swipe or tap arrows on mobile. No scroll hijacking.
   ============================================================ */
#proceso-intro { padding: 0; }
#proceso {
  background: var(--tw-green);
  padding: 96px 5% 80px;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}

/* subtle static texture — no translate animation so it never drifts */
#proceso::before {
  content: "";
  position: absolute; inset: 0;
  pointer-events: none; z-index: 0;
  opacity: 0.08;
  background-image:
    repeating-radial-gradient(circle at 0 0, transparent 0, rgba(var(--tw-white-rgb),0.5) 9px),
    repeating-linear-gradient(rgba(var(--tw-white-rgb),0.6), rgba(var(--tw-white-rgb),0.6));
  animation: procPulse 6s ease-in-out infinite;
}

/* hero intro (kept identical) */
.proc-hero { position: relative; height: 60vh; min-height: 420px; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.proc-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.proc-hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(5,10,30,0.82) 0%, rgba(var(--tw-blue-mid-rgb),0.72) 100%); }
.proc-hero-content { position: relative; z-index: 2; text-align: center; padding: 0 5%; max-width: 780px; }
.process-eyebrow { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: rgba(var(--tw-white-rgb),0.8); margin-bottom: 16px; }
.process-headline { font-family: var(--font-display); font-size: clamp(28px,4vw,56px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.05; color: var(--tw-white); margin-bottom: 32px; }
.process-sub { font-family: var(--font-body); font-size: clamp(13px,1vw,16px); line-height: 1.7; color: rgba(var(--tw-white-rgb),0.88); max-width: 580px; margin: 0 auto; }

/* ── wrapper ── */
.proc-stepper { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; }

/* ── tab row ── */
.proc-tabs {
  display: flex;
  gap: 8px;
  border-bottom: none;
  margin-bottom: 0;
  background: var(--tw-white);
  border-radius: 18px;
  padding: 8px;
}

.proc-tab {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  border-radius: 12px;
  margin-bottom: 0;
  transition: background 0.25s ease, color 0.25s ease;
  text-align: center;
}

.proc-tab:hover:not(.proc-tab--active) {
  background: #f3f5f1;
}

.proc-tab.proc-tab--active {
  background: var(--tw-blue-mid);
}

.proc-tab-num {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.22em;
  color: #777;
  flex-shrink: 0;
  transition: color 0.25s;
}

.proc-tab--active .proc-tab-num {
  color: var(--tw-white);
}

.proc-tab-label {
  font-family: var(--font-display);
  font-size: clamp(11px,1vw,13px);
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #5b5b5b;
  line-height: 1.3;
  transition: color 0.25s;
}

.proc-tab:hover:not(.proc-tab--active) .proc-tab-label {
  color: var(--tw-green);
}

.proc-tab.proc-tab--active:hover .proc-tab-label {
  color: var(--tw-white);
}

.proc-tab--active .proc-tab-label {
  color: var(--tw-white);
}


/* ── panels ── */
.proc-panels { position: relative; min-height: 420px; }
.proc-panel {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  padding: 52px 0 12px;
  animation: procFadeIn 0.4s ease both;
}
.proc-panel.proc-panel--active { display: grid; }
.proc-panel:nth-child(even) { direction: rtl; }
.proc-panel:nth-child(even) > * { direction: ltr; }

/* text side */
.proc-panel-text-side { display: flex; flex-direction: column; justify-content: center; }
.proc-panel-num { font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.28em; color: rgba(var(--tw-white-rgb),0.5); margin-bottom: 12px; display: block; text-transform: uppercase; }
.proc-panel-logo { width: auto; max-width: 110px; height: auto; display: block; opacity: 0.9; filter: brightness(0) invert(1); object-fit: contain; margin-bottom: 24px; }
.proc-panel-title { font-family: var(--font-display); font-size: clamp(22px,2.2vw,32px); font-weight: 900; letter-spacing: -0.02em; line-height: 1.15; color: var(--tw-white); margin-bottom: 18px; }
.proc-panel-body { font-family: var(--font-body); font-size: clamp(14px,1.05vw,16px); line-height: 1.8; color: rgba(var(--tw-white-rgb),0.88); margin-bottom: 24px; }
.proc-panel-meta { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(var(--tw-white-rgb),0.7); padding-left: 16px; border-left: 2px solid rgba(var(--tw-white-rgb),0.3); }

/* image side */
.proc-panel-img-side { display: flex; align-items: center; justify-content: center; }
.proc-panel-img-side img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 18px; display: block; box-shadow: 0 28px 64px rgba(0,0,0,0.32); border: 2px solid rgba(var(--tw-white-rgb),0.12); }

/* ── dot nav (mobile) ── */
.proc-dots {
  display: none;
  justify-content: center;
  gap: 8px;
  margin-top: 28px;
}
.proc-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(var(--tw-white-rgb),0.3);
  border: none; padding: 0; cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}
.proc-dot.proc-dot--active { background: var(--tw-white); transform: scale(1.35); }

/* ── arrow nav (mobile) ── */
.proc-arrows {
  display: none;
  align-items: center;
  justify-content: space-between;
  margin-top: 24px;
}
.proc-arrow {
  background: rgba(var(--tw-white-rgb),0.12);
  border: 1px solid rgba(var(--tw-white-rgb),0.2);
  color: var(--tw-white); border-radius: 50%;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: 18px;
  transition: background 0.2s;
}
.proc-arrow:hover { background: rgba(var(--tw-white-rgb),0.22); }
.proc-arrow:disabled { opacity: 0.28; cursor: default; }
.proc-step-label {
  font-family: var(--font-display); font-size: 11px; font-weight: 600;
  letter-spacing: 0.12em; color: rgba(var(--tw-white-rgb),0.75);
}

/* ── responsive ── */
@media (max-width: 860px) {
  #proceso { padding: 72px 5% 60px; }
  .proc-panel { grid-template-columns: 1fr; gap: 28px; padding: 36px 0 8px; }
  .proc-panel:nth-child(even) { direction: ltr; }
  .proc-panel-img-side img { max-height: 280px; }
  .proc-tabs { display: none; }
  .proc-dots { display: flex; }
  .proc-arrows { display: flex; }
  .proc-panel-title { font-size: clamp(20px,5vw,28px); }
}
@media (max-width: 480px) {
  #proceso { padding: 56px 5% 48px; }
  .proc-panel-img-side img { max-height: 220px; border-radius: 12px; }
  .proc-panel-body { font-size: 14px; }
  .proc-hero { height: 50vh; min-height: 300px; }
}

/* ============================================================
   BRANDS / MARCAS
   ============================================================ */
.brands-strip,.brands-track{align-items:center;display:flex}
.brands-strip{height:72px;border-top:1px solid rgba(0,0,0,.07);overflow:hidden;background:#f0f0ee}
.brands-label{font-family:var(--font-display);font-size:12px;font-weight:700;letter-spacing:.28em;text-transform:uppercase;color:var(--tw-muted);padding:0 15px;flex-shrink:0;border-right:1px solid rgba(0,0,0,.06);height:100%;display:flex;align-items:center}
.brands-track-wrapper{flex:1;overflow:hidden;mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent);-webkit-mask-image:linear-gradient(90deg,transparent,black 6%,black 94%,transparent)}
.brands-track{list-style:none;margin:0;padding:0;width:max-content;will-change:transform}
.brands-track li{padding:0 56px;display:flex;align-items:center;flex-shrink:0}
.brands-track li img {height: 40px;width: auto;display: block;opacity: 0.55;filter: grayscale(0);transition: opacity 0.3s;}
.brands-track li img:hover {opacity: 1;}

/* ============================================================
   REVIEWS / RESEÑAS
   ============================================================ */
#resenas { background: var(--tw-off); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 100px 5% 48px; position: relative; overflow: hidden; }
#resenas::before { content: ""; position: absolute; inset: 0; background-image: var(--rev-bg); background-size: cover; background-position: center; opacity: 0.07; pointer-events: none; }
#resenas::after { content: "\""; position: absolute; top: -40px; right: 4%; font-family: var(--font-display); font-size: clamp(280px, 28vw, 420px); font-weight: 900; color: var(--tw-blue-deep); opacity: 0.04; line-height: 1; pointer-events: none; user-select: none; }
.rev-header { margin-bottom: 26px; padding-top: 0; position: relative; z-index: 1; }
.rev-gallery { position: relative; z-index: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 16px; }
.rev-gallery-item { border-radius: 18px; overflow: hidden; aspect-ratio: 1.18 / 1; box-shadow: 0 14px 36px rgba(0,0,0,0.08); }
.rev-gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.7s cubic-bezier(0.16,1,0.3,1); }
.rev-gallery-track { display: contents; }
.rev-scroll-hint { display: none; }
.rev-gallery.is-carousel { display: block; overflow: hidden; border-radius: 18px; position: relative; }
.rev-gallery.is-carousel .rev-gallery-track { display: flex; transition: transform 0.55s cubic-bezier(0.4,0,0.2,1); }
.rev-gallery.is-carousel .rev-gallery-item { flex: 0 0 100%; width: 100%; aspect-ratio: 16 / 9; border-radius: 0; box-shadow: none; }
.rev-gallery-dots { display: none };
.rev-eyebrow { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--tw-blue-mid); margin-bottom: 16px; }
.rev-headline { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 52px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; color: var(--tw-ink); }
.rev-stars { font-size: 25px; color: #F5C518; letter-spacing: 0.08em; margin-bottom: 14px; }
.rev-quote { font-family: var(--font-body); font-size: clamp(13px, 1.0vw, 15px); font-weight: 400; line-height: 1.65; color: #444; font-style: normal; margin-bottom: 20px; flex: 1; }
.rev-author { margin-top: auto; }
.rev-author-name { font-family: var(--font-display); font-size: 13px; font-weight: 700; color: var(--tw-ink); margin-bottom: 4px; }
.rev-author-detail { font-family: var(--font-display); font-size: 10px; font-weight: 500; letter-spacing: 0.14em; text-transform: uppercase; color: var(--tw-muted); }
.rev-slider { position: relative; z-index: 1; text-align: center; padding: 48px 5% ; max-width: 780px; margin: 0 auto; }
.rev-slider-quote-icon { color: var(--tw-ink); width: 75px; margin: 0 auto 22px; }
.rev-slider-track { overflow: hidden; }
.rev-slide { display: none; animation: revFadeIn 0.45s ease; }
.rev-slide.active { display: block; }
@keyframes revFadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.rev-slide-quote { font-family: var(--font-body); font-size: clamp(14px, 1.2vw, 17px); font-weight: 400; line-height: 1.7; min-height:100px; color: #444; font-style: normal; margin: 16px 0 20px; }
.rev-slide-author { font-family: var(--font-display); font-size: 13px; color: var(--tw-muted); letter-spacing: 0.04em; }
.rev-slide-author strong { color: var(--tw-ink); }
.rev-slider-dots { display: flex; justify-content: center; gap: 10px; margin-top: 28px; }
.rev-slider-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: #ccc; border: none; padding: 0; cursor: pointer; transition: background 0.25s; }
.rev-slider-dots .dot.active { background: var(--tw-green); }
.rev-slider-quote-icon {display: inline-flex;align-items: center;justify-content: center;padding: 3px;width: 123px; height: 123px; border-radius: 50%;background: linear-gradient(135deg, var(--tw-blue-mid), var(--tw-green));box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);}
.rev-slide-author-image {width: 120px; height: 120px;border-radius: 50%;object-fit: cover;display: block;border: 2px solid #fff; }

/* ============================================================
   FAQ
   ============================================================ */
#faq { background: var(--tw-white); min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 88px 5% 92px; overflow: hidden; position: relative; }
#faq::before { content: ""; position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0.06; pointer-events: none; z-index: 0; }
.faq-inner { max-width: 860px; width: 100%; margin: 0 auto; position: relative; z-index: 1; }
.faq-header { margin-bottom: 18px; }
.faq-eyebrow { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.38em; text-transform: uppercase; color: var(--tw-blue-mid); margin-bottom: 16px; }
.faq-headline { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 52px); font-weight: 900; letter-spacing: -0.03em; color: var(--tw-ink); }
.faq-item { border-top: 1px solid var(--tw-border); }
.faq-list { width: 100%; }
.faq-item:last-child { border-bottom: 1px solid var(--tw-border); }
.faq-question { width: 100%; background: none; border: none; padding: 28px 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; cursor: pointer; text-align: left; }
.faq-question span:first-child { font-family: var(--font-display); font-size: clamp(14px, 1.3vw, 17px); font-weight: 600; color: var(--tw-ink); line-height: 1.4; }
.faq-icon { font-size: 22px; font-weight: 300; color: var(--tw-blue-mid); flex-shrink: 0; transition: transform 0.3s ease; line-height: 1; }
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: none; }
.faq-item.open .faq-answer { max-height: 200px; }
.faq-answer p { font-family: var(--font-body); font-size: clamp(13px, 1.1vw, 15px); font-weight: 400; line-height: 1.8; color: #666; padding-bottom: 28px; opacity: 0; transform: translateY(6px); transition: opacity 0.3s ease, transform 0.3s ease; }
.faq-item.open .faq-answer p { opacity: 1; transform: translateY(0); }

/* ============================================================
   CONTACT / CONTACTO
   ============================================================ */
#contacto { min-height: auto; display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: stretch; background: var(--tw-white); padding: 96px 5%; overflow: visible; }
.contact-left { display: flex; flex-direction: column; justify-content: flex-start; height: 100%; padding: 42px; border: 1px solid var(--tw-border); border-radius: 24px; background: var(--tw-white); box-shadow: 0 18px 45px rgba(0,0,0,0.05); overflow: hidden; }
.contact-map { margin-top: 32px; flex: 1; min-height: 180px; overflow: hidden; border-radius: 12px 12px 0 0; }
.contact-map iframe { width: 100%; height: 100%; filter: grayscale(1) contrast(1.05); transition: filter 0.4s; display: block; }
.contact-map:hover iframe { filter: grayscale(0.3); }
.contact-headline { font-family: var(--font-display); font-size: clamp(28px, 3.2vw, 52px); font-weight: 900; letter-spacing: -0.03em; line-height: 1.08; color: var(--tw-ink); margin-bottom: 20px; }
.contact-sub { font-family: var(--font-body); font-size: 15px; font-weight: 400; line-height: 1.7; color: #666; max-width: 380px; margin-bottom: 48px; }
.contact-channels { display: flex; flex-direction: column; gap: 16px; margin-bottom: 40px; }
.contact-channel { display: flex; align-items: center; gap: 16px; padding: 20px 24px; background: var(--tw-off); border-radius: 12px; text-decoration: none; border: 1px solid transparent; transition: border-color 0.2s, background 0.2s; }
.contact-channel:hover { background: var(--tw-blue-light); border-color: var(--tw-blue-mid); }
.contact-channel-icon { font-size: 18px; color: var(--tw-blue-mid); width: 20px; text-align: center; flex-shrink: 0; }
.contact-channel-label { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tw-muted); margin-bottom: 3px; }
.contact-channel-value { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--tw-ink); word-break: break-word; }
.contact-address { display: flex; align-items: center; gap: 6px; }
.contact-address-value { font-family: var(--font-display); font-size: 14px; font-weight: 500; color: #555; }
.contact-address-value a{text-decoration:none;color:var(--tw-blue-mid);}
.contact-address-value a:hover{text-decoration:none;color:var(--tw-green);}
.contact-right { overflow: hidden; background: var(--tw-white); border: 1px solid rgba(var(--tw-white-rgb),0.12); border-radius: 24px; box-shadow: 0 18px 45px rgba(0,0,0,0.05); display: flex; flex-direction: column; position: relative; height: 100%; }
.contact-right-logo { position: absolute; bottom: 32px; right: 32px; height: 20px; opacity: 0.12; filter: brightness(0); pointer-events: none; z-index: 0; }
.contact-form-wrapper { padding: 42px 44px; flex: 1; display: flex; flex-direction: column; justify-content: center; border-top: 3px solid var(--tw-blue-mid); overflow: hidden; }
.contact-form-label { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: var(--tw-blue-mid); margin-bottom: 32px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.contact-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.contact-form-field { display: flex; flex-direction: column; gap: 7px; }
.contact-form-field label { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tw-muted); }
.contact-form-field input, .contact-form-field select, .contact-form-field textarea { font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--tw-ink); background: var(--tw-white); border: 1px solid var(--tw-border); border-radius: 8px; padding: 12px 16px; outline: none; transition: border-color 0.2s; resize: none; -webkit-appearance: none; }
.contact-form-field input::placeholder, .contact-form-field textarea::placeholder { color: #bbb; }
.contact-form-field input:focus, .contact-form-field select:focus, .contact-form-field textarea:focus { border-color: var(--tw-blue-mid); }
.contact-submit { display: inline-flex; align-items: center; background: var(--tw-blue-mid); color: var(--tw-white); border: none; border-radius: 100px; padding: 16px 32px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; cursor: pointer; align-self: flex-end; transition: background 0.25s, transform 0.2s; }
.contact-submit:hover { background: var(--tw-green); transform: translateY(-2px); }

/* Form feedback states */
.contact-form-status { font-family: var(--font-display); font-size: 12px; letter-spacing: 0.08em; margin-top: 8px; padding: 10px 14px; border-radius: 8px; display: none; }
.contact-form-status.success { background: rgba(var(--tw-green-rgb), 0.1); color: var(--tw-green); display: block; }
.contact-form-status.error { background: rgba(220,53,69,0.08); color: #dc3545; display: block; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer-socials { display: flex; gap: 14px; margin-top: 20px; }
.footer-socials a { width: 34px; height: 34px; border-radius: 50%; border: 1px solid rgba(var(--tw-white-rgb),0.14); background: transparent; display: flex; align-items: center; justify-content: center; color: rgba(var(--tw-white-rgb),0.5); font-size: 13px; text-decoration: none; transition: background 0.2s, color 0.2s, border-color 0.2s; }
.footer-socials a:hover { background: var(--tw-green); color: var(--tw-white); border-color: var(--tw-green); }
.footer-countries { display: flex; flex-direction: column; align-items: center; }
.footer-countries-label { font-family: var(--font-display); font-size: 9px; font-weight: 700; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(var(--tw-white-rgb),0.28); margin-bottom: 14px; display: block; }
.footer-countries-list { display: flex; gap: 24px; align-items: flex-start; }
.footer-country { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.flag-img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  filter: none;
  border: 2px solid #9fc4ff; /* borde azul claro */
  transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

.footer-country-name { font-family: var(--font-display); font-size: 11px; font-weight: 500; color: rgba(var(--tw-white-rgb),0.55); letter-spacing: 0.04em; }
.footer-countries-col { display: flex; flex-direction: column; align-items: center; text-align: center; flex-shrink: 0; }
#footer { background: var(--tw-blue-mid);  padding: 52px 5% 28px; } 
.footer-top { display: flex; justify-content: space-between; align-items: center; padding-bottom: 40px; border-bottom: 1px solid rgba(var(--tw-white-rgb),0.07); gap: 40px; }
.footer-logo { height: 52px; filter: brightness(0) invert(1); display: block; margin-bottom: 20px; }
.footer-tagline { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: rgba(var(--tw-white-rgb),0.35); max-width: 220px; line-height: 1.6; }
.footer-nav { display: flex; gap: 64px; }
.footer-nav-col { display: flex; flex-direction: column; gap: 12px; }
.footer-nav-heading { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.28em; text-transform: uppercase; color: rgba(var(--tw-white-rgb),0.3); margin-bottom: 4px; }
.footer-nav-col a { font-family: var(--font-body); font-size: 13px; font-weight: 400; color: rgba(var(--tw-white-rgb),0.55); text-decoration: none; transition: color 0.2s; }
.footer-nav-col a:hover { color: var(--tw-white); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 32px; gap: 20px; flex-wrap: wrap; }
.footer-copy { font-family: var(--font-display); font-size: 11px; font-weight: 400; letter-spacing: 0.06em; color: rgba(var(--tw-white-rgb),0.2); }
section + section { margin-top: 0; }

/* ============================================================
   WHATSAPP BUBBLE
   ============================================================ */
.wa-bubble-btn { position: fixed; bottom: 28px; right: 28px; z-index: 500; width: 58px; height: 58px; max-width: calc(100vw - 16px); border-radius: 50%; background: #25D366; border: none; cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(37,211,102,0.45); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.wa-bubble-btn:hover { transform: scale(1.1); box-shadow: 0 10px 32px rgba(37,211,102,0.55); }
.wa-bubble-btn svg { width: 30px; height: 30px; fill: white; }
.wa-bubble-btn::before { content: ""; position: absolute; inset: -6px; border-radius: 50%; background: rgba(37,211,102,0.22); animation: waPulse 2.2s ease-out infinite; pointer-events: none; }
.wa-panel { position: fixed; bottom: 100px; right: 28px; z-index: 499; width: 340px; max-width: calc(100vw - 32px); border-radius: 20px; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.22); font-family: var(--font-body); transform: scale(0.88) translateY(20px); opacity: 0; pointer-events: none; transition: transform 0.32s cubic-bezier(0.16,1,0.3,1), opacity 0.28s ease; transform-origin: bottom right; }
.wa-panel.wa-open { transform: scale(1) translateY(0); opacity: 1; pointer-events: auto; }
.wa-header { background: var(--tw-blue-mid); padding: 18px 20px; display: flex; align-items: center; gap: 14px; }
.wa-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 2px solid rgba(var(--tw-white-rgb),0.3); flex-shrink: 0; background: var(--tw-green); display: flex; align-items: center; justify-content: center; }
.wa-avatar-initials { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: white; }
.wa-header-info { flex: 1; }
.wa-agent-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: white; margin-bottom: 2px; }
.wa-agent-status { font-size: 12px; color: rgba(var(--tw-white-rgb),0.72); display: flex; align-items: center; gap: 5px; }
.wa-status-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--tw-green); flex-shrink: 0; }
.wa-close-btn { background: none; border: none; color: rgba(var(--tw-white-rgb),0.7); font-size: 20px; cursor: pointer; line-height: 1; padding: 0 0 0 8px; transition: color 0.2s; }
.wa-close-btn:hover { color: white; }
.wa-body { background: #f0f2f5; padding: 16px; }
.wa-bubble-msg { background: white; border-radius: 0 14px 14px 14px; padding: 12px 14px; font-size: 14px; line-height: 1.5; color: #1a1a1a; box-shadow: 0 1px 3px rgba(0,0,0,0.08); max-width: 90%; margin-bottom: 4px; }
.wa-bubble-time { font-size: 11px; color: #999; text-align: right; margin-bottom: 0; }
.wa-form { background: white; padding: 16px; display: flex; flex-direction: column; gap: 10px; border-top: 1px solid #e8e8e8; }
.wa-input { width: 100%; border: 1px solid #e0e0e0; border-radius: 10px; padding: 10px 14px; font-family: var(--font-body); font-size: 13px; color: #1a1a1a; outline: none; transition: border-color 0.2s; resize: none; }
.wa-input::placeholder { color: #bbb; }
.wa-input:focus { border-color: var(--tw-blue-mid); }
.wa-send-btn { background: #25D366; color: white; border: none; border-radius: 10px; padding: 12px; font-family: var(--font-display); font-size: 11px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 8px; transition: background 0.2s, transform 0.15s; }
.wa-send-btn:hover { background: #1da851; transform: translateY(-1px); }
.wa-notif-badge { position: absolute; top: -5px; right: -5px; width: 20px; height: 20px; border-radius: 50%; background: #e03535; color: white; font-family: var(--font-display); font-size: 11px; font-weight: 800; display: flex; align-items: center; justify-content: center; border: 2px solid white; opacity: 0; transform: scale(0); transition: opacity 0.3s ease, transform 0.35s cubic-bezier(0.16,1,0.3,1); z-index: 2; pointer-events: none; }
.wa-notif-badge.show { opacity: 1; transform: scale(1); }

/* ============================================================
   EYEBROW COLOR OVERRIDES (brand-wide consistency)
   ============================================================ */
.about-eyebrow, .sol-eyebrow, .eco-eyebrow, .faq-eyebrow { color: var(--tw-green) !important; }
#nosotros .about-eyebrow { color: rgba(var(--tw-white-rgb),0.7) !important; }
#ecosistema .eco-eyebrow { color: rgba(var(--tw-white-rgb),0.65) !important; letter-spacing: 0.38em; }
.mvv-num { color: var(--tw-blue-mid) !important; }
.sol-panel-num { color: rgba(var(--tw-white-rgb),0.35) !important; }
.contact-form-label { color: var(--tw-blue-mid) !important; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes wordReveal { to { transform: translateY(0); } }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
@keyframes subtleZoom { from { transform: scale(1.0); } to { transform: scale(1.06); } }
@keyframes hotspotPulse { 0% { transform: translate(-50%,-50%) scale(1); opacity: 0.7; } 100% { transform: translate(-50%,-50%) scale(2.8); opacity: 0; } }
@keyframes waPulse { 0% { transform: scale(1); opacity: 1; } 100% { transform: scale(1.7); opacity: 0; } }
@keyframes waBounce { 0% { transform: translateY(0) scale(1); } 20% { transform: translateY(-14px) scale(1.05); } 40% { transform: translateY(0) scale(1); } 60% { transform: translateY(-7px) scale(1.02); } 80% { transform: translateY(0) scale(1); } 100% { transform: translateY(0) scale(1); } }
@keyframes procPulse { 0%, 100% { opacity: 0.06; } 50% { opacity: 0.11; } }
@keyframes procFadeIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
@keyframes hint-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.7; transform: scale(0.95); } }
@keyframes rev-nudge { 0% { transform: translateX(0); opacity: 1; } 50% { transform: translateX(9px); opacity: 1; } 70% { transform: translateX(5px); opacity: 0.7; } 100% { transform: translateX(0); opacity: 1; } }

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.12s; }
.reveal-d2 { transition-delay: 0.24s; }

/* ============================================================
   RESPONSIVE — TABLET ≤1024px
   ============================================================ */
@media (max-width: 1024px) {
  #faq { min-height: auto; padding: 166px 5% 92px;}
  .wa-bubble-btn { right: 15px; bottom: 15px; width: 54px; height: 54px; }
  .top-bar { display: none; }
  .main-nav { position: fixed; top: 0; left: 0; right: 0; height: 64px; width: 100%; max-width: 100vw; padding: 0 16px; mix-blend-mode: normal; background: rgba(var(--tw-white-rgb),0.92); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); box-shadow: 0 1px 0 rgba(0,0,0,0.06); overflow: hidden; z-index: 1000; }
  .main-nav.nav--light { background: rgba(var(--tw-white-rgb),0.92); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); }
  .nav-inner { width: 100%; max-width: 100%; min-width: 0; overflow: hidden; }
  .main-nav .nav-logo { display: flex; align-items: center; flex: 1 1 auto; min-width: 0; max-width: calc(100vw - 84px); overflow: hidden; }
  .nav-logo-desktop { display: none; }
  .main-nav .nav-logo img, .main-nav.nav--light .nav-logo img { height: 65px; width: auto; max-width: 100%; object-fit: contain; filter: brightness(1) invert(0); }
  .nav-desktop-wrap { display: none; }
  .mobile-menu-toggle, .mobile-menu-backdrop, .mobile-menu-panel { display: flex; }
  .mobile-menu-backdrop, .mobile-menu-panel { display: block; }
  .mobile-menu-toggle { flex: 0 0 46px; color: var(--tw-blue-mid); }
  .proc-progress-wrap { display: none !important; }
  .proc-panel { flex-direction: column !important; justify-content: flex-start; align-items: stretch; padding: 120px 0 40px; gap: 20px; }
  .proc-panel-text-side { flex: 0 0 auto; min-height: 0; padding: 0 7%; justify-content: flex-start; overflow: visible; }
  .proc-panel-img-side { flex: 1 1 auto; min-height: 0; max-height: none; padding: 0 7%; align-items: stretch; justify-content: flex-start; overflow: hidden; }
  .proc-panel:nth-child(even) .proc-panel-img-side { padding: 0 7%; }
  .proc-panel-img-side img { width: 100%; height: 100%; max-height: min(46dvh, 420px); object-fit: cover; border-radius: 10px; border: 3px solid var(--tw-blue-mid); box-shadow: 0 10px 28px rgba(0,0,0,0.2); }
  #soluciones { height: auto; min-height: auto; padding: 72px 0 48px; overflow: visible; }
  .sol-header { padding: 0 5% 24px; }
  .sol-accordion { flex-direction: column; height: auto; overflow: visible; gap: 0; padding: 0; }
  .sol-panel { flex: none; border-right: none; border-radius: 0; overflow: hidden; cursor: pointer; border-bottom: 1px solid rgba(0,0,0,0.07); box-shadow: none; transition: none; }
  .sol-panel:first-child { border-top: 1px solid rgba(0,0,0,0.07); }
  .sol-panel:last-child { border-bottom: none; }
  .sol-panel:hover { flex: none; }
  .sol-panel-bg { position: absolute; top: 0; left: 0; right: 0; bottom: auto; height: 112px; filter: brightness(0.65) saturate(0.78); transition: filter 0.4s ease; }
  .sol-panel.sol-open .sol-panel-bg { filter: brightness(0.52) saturate(0.8); }
  .sol-panel-overlay { position: absolute; top: 0; left: 0; right: 0; bottom: auto; height: 112px; background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.62) 100%); opacity: 1; transition: none; }
  .sol-panel::after { display: none !important; }
  .sol-panel-content { position: relative; inset: auto; padding: 0; justify-content: flex-start; display: flex; flex-direction: column; }
  .sol-panel-header { display: flex !important; position: relative; z-index: 2; height: 112px; flex-direction: column; justify-content: flex-end; padding: 12px 52px 14px 18px; pointer-events: auto; }
  .sol-panel-num { margin-bottom: 3px; color: rgba(var(--tw-white-rgb),0.65) !important; font-size: 9px; }
  .sol-panel-title { font-size: 17px !important; color: var(--tw-white) !important; white-space: normal !important; line-height: 1.2; transition: none; }
  .sol-chevron { position: absolute; right: 16px; bottom: 16px; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid rgba(var(--tw-white-rgb),0.45); color: rgba(var(--tw-white-rgb),0.9); background: rgba(0,0,0,0.18); transition: transform 0.38s cubic-bezier(0.16,1,0.3,1), background 0.3s, border-color 0.3s; z-index: 3; pointer-events: auto; }
  .sol-chevron svg { width: 14px; height: 14px; }
  .sol-panel.sol-open .sol-chevron { transform: rotate(180deg); background: var(--tw-green); border-color: var(--tw-green); }
  .sol-tap-hint { position: absolute; top: 12px; right: 12px; z-index: 4; display: inline-flex; align-items: center; gap: 5px; background: rgba(var(--tw-green-rgb),0.92); color: white; font-family: var(--font-display); font-size: 8px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; padding: 5px 10px; border-radius: 100px; animation: hint-pulse 1.8s ease-in-out infinite; cursor: pointer; pointer-events: auto; }
  .sol-tap-hint svg { width: 9px; height: 9px; flex-shrink: 0; }
  .sol-panel-detail { max-height: 0; overflow: hidden; opacity: 0; background: var(--tw-white); padding: 0 18px; transition: max-height 0.48s cubic-bezier(0.16,1,0.3,1), opacity 0.28s ease, padding-top 0.35s ease, padding-bottom 0.35s ease; position: relative; z-index: 2; }
  .sol-panel.sol-open .sol-panel-detail { opacity: 1; padding-top: 20px; padding-bottom: 24px; max-height: 900px; }
  .sol-panel-desc { color: #444 !important; font-size: 14px !important; margin-top: 0; margin-bottom: 14px; max-width: 100%; }
  .sol-panel-list li { color: #444 !important; font-size: 13px !important; }
  .sol-panel-list li.sol-more { color: #aaa !important; }
  .sol-dots { display: none; }
  #ecosistema { height: auto; min-height: auto; background: var(--tw-white); overflow: visible; padding: 48px 0 32px; }
  #ecosistema .eco-header { position: relative; top: auto; left: auto; right: auto; padding: 0 5% 18px; text-align: center; background: var(--tw-white); z-index: 1; pointer-events: auto; }
  #ecosistema .eco-eyebrow { display: block !important; font-size: 10px; letter-spacing: 0.32em; color: var(--tw-green) !important; margin-bottom: 12px; opacity: 1; visibility: visible; }
  body.eco-mobile-overlay-open::before { content: ""; position: fixed; inset: 0; background: rgba(0,0,0,0.42); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); z-index: 1035; pointer-events: none; }
  .eco-stage.eco-modal-open::after { content: ""; position: absolute; inset: 0; background: rgba(0,0,0,0.18); z-index: 29; }
  .eco-headline { font-size: clamp(28px, 5vw, 42px); color: var(--tw-ink); text-shadow: none; margin-bottom: 10px; }
  .eco-headline .hl-blue { background: var(--tw-blue-mid); color: white; }
  .eco-sub { font-size: 13px; color: #666; text-shadow: none; }
  .eco-map-wrapper { position: relative; inset: auto; width: 100%; height: auto; margin: 0; overflow: visible; }
  .eco-stage { position: relative; inset: auto; width: calc(100% - 40px); max-width: calc(100% - 40px); height: 320px; margin: 0 auto; border-radius: 24px; overflow: hidden; background: #f4f4f4; box-shadow: 0 14px 36px rgba(0,0,0,0.08); }
  .eco-image { width: 100%; height: 100%; display: block; object-fit: cover; object-position: center center; filter: brightness(0.82) saturate(0.85); border-radius: 24px; }
  .eco-overlay { display: none; }
  .eco-pulse { width: 44px; height: 44px; }
  .eco-dot { width: 30px; height: 30px; border-width: 2.5px; display: flex; align-items: center; justify-content: center; }
  .eco-plus { font-size: 20px; font-weight: 300; color: white; line-height: 1; pointer-events: none; }
  .eco-tooltip, .eco-tooltip--right, .eco-tooltip--left, .eco-tooltip--bottom { display: none !important; }
  .eco-mobile-modal { position: fixed; inset: 0; z-index: 1040; display: flex; align-items: center; justify-content: center; padding: 20px; background: transparent; opacity: 0; pointer-events: none; transition: opacity 0.25s ease; }
  .eco-mobile-modal.eco-tt-active { opacity: 1; pointer-events: auto; }
  .eco-mobile-card { position: relative; width: min(100%, 420px); max-height: min(78vh, 520px); border-radius: 20px; background: rgba(var(--tw-white-rgb),0.98); box-shadow: 0 16px 34px rgba(0,0,0,0.16); padding: 22px 18px 18px; overflow-y: auto; display: flex; flex-direction: column; justify-content: flex-start; }
  .eco-tooltip-close { position: absolute; top: 10px; right: 10px; width: 32px; height: 32px; border: none; border-radius: 50%; background: #f1f1f1; color: #222; font-size: 20px; line-height: 1; display: inline-flex; align-items: center; justify-content: center; cursor: pointer; }
  .eco-legend { position: relative; bottom: auto; left: auto; transform: none; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; margin: 16px auto 0; width: fit-content; max-width: 90%; background: rgba(245,245,243,0); border: none; backdrop-filter: none; border-radius: 0; padding: 0 5%; }
  .eco-legend-item { font-size: 9px; gap: 5px; justify-content:start; }
  .eco-legend-dot { width: 7px; height: 7px; }
  .rev-gallery { grid-template-columns: repeat(2, 1fr); }
  #resenas { overflow: hidden; }

  .rev-scroll-hint { display: flex; align-items: center; gap: 8px; margin-top: 6px; padding-left: 2px; }
  .rev-scroll-arrow { display: inline-flex; align-items: center; color: var(--tw-green); width: 40px; height: 20px; animation: rev-nudge 1.6s ease-in-out infinite; }
  .rev-scroll-arrow svg { width: 100%; height: 100%; }
  .rev-scroll-label { font-family: var(--font-display); font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tw-green); opacity: 0.8; }
  #contacto { grid-template-columns: 1fr; padding: 72px 5%; }
  .contact-left { border-right: none; border-bottom: 1px solid var(--tw-border); padding: 36px 32px 28px; }
  .contact-form-wrapper { padding: 36px 32px; }
  .contact-sub { max-width: 100%; margin-bottom: 32px; }
  .contact-map { margin-top: 24px; min-height: 200px; }
  #footer { padding: 44px 6% 24px; }
  .footer-top { flex-direction: column; align-items: center; text-align: center; gap: 36px; padding-bottom: 32px; }
  .footer-brand { display: flex; flex-direction: column; align-items: center; }
  .footer-tagline { max-width: 280px; text-align: center; }
  .footer-socials { justify-content: center; }
  .footer-countries-col { width: 100%; align-items: center; }
  .footer-countries-list { justify-content: center; gap: 28px; }
  .footer-nav { gap: 40px; justify-content: center; width: 100%; }
  .footer-nav-col { align-items: center; text-align: center; }
  .footer-bottom { flex-direction: column; align-items: center; text-align: center; gap: 8px; padding-top: 24px; }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤860px  (nosotros stacks)
   ============================================================ */
@media (max-width: 860px) {
  .hero-left { max-width: 100%; padding: 120px 6% 80px; }
  #nosotros { min-height: auto; max-height: none; overflow: visible; grid-template-columns: 1fr; padding: 72px 6% 60px; gap: 28px; }
  .about-left { padding: 0; }
  .about-headline { font-size: clamp(22px, 5.5vw, 32px); }
  .about-right { margin-top: 0; overflow: visible; border-radius: 18px; }
  .about-image-strip { flex: 0 0 200px; border-radius: 18px 18px 0 0; overflow: hidden; }
  .mvv-stack { overflow: visible; flex: 0 0 auto; }
  .mvv-block:last-child { border-radius: 0 0 18px 18px; overflow: hidden; }
  .mvv-block { flex: 0 0 auto; padding: 18px 5%; gap: 14px; align-items: center; cursor: pointer; }
  .mvv-title { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
  .mvv-chevron { display: inline-flex; flex-shrink: 0; width: 22px; height: 22px; align-items: center; justify-content: center; border-radius: 50%; border: 1.5px solid var(--tw-border); color: var(--tw-muted); transition: transform 0.35s cubic-bezier(0.16,1,0.3,1), background 0.3s, border-color 0.3s, color 0.3s; }
  .mvv-chevron svg { width: 12px; height: 12px; }
  .mvv-block.mvv-open .mvv-chevron { transform: rotate(180deg); background: var(--tw-green); border-color: var(--tw-green); color: white; }
  .mvv-text { max-height: 0; overflow: hidden; opacity: 0; margin-top: 0; transition: max-height 0.45s cubic-bezier(0.16,1,0.3,1), opacity 0.3s ease 0.05s, margin-top 0.3s ease; }
  .mvv-block.mvv-open .mvv-text { max-height: 300px; opacity: 1; margin-top: 10px; }
}

/* ============================================================
   RESPONSIVE — MOBILE ≤640px
   ============================================================ */
@media (max-width: 640px) {
  .rev-slide-quote{ min-height:143px; }
  .rev-gallery-dots { display: flex; justify-content: center; gap: 10px; margin-top: 15px;margin-bottom: 15px; }
  .rev-gallery-dots .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(0,0,0,0.18); transition: background 0.3s, transform 0.3s; cursor: pointer; }
  .rev-gallery-dots .dot.active { background: var(--tw-green); transform: scale(1.25); }
  .main-nav, .main-nav.nav--light { position: fixed; top: 0; left: 0; right: 0; height: 60px; width: 100%; max-width: 100vw; padding: 0 12px; background: rgba(var(--tw-white-rgb),0.92); backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%); z-index: 1000; }
  .main-nav .nav-logo { max-width: calc(100vw - 74px); }
  .main-nav .nav-logo img, .main-nav.nav--light .nav-logo img { height: 65px; max-width: 100%; filter: brightness(1) invert(0); }
  .mobile-menu-toggle { width: 42px; height: 42px; flex: 0 0 42px; }
  .mobile-menu-backdrop { inset: 60px 0 0 0; }
  .mobile-menu-panel { top: 60px; right: 0; left: 0; bottom: 0; width: 100vw; max-width: 100vw; min-height: calc(100dvh - 60px); }
  .mobile-menu-inner { min-height: calc(100dvh - 60px); padding: 14px 18px 16px; }
  .mobile-menu-link { font-size: 15px; padding: 12px 0; }
  .mobile-menu-item { font-size: 12.5px; }
  .mobile-menu-cta { min-height: 42px; font-size: 9px; }
  .hero-left { padding-top: 76px; }
  .wa-panel { right: 20px; bottom: 84px; width: min(340px, calc(100vw - 40px)); }
  #nosotros { padding: 60px 5% 48px; gap: 20px; }
  .about-image-strip { flex: 0 0 170px; }
  .mvv-block { padding: 18px 5%; gap: 12px; }
  .mvv-text { font-size: 12.5px; }
  #resenas { padding: 72px 5% 48px; min-height: auto; }
  .rev-card { flex: 0 0 84%; }
  .rev-gallery { grid-template-columns: 1fr; }
  .proc-hero { height: 50vh; min-height: 320px; }
  .contact-form-row { grid-template-columns: 1fr; gap: 18px; }
  .contact-submit { align-self: stretch; justify-content: center; padding: 15px 24px; }
  .contact-channel { padding: 16px 18px; }
  .contact-map { min-height: 160px; }
  #contacto { padding: 56px 4%; gap: 20px; }
  .contact-left { padding: 28px 20px 24px; border-radius: 16px; }
  .contact-right { border-radius: 16px; }
  .contact-form-wrapper { padding: 28px 20px; }
  .contact-sub { max-width: 100%; margin-bottom: 32px; }
  #footer { padding: 36px 5% 20px; }
  .footer-logo { height: 42px; }
  .footer-nav { flex-direction: row; gap: 32px; }
  .footer-countries-list { gap: 20px; }
  .footer-copy { font-size: 10px; text-align: center; }
}

@media (max-width: 480px) {
  .proc-hero { height: 45vh; min-height: 280px; }
  #nosotros { padding: 52px 5% 40px; }
  .about-logo { max-width: 110px; }
  .about-image-strip { flex: 0 0 150px; }
  .mvv-block { padding: 16px 4%; gap: 10px; }
  .mvv-title { font-size: 10px; letter-spacing: 0.22em; }
  .mvv-text { font-size: 12px; line-height: 1.55; }
  .contact-headline { font-size: clamp(24px, 7vw, 34px); }
  .contact-sub { font-size: 14px; margin-bottom: 24px; }
  .contact-channel { padding: 14px 16px; gap: 12px; }
  .contact-form-wrapper { padding: 24px 18px; }
  .contact-form-label { margin-bottom: 20px; }
  .contact-form { gap: 14px; }
  .contact-form-field input, .contact-form-field select, .contact-form-field textarea { font-size: 13px; padding: 11px 14px; }
}

@media (max-width: 380px) {
  .mobile-menu-panel { top: 60px; right: 0; left: 0; bottom: 0; width: 100vw; max-width: 100vw; height: calc(100dvh - 60px); }
  .mobile-menu-inner { height: 100%; min-height: 100%; padding: 12px 16px 14px; }
  .mobile-menu-link { font-size: 14px; padding: 11px 0; }
  .mobile-menu-item { font-size: 12px; }
  .wa-bubble-btn { right: 15px; bottom: 15px; }
  .wa-panel { right: 16px; width: calc(100vw - 32px); }
  #ecosistema .eco-stage { width: calc(100% - 22px); max-width: calc(100% - 22px); height: 240px; border-radius: 20px; }
}
