/* ==================== VARIABLES GLOBALES ==================== */
:root {
  /* Colores cambiados a gris, negro y naranja */
  --primary-color: #1a1a1a;
  --secondary-color: #ff6b35;
  --accent-color: #ff8c42;
  --text-dark: #0a0a0a;
  --text-light: #666;
  --white: #ffffff;
  --light-bg: #f5f5f5;
  --gray-dark: #2d2d2d;
  --gray-medium: #4a4a4a;
  --gray-light: #e0e0e0;

  /* Gradientes con los nuevos colores */
  --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
  --gradient-secondary: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  --gradient-overlay: linear-gradient(135deg, rgba(26, 26, 26, 0.85) 0%, rgba(10, 10, 10, 0.85) 100%);

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.18);

  /* Transiciones */
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== ESTILOS GENERALES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

html {
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* ==================== NAVBAR ==================== */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.2rem 0;
  transition: var(--transition);
  background: transparent;
}

.navbar.scrolled {
  background: rgba(26, 26, 26, 0.97);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  padding: 0.8rem 0;
}

.navbar-brand {
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--white);
  text-decoration: none;
  letter-spacing: -0.5px;
  transition: var(--transition);
}

/* brand-accent ahora usa naranja */
.navbar-brand .brand-accent,
.brand-accent {
  color: var(--secondary-color);
}

.navbar-brand:hover {
  color: var(--secondary-color);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-secondary);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-nav .nav-link:hover {
  color: var(--secondary-color);
}

.navbar-nav .nav-link:hover::after {
  width: 80%;
}

.navbar-toggler {
  border: none;
  padding: 0.5rem;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 107, 53, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ==================== HERO ==================== */
.hero-section {
  min-height: 100vh;
  background-image: url("/images/hero.jpeg");
  background-size: cover;
  background-position: center;
  background-attachment: scroll;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(10, 10, 10, 0.7) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 2rem 1rem;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 900;
  margin-bottom: 1.5rem;
  letter-spacing: -2px;
  animation: fadeInUp 1s ease-out;
}

.hero-title .accent {
  color: var(--secondary-color);
}

.hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 3rem;
  opacity: 0.95;
  font-weight: 400;
  animation: fadeInUp 1s ease-out 0.2s backwards;
}

.hero-buttons {
  animation: fadeInUp 1s ease-out 0.4s backwards;
}

.btn-primary-custom {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  margin: 0 0.5rem;
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

.btn-primary-custom:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

.btn-secondary-custom {
  background: transparent;
  color: var(--white);
  padding: 1.2rem 3rem;
  border: 2px solid var(--secondary-color);
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  transition: var(--transition);
  text-decoration: none;
  display: inline-block;
  margin: 0 0.5rem;
}

.btn-secondary-custom:hover {
  background: var(--gradient-secondary);
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(255, 107, 53, 0.5);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==================== SECCIONES GENERALES ==================== */
section {
  padding: 5rem 0;
  position: relative;
}

.section-title {
  font-size: 3rem;
  font-weight: 900;
  margin-bottom: 1rem;
  letter-spacing: -1px;
  color: var(--text-dark);
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.section-subtitle {
  font-size: 1.3rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.bg-light {
  background: var(--light-bg);
}

/* ==================== SERVICIOS - DISEÑO GRID MASONRY ==================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-item {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  background: var(--white);
  box-shadow: var(--shadow-md);
}

/* Servicios responsive desde el inicio - mobile first */
.service-large,
.service-medium,
.service-small {
  grid-column: span 12;
  min-height: 350px;
}

/* Imagen de fondo para servicios */
.service-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transition: var(--transition-slow);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-overlay);
  z-index: 1;
  transition: var(--transition);
}

.service-item:hover .service-image-bg {
  transform: scale(1.1);
}

/* Hover ahora usa gradiente naranja */
.service-item:hover .service-overlay {
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.9) 0%, rgba(255, 140, 66, 0.9) 100%);
}

.service-content-overlay {
  position: relative;
  z-index: 2;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--white);
}

.service-icon-circle {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition);
}

.service-icon-circle i {
  font-size: 2.5rem;
  color: var(--white);
}

.service-item:hover .service-icon-circle {
  transform: rotate(360deg) scale(1.1);
}

.service-content-overlay h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: -0.5px;
}

.service-content-overlay p {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.service-check-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service-check-list li {
  padding: 0.6rem 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  opacity: 0.95;
}

.service-check-list li i {
  font-size: 1.3rem;
  margin-right: 0.8rem;
  color: var(--secondary-color);
}

/* Iconos hexagonales para servicios pequeños */
.service-icon-hex {
  width: 70px;
  height: 70px;
  background: var(--gradient-secondary);
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: var(--transition);
}

.service-icon-hex i {
  font-size: 2rem;
  color: var(--white);
}

.service-small:hover .service-icon-hex {
  transform: rotate(60deg) scale(1.1);
}

.service-small {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 280px;
}

.service-small h4 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 0.8rem;
}

.service-small p {
  color: var(--text-light);
  font-size: 1rem;
}

.service-small:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

/* ==================== ZONA DE OPERACIÓN ==================== */
.zona-section {
  background: var(--gradient-primary);
  color: var(--white);
  padding: 4rem 0;
}

.floating-icon {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.zona-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}

/* zona-badge ahora usa naranja */
.zona-badge {
  background: rgba(255, 107, 53, 0.2);
  backdrop-filter: blur(10px);
  padding: 1.2rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 107, 53, 0.4);
  font-weight: 600;
  font-size: 1.1rem;
  transition: var(--transition);
}

.zona-badge:hover {
  background: var(--gradient-secondary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.3);
}

/* ==================== MÉTODO DE TRABAJO - TIMELINE ==================== */
.timeline {
  position: relative;
  max-width: 1000px;
  margin: 3rem auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--gradient-secondary);
  top: 0;
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  padding-bottom: 3rem;
  position: relative;
  animation: fadeInLeft 0.8s ease-out;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: 50%;
  padding-right: 0;
  animation: fadeInRight 0.8s ease-out;
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.timeline-marker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 8px rgba(255, 107, 53, 0.2);
  z-index: 10;
}

.timeline-number {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
}

.timeline-content {
  background: var(--white);
  padding: 2rem;
  border-radius: 15px;
  box-shadow: var(--shadow-md);
  width: calc(100% - 60px);
  margin-right: 40px;
  position: relative;
  transition: var(--transition);
}

.timeline-item:nth-child(even) .timeline-content {
  margin-right: 0;
  margin-left: 40px;
}

.timeline-content::before {
  content: "";
  position: absolute;
  top: 30px;
  right: -20px;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 20px solid var(--white);
}

.timeline-item:nth-child(even) .timeline-content::before {
  left: -20px;
  right: auto;
  border-left: none;
  border-right: 20px solid var(--white);
}

.timeline-content:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.timeline-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.3);
}

.timeline-icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.timeline-content h4 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.7;
  font-size: 1.05rem;
}

/* ==================== HISTORIA ==================== */

.historia-image-wrapper {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
}

.image-overlay-badge {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: var(--gradient-secondary);
  padding: 1.2rem 1.8rem;
  border-radius: 15px;
  display: flex;
  align-items: center;
  gap: 1rem;
  box-shadow: var(--shadow-lg);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
}

.image-overlay-badge i {
  font-size: 2rem;
}

/* ----------- CAJAS DE ESTADÍSTICAS ----------- */

.stat-box {
  padding: 1.5rem;
  border-radius: 15px;
  background: var(--white);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.stat-box:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.stat-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}

.stat-icon i {
  font-size: 1.8rem;
  color: var(--white);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
  display: inline-flex;
  align-items: center;
}

/* ----------- SIMBOLOS (NO DEPENDEN DE NADA) ----------- */

.stat-number.years::after {
  content: "+";
  margin-left: 4px;
  font-weight: 900;
}

.stat-number.projects::after {
  content: "+";
  margin-left: 4px;
  font-weight: 900;
}

.stat-number.clients::after {
  content: "%";
  margin-left: 4px;
  font-weight: 900;
}

.stat-label {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 600;
}

/* ==================== RESPONSIVE ==================== */

@media (max-width: 767px) {

  .historia-image-wrapper {
    margin-bottom: 2rem;
  }

  .image-overlay-badge {
    bottom: 10px;
    right: 10px;
    padding: 1rem 1.3rem;
    font-size: 1rem;
  }

  .image-overlay-badge i {
    font-size: 1.5rem;
  }

  /* Acomodo total de estadisticas */
  .stat-box {
    padding: 1.2rem;
  }

  .stat-icon {
    width: 50px;
    height: 50px;
  }

  .stat-icon i {
    font-size: 1.4rem;
  }

  .stat-number {
    font-size: 2rem;
  }
}


/* ==================== GALERÍA - CARRUSEL ==================== */
.carousel-item {
  height: 600px;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 20px;
}

.carousel-control-prev,
.carousel-control-next {
  width: 70px;
  height: 70px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  transition: var(--transition);
}

.carousel-control-prev {
  left: 30px;
}

.carousel-control-next {
  right: 30px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 10px 30px rgba(255, 107, 53, 0.5);
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--secondary-color);
  border: none;
  margin: 0 5px;
}

/* ==================== CONTACTO ==================== */
.contacto-section {
  background: var(--gradient-primary);
  position: relative;
  overflow: hidden;
}

.contacto-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 53, 0.05) 0%, rgba(255, 140, 66, 0.05) 100%);
  pointer-events: none;
}

.contact-card-modern {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem 2rem;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: var(--transition);
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: var(--white);
  display: block;
  height: 100%;
}

.contact-card-modern:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
  border-color: var(--secondary-color);
  background: rgba(255, 255, 255, 0.15);
}

.contact-icon-modern {
  width: 100px;
  height: 100px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  transition: var(--transition);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.3);
}

.contact-icon-modern i {
  font-size: 3rem;
  color: var(--white);
}

.contact-card-modern:hover .contact-icon-modern {
  transform: rotate(360deg) scale(1.1);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
}

.contact-card-modern h3 {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-card-modern p {
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1.5rem;
  font-size: 1.05rem;
}

.contact-btn {
  background: var(--gradient-secondary);
  color: var(--white);
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 16px rgba(255, 107, 53, 0.3);
}

.contact-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.5);
  color: var(--white);
}

.whatsapp-card .contact-icon-modern {
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
}

.instagram-card .contact-icon-modern {
  background: linear-gradient(135deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.contact-info-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 1.2rem 2rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  color: var(--white);
}

.contact-info-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--secondary-color);
  transform: translateY(-3px);
}

.contact-info-item i {
  font-size: 1.5rem;
  color: var(--secondary-color);
}

.contact-info-item span {
  font-size: 1.05rem;
  font-weight: 600;
}

/* ==================== FOOTER ELEGANTE Y PROFESIONAL ==================== */
.footer-elegant {
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1a1a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.footer-main {
  padding: 4rem 0 2rem;
  position: relative;
  z-index: 2;
}

/* Footer brand mejorado */
.footer-brand h3 {
  font-size: 1.8rem;
  font-weight: 900;
  margin-bottom: 1.2rem;
  letter-spacing: -0.5px;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.5rem;
  line-height: 1.8;
  font-size: 1rem;
}

.footer-social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* social-btn ahora usa naranja */
.social-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 107, 53, 0.15);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.5rem;
  transition: var(--transition);
  text-decoration: none;
  border: 2px solid rgba(255, 107, 53, 0.3);
}

.social-btn:hover {
  background: var(--gradient-secondary);
  transform: translateY(-7px) rotate(360deg);
  color: var(--white);
  border-color: var(--secondary-color);
}

/* Footer columns mejoradas y responsive */
.footer-column h4 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.footer-menu,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 0.8rem;
}

.footer-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  font-size: 1rem;
  display: inline-block;
}

.footer-menu a:hover {
  color: var(--white);
  padding-left: 0.5rem;
  color: var(--secondary-color);
}

.footer-contact li {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: start;
  gap: 0.8rem;
  font-size: 1rem;
}

.footer-contact i {
  color: var(--secondary-color);
  font-size: 1.2rem;
  margin-top: 0.2rem;
  min-width: 20px;
}

/* Footer bottom completamente rediseñado */
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 0;
  margin-top: 2rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.95rem;
}

.footer-developer {
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  font-size: 0.95rem;
}

.developer-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 700;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.developer-link:hover {
  color: var(--white);
  transform: translateX(5px);
}

.developer-link i {
  font-size: 1rem;
  transition: var(--transition);
}

.developer-link:hover i {
  transform: translate(3px, -3px);
}

/* ==================== BOTÓN FLOTANTE WHATSAPP ==================== */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #25d366 0%, #128c7e 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  z-index: 999;
  transition: var(--transition);
  text-decoration: none;
  animation: pulse 2s infinite;
}

.whatsapp-float:hover {
  transform: translateY(-10px) scale(1.1);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.6);
  color: var(--white);
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  }
  50% {
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.6), 0 0 0 15px rgba(37, 211, 102, 0.1);
  }
}

/* ==================== FADE IN ANIMATIONS ==================== */
.fade-in-element {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-element.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== MEDIA QUERIES - RESPONSIVE ==================== */

/* Tablets */
@media (min-width: 768px) {
  .service-medium {
    grid-column: span 6;
  }

  .service-small {
    grid-column: span 6;
  }

  .timeline::before {
    left: 50%;
  }

  .timeline-item {
    padding-right: calc(50% + 20px);
  }

  .timeline-item:nth-child(even) {
    padding-left: calc(50% + 20px);
    padding-right: 0;
  }
}

/* Desktop */
@media (min-width: 992px) {
  .service-large {
    grid-column: span 8;
    min-height: 550px;
  }

  .service-medium {
    grid-column: span 4;
    min-height: 450px;
  }

  .service-small {
    grid-column: span 4;
    min-height: 300px;
  }

  .hero-title {
    font-size: 5rem;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .service-large {
    grid-column: span 7;
  }

  .service-medium {
    grid-column: span 5;
  }

  .service-small {
    grid-column: span 3;
  }
}

/* Mobile adjustments */
@media (max-width: 767px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .timeline::before {
    left: 30px;
  }

  .timeline-item,
  .timeline-item:nth-child(even) {
    padding-left: 80px;
    padding-right: 0;
  }

  .timeline-marker {
    left: 30px;
  }

  .timeline-content {
    margin-left: 0;
    margin-right: 0;
  }

  .timeline-content::before,
  .timeline-item:nth-child(even) .timeline-content::before {
    left: -20px;
    right: auto;
    border-right: 20px solid var(--white);
    border-left: none;
  }

  .carousel-control-prev,
  .carousel-control-next {
    width: 50px;
    height: 50px;
  }

  .carousel-control-prev {
    left: 10px;
  }

  .carousel-control-next {
    right: 10px;
  }

  .carousel-item {
    height: 400px;
  }

  .btn-primary-custom,
  .btn-secondary-custom {
    padding: 1rem 2rem;
    font-size: 1rem;
    display: block;
    margin: 0.5rem 0;
  }
}

#gallery-grid {
    column-count: 3;
    column-gap: 15px;
}

.gallery-item {
    break-inside: avoid;
    opacity: 1;
    transform: scale(1);
    transition: all 0.4s ease;
}

.gallery-item.hide {
    opacity: 0;
    transform: scale(0.7);
}
    
@media (max-width: 768px) {
    #gallery-grid {
        column-count: 2;
    }
}
@media (max-width: 576px) {
    #gallery-grid {
        column-count: 1;
    }
}
.obra-btn {
    padding: 10px 20px;
    margin: 5px;
    border: none;
    background: #222;
    color: #fff;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.obra-btn:hover,
.obra-btn.active {
    background: #f0b300;
    color: #000;
}

.obra-carrusel {
    display: block;
}
