/*
Theme Name: Trendex Studio
Theme URI: https://trendexstudio.com
Author: Trendex Studio
Description: Tema oficial de Trendex Studio — Agencia de Marketing Digital en Barcelona.
Version: 10.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: Proprietary
Text Domain: trendex-studio
*/
/* ── RESET & ROOT ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

:root {
  --black:      #0A0A0F;
  --white:      #FFFFFF;
  --blue-light: #edf2f7;
  --blue:       #0009F1;
  --blue-mid:   #3B4FFF;
  --blue-soft:  rgba(0,9,241,0.08);
  --blue-glow:  rgba(0,9,241,0.35);
  --surface:    rgba(255,255,255,0.04);
  --border:     rgba(255,255,255,0.10);
  --text-muted: rgba(255,255,255,0.52);
  --radius-sm:  10px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--black);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── BACKGROUND MESH ── */
.bg-mesh {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(ellipse 80% 60% at 70% -10%, rgba(0,9,241,0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(0,9,241,0.10) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 90% 60%, rgba(59,79,255,0.07) 0%, transparent 50%);
  animation: meshShift 18s ease-in-out infinite alternate;
}
@keyframes meshShift {
  0%   { opacity: 1; }
  50%  { opacity: 0.75; }
  100% { opacity: 1; }
}

/* ── NOISE TEXTURE ── */
.bg-noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 48px;
  display: flex; align-items: center; justify-content: space-between;
  transition: all 0.35s ease;
  background: rgba(10,10,15,0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255,255,255,0.07);
}
nav.scrolled {
  padding: 14px 48px;
  background: rgba(6,6,10,0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 4px 32px rgba(0,0,0,0.45);
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none;
}
.nav-logo-icon {
  width: 36px; height: 36px;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,9,241,0.3), 0 4px 18px rgba(0,9,241,0.45);
}
.nav-logo-icon img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.nav-logo-text {
  font-size: 15px; font-weight: 700; color: #fff; letter-spacing: -0.3px;
}
.nav-logo-text span { color: var(--blue); }
.nav-center { display: flex; gap: 4px; }
.nav-center a {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; padding: 7px 14px; border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.nav-center a:hover { background: var(--surface); color: #fff; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.btn-nav-ghost {
  font-size: 13px; font-weight: 500; color: var(--text-muted);
  text-decoration: none; padding: 8px 16px; border-radius: 9px;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.btn-nav-ghost:hover { color: #fff; border-color: rgba(255,255,255,0.25); }
.btn-nav-primary {
  font-size: 13px; font-weight: 600; color: #fff;
  text-decoration: none; padding: 9px 18px; border-radius: 9px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  box-shadow: 0 2px 12px rgba(0,9,241,0.35);
  transition: all 0.2s; border: 1px solid rgba(255,255,255,0.1);
}
.btn-nav-primary:hover { transform: translateY(-1px); box-shadow: 0 6px 20px rgba(0,9,241,0.45); }

/* ── HERO ── */
.hero {
  position: relative; z-index: 1;
  min-height: 100vh;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 160px 48px 100px;
  text-align: center;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,9,241,0.12);
  border: 1px solid rgba(0,9,241,0.3);
  border-radius: 100px;
  padding: 6px 14px 6px 8px;
  font-size: 12px; font-weight: 500; color: #9eb3ff;
  margin-bottom: 28px;
  animation: fadeUp 0.6s 0.1s both;
}
.hero-badge-pulse {
  position: relative;
  width: 10px; height: 10px;
  flex-shrink: 0;
}
.hero-badge-pulse::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--blue);
}
.hero-badge-pulse::after {
  content: '';
  position: absolute;
  top: -4px; left: -4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0,9,241,0.35);
  animation: dotPulse 1.8s ease-out infinite;
}
@keyframes dotPulse {
  0%   { transform: scale(0.5); opacity: 0.8; }
  100% { transform: scale(1.6); opacity: 0; }
}

.hero-h1 {
  font-size: clamp(48px, 7.5vw, 112px);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeUp 0.7s 0.2s both;
}
.hero-h1 .grad {
  background: linear-gradient(135deg, var(--blue) 0%, #6B7FFF 50%, #FFFFFF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  max-width: 540px; margin: 0 auto 40px;
  font-size: 17px; font-weight: 400; line-height: 1.7;
  color: var(--text-muted);
  animation: fadeUp 0.7s 0.3s both;
}
.hero-sub strong { color: rgba(255,255,255,0.85); font-weight: 600; }

.hero-cta-group {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  animation: fadeUp 0.7s 0.4s both;
}
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff; text-decoration: none;
  padding: 14px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 4px 20px rgba(0,9,241,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.25s; border: 1px solid rgba(255,255,255,0.1);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,9,241,0.5); }
.btn-primary .arrow { transition: transform 0.2s; }
.btn-primary:hover .arrow { transform: translateX(3px); }
.btn-secondary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--surface); backdrop-filter: blur(10px);
  border: 1px solid var(--border); color: rgba(255,255,255,0.8);
  text-decoration: none; padding: 14px 28px; border-radius: 12px;
  font-size: 14px; font-weight: 500;
  transition: all 0.25s;
}
.btn-secondary:hover { border-color: rgba(255,255,255,0.2); color: #fff; background: rgba(255,255,255,0.07); }

/* Hero social proof */
.hero-social-proof {
  display: flex; align-items: center; gap: 14px;
  margin-top: 52px;
  animation: fadeUp 0.7s 0.5s both;
}
.hero-avatars { display: flex; }
.hero-avatars span {
  width: 32px; height: 32px; border-radius: 50%;
  border: 2px solid var(--black);
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: #fff;
  margin-left: -8px;
}
.hero-avatars span:first-child { margin-left: 0; }
.a1 { background: linear-gradient(135deg,#0009F1,#3B4FFF); }
.a2 { background: linear-gradient(135deg,#4F46E5,#7C3AED); }
.a3 { background: linear-gradient(135deg,#0891B2,#06B6D4); }
.a4 { background: linear-gradient(135deg,#059669,#10B981); }
.hero-proof-text { font-size: 13px; color: var(--text-muted); max-width: 320px; line-height: 1.5; }
.hero-proof-text strong { color: rgba(255,255,255,0.8); }
.hero-service-icons { display: flex; gap: 6px; }
.hsi {
  width: 32px; height: 32px;
  border-radius: 8px;
  background: rgba(0,9,241,0.15);
  border: 1px solid rgba(0,9,241,0.35);
  display: flex; align-items: center; justify-content: center;
  color: #9eb3ff;
  flex-shrink: 0;
}

/* Hero cards */
.hero-cards {
  display: flex; gap: 12px; justify-content: center; flex-wrap: wrap;
  margin-top: 64px;
  animation: fadeUp 0.7s 0.6s both;
}
.hero-stat-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 26px;
  text-align: left; min-width: 140px;
  transition: all 0.3s;
}
.hero-stat-card:hover { border-color: rgba(0,9,241,0.4); background: rgba(0,9,241,0.06); transform: translateY(-2px); }
.hero-stat-num {
  font-size: 28px; font-weight: 800; letter-spacing: -0.04em;
  background: linear-gradient(135deg,#fff,rgba(255,255,255,0.7));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }

/* ── SECTION WRAPPER ── */
.section { position: relative; z-index: 1; padding: 100px 48px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(0,9,241,0.1); border: 1px solid rgba(0,9,241,0.25);
  border-radius: 100px; padding: 5px 12px;
  font-size: 11px; font-weight: 600; color: #9eb3ff; letter-spacing: 0.5px; text-transform: uppercase;
  margin-bottom: 16px;
}
.section-label::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.h2-section {
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.1;
}
.h2-section .grad {
  background: linear-gradient(135deg, var(--blue) 0%, #6B7FFF 60%, #FFFFFF 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-sub {
  font-size: 16px; font-weight: 400; line-height: 1.7; color: var(--text-muted);
  max-width: 480px;
}

/* ── ABOUT ── */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.about-text { margin-top: 20px; font-size: 16px; line-height: 1.8; color: var(--text-muted); }
.about-text p + p { margin-top: 14px; }
.about-text strong { color: rgba(255,255,255,0.9); font-weight: 600; }
.about-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 44px;
  position: relative; overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  cursor: default;
}
.about-card:hover {
  transform: scale(1.02);
  border-color: rgba(0,9,241,0.45);
  background: rgba(0,9,241,0.07);
  box-shadow: 0 16px 48px rgba(0,9,241,0.18);
}
.about-card::before {
  content: '';
  position: absolute; top: -80px; right: -80px;
  width: 220px; height: 220px;
  background: radial-gradient(circle, rgba(0,9,241,0.2), transparent 70%);
  pointer-events: none;
}
.about-card-tag {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(0,9,241,0.15); border: 1px solid rgba(0,9,241,0.3);
  border-radius: 100px; padding: 4px 10px;
  font-size: 10px; font-weight: 700; color: #9eb3ff; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 20px;
}
.about-card-quote {
  font-size: 20px; font-weight: 700; line-height: 1.4; letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.about-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 100px; padding: 6px 14px;
  font-size: 12px; font-weight: 500; color: rgba(255,255,255,0.75);
}

/* ── SERVICES ── */
.services-section { background: transparent; }
.services-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 48px; gap: 24px; }
.services-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.srv-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  transition: all 0.3s; cursor: default;
  position: relative; overflow: hidden;
  group: true;
}
.srv-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,9,241,0.08), transparent 60%);
  opacity: 0; transition: opacity 0.3s; border-radius: var(--radius-lg);
}
.srv-card:hover { border-color: rgba(0,9,241,0.4); transform: translateY(-4px); box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,9,241,0.15); }
.srv-card:hover::after { opacity: 1; }
.srv-icon-wrap {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
  box-shadow: 0 4px 14px rgba(0,9,241,0.3);
  position: relative; z-index: 1;
}
.srv-name {
  font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px;
  position: relative; z-index: 1;
}
.srv-desc {
  font-size: 13px; font-weight: 400; line-height: 1.65; color: var(--text-muted);
  position: relative; z-index: 1;
}
.srv-tags {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin-top: 20px;
  position: relative; z-index: 1;
}
.srv-tag {
  display: inline-flex; align-items: center;
  border: 1px solid rgba(0,9,241,0.45);
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 11px; font-weight: 600;
  color: #9eb3ff;
  background: rgba(0,9,241,0.08);
  letter-spacing: 0.2px;
  transition: background 0.2s, border-color 0.2s;
}
.srv-card:hover .srv-tag {
  background: rgba(0,9,241,0.14);
  border-color: rgba(0,9,241,0.7);
}

/* ── MARQUEE ── */
.marquee-section {
  position: relative; z-index: 1;
  padding: 28px 0; overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.marquee-track {
  display: flex; gap: 0;
  animation: marquee 28s linear infinite;
  width: max-content;
}
.marquee-item {
  display: flex; align-items: center; gap: 48px;
  font-size: 13px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase;
  color: var(--text-muted); white-space: nowrap; padding-right: 48px;
}
.marquee-sep { color: var(--blue); font-size: 6px; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee-track { animation-duration: 45s; }

/* ── WHY US ── */
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 48px; }
.why-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: all 0.3s;
}
.why-card.in {
  transition: transform 0.45s cubic-bezier(0.22,1,0.36,1), border-color 0.45s ease, background 0.45s ease;
}
.why-card:hover { border-color: rgba(0,9,241,0.35); background: rgba(0,9,241,0.06); transform: translateY(-3px); }
.why-icon { font-size: 24px; margin-bottom: 14px; display: block; }
.why-title { font-size: 15px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 8px; }
.why-text { font-size: 13px; line-height: 1.65; color: var(--text-muted); }

/* ── WHY CARD ACCORDION (mobile) ── */
.why-card-header {
  display: none; /* hidden on desktop */
}
.why-card-body { display: block; }

@media (max-width: 1024px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-card {
    padding: 0;
    overflow: hidden;
    cursor: pointer;
  }
  .why-card-header {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 20px;
    width: 100%;
    cursor: pointer;
    text-align: left;
    color: inherit;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
  }
  .why-card-header:focus,
  .why-card-header:focus-visible,
  .why-card-header:active {
    outline: none;
    box-shadow: none;
    background: transparent;
  }
  .why-card-header .why-icon {
    font-size: 20px;
    margin-bottom: 0;
    flex-shrink: 0;
  }
  .why-card-header .why-title {
    flex: 1;
    margin-bottom: 0;
    font-size: 14px;
  }
  .why-chevron {
    flex-shrink: 0;
    color: var(--blue);
    transition: transform 0.35s ease;
    line-height: 1;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .why-card.open .why-chevron { transform: rotate(180deg); }
  .why-card-body {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.35s ease;
  }
  .why-card.open .why-card-body { grid-template-rows: 1fr; }
  .why-card-body-inner {
    overflow: hidden;
    padding: 0 20px;
  }
  .why-card.open .why-card-body-inner { padding: 0 20px 18px; }
  .why-card-body .why-text { font-size: 13px; }
  /* Hide original icon/title on mobile - shown in header */
  .why-card > .why-icon,
  .why-card > .why-title { display: none; }
}

/* ── PROCESS ── */
.process-section { }
.process-header { text-align: center; margin-bottom: 64px; }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.proc-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center; transition: all 0.3s;
  position: relative;
}
.proc-card:hover { border-color: rgba(0,9,241,0.4); transform: translateY(-4px); }
.proc-connector {
  position: absolute; top: 50%; right: -24px;
  width: 32px; height: 2px;
  background: linear-gradient(to right, rgba(0,9,241,0.5), rgba(0,9,241,0.1));
  z-index: 2;
}
.proc-card:last-child .proc-connector { display: none; }
.proc-num-badge {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; font-weight: 800; color: #fff; letter-spacing: -0.04em;
  margin: 0 auto 20px;
  box-shadow: 0 4px 16px rgba(0,9,241,0.35);
}
.proc-title { font-size: 17px; font-weight: 700; letter-spacing: -0.02em; margin-bottom: 10px; }
.proc-desc { font-size: 13px; line-height: 1.65; color: var(--text-muted); }

/* ── CTA BANNER ── */
.cta-banner {
  position: relative; z-index: 1;
  margin: 0 48px 0;
  background: linear-gradient(135deg, rgba(0,9,241,0.9), rgba(59,79,255,0.85));
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-xl);
  padding: 72px 80px;
  display: flex; align-items: center; justify-content: space-between; gap: 40px;
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute; top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 65%);
}
.cta-banner::after {
  content: '';
  position: absolute; bottom: -80px; left: 40%;
  width: 250px; height: 250px;
  background: radial-gradient(circle, rgba(255,255,255,0.06), transparent 65%);
}
.cta-banner-left { position: relative; z-index: 1; }
.cta-banner-title { font-size: clamp(26px,3vw,42px); font-weight: 800; letter-spacing: -0.04em; line-height: 1.15; margin-bottom: 12px; }
.cta-banner-sub { font-size: 15px; color: rgba(255,255,255,0.72); line-height: 1.65; max-width: 440px; }
.cta-banner-right { position: relative; z-index: 1; flex-shrink: 0; }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--blue);
  text-decoration: none; padding: 15px 30px; border-radius: 12px;
  font-size: 14px; font-weight: 700; letter-spacing: -0.01em;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  transition: all 0.25s;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(0,0,0,0.3); }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.contact-info-list { margin-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.ci-item {
  display: flex; align-items: center; gap: 14px;
  padding: 16px 18px;
  background: rgba(0,9,241,0.06);
  border: 1px solid rgba(0,9,241,0.35);
  border-radius: var(--radius-md);
  font-size: 14px; color: rgba(255,255,255,0.8);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: default;
}
.ci-item:hover {
  transform: scale(1.03);
  background: rgba(0,9,241,0.12);
  box-shadow: 0 6px 24px rgba(0,9,241,0.18);
}
.ci-icon-box {
  width: 36px; height: 36px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  border-radius: 9px;
  display: flex; align-items: center; justify-content: center;
  font-size: 16px; flex-shrink: 0;
}

/* Form card */
.form-card {
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 40px;
}
.form { display: flex; flex-direction: column; gap: 16px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { display: flex; flex-direction: column; gap: 7px; }
.fg label { font-size: 12px; font-weight: 600; color: var(--text-muted); letter-spacing: 0.3px; }
.fg input, .fg select, .fg textarea {
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 400;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  resize: none; width: 100%;
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(255,255,255,0.2); }
.fg select option { background: var(--black); }
.fg input:focus, .fg select:focus, .fg textarea:focus {
  border-color: rgba(0,9,241,0.6);
  background: rgba(0,9,241,0.07);
  box-shadow: 0 0 0 3px rgba(0,9,241,0.12);
}
.form-submit {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  color: #fff; border: none;
  padding: 15px 28px; border-radius: var(--radius-sm);
  font-family: 'Inter', sans-serif;
  font-size: 14px; font-weight: 600;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,9,241,0.4), inset 0 1px 0 rgba(255,255,255,0.15);
  transition: all 0.25s; width: 100%;
  border: 1px solid rgba(255,255,255,0.1);
}
.form-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(0,9,241,0.5); }
.form-submit .arr { transition: transform 0.2s; }
.form-submit:hover .arr { transform: translateX(4px); }
.form-success {
  display: none; text-align: center; padding: 60px 40px;
}
.fs-check {
  width: 64px; height: 64px; border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-mid));
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; margin: 0 auto 20px;
  box-shadow: 0 8px 24px rgba(0,9,241,0.4);
}
.fs-title { font-size: 24px; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 10px; }
.fs-sub { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── FOOTER ── */
footer {
  position: relative; z-index: 1;
  border-top: 1px solid var(--border);
  padding: 48px;
  margin-top: 80px;
}
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 40px; margin-bottom: 40px; }
.footer-brand { max-width: 280px; }
.footer-brand-logo {
  display: flex; align-items: center; gap: 10px; text-decoration: none; margin-bottom: 14px;
}
.footer-brand-logo-icon {
  width: 32px; height: 32px;
  border-radius: 8px; overflow: hidden; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(0,9,241,0.3), 0 3px 14px rgba(0,9,241,0.4);
}
.footer-brand-logo-icon img { width: 100%; height: 100%; object-fit: cover; display: block; }
.footer-brand-logo-text { font-size: 14px; font-weight: 700; color: #fff; }
.footer-brand-logo-text span { color: var(--blue); }
.footer-brand-desc { font-size: 13px; color: var(--text-muted); line-height: 1.65; }
.footer-links-col h4 { font-size: 12px; font-weight: 700; letter-spacing: 0.5px; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.footer-links-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-links-col a { font-size: 13px; color: var(--text-muted); text-decoration: none; transition: color 0.2s; }
.footer-links-col a:hover { color: #fff; }
.footer-links-col span { font-size: 13px; color: var(--text-muted); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--border); padding-top: 28px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-social { display: flex; gap: 8px; }
.soc-btn {
  width: 34px; height: 34px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 9px; display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700; color: var(--text-muted);
  text-decoration: none; transition: all 0.2s;
}
.soc-btn:hover { border-color: rgba(0,9,241,0.5); color: #9eb3ff; background: rgba(0,9,241,0.1); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 1; transform: none;
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.js-ready .reveal {
  opacity: 0; transform: translateY(32px);
}
.js-ready .reveal.in { opacity: 1; transform: none; }
/* Once visible, fast transition so hover matches proc-card speed */
.js-ready .why-card.reveal.in {
  transition: all 0.3s ease !important;
  transition-delay: 0s !important;
}
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }
.reveal.d4 { transition-delay: 0.4s; }

/* ── HOVER OVERRIDES — must beat .js-ready .reveal specificity ── */
.js-ready .reveal.srv-card:hover,
.js-ready .srv-card.reveal:hover,
.srv-card:hover {
  opacity: 1 !important;
  transform: translateY(-4px) !important;
  border-color: rgba(0,9,241,0.4) !important;
  box-shadow: 0 16px 40px rgba(0,0,0,0.3), 0 0 0 1px rgba(0,9,241,0.15) !important;
}
.js-ready .reveal.why-card:hover,
.js-ready .why-card.reveal:hover,
.why-card:hover {
  opacity: 1 !important;
  transform: translateY(-3px) !important;
  border-color: rgba(0,9,241,0.35) !important;
  background: rgba(0,9,241,0.06) !important;
}
.js-ready .reveal.proc-card:hover,
.js-ready .proc-card.reveal:hover,
.proc-card:hover {
  opacity: 1 !important;
  transform: translateY(-4px) !important;
  border-color: rgba(0,9,241,0.4) !important;
}
.js-ready .reveal.hero-stat-card:hover,
.js-ready .hero-stat-card.reveal:hover,
.hero-stat-card:hover {
  opacity: 1 !important;
  transform: translateY(-2px) !important;
  border-color: rgba(0,9,241,0.4) !important;
  background: rgba(0,9,241,0.12) !important;
  box-shadow: 0 8px 24px rgba(0,9,241,0.2) !important;
}
.js-ready .reveal.about-card:hover,
.js-ready .about-card.reveal:hover,
.about-card:hover {
  opacity: 1 !important;
  transform: scale(1.02) !important;
  border-color: rgba(0,9,241,0.45) !important;
  background: rgba(0,9,241,0.07) !important;
  box-shadow: 0 16px 48px rgba(0,9,241,0.18) !important;
}
.js-ready .reveal.ci-item:hover,
.js-ready .ci-item.reveal:hover,
.ci-item:hover {
  opacity: 1 !important;
  transform: scale(1.03) !important;
  box-shadow: 0 6px 24px rgba(0,9,241,0.18) !important;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}

/* ── DIVIDER ── */
.section-divider {
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border), transparent);
  margin: 0 48px;
  position: relative; z-index: 1;
}

/* ── HAMBURGER MENU ── */
.nav-hamburger {
  display: none; flex-direction: column; gap: 5px;
  cursor: pointer; padding: 6px; border: none; background: transparent;
  z-index: 200;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile-menu {
  display: none;
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(10,10,15,0.98);
  backdrop-filter: blur(20px);
  z-index: 150;
  flex-direction: column; align-items: center; justify-content: center;
  gap: 32px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  font-size: 24px; font-weight: 700; color: rgba(255,255,255,0.8);
  text-decoration: none; letter-spacing: -0.02em;
  transition: color 0.2s;
}
.nav-mobile-menu a:hover { color: #fff; }
.nav-mobile-menu .mobile-cta {
  margin-top: 12px;
  background: linear-gradient(135deg, #0009F1, #3B4FFF);
  color: #fff !important;
  padding: 14px 32px; border-radius: 12px;
  font-size: 15px !important; font-weight: 600 !important;
}

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  nav { padding: 18px 24px; }
  nav.scrolled { padding: 14px 24px; }
  .nav-center { display: none; }
  .nav-right { display: none; }
  .section { padding: 80px 24px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-header { flex-direction: column; align-items: flex-start; gap: 12px; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .proc-connector { display: none; }
  .cta-banner { margin: 0 24px; padding: 52px 40px; flex-direction: column; text-align: center; }
  .cta-banner-sub { margin: 0 auto; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .frow { grid-template-columns: 1fr; }
  footer { padding: 40px 24px; }
  .footer-top {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    gap: 32px !important;
  }
  .footer-brand { order: 0; width: 100% !important; max-width: 100% !important; flex: 0 0 100% !important; }
  .footer-col-servicios { order: 1; flex: 0 0 auto !important; min-width: 110px; }
  .footer-col-agencia   { order: 2; flex: 0 0 auto !important; min-width: 110px; }
  .footer-col-contacto  { order: 3; width: 100% !important; flex: 0 0 100% !important; text-align: center !important; }
  .footer-col-contacto h4 { text-align: center !important; }
  .footer-col-contacto ul { display: flex !important; flex-direction: row !important; flex-wrap: wrap !important; justify-content: center !important; gap: 16px !important; }
  .section-divider { margin: 0 24px; }
  .hero { padding: 140px 24px 80px; }
  .hero-social-proof { flex-direction: column; align-items: center; text-align: center; gap: 10px; }
  .hero-cards {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-stat-card { min-width: unset; padding: 14px 18px; width: 100%; }
  .hero-stat-card:nth-child(1) { order: 1; }
  .hero-stat-card:nth-child(2) { order: 2; }
  .hero-stat-card:nth-child(3) { order: 4; }
  .hero-stat-card:nth-child(4) { order: 3; }
  .bg-mesh, .bg-noise { max-width: 100vw; overflow: hidden; }
}

@media (max-width: 640px) {
  html, body { overflow-x: hidden; max-width: 100vw; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }
  .hero-h1 { font-size: 42px; }
  .hero-service-icons { flex-wrap: wrap; }
  .cta-banner { padding: 40px 28px; margin: 0 16px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .hero-cards { grid-template-columns: 1fr 1fr !important; max-width: 320px; }
}

/* ── GLOBAL OVERFLOW FIX ── */
html, body { overflow-x: hidden; }

/* ── STAT CARD HOVER ── */
.hero-stat-card:hover,
.hero-cards .hero-stat-card:hover,
div.hero-stat-card:hover {
  border-color: rgba(0,9,241,0.4) !important;
  background: rgba(0,9,241,0.12) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,9,241,0.2) !important;
}

/* ════ WORDPRESS OVERRIDES ════ */
html body.trendex-page { background:#0A0A0F!important; color:#FFFFFF!important; font-family:'Inter',system-ui,sans-serif!important; overflow-x:hidden!important; margin:0!important; padding:0!important; -webkit-font-smoothing:antialiased!important; }
html { overflow-x:hidden!important; }
#trendex-wrapper { background:transparent!important; color:#FFFFFF; overflow-x:hidden; max-width:100vw; }
#trendex-wrapper .nav-logo-icon { width:36px!important; height:36px!important; min-width:36px!important; max-width:36px!important; border-radius:9px!important; overflow:hidden!important; flex-shrink:0!important; display:block!important; }
#trendex-wrapper .nav-logo-icon img, #trendex-wrapper .footer-brand-logo-icon img { width:100%!important; height:100%!important; max-width:100%!important; object-fit:cover!important; display:block!important; }
#trendex-wrapper .footer-brand-logo-icon { width:32px!important; height:32px!important; max-width:32px!important; border-radius:8px!important; overflow:hidden!important; flex-shrink:0!important; display:block!important; }
#trendex-wrapper span.srv-tag,#trendex-wrapper span.chip,#trendex-wrapper .srv-tags span,#trendex-wrapper .about-chips span { display:inline-flex!important; align-items:center!important; border:1px solid rgba(0,9,241,0.45)!important; border-radius:6px!important; padding:5px 12px!important; font-size:11px!important; font-weight:600!important; color:#9eb3ff!important; background:rgba(0,9,241,0.08)!important; letter-spacing:0.2px!important; line-height:1.4!important; box-sizing:border-box!important; margin:0!important; }
#trendex-wrapper .section-label { background:rgba(0,9,241,0.1)!important; border:1px solid rgba(0,9,241,0.25)!important; border-radius:100px!important; color:#9eb3ff!important; }
#trendex-wrapper .ci-item { background:rgba(0,9,241,0.06)!important; border:1px solid rgba(0,9,241,0.35)!important; border-radius:16px!important; }
#trendex-wrapper .footer-links-col span { font-size:13px!important; color:rgba(255,255,255,0.52)!important; }
/* No button elements used in accordion — div-based, no flash possible */
#trendex-wrapper button { background:transparent!important; border:none!important; outline:none!important; box-shadow:none!important; -webkit-appearance:none!important; appearance:none!important; color:inherit!important; }
#trendex-wrapper button:focus, #trendex-wrapper button:focus-visible, #trendex-wrapper button:active { outline:none!important; box-shadow:none!important; background:transparent!important; }
/* Form submit button */
#trendex-wrapper button.form-submit { display:flex!important; align-items:center!important; justify-content:center!important; gap:8px!important; background:linear-gradient(135deg,#0009F1,#3B4FFF)!important; color:#fff!important; border:1px solid rgba(255,255,255,0.1)!important; padding:15px 28px!important; border-radius:10px!important; font-family:'Inter',sans-serif!important; font-size:14px!important; font-weight:600!important; cursor:pointer!important; box-shadow:0 4px 20px rgba(0,9,241,0.4)!important; transition:all 0.25s!important; width:100%!important; }
#trendex-wrapper button.form-submit:hover { transform:translateY(-2px)!important; box-shadow:0 8px 32px rgba(0,9,241,0.5)!important; }
/* Hover animations */
#trendex-wrapper .srv-card { transition:all 0.3s!important; }
#trendex-wrapper .srv-card:hover { transform:translateY(-4px)!important; border-color:rgba(0,9,241,0.4)!important; box-shadow:0 16px 40px rgba(0,0,0,0.3)!important; }
#trendex-wrapper .why-card { transition:all 0.3s!important; }
#trendex-wrapper .js-ready .why-card.reveal.in { transition:all 0.3s ease!important; transition-delay:0s!important; }
#trendex-wrapper .proc-card { transition:all 0.3s!important; }
#trendex-wrapper .proc-card:hover { transform:translateY(-4px)!important; border-color:rgba(0,9,241,0.4)!important; }
#trendex-wrapper .hero-stat-card { background:rgba(255,255,255,0.04)!important; border:1px solid rgba(255,255,255,0.10)!important; border-radius:16px!important; transition:all 0.3s!important; }
#trendex-wrapper .hero-stat-card:hover { transform:translateY(-2px)!important; border-color:rgba(0,9,241,0.4)!important; background:rgba(0,9,241,0.12)!important; box-shadow:0 8px 24px rgba(0,9,241,0.2)!important; }
#trendex-wrapper .about-card { transition:transform 0.3s,border-color 0.3s,background 0.3s,box-shadow 0.3s!important; }
#trendex-wrapper .about-card:hover { transform:scale(1.02)!important; border-color:rgba(0,9,241,0.45)!important; background:rgba(0,9,241,0.07)!important; box-shadow:0 16px 48px rgba(0,9,241,0.18)!important; }
#trendex-wrapper .ci-item { transition:transform 0.2s,box-shadow 0.2s!important; }
#trendex-wrapper .ci-item:hover { transform:scale(1.03)!important; box-shadow:0 6px 24px rgba(0,9,241,0.18)!important; }
@media (max-width:1024px) {
  #trendex-wrapper #site-nav .nav-center { display:none!important; }
  #trendex-wrapper #site-nav .nav-right { display:none!important; }
  #trendex-wrapper .services-grid { grid-template-columns:1fr!important; }
  #trendex-wrapper .why-grid { grid-template-columns:1fr!important; }
  #trendex-wrapper .why-card { -webkit-tap-highlight-color:transparent!important; }

  #trendex-wrapper .why-card-header { -webkit-tap-highlight-color:transparent!important; user-select:none!important; }
  #trendex-wrapper .footer-top { display:flex!important; flex-wrap:wrap!important; justify-content:center!important; gap:32px!important; }
  #trendex-wrapper .footer-brand { order:0!important; width:100%!important; flex:0 0 100%!important; }
  #trendex-wrapper .footer-col-servicios { order:1!important; flex:0 0 auto!important; min-width:110px!important; }
  #trendex-wrapper .footer-col-agencia { order:2!important; flex:0 0 auto!important; min-width:110px!important; }
  #trendex-wrapper .footer-col-contacto { order:3!important; width:100%!important; flex:0 0 100%!important; text-align:center!important; }
  #trendex-wrapper .footer-col-contacto h4 { text-align:center!important; }
  #trendex-wrapper .footer-col-contacto ul { display:flex!important; flex-direction:row!important; flex-wrap:wrap!important; justify-content:center!important; gap:16px!important; }
  #trendex-wrapper .hero-cards { display:grid!important; grid-template-columns:1fr 1fr!important; gap:10px!important; max-width:400px!important; margin-left:auto!important; margin-right:auto!important; }
  #trendex-wrapper .hero-stat-card:nth-child(1){order:1!important;} #trendex-wrapper .hero-stat-card:nth-child(2){order:2!important;} #trendex-wrapper .hero-stat-card:nth-child(3){order:4!important;} #trendex-wrapper .hero-stat-card:nth-child(4){order:3!important;}
}
#trendex-wrapper p { margin:0; }
#trendex-wrapper .hero p.hero-sub,#trendex-wrapper p.hero-sub { margin:0 auto 40px!important; max-width:540px!important; }
#trendex-wrapper .about-card p.about-card-quote,#trendex-wrapper p.about-card-quote { margin-bottom:28px!important; }
#trendex-wrapper .about-card .about-chips { margin-top:28px!important; }
#trendex-wrapper ul,#trendex-wrapper ol { list-style:none; margin:0; padding:0; }
#trendex-wrapper a { text-decoration:none; }
#trendex-wrapper img { max-width:none; }
