:root {
  --bg: #0c0f14;
  --bg-elevated: #131820;
  --text: #e8eaef;
  --text-muted: #9aa3b2;
  --accent: #3d8bfd;
  --accent-soft: rgba(61, 139, 253, 0.18);
  --header-h: 4rem;
  --radius: 12px;
  --shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  font-size: 16px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  color: var(--accent);
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  background: rgba(12, 15, 20, 0.72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.logo {
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.05rem;
}

.nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1.75rem;
}

.nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-muted);
}

.nav a:hover {
  color: var(--text);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: var(--accent-soft);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 1.25rem;
  margin: 0 auto;
  background: var(--text);
  border-radius: 1px;
}

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: calc(var(--header-h) + 2rem) 1.5rem 3rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: radial-gradient(ellipse 80% 60% at 50% 40%, #1a2840 0%, var(--bg) 70%);
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 15, 20, 0.55) 0%,
    rgba(12, 15, 20, 0.75) 45%,
    rgba(12, 15, 20, 0.92) 100%
  );
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 52rem;
  margin: 0 auto;
}

.hero-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 4vw + 1rem, 3rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.hero-tagline {
  margin: 0;
  font-size: clamp(1rem, 1.5vw + 0.85rem, 1.35rem);
  font-weight: 500;
  color: var(--text-muted);
  max-width: 36rem;
  margin-inline: auto;
}

.section {
  padding: 4.5rem 1.5rem;
}

.section-alt {
  background: var(--bg-elevated);
}

.section-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.section h2 {
  margin: 0 0 1rem;
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.section p {
  margin: 0;
  color: var(--text-muted);
}

.site-footer {
  padding: 2rem 1.5rem 2.5rem;
  text-align: center;
  font-size: 0.875rem;
  color: var(--text-muted);
  background: var(--bg-elevated);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    max-height: 0;
    overflow: hidden;
    background: rgba(12, 15, 20, 0.98);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    transition: max-height 0.35s ease;
  }

  .nav.is-open {
    max-height: 16rem;
  }

  .nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.75rem 1.5rem 1.25rem;
  }

  .nav li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  }

  .nav a {
    display: block;
    padding: 0.85rem 0;
  }
}

/* Nosotros */

.nosotros-inner {
  max-width: 42rem;
  margin: 0 auto;
}

.section.nosotros h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 0 0 1.5rem;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
}

.section.nosotros h2 > i {
  font-size: 0.9em;
  color: var(--accent);
}

.section.nosotros h3 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 2rem 0 0.65rem;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text);
}

.section.nosotros h3 > i {
  flex-shrink: 0;
  font-size: 1.05rem;
  color: var(--accent);
}

.section.nosotros p {
  margin: 0 0 1rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.section.nosotros p:last-of-type {
  margin-bottom: 0;
}

.nosotros-lista {
  margin: 0 0 1rem;
  padding: 0;
  list-style: none;
  color: var(--text-muted);
  line-height: 1.55;
}

.nosotros-lista li {
  position: relative;
  padding-left: 0.25rem;
  margin-bottom: 0.5rem;
}

.nosotros-lista li:last-child {
  margin-bottom: 0;
}

/* Servicios */

.section.servicios {
  max-width: 72rem;
  margin-inline: auto;
}

.servicios-title {
  margin: 0 0 2.5rem;
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
}

.servicios-subtitle {
  margin: 3rem 0 1.75rem;
  font-size: clamp(1.15rem, 1.2vw + 0.9rem, 1.4rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text);
}

.grid-servicios--planes {
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 16rem), 1fr));
}

.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 18rem), 1fr));
  gap: 1.25rem;
}

.servicios .card {
  background: var(--bg-elevated);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.servicios .card:hover {
  border-color: rgba(61, 139, 253, 0.35);
  transform: translateY(-2px);
}

.servicios .card > i {
  display: block;
  font-size: 1.75rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.servicios .card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.35;
}

.servicios .card p {
  margin: 0;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Contacto */

.contacto-inner {
  max-width: 28rem;
  text-align: center;
}

.contacto-inner h2 {
  margin: 0 0 0.75rem;
}

.contacto .sub {
  margin: 0 0 1.75rem;
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.55;
}

.contacto-items {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.contacto-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.15rem;
  background: rgba(12, 15, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.contacto-item:hover {
  color: var(--text);
  border-color: rgba(61, 139, 253, 0.45);
  background: rgba(61, 139, 253, 0.08);
}

.contacto-item i {
  font-size: 1.35rem;
  flex-shrink: 0;
}

.contacto-item .fa-whatsapp {
  color: #25d366;
}

.contacto-item .fa-envelope {
  color: var(--accent);
}