/* -------------------------
   Paleta de colores
   -------------------------
   Fondo claro: #f5f5f5
   Beige suave: #d8cfc4
   Gris medio:  #999999
   Gris oscuro: #444444
   Negro puro:  #111111
----------------------------*/

/* Reset básico */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #111111;
  background-color: #f5f5f5;
  line-height: 1.6;
}

/* Contenedor general */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Header / Hero */
#hero {
  background: linear-gradient(rgba(17, 17, 17, 0.7), rgba(17, 17, 17, 0.7)),
              url("fondo-estudio.jpg") center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 100px 20px;
}

#hero h1 {
  font-size: 2.5rem;
  font-weight: 600;
  letter-spacing: 2px;
}

#hero p {
  font-size: 1.2rem;
  margin: 15px 0;
  color: #e0e0e0;
}

#hero .btn {
  background-color: #d8cfc4;
  color: #111111;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s ease;
}

#hero .btn:hover {
  background-color: #999999;
  color: #fff;
}

/* Secciones generales */
.seccion {
  padding: 80px 20px;
}

.seccion h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #444444;
}

/* Servicios */
.grid-servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.servicio-item {
  background: #fff;
  border: 1px solid #e0e0e0;
  padding: 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.servicio-item:hover {
  border-color: #d8cfc4;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.servicio-item h3 {
  margin-bottom: 10px;
  color: #111111;
}

/* Diferenciales */
.lista-diferenciales {
  list-style: none;
  max-width: 700px;
  margin: 0 auto;
  padding: 0;
}

.lista-diferenciales li {
  padding: 12px;
  border-bottom: 1px solid #ddd;
  color: #444444;
}

.lista-diferenciales li:last-child {
  border-bottom: none;
}

/* Testimonios */
.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

blockquote {
  background: #fff;
  padding: 20px;
  border-left: 4px solid #d8cfc4;
  font-style: italic;
  border-radius: 8px;
}

/* Equipo */
.grid-equipo {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  text-align: center;
}

.grid-equipo img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

/* Noticias */
.grid-noticias {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
}

.noticia {
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  transition: 0.3s ease;
}

.noticia:hover {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.noticia a {
  color: #111111;
  font-weight: 600;
  text-decoration: none;
}

.noticia a:hover {
  color: #999999;
}

/* Contacto */
.contacto-datos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contacto-datos form {
  display: flex;
  flex-direction: column;
}

.contacto-datos input,
.contacto-datos textarea {
  padding: 12px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.contacto-datos button {
  background: #111111;
  color: #fff;
  padding: 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.contacto-datos button:hover {
  background: #444444;
}

/* Footer */
#footer {
  background: #111111;
  color: #fff;
  text-align: center;
  padding: 30px 20px;
}

#footer p {
  margin: 8px 0;
  color: #d8cfc4;
}

#footer .redes a {
  margin: 0 10px;
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}

#footer .redes a:hover {
  color: #d8cfc4;
}

/* Responsividad */
@media (max-width: 768px) {
  .contacto-datos {
    grid-template-columns: 1fr;
  }

  #hero h1 {
    font-size: 2rem;
  }

  #hero p {
    font-size: 1rem;
  }
}
