/* ============================================
   TULUX - Landing Page
   Liquid Glass Morphism Design
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --radius: 1rem;
  --font-display: 'Poppins', sans-serif;
  --font-serif: 'Source Serif 4', serif;
  --bg-deep: #0A1C3A;
  --bg-base: #0F264F;
  --bg-mid: #122D5C;
  --bg-light: #153468;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-display);
  color: white;
  background: linear-gradient(180deg,
    #1A3A6E 0%,
    #153468 10%,
    #122D5C 25%,
    #0F264F 45%,
    #0C1F42 65%,
    #0A1C3A 80%,
    #081632 100%
  );
  background-attachment: fixed;
  overflow-x: hidden;
}

/* --- Utility --- */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ============================================
   @layer components — Liquid Glass
   ============================================ */
@layer components {

  .liquid-glass {
    background: rgba(255,255,255,0.01);
    background-blend-mode: luminosity;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    border: none;
    box-shadow: inset 0 1px 1px rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
  }

  .liquid-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.4px;
    border-radius: inherit;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.45) 0%,
      rgba(255,255,255,0.15) 20%,
      transparent 40%,
      transparent 60%,
      rgba(255,255,255,0.15) 80%,
      rgba(255,255,255,0.45) 100%
    );
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }

  .liquid-glass-strong {
    background: rgba(255,255,255,0.03);
    background-blend-mode: luminosity;
    backdrop-filter: blur(50px);
    -webkit-backdrop-filter: blur(50px);
    border: none;
    box-shadow:
      4px 4px 4px rgba(0,0,0,0.05),
      inset 0 1px 1px rgba(255,255,255,0.15);
    position: relative;
    overflow: hidden;
  }

  .liquid-glass-strong::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 1.4px;
    border-radius: inherit;
    background: linear-gradient(
      180deg,
      rgba(255,255,255,0.5) 0%,
      rgba(255,255,255,0.2) 20%,
      transparent 40%,
      transparent 60%,
      rgba(255,255,255,0.2) 80%,
      rgba(255,255,255,0.5) 100%
    );
    -webkit-mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    mask:
      linear-gradient(#fff 0 0) content-box,
      linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
  }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative;
  height: 100vh;
  display: flex;
  overflow: hidden;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15,38,79,0.65) 0%,
    rgba(10,28,58,0.4) 50%,
    rgba(15,38,79,0.6) 100%
  );
  z-index: 1;
}

/* Animated gradient orbs for energy feel */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.3;
  z-index: 2;
  pointer-events: none;
  animation: orbFloat 8s ease-in-out infinite;
}

.hero-orb--1 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(251,191,36,0.5) 0%, transparent 70%);
  top: 10%;
  left: -5%;
  animation-delay: 0s;
}

.hero-orb--2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(59,130,246,0.4) 0%, transparent 70%);
  bottom: 10%;
  right: 5%;
  animation-delay: -3s;
}

.hero-orb--3 {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(251,191,36,0.3) 0%, transparent 70%);
  top: 50%;
  left: 40%;
  animation-delay: -5s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.1); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Animated sun rays */
.hero-rays {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  z-index: 2;
  pointer-events: none;
  opacity: 0.12;
  animation: raysRotate 30s linear infinite;
}

@keyframes raysRotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* --- Hero Layout: Two-Panel Split --- */
.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

/* --- Left Panel --- */
.hero-left {
  width: 100%;
  max-width: 850px;
  height: calc(100% + 1rem);
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 0.5rem 1.5rem;
}

.hero-left-glass {
  width: 100%;
  flex: 1;
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  padding: 1.5rem 2rem 1.5rem;
}

/* Nav */
.hero-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.hero-nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: white;
}

.hero-nav-logo img {
  height: 48px;
  width: auto;
}

.hero-nav-logo span {
  display: none;
}

.hero-nav-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.2s;
}

.hero-nav-menu:hover {
  transform: scale(1.05);
}

.hero-nav-menu svg {
  width: 18px;
  height: 18px;
}

/* Hero Center Content */
.hero-center {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 1.25rem;
  padding-top: 1rem;
}

.hero-logo-big {
  width: 50px;
  height: 50px;
  border-radius: 0.75rem;
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.05em;
  color: white;
  margin-bottom: 1rem;
}

.hero-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.8);
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
}

.hero-cta:hover {
  transform: scale(1.05);
}

.hero-cta:active {
  transform: scale(0.95);
}

.hero-cta-icon {
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-cta-icon svg {
  width: 14px;
  height: 14px;
}

/* Hero Pills */
.hero-pills {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.hero-pill {
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
}

/* Hero Divider */
.hero-divider {
  width: 100%;
  border: none;
  border-top: 1px solid rgba(251,208,8,0.15);
  margin: 0;
}

/* Hero Bottom Quote */
.hero-bottom {
  margin-top: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.hero-bottom-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(251,208,8,0.45);
}

.hero-bottom-quote {
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  font-weight: 400;
}

.hero-bottom-quote em {
  font-family: var(--font-serif);
  font-style: italic;
}

.hero-bottom-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}

.hero-bottom-author::before,
.hero-bottom-author::after {
  content: '';
  width: 2rem;
  height: 1px;
  background: rgba(251,208,8,0.25);
}

.hero-socials-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 1rem;
}

.hero-socials {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.4rem 0.6rem;
  border-radius: 9999px;
}

.hero-social-link {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: color 0.2s;
}

.hero-social-link:hover {
  color: rgba(255,255,255,0.8);
}

.hero-social-link svg {
  width: 14px;
  height: 14px;
}

.hero-account-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.8rem;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.2s;
}

.hero-account-btn:hover {
  transform: scale(1.05);
}

.hero-account-btn svg {
  width: 16px;
  height: 16px;
}

/* Community Card */
.hero-community-card {
  width: 14rem;
  padding: 1.25rem;
  border-radius: 1.25rem;
  align-self: flex-end;
  text-decoration: none;
  color: white;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-community-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 25px rgba(251, 208, 8, 0.2);
}

.hero-community-card h3 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.3rem;
}

.hero-community-card p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* Right Bottom Features */
.hero-features {
  margin-top: auto;
  border-radius: 2.5rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-features-row {
  display: flex;
  gap: 0.75rem;
}

.hero-feature-card {
  flex: 1;
  padding: 1.25rem;
  border-radius: 1.5rem;
}

.hero-feature-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
}

.hero-feature-icon svg {
  width: 14px;
  height: 14px;
}

.hero-feature-card h4 {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.hero-feature-card p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.4;
}

/* Bottom Full Card */
.hero-feature-full {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border-radius: 1.5rem;
}

.hero-feature-full img {
  width: 96px;
  height: 64px;
  object-fit: cover;
  border-radius: 0.75rem;
}

.hero-feature-full-text {
  flex: 1;
}

.hero-feature-full-text h4 {
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 0.2rem;
}

.hero-feature-full-text p {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.6);
}

.hero-feature-plus {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: white;
  cursor: pointer;
  transition: transform 0.2s;
  flex-shrink: 0;
}

.hero-feature-plus:hover {
  transform: scale(1.05);
}

/* ============================================
   GLOBAL SECTION STYLES
   ============================================ */
section {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}

section .section-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

section .section-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

section .container {
  position: relative;
  z-index: 10;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(251,208,8,0.5);
  margin-bottom: 1rem;
  display: block;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: white;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-title em {
  font-family: var(--font-serif);
  font-style: italic;
  color: rgba(255,255,255,0.8);
}

.section-subtitle {
  font-size: 1rem;
  color: rgba(255,255,255,0.6);
  margin-top: 1rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

/* ============================================
   QUIENES SOMOS
   ============================================ */
.about {
  background: transparent;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}

.about-card {
  padding: 2.5rem;
  border-radius: 2rem;
}

.about-stat {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.about-stat-number {
  font-size: 3.5rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  color: rgba(251,208,8,0.7);
}

.about-stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.about-card p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.about-highlight {
  padding: 1.5rem;
  border-radius: 1.25rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-highlight-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(251,208,8,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.about-highlight-icon svg {
  color: rgba(251,208,8,0.6);
}

.about-highlight-icon svg {
  width: 16px;
  height: 16px;
}

.about-highlight h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.about-highlight p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ============================================
   COMO FUNCIONA
   ============================================ */
.process {
  background: transparent;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  counter-reset: step;
}

.process-step {
  padding: 2rem 1.5rem;
  border-radius: 1.5rem;
  text-align: center;
  counter-increment: step;
  transition: transform 0.3s, box-shadow 0.3s;
}

.process-step:hover {
  transform: scale(1.05) translateY(-4px);
  box-shadow:
    0 0 20px rgba(251,208,8,0.15),
    0 0 40px rgba(251,208,8,0.08),
    0 8px 32px rgba(0,0,0,0.2);
}

.process-step:hover .process-step-number {
  color: rgba(251,208,8,0.8);
}

.process-step:hover .process-step-icon {
  background: rgba(251,208,8,0.15);
  box-shadow: 0 0 15px rgba(251,208,8,0.2);
}

.process-step-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: rgba(251,208,8,0.4);
  margin-bottom: 1rem;
  letter-spacing: -0.04em;
}

.process-step-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  transition: background 0.3s, box-shadow 0.3s;
}

.process-step-icon svg {
  width: 18px;
  height: 18px;
  color: rgba(255,255,255,0.8);
}

.process-step h3 {
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

/* ============================================
   VIDEO SHOWCASE
   ============================================ */
.video-showcase {
  background: transparent;
}

.video-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.video-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.video-info-accent {
  width: 3.5rem;
  height: 3px;
  background: linear-gradient(90deg, rgba(251, 208, 8, 0.8), rgba(251, 208, 8, 0.1));
  border-radius: 2px;
}

.video-info-text {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
}

.video-info-stats {
  display: flex;
  gap: 2rem;
}

.video-info-stat {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.video-info-stat strong {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  color: rgba(251, 208, 8, 0.7);
}

.video-info-stat span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.video-info-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.85rem 1.5rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  width: fit-content;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-info-btn:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 25px rgba(251, 208, 8, 0.35),
    0 0 50px rgba(251, 208, 8, 0.15);
}

.video-preview {
  position: relative;
  border-radius: 2rem;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3),
              0 0 40px rgba(251, 208, 8, 0.04);
}

.video-preview-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-preview-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 28, 58, 0.45);
  transition: background 0.5s ease;
}

.video-preview:hover .video-preview-overlay {
  background: rgba(10, 28, 58, 0.25);
}

.video-play-btn {
  position: relative;
  z-index: 2;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              background 0.5s ease,
              border-color 0.5s ease;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.video-play-btn svg {
  width: 1.25rem;
  height: 1.25rem;
  margin-left: 3px;
}

.video-preview:hover .video-play-btn {
  transform: scale(1.15);
  background: rgba(251, 208, 8, 0.15);
  border-color: rgba(251, 208, 8, 0.4);
  box-shadow: 0 0 30px rgba(251, 208, 8, 0.2),
              0 0 60px rgba(251, 208, 8, 0.08);
}

/* Video Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.video-modal.active {
  opacity: 1;
  pointer-events: all;
}

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: pointer;
}

.video-modal-content {
  position: relative;
  width: auto;
  max-width: 520px;
  max-height: 85vh;
  border-radius: 1.5rem;
  overflow: hidden;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-content {
  transform: scale(1) translateY(0);
}

.video-modal-player {
  width: 100%;
  max-height: 85vh;
  display: block;
  border-radius: 1.5rem;
}

.video-modal-close {
  position: absolute;
  top: -3rem;
  right: 0;
  z-index: 10;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: white;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.3s ease;
}

.video-modal-close:hover {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.3);
}

/* ============================================
   CALCULADORA
   ============================================ */
.calculator {
  background: transparent;
}

.calculator-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 3rem;
  border-radius: 2rem;
  overflow: visible;
}

.calculator-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.calculator-field label {
  display: block;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.calculator-field input {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-family: var(--font-display);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.calculator-field input:focus {
  border-color: rgba(255,255,255,0.3);
}

.calculator-field input::placeholder {
  color: rgba(255,255,255,0.3);
}

/* Custom Select */
.custom-select {
  position: relative;
}

.custom-select-trigger {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-family: var(--font-display);
  font-size: 0.95rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: border-color 0.3s ease;
}

.custom-select-trigger:hover {
  border-color: rgba(255,255,255,0.25);
}

.custom-select.open .custom-select-trigger {
  border-color: rgba(255,255,255,0.3);
  border-radius: 1rem 1rem 0 0;
}

.custom-select-trigger svg {
  transition: transform 0.3s ease;
  opacity: 0.5;
}

.custom-select.open .custom-select-trigger svg {
  transform: rotate(180deg);
}

.custom-select-options {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 20;
  background: rgba(12, 25, 50, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-top: none;
  border-radius: 0 0 1rem 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.3),
              inset 0 1px 1px rgba(255, 255, 255, 0.08);
  overflow: hidden;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.custom-select.open .custom-select-options {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.custom-select-option {
  padding: 0.85rem 1.2rem;
  cursor: pointer;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.55);
  transition: background 0.2s ease, color 0.2s ease;
}

.custom-select-option:hover {
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.custom-select-option.selected {
  color: rgba(251, 208, 8, 0.8);
  font-weight: 500;
}

.calculator-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  transition: transform 0.2s;
  align-self: center;
}

.calculator-btn:hover {
  transform: scale(1.05);
}

.calculator-btn:active {
  transform: scale(0.95);
}

.calculator-result {
  display: none;
  padding: 2rem;
  border-radius: 1.5rem;
  margin-top: 1.5rem;
  text-align: center;
}

.calculator-result.active {
  display: block;
}

.calculator-result-amount {
  font-size: 3rem;
  font-weight: 600;
  letter-spacing: -0.04em;
  margin-bottom: 0.5rem;
  color: rgba(251,208,8,0.85);
}

.calculator-result-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

.calculator-result-details {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.calculator-result-detail {
  text-align: center;
}

.calculator-result-detail strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 500;
}

.calculator-result-detail span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================
   PROYECTOS
   ============================================ */
.projects {
  background: transparent;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.project-card {
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s;
}

.project-card:hover {
  transform: scale(1.03);
}

.project-card-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.project-card-info {
  padding: 1.25rem;
}

.project-card-info h3 {
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.project-card-info p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
}

.project-card-tag {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: 9999px;
  font-size: 0.65rem;
  color: rgba(251,208,8,0.7);
  background: rgba(251,208,8,0.1);
  margin-top: 0.5rem;
}

/* ============================================
   CLIENTES
   ============================================ */
.clients {
  background: transparent;
  padding: 4rem 0;
}

.clients-carousel {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: scroll-logos 20s linear infinite;
}

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

.client-logo {
  padding: 1.5rem 2.5rem;
  border-radius: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.client-logo:hover {
  transform: scale(1.05);
  background: rgba(255,255,255,0.12);
}

.client-logo img {
  height: 55px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: none;
  opacity: 0.5;
  transition: opacity 0.3s;
}

.client-logo:hover img {
  opacity: 1;
}

/* ============================================
   BLOG
   ============================================ */
.blog {
  background: transparent;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.blog-grid--3 {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}

.blog-card {
  padding: 2rem;
  border-radius: 1.5rem;
  transition: transform 0.2s;
}

.blog-card:hover {
  transform: scale(1.03);
}

.blog-card-tag {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(251,208,8,0.5);
  margin-bottom: 0.75rem;
  display: block;
}

.blog-card h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.blog-card p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  line-height: 1.6;
}

.blog-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1rem;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  transition: color 0.2s;
}

.blog-card-link:hover {
  color: white;
}

.blog-card-link svg {
  width: 14px;
  height: 14px;
}

/* ============================================
   CONTACTO
   ============================================ */
.contact {
  background: transparent;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  padding: 2.5rem;
  border-radius: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info h3 {
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: -0.03em;
}

.contact-info-item {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
}

.contact-info-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(251,208,8,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-icon svg {
  width: 14px;
  height: 14px;
  color: rgba(251,208,8,0.6);
}

.contact-info-item span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  line-height: 1.5;
}

.contact-info-item a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-info-item a:hover {
  color: white;
}

.contact-form-card {
  padding: 2.5rem;
  border-radius: 2rem;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  border-radius: 1rem;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  color: white;
  font-family: var(--font-display);
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(255,255,255,0.3);
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255,255,255,0.3);
}

.contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: 9999px;
  color: white;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  transition: transform 0.2s;
}

.contact-submit:hover {
  transform: scale(1.05);
}

.contact-submit:active {
  transform: scale(0.95);
}

/* WhatsApp Float */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  cursor: pointer;
  transition: transform 0.2s;
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}

.whatsapp-float:hover {
  transform: scale(1.1);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
  fill: white;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: transparent;
  padding: 3rem 0 2rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: white;
}

.footer-logo img {
  height: 30px;
  width: auto;
}

.footer-logo span {
  display: none;
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  width: 100%;
  text-align: center;
  font-size: 0.7rem;
  color: rgba(255,255,255,0.3);
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(251,208,8,0.1);
}

.footer-powered {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.15rem;
  font-size: 0.55rem;
  color: rgba(255, 255, 255, 0.4) !important;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: lowercase;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.3s ease, background 0.3s ease;
}

.footer-powered:visited,
.footer-powered:link,
.footer-powered:active {
  color: rgba(255, 255, 255, 0.4) !important;
}

.footer-powered:hover {
  color: rgba(255, 255, 255, 0.6) !important;
  background: rgba(255, 255, 255, 0.06);
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(15,38,79,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mobile-nav.active {
  opacity: 1;
  pointer-events: all;
}

.mobile-nav a {
  font-size: 1.5rem;
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.mobile-nav a:hover {
  color: white;
}

.mobile-nav-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: white;
  border: none;
  font-size: 1.2rem;
}

/* ============================================
   SCROLL REVEAL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   CTA GLOW PULSE
   ============================================ */
.hero-cta,
.calculator-btn,
.contact-submit {
  position: relative;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-cta:hover,
.calculator-btn:hover,
.contact-submit:hover {
  box-shadow:
    0 0 25px rgba(251, 208, 8, 0.35),
    0 0 50px rgba(251, 208, 8, 0.15);
}

/* ============================================
   PROJECT CARD HOVER GLOW
   ============================================ */
.project-card {
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.project-card:hover {
  box-shadow:
    0 0 20px rgba(251, 208, 8, 0.12),
    0 0 40px rgba(251, 208, 8, 0.06),
    0 8px 32px rgba(0, 0, 0, 0.2);
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* --- Tablet (max 1023px) --- */
@media (max-width: 1023px) {
  .hero-left {
    width: 100%;
  }

  .hero-left-glass {
    inset: 0.5rem;
    padding: 1.25rem 1.5rem 1.5rem;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 3rem);
  }

  .hero-nav {
    margin-bottom: 1rem;
  }

  .hero-rays {
    width: 350px;
    height: 350px;
  }
}

/* --- Mobile landscape / small tablet (max 768px) --- */
@media (max-width: 768px) {
  .video-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .video-info {
    text-align: center;
    align-items: center;
  }

  .video-info .section-title {
    text-align: center !important;
  }

  .video-info-accent {
    align-self: center;
  }

  .video-info-stats {
    justify-content: center;
  }

  .video-preview {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1 / 1;
  }

  .video-modal-content {
    max-width: 90vw;
  }

  .blog-grid--3 {
    grid-template-columns: 1fr;
  }

  section {
    padding: 3.5rem 0;
  }

  .section-header {
    margin-bottom: 2.5rem;
  }

  .section-title {
    font-size: clamp(1.6rem, 6vw, 2.2rem);
    max-width: 100%;
  }

  .section-subtitle {
    font-size: 0.9rem;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .about-card {
    padding: 1.75rem;
  }

  .about-stat-number {
    font-size: 2.5rem;
  }

  .about-highlight {
    padding: 1.25rem;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }

  .process-step {
    padding: 1.5rem 1rem;
  }

  .process-step-number {
    font-size: 2rem;
  }

  .calculator-card {
    padding: 2rem 1.5rem;
  }

  .projects-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .project-card-img {
    height: 160px;
  }

  .clients-track {
    gap: 1rem;
  }

  .client-logo {
    padding: 1rem 1.5rem;
  }

  .client-logo img {
    height: 40px;
    max-width: 120px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .blog-card {
    padding: 1.5rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .contact-info,
  .contact-form-card {
    padding: 1.75rem;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .whatsapp-float {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 3rem;
    height: 3rem;
  }

  .whatsapp-float svg {
    width: 20px;
    height: 20px;
  }
}

/* --- Mobile portrait (max 480px) --- */
@media (max-width: 480px) {
  .hero {
    height: 100svh;
  }

  .hero-left-glass {
    inset: 0.35rem;
    padding: 1rem 1rem 1.25rem;
    border-radius: 1.25rem;
  }

  .hero-nav {
    margin-bottom: 0.75rem;
  }

  .hero-nav-logo img {
    height: 28px;
  }

  .hero-nav-menu {
    font-size: 0.8rem;
    padding: 0.4rem 0.75rem;
  }

  .hero-center {
    gap: 1rem;
    padding-top: 0.5rem;
  }

  .hero-title {
    font-size: clamp(1.75rem, 9vw, 2.5rem);
  }

  .hero-cta {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }

  .hero-pills {
    gap: 0.35rem;
  }

  .hero-pill {
    padding: 0.3rem 0.75rem;
    font-size: 0.65rem;
  }

  .hero-bottom {
    gap: 0.35rem;
  }

  .hero-bottom-quote {
    font-size: 0.85rem;
  }

  .hero-orb--1 {
    width: 200px;
    height: 200px;
  }

  .hero-orb--2 {
    width: 150px;
    height: 150px;
  }

  .hero-orb--3 {
    display: none;
  }

  .hero-rays {
    width: 250px;
    height: 250px;
    top: -10%;
    right: -15%;
  }

  section {
    padding: 3rem 0;
  }

  .container {
    padding: 0 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .process-steps {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .process-step {
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-align: left;
  }

  .process-step-number {
    font-size: 1.5rem;
    margin-bottom: 0;
    flex-shrink: 0;
  }

  .process-step-icon {
    display: none;
  }

  .process-step h3 {
    margin-bottom: 0.15rem;
  }

  .projects-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .project-card-img {
    height: 200px;
  }

  .clients-track {
    gap: 0.75rem;
  }

  .client-logo {
    padding: 1.25rem;
  }

  .calculator-result-details {
    flex-direction: column;
    gap: 1rem;
  }

  .contact-info,
  .contact-form-card {
    padding: 1.5rem;
    border-radius: 1.5rem;
  }

  .contact-info h3 {
    font-size: 1.2rem;
  }

  .footer-logo img {
    height: 24px;
  }

  .footer-links {
    gap: 0.75rem;
  }

  .footer-links a {
    font-size: 0.75rem;
  }

  /* Video section mobile */
  .video-split {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .video-info {
    text-align: center;
    align-items: center;
  }

  .video-info .section-title {
    text-align: center !important;
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .video-info-accent {
    align-self: center;
  }

  .video-info-text {
    font-size: 0.9rem;
  }

  .video-info-stats {
    justify-content: center;
    gap: 1.5rem;
  }

  .video-info-stat strong {
    font-size: 1.2rem;
  }

  .video-info-stat span {
    font-size: 0.65rem;
  }

  .video-info-btn {
    font-size: 0.85rem;
    padding: 0.75rem 1.25rem;
  }

  .video-preview {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    border-radius: 1.5rem;
    aspect-ratio: 1 / 1;
  }

  .video-play-btn {
    width: 3.5rem;
    height: 3.5rem;
  }

  .video-play-btn svg {
    width: 1rem;
    height: 1rem;
  }

  .video-modal-content {
    max-width: 92vw;
    max-height: 80vh;
  }

  .video-modal-player {
    max-height: 80vh;
  }

  .video-modal-close {
    top: -2.5rem;
  }

  /* Blog 3-col to 1-col */
  .blog-grid--3 {
    grid-template-columns: 1fr;
  }

  /* Calculator overflow fix */
  .custom-select-options {
    position: relative;
    border-radius: 0 0 1rem 1rem;
  }

  /* Prevent iOS zoom on focus (needs 16px minimum) */
  .contact-form input,
  .contact-form textarea,
  .calculator-field input,
  .custom-select-trigger {
    font-size: 16px;
  }

  /* Footer powered */
  .footer-powered {
    font-size: 0.5rem;
    padding: 0.35rem 0.75rem;
  }
}

/* --- Reduced motion --- */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .hero-cta,
  .calculator-btn,
  .contact-submit {
    animation: none;
  }
}
