/* ===== VARIABLES: cambiá los colores acá y se actualiza todo el sitio ===== */
:root {
  --bg: #0f172a;        /* fondo oscuro */
  --card: #1e293b;      /* tarjetas */
  --text: #e2e8f0;      /* texto principal */
  --muted: #94a3b8;     /* texto secundario */
  --accent: #38bdf8;    /* celeste de marca */
  --wa: #25d366;        /* verde WhatsApp */
  --radius: 12px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

a { color: var(--accent); text-decoration: none; }

/* ===== NAV ===== */
.nav {
  position: sticky; top: 0; z-index: 10;
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  padding: 0.8rem 1.2rem;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #1e293b;
}
.logo { font-weight: 800; font-size: 1.3rem; color: var(--text); }
.nav nav { display: flex; gap: 1.2rem; }
.nav nav a { color: var(--muted); }
.nav nav a:hover { color: var(--text); }

/* ===== BOTONES ===== */
.btn {
  display: inline-block; padding: 0.7rem 1.3rem;
  border-radius: 999px; font-weight: 600;
  transition: transform .15s, opacity .15s;
}
.btn:hover { transform: translateY(-2px); opacity: .9; }
.btn-wa { background: var(--wa); color: #06210f; }
.btn-outline { border: 2px solid var(--accent); color: var(--accent); }

/* ===== HERO ===== */
.hero {
  text-align: center; padding: 6rem 1.2rem 5rem;
  /* Foto de fondo oscurecida con un degradado encima para que el texto se lea */
  background:
    linear-gradient(rgba(15, 23, 42, 0.78), rgba(15, 23, 42, 0.92)),
    url("img/trabajo-1.jpg") center / cover no-repeat;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 1rem; }
.hero p { max-width: 42rem; margin: 0 auto 2rem; color: var(--muted); font-size: 1.1rem; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ===== SECCIONES ===== */
.section { max-width: 1100px; margin: 0 auto; padding: 4rem 1.2rem; }
.section h2 { font-size: 2rem; margin-bottom: 1.5rem; }
.muted { color: var(--muted); margin-bottom: 1.5rem; }

/* ===== SERVICIOS ===== */
.services {
  list-style: none;
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.services li { background: var(--card); padding: 1.5rem; border-radius: var(--radius); }
.services .icon { font-size: 2rem; display: block; margin-bottom: .5rem; }
.services h3 { margin-bottom: .3rem; }
.services p { color: var(--muted); font-size: .95rem; }

/* ===== GALERÍA ===== */
.gallery {
  display: grid; gap: .8rem;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.gallery a { display: block; overflow: hidden; border-radius: var(--radius); }
.gallery img, .gallery video {
  display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover;
  background: var(--card); transition: transform .3s;
}
.gallery a:hover img { transform: scale(1.04); }

/* ===== RESEÑAS ===== */
.reviews {
  display: grid; gap: 1rem; margin-bottom: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.review { background: var(--card); padding: 1.3rem; border-radius: var(--radius); }
.review .stars { color: #fbbf24; letter-spacing: 2px; }
.review .author { font-weight: 600; margin-top: .6rem; }
.review .when { color: var(--muted); font-size: .85rem; }
.review-empty { grid-column: 1 / -1; text-align: center; }
.review-empty p { margin: .6rem 0 1.2rem; color: var(--muted); }

/* ===== CONTACTO ===== */
.contact-grid {
  display: grid; gap: 2rem; align-items: start;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.contact-grid p { margin-bottom: .6rem; }
.contact-grid .btn { margin-top: 1rem; }
.contact-grid iframe {
  width: 100%; height: 320px; border: 0; border-radius: var(--radius);
}

footer { text-align: center; padding: 2rem; color: var(--muted); font-size: .9rem; border-top: 1px solid #1e293b; }

/* ===== CELULAR: ocultar links del menú en pantallas chicas ===== */
@media (max-width: 640px) {
  .nav nav { display: none; }
}
