/* =======================================================
   ESTILOS LANDING PAGE GRUPO ALDA (V13 - PULIDO FINAL)
   ======================================================= */

:root {
  --color-primary: #3b82f6;
  --color-bg-dark: #0f172a;
  --color-bg-panel: #1e293b;
  --color-text-light: #f8fafc;
  --color-text-muted: #cbd5e1;
  --color-border: #334155;
  --color-whatsapp: #25D366;
  
  --font-family: 'Outfit', sans-serif;
}

/* 1. SCROLL SUAVE */
html { scroll-behavior: smooth; }

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--font-family);
  background-color: var(--color-bg-dark);
  color: var(--color-text-light);
  line-height: 1.7;
  font-size: 19px;
}

.container { max-width: 1300px; margin: 0 auto; padding: 0 5%; }

/* NAVBAR */
.navbar {
  display: flex; justify-content: space-between; align-items: center;
  padding: 20px 5%; background: var(--color-bg-panel);
  border-bottom: 1px solid var(--color-border);
  position: sticky; top: 0; z-index: 1000;
}
.logo img { height: 60px !important; }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a { text-decoration: none; color: var(--color-text-light); font-weight: 600; }
.btn-primary { 
  background-color: var(--color-primary); color: white; padding: 12px 24px; 
  border-radius: 8px; font-weight: 700; text-decoration: none;
  transition: opacity 0.2s;
}
.btn-primary:hover { opacity: 0.9; }

/* HERO */
.hero { padding: 100px 5%; text-align: center; }
h1 { font-size: 52px; line-height: 1.2; margin-bottom: 25px; color: white; max-width: 900px; margin: 0 auto 25px; }
.hero p { color: var(--color-text-muted); max-width: 800px; margin: 0 auto 30px; }
.btn-primary-large { 
  display: inline-block; background-color: var(--color-primary); color: white; padding: 20px 40px; 
  border-radius: 8px; font-weight: 700; font-size: 20px; text-decoration: none;
  transition: transform 0.2s;
}
.btn-primary-large:hover { transform: translateY(-2px); }

/* CARDS */
.services-section { padding: 80px 5%; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.card { 
  background: var(--color-bg-panel); padding: 30px; border-radius: 20px; 
  border: 1px solid var(--color-border); display: flex; flex-direction: column;
}
.card h3 { color: white; margin-bottom: 15px; font-size: 22px; }
.card p { color: var(--color-text-muted); font-size: 16px; flex-grow: 1; }
.card ul { list-style: none; margin-top: 15px; }
.card li { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; color: var(--color-text-muted); font-size: 16px; }

/* CONTACT */
.contact-section { padding: 80px 5%; }
.contact-wrapper { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 50px; 
  align-items: start;
}
.contact-text h2 { margin-bottom: 20px; font-size: 36px; }
.contact-form { display: flex; flex-direction: column; gap: 15px; }
.contact-form input, .contact-form textarea { 
  padding: 15px; background: #0f172a; color: white; 
  border: 1px solid var(--color-border); border-radius: 8px; font-size: 16px; width: 100%;
  transition: border-color 0.2s;
}
.contact-form input:focus, .contact-form textarea:focus { 
  outline: none; border-color: var(--color-primary); 
}
.contact-form textarea { height: 120px; }
.contact-form button { 
  padding: 15px; background: var(--color-primary); color: white; 
  border: none; border-radius: 8px; font-weight: 700; font-size: 18px; cursor: pointer;
  transition: opacity 0.2s;
}
.contact-form button:hover { opacity: 0.9; }

/* BOTÓN WHATSAPP */
.btn-whatsapp-large {
  display: inline-flex; align-items: center; gap: 15px;
  background-color: var(--color-whatsapp); color: white; padding: 15px 30px;
  border-radius: 8px; font-weight: 700; text-decoration: none; font-size: 18px;
  margin-top: 20px; transition: transform 0.2s;
}
.btn-whatsapp-large:hover { transform: translateY(-2px); }

/* BOTÓN STICKY MOBILE */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--color-primary);
  color: white;
  text-align: center;
  padding: 15px;
  font-weight: 700;
  text-decoration: none;
  z-index: 2000;
  font-size: 18px;
}

@media (max-width: 768px) {
  .sticky-cta { display: block; }
  .navbar .btn-primary { display: none; }
  .contact-wrapper { grid-template-columns: 1fr; }
}

.footer-bottom { text-align: center; padding: 40px; color: var(--color-text-muted); background: var(--color-bg-panel); }
