/* 
==============================================
ESTILOS GENERALES - GRUPO BOTO MARIANI
==============================================
*/

/* RESET Y ESTILOS BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f8f9fa;
}

/* CONTENEDOR PRINCIPAL */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ENCABEZADOS Y TEXTOS */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  margin-bottom: 15px;
  color: #0d47a1; /* Azul oscuro para encabezados */
}

p {
  margin-bottom: 15px;
  font-size: 16px;
}

a {
  text-decoration: none;
  color: #0d47a1;
  transition: all 0.3s ease;
}

a:hover {
  color: #1565c0;
}

ul {
  list-style: none;
}

/* BOTONES */
.btn-principal,
.btn-contacto,
.btn-enviar,
.btn-instagram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 25px;
  background-color: #0d47a1;
  color: #fff !important; /* Asegura que el texto sea siempre blanco */
  border: none;
  border-radius: 4px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-principal::before,
.btn-contacto::before,
.btn-enviar::before,
.btn-instagram::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease;
  z-index: -1;
}

.btn-principal:hover::before,
.btn-contacto:hover::before,
.btn-enviar:hover::before,
.btn-instagram:hover::before {
  left: 0;
}

.btn-principal:hover,
.btn-contacto:hover,
.btn-enviar:hover,
.btn-instagram:hover {
  background-color: #1565c0;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.btn-principal span,
.btn-contacto span,
.btn-enviar span,
.btn-instagram span {
  color: #fff;
  z-index: 2;
}

.btn-principal i,
.btn-contacto i,
.btn-enviar i,
.btn-instagram i {
  transition: transform 0.3s ease;
}

.btn-principal:hover i,
.btn-contacto:hover i,
.btn-enviar:hover i,
.btn-instagram:hover i {
  transform: translateX(5px);
}

/* SECCIONES */
section {
  padding: 20px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 36px;
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.separator {
  width: 80px;
  height: 4px;
  background: linear-gradient(90deg, #0d47a1, #1976d2, #0d47a1);
  margin: 15px auto;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}

.separator::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.5);
  animation: shine 3s infinite;
}

@keyframes shine {
  0% {
    left: -100%;
  }
  50%,
  100% {
    left: 100%;
  }
}

/* 
==============================================
HEADER - ENCABEZADO
==============================================
*/
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 5px 0;
  transition: all 0.3s ease;
}

header:hover {
  background-color: #fff;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  max-width: 200px;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo img {
  width: 100%;
  height: auto;
}

nav ul {
  display: flex;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  font-weight: 500;
  text-transform: uppercase;
  font-size: 16px;
  position: relative;
  color: #333;
  transition: all 0.3s ease;
}

nav ul li a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #0d47a1, #1976d2);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: #0d47a1;
}

nav ul li a:hover::after {
  width: 100%;
}

.btn-contacto {
  padding: 8px 15px;
  font-size: 14px;
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: #fff !important;
  border-radius: 4px;
}

.menu-toggle {
  display: none;
  font-size: 48px;
  cursor: pointer;
  color: #0d47a1;
  transition: all 0.3s ease;
}

.menu-toggle:hover {
  color: #1976d2;
}

/* 
==============================================
HERO SECTION - SECCIÓN PRINCIPAL
==============================================
*/
.hero {
  height: auto;
  min-height: 500px;
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
  padding: 100px 0;
  overflow: hidden;
}

.hero .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.animated-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #0d47a1, #1976d2);
  background-size: cover;
  opacity: 0.8;
  animation: animatedBackground 30s linear infinite;
  z-index: 0;
}

/* Partículas para el hero */
.particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
}

.particle {
  position: absolute;
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  pointer-events: none;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, 10px) rotate(90deg);
  }
  50% {
    transform: translate(0, 20px) rotate(180deg);
  }
  75% {
    transform: translate(-10px, 10px) rotate(270deg);
  }
  100% {
    transform: translate(0, 0) rotate(360deg);
  }
}

@keyframes animatedBackground {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* ESTILOS ESPECÍFICOS PARA EL HERO */
.hero-title {
  font-size: 48px !important;
  margin-bottom: 15px !important;
  color: #fff !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease;
  text-align: center;
  width: 100%;
  font-weight: 700;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative;
  font-family: "Montserrat", sans-serif;
}

.hero-title::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, #fff, transparent);
}

.hero-subtitle {
  font-size: 28px !important;
  margin-bottom: 25px !important;
  color: #fff !important;
  font-weight: 400;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease 0.2s both;
  text-align: center;
  width: 100%;
  line-height: 1.3;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: "Montserrat", sans-serif;
}

.hero-description {
  font-size: 18px !important;
  margin-bottom: 35px !important;
  animation: fadeInDown 1s ease 0.4s both;
  text-align: center;
  width: 100%;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: #fff !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  font-family: "Roboto", sans-serif;
}

.hero-content .btn-principal {
  animation: fadeInUp 1s ease 0.6s both;
  align-self: center;
  background: linear-gradient(135deg, #1976d2, #0d47a1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.hero-content .btn-principal:hover {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* 
==============================================
NOSOTROS - PRESENTACIÓN
==============================================
*/
.nosotros {
  background-color: #fff;
  position: relative;
  padding-bottom: 100px;
}

.nosotros-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.nosotros-text {
  width: 100%;
  max-width: 900px;
  text-align: center;
  position: relative;
}

.nosotros-text p {
  font-size: 18px;
  margin-bottom: 20px;
  line-height: 1.8;
}

.experience-badge {
  display: inline-block;
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: white;
  border-radius: 50%;
  width: 150px;
  height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 0 auto 30px;
  box-shadow: 0 10px 20px rgba(13, 71, 161, 0.2);
  position: relative;
  z-index: 1;
  animation: pulse 3s infinite;
}

.experience-badge::before {
  content: "";
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  border: 2px dashed #0d47a1;
  border-radius: 50%;
  animation: rotate 20s linear infinite;
  z-index: -1;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.experience-badge .years {
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.experience-badge .text {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.clientes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  margin-top: 40px;
}

.cliente-item {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 6px;
  padding: 15px 10px;
  text-align: center;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-bottom: 3px solid #0d47a1;
  color: #333;
}

.cliente-item:hover {
  transform: translateY(-5px) scale(1.03);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #e9ecef, #f8f9fa);
  border-bottom-color: #1976d2;
  color: #0d47a1;
}

.shape-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.shape-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 50px;
}

.shape-divider .shape-fill {
  fill: #f8f9fa;
}

.shape-divider::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 120' preserveAspectRatio='none'%3E%3Cpath d='M0,0V46.29c47.79,22.2,103.59,32.17,158,28,70.36-5.37,136.33-33.31,206.8-37.5C438.64,32.43,512.34,53.67,583,72.05c69.27,18,138.3,24.88,209.4,13.08,36.15-6,69.85-17.84,104.45-29.34C989.49,25,1113-14.29,1200,52.47V0Z' fill='%23f8f9fa'/%3E%3C/svg%3E");
  background-size: cover;
  background-position: center;
}

/* 
==============================================
SERVICIOS
==============================================
*/
.servicios {
  background-color: #f8f9fa;
  position: relative;
}

.servicios-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.servicio-card {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
  height: 100%;
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.servicio-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #0d47a1, #1976d2);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}

.servicio-card:hover::before {
  transform: scaleX(1);
}

.servicio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  background: linear-gradient(135deg, #f8f9fa, #fff);
}

.servicio-icon {
  font-size: 40px;
  color: #0d47a1;
  margin-bottom: 20px;
  transition: all 0.4s ease;
  height: 80px;
  width: 80px;
  background-color: rgba(13, 71, 161, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.servicio-card:hover .servicio-icon {
  transform: scale(1.2) rotate(10deg);
  color: #1976d2;
  background-color: rgba(13, 71, 161, 0.15);
}

.servicio-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  position: relative;
  padding-bottom: 15px;
  color: #0d47a1;
  transition: all 0.3s ease;
}

.servicio-card:hover h3 {
  color: #1976d2;
}

.servicio-card h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #0d47a1, #1976d2);
  transition: width 0.3s ease;
}

.servicio-card:hover h3::after {
  width: 70px;
}

.servicio-card p {
  font-size: 15px;
  color: #666;
  transition: all 0.3s ease;
}

.servicio-card:hover p {
  color: #333;
}

@media (max-width: 992px) {
  .servicios-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .servicios-grid {
    grid-template-columns: 1fr;
  }
}

/* 
==============================================
TRABAJOS - GALERÍA
==============================================
*/
.trabajos {
  background-color: #fff;
  position: relative;
}

.galeria {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 40px;
}

.galeria-item {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  aspect-ratio: 4 / 3;
  cursor: pointer;
}

.galeria-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.galeria-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(13, 71, 161, 0.8) 0%, rgba(25, 118, 210, 0.4) 100%);
  opacity: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
}

.galeria-texto {
  color: white;
  font-size: 18px;
  font-weight: 600;
  text-align: center;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease 0.1s;
  padding: 10px 15px;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(5px);
}

.galeria-item:hover .galeria-overlay {
  opacity: 1;
}

.galeria-item:hover .galeria-texto {
  transform: translateY(0);
  opacity: 1;
}

.galeria-item:hover img {
  transform: scale(1.1);
}

.instagram-link {
  text-align: center;
  margin-top: 40px;
}

.instagram-link p {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.btn-instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  padding: 15px 30px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 5px 15px rgba(220, 39, 67, 0.3);
  color: #fff !important;
  position: relative;
  overflow: hidden;
}

.btn-instagram i {
  font-size: 24px;
  transition: all 0.3s ease;
}

.btn-instagram:hover {
  background: linear-gradient(45deg, #bc1888 0%, #cc2366 25%, #dc2743 50%, #e6683c 75%, #f09433 100%);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4);
}

.btn-instagram:hover i {
  transform: rotate(15deg) scale(1.2);
}

/* 
==============================================
DIFERENCIALES
==============================================
*/
.diferenciales {
  background-color: #f8f9fa;
  position: relative;
}

.diferenciales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.diferencial-card {
  background: linear-gradient(135deg, #fff, #f8f9fa);
  border-radius: 8px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border-top: 4px solid #0d47a1;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.diferencial-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #1976d2, #0d47a1);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s ease;
}

.diferencial-card:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.diferencial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
  border-top-color: #1976d2;
}

.diferencial-icon {
  font-size: 40px;
  color: #0d47a1;
  margin-bottom: 20px;
  height: 80px;
  width: 80px;
  background-color: rgba(13, 71, 161, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  transition: all 0.5s ease;
}

.diferencial-card:hover .diferencial-icon {
  background-color: #0d47a1;
  color: #fff;
  transform: rotateY(360deg);
  box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

.diferencial-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: #0d47a1;
  transition: all 0.3s ease;
}

.diferencial-card:hover h3 {
  color: #1976d2;
}

.diferencial-card p {
  font-size: 15px;
  color: #666;
  flex-grow: 1;
  transition: all 0.3s ease;
}

.diferencial-card:hover p {
  color: #333;
}

@media (max-width: 992px) {
  .diferenciales-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .diferenciales-grid {
    grid-template-columns: 1fr;
  }
}

/* 
==============================================
CONTACTO
==============================================
*/
.contacto {
  background-color: #fff;
  position: relative;
}

.contacto-content {
  display: flex;
  gap: 40px;
}

.contacto-info,
.contacto-form {
  flex: 1;
}

.contacto-info h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #0d47a1;
  position: relative;
  padding-bottom: 10px;
}

.contacto-info h3::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, #0d47a1, #1976d2);
}

.info-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.info-item:hover {
  transform: translateX(5px);
}

.info-item i {
  font-size: 20px;
  color: #0d47a1;
  margin-right: 15px;
  margin-top: 3px;
  transition: all 0.3s ease;
}

.info-item:hover i {
  color: #1976d2;
  transform: scale(1.2);
}

.social-media {
  display: flex;
  gap: 15px;
  margin-top: 30px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #fff;
  border-radius: 50%;
  font-size: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transform: scale(0);
  transition: all 0.4s ease;
  border-radius: 50%;
}

.social-btn:hover::before {
  transform: scale(1);
}

.social-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.social-btn.instagram {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.social-btn.whatsapp {
  background-color: #25d366;
}

.social-btn.email {
  background-color: #0d47a1;
}

/* FORMULARIO */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s ease;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-family: "Roboto", sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #0d47a1;
  box-shadow: 0 0 10px rgba(13, 71, 161, 0.1);
  transform: translateY(-2px);
}

.form-group input:focus + label,
.form-group textarea:focus + label {
  color: #0d47a1;
}

.btn-enviar {
  width: 100%;
  padding: 15px;
  font-size: 16px;
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-enviar:hover {
  background: linear-gradient(135deg, #1976d2, #0d47a1);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(13, 71, 161, 0.3);
}

/* 
==============================================
FOOTER - PIE DE PÁGINA
==============================================
*/
footer {
  background: linear-gradient(135deg, #0d47a1, #1976d2);
  color: #fff;
  padding: 40px 0 20px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.3;
  z-index: 0;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1;
}

.footer-logo {
  max-width: 150px;
  filter: brightness(0) invert(1);
  transition: all 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.05);
}

.footer-logo img {
  width: 100%;
  height: auto;
}

.footer-info p {
  margin-bottom: 5px;
  opacity: 0.9;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.footer-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  color: #fff;
  font-size: 14px;
  opacity: 0.8;
  transition: all 0.3s ease;
  position: relative;
}

.footer-links a::after {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: #fff;
  transition: width 0.3s ease;
}

.footer-links a:hover {
  opacity: 1;
  transform: translateY(-2px);
}

.footer-links a:hover::after {
  width: 100%;
}

.footer-credits {
  font-size: 13px;
  opacity: 0.7;
  text-align: center;
}

.footer-credits a {
  color: #fff;
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer-credits a:hover {
  opacity: 1;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-links {
    gap: 15px;
  }
}

/* 
==============================================
BOTÓN WHATSAPP FIJO
==============================================
*/
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  z-index: 999;
  transition: all 0.3s ease;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
}

/* ANIMACIÓN PULSE PARA WHATSAPP */
.pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

/* 
==============================================
MEDIA QUERIES - RESPONSIVE
==============================================
*/

/* Tablet */
@media (max-width: 992px) {
  .nosotros-content,
  .contacto-content {
    flex-direction: column;
  }

  .nosotros-text,
  .nosotros-image,
  .contacto-info,
  .contacto-form {
    width: 100%;
  }

  .nosotros-image {
    margin-top: 30px;
  }

  .contacto-form {
    margin-top: 40px;
  }

  .clientes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Mobile */
@media (max-width: 768px) {
  /* Header móvil */
  header {
    padding: 10px 0;
    background-color: #fff !important;
  }

  .logo {
    max-width: 120px;
  }

  .menu-toggle {
    display: block;
    z-index: 1001;
    position: relative;
  }

  nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    padding: 80px 20px 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
  }

  nav.active {
    left: 0;
    opacity: 1;
    visibility: visible;
  }

  nav ul {
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
  }

  nav ul li {
    margin: 20px 0;
  }

  nav ul li a {
    font-size: 18px;
    color: #0d47a1;
  }

  .btn-contacto {
    padding: 12px 20px;
    font-size: 16px;
  }

  /* Hero móvil */
  .hero {
    min-height: 70vh;
    padding: 80px 0 60px;
  }

  .hero-content {
    padding: 30px 15px;
  }

  .hero-title {
    font-size: 28px !important;
    margin-bottom: 10px !important;
  }

  .hero-subtitle {
    font-size: 18px !important;
    margin-bottom: 15px !important;
  }

  .hero-description {
    font-size: 16px !important;
    margin-bottom: 25px !important;
  }

  /* Secciones móvil */
  section {
    padding: 50px 0;
  }

  .section-header h2 {
    font-size: 24px;
  }

  /* Servicios móvil */
  .servicios-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Diferenciales móvil */
  .diferenciales-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Galería móvil */
  .galeria {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  /* Clientes móvil */
  .clientes-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  /* Footer móvil */
  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-logo {
    margin-bottom: 20px;
  }

  .footer-links {
    gap: 15px;
    flex-wrap: wrap;
  }

  /* WhatsApp móvil */
  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 26px;
    z-index: 999;
  }
}

/* Mobile pequeño */
@media (max-width: 576px) {
  .container {
    padding: 0 15px;
  }

  section {
    padding: 40px 0;
  }

  .hero {
    min-height: 60vh;
    padding: 70px 0 50px;
  }

  .hero-title {
    font-size: 24px !important;
  }

  .hero-subtitle {
    font-size: 16px !important;
  }

  .hero-description {
    font-size: 14px !important;
  }

  .section-header h2 {
    font-size: 20px;
  }

  .experience-badge {
    width: 120px;
    height: 120px;
  }

  .experience-badge .years {
    font-size: 36px;
  }

  .experience-badge .text {
    font-size: 12px;
  }

  .servicio-card,
  .diferencial-card {
    padding: 20px;
  }

  .contacto-content {
    gap: 30px;
  }

  .whatsapp-float {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
    font-size: 24px;
  }
}

/* Mobile muy pequeño */
@media (max-width: 480px) {
  .hero-title {
    font-size: 20px !important;
  }

  .hero-subtitle {
    font-size: 14px !important;
  }

  .btn-principal {
    padding: 10px 20px;
    font-size: 14px;
  }
}

/* Landscape móvil */
@media (max-width: 768px) and (orientation: landscape) {
  .hero {
    min-height: 100vh;
  }

  nav.active {
    padding: 60px 20px 20px;
  }
}

/* Asegurar que el header esté siempre visible */
@media (max-width: 768px) {
  header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 1001 !important;
  }

  .whatsapp-float {
    position: fixed !important;
    z-index: 999 !important;
  }
}
