/* ==========================================================================
   futurek™ —Landing
   ========================================================================== */

:root {
  /* ---- DARK MODE (default) ---- */
  --bg: #0A0A0A;
  --fg: #FAFAFA;
  --muted: #8A8A8A;
  --email: #FAFAFA;

  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Helvetica Neue', Helvetica, Arial, sans-serif;

  --logo-width: clamp(220px, 32vw, 401px);
  --transition-theme: background-color 0.45s ease, color 0.45s ease;
}

/* ---- LIGHT MODE paleta invertida ---- */
[data-theme="light"] {
  --bg: #FAFAFA;
  --fg: #0A0A0A;
  --muted: #8A8A8A;
  --email: #0A0A0A;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden; /* full screen, no scroll */
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  transition: var(--transition-theme);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Toggle dark/light mode
   ========================================================================== */

.theme-toggle {
  position: fixed;
  top: clamp(16px, 3vw, 32px);
  right: clamp(16px, 3vw, 32px);
  z-index: 10;

  width: 36px;
  height: 36px;

  background: transparent;
  border: none;
  padding: 0;
  margin: 0;
  cursor: pointer;
  color: var(--fg);
  transition: var(--transition-theme), opacity 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}

.theme-toggle:hover {
  opacity: 0.7;
}

.theme-toggle:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 4px;
  border-radius: 4px;
}

.theme-toggle .icon {
  width: 20px;
  height: 20px;
  display: block;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

/* Dark mode (default): #SUN-> To light mode */
.icon-sun {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.icon-moon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-45deg);
  pointer-events: none;
}

/* Light mode: #MOON -> To dark mode */
[data-theme="light"] .icon-sun {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(45deg);
  pointer-events: none;
}

[data-theme="light"] .icon-moon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
  pointer-events: auto;
}

/* ==========================================================================
   futurek™ —Logo
   ========================================================================== */

.logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.logo-link {
  display: inline-flex;
  line-height: 0;
  outline-offset: 6px;
}

.logo-svg {
  width: var(--logo-width);
  height: auto;
  color: var(--fg);
  display: block;
  transition: color 0.45s ease;

  /* soft fade-in + flow load */
  opacity: 0;
  transform: translateY(6px);
  animation: logoFadeIn 1.1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards;
}

@keyframes logoFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .logo-svg {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   futurek™ —Footer / Copyright
   ========================================================================== */

.footer {
  position: fixed;
  bottom: clamp(16px, 3vw, 32px);
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  padding: 0 24px;
  text-align: center;
}

.copyright {
  margin: 0;
  font-size: 11px;
  line-height: 1.6;
  font-weight: 400;
  letter-spacing: 0.01em;
  color: var(--muted);
  transition: color 0.45s ease;
}

.copyright .sep {
  margin: 0 6px;
  opacity: 0.6;
}

.copyright .line-1,
.copyright .line-2 {
  display: inline;
}

.copyright .line-1 .sep:last-child {
  margin-right: 6px;
}

.email-link {
  color: var(--email);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-theme), opacity 0.2s ease;
}

.email-link:hover {
  opacity: 0.5;
  text-decoration: none;
}

.email-link:focus-visible {
  outline: 2px solid var(--fg);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ==========================================================================
   Responsive — Mobile
   ========================================================================== */

@media (max-width: 640px) {
  .copyright {
    font-size: 10px;
    display: flex;
    flex-direction: column;
    gap: 6px;
  }



  /* Línea 1: copyright + nombre de marca | Línea 2: ubicación + contacto */
  .copyright .line-1,
  .copyright .line-2 {
    display: block;
  }

  .copyright .sep {
    margin: 0 5px;
  }

  .footer {
    bottom: clamp(14px, 4vw, 22px);
    padding: 0 20px;
  }

  .theme-toggle {
    top: 16px;
    right: 16px;
  }
}

@media (max-width: 360px) {
  .copyright {
    font-size: 9.5px;
  }
}

