:root {
  --primary: #1a3a52;
  --primary-light: #2a5a7f;
  --accent: #0891b2;
  --accent-light: #06b6d4;
  --neutral-50: #f9fafb;
  --neutral-100: #f3f4f6;
  --neutral-200: #e5e7eb;
  --neutral-600: #4b5563;
  --neutral-800: #1f2937;
  --neutral-900: #111827;

  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.6;
}

/* ================= RESET ================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: white;
  color: var(--neutral-800);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ================= TITULOS ================= */

h1, h2, h3, h4 {
  font-weight: 600;
}

h2 {
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 3rem;
  text-align: center;
}

/* ================= NAVBAR FUTURISTA ================= */

.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 1rem 0;
  z-index: 1000;

  /* Glass effect */
  backdrop-filter: blur(12px);
  background: rgba(15, 40, 65, 0.65);

  /* Borde inferior luminoso */
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  /* Glow inferior */
  box-shadow:
    0 4px 20px rgba(0, 180, 255, 0.15),
    inset 0 -1px 0 rgba(0, 200, 255, 0.3);

  transition: all 0.4s ease;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo h1 {
  font-size: 1.4rem;
  letter-spacing: 3px;
  font-weight: 700;
  color: #ffffff;
}

.logo .tagline {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 1px;
}

/* LINKS */

.nav-links {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-weight: 500;
  position: relative;
  transition: all 0.3s ease;
}

/* Hover futurista */
.nav-links a:hover {
  color: #06b6d4;
  text-shadow: 0 0 8px rgba(0, 200, 255, 0.7);
}

/* Línea animada */
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, #06b6d4, #0ea5e9);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* ================= HERO PROFESIONAL ================= */

.hero {
  margin-top: 80px;
  position: relative;
  height: 95vh;
  background-image: url("../assets/hero/hero-alphago.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(10, 25, 40, 0.9) 0%,
    rgba(10, 25, 40, 0.85) 40%,
    rgba(10, 25, 40, 0.5) 70%,
    transparent 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 650px;
  padding-left: 8%;
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  text-shadow: 0px 4px 15px rgba(0,0,0,0.6);
}

.hero-content h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 500;
  color: #e0f7ff;
}

.hero-content p {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 2rem;
  color: #f1f5f9;
}

.cta-button {
  background: var(--accent);
  border: none;
  padding: 0.9rem 2.5rem;
  border-radius: 8px;
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s ease;
}

.cta-button:hover {
  background: var(--accent-light);
  transform: translateY(-3px);
}

/* ================= ASI AYUDAMOS ================= */

.how-we-help {
  padding: 5rem 20px;
  background: var(--neutral-100);
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
}

.help-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-top: 6px solid var(--accent);
  transition: 0.4s ease;
}

.help-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.help-card img {
  width: 110px;
  margin-bottom: 1.5rem;
}

.help-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
}

.help-card p {
  color: var(--neutral-600);
}

/* ================= SERVICIOS ================= */

.services {
  padding: 5rem 20px;
  background: var(--neutral-100);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.service-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 18px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-top: 6px solid var(--accent);
  transition: 0.4s ease;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.service-card img {
  width: 120px;
  margin-bottom: 1.5rem;
}

/* ================= PORTAFOLIO ================= */

.portfolio-section {
  padding: 4rem 20px;
  background: var(--neutral-50);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.portfolio-card {
  background: white;
  padding: 2.5rem 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
  border-top: 4px solid var(--accent);
  transition: 0.3s ease;
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 18px 35px rgba(0,0,0,0.12);
}

.portfolio-card img {
  width: 110px;
  margin-bottom: 1.5rem;
}

/* ================= CONTACTO ================= */

.contact {
  padding: 5rem 20px;
  background: var(--neutral-100);
}

.contact-form {
  max-width: 600px;
  margin: 2rem auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.9rem;
  border: 2px solid var(--neutral-200);
  border-radius: 8px;
}

.submit-button {
  background: var(--accent);
  color: white;
  border: none;
  padding: 0.9rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

/* ================= FOOTER ================= */

.footer {
  background: var(--neutral-900);
  color: white;
  padding: 2rem 20px;
  text-align: center;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 768px) {
  .hero-content {
    padding: 5%;
  }

  .hero-content h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 2rem;
  }
}
/* ================================
   SERVICIOS PROFESIONALES
================================ */

.professional-services {
  padding: 5rem 20px;
  background: var(--neutral-100);
  text-align: center;
}

.professional-services h2 {
  margin-bottom: 3rem;
  color: var(--primary);
}

.professional-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.professional-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0,0,0,0.08);
  border-top: 5px solid var(--accent);
  transition: all 0.4s ease;
}

.professional-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

.number-circle {
  width: 60px;
  height: 60px;
  background: var(--accent);
  color: white;
  font-weight: 700;
  font-size: 1.4rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
  transition: 0.3s ease;
}

.professional-card:hover .number-circle {
  background: var(--accent-light);
  transform: scale(1.1);
}

.professional-card h3 {
  margin-bottom: 1rem;
  color: var(--primary);
  font-size: 1.2rem;
}

.professional-card p {
  color: var(--neutral-600);
  font-size: 0.95rem;
}

/* ================================
   CONTACTO EQUIPO
================================ */

.team-contact {
  padding: 5rem 20px;
  background: var(--neutral-100);
  text-align: center;
}

.team-contact h2 {
  margin-bottom: 3rem;
  color: var(--primary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.team-card {
  background: linear-gradient(135deg, #1e3a52, #2a5a7f);
  padding: 2.5rem 2rem;
  border-radius: 16px;
  color: white;
  box-shadow: 0 12px 30px rgba(0,0,0,0.2);
  transition: all 0.4s ease;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.team-card h3 {
  margin-bottom: 1.2rem;
  font-size: 1.3rem;
  color: var(--accent-light);
}

.team-card p {
  margin: 0.6rem 0;
  font-size: 0.95rem;
  opacity: 0.95;
}

.team-card .phone {
  color: #ff6b81;
  font-weight: 500;
}

.team-card .email {
  color: #38bdf8;
  word-break: break-word;
}
