* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Roboto", sans-serif;
  background-color: #f6f6f6;
  color: #222;
  line-height: 1.6;
}

/* HERO */
.hero {
  position: relative;
  background: url("imagenes/imagen-principal.jpg") center/cover no-repeat;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.45);
}
.logo-container {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.logo-image img {
  width: 140px;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.4);
}
.logo-svg svg {
  width: 90%;
  max-width: 1000px;
  height: auto;
  display: block;
}
.metal-logo .shine-rect {
  animation: slideShine 2.8s linear infinite;
}
@keyframes slideShine {
  0% { transform: translateX(-120%); }
  50% { transform: translateX(40%); }
  100% { transform: translateX(120%); }
}

.hero-text {
  color: #fff;
  margin-top: 10px;
}
.hero-text h1 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: 1px;
}
.hero-text p {
  max-width: 600px;
  margin: 10px auto;
}
.hero-ctas {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.btn-primary, .btn-outline {
  padding: 10px 22px;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s ease;
}
.btn-primary {
  background: #ff7b00;
  color: #fff;
}
.btn-outline {
  border: 2px solid #ff7b00;
  color: #ff7b00;
}
.btn-primary:hover, .btn-outline:hover {
  transform: scale(1.05);
}

/* CONTENEDORES */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 60px auto;
  text-align: center;
}
h2 {
  font-family: "Oswald", sans-serif;
  font-size: 28px;
  margin-bottom: 22px;
  color: #ff7b00;
}

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
}
.service-card {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: 0.3s;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-5px);
}
.service-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}
.service-card h3 {
  margin: 10px;
}

/* SWIPER GALERÍA */
.swiper {
  width: 92%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 20px 0 40px;
}
.swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 22px rgba(0,0,0,0.1);
}
.swiper-slide img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}
.swiper-button-next, .swiper-button-prev {
  color: #ff7b00;
}
.swiper-pagination-bullet-active {
  background: #ff7b00;
}

/* TESTIMONIOS */
.testimonios {
    background: #fff;
    padding: 60px 20px;
    text-align: center;
}

.testimonios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.testimonio {
    background: #f0f0f0;
    border-radius: 10px;
    padding: 20px;
    font-style: italic;
    transition: transform .3s;
}

.testimonio:hover {
    transform: scale(1.05);
}

/* CTA */
.cta-banner {
  background: #ff7b00;
  color: #fff;
  padding: 25px;
  text-align: center;
  animation: pulseBG 4s infinite alternate;
}
@keyframes pulseBG {
  0% { background: #ff7b00; }
  100% { background: #ff9f3a; }
}
.blink-text {
  font-size: 32px;
  font-weight: 700;
  animation: blink 1.2s infinite;
}
.blink-text2 {
  font-size: 16px;
  margin-top: 10px;
  animation: blink2 2s infinite;
}
@keyframes blink {
  50% { opacity: 0.4; }
}
@keyframes blink2 {
  50% { color: #ffe9c0; }
}
.btn-llamar {
  display: inline-block;
  background: #222;
  color: #fff;
  margin-top: 14px;
  padding: 10px 20px;
  border-radius: 6px;
  text-decoration: none;
  transition: 0.3s;
}
.btn-llamar:hover {
  background: #fff;
  color: #222;
}

/* CONTACTO */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 90%;
  max-width: 500px;
  margin: 0 auto;
}
.contact-form input, .contact-form textarea {
  padding: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
}
.contact-form button {
  background: #ff7b00;
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.contact-form button:hover {
  background: #ff9b32;
}

/* WHATSAPP */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.whatsapp-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    transition: transform .3s;
}

.whatsapp-icon:hover {
    transform: scale(1.1);
}

/* FOOTER */
footer {
  text-align: center;
  padding: 20px 0;
  background: #111;
  color: #ccc;
  font-size: 14px;
}

/* ANIMACIONES SCROLL */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.8s ease-out;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .hero { height: 420px; }
  .hero-text h1 { font-size: 28px; }
  .swiper-slide img { height: 200px; }
}
