/* Reset & base */
* {
 box-sizing: border-box;
 margin: 0;
 padding: 0;
 font-family: 'Roboto', sans-serif;
}

html {
 scroll-behavior: smooth;
}

body {
 padding-top: 47px; /* espacio para top-bar + navbar */
 color: #222;
}

/* Top Bar */
.top-bar {
 position: fixed;
 top: 0;
 left: 0;
 width: 100%;
 background-color: #D78704;
 color: #111;
 font-size: 14px;
 font-weight: 400;
 padding: 16px 20px;
 display: flex;
 align-items: center;
 gap: 10px;
 flex-wrap: wrap;
 justify-content: flex-end;
 z-index: 1001;
}

.top-bar i {
 margin: 0 5px;
 color: #000;
}

.top-bar strong {
 font-weight: 700;
}

.divider {
 margin: 0 10px;
 color: #000;
}

.topbarImage {
 width: 16px;
 height: 16px;
 object-fit: contain;
 vertical-align: middle;
 margin: 0 5px;
}

.top-bar a {
 color: black;
 text-decoration: none;
 font-weight: bold;
 transition: transform 0.2s ease, font-size 0.2s ease;
 display: inline-block;
 /* Necesario para que el transform funcione correctamente */
}

.top-bar a:hover {
 transform: scale(1.05);
}

@media (max-width: 768px) {
 .top-bar {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 5px 20px;
 }

  .divider {
   display: none;
  }

  .divider-mobile {
   display: inline;
   color: #000;
  }

 .top-bar-phones {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
 }
}

/* Logo grande y navbar superpuestos al carrusel */
.overlay-navbar {
 position: absolute;
 top: 80px;
 left: 0;
 width: 100%;
 z-index: 15;
 display: flex;
 justify-content: space-between;
 align-items: center;
 padding: 0 40px;
 background: transparent;
}

/* Ícono hamburguesa */
.menu-toggle {
 font-size: 1.5rem;
 display: none;
 cursor: pointer;
}

/* Menú desktop */
.navbar-horizontal {
 position: fixed;
 top: 48px;
 /* justo debajo del top-bar */
 left: 0;
 width: 100%;
 display: flex;
 justify-content: flex-end;
 align-items: center;
 background: rgb(0 0 0 / 14%);
 padding: 20px 40px;
 z-index: 1000;
}

.nav-links {
 display: flex;
 gap: 20px;
 list-style: none;
}

.nav-links li a {
 color: white;
 text-decoration: none;
 font-weight: bold;
 font-size: 19px;
 text-shadow: 1px 1px 3px #000;
}

.nav-links a:hover {
 color: #fba417;
}

/* Menú mobile */
@media (max-width: 768px) {
 .navbar-horizontal {
 top: 50px;
 padding: 0px 40px;
  }

 .menu-toggle {
  display: flex;
  justify-content: center;  /* centra horizontalmente */
  align-items: center;      /* centra verticalmente */
  width: 50px;
  height: 50px;
  background-color: transparent;
  border: none;
  font-size: 30px;
  color: white;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

 .nav-links {
  flex-direction: column;
  width: 100%;
  display: none;
  background-color: #fdfcfb;
  padding: 15px 20px;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 10;
  border-top: 1px solid #ccc;
 }

 .nav-links.active {
  display: flex;
 }

 .nav-links li {
  margin-bottom: 12px;
 }

 .nav-links li a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 15px;
  text-shadow: none;
 }

 .nav-links a:hover {
  color: #fba417;
 }

 .nav-links a {
  font-size: 1rem;
  padding: 10px 0;
  color: #000;
  text-shadow: none;
 }
}

/* Carrusel */
.carousel {
 position: relative;
 height: 100vh;
 overflow: hidden;
}

.carousel-content {
 position: absolute;
 z-index: 10;
 width: 100%;
 height: 100%;
 top: 0;
 left: 0;

 display: flex;
 flex-direction: column;
 justify-content: center;
 text-align: left;
 padding: 20px;
}

.carousel::before {
 content: "";
 background: rgba(0, 0, 0, 0.5);
 position: absolute;
 top: 0;
 left: 0;
 height: 100%;
 width: 100%;
 z-index: 5;
}

/* Fondo del carrusel */
.slides {
 display: flex;
 height: 100%;
 transition: transform 1s ease-in-out;
}

.slide {
 min-width: 100%;
 background-size: cover;
 background-position: center;
}

/* Logo Central */
.left-align {
 align-items: flex-start;
 padding-left: 40px;
}

.top-half {
 top: 0;
 height: 60vh;
 padding-top: 215px;
}

.logo-container {
 max-width: 350px;
 width: 100%;
 margin-bottom: 20px;
}

.logo-img {
 width: 100%;
 height: auto;
 display: block;
}

/* Texto del hero */
.hero-text h1 {
 font-size: 3.5rem;
 color: white;
 text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
 margin: 0;
 padding-top: 50px;
}

/* Menú mobile */
@media (max-width: 768px) {
 .hero-text h1 {
  font-size: 2.5rem;
  text-align: left;
  padding-top: 10px;
 }

 .logo-container {
  max-width: 200px;
  margin-bottom: 15px;
 }

 .left-align {
  padding-left: 20px;
 }

  .top-half {
   height: 50vh;
   padding-top: 185px;
  }
}

/* Características */
.stats-section {
 background-color: #1e1e1e;
 color: #fff;
 padding: 60px 20px;
 text-align: center;
}

.stats-grid {
 display: flex;
 justify-content: center;
 flex-wrap: wrap;
 max-width: 1200px;
 margin: 0 auto;
}

.stat-box {
 flex: 1 1 180px;
 display: flex;
 flex-direction: column;
 align-items: center;
 padding: 30px 20px;
 border-left: 1px solid rgba(255, 255, 255, 0.1);
}

.stat-box:first-child {
 border-left: none;
}

.stat-box i {
 font-size: 3rem;
 color: #FBA417;
 margin-bottom: 12px;
}

.stat-box p {
 font-size: 0.9rem;
 text-transform: uppercase;
 color: #fff;
 letter-spacing: 1px;
}

/* Mobile */
@media (max-width: 768px) {
 .stats-grid {
  flex-direction: column;
 }

 .stat-box {
  border-left: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
 }

 .stat-box:last-child {
  border-bottom: none;
 }
}

/* Servicios */
#servicios {
 padding: 60px 20px;
 background-color: #fff;
}

.servicios-container {
 max-width: 1800px;
 margin: 0 auto;
}

.servicios-titulo {
 text-align: center;
 font-size: 2.5rem;
 font-weight: bold;
 margin-bottom: 40px;
 color: #111;
}

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

.servicio-card {
 background-color: #fff7ec;
 border: 2px solid #fba417;
 border-radius: 15px;
 overflow: hidden;
 padding: 15px;
 box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
 transition: transform 0.3s ease;
}

.servicio-card:hover {
 transform: translateY(-5px);
}

.servicio-card img {
 width: 100%;
 height: 325px;
 object-fit: cover;
 border-radius: 10px;
 margin-bottom: 15px;
}

.servicio-card h3 {
 font-size: 1.4rem;
 color: #fba417;
 margin-bottom: 10px;
 text-align: center;
}

.servicio-card p {
 font-size: 1.1rem;
 color: #444;
 line-height: 1.5;
}

/* RESPONSIVE AJUSTES MOBILE */
@media (max-width: 768px) {
 .servicios-titulo {
  font-size: 1.7rem;
 }

 .servicio-card img {
  height: 200px;
 }

 .servicio-card h3 {
  font-size: 1.2rem;
 }

 .servicio-card p {
  font-size: 1rem;
 }
}

@media (max-width: 480px) {
 .servicios-titulo {
  font-size: 1.5rem;
 }

 .servicio-card img {
  height: 240px;
 }

 .servicio-card {
  padding: 10px;
 }

 .servicio-card h3 {
  font-size: 1.1rem;
 }

 .servicio-card p {
  font-size: 0.95rem;
 }
}

/* Sobre Nosotros */
.section-divider {
 text-align: center;
 position: relative;
 margin-bottom: 40px;
}

.section-divider h2 {
 font-size: 2.4rem;
 color: #fba417;
 font-weight: bold;
 display: inline-block;
 position: relative;
 padding: 0 20px;
 background-color: #f9f9f9;
 z-index: 1;
}

.section-divider h2::before,
.section-divider h2::after {
 content: "";
 position: absolute;
 top: 50%;
 width: 100px;
 height: 2px;
 background-color: #ccc;
 transform: translateY(-50%);
}

.section-divider h2::before {
 left: -110px;
}

.section-divider h2::after {
 right: -110px;
}

.about-section {
 padding: 60px 20px;
 background-color: #f9f9f9;
}

.about-container {
 max-width: 1200px;
 margin: auto;
 display: flex;
 flex-wrap: wrap;
 gap: 30px;
 align-items: center;
}

.about-text,
.about-image {
 flex: 1;
 min-width: 300px;
}

.about-text p {
 font-size: 1.1rem;
 line-height: 1.7;
 color: #333;
}

.about-image img {
 width: 100%;
 border-radius: 12px;
 border: 1px solid #fba417b9;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
 .about-container {
  flex-direction: column;
  text-align: center;
 }

 .about-text,
 .about-image {
  flex: 1 1 100%;
 }

 .about-text p {
  font-size: 1rem;
  padding: 0 10px;
 }

 .section-divider h2 {
  font-size: 1.8rem;
 }

 .section-divider h2::before,
 .section-divider h2::after {
  width: 40px;
 }

 .section-divider h2::before {
  left: -50px;
 }

 .section-divider h2::after {
  right: -50px;
 }
}

/* Galería */
.gallery-section {
 padding: 60px 20px;
 background-color:#f3f3f3;
}

.gallery {
 display: grid;
 grid-template-columns: repeat(2, 1fr);
 gap: 20px;
 max-width: 1000px;
 margin: auto;
}

.gallery img {
 width: 100%;
 border-radius: 8px;
 object-fit: cover;
 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
 .gallery {
  grid-template-columns: 1fr;
  padding: 0 10px;
 }

 .gallery img {
  border-radius: 8px;
  border: 1px solid #D78704;
 }
}

/* Contacto */
.contact-section {
 background-color: #787878;
 color: white;
 padding: 60px 20px;
 text-align: center;
}

.contact-container {
 max-width: 1100px;
 margin: auto;
}

.contact-title {
 font-size: 2rem;
 font-weight: 700;
 text-align: center;
 color: #fba417;
 /* un naranja dorado, podés cambiarlo */
 margin-bottom: 30px;
 font-family: 'Arial', sans-serif;
 letter-spacing: 1px;
}

.contact-cards {
 display: flex;
 flex-wrap: nowrap;
 /* Fuerza una sola fila */
 justify-content: center;
 gap: 30px;
 overflow-x: auto;
 /* Permite scroll horizontal si no entra en pantallas pequeñas */
 padding-bottom: 10px;
 /* Margen visual inferior */
}

.card {
 flex: 0 0 250px;
 /* Cada card tiene ancho fijo */
 background-color: #606060;
 padding: 30px 20px;
 border-radius: 10px;
 box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.card i {
 font-size: 2rem;
 color: #FBA417;
 margin-bottom: 15px;
}

.card h4 {
 font-size: 1.2rem;
 margin-bottom: 10px;
 color: white;
}

.card a,
.card p {
 color: #FBA417;
 text-decoration: none;
 font-size: 1rem;
}

@media (max-width: 1100px) {
 .contact-cards {
  flex-wrap: wrap;
  justify-content: center;
 }
}

/* Footer */
.footer {
 font-family: 'Arial', sans-serif;
}

.footer-logo {
 text-align: center;
 padding: 20px 0;
}

.footer-logo img {
 height: 200px;
}

.footer-copy {
 background-color: #787878;
 /* fondo gris oscuro solo para derechos */
 color: #fff;
 text-align: center;
 padding: 7px 10px;
 font-size: 14px;
 font-weight: 500;
}

/* WhatsApp Float */
.whatsapp-float {
 position: fixed;
 width: 80px;
 height: 80px;
 bottom: 20px;
 right: 20px;
 background-color: #25D366;
 color: white;
 border-radius: 50%;
 font-size: 50px;
 display: flex;
 align-items: center;
 justify-content: center;
 z-index: 1000;
 text-decoration: none;
}

@media (max-width: 768px) {
 .whatsapp-float {
  width: 60px;
  height: 60px;
  font-size: 30px;
 }
}
