/* ─── Google Fonts ─── */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&display=swap');

/* ─── Variables de marca ─── */
:root {
  --green:    #40ed98;
  --cyan:     #40e0ea;
  --purple:   #7734c3;
  --dark:     #1a1a2e;
  --text:     #2d2d2d;
  --gradient: linear-gradient(135deg, #40ed98, #40e0ea);
  --font:     'Montserrat', sans-serif;
}

/* ─── Reset y base ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--text); line-height: 1.6; }
img { max-width: 100%; display: block; }
a { text-decoration: none; }

/* ─── Utilidades ─── */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.btn-primary {
  display: inline-block;
  background: var(--purple);
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.btn-primary:hover { background: var(--cyan); transform: translateY(-2px); }

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #fff !important;
  padding: 14px 36px;
  border-radius: 6px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-whatsapp:hover { background: #1da851; }

/* ─── Navbar ─── */
.navbar {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: var(--dark);
  padding: 16px 0;
  transition: background 0.3s, backdrop-filter 0.3s;
}
.navbar.scrolled {
  background: rgba(26, 26, 46, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.navbar__logo img { height: 48px; width: auto; max-width: 200px; object-fit: contain; }
.navbar__links {
  display: flex;
  gap: 32px;
  list-style: none;
}
.navbar__links a {
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  transition: color 0.3s;
}
.navbar__links a:hover { color: var(--green); }
.navbar__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.navbar__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  transition: all 0.3s;
}

/* ─── Hero ─── */
.hero {
  min-height: 100vh;
  background-color: var(--dark);
  background-image:
    radial-gradient(ellipse at 80% 50%, rgba(64,237,152,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 20% 80%, rgba(119,52,195,0.12) 0%, transparent 50%);
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.hero__content { display: flex; flex-direction: column; gap: 24px; }
.hero__title {
  font-size: 52px;
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
}
.hero__subtitle {
  font-size: 18px;
  font-weight: 400;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
}
.hero__image { border-radius: 16px; overflow: hidden; }
.hero__image img { width: 100%; border-radius: 16px; }

/* ─── Servicios ─── */
.services {
  padding: 100px 0;
  background: #fff;
}
.section-title {
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 60px;
}
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.service-card {
  position: relative;
  background: #fff;
  border-radius: 12px;
  padding: 36px 28px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  transition: box-shadow 0.3s, transform 0.3s;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gradient);
}
.service-card:hover {
  box-shadow: 0 12px 40px rgba(119,52,195,0.15);
  transform: translateY(-6px);
}
.service-card__icon { margin-bottom: 20px; }
.service-card__icon svg { width: 48px; height: 48px; stroke: var(--green); fill: none; }
.service-card__title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.service-card__text {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 24px;
}
.service-card__link {
  font-size: 14px;
  font-weight: 700;
  color: var(--purple);
  transition: color 0.3s;
}
.service-card__link:hover { color: var(--cyan); }

/* ─── ¿Por qué Limbus? ─── */
.why {
  padding: 100px 0;
  background: linear-gradient(135deg, rgba(64,237,152,0.06) 0%, rgba(64,224,234,0.06) 100%);
}
.why__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}
.diff-item { display: flex; gap: 20px; align-items: flex-start; }
.diff-item__icon { flex-shrink: 0; }
.diff-item__icon svg { width: 40px; height: 40px; stroke: var(--purple); fill: none; }
.diff-item__title {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
}
.diff-item__text { font-size: 15px; color: #555; line-height: 1.7; }

/* ─── Agendar ─── */
.contact {
  padding: 100px 0;
  background: var(--dark);
}
.contact .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.contact__title {
  font-size: 36px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}
.contact__subtitle {
  font-size: 18px;
  color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.contact__text {
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  line-height: 1.7;
  margin-bottom: 40px;
}
.contact__form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.75);
}
.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 6px;
  padding: 12px 16px;
  font-family: var(--font);
  font-size: 15px;
  color: #fff;
  transition: border-color 0.3s, box-shadow 0.3s;
  outline: none;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,0.35); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(64,224,234,0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form__submit {
  margin-top: 8px;
  width: 100%;
  padding: 16px;
  font-size: 16px;
}

/* ─── Footer ─── */
.footer {
  background: #0d0d1a;
  padding: 48px 0;
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 24px;
}
.footer__logo img { height: 44px; width: auto; max-width: 180px; object-fit: contain; }
.footer__nav { display: flex; gap: 24px; list-style: none; }
.footer__nav a {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
  transition: color 0.3s;
}
.footer__nav a:hover { color: var(--green); }
.footer__social { display: flex; gap: 16px; align-items: center; }
.footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.6);
  transition: background 0.3s, color 0.3s;
}
.footer__social a:hover {
  background: rgba(64,237,152,0.15);
  color: var(--green);
}
.footer__social svg { display: block; }
.footer__copy {
  width: 100%;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.3);
  margin-top: 16px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
}

/* ─── Responsive ─── */
@media (max-width: 1024px) {
  .hero .container { gap: 40px; }
  .hero__title { font-size: 40px; }
  .services__grid { grid-template-columns: repeat(2, 1fr); }
  .navbar__cta { display: none !important; }
}

@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--dark);
    padding: 24px;
    gap: 20px;
  }
  .navbar__hamburger { display: flex; }
  .navbar__cta { display: none !important; }

  .hero .container { grid-template-columns: 1fr; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero__title { font-size: 30px; }
  .hero__subtitle { font-size: 16px; }
  .hero__image { display: none; }

  .section-title { font-size: 28px; }
  .services__grid { grid-template-columns: 1fr; }
  .why__grid { grid-template-columns: 1fr; }

  .contact .container { grid-template-columns: 1fr; gap: 40px; }
  .contact__title { font-size: 26px; }

  .footer .container { flex-direction: column; align-items: center; text-align: center; }
  .footer__nav { flex-wrap: wrap; justify-content: center; }
}

@media (max-width: 480px) {
  .hero__title { font-size: 26px; }
  .btn-primary, .btn-whatsapp { width: 100%; text-align: center; justify-content: center; }
}
