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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen,
    Ubuntu, Cantarell, sans-serif;
  background: #ffffff;
  color: #1a1a1a;
}

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 20px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  border-bottom: 2px solid #dc2626;
  box-shadow: 0 2px 20px rgba(220, 38, 38, 0.1);
  transition: padding 0.3s ease;
}

.logo-img {
  height: 50px;
  width: auto;
  object-fit: contain;
}

/* Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #1a1a1a;
  transition: all 0.3s ease;
  border-radius: 3px;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

.nav-menu {
  display: flex;
  gap: 30px;
}

.nav-menu a {
  color: #1a1a1a;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #dc2626;
}

/* Video Section */
.video-section {
  margin-top: 80px;
  height: 35vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.video-container {
  width: 100%;
  height: 100%;
  position: relative;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* About Section */
.about-section {
  padding: 100px 50px;
  background: #ffffff;
}

.about-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-content h2 {
  font-size: 48px;
  margin-bottom: 30px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.about-content p {
  font-size: 18px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 20px;
}

.about-image {
  width: 100%;
  height: 400px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(220, 38, 38, 0.3);
  background-image: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Certifications Section */
.certification-section {
  padding: 100px 50px;
  background: #c4c4c4;
}

.certification-section h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Clients Section */
.clients-section {
  padding: 100px 50px;
  background: #f5f5f5;
}

.clients-section h2 {
  text-align: center;
  font-size: 48px;
  margin-bottom: 60px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.client-card {
  background: #ffffff;
  padding: 40px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(50px);
  border: 2px solid #e5e5e5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  min-height: 150px;
}

.client-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.client-card:hover {
  transform: translateY(-10px);
  border-color: #dc2626;
  box-shadow: 0 10px 40px rgba(220, 38, 38, 0.2);
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.client-logo img {
  max-width: 100%;
  max-height: 100px;
  object-fit: contain;
}

/* Footer */
footer {
  background: #6b7280;
  padding: 60px 50px 30px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  font-size: 20px;
  color: #ffffff;
  font-weight: 600;
}

.footer-section p,
.footer-section a {
  color: #f3f4f6;
  text-decoration: none;
  line-height: 1.8;
  display: block;
}

.footer-section a:hover {
  color: #dc2626;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #f3f4f6;
}

/* WhatsApp Bubble */
.whatsapp-bubble {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #25d366 0%, #1fa855 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
  z-index: 999;
  text-decoration: none;
}

.whatsapp-bubble:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 40px rgba(37, 211, 102, 0.6);
}

.whatsapp-bubble svg {
  width: 35px;
  height: 35px;
}

.whatsapp-button.pulse {
      animation: pulse 2s infinite;
}
/* Menú de opciones */
.contact-menu {
  position: fixed;
  bottom: 100px;
  right: 30px;
  background: white;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: all 0.3s ease;
  z-index: 999;
  min-width: 280px;
}

.contact-menu.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}

.contact-menu-header {
  background: #25d366;
  color: white;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 16px;
}

.contact-item {
  display: flex;
  align-items: center;
  padding: 15px 20px;
  cursor: pointer;
  transition: background 0.2s ease;
  border-bottom: 1px solid #f0f0f0;
  text-decoration: none;
  color: #333;
}

.contact-item:last-child {
  border-bottom: none;
}

.contact-item:hover {
  background: #f5f5f5;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.contact-info {
  flex: 1;
}

.contact-name {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 3px;
  color: #333;
}

.contact-description {
  font-size: 12px;
  color: #666;
}

/* Overlay para cerrar el menú */
.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 998;
  display: none;
}

.overlay.active {
  display: block;
}

/* Animación de pulso */
@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }
  50% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }
}

.whatsapp-button.pulse {
  animation: pulse 2s infinite;
}

/* Service Cards */
.services-section {
  padding-top: 150px;
  padding-bottom: 100px;
  padding-left: 50px;
  padding-right: 50px;
  background: #ffffff;
  flex: 1;
}

.services-header {
  text-align: center;
  margin-bottom: 80px;
}

.services-header h1 {
  font-size: 56px;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ff0000 0%, #991b1b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.services-header p {
  font-size: 20px;
  color: #4b5563;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 50px;
  max-width: 1400px;
  margin: 0 auto;
}

.service-card {
  height: 550px;
  background: #f5f5f5;
  padding: 50px 40px;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(50px);
  border: 2px solid #e5e5e5;
}

.service-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.service-card:hover {
  transform: translateY(-15px);
  border-color: #dc2626;
  box-shadow: 0 20px 60px rgba(220, 38, 38, 0.2);
}

.service-icon {
  width: 100px;
  height: 100px;
  background: transparent;
  border: 3px solid #d1d5db;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  font-size: 50px;
  transition: all 0.3s ease;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
}

.service-title {
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #ffffff;
}

.service-description {
  font-size: 16px;
  line-height: 1.8;
  color: #ffffff;
}

/* Service Detail Section */
.service-detail-section {
  flex: 1;
  padding-top: 120px;
  padding-bottom: 80px;
  padding-left: 50px;
  padding-right: 50px;
  background: #ffffff;
}

.service-detail-container {
  max-width: 1200px;
  margin: 0 auto;
}

.service-detail-title {
  font-size: 56px;
  font-weight: 700;
  margin-bottom: 60px;
  text-align: center;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.service-detail-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 60px;
}

.service-detail-image {
  width: 100%;
  height: 450px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(220, 38, 38, 0.2);
}

.service-detail-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-detail-subtitle {
  font-size: 32px;
  font-weight: 600;
  color: #dc2626;
  margin-bottom: 10px;
}

.service-detail-description {
  font-size: 18px;
  line-height: 1.8;
  color: #4b5563;
}

.service-detail-features {
  margin-top: 20px;
}

.service-detail-features h3 {
  font-size: 24px;
  color: #1a1a1a;
  margin-bottom: 15px;
}

.service-detail-features ul {
  list-style: none;
  padding-left: 0;
}

.service-detail-features li {
  font-size: 16px;
  color: #4b5563;
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.service-detail-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #dc2626;
  font-weight: bold;
  font-size: 18px;
}

/* Reverse layout */
.service-content.reverse {
  grid-template-columns: 1fr 1fr;
}

.service-content.reverse .service-image {
  order: 2;
}

.service-content.reverse .service-text {
  order: 1;
}

/* Boton de cotizacion */
.cta-button {
  display: inline-block;
  padding: 15px 40px;
  width: 350px;
  background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-weight: 600;
  font-size: 18px;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(220, 38, 38, 0.3);
  margin-top: 20px;
  text-align: center;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(220, 38, 38, 0.4);
}

/* Responisve Shit */
@media (max-width: 768px) {
  header {
    padding: 20px;
  }

  nav {
    gap: 15px;
  }

  .services-section {
    padding-top: 120px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .services-header h1 {
    font-size: 36px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .service-card {
    padding: 40px 30px;
  }
}

.service-detail-section {
  padding-top: 100px;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 60px;
}

.service-detail-title {
  font-size: 36px;
  margin-bottom: 40px;
}

.service-detail-content,
.service-detail-content.reverse {
  grid-template-columns: 1fr;
  gap: 40px;
}

.service-detail-content.reverse .service-image {
  order: 1;
}

.service-content.reverse .service-text {
  order: 2;
}

.service-detail-image {
  height: 300px;
}

.service-detail-subtitle {
  font-size: 24px;
}

.service-detail-description {
  font-size: 16px;
}

.service-detail-features h3 {
  font-size: 20px;
}

.service-detail-features li {
  font-size: 15px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .clients-grid {
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 30px;
  }
}

@media (max-width: 768px) {
  header {
    padding: 15px 20px;
  }

  .logo-img {
    height: 40px;
  }

  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.98);
    width: 100%;
    text-align: center;
    transition: left 0.3s ease;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
    padding: 30px 0;
    gap: 0;
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-menu a {
    padding: 15px 0;
    width: 100%;
    display: block;
    font-size: 18px;
  }

  .nav-menu a::after {
    display: none;
  }

  .video-section {
    margin-top: 70px;
    height: 30vh;
  }

  .about-section {
    padding: 60px 20px;
  }

  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-content h2 {
    font-size: 36px;
  }

  .about-content p {
    font-size: 16px;
  }

  .about-image {
    height: 300px;
  }

  .clients-section {
    padding: 60px 20px;
  }

  .clients-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }
  
  .certification-section {
    padding: 60px 20px;
  }

  .c-section h2 {
    font-size: 32px;
    margin-bottom: 40px;
  }

  .clients-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .client-card {
    padding: 20px;
    min-height: 120px;
  }

  .client-logo img {
    max-height: 70px;
  }

  footer {
    padding: 40px 20px 20px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-section h3 {
    font-size: 18px;
  }

  .footer-section p,
  .footer-section a {
    font-size: 14px;
  }

  .whatsapp-bubble {
    width: 55px;
    height: 55px;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-bubble svg {
    width: 30px;
    height: 30px;
  }
}

@media (max-width: 480px) {
  header {
    padding: 12px 15px;
  }

  .logo-img {
    height: 35px;
  }

  .video-section {
    margin-top: 60px;
    height: 25vh;
  }

  .about-section {
    padding: 40px 15px;
  }

  .about-content h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }

  .about-content p {
    font-size: 15px;
    margin-bottom: 15px;
  }

  .about-image {
    height: 250px;
  }

  .clients-section {
    padding: 40px 15px;
  }

  .clients-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }
  
  .certification-section {
    padding: 40px 15px;
  }

  .certification-section h2 {
    font-size: 28px;
    margin-bottom: 30px;
  }

  .clients-grid {
    gap: 15px;
  }

  .client-card {
    padding: 15px;
    min-height: 100px;
  }

  .client-logo img {
    max-height: 60px;
  }

  .client-logo {
    font-size: 14px;
  }

  footer {
    padding: 30px 15px 15px;
  }

  .whatsapp-bubble {
    width: 50px;
    height: 50px;
    bottom: 15px;
    right: 15px;
  }

  .whatsapp-bubble svg {
    width: 28px;
    height: 28px;
  }
  /* service cards */
  .services-header h1 {
    font-size: 28px;
  }

  .services-header p {
    font-size: 14px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-icon {
    width: 70px;
    height: 70px;
    font-size: 35px;
  }

  .service-title {
    font-size: 20px;
  }

  .service-description {
    font-size: 14px;
  }
}
