* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background: #e8e3dc;
  color: #1f1f1f;
}

.page {
  width: 92%;
  max-width: 1450px;
  margin: 28px auto;
  border-radius: 24px;
  overflow: hidden;
  background: #f6f3ef;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* FONDO SUPERIOR */
.hero {
  height: 280px;
  background-image: url("public_html/img/edificios.jpg");
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
}

/* TARJETA */
.card {
  position: relative;
  background: #f6f3ef;
  text-align: center;
  padding: 110px 40px 60px;
}

/* FOTO */
.profile-img {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border-radius: 50%;
  border: 8px solid #f6f3ef;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.12);

  position: absolute;
  top: -90px;
  left: 50%;
  transform: translateX(-50%);
}

h1 {
  margin: 0;
  font-size: 64px;
  font-weight: 700;
  font-style: oblique;
}

h2 {
  
  
  margin-top: 14px;
  margin-bottom: 48px;
  font-size: 24px;
  font-weight: 400;
  color: grey;
  font-style: initial;
}

.info-boxes {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 42px;
  

}

.box {
  width: 31%;
  min-width: 260px;
  background: #ebe7e3;
  border-radius: 20px;
  padding: 28px 24px;
}

.box h3 {
  margin-top: 0;
  margin-bottom: 18px;
  font-size: 22px;
}

.box p {
  margin: 0;
  font-size: 18px;
  line-height: 1.7;
  color: #333;
}

.buttons {
  display: flex;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

.buttons a {
  text-decoration: none;
  background: silver;
  color: black;
  padding: 15px 28px;
  border-radius: 999px;
  font-size: 17px;
  transition: 0.25s ease;
}

.buttons a:hover {
  background: pink;
  transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .hero {
    height: 220px;
  }

  .card {
    padding: 95px 20px 40px;
  }

  .profile-img {
    width: 150px;
    height: 150px;
    top: -75px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 20px;
  }

  .box {
    width: 100%;
  }

  
}