:root {
  --color-fondo: #0f1117;
  --color-fondo-alt: #161923;
  --color-texto: #eef0f5;
  --color-texto-suave: #a3a8b8;
  --color-acento: #22c1a1;
  --color-acento-suave: #6ee7c8;
  --fuente-titulo: 'Poppins', sans-serif;
  --fuente-texto: 'Inter', sans-serif;
  --max-width: 1100px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--color-fondo);
  color: var(--color-texto);
  font-family: var(--fuente-texto);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

/* NAVBAR */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 6%;
  background: rgba(15, 17, 23, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.logo {
  font-family: var(--fuente-titulo);
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--color-texto);
}

.logo span {
  color: var(--color-acento);
}

nav {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-links a {
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--color-texto-suave);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--color-acento-suave);
}

.nav-cta {
  background: var(--color-acento);
  color: #06110d !important;
  padding: 0.55rem 1.2rem;
  border-radius: 50px;
  font-weight: 600 !important;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 1100;
}

.menu-toggle span {
  width: 24px;
  height: 2px;
  background: var(--color-texto);
  transition: all 0.3s ease;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: 8rem 6% 4rem;
  max-width: var(--max-width);
  margin: 0 auto;
  flex-wrap: wrap;
}

.hero-content {
  flex: 1 1 420px;
}

.hero-etiqueta {
  color: var(--color-acento-suave);
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.8rem;
}

.hero-content h1 {
  font-family: var(--fuente-titulo);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-texto {
  color: var(--color-texto-suave);
  max-width: 500px;
  margin-bottom: 2rem;
}

.hero-botones {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.8rem;
}

.btn {
  padding: 0.8rem 1.8rem;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: inline-block;
}

.btn-primario {
  background: var(--color-acento);
  color: #06110d;
}

.btn-secundario {
  border: 1px solid rgba(255,255,255,0.2);
  color: var(--color-texto);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(34, 193, 161, 0.3);
}

.btn-full {
  width: 100%;
  text-align: center;
}

.hero-precio-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 0.5rem;
  background: var(--color-fondo-alt);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.6rem 1.2rem;
  border-radius: 12px;
}

.precio-num {
  font-family: var(--fuente-titulo);
  font-weight: 700;
  color: var(--color-acento-suave);
  font-size: 1.2rem;
}

.precio-texto {
  color: var(--color-texto-suave);
  font-size: 0.85rem;
}

.hero-img {
  flex: 1 1 260px;
  display: flex;
  justify-content: center;
}

.hero-foto {
  width: 240px;
  height: 240px;
  border-radius: 28px;
  object-fit: cover;
  box-shadow: 0 20px 50px rgba(34, 193, 161, 0.25);
}

/* SECCIONES */
.seccion {
  padding: 5rem 6%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.seccion-alt {
  max-width: 100%;
  background: var(--color-fondo-alt);
}

.seccion-alt > * {
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
}

.titulo-seccion {
  font-family: var(--fuente-titulo);
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  margin-bottom: 2rem;
  position: relative;
  display: block;
}

.titulo-seccion::after {
  content: "";
  display: block;
  width: 50px;
  height: 3px;
  background: var(--color-acento);
  margin-top: 0.6rem;
  border-radius: 2px;
}

/* SERVICIOS */
.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.servicio-card {
  background: var(--color-fondo-alt);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 1.8rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.servicio-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-acento);
}

.servicio-icono {
  font-size: 1.6rem;
  margin-bottom: 0.8rem;
}

.servicio-card h3 {
  font-family: var(--fuente-titulo);
  margin-bottom: 0.5rem;
  color: var(--color-acento-suave);
  font-size: 1.05rem;
}

.servicio-card p {
  color: var(--color-texto-suave);
  font-size: 0.92rem;
}

/* PRECIOS */
.precios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.precio-card {
  background: var(--color-fondo);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 2rem;
}

.precio-card.destacado {
  border-color: var(--color-acento);
  box-shadow: 0 15px 40px rgba(34, 193, 161, 0.15);
}

.precio-label {
  color: var(--color-texto-suave);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.precio-cifra {
  font-family: var(--fuente-titulo);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--color-acento-suave);
}

.precio-cifra span {
  font-size: 1rem;
  color: var(--color-texto-suave);
  font-weight: 500;
}

.precio-detalle {
  color: var(--color-texto-suave);
  font-size: 0.85rem;
  margin-bottom: 1.2rem;
}

.precio-lista {
  margin-bottom: 1.6rem;
}

.precio-lista li {
  color: var(--color-texto-suave);
  font-size: 0.9rem;
  padding: 0.35rem 0;
  padding-left: 1.4rem;
  position: relative;
}

.precio-lista li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-acento);
  font-weight: 700;
}

/* SOBRE MÍ */
.sobre-mi-contenido p {
  color: var(--color-texto-suave);
  max-width: 700px;
  margin-bottom: 1.2rem;
}

/* CONTACTO */
.contacto-texto {
  color: var(--color-texto-suave);
  margin-bottom: 1.5rem;
}

.contacto-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contacto-item {
  background: var(--color-fondo);
  border: 1px solid rgba(255,255,255,0.08);
  padding: 0.8rem 1.4rem;
  border-radius: 12px;
  font-size: 0.9rem;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.contacto-item:hover {
  transform: translateY(-3px);
  border-color: var(--color-acento);
}

.contacto-nota {
  color: var(--color-texto-suave);
  font-size: 0.85rem;
  font-style: italic;
}

/* FOOTER */
.footer {
  text-align: center;
  padding: 2rem 6%;
  color: var(--color-texto-suave);
  font-size: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    background: var(--color-fondo-alt);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.2rem;
    transition: right 0.35s ease;
    box-shadow: -10px 0 30px rgba(0,0,0,0.3);
  }

  .nav-links.active {
    right: 0;
  }

  .hero {
    flex-direction: column-reverse;
    text-align: center;
    padding-top: 7rem;
  }

  .hero-botones,
  .hero-precio-chip {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-botones {
    justify-content: center;
  }

  .img-placeholder {
    width: 180px;
    height: 180px;
    font-size: 0.85rem;
  }

  .contacto-links {
    justify-content: center;
  }
}

@media (max-width: 420px) {
  .navbar {
    padding: 1rem 5%;
  }

  .seccion {
    padding: 4rem 5%;
  }
}
