@font-face {
  font-family: "Qualy";
  src: url("../img/fonts/Qualy-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Tipografía: Qualy → solo logo · DM Sans → títulos · Geneva/Helvetica → cuerpo */

:root,
[data-brand="neon"] {
  --brand: #c6f135;
  --brand-hover: #b3db2a;
  --brand-rgb: 198, 241, 53;
  --brand-soft: rgba(198, 241, 53, 0.14);
  --brand-glow: rgba(198, 241, 53, 0.28);
  /* Enlaces sobre fondo claro — verde oscuro legible */
  --link: #4a6412;
  --link-hover: #384d0e;
  --link-rgb: 74, 100, 18;
  --link-soft: rgba(74, 100, 18, 0.07);
  --link-border: rgba(74, 100, 18, 0.28);
}

[data-brand="lime"] {
  --brand: #9dcb00;
  --brand-hover: #8ab800;
  --brand-rgb: 157, 203, 0;
  --brand-soft: rgba(157, 203, 0, 0.12);
  --brand-glow: rgba(157, 203, 0, 0.25);
}

[data-brand="mint"] {
  --brand: #00d4aa;
  --brand-hover: #00bf99;
  --brand-rgb: 0, 212, 170;
  --brand-soft: rgba(0, 212, 170, 0.12);
  --brand-glow: rgba(0, 212, 170, 0.25);
}

[data-brand="amber"] {
  --brand: #e8b923;
  --brand-hover: #d4a71f;
  --brand-rgb: 232, 185, 35;
  --brand-soft: rgba(232, 185, 35, 0.14);
  --brand-glow: rgba(232, 185, 35, 0.28);
}

[data-brand="coral"] {
  --brand: #ff5c5c;
  --brand-hover: #e84e4e;
  --brand-rgb: 255, 92, 92;
  --brand-soft: rgba(255, 92, 92, 0.12);
  --brand-glow: rgba(255, 92, 92, 0.25);
}

[data-brand="forest"] {
  --brand: #4a7c23;
  --brand-hover: #3d681d;
  --brand-rgb: 74, 124, 35;
  --brand-soft: rgba(74, 124, 35, 0.12);
  --brand-glow: rgba(74, 124, 35, 0.25);
}

[data-brand="emerald"] {
  --brand: #10b981;
  --brand-hover: #059669;
  --brand-rgb: 16, 185, 129;
  --brand-soft: rgba(16, 185, 129, 0.12);
  --brand-glow: rgba(16, 185, 129, 0.25);
}

[data-brand="teal"] {
  --brand: #14b8a6;
  --brand-hover: #0d9488;
  --brand-rgb: 20, 184, 166;
  --brand-soft: rgba(20, 184, 166, 0.12);
  --brand-glow: rgba(20, 184, 166, 0.25);
}

[data-brand="sky"] {
  --brand: #0ea5e9;
  --brand-hover: #0284c7;
  --brand-rgb: 14, 165, 233;
  --brand-soft: rgba(14, 165, 233, 0.12);
  --brand-glow: rgba(14, 165, 233, 0.25);
}

[data-brand="indigo"] {
  --brand: #6366f1;
  --brand-hover: #4f46e5;
  --brand-rgb: 99, 102, 241;
  --brand-soft: rgba(99, 102, 241, 0.12);
  --brand-glow: rgba(99, 102, 241, 0.25);
}

[data-brand="violet"] {
  --brand: #8b5cf6;
  --brand-hover: #7c3aed;
  --brand-rgb: 139, 92, 246;
  --brand-soft: rgba(139, 92, 246, 0.12);
  --brand-glow: rgba(139, 92, 246, 0.25);
}

[data-brand="rose"] {
  --brand: #f43f5e;
  --brand-hover: #e11d48;
  --brand-rgb: 244, 63, 94;
  --brand-soft: rgba(244, 63, 94, 0.12);
  --brand-glow: rgba(244, 63, 94, 0.25);
}

[data-brand="orange"] {
  --brand: #f97316;
  --brand-hover: #ea580c;
  --brand-rgb: 249, 115, 22;
  --brand-soft: rgba(249, 115, 22, 0.12);
  --brand-glow: rgba(249, 115, 22, 0.25);
}

[data-brand="gold"] {
  --brand: #ca9a04;
  --brand-hover: #a16207;
  --brand-rgb: 202, 154, 4;
  --brand-soft: rgba(202, 154, 4, 0.14);
  --brand-glow: rgba(202, 154, 4, 0.28);
}

[data-brand="electric"] {
  --brand: #00ff88;
  --brand-hover: #00e67a;
  --brand-rgb: 0, 255, 136;
  --brand-soft: rgba(0, 255, 136, 0.12);
  --brand-glow: rgba(0, 255, 136, 0.25);
}

[data-brand="olive"] {
  --brand: #84cc16;
  --brand-hover: #65a30d;
  --brand-rgb: 132, 204, 22;
  --brand-soft: rgba(132, 204, 22, 0.12);
  --brand-glow: rgba(132, 204, 22, 0.25);
}

[data-brand="cyan"] {
  --brand: #06b6d4;
  --brand-hover: #0891b2;
  --brand-rgb: 6, 182, 212;
  --brand-soft: rgba(6, 182, 212, 0.12);
  --brand-glow: rgba(6, 182, 212, 0.25);
}

[data-brand="fuchsia"] {
  --brand: #d946ef;
  --brand-hover: #c026d3;
  --brand-rgb: 217, 70, 239;
  --brand-soft: rgba(217, 70, 239, 0.12);
  --brand-glow: rgba(217, 70, 239, 0.25);
}

[data-brand="slate"] {
  --brand: #475569;
  --brand-hover: #334155;
  --brand-rgb: 71, 85, 105;
  --brand-soft: rgba(71, 85, 105, 0.12);
  --brand-glow: rgba(71, 85, 105, 0.25);
}

:root {
  --laooz-green: var(--brand);
  --laooz-green-hover: var(--brand-hover);
  --laooz-dark: #000;
  --laooz-muted: #6b7280;
  --laooz-border: #e5e7eb;
  --laooz-surface: #f9fafb;
  --font-logo: "Qualy", system-ui, sans-serif;
  --font-heading: "DM Sans", system-ui, -apple-system, sans-serif;
  --font-body: Geneva, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--laooz-dark);
  background-color: #ffffff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.font-heading {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.025em;
}

.font-qualy {
  font-family: var(--font-logo);
}

::selection {
  background-color: var(--brand-soft);
  color: #000;
}
/* ── Announcement bar ─────────────────────────────── */

.announcement-bar {
  overflow: hidden;
  max-height: 48px;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s ease,
              padding 0.3s ease;
}

.announcement-bar.is-closed {
  max-height: 0;
  opacity: 0;
  pointer-events: none;
}

/* ── Header scroll state ──────────────────────────── */

.site-header {
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.site-header.is-scrolled .header-main {
  box-shadow: 0 1px 0 rgba(21, 28, 39, 0.06);
}

.site-header.is-scrolled .header-main-inner {
  height: 52px;
}

@media (min-width: 1024px) {
  .site-header.is-scrolled .header-main-inner {
    height: 56px;
  }
}

/* ── Header layout ────────────────────────────────── */

.header-brand-nav {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  min-width: 0;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 0.125rem;
}

@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
}

/* ── Nav links ────────────────────────────────────── */

.nav-link {
  position: relative;
  color: #000;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.5rem 0.625rem;
  transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.is-active {
  color: #000;
  opacity: 0.65;
}

.nav-link--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
}

.nav-link--icon svg {
  flex-shrink: 0;
  opacity: 0.5;
  transition: opacity 0.2s ease;
}

.nav-link--icon:hover svg,
.nav-link--icon.is-active svg {
  opacity: 0.75;
}

.nav-dropdown.is-open .nav-dropdown-trigger {
  color: #000;
  opacity: 0.65;
}

/* ── Dropdown nav (estilo Stripe) ───────────────── */

.nav-dropdown {
  position: static;
}

@media (min-width: 1024px) {
  .header-main {
    overflow: visible;
  }

  .header-main-inner {
    position: relative;
  }
}

/* Puente invisible: elimina el gap entre trigger y panel */
.nav-dropdown-bridge {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding-top: 12px;
  margin-top: -12px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
  transform: translateY(6px);
  z-index: 50;
}

.nav-dropdown.is-open .nav-dropdown-bridge {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-panel {
  width: 100%;
  background: #fff;
  border-radius: 16px;
  border: 1px solid rgba(21, 28, 39, 0.06);
  box-shadow:
    0 24px 48px -12px rgba(21, 28, 39, 0.12),
    0 12px 24px -8px rgba(21, 28, 39, 0.06);
  overflow: hidden;
  padding: 1.25rem 1.25rem 1rem;
}

.nav-dropdown-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.25rem;
}

@media (max-width: 900px) {
  .nav-dropdown-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }
}

.nav-dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 0.875rem;
  padding: 0.75rem 0.625rem;
  margin: 0 -0.625rem;
  border-radius: 10px;
  transition: background 0.15s ease;
  text-decoration: none;
}

.nav-dropdown-item:hover {
  background: var(--link-soft);
}

.nav-dropdown-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1.5px solid rgba(var(--link-rgb), 0.35);
  background: transparent;
  color: var(--link);
}

.nav-dropdown-item-title {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--laooz-dark);
  line-height: 1.3;
}

.nav-dropdown-item-desc {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.775rem;
  line-height: 1.5;
  color: var(--laooz-muted);
}

.nav-dropdown-arrow {
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity 0.15s ease, transform 0.15s ease;
  color: var(--link);
  flex-shrink: 0;
}

.nav-dropdown-item:hover .nav-dropdown-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav-dropdown-footer {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1rem;
  padding: 0 0.625rem;
}

.nav-dropdown-footer a {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--laooz-muted);
  transition: color 0.15s ease;
  text-decoration: none;
}

.nav-dropdown-footer a:hover {
  color: var(--link-hover);
}

.nav-dropdown-trigger svg {
  transition: transform 0.25s ease;
  opacity: 0.45;
}

.nav-dropdown.is-open .nav-dropdown-trigger svg {
  transform: rotate(180deg);
}

/* ── Mobile menu ──────────────────────────────────── */

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  visibility: hidden;
  pointer-events: none;
}

.mobile-menu.is-open {
  visibility: visible;
  pointer-events: auto;
}

.mobile-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(21, 28, 39, 0.4);
  opacity: 0;
  transition: opacity 0.35s ease;
  backdrop-filter: blur(4px);
}

.mobile-menu.is-open .mobile-menu-backdrop {
  opacity: 1;
}

.mobile-menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(100%, 380px);
  height: 100%;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
}

.mobile-menu.is-open .mobile-menu-panel {
  transform: translateX(0);
}

.mobile-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.mobile-submenu.is-open {
  max-height: 400px;
}

/* ── Hamburger ────────────────────────────────────── */

.hamburger-line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--laooz-dark);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── Header icon buttons (mobile) ───────────────── */

.header-mobile-actions {
  display: flex;
  align-items: center;
  gap: 0.375rem;
}

@media (min-width: 1024px) {
  .header-mobile-actions {
    display: none;
  }
}

.header-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  color: #151c27;
  background: transparent;
  transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
  text-decoration: none;
  flex-shrink: 0;
}

.header-icon-btn:hover {
  background: #f9fafb;
  border-color: rgba(21, 28, 39, 0.12);
}

.header-icon-btn--brand {
  background: var(--brand);
  border-color: var(--brand);
  color: #000;
}

.header-icon-btn--brand:hover {
  background: var(--brand-hover);
  border-color: var(--brand-hover);
}

/* ── Announcement variant switcher (prototipo) ────── */

.variant-switcher {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 70;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 12px;
  background: var(--laooz-dark);
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.variant-switcher label {
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 2px;
}

.variant-switcher button {
  font-size: 0.75rem;
  padding: 6px 12px;
  border-radius: 6px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: left;
  white-space: nowrap;
}

.variant-switcher button:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
}

.variant-switcher button.is-active {
  background: var(--brand);
  color: #000;
  border-color: var(--brand);
  font-weight: 600;
}

/* ── Utilidades de marca ──────────────────────────── */

.header-cta {
  display: inline-block;
  border-radius: 999px;
  background: var(--brand);
  padding: 0.625rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: #000;
  transition: background 0.2s ease;
  text-decoration: none;
}

.header-cta:hover {
  background: var(--brand-hover);
}
.announcement-variant {
  display: none;
}

.announcement-variant.is-active {
  display: block;
}

/* ── Logo wordmark (Qualy) ────────────────────────── */

.logo-wordmark {
  font-family: var(--font-logo);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -1.5px;
  color: #000;
  transition: opacity 0.2s ease;
}

.logo-wordmark:hover {
  opacity: 0.8;
}

.custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.custom-logo-link img,
.header-brand-nav .custom-logo {
  height: 2rem;
  width: auto;
  max-width: 160px;
  object-fit: contain;
}

/* ── Logo imagen (footer, modal, etc.) ───────────── */

.logo-img {
  height: 2rem;
  width: auto;
  object-fit: contain;
}

/* Fondo claro: filtro temporal → logo negro. Quitar cuando exista logo-laooz-studios-dark.png */
.logo-img--on-light {
  height: 2rem;
  filter: brightness(0);
  transition: opacity 0.2s ease;
}

.logo-img--on-light:hover {
  opacity: 0.75;
}

/* Fondo oscuro: logo original blanco + verde */
.logo-img--on-dark {
  height: 2rem;
  filter: none;
}
.site-footer {
  position: relative;
  overflow: hidden;
  background: #111820;
  color: rgba(255, 255, 255, 0.5);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer-glow {
  position: absolute;
  top: 0;
  left: 50%;
  width: min(900px, 100%);
  height: 280px;
  transform: translateX(-50%);
  background: radial-gradient(
    ellipse at center top,
    rgba(var(--brand-rgb), 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.site-footer-inner {
  position: relative;
  z-index: 1;
  max-width: 72rem;
  margin-inline: auto;
  padding: 4rem 1.5rem 2.5rem;
}

.site-footer-main {
  display: grid;
  gap: 2.5rem;
}

.site-footer-brand {
  max-width: 22rem;
}

.site-footer-logo {
  display: inline-flex;
}

.site-footer-logo .logo-img {
  height: 2rem;
}

.site-footer-tagline {
  margin-top: 1.25rem;
  font-size: 0.875rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.45);
}

.site-footer-email {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-email:hover {
  color: var(--brand-hover);
}

.site-footer-location {
  margin-top: 0.5rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer-social {
  display: flex;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.site-footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.5);
  transition:
    border-color 0.2s ease,
    color 0.2s ease,
    background 0.2s ease;
}

.site-footer-social-link:hover {
  border-color: rgba(var(--brand-rgb), 0.45);
  color: var(--brand);
  background: rgba(var(--brand-rgb), 0.08);
}

.site-footer-heading {
  margin: 0 0 1.1rem;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.38);
}

.site-footer-heading--spaced {
  margin-top: 2rem;
}

.site-footer-links {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

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

.site-footer-links a:hover {
  color: var(--brand);
}

.site-footer-products {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.55rem 1.25rem;
  grid-template-columns: 1fr;
}

.site-footer-products a {
  font-size: 0.82rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-products a:hover {
  color: var(--brand);
}

.site-footer-more {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--brand);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer-more:hover {
  color: var(--brand-hover);
}

.site-footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 3rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer-copy {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.site-footer-made {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.28);
}

@media (min-width: 640px) {
  .site-footer-products {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .site-footer-inner {
    padding: 5rem 1.5rem 2.75rem;
  }

  .site-footer-main {
    grid-template-columns: 1.15fr 1.4fr 0.75fr 0.75fr;
    gap: 2rem 2.5rem;
    align-items: start;
  }

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

/* Legacy aliases (por si quedan clases antiguas) */
.site-footer a {
  transition: color 0.2s ease;
}

.site-footer .footer-muted {
  color: rgba(255, 255, 255, 0.4);
}

.site-footer .footer-link {
  color: rgba(255, 255, 255, 0.65);
}

.site-footer .footer-link:hover {
  color: var(--brand);
}

.site-footer .footer-heading {
  color: rgba(255, 255, 255, 0.4);
}

.site-footer .footer-legal {
  color: rgba(255, 255, 255, 0.35);
}

/* WhatsApp flotante (home + blog singles) */
.laooz-wa-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.1rem;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.laooz-wa-float:hover {
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(37, 211, 102, 0.45);
}

.laooz-wa-float svg {
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .laooz-wa-float span {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .laooz-wa-float {
    padding: 0.85rem;
    border-radius: 50%;
  }
}
