/* ==========
   VARIABLES DE TEMA (acorde al logo)
   ========== */

:root {
  -color-primary: #101629;      /* azul marino/esfera */
  --color-primary-soft: #3f434e; /* gris azulado */
  --color-accent: #6699ff;       /* azul medio (para botones / detalles) */
  --color-bg: #f5f6fa;           /* fondo claro */
  --color-bg-light: #ffffff;
  --color-bg-dark: #0b0f1c;
  -color-border: #dde1ec;
  --color-text: #222222;
  --color-text-soft: #6b7280;
  --shadow-soft: 0 18px 45px rgba(0,0,0,0.08);
  --radius-lg: 16px;
  --radius-full: 999px;

  --font-main: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
               sans-serif;
}

/* ==========
   RESET SUAVE
   ========== */

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

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

button,
input,
textarea {
  font-family: inherit;
}

/* ==========
   LAYOUT GENERAL
   ========== */

.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Topbar */

.topbar {
  background: var(--color-bg-dark);
  color: #c5c9d7;
  font-size: 0.85rem;
}

.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.35rem 1.5rem;
}

.topbar__link {
  font-weight: 600;
}

/* Header / Nav */

.site-header {
  background: var(--color-bg-light);
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
  position: sticky;
  top: 0;
  z-index: 10;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1.5rem;
}

.site-logo img {
  height: 40px;
  object-fit: contain;
}

.site-nav__list {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  font-size: 0.95rem;
}

.site-nav__list a {
  position: relative;
  padding-bottom: 0.15rem;
}

.site-nav__list a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0%;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.18s ease-out;
}

.site-nav__list a:hover::after {
  width: 100%;
}

/* ==========
   BOTONES
   ========== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  padding: 0.5rem 1.4rem;
  border: 1px solid transparent;
  font-size: 0.95rem;
  cursor: pointer;
  transition: transform 0.12s ease, box-shadow 0.12s ease, background 0.12s ease,
    color 0.12s ease, border-color 0.12s ease;
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 22px 50px rgba(0,0,0,0.12);
}

.btn--ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: rgba(15, 23, 42, 0.18);
}

.btn--ghost:hover {
  background: rgba(15, 23, 42, 0.05);
transform: translateY(-3px);
}

.btn--full {
  width: 100%;
}

/* ==========
   HERO
   ========== */

.hero {
  padding: 3.5rem 0 3rem;
  background: radial-gradient(circle at top left, #1f2937 0, #333399 35%, #020617 100%);
  color: #e5e7eb;
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.5fr);
  gap: 3rem;
  align-items: center;
}

.hero__content h1 {
  font-size: clamp(2.2rem, 2.8vw + 1.5rem, 3.1rem);
  margin-bottom: 1rem;
}

.hero__accent {
  color: var(--color-accent);
}

.hero__content p {
  max-width: 34rem;
  color: #cbd5f5;
}

.hero__actions {
  margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* Hero visual */

.hero__visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.hero-ball {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #e5e7eb 12%, #020617 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 25px 70px rgba(15,23,42,0.75);
  overflow: hidden;
}

.hero-ball img {
  width: 80%;
}

.hero__highlights {
  width: 100%;
  max-width: 260px;
  background: rgba(15,23,42,0.65);
  border-radius: var(--radius-lg);
  padding: 0.9rem 1rem;
  font-size: 0.9rem;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.hero__highlights li + li {
  margin-top: 0.25rem;
}

/* ==========
   SECCIONES
   ========== */

.section {
  padding: 3.5rem 0;
  background: var(--color-bg);
}

.section--light {
  background: var(--color-bg-light);
}

.section--dark {
  background: linear-gradient(135deg, #020617, #333399 55%, #020617);
  color: #e5e7eb;
}

.section__header {
  text-align: center;
  margin-bottom: 2rem;
}

.section__header h2 {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.section__header p {
  max-width: 32rem;
  margin: 0 auto;
  color: var(--color-text-soft);
}

/* GRID */

.grid {
  display: grid;
  gap: 1.75rem;
}

.grid--3 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

/* CARD */

.card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  padding: 1.5rem;
  box-shadow: 0 12px 35px rgba(15,23,42,0.04);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

/* SPLIT LAYOUT */

.section__split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
  align-items: flex-start;
}

.highlight-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  border: 1px solid #cbd5f5;
  box-shadow: var(--shadow-soft);
}

/* LISTA CON ICONO CHECK (simple) */

.list-check {
  padding-left: 0;
}

.list-check li {
  position: relative;
  padding-left: 1.4rem;
  margin-bottom: 0.4rem;
}

.list-check li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  font-size: 0.85rem;
  color: var(--color-accent);
}

/* TAGS / SECTORES */

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-bottom: 2rem;
}

.tag {
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  background: #e5e7eb;
  color: #111827;
  font-size: 0.85rem;
}

.clients {
  border-radius: var(--radius-lg);
  border: 1px dashed var(--color-border);
  padding: 1.5rem;
  background: #f9fafb;
}

.clients__note {
  text-align: center;
	margin: 0.4rem 0 0;
  font-size: 0.9rem;
  color: var(--color-text-soft);
}

/* CONTACTO */

.contact {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.2fr);
}

.contact__data a {
  color: #e5e7eb;
  text-decoration: underline;
  text-decoration-color: rgba(148,163,184,0.9);
}

.contact-form {
  background: rgba(15,23,42,0.82);
  padding: 1.75rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(148,163,184,0.55);
  box-shadow: var(--shadow-soft);
}

.form-group {
  margin-bottom: 0.9rem;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.3rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 0.55rem 0.65rem;
  font-size: 0.95rem;
  background: rgba(15, 23, 42, 0.9);
  color: #e5e7eb;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 1px rgba(129, 140, 248, 0.4);
}

/* FOOTER */

.site-footer {
  background: #020617;
  color: #9ca3af;
  padding: 1.4rem 0;
  font-size: 0.85rem;
}

.site-footer__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__links a {
  color: #d1d5db;

}

/* ==========
   RESPONSIVE
   ========== */

@media (max-width: 900px) {
  .site-nav__list {
    display: none; /* de momento sin menú móvil JS, se puede mejorar después */
  }

  .hero__inner,
  .section__split,
  .contact {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 2.6rem;
  }

  .hero__visual {
    order: -1;
  }

  .topbar .container {
    flex-direction: column;
    gap: 0.25rem;
    align-items: flex-start;
  }

  .site-footer__inner {
    flex-direction: column;
    gap: 0.4rem;
    text-align: center;
  }
}

@media (max-width: 600px) {
  .hero__content h1 {
    font-size: 1.9rem;
  }

  .hero__inner {
    gap: 2rem;
  }

  .hero-ball {
    width: 140px;
    height: 140px;
  }

  .section {
    padding: 2.6rem 0;
  }
}
/* ============================
   DROPDOWN EN HERO (Ver soluciones)
   ============================ */

.hero-dropdown {
  position: relative;
  display: inline-block;
}

.hero-dropdown-toggle {
  position: relative;
  z-index: 2;
}

.hero-dropdown-menu {
  position: absolute;
  top: 110%;
  left: 0;
  background: #ffffff;
  padding: 0.6rem 0;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  box-shadow: 0 18px 40px rgba(0,0,0,0.18);
  list-style: none;
  min-width: 200px;
  display: none;
  animation: fadeIn 0.15s ease-out;
}

.hero-dropdown-menu li a {
  display: block;
  padding: 0.55rem 1rem;
  color: var(--color-text);
  font-size: 0.92rem;
}

.hero-dropdown-menu li a:hover {
  background: var(--color-bg);
  color: var(--color-accent);
}

/* Mostrar menú al hacer hover */
.hero-dropdown:hover .hero-dropdown-menu {
  display: block;
}

/* Animación simple */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

