/* BODY */
body {
  background: #000;
  color: white;
  font-family: Arial;
  position: relative;
  overflow-x: hidden;
}

/* BRILLO DORADO IZQUIERDA */
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(212,175,55,0.25),
    transparent
  );
  z-index: 0;
}

/* BRILLO ESQUINA */
body::after {
  content: "";
  position: fixed;
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.25), transparent 70%);
  filter: blur(60px);
  z-index: 0;
}

/* CONTENIDO ENCIMA */
.about {
  position: relative;
  z-index: 2;
}

/* CONTENEDOR */
.container {
  max-width: 900px;
  margin: auto;
  padding: 60px 20px;
}

/* TITULO */
.title {
  color: #d4af37;
  font-size: 45px;
  text-align: center;
}

/* LINEA CON AVION */
.plane-line {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px 0;
}

.plane-line span {
  flex: 1;
  height: 1px;
  background: #d4af37;
}

.plane-line i {
  margin: 0 15px;
  color: #d4af37;
}

/* TEXTO */
.intro {
  text-align: center;
  line-height: 1.7;
  color: #ddd;
}

.intro span {
  color: #d4af37;
}

.subtitle {
  text-align: center;
  margin: 40px 0 20px;
  color: #d4af37;
}

/* BLOQUES */
.block {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 25px;
}

.block i {
  font-size: 35px;
  color: #d4af37;
}

.block h3 {
  color: #d4af37;
}

.block p {
  margin-top: 5px;
  line-height: 1.8;
  color: #ddd;
}

/* LINEA DORADA PRO */
.block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 60px;
  width: calc(100% - 60px);
  height: 1px;
  background: linear-gradient(
    to right,
    transparent,
    rgba(212,175,55,0.8),
    transparent
  );
  box-shadow: 0 0 12px rgba(212,175,55,0.6);
}

.block:last-child::after {
  display: none;
}

/* SERVICIOS */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.card {
  border: 1px solid #d4af37;
  padding: 20px;
  text-align: center;
}

.card i {
  font-size: 30px;
  margin-bottom: 10px;
  color: #d4af37;
}

/* FINAL */
.final {
  border: 1px solid #d4af37;
  margin-top: 40px;
  padding: 20px;
  text-align: center;
}

/* ========================= */
/* 📱 RESPONSIVE */
/* ========================= */

@media (max-width: 768px) {

  .container {
    padding: 40px 20px;
  }

  .title {
    font-size: 32px;
  }

  .intro {
    font-size: 15px;
  }

  .block {
    flex-direction: column;
    align-items: flex-start;
  }

  .block i {
    font-size: 28px;
  }

  .services {
    grid-template-columns: 1fr 1fr;
  }

  /* quitar brillo lateral */
  body::before {
    display: none;
  }

}

@media (max-width: 480px) {

  .title {
    font-size: 26px;
  }

  .subtitle {
    font-size: 18px;
  }

  .intro {
    font-size: 14px;
    text-align: left;
  }

  .block {
    gap: 10px;
    margin-bottom: 25px;
  }

  .block h3 {
    font-size: 16px;
  }

  .block p {
    font-size: 14px;
  }

  .services {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 15px;
  }

  /* línea completa */
  .block::after {
    left: 0;
    width: 100%;
  }

}

/* ========================= */
/* BANNER FINAL */
/* ========================= */

.banner-final {
  position: relative;
  margin-top: 60px;
  height: 350px;
  border: 1px solid rgba(212,175,55,0.4);
  border-radius: 15px;
  overflow: hidden;
  
  background: url("IMG/familia.png") center/cover no-repeat;
}

/* OSCURECER IMAGEN */
.banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.85),
    rgba(0,0,0,0.4)
  );
}

/* CONTENIDO */
.banner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 40px;
  max-width: 600px;
}

/* ICONO */
.banner-icon {
  color: #d4af37;
  font-size: 28px;
  margin-bottom: 10px;
}

/* TEXTO ARRIBA */
.banner-top {
  color: #ccc;
  letter-spacing: 2px;
  font-size: 14px;
}

/* TITULO GRANDE */
.banner-content h2 {
  color: #d4af37;
  font-size: 32px;
  margin: 10px 0;
}

/* LINEA CON AVION */
.banner-line {
  display: flex;
  align-items: center;
  margin: 15px 0;
}

.banner-line span {
  flex: 1;
  height: 1px;
  background: #d4af37;
}

.banner-line i {
  margin: 0 10px;
  color: #d4af37;
}

/* TEXTO NORMAL */
.banner-sub {
  color: #ccc;
  margin-top: 10px;
}

/* TEXTO CURSIVO */
.banner-script {
  margin-top: 10px;
  color: #d4af37;
  font-style: italic;
  font-size: 18px;
}

/* EFECTO BORDE BRILLO */
.banner-final::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 15px;
  box-shadow: 0 0 25px rgba(212,175,55,0.3);
  pointer-events: none;
}

@media (max-width: 768px) {

  .banner-final {
    height: auto;
  }

  .banner-content {
    padding: 25px;
    max-width: 100%;
  }

  .banner-content h2 {
    font-size: 24px;
  }

}