@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600&display=swap');

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

body {
  font-family: 'Poppins', sans-serif;
  background: #fff;
  color: #222;
  line-height: 1.5;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --------- HEADER --------- */
header {
  background-color: #000;
  color: #fff;
  padding: 0.8rem 1rem;
}

.header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo h1 {
  font-size: 1.8rem;
  font-weight: 700;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.menu a {
  color: #fff;
  font-weight: 500;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #e60000;
}

/* --------- HERO --------- */
.reparar-hero {
  background: url('../img/reparar-hero.jpg') center center / cover no-repeat;
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}



.reparar-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
}

.reparar-overlay {
  position: relative;
  color: #fff;
  max-width: 800px;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.5);
  border-radius: 10px;
}

.reparar-overlay h1 {
  font-size: 2.2rem;
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.reparar-overlay p {
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .reparar-overlay h1 {
    font-size: 1.8rem;
  }

  .reparar-overlay p {
    font-size: 1rem;
  }
}

/* --------- SECCIÓN ¿CUÁL ES TU DAÑO? --------- */
.reparar-main {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 1rem;
}

.elige-dano {
  text-align: center;
  margin-bottom: 2rem;
}

.elige-dano h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.elige-dano p {
  font-size: 1rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

.grid-danos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.dano-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  color: #222;
}

.dano-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transform: translateY(-3px);
}

.dano-card img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.dano-card span {
  font-size: 1rem;
  font-weight: 600;
}

/* --------- FOOTER --------- */
footer {
  background-color: #000;
  color: #fff;
  padding: 2rem 1rem 1rem;
}

.footer-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer-column {
  flex: 1 1 200px;
}

.footer-column h2,
.footer-column h3 {
  margin-bottom: 0.8rem;
  font-weight: 700;
}

.footer-column p,
.footer-column ul {
  font-size: 0.95rem;
  color: #ccc;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 0.5rem;
}

.footer-column ul a {
  color: #ccc;
  transition: color 0.3s ease;
}

.footer-column ul a:hover {
  color: #e60000;
}

.footer-bottom {
  text-align: center;
  margin-top: 1rem;
  font-size: 0.85rem;
  color: #aaa;
}

/* --------- WHATSAPP FLOAT --------- */
.whatsapp-float {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

.whatsapp-float img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  border-radius: 50%;
  box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.whatsapp-float:hover img {
  transform: scale(1.1);
}

