/* ============================================
   KYVERA DIGITAL — Brand system (2026)
   Logo: negro + azul eléctrico #007BFF
   ============================================ */

@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&family=Open+Sans:wght@400;500;600;700&display=swap");

:root {
  --kyvera-blue: #007bff;
  --kyvera-blue-bright: #29a7ff;
  --kyvera-blue-dim: #0056cc;
  --kyvera-black: #000000;
  --kyvera-surface: #0a0a0a;
  --kyvera-surface-2: #111111;
  --kyvera-ink: #f5f5f5;
  --kyvera-ink-muted: #a3a3a3;
  --kyvera-border: rgba(255, 255, 255, 0.1);

  --bg-primary: var(--kyvera-black);
  --bg-secondary: var(--kyvera-surface);
  --bg-card: rgba(17, 17, 17, 0.85);
  --bg-glass: rgba(255, 255, 255, 0.04);
  --border-glass: var(--kyvera-border);
  --blue-primary: var(--kyvera-blue);
  --blue-secondary: var(--kyvera-blue-dim);
  --blue-glow: var(--kyvera-blue-bright);
  --cyan: var(--kyvera-blue-bright);
  --text-primary: var(--kyvera-ink);
  --text-secondary: var(--kyvera-ink-muted);
  --text-muted: #737373;
  --gradient-main: linear-gradient(135deg, var(--kyvera-blue) 0%, var(--kyvera-blue-dim) 100%);
  --shadow-glow: 0 0 40px rgba(0, 123, 255, 0.2);
  --shadow-card: 0 12px 40px rgba(0, 0, 0, 0.45);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --font-display: "Montserrat", "Segoe UI", system-ui, sans-serif;
  --font-body: "Open Sans", "Segoe UI", system-ui, sans-serif;
}

body {
  background: var(--bg-primary);
  font-family: var(--font-body);
  color: var(--text-primary);
}

#particles-canvas,
.loader,
.hero-orbit {
  display: none !important;
}

/* ---- Brand lockup ---- */
.brand-lockup {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
  flex-shrink: 0;
}

.brand-wordmark {
  display: flex;
  flex-direction: column;
  line-height: 1;
  gap: 2px;
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: 0.14em;
  color: var(--text-primary);
}

.brand-a {
  font-weight: 800;
  letter-spacing: 0;
}

.brand-tag {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.58rem;
  letter-spacing: 0.38em;
  color: var(--kyvera-blue);
  text-indent: 0.38em;
}

.brand-lockup--footer .brand-icon {
  width: 48px;
  height: 48px;
}

.brand-lockup--footer .brand-name {
  font-size: 1.1rem;
}

.brand-lockup--footer .brand-tag {
  font-size: 0.65rem;
}

.logo-full-wrap {
  display: inline-flex;
  padding: 0;
  background: transparent;
  border-radius: 0;
}

.logo-full-wrap img {
  height: 56px;
  width: auto;
  object-fit: contain;
}

.text-accent,
.gradient-text {
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: var(--kyvera-blue-bright);
  background-clip: unset;
  color: var(--kyvera-blue-bright);
}

.accent {
  color: var(--kyvera-blue);
}

/* ---- Header ---- */
.header.scrolled {
  background: rgba(0, 0, 0, 0.94);
  border-bottom-color: var(--border-glass);
}

.nav-logo {
  font-family: var(--font-display);
}

.nav-link.active::after {
  background: var(--kyvera-blue);
}

.nav-cta {
  background: var(--kyvera-blue);
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.35);
}

.nav-cta:hover {
  background: var(--kyvera-blue-bright);
  box-shadow: 0 8px 28px rgba(0, 123, 255, 0.45);
}

/* ---- Buttons ---- */
.btn-primary {
  background: var(--kyvera-blue);
  box-shadow: 0 4px 20px rgba(0, 123, 255, 0.3);
}

.btn-primary:hover {
  background: var(--kyvera-blue-bright);
  box-shadow: 0 8px 32px rgba(0, 123, 255, 0.42);
}

.btn-outline:hover {
  border-color: rgba(0, 123, 255, 0.45);
  background: rgba(0, 123, 255, 0.08);
}

/* ---- Hero ---- */
.marketing-hero {
  min-height: min(100vh, 920px);
  padding-bottom: 48px;
}

.hero-bg-mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 70% 55% at 85% 15%, rgba(0, 123, 255, 0.14) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(41, 167, 255, 0.08) 0%, transparent 50%);
}

.hero-glow-1 {
  background: rgba(0, 123, 255, 0.1);
}

.hero-glow-2 {
  background: rgba(41, 167, 255, 0.06);
}

.hero-badge {
  font-weight: 600;
  color: var(--text-secondary);
  background: rgba(0, 123, 255, 0.08);
  border-color: rgba(0, 123, 255, 0.22);
}

.pulse-dot {
  background: var(--kyvera-blue-bright);
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(41, 167, 255, 0.55); }
  50% { box-shadow: 0 0 0 8px rgba(41, 167, 255, 0); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.5vw, 3.75rem);
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--text-secondary);
  max-width: 34rem;
  margin-bottom: 28px;
  line-height: 1.75;
  text-wrap: pretty;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.hero-proof span {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-glass);
}

.hero-trust-list li::before {
  background: rgba(0, 123, 255, 0.15);
  color: var(--kyvera-blue-bright);
}

.hero-showcase-card {
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
}

.hero-showcase-card:hover {
  border-color: rgba(0, 123, 255, 0.35);
  transform: translateY(-4px);
}

/* ---- Trust bar ---- */
.trust-bar {
  border-block: 1px solid var(--border-glass);
  background: var(--bg-secondary);
}

.trust-label {
  font-family: var(--font-display);
  font-weight: 700;
}

.trust-items span:nth-child(odd) {
  color: var(--kyvera-blue-bright);
}

/* ---- Value props ---- */
.value-props {
  padding: 72px 0;
}

.value-prop {
  padding: 28px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
  border: 1px solid var(--border-glass);
  transition: border-color 0.3s ease, transform 0.3s ease;
}

.value-prop:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 123, 255, 0.3);
}

.value-prop-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(0, 123, 255, 0.12);
  color: var(--kyvera-blue-bright);
  margin-bottom: 16px;
}

.value-prop-icon svg {
  width: 22px;
  height: 22px;
}

.value-prop h3 {
  font-family: var(--font-display);
  font-weight: 700;
}

/* ---- Sections ---- */
.section {
  padding: clamp(72px, 10vw, 112px) 0;
}

.section-tag {
  text-transform: none;
  letter-spacing: 0.02em;
  font-size: 0.875rem;
  font-weight: 600;
  background: transparent;
  border: none;
  color: var(--kyvera-blue);
  padding: 0;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

/* ---- Cards & components ---- */
.service-card {
  border-radius: var(--radius-md);
  backdrop-filter: none;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 123, 255, 0.25);
  box-shadow: var(--shadow-glow);
}

.service-card.featured {
  border-color: rgba(0, 123, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.08) 0%, var(--bg-card) 45%);
}

.service-icon {
  background: rgba(0, 123, 255, 0.1);
  border-color: rgba(0, 123, 255, 0.15);
  color: var(--kyvera-blue-bright);
}

.service-badge,
.plan-badge {
  background: var(--kyvera-blue);
}

.plan-card {
  border-radius: var(--radius-md);
}

.plan-card-featured {
  border-color: rgba(0, 123, 255, 0.35);
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.1) 0%, var(--bg-card) 50%);
}

.portfolio-card:hover {
  border-color: rgba(0, 123, 255, 0.3);
}

.portfolio-tag {
  color: var(--kyvera-blue-bright);
  background: rgba(0, 123, 255, 0.12);
}

.portfolio-visit {
  color: var(--kyvera-blue-bright);
}

.portfolio-prototypes {
  background: var(--bg-primary);
  padding-top: 0;
}

.portfolio-grid-prototypes {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.portfolio-card-prototype {
  border-style: dashed;
  border-color: rgba(255, 255, 255, 0.12);
}

.portfolio-tag-prototype {
  color: rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 1024px) {
  .portfolio-grid-prototypes {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .portfolio-grid-prototypes {
    grid-template-columns: 1fr;
  }
}

.process-number {
  color: rgba(0, 123, 255, 0.2);
  font-family: var(--font-display);
}

.cta-banner {
  background: var(--bg-secondary);
  border-block: 1px solid var(--border-glass);
}

.cta-banner-inner h2 {
  font-family: var(--font-display);
  font-weight: 800;
}

.compare-col--good {
  border-color: rgba(0, 123, 255, 0.3);
  background: linear-gradient(180deg, rgba(0, 123, 255, 0.06) 0%, var(--bg-card) 100%);
}

.testimonial-card {
  border-radius: var(--radius-md);
  background: var(--bg-secondary);
}

.faq-item summary {
  font-family: var(--font-display);
}

.faq-item[open] {
  border-color: rgba(0, 123, 255, 0.25);
}

.contact-detail-icon {
  background: rgba(0, 123, 255, 0.12);
  color: var(--kyvera-blue-bright);
}

.footer {
  background: var(--kyvera-black);
  border-top: 1px solid var(--border-glass);
}

.footer-brand .logo-full-wrap {
  margin-bottom: 16px;
}

.footer-logo {
  display: inline-block;
}

/* ---- Marketing strip ---- */
.marketing-strip {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1090;
  display: none;
  padding: 12px 16px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
  background: rgba(0, 0, 0, 0.96);
  border-top: 1px solid var(--border-glass);
  backdrop-filter: blur(12px);
}

.marketing-strip.visible {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.marketing-strip p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  margin: 0;
}

.marketing-strip .btn {
  padding: 10px 20px;
  font-size: 0.875rem;
  white-space: nowrap;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(88px + env(safe-area-inset-bottom));
  }

  body:has(.marketing-strip.visible) {
    padding-bottom: calc(132px + env(safe-area-inset-bottom));
  }

  body:has(.marketing-strip.visible) .fab-dock {
    bottom: calc(76px + env(safe-area-inset-bottom));
  }

  .brand-wordmark {
    display: none;
  }

  .marketing-strip.visible {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .marketing-strip .btn {
    min-height: 44px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .hero-text {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-lead {
    margin-inline: auto;
    text-align: center;
    max-width: 100%;
  }

  .hero-proof {
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 360px;
    margin-inline: auto;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-visual {
    order: -1;
  }

  .hero-showcase {
    max-width: 100%;
    min-height: auto;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: clamp(1.65rem, 7.2vw, 2.05rem);
    line-height: 1.14;
  }

  .hero-proof {
    width: 100%;
    gap: 8px;
  }

  .hero-proof span {
    flex: 1 1 100%;
    text-align: center;
    font-size: 0.78rem;
    padding: 8px 12px;
  }

  .marketing-strip p {
    font-size: 0.8125rem;
    line-height: 1.45;
  }

  .marketing-strip .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (min-width: 769px) {
  .brand-lockup--img-only .brand-wordmark {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-showcase-card:hover,
  .value-prop:hover,
  .service-card:hover,
  .btn-primary:hover,
  .nav-cta:hover {
    transform: none;
  }
}
