/* ============================================================
   ECOPARKING — Premium Design System CSS
   Version 2.0 | Rebranding 2026
   ============================================================ */

/* ------------------------------------------------------------
   1. CUSTOM PROPERTIES
   ------------------------------------------------------------ */
:root {
  /* Brand colors */
  --eco-blue: #0081c2;
  --eco-green: #86df75;
  --eco-dark-blue: #1f4f84;
  --eco-black: #323131;
  --eco-off-white: #f7f9fc;

  /* Derived */
  --eco-blue-light: #33a0d4;
  --eco-blue-dark: #006699;
  --eco-green-light: #a8e89d;
  --eco-green-dark: #5cc44d;
  --eco-white: #ffffff;
  --eco-gray-100: #eef1f5;
  --eco-gray-200: #dde2ea;
  --eco-gray-400: #8d95a3;
  --eco-gray-600: #5a6170;

  /* Typography */
  --font-primary: 'Montserrat', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;
  --fw-ultra: 900;
  --fw-bold: 700;
  --fw-medium: 500;
  --fw-book: 400;

  /* Easing */
  --ease-reveal: cubic-bezier(.14, 1, .34, 1);
  --ease-smooth: cubic-bezier(.43, .2, .02, 1);
  --ease-exit: cubic-bezier(1, 0, .65, .61);
  --ease-dramatic: cubic-bezier(.9, 0, .1, 1);

  /* Spacing (8px grid) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-5xl: 128px;

  /* Layout */
  --max-width: 1440px;
  --nav-height: 72px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06), 0 1px 2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 24px 80px rgba(0, 0, 0, 0.16);
  --shadow-blue: 0 8px 32px rgba(0, 129, 194, 0.25);
  --shadow-green: 0 8px 32px rgba(134, 223, 117, 0.25);

  /* Linea Basica */
  --linea-w: 60px;
  --linea-h: 3px;
  --linea-gap: 8px;

  /* Transitions */
  --dur-fast: 200ms;
  --dur-base: 400ms;
  --dur-slow: 800ms;
}

/* ------------------------------------------------------------
   2. RESET & BASE
   ------------------------------------------------------------ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

img,
picture,
video,
canvas,
svg {
  display: block;
  max-width: 100%;
}

input,
button,
textarea,
select {
  font: inherit;
}

html {
  font-size: 100%;
  scroll-behavior: auto;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font-primary);
  font-weight: var(--fw-book);
  color: var(--eco-black);
  background: var(--eco-white);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}


*::selection {
  background: var(--eco-blue);
  color: var(--eco-white);
}

/* Film grain overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9997;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAMAAAAp4XiDAAAAUVBMVEWFhYWDg4N3d3dtbW17e3t1dXWBgYGHh4d5eXlzc3Oeli4teleVlZWLi4ueli4Ojo6JiYl/f39teleRkZGNjY2Tk5OPj4+Li4t7e3tzeXlhYWGeli+lAAAAAXRSTlMAQObYZgAAAAlwSFlzAAALEwAACxMBAJqcGAAAAMZJREFUeF7t0kEKgzAQheG/TTK2LuL9D9r3qKCIpV10M7/Lgm/1AQAAAP7bHD1n99nPNHv0O27uPbtnDz97zOn269benj1nn91nPb6z9zzbo/vsc++efebs8c92/87bs3v2Pnv0O27u5+xhz+j+sfa/nnvvM2fP7D6z9z5779ly7ux59p7T/ddew++t7ne5d/aZvfc5p7vPPnP27J5nbsvuc+41Z8++9+ye0dnds3v27D5zW3afe/bsvefO3vu++x8AAP5bfwAz5AoAAAAAAElFTkSuQmCC");
  background-repeat: repeat;
  animation: grain 0.5s steps(6) infinite;
}

@keyframes grain {
  0%, 100% { transform: translate(0, 0); }
  20% { transform: translate(-5%, -10%); }
  40% { transform: translate(3%, 5%); }
  60% { transform: translate(-3%, 8%); }
  80% { transform: translate(8%, -5%); }
}

a {
  color: inherit;
}

/* ------------------------------------------------------------
   3. SKIP TO CONTENT
   ------------------------------------------------------------ */
.skip-to-content {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  background: var(--eco-blue);
  color: var(--eco-white);
  padding: 12px 24px;
  border-radius: 0 0 8px 8px;
  font-weight: var(--fw-bold);
  text-decoration: none;
  font-family: var(--font-primary);
  transition: top var(--dur-base) var(--ease-reveal);
}

.skip-to-content:focus {
  top: 0;
}

/* ------------------------------------------------------------
   4. TYPOGRAPHY SYSTEM
   ------------------------------------------------------------ */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-primary);
  font-weight: var(--fw-ultra);
  line-height: 1.1;
}

.tagline {
  font-size: clamp(2.5rem, 12vw, 10rem);
  font-weight: var(--fw-ultra);
  line-height: 0.9;
  letter-spacing: -0.02em;
  color: var(--eco-white);
  text-transform: uppercase;
}

.section-heading {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: var(--fw-ultra);
  color: var(--eco-black);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.section-heading--light {
  color: var(--eco-white);
}

.section-label {
  font-family: var(--font-mono);
  font-size: clamp(0.7rem, 1vw, 0.85rem);
  font-weight: var(--fw-medium);
  color: var(--eco-blue);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: var(--space-md);
  display: block;
}

.section-label--light {
  color: var(--eco-blue-light);
}

.section-body {
  font-size: clamp(1rem, 1.1vw, 1.125rem);
  color: var(--eco-gray-600);
  line-height: 1.7;
  max-width: 600px;
}

.section-body--light {
  color: rgba(255, 255, 255, 0.7);
}

/* Gradient text utility */
.gradient-text {
  background: linear-gradient(135deg, var(--eco-blue), var(--eco-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ------------------------------------------------------------
   5. LAYOUT
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.section {
  padding: clamp(80px, 10vw, 160px) 0;
}

.section--light {
  background: var(--eco-off-white);
}

.section--white {
  background: var(--eco-white);
}

/* ------------------------------------------------------------
   6. LINEA BASICA COMPONENT
   ------------------------------------------------------------ */
.linea-basica {
  display: flex;
  gap: var(--linea-gap);
  margin: var(--space-lg) 0;
}

.linea-basica span {
  display: block;
  width: var(--linea-w);
  height: var(--linea-h);
  background: var(--eco-blue);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: center;
  position: relative;
  overflow: hidden;
}

.linea-basica span::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
  animation: shimmer 3s ease-in-out infinite 2s;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

.linea-basica--light span {
  background: rgba(255, 255, 255, 0.4);
}

.linea-basica--small {
  margin: var(--space-md) 0;
}

.linea-basica--small span {
  width: 40px;
}

/* ------------------------------------------------------------
   7. BUTTONS
   ------------------------------------------------------------ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: var(--eco-blue);
  color: var(--eco-white);
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--dur-base) var(--ease-reveal);
}

.btn-primary::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--eco-dark-blue);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-reveal);
}

.btn-primary:hover::before {
  transform: translateY(0);
}

.btn-primary span {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  background: transparent;
  color: var(--eco-blue);
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: 2px solid var(--eco-blue);
  border-radius: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: color var(--dur-base) var(--ease-reveal);
}

.btn-ghost::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--eco-blue);
  transform: translateY(100%);
  transition: transform var(--dur-base) var(--ease-reveal);
}

.btn-ghost:hover {
  color: var(--eco-white);
}

.btn-ghost:hover::before {
  transform: translateY(0);
}

.btn-ghost span {
  position: relative;
  z-index: 1;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--eco-green);
  color: var(--eco-black);
  border-radius: 50px;
  padding: 18px 48px;
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background var(--dur-base) var(--ease-reveal), transform var(--dur-fast) var(--ease-reveal);
}

.btn-green:hover {
  background: var(--eco-green-light);
  transform: translateY(-2px);
}

.btn-submit {
  width: 100%;
  height: 56px;
  margin-top: var(--space-lg);
}

/* ------------------------------------------------------------
   8. PRELOADER
   ------------------------------------------------------------ */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--eco-black);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.preloader-counter {
  font-family: var(--font-mono);
  font-size: clamp(4rem, 15vw, 12rem);
  font-weight: var(--fw-medium);
  color: var(--eco-white);
  line-height: 1;
  letter-spacing: -0.04em;
}

.preloader-bar-track {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background: rgba(255, 255, 255, 0.05);
}

.preloader-bar {
  width: 100%;
  height: 0%;
  background: var(--eco-blue);
  transition: height 0.1s linear;
}

.preloader-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-top: var(--space-xl);
}

/* ------------------------------------------------------------
   9. CUSTOM CURSOR
   ------------------------------------------------------------ */
@media (hover: hover) and (pointer: fine) {
  .custom-cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    height: 40px;
    pointer-events: none;
    z-index: 9998;
    will-change: transform;
    transition: transform var(--dur-base) var(--ease-reveal);
  }

  .cursor-dot {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    font-size: 24px;
    line-height: 1;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
  }

  .cursor-dot::before {
    content: '\1F699';
  }

  .cursor-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-mono);
    font-size: 10px;
    font-weight: var(--fw-medium);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--eco-black);
    opacity: 0;
    white-space: nowrap;
    transition: opacity var(--dur-fast);
  }

  .custom-cursor.is-link {
    transform: scale(1.5);
  }

  .custom-cursor.is-link .cursor-label {
    opacity: 1;
  }

  .custom-cursor.is-drag {
    transform: scale(1.8);
  }

  .custom-cursor.is-drag .cursor-dot {
    background: none;
  }

  .custom-cursor.is-drag .cursor-label {
    opacity: 1;
  }

  .custom-cursor.is-action {
    transform: scale(1.5);
  }

  .custom-cursor.is-action .cursor-dot {
    background: none;
    border: none;
  }

  .custom-cursor.is-action .cursor-label {
    opacity: 1;
  }

  .custom-cursor.is-text {
    width: 3px;
    height: 24px;
    border-radius: 1px;
  }

  .custom-cursor.is-text .cursor-dot {
    width: 100%;
    height: 100%;
    border-radius: 1px;
    background: var(--eco-blue);
    font-size: 0;
  }

  .custom-cursor.is-text .cursor-dot::before {
    display: none;
  }

  /* Trailing ring — hidden (caused ghost ball bug) */
  .cursor-ring {
    display: none;
  }
}

@media (hover: none) {
  .custom-cursor {
    display: none;
  }
}

/* ------------------------------------------------------------
   10. NAVIGATION
   ------------------------------------------------------------ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 0 clamp(20px, 5vw, 80px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background var(--dur-slow) var(--ease-smooth), box-shadow var(--dur-slow);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.nav-inner {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.nav-logo .logo-text {
  font-weight: var(--fw-ultra);
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  color: var(--eco-white);
  text-decoration: none;
  text-transform: uppercase;
  transition: color var(--dur-base);
}

.navbar.scrolled .logo-text {
  color: var(--eco-blue);
}

.logo-underscore {
  color: var(--eco-green);
}

.nav-links {
  display: flex;
  gap: var(--space-xl);
}

.nav-link {
  font-size: 0.8rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  position: relative;
  padding: 4px 0;
  transition: color var(--dur-fast);
}

.navbar.scrolled .nav-link {
  color: var(--eco-gray-600);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--eco-blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease-reveal);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

.nav-link:hover,
.nav-link.active {
  color: var(--eco-white);
}

.navbar.scrolled .nav-link:hover,
.navbar.scrolled .nav-link.active {
  color: var(--eco-blue);
}

/* Nav Toggle (hamburger - 2 lines) */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  width: 32px;
  height: 24px;
  position: relative;
  z-index: 101;
}

.nav-toggle-line {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--eco-white);
  position: absolute;
  left: 0;
  transition: transform var(--dur-base) var(--ease-reveal), opacity var(--dur-fast);
}

.nav-toggle-line:first-child {
  top: 6px;
}

.nav-toggle-line:last-child {
  bottom: 6px;
}

.nav-toggle.active .nav-toggle-line:first-child {
  transform: rotate(45deg);
  top: 11px;
}

.nav-toggle.active .nav-toggle-line:last-child {
  transform: rotate(-45deg);
  bottom: 11px;
}

.navbar.scrolled .nav-toggle-line {
  background: var(--eco-black);
}

/* Fullscreen Menu Overlay */
.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  background: var(--eco-blue);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.8s var(--ease-smooth);
}

.menu-overlay.active {
  clip-path: inset(0 0 0 0);
}

.menu-overlay-inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  text-align: center;
}

.menu-link {
  font-family: var(--font-primary);
  font-weight: var(--fw-ultra);
  font-size: clamp(2rem, 8vw, 5rem);
  color: var(--eco-white);
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1.1;
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s var(--ease-reveal), transform 0.6s var(--ease-reveal), color var(--dur-fast);
}

.menu-overlay.active .menu-link {
  opacity: 1;
  transform: translateY(0);
}

.menu-link:nth-child(1) { transition-delay: 0.1s; }
.menu-link:nth-child(2) { transition-delay: 0.18s; }
.menu-link:nth-child(3) { transition-delay: 0.26s; }
.menu-link:nth-child(4) { transition-delay: 0.34s; }
.menu-link:nth-child(5) { transition-delay: 0.42s; }
.menu-link:nth-child(6) { transition-delay: 0.50s; }

.menu-link:hover {
  color: var(--eco-green);
}

/* ------------------------------------------------------------
   11. HERO
   ------------------------------------------------------------ */
.hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  height: 100svh;
  overflow: hidden;
  background: #080c14;
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0 clamp(20px, 8vw, 120px);
  pointer-events: none;
}

.hero-overlay > * {
  pointer-events: auto;
}

[data-hero-phase] {
  opacity: 0;
}

.hero-stats {
  display: flex;
  gap: clamp(24px, 4vw, 64px);
  margin-top: var(--space-3xl);
}

.hero-stat {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0 3px;
}

.stat-number,
.stat-number-text {
  font-family: var(--font-mono);
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: var(--fw-medium);
  color: var(--eco-green);
  line-height: 1;
}

.stat-suffix {
  font-family: var(--font-mono);
  font-size: clamp(1.25rem, 2vw, 1.75rem);
  color: var(--eco-green);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-mono);
  font-size: clamp(0.65rem, 0.75vw, 0.75rem);
  font-weight: var(--fw-medium);
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: var(--space-sm);
  flex-basis: 100%;
  width: 100%;
}

.hero-values {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
  margin-top: var(--space-3xl);
}

.hero-values span {
  font-weight: var(--fw-medium);
  font-size: clamp(0.85rem, 1.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.dot-sep {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--eco-blue);
}

.hero-cta {
  margin-top: var(--space-2xl);
}

.hero-scroll-indicator {
  position: absolute;
  bottom: 40px;
  right: clamp(20px, 5vw, 80px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  opacity: 0;
}

.hero-scroll-indicator span {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  writing-mode: vertical-lr;
}

.scroll-line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { transform: scaleY(1); opacity: 0.5; }
  50% { transform: scaleY(1.3); opacity: 1; }
}

/* ------------------------------------------------------------
   12. ABOUT SECTION
   ------------------------------------------------------------ */
#about {
  clip-path: polygon(0 4vw, 100% 0, 100% 100%, 0 100%);
  margin-top: -4vw;
  position: relative;
  z-index: 3;
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-2xl);
}

.about-feature {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
  padding: var(--space-md);
  border-left: 3px solid var(--eco-blue);
  background: var(--eco-white);
  border-radius: 0 8px 8px 0;
}

.about-feature i {
  color: var(--eco-green);
  font-size: 1.25rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.about-feature strong {
  display: block;
  font-weight: var(--fw-bold);
  color: var(--eco-black);
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--eco-gray-600);
  line-height: 1.5;
  margin-top: 1px;
}

.about-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-svg {
  width: 100%;
  max-width: 360px;
  height: auto;
}

.about-svg .svg-draw {
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
}

.svg-elevator--active {
  animation: elevatorFloat 3s ease-in-out infinite;
}

@keyframes elevatorFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-30px); }
}

/* Floating decorative shapes */
.floating-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.shape {
  position: absolute;
  border: 2px solid;
  border-radius: 50%;
  opacity: 0.08;
}

.shape--circle {
  width: 200px;
  height: 200px;
  border-color: var(--eco-blue);
  top: 10%;
  right: 5%;
  animation: float 8s ease-in-out infinite;
}

.shape--square {
  width: 120px;
  height: 120px;
  border-radius: 16px;
  border-color: var(--eco-green);
  bottom: 15%;
  left: 8%;
  animation: float 10s ease-in-out infinite reverse;
}

.shape--triangle {
  width: 0;
  height: 0;
  border: none;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 100px solid rgba(0, 129, 194, 0.06);
  border-radius: 0;
  top: 30%;
  left: 50%;
  animation: float 12s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

/* Marquee ticker strip */
.marquee-strip {
  overflow: hidden;
  background: var(--eco-blue);
  padding: 20px 0;
  white-space: nowrap;
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-strip:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-strip--dark {
  background: var(--eco-black);
}

.marquee-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  animation: marquee 20s linear infinite;
}

.marquee-strip--reverse .marquee-track {
  animation: marquee-reverse 25s linear infinite;
}

.marquee-track span {
  font-family: var(--font-primary);
  font-weight: var(--fw-ultra);
  font-size: clamp(1.2rem, 2.5vw, 2rem);
  color: var(--eco-white);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  flex-shrink: 0;
}

.marquee-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--eco-green);
  flex-shrink: 0;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

@keyframes marquee-reverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* Wave divider */
.wave-divider {
  background: var(--eco-white);
  line-height: 0;
  margin-top: -1px;
}

.wave-divider svg {
  width: 100%;
  height: auto;
  display: block;
}

/* ------------------------------------------------------------
   13. SOLUTIONS SECTION (horizontal scroll)
   ------------------------------------------------------------ */
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

@media (min-width: 1025px) {
  #soluciones .container:last-child {
    max-width: 100%;
    padding-left: 5%; /* Align with regular container roughly */
    padding-right: 0;
  }
  #solutions-wrapper {
    overflow: hidden;
  }
  #solutions-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: var(--space-2xl);
    padding-right: 200px; /* buffer at end */
  }
  .solution-card {
    width: 600px;
    flex-shrink: 0;
  }
}

.solution-card {
  background: var(--eco-gray-100);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
}

.solution-card:hover {
  transform: translateY(-8px) scale(1.01);
}

.solution-tag {
  display: inline-block;
  font-family: var(--ff-mono);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  color: var(--eco-blue);
  background: rgba(0, 129, 194, 0.08);
  border-radius: 4px;
  padding: 3px 10px;
  margin-bottom: var(--space-sm);
}

.solution-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--eco-blue), var(--eco-green));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-reveal);
}

.solution-card:hover::after {
  transform: scaleX(1);
}

.solution-card-icon {
  height: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--eco-blue), var(--eco-dark-blue));
  position: relative;
  overflow: hidden;
}

.solution-card-icon::before {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  transition: transform var(--dur-base) var(--ease-reveal);
}

.solution-card:hover .solution-card-icon::before {
  transform: translate(-50%, -50%) scale(1.2);
}

.solution-card-icon::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(134, 223, 117, 0.15), transparent 70%);
}

.solution-card-icon i {
  font-size: 3.5rem;
  color: var(--eco-white);
  position: relative;
  z-index: 1;
  transition: transform var(--dur-base) var(--ease-reveal);
}

.solution-card:hover .solution-card-icon i {
  transform: scale(1.1);
}

.solution-card-body {
  padding: var(--space-xl);
}

.solution-card-body h3 {
  font-weight: var(--fw-bold);
  font-size: 1.3rem;
  color: var(--eco-black);
  margin-bottom: var(--space-sm);
}

.solution-card-body > p {
  font-size: 0.9rem;
  color: var(--eco-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-lg);
}

.solution-features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.solution-features li {
  font-size: 0.85rem;
  color: var(--eco-gray-600);
  padding-left: 20px;
  position: relative;
}

.solution-features li::before {
  content: '\2713';
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--eco-green);
  line-height: 1.6;
}

/* KingsLift Elevator Card — Premium Differentiated */
.solution-card--elevator {
  background: linear-gradient(135deg, #0a1628 0%, #1f4f84 50%, #0081c2 100%);
  border: 1px solid rgba(134, 223, 117, 0.15);
}

.solution-card--elevator::after {
  background: linear-gradient(90deg, var(--eco-green), var(--eco-blue));
}

.elevator-visual {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(10, 22, 40, 0.6), rgba(0, 129, 194, 0.15));
}

.elevator-visual i {
  font-size: 4.5rem;
  color: rgba(134, 223, 117, 0.35);
  z-index: 2;
  animation: elevatorIconFloat 3s ease-in-out infinite;
}

/* Animated elevator shaft lines */
.elevator-visual::before,
.elevator-visual::after {
  content: '';
  position: absolute;
  width: 2px;
  height: 200%;
  z-index: 1;
}

.elevator-visual::before {
  left: 30%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 20px,
    rgba(134, 223, 117, 0.15) 20px,
    rgba(134, 223, 117, 0.15) 40px
  );
  animation: elevatorLineUp 3s linear infinite;
}

.elevator-visual::after {
  right: 30%;
  background: repeating-linear-gradient(
    to bottom,
    transparent 0px,
    transparent 25px,
    rgba(0, 129, 194, 0.2) 25px,
    rgba(0, 129, 194, 0.2) 50px
  );
  animation: elevatorLineUp 4s linear infinite reverse;
}

/* Glow orb behind icon */
.elevator-glow {
  position: absolute;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(134, 223, 117, 0.12), transparent 70%);
  z-index: 1;
  animation: elevatorGlowPulse 3s ease-in-out infinite;
}

@keyframes elevatorIconFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes elevatorLineUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes elevatorGlowPulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.3); }
}

/* Override text colors for dark background */
.solution-card--elevator .solution-card-body h3 {
  color: var(--eco-white);
}

.solution-card--elevator .solution-card-body > p {
  color: rgba(255, 255, 255, 0.7);
}

.solution-card--elevator .solution-features li {
  color: rgba(255, 255, 255, 0.7);
}

.solution-card--elevator .solution-features li::before {
  color: var(--eco-green);
}

.solution-card--elevator .btn-ghost {
  border-color: var(--eco-green);
  color: var(--eco-green);
}

.solution-card--elevator .btn-ghost::before {
  background: var(--eco-green);
}

.solution-card--elevator .btn-ghost:hover {
  color: var(--eco-black);
}

.solution-card--elevator .solution-tag {
  background: rgba(134, 223, 117, 0.12);
  color: var(--eco-green);
}

.solution-card--elevator:hover {
  box-shadow: 0 20px 50px rgba(134, 223, 117, 0.15), 0 0 0 1px rgba(134, 223, 117, 0.2);
}

/* ------------------------------------------------------------
   14. PROJECTS SECTION
   ------------------------------------------------------------ */
.projects-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.project-card--featured {
  grid-column: 1 / -1;
  max-width: 700px;
  margin: 0 auto;
}

.project-card {
  background: var(--eco-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 129, 194, 0.06);
  transition: transform var(--dur-base) var(--ease-reveal), box-shadow var(--dur-base), border-color var(--dur-base);
  position: relative;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0, 129, 194, 0.12);
  border-color: rgba(0, 129, 194, 0.12);
}

.project-card-visual {
  height: 200px;
  position: relative;
  background: linear-gradient(135deg, var(--eco-dark-blue), var(--eco-blue));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: background var(--dur-slow);
}

.project-card:hover .project-card-visual {
  background: linear-gradient(135deg, var(--eco-blue), var(--eco-dark-blue));
}

.project-card--large .project-card-visual {
  height: 260px;
}

.project-card-overlay {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.03) 0px,
    rgba(255, 255, 255, 0.03) 2px,
    transparent 2px,
    transparent 20px
  );
}

.project-card-icon {
  font-size: 3.5rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 1;
}

.project-card-body {
  padding: var(--space-xl);
}

.project-card-body h3 {
  font-weight: var(--fw-bold);
  font-size: 1.2rem;
  color: var(--eco-black);
  margin-bottom: var(--space-md);
}

.project-meta {
  display: flex;
  gap: var(--space-sm);
  flex-wrap: wrap;
  margin-bottom: var(--space-md);
}

.project-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--eco-blue);
  background: rgba(0, 129, 194, 0.08);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0, 129, 194, 0.12);
}

.project-chip i {
  color: var(--eco-blue);
  font-size: 0.7rem;
}

.project-card-body > p {
  font-size: 0.9rem;
  color: var(--eco-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-md);
}

.project-badge {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  letter-spacing: 0.1em;
  padding: 6px 16px;
  border-radius: 20px;
  display: inline-block;
}

.project-badge--done {
  background: rgba(134, 223, 117, 0.15);
  color: #3a8a2e;
  border: 1px solid rgba(134, 223, 117, 0.3);
}

.project-badge--progress {
  background: rgba(0, 129, 194, 0.1);
  color: var(--eco-blue);
  border: 1px solid rgba(0, 129, 194, 0.2);
}

/* ------------------------------------------------------------
   14b. OVIEDO PREMIUM CAROUSEL
   ------------------------------------------------------------ */
.oviedo-carousel {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  user-select: none;
  aspect-ratio: 3 / 2;
  height: auto;
}

/* Override la altura fija del card--large solo para el carrusel */
.project-card--large .oviedo-carousel {
  height: auto;
}

.patiobonito-carousel {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  user-select: none;
  height: auto;
  transition: height 0.45s cubic-bezier(0.77, 0, 0.175, 1);
}

.duplicadores-carousel {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  user-select: none;
  aspect-ratio: 3 / 2;
  height: auto;
}

.rotatorio-carousel {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  user-select: none;
  aspect-ratio: 3 / 2;
  height: auto;
}

.multinivel-carousel {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  user-select: none;
  aspect-ratio: 3 / 2;
  height: auto;
}

.zonaempresarial-carousel {
  cursor: pointer;
  overflow: hidden;
  position: relative;
  user-select: none;
  aspect-ratio: 3 / 2;
  height: auto;
}

.solution-card--carousel {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.65s cubic-bezier(0.77, 0, 0.175, 1);
  will-change: transform;
}

.carousel-slide {
  flex: 0 0 100%;
  height: 100%;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
  user-select: none;
}

.carousel-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    transparent 45%,
    rgba(8, 16, 32, 0.6) 100%
  );
  z-index: 1;
  pointer-events: none;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #fff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.25s ease, background 0.25s ease, transform 0.25s ease;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.carousel-btn--prev { left: 14px; }
.carousel-btn--next { right: 14px; }

.oviedo-carousel:hover .carousel-btn,
.patiobonito-carousel:hover .carousel-btn,
.duplicadores-carousel:hover .carousel-btn,
.rotatorio-carousel:hover .carousel-btn,
.multinivel-carousel:hover .carousel-btn,
.zonaempresarial-carousel:hover .carousel-btn {
  opacity: 1;
}

.carousel-btn:hover {
  background: rgba(0, 129, 194, 0.75);
  border-color: transparent;
  transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
  transform: translateY(-50%) scale(0.95);
}

.carousel-btn i {
  font-size: 0.72rem;
  pointer-events: none;
}

.carousel-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 7px;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.35);
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1), background 0.3s ease;
  cursor: pointer;
}

.carousel-dot.active {
  width: 22px;
  background: var(--eco-green);
}

.carousel-dot:hover:not(.active) {
  background: rgba(255, 255, 255, 0.65);
}

.carousel-counter {
  position: absolute;
  bottom: 16px;
  right: 18px;
  z-index: 3;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 0.1em;
  pointer-events: none;
}

/* ------------------------------------------------------------
   14.5 TRUST SECTION (SOCIAL PROOF)
   ------------------------------------------------------------ */
.section--trust {
  background: var(--eco-gray-100);
  padding: 80px 0;
  border-top: 1px solid var(--eco-gray-200);
  border-bottom: 1px solid var(--eco-gray-200);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-xl);
  text-align: center;
}

.trust-item {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.trust-number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: var(--fw-medium);
  color: var(--eco-blue);
  line-height: 1;
}

.trust-small {
  font-size: 0.5em;
  color: var(--eco-green);
}

.trust-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  color: var(--eco-black);
  letter-spacing: 0.15em;
}

/* ------------------------------------------------------------
   15. BENEFITS SECTION
   ------------------------------------------------------------ */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-2xl);
}

.benefit-card {
  background: linear-gradient(135deg, var(--eco-dark-blue), #162d52);
  border-radius: 16px;
  padding: var(--space-2xl) var(--space-xl);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform var(--dur-base) var(--ease-reveal);
  border: 1px solid rgba(0, 129, 194, 0.1);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--eco-blue), var(--eco-green));
  transform: scaleX(0.3);
  transform-origin: left;
  transition: transform var(--dur-base) var(--ease-reveal);
}

.benefit-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 129, 194, 0.06), transparent 70%);
  pointer-events: none;
}

.benefit-card:hover {
  transform: translateY(-6px);
}

.benefit-card:hover::before {
  transform: scaleX(1);
}

.benefit-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(0, 129, 194, 0.15);
  border: 2px solid rgba(0, 129, 194, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--space-lg);
  transition: transform var(--dur-base) var(--ease-reveal), background var(--dur-base);
}

.benefit-card:hover .benefit-icon {
  transform: rotate(8deg) scale(1.08);
  background: rgba(0, 129, 194, 0.25);
}

.benefit-icon i {
  font-size: 1.4rem;
  color: var(--eco-blue);
}

.benefit-number,
.benefit-number-text {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: var(--fw-medium);
  color: var(--eco-green);
  line-height: 1;
  display: inline;
  text-shadow: 0 0 20px rgba(134, 223, 117, 0.3);
}

.benefit-suffix {
  font-family: var(--font-mono);
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--eco-green);
}

.benefit-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  color: var(--eco-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin: var(--space-sm) 0 var(--space-md);
}

.benefit-description {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.benefit-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   16. CTA SECTION
   ------------------------------------------------------------ */
.section--cta {
  background: var(--eco-dark-blue);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    90deg,
    rgba(0, 129, 194, 0.06) 0px,
    rgba(0, 129, 194, 0.06) 60px,
    transparent 60px,
    transparent 68px
  );
  background-size: 68px 100%;
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-heading {
  font-size: clamp(1.75rem, 5vw, 3.5rem);
  font-weight: var(--fw-ultra);
  color: var(--eco-white);
  line-height: 1.1;
  margin-bottom: var(--space-lg);
}

.cta-sub {
  font-size: clamp(0.95rem, 1.2vw, 1.1rem);
  color: rgba(255, 255, 255, 0.7);
  max-width: 600px;
  margin: var(--space-lg) auto var(--space-2xl);
  line-height: 1.7;
}

/* ------------------------------------------------------------
   16b. PROCESO / HOW IT WORKS SECTION
   ------------------------------------------------------------ */
.proceso-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-3xl);
  position: relative;
}

.proceso-step {
  text-align: center;
  position: relative;
}

.proceso-number {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: var(--fw-medium);
  color: rgba(0, 129, 194, 0.1);
  line-height: 1;
  margin-bottom: var(--space-md);
}

.proceso-connector {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--eco-blue), transparent);
  position: absolute;
  top: 2.5rem;
  left: 50%;
  transform: scaleX(0);
  transform-origin: left;
}

.proceso-step:last-child .proceso-connector {
  display: none;
}

.proceso-step h3 {
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  color: var(--eco-black);
  margin-bottom: var(--space-sm);
}

.proceso-step p {
  font-size: 0.9rem;
  color: var(--eco-gray-600);
  line-height: 1.6;
}

/* ------------------------------------------------------------
   17. CONTACT SECTION
   ------------------------------------------------------------ */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: clamp(40px, 6vw, 80px);
  margin-top: var(--space-2xl);
}

.contact-cta-wrapper {
  background: var(--eco-white);
  border-radius: 16px;
  padding: var(--space-2xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(0, 129, 194, 0.06);
}

.contact-cta-title {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  font-weight: var(--fw-ultra);
  color: var(--eco-black);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.contact-cta-desc {
  font-size: 1rem;
  color: var(--eco-gray-600);
  line-height: 1.6;
  margin-bottom: var(--space-2xl);
}

.btn-whatsapp-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-md);
  background: #25d366;
  color: var(--eco-white);
  font-family: var(--font-primary);
  font-weight: var(--fw-bold);
  font-size: 1.1rem;
  padding: 20px 40px;
  border-radius: 50px;
  text-decoration: none;
  transition: transform var(--dur-fast), background var(--dur-fast), box-shadow var(--dur-fast);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp-large:hover {
  transform: translateY(-4px);
  background: #1da855;
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp-large i {
  font-size: 1.5rem;
}

.form-group {
  position: relative;
  margin-bottom: var(--space-lg);
}

.form-group::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--eco-blue), var(--eco-green));
  transition: width 0.4s var(--ease-reveal), left 0.4s var(--ease-reveal);
  box-shadow: 0 0 8px rgba(0, 129, 194, 0.3);
}

.form-group.focused::after {
  width: 100%;
  left: 0;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-lg);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-primary);
  font-size: 0.95rem;
  color: var(--eco-black);
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--eco-gray-200);
  outline: none;
  transition: border-color var(--dur-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--eco-blue);
  box-shadow: 0 1px 0 0 var(--eco-blue);
}

.form-group label {
  position: absolute;
  top: 16px;
  left: 0;
  font-size: 0.9rem;
  color: var(--eco-gray-400);
  pointer-events: none;
  transition: top var(--dur-base) var(--ease-reveal), font-size var(--dur-base) var(--ease-reveal), color var(--dur-base) var(--ease-reveal);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: -8px;
  font-size: 0.7rem;
  color: var(--eco-blue);
  font-weight: var(--fw-medium);
  letter-spacing: 0.05em;
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.contact-info {
  background: var(--eco-gray-100);
  border-radius: 16px;
  padding: var(--space-2xl);
}

.contact-info-block {
  margin-bottom: var(--space-xl);
}

.contact-info-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  color: var(--eco-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-sm);
}

.contact-info p,
.contact-info a {
  font-size: 0.95rem;
  color: var(--eco-gray-600);
  line-height: 1.6;
  text-decoration: none;
  display: block;
}

.contact-info a:hover {
  color: var(--eco-blue);
}

.contact-socials {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-xl) 0;
}

.social-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--eco-blue);
  color: var(--eco-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  line-height: 1;
  text-decoration: none;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.social-icon i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  line-height: 1;
}

.social-icon:hover {
  transform: scale(1.15);
}

.social-icon:hover i {
  animation: wiggle 0.5s ease-in-out;
}

@keyframes wiggle {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-12deg); }
  50% { transform: rotate(10deg); }
  75% { transform: rotate(-5deg); }
  100% { transform: rotate(0deg); }
}

.social-icon--ig:hover {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-icon--yt:hover {
  background: #ff0000;
}

.social-icon--fb:hover {
  background: #1877f2;
}

.social-icon--li:hover {
  background: #0a66c2;
}

.btn-whatsapp {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  width: 100%;
  padding: 16px;
  background: #25d366;
  color: var(--eco-white);
  font-weight: var(--fw-bold);
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 12px;
  transition: background var(--dur-fast), transform var(--dur-fast);
}

.btn-whatsapp:hover {
  background: #1da855;
  transform: scale(1.02);
}

.btn-whatsapp i {
  font-size: 1.3rem;
}

/* ------------------------------------------------------------
   18. FOOTER
   ------------------------------------------------------------ */
.footer {
  background: var(--eco-black);
  color: rgba(255, 255, 255, 0.7);
  padding: var(--space-4xl) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-2xl);
}

.footer-logo {
  font-weight: var(--fw-ultra);
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  color: var(--eco-white);
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-sm);
}

.footer-tagline {
  font-weight: var(--fw-ultra);
  font-size: 0.85rem;
  color: var(--eco-blue);
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: var(--space-md);
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-top: var(--space-md);
}

.footer-col-title {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: var(--fw-medium);
  color: var(--eco-blue);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  display: block;
  margin-bottom: var(--space-lg);
}

.footer-links a {
  display: block;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  padding: 6px 0;
  transition: color var(--dur-fast);
}

.footer-links a:hover {
  color: var(--eco-green);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: var(--space-3xl);
  padding: var(--space-lg) 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
}

.footer-bottom a:hover {
  color: var(--eco-blue);
}

/* ------------------------------------------------------------
   19. WHATSAPP FLOAT
   ------------------------------------------------------------ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--eco-white);
  font-size: 1.8rem;
  text-decoration: none;
  z-index: 90;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  animation: wa-pulse 2s infinite;
  will-change: transform;
}

@keyframes wa-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* ------------------------------------------------------------
   20. NOTIFICATION
   ------------------------------------------------------------ */
.notificacion {
  position: fixed;
  top: 100px;
  right: 24px;
  padding: 16px 24px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  z-index: 9999;
  display: none;
  animation: notif-in 0.4s var(--ease-reveal);
}

.notificacion.success {
  background: var(--eco-green);
  color: var(--eco-black);
}

.notificacion.error {
  background: #ff4d4f;
  color: var(--eco-white);
}

@keyframes notif-in {
  from {
    transform: translateX(100px);
    opacity: 0;
  }
}

/* ------------------------------------------------------------
   21. SCROLL ANIMATION INITIAL STATES
   ------------------------------------------------------------ */
[data-animate] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.001s, transform 0.001s;
}

.no-js [data-animate] {
  opacity: 1;
  transform: none;
}

.title-anim {
  opacity: 1;
  overflow: visible;
}

.split-char {
  display: inline-block;
  line-height: inherit;
  vertical-align: top;
}

/* ------------------------------------------------------------
   22. RESPONSIVE
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .nav-links {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-visual {
    order: -1;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-xl);
  }

  .proceso-timeline {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  [data-hero-phase] {
    opacity: 1;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: var(--space-xl);
    padding: var(--space-lg) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stat {
    padding: 0 var(--space-md);
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid rgba(255, 255, 255, 0.12);
  }

  .hero-stat:last-child {
    border-right: none;
  }

  .stat-number,
  .stat-number-text {
    font-size: clamp(1.5rem, 5.5vw, 2rem);
  }

  .stat-suffix {
    font-size: clamp(1rem, 3.5vw, 1.4rem);
  }

  .stat-label {
    font-size: clamp(0.5rem, 1.8vw, 0.65rem);
    letter-spacing: 0.08em;
    margin-top: var(--space-xs);
  }

  .hero-values {
    flex-wrap: wrap;
  }

  .hero-scroll-indicator {
    display: none;
  }

  .proceso-timeline {
    grid-template-columns: 1fr;
    gap: var(--space-2xl);
  }

  .proceso-connector {
    display: none;
  }

  .solutions-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .project-card--featured {
    max-width: none;
  }

  .benefits-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 60px 0;
  }

  .menu-link {
    font-size: 10vw;
  }
}

/* ------------------------------------------------------------
   22b. MICRO-INTERACTIONS & POLISH
   ------------------------------------------------------------ */

/* Button text-slide hover effect */
.btn-primary,
.btn-ghost,
.btn-green,
.btn-whatsapp-large {
  position: relative;
  overflow: hidden;
}

/* Animated underline on footer links */
.footer-links a {
  position: relative;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--eco-green);
  transition: width 0.4s var(--ease-reveal);
}

.footer-links a:hover::after {
  width: 100%;
}

/* Solution cards glow on hover */
.solution-card:hover {
  box-shadow: 0 20px 50px rgba(0, 129, 194, 0.15), 0 0 0 1px rgba(0, 129, 194, 0.1);
}

/* Benefit card shimmer sweep on hover */
.benefit-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(0, 129, 194, 0.06), transparent 70%);
  pointer-events: none;
  transition: transform 0.8s var(--ease-reveal);
}

.benefit-card:hover::after {
  transform: translate(-20%, 20%);
}

/* Nav link animated dot indicator */
.nav-link.active::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--eco-green);
  animation: navDotPulse 2s ease-in-out infinite;
}

@keyframes navDotPulse {
  0%, 100% { opacity: 1; transform: translateX(-50%) scale(1); }
  50% { opacity: 0.5; transform: translateX(-50%) scale(1.5); }
}

/* Marquee speed-up on hover */
.marquee-strip:hover .marquee-track {
  animation-duration: 10s;
}

/* About feature card hover lift */
.about-feature {
  transition: transform var(--dur-base) var(--ease-reveal), box-shadow var(--dur-base);
}

.about-feature:hover {
  transform: translateX(8px);
  box-shadow: var(--shadow-md);
}

/* Trust numbers glow */
.trust-number {
  transition: text-shadow 0.4s ease;
}

.trust-item:hover .trust-number {
  text-shadow: 0 0 30px rgba(134, 223, 117, 0.5);
}

/* Proceso step hover */
.proceso-step {
  transition: transform var(--dur-base) var(--ease-reveal);
}

.proceso-step:hover {
  transform: translateY(-6px);
}

.proceso-step:hover .proceso-number {
  color: rgba(0, 129, 194, 0.2);
  transition: color 0.4s ease;
}

/* Smooth scroll anchor offset */
html {
  scroll-padding-top: var(--nav-height);
}

/* ------------------------------------------------------------
   23. REDUCED MOTION
   ------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-section {
    height: auto;
    min-height: 100vh;
    min-height: 100svh;
  }

  [data-hero-phase] {
    opacity: 1;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
  }

  .linea-basica span {
    transform: scaleX(1);
  }

  .preloader {
    display: none;
  }

  .menu-overlay {
    transition: none;
  }

  .menu-link {
    opacity: 1;
    transform: none;
    transition: none;
  }

  body::after {
    display: none;
  }

  .marquee-track {
    animation-play-state: paused;
  }
}

/* ------------------------------------------------------------
   24. FOCUS VISIBLE
   ------------------------------------------------------------ */
:focus-visible {
  outline: 2px solid var(--eco-blue);
  outline-offset: 4px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
  outline: none;
}
