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

:root {
  --green: #a7ff1b;
  --green-dark: #03c96d;
  --black: #0a0a0a;
  --dark: #111111;
  --dark2: #1a1a1a;
  --dark3: #222222;
  --mid: #2e2e2e;
  --border: rgba(255, 255, 255, 0.1);
  --text-primary: #ffffff;
  --text-secondary: rgba(255, 255, 255, 0.65);
  --text-muted: rgba(255, 255, 255, 0.4);
  --nav-h: 68px;
  --announce-h: 44px;
  --font: 'Plus Jakarta Sans', sans-serif;
  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.22s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--black);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
button {
  font-family: var(--font);
  cursor: pointer;
  border: none;
  background: none;
}
ul {
  list-style: none;
}

/* ---------- SCROLLBAR ---------- */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--dark);
}
::-webkit-scrollbar-thumb {
  background: var(--mid);
  border-radius: 3px;
}

/* =========================================
   ANNOUNCEMENT BAR
   ========================================= */
.announcement-bar {
  background: #1a1a1a;
  border-bottom: 1px solid var(--border);
  height: var(--announce-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  position: relative;
  z-index: 1000;
  transition: height var(--transition), opacity var(--transition);
  overflow: hidden;
}

.announcement-bar.hidden {
  height: 0;
  opacity: 0;
  pointer-events: none;
}

.announcement-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--text-secondary);
  flex-wrap: wrap;
  justify-content: center;
  text-align: center;
}

.announcement-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.announcement-inner p {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}
.announcement-inner strong {
  color: var(--text-primary);
}

.announcement-cta {
  color: var(--green);
  font-weight: 600;
  white-space: nowrap;
  transition: opacity var(--transition);
}
.announcement-cta:hover {
  opacity: 0.8;
}

.announcement-close {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background var(--transition), color var(--transition);
}
.announcement-close:hover {
  background: var(--border);
  color: var(--text-primary);
}

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: sticky;
  padding: 5px 0;
  top: 0;
  z-index: 999;
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
}

.navbar-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Logo */
.navbar-logo {
  padding-top: 10px;
  flex-shrink: 0;
  /* display: flex; */
  /* align-items: center; */
  /* gap: 8px; */
  /* flex-shrink: 0; */
}
.navbar-logo img {
  height: 80px;
  width: auto;
  max-width: none;
}
.logo-text {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: var(--text-primary);
}

/* Desktop Nav */
.nav-links {
  display: none;
  align-items: center;
  gap: 4px;
  margin-left: 24px;
  flex: 1;
}

.nav-item {
  position: relative;
}

.nav-btn {
  color: var(--text-secondary);
  font-size: 16px;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-highlight {
  color: #a7ff1b !important;
  font-weight: 700;
}
.nav-highlight:hover {
  color: #bfff40 !important;
  background: rgba(167, 255, 27, 0.08) !important;
}

.chevron {
  transition: transform var(--transition);
  flex-shrink: 0;
}
.nav-item.open .chevron {
  transform: rotate(180deg);
}

/* Dropdown — scoped al navbar de index para no pisar header.php en otras páginas */
.navbar .dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: #1c1c1c;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 6px;
  min-width: 250px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity var(--transition), transform var(--transition),
    visibility var(--transition);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
}
.navbar .nav-item.open .dropdown,
.navbar .nav-item:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.navbar .dropdown a {
  display: block;
  padding: 9px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.navbar .dropdown a:hover {
  background: rgba(255, 255, 255, 0.07);
  color: var(--text-primary);
}

/* Nav Actions */
.nav-actions {
  display: none;
  align-items: center;
  gap: 8px;
  margin-left: auto;
  flex-shrink: 0;
}

/* Selector de idioma (lang-wrap) */
.lang-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 7px 10px;
  background: #1e1e1e;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}
.lang-wrap:hover {
  background: #272727;
  border-color: rgba(255, 255, 255, 0.15);
}
.lang-icon {
  color: rgba(255, 255, 255, 0.55);
  flex-shrink: 0;
  pointer-events: none;
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: transparent;
  border: none;
  outline: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
  padding-right: 14px;
}
.lang-select option {
  background: #1e1e1e;
  color: #fff;
}
.select-chevron {
  position: absolute;
  right: 8px;
  pointer-events: none;
  color: rgba(255, 255, 255, 0.3);
}

/* Hamburger */
.hamburger {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover {
  background: rgba(255, 255, 255, 0.06);
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}
.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Menu */
.mobile-menu {
  display: block;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--dark);
  border-top: 1px solid var(--border);
}
.mobile-menu.open {
  max-height: 100vh;
  overflow-y: auto;
}

.mobile-menu-inner {
  padding: 16px 20px 28px;
}

.mobile-nav-group {
  border-bottom: 1px solid var(--border);
}

.mobile-nav-toggle {
  width: 100%;
  text-align: left;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.mobile-nav-toggle .chevron {
  transition: transform var(--transition);
}
.mobile-nav-toggle.open .chevron {
  transform: rotate(180deg);
}

.mobile-dropdown {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}
.mobile-dropdown.open {
  max-height: 360px;
}
.mobile-dropdown a {
  display: block;
  padding: 10px 14px;
  font-size: 14px;
  color: var(--text-secondary);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}
.mobile-dropdown a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text-primary);
}

.mobile-nav-link {
  display: block;
  padding: 14px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border);
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 20px;
}

.mobile-social {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mobile-social span {
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  border-radius: 100px;
  transition: all var(--transition);
  white-space: nowrap;
}

/* Nav sizes */
.btn-ghost-sm {
  font-size: 15px;
  padding: 7px 16px;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 100px;
}
.btn-ghost-sm:hover {
  color: var(--text-primary);
  background: rgba(167, 255, 27, 0.1);
}

.btn-outline-sm {
  font-size: 15px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  color: var(--text-primary);
  border-radius: 100px;
}
.btn-outline-sm:hover {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.04);
}

.btn-primary-sm {
  font-size: 15px;
  padding: 7px 18px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  border-radius: 100px;
}
.btn-primary-sm:hover {
  background: var(--green-dark);
}

/* Large CTA */
.btn-primary-lg {
  font-size: 15px;
  padding: 14px 28px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  border-radius: 100px;
}
.btn-primary-lg:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(5, 226, 124, 0.3);
}

.btn-outline-lg {
  font-size: 15px;
  padding: 13px 28px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  border-radius: 100px;
}
.btn-outline-lg:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.05);
}

/* Feature link */
.btn-feature {
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition), opacity var(--transition);
}
.btn-feature:hover {
  opacity: 0.8;
  gap: 8px;
}

/* Mobile full width */
.btn-ghost-full {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 100px;
}
.btn-outline-full {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
  border-radius: 100px;
}
.btn-primary-full {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 700;
  background: var(--green);
  color: #000;
  border-radius: 100px;
}
.btn-secondary-full {
  width: 100%;
  padding: 12px;
  font-size: 14px;
  font-weight: 600;
  background: var(--dark3);
  color: var(--text-primary);
  border-radius: 100px;
  border: 1px solid var(--border);
}
.btn-download-sm {
  font-size: 12px;
  padding: 8px 18px;
  background: var(--green);
  color: #000;
  font-weight: 700;
  border-radius: 100px;
}
/* =========================================
   HERO
   ========================================= */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 20px 0;
  max-width: 1280px;
  margin: 0 auto;
  gap: 48px;
  position: relative;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  text-align: center;
  /* height: 100%; */
  width: 91%;
  padding: 15px 5px;
  background: rgba(0, 0, 0, 0.8);
  border-radius: 20px;
}

.hero-title {
  font-size: clamp(32px, 6vw, 54px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-top: 25px;
  color: #f8e88f;
  align-self: center;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(22px, 2vw, 28px);
  color: var(--text-secondary);
  line-height: 1.7;
  text-align: start;
}

.hero-ctas {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  width: 100%;
  margin: 0 auto;
  gap: 12px;
  margin-bottom: 5px;
  margin-top: 32px;
}

.hero-visual {
  width: 100%;
  position: relative;
  z-index: 9;
  border-radius: 20px;
}
.hero-content video {
  height: 400px;
  border-radius: 20px;
  width: 100%;
  object-fit: cover;
}

.hero-img-wrap {
  position: relative;
  display: block;
  width: 100%;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.hero-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.hero-img-wrap:hover .hero-img {
  transform: scale(1.02);
}

.hero-play-btn {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 56px;
  height: 56px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: background var(--transition), transform var(--transition);
}
.hero-img-wrap:hover .hero-play-btn {
  background: rgba(5, 226, 124, 0.9);
  transform: translateX(-50%) scale(1.1);
}
.hero-img-wrap:hover .hero-play-btn svg {
  fill: #000;
}

/* =========================================
   CONTROL
   ========================================= */

.control {
  padding: 60px 20px;
  background: var(--black);
  max-width: 1280px;
  margin: 0 auto;
}

.feature-control {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.feature-control h2 {
  color: #f8e88f;
  text-align: center;
  margin-bottom: 25px;
  font-size: clamp(26px, 4vw, 40px);
}

.control-spects {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 25px;
  align-items: center;
  width: 100%;
}

.control-spects .spects {
  width: 350px;

  border: 1px solid #454545;
  border-radius: 7px;
  padding: 15px;
}

.control-spects .spects p {
  font-size: clamp(18px, 4vw, 22px);
}

/* =========================================
   AUDIENCE
   ========================================= */

.audience {
  padding: 40px 20px;
  background: var(--black);
  max-width: 1280px;
  margin: 0 auto;
}

.feature-audience {
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 0;
}

.feature-audience h2 {
  color: #f8e88f;
  text-align: center;
  margin-bottom: 25px;
  font-size: clamp(26px, 4vw, 40px);
}

.audience-description {
  width: 100%;
  border: 1px solid #454545;
  border-radius: 7px;
  padding: 20px 30px;
}

.audience-description p {
  font-size: clamp(20px, 5vw, 24px);
}

/* =========================================
   PLATFORM
   ========================================= */

.platform {
  padding: 60px 20px 0px;
  background: var(--black);
  max-width: 1280px;
  margin: 0 auto;
}

.feature-platform {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.feature-platform h2 {
  text-align: center;
  margin: 0 auto;
  margin-bottom: 45px;
  font-size: clamp(26px, 4vw, 40px);
}

.feature-platform img {
  border-radius: var(--radius-lg);
}

/* =========================================
   FEATURE
   ========================================= */
.features {
  margin-top: 40px;
}

.feature-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 64px 20px;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
}

.feature-light {
  background: #0f0f0f;
  border-radius: var(--radius-lg);
}

.feature-text {
  max-width: 500px;
  text-align: center;
}

.feature-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 12px;
}

.feature-title {
  font-size: clamp(26px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.feature-desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.75;
  /* margin-bottom: 24px; */
}

.feature-img-wrap {
  width: 100%;
  max-width: 720px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}

.feature-img {
  width: 100%;
  display: block;
  border-radius: var(--radius-lg);
  transition: transform 0.5s ease;
}
.feature-img-wrap:hover .feature-img {
  transform: scale(1.02);
}

/* =========================================
   MULTIPLATFORM
   ========================================= */
.multiplatform {
  padding: 80px 20px 60px;
  background: var(--dark2);
  text-align: center;
  overflow: hidden;
}

.section-tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.platform-devices {
  max-width: 1100px;
  margin: 0 auto 60px;
  /* Grid approach: no más position:absolute, todo en flujo normal */
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  align-items: center;
}

.device-img-wrap {
  /* Contenedor con aspect ratio real de la imagen web */
  position: relative;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
}

/* Mobile: apilamos verticalmente */
.device-web {
  width: 100%;
  max-width: 680px;
  border-radius: var(--radius);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.6);
  display: block;
}
.device-tablet {
  width: 85%;
  max-width: 500px;
  display: block;
  filter: drop-shadow(0 16px 40px rgba(0, 0, 0, 0.5));
  margin-top: -8px;
}
.device-phone {
  width: 45%;
  max-width: 200px;
  display: block;
  filter: drop-shadow(0 12px 32px rgba(0, 0, 0, 0.6));
  margin-top: -8px;
}

.multiplatform-cta {
  max-width: 640px;
  margin: 0 auto;
}

.multiplatform-cta h2 {
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 16px;
  line-height: 1.15;
}

.multiplatform-cta p {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 28px;
  line-height: 1.7;
}

/* =========================================
   SOCIAL PROOF
   ========================================= */
.social-proof {
  padding: 80px 20px;
  background: var(--black);
}

.social-proof-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 48px;
  align-items: center;
  text-align: center;
}

.trust-text h2 {
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.user-count {
  font-size: clamp(40px, 8vw, 80px);
  font-weight: 800;
  color: var(--green);
  letter-spacing: -2px;
  line-height: 1;
}

.testimonial-card {
  background: var(--dark2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  max-width: 700px;
  width: 100%;
}

.testimonial-photo {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  object-position: top;
}

.testimonial-body {
  padding: 28px;
  text-align: left;
}

.testimonial-body blockquote {
  font-size: clamp(15px, 2vw, 18px);
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author strong {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
}
.testimonial-author span {
  font-size: 13px;
  color: var(--text-muted);
}

/* =========================================
   AWARDS
   ========================================= */
.awards {
  overflow: hidden;
}

.award-block {
  position: relative;
  padding: 60px 20px;
  text-align: center;
  overflow: hidden;
}

.award-teal {
  background: linear-gradient(160deg, #071e19 0%, #0a2820 100%);
}
.award-gray {
  background: linear-gradient(160deg, #141414 0%, #1a1a1a 100%);
}
.award-green {
  background: linear-gradient(160deg, #071208 0%, #0c1a0e 100%);
}

/* Wave decorativa — la imagen es bonus visual, no estructural */
.award-wave {
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: 0;
  /* Altura fija para que si la imagen no carga, no deje hueco */
  max-height: 80px;
}
.award-wave img {
  width: 100%;
  display: block;
  /* Si la imagen falla, no ocupa espacio */
  min-height: 0;
}
/* Cuando la imagen no carga, ocultar el espacio vacío */
.award-wave img[src=''],
.award-wave img:not([src]) {
  display: none;
}

.award-content {
  max-width: 860px;
  margin: 0 auto;
  padding-top: 20px;
}

.award-content h2 {
  font-size: clamp(20px, 3.5vw, 34px);
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 28px;
  line-height: 1.2;
}

.award-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

/* Badges: si la imagen SVG/PNG falla, mostrar placeholder con texto */
.award-badge {
  height: 56px;
  width: auto;
  max-width: 220px;
  /* Fallback si la imagen no carga */
  background: rgba(255, 255, 255, 0.04);
  border-radius: 8px;
  border: 1px solid var(--border);
}
.award-badge[src=''],
.award-badge:not([src]) {
  display: none;
}

.store-badge {
  height: 34px;
  width: auto;
  border-radius: 6px;
}
.store-badge[src=''],
.store-badge:not([src]) {
  display: none;
}

/* Imagen del device en awards — contener sin dejar espacio si falla */
.award-device-img {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-radius: var(--radius-lg);
  display: block;
  /* Evitar que la imagen rota deje un hueco grande */
  min-height: 0;
}
.award-device-img[src=''],
.award-device-img:not([src]) {
  display: none;
}

/* Contenedores para manejar onerror sin layout shift */
.award-badge-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.award-device-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
}

.store-badge-link {
  display: inline-flex;
  align-items: center;
}
.store-badge-link .store-badge {
  height: 34px;
  width: auto;
  border-radius: 6px;
}

/* Línea decorativa superior en cada award block (reemplaza la wave cuando no carga) */
.award-teal::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #05e27c, transparent);
  margin-bottom: 0;
}
.award-gray::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
}
.award-green::before {
  content: '';
  display: block;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, #05e27c, transparent);
}

/* =========================================
   COMMUNITY
   ========================================= */
.community {
  padding: 80px 20px;
  background: var(--black);
  max-width: 1280px;
  margin: 0 auto;
}

.community-header {
  text-align: center;
  margin-bottom: 48px;
}

.hashtag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green);
  margin-bottom: 14px;
}

.community-header h2 {
  font-size: clamp(20px, 3vw, 32px);
  font-weight: 800;
  letter-spacing: -0.5px;
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.3;
}

.community-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.creator-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--dark2);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform var(--transition), border-color var(--transition);
}
.creator-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.2);
}

.creator-thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 9/16;
}
.creator-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.creator-card:hover .creator-thumb img {
  transform: scale(1.05);
}

.play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity var(--transition);
}
.creator-card:hover .play-overlay {
  opacity: 1;
}

.creator-info {
  padding: 14px 16px;
}
.creator-info h3 {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 2px;
}
.creator-info span {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 48px 20px 24px;
}

.footer-top {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
  font-weight: 800;
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 13px;
  color: var(--text-muted);
  margin-left: 8px;
}

.footer-social {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-left: 8px;
}
.footer-social > span {
  font-size: 12px;
  color: var(--text-muted);
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col li a {
  font-size: 13px;
  color: var(--text-muted);
  transition: color var(--transition);
  line-height: 1.4;
}
.footer-col li a:hover {
  color: var(--text-primary);
}

.footer-bottom {
  max-width: 1280px;
  margin: 24px auto 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.cookie-btn {
  font-size: 12px;
  color: var(--text-muted);
  transition: color var(--transition);
}
.cookie-btn:hover {
  color: var(--text-primary);
}

.footer-copy {
  font-size: 12px;
  color: var(--text-muted);
}

/* =========================================
   RESPONSIVE — TABLET (≥ 640px)
   ========================================= */
@media (min-width: 640px) {
  .hero {
    flex-direction: row;
    gap: 40px;
    padding: 80px 32px 0;
  }
  .hero-content {
    text-align: left;
    flex: 1;
  }
  .hero-visual {
    flex: 1;
  }
  .hero-ctas {
    justify-content: center;
  }

  .control-spects {
    flex-direction: row;
  }
  .hero-download-row {
    justify-content: flex-start;
  }

  .feature-block {
    flex-direction: row;
    align-items: center;
    gap: 60px;
    padding: 80px 32px;
  }
  .feature-light .feature-text {
    order: 2;
  }
  .feature-light .feature-img-wrap {
    order: 1;
  }
  .feature-text {
    text-align: left;
    flex: 1;
  }
  .feature-img-wrap {
    flex: 1;
  }

  .community-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .creator-thumb {
    aspect-ratio: 3/4;
  }

  .footer-links {
    grid-template-columns: repeat(4, 1fr);
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .social-proof-inner {
    flex-direction: row;
    text-align: left;
  }
  .trust-text {
    flex: 1;
  }
  .testimonial-card {
    flex: 1;
  }

  /* Multiplatform: en tablet mostramos los 3 devices superpuestos */
  .platform-devices {
    display: block;
  }
  .device-img-wrap {
    position: relative;
    width: 100%;
    height: 380px;
    display: block;
  }
  .device-web {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 62%;
    max-width: 480px;
    z-index: 1;
  }
  .device-tablet {
    position: absolute;
    right: 2%;
    top: 0;
    width: 50%;
    max-width: 380px;
    z-index: 2;
    margin-top: 0;
  }
  .device-phone {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 18%;
    max-width: 140px;
    z-index: 3;
    margin-top: 0;
  }
}

/* =========================================
   RESPONSIVE — DESKTOP (≥ 1024px)
   ========================================= */
@media (min-width: 1024px) {
  .nav-links {
    display: flex;
  }
  .nav-actions {
    display: flex;
  }
  .hamburger {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }

  .hero {
    padding: 100px 40px 0;
    gap: 64px;
  }
  .hero-content {
    padding: 20px 25px;
  }
  .hero-subtitle {
    padding: 0 50px;
  }
  .hero-ctas {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }
  .audience-description {
    width: 60%;
  }
  .feature-block {
    padding: 100px 40px;
    gap: 80px;
  }

  .footer-top {
    flex-direction: row;
    gap: 80px;
  }
  .footer-brand {
    flex: 0 0 240px;
  }
  .footer-links {
    flex: 1;
  }

  .multiplatform {
    padding: 100px 40px 80px;
  }
  .device-img-wrap {
    height: 500px;
  }
  .device-web {
    width: 60%;
    max-width: 580px;
  }
  .device-tablet {
    width: 46%;
    max-width: 440px;
    right: 0;
  }
  .device-phone {
    width: 16%;
    max-width: 155px;
    right: 0;
  }

  .community {
    padding: 100px 40px;
  }
  .social-proof {
    padding: 100px 40px;
  }
  .award-block {
    padding: 60px 40px 80px;
  }
}

@media (min-width: 1280px) {
  .hero {
    padding: 80px 60px 0;
  }

  .hero-content {
    height: auto;
    width: 92%;
    top: 5px;
  }

  .hero-content video {
    border-radius: 20px;
    width: 100%;
    object-fit: cover;
    object-fit: none;
  }

  .feature-block {
    padding: 120px 60px;
  }
}

/* =========================================
   UTILITY — FADE IN ANIMATION
   ========================================= */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.hero-content {
  animation: fadeUp 0.7s ease normal;
}
.hero-content {
  animation-delay: 0.1s;
}

/* ===== CATÁLOGO CTA ===== */
.home-catalogo-cta {
  padding: 60px 24px;
  background: linear-gradient(
    135deg,
    rgba(167, 255, 27, 0.06) 0%,
    rgba(167, 255, 27, 0.02) 100%
  );
  border-top: 1px solid rgba(167, 255, 27, 0.12);
  border-bottom: 1px solid rgba(167, 255, 27, 0.12);
}

.catalogo-cta-inner {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.catalogo-cta-text h2 {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: 800;
  color: #fff;
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.catalogo-cta-text p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.5);
}

.catalogo-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--green);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 15px;
  padding: 13px 28px;
  border-radius: 100px;
  white-space: nowrap;
  transition: background 0.18s, transform 0.12s;
  flex-shrink: 0;
}

.catalogo-cta-btn:hover {
  background: #bfff40;
  transform: translateY(-1px);
}

@media (max-width: 600px) {
  .catalogo-cta-inner {
    flex-direction: column;
    text-align: center;
  }
  .catalogo-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

/* ===== SUGERIR GUÍA VOCAL CTA ===== */
.home-guia-cta {
  margin-top: 20px;
  padding: 72px 24px;
  background: radial-gradient(
      ellipse at 50% 0%,
      rgba(167, 255, 27, 0.08) 0%,
      transparent 70%
    ),
    #0d0d0d;
  text-align: center;
}

.guia-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.guia-cta-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(167, 255, 27, 0.1);
  border: 1px solid rgba(167, 255, 27, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--green);
}

.guia-cta-text h2 {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.4px;
  margin-bottom: 10px;
}

.guia-cta-brand {
  color: var(--green);
}

.guia-cta-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.5);
  max-width: 520px;
  line-height: 1.65;
}

.guia-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--green);
  color: #0a0a0a;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: 100px;
  margin-top: 8px;
  transition: background 0.18s, transform 0.12s, box-shadow 0.18s;
  box-shadow: 0 4px 24px rgba(167, 255, 27, 0.2);
}

.guia-cta-btn:hover {
  background: #bfff40;
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(167, 255, 27, 0.3);
}

@media (max-width: 600px) {
  .guia-cta-btn {
    width: 100%;
    justify-content: center;
  }
}
