:root {
  --azul-claro: #cfeafd;
  --azul-profundo: #0a3d62;
  --acento: #f7b731;
  --fondo-claro: #f9f9f9;
  --texto: #1c1c1e;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--fondo-claro);
  color: var(--texto);
  line-height: 1.6;
}

/* Header */
header {
  background: #ffffff;
  padding: 1.2em 2em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.logo {
  font-weight: 800;
  font-size: 1.5em;
  color: var(--azul-profundo);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5em;
}

nav a {
  text-decoration: none;
  color: var(--texto);
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: var(--acento);
}

/* Hero */
.hero {
  background: url('assets/fondo-hero.jpg') center/cover no-repeat;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.5);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 2em;
}

.hero h1 {
  font-size: 3em;
}

.hero span {
  color: var(--acento);
}

.btn {
  margin-top: 1.5em;
  padding: 0.8em 2em;
  background: var(--azul-profundo);
  color: white;
  border: none;
  border-radius: 5px;
  text-decoration: none;
  font-weight: 600;
  transition: background 0.3s ease;
}

.btn:hover {
  background: var(--acento);
}

/* Secciones generales */
section {
  padding: 4em 2em;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
  margin-top: 2em;
}

.servicio img {
  height: 60px;
  margin-bottom: 1em;
}

/* Galería */
.galeria {
  display: flex;
  flex-wrap: wrap;
  gap: 1em;
  justify-content: center;
}

.galeria img {
  width: 300px;
  border-radius: 10px;
}

/* Testimonios */
.testimonial {
  margin-bottom: 2em;
  max-width: 700px;
  margin: auto;
  font-style: italic;
}

.testimonial h4 {
  margin-top: 1em;
  font-weight: 600;
}

/* Cita */
.cita {
  background: url('assets/fondo-cita.jpg') center/cover no-repeat;
  color: white;
  padding: 4em 2em;
}

.cita blockquote {
  font-size: 1.5em;
}

.cita span {
  color: var(--acento);
}

/* Contacto */
.contacto form {
  display: flex;
  flex-direction: column;
  gap: 1em;
  max-width: 600px;
  margin: auto;
}

.contacto input,
.contacto textarea {
  padding: 1em;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-family: inherit;
}

.contacto button {
  padding: 1em;
  background: var(--azul-profundo);
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
}

.contacto button:hover {
  background: var(--acento);
}

/* Footer */
footer {
  background: var(--azul-claro);
  text-align: center;
  padding: 2em;
  font-size: 0.9em;
}
