* {
  box-sizing: border-box;
}

/* ========== BASE ========== */

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #050505;
  color: #f5f5f5;
}

a {
  color: #ff3366;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.max-width {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ========== HEADER ========== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(5, 5, 5, 0.96);
  border-bottom: 1px solid #1d1d1d;
  backdrop-filter: blur(12px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
}

/* Logo KB clickeable (HOME) */
.logo-area {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.logo-area img {
  height: 34px;
  width: auto;
  opacity: 0.95;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.logo-area:hover img {
  opacity: 1;
  transform: scale(1.05);
}

/* Navegación desktop */

.main-nav {
  display: flex;
  gap: 20px;
  font-size: 0.95rem;
}

.main-nav a {
  color: #d7d7d7;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.main-nav a:hover {
  color: #ffffff;
}

.main-nav a.active {
  color: #ffffff;
  border-color: #ff3366;
}

/* Botón sandwich */

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.menu-toggle span {
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
}

/* ========== PAGE LAYOUT ========== */

.page {
  padding-bottom: 40px;
}

.section {
  padding: 40px 0;
}

.section + .section {
  border-top: 1px solid #181818;
}

.section-header {
  margin-bottom: 20px;
}

.section-kicker {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #8f8f8f;
  margin-bottom: 6px;
}

.section-title {
  font-size: 1.8rem;
  margin: 0;
  color: #ffffff;
}

.section-subtitle {
  margin: 8px 0 0;
  color: #b8b8b8;
  max-width: 640px;
}

/* ========== HERO ========== */

/* Hero base */
.hero {
  padding: 60px 0 40px;
}

/* Hero oscuro (como header) */
.dark-hero {
  background: #272727;
  padding: 56px 0 46px;
  border-bottom: 1px solid #1e1e1e;
}

.hero-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Título / tagline pequeño y centrado */
.hero-tagline {
  text-align: center;
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 auto 12px;
  color: #e6e6e6;
  max-width: 520px;
  letter-spacing: 0.02em;
}

/* Botones del hero */

.hero-buttons {
  margin-top: 18px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ========== BOTONES ========== */

.btn {
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
  font-weight: 600;
  transition: background 0.2s ease, transform 0.08s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #ff3366, #ff5b8a);
  color: #ffffff;
  box-shadow: 0 0 0 rgba(255, 51, 102, 0.3);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(255, 51, 102, 0.33);
}

.btn-outline {
  background: transparent;
  color: #f5f5f5;
  border: 1px solid #4a4a4a;
}

.btn-outline:hover {
  border-color: #ff3366;
  color: #ff3366;
  transform: translateY(-1px);
}

/* ========== PRODUCT SHOWCASE (KANTABOX) ========== */

.product-showcase {
  margin: 24px auto 0;
  max-width: 460px;
  display: flex;
  justify-content: center;
  /* sin fondo, sin sombra, sin borde */
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}


.product-showcase img {
  width: 100%;
  max-width: 420px;
  display: block;
}

/* ========== LIGHT BODY (BLANCO) ========== */

.light-body {
  background: #ffffff;
  color: #111111;
}

.light-body h2,
.light-body h3 {
  color: #000000;
}

.light-body p,
.light-body li {
  color: #333333;
}

/* ========== CARDS / COLUMNS ========== */

.columns-2 {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-top: 10px;
}

.card {
  background: #111111;
  border-radius: 12px;
  padding: 18px;
  border: 1px solid #222222;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 1rem;
  color: #ff5b8a;
}

.card p {
  margin: 0;
  font-size: 0.95rem;
  color: #d0d0d0;
}

/* Cards dentro de body blanco */
.light-body .card {
  background: #f8f8f8;
  border-color: #e2e2e2;
}

.light-body .card p {
  color: #333333;
}

/* ========== CONTACTO ========== */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 24px;
}

.contact-info {
  font-size: 0.96rem;
  color: #dcdcdc;
}

.contact-info b {
  color: #ffffff;
}

.light-body .contact-info {
  color: #333333;
}

.light-body .contact-info b {
  color: #000000;
}

.contact-highlight {
  padding: 10px 12px;
  border-radius: 10px;
  background: #101010;
  border: 1px solid #262626;
  margin-bottom: 12px;
  font-size: 0.9rem;
}

.light-body .contact-highlight {
  background: #f4f4f4;
  border-color: #dddddd;
}

/* Formulario contacto */

.contact-form {
  background: #101010;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid #222222;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-form input,
.contact-form textarea {
  background: #181818;
  border-radius: 8px;
  border: 1px solid #333333;
  padding: 10px 11px;
  font-size: 0.95rem;
  color: #f5f5f5;
  font-family: inherit;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #868686;
}

.contact-form textarea {
  resize: vertical;
  min-height: 90px;
}

#formMessage {
  margin-top: 6px;
  font-size: 0.88rem;
  font-weight: 600;
}

/* Contact form en body blanco */
.light-body .contact-form {
  background: #ffffff;
  border-color: #e2e2e2;
}

.light-body .contact-form input,
.light-body .contact-form textarea {
  background: #f7f7f7;
  border-color: #d4d4d4;
  color: #222222;
}

.light-body .contact-form input::placeholder,
.light-body .contact-form textarea::placeholder {
  color: #999999;
}

/* SMS page */

.sms-box {
  background: #101010;
  border-radius: 12px;
  border: 1px solid #222222;
  padding: 18px;
  font-size: 0.95rem;
  color: #d0d0d0;
}

.sms-box ul {
  margin-top: 8px;
  padding-left: 18px;
}

.light-body .sms-box {
  background: #ffffff;
  border-color: #e2e2e2;
  color: #333333;
}

/* ========== FOOTER NEGRO ========== */

.site-footer {
  background: #000000;
  border-top: 1px solid #1a1a1a;
  padding: 22px 0;
  color: #888888;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.88rem;
}

.site-footer a {
  color: #aaaaaa;
}

.site-footer a:hover {
  color: #ffffff;
}

/* ========== RESPONSIVE ========== */

/* Header + menú sandwich */
@media (max-width: 768px) {

  .header-inner {
    flex-direction: row;
    align-items: center;
  }

  /* Mostrar hamburger */
  .menu-toggle {
    display: flex;
  }

  /* Esconder nav por defecto */
  .main-nav {
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: #050505;
    border-top: 1px solid #1b1b1b;
    flex-direction: column;
    gap: 0;
    display: none;
  }

  .main-nav a {
    padding: 14px 20px;
    border-bottom: 1px solid #1b1b1b;
    font-size: 0.95rem;
  }

  /* Estado abierto (JS agrega .open) */
  .main-nav.open {
    display: flex;
  }
}

/* Layout secciones */

@media (max-width: 800px) {
  .columns-2,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Mobile hero + producto */

@media (max-width: 600px) {

  .dark-hero {
    padding: 44px 0 34px;
  }

  .hero-tagline {
    font-size: 1.05rem;
    padding: 0 12px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }

  .section {
    padding: 30px 0;
  }

  .card {
    padding: 14px;
  }

  .contact-layout {
    gap: 18px;
  }

  .contact-form,
  .sms-box {
    padding: 16px;
  }

  .product-showcase {
    max-width: 92%;
    padding: 0;
  }
}

/* Footer en columna en móvil pequeño */

@media (max-width: 480px) {
  .footer-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .logo-area img {
    height: 28px;
  }
}


.product-showcase {
  margin: 24px auto 0;
  max-width: 520px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;            /* espacio entre imagenes */
  background: transparent;
  padding: 0;
}

.product-showcase img {
  width: 100%;
  max-width: 460px;
  height: auto;
  display: block;
}

/* Línea divisoria */
.product-divider {
  width: 100%;
  max-width: 360px;
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    #5a5a5a,
    transparent
  );
  opacity: 0.6;
}
@media (max-width: 600px) {
  .product-showcase {
    gap: 18px;
  }

  .product-showcase img {
    max-width: 100%;
  }

  .product-divider {
    max-width: 260px;
  }
}

/* Imagen iPhone (más estrecha y elegante) */
.product-phone {
  max-width: 200px;   /* MÁS CHICO */
  width: 100%;
  height: auto;
  display: block;
}

/* Ajustes mobile */
@media (max-width: 600px) {
  .product-phone {
    max-width: 160px;
  }
}


/* Imagen horizontal tipo pantalla */
.product-wide {
  width: 100%;
  max-width: 520px;
  height: auto;
  display: block;
  border-radius: 8px; /* opcional, suave */
}

/* Mobile */
@media (max-width: 600px) {
  .product-wide {
    max-width: 100%;
  }
}

.product-video {
  width: 100%;
  max-height: 60vh;
  overflow: hidden;
}

.product-video video {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

/* Divider (si no lo tienes definido) */
.product-divider {
  width: 100%;
  height: 1px;
  background: #2a2a2a;
  margin: 28px 0;
}
.minimal-form input,
.minimal-form textarea {
  background: #111;
  border: 1px solid #333;
  padding: 14px;
  width: 100%;
  border-radius: 10px;
  color: #fff;
  margin-bottom: 12px;
  font-size: 16px;
}

.minimal-form input::placeholder,
.minimal-form textarea::placeholder {
  color: #777;
}

.minimal-info {
  margin-top: 30px;
  text-align: center;
  color: #ccc;
  font-size: 16px;
}

@media (max-width: 768px) {
  .main-nav a,
  .main-nav a.active {
    border-bottom: none !important;
    background: transparent !important;
  }
}
