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

body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  overflow-x: hidden;
  background: #ffffff;
}

.floating-cart {
  display: none !important;
}

.main-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.content-container {
  flex: 1;
  padding: 0;
  min-height: calc(100vh - 200px);
}

.hero-section {
  padding-top: 100px;
  padding-bottom: 100px;
  min-height: 100vh;
  background-image: url("../img/misc/investigaciones-2.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to right,
    rgba(34, 85, 34, 0.8),
    rgba(34, 85, 34, 0.6),
    rgba(34, 85, 34, 0.4)
  );
  pointer-events: none;
}

.hero-container {
  max-width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 40px;
  position: relative;
  z-index: 2;
  gap: 120px;
}

.hero-content {
  text-align: center;
  max-width: 600px;
  flex: 1;
}

.main-title {
  font-size: 3.5rem;
  color: #6fb640;
  margin-bottom: 30px;
  font-weight: 800;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.flag-container {
  position: relative;
  margin-bottom: 40px;
  text-align: center;
}

.peru-flag-placeholder {
  width: 200px;
  height: 120px;
  margin: 0 auto 20px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  background: linear-gradient(135deg, #6fb640, #5a9a35);
}

.flag-stripe {
  flex: 1;
}

.flag-text {
  font-size: 1.2rem;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.8);
  padding: 15px 25px;
  border-radius: 25px;
  display: inline-block;
  max-width: 400px;
  line-height: 1.4;
  font-weight: 500;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn {
  background: #6fb640;
  color: #ffffff;
  border: none;
  padding: 15px 25px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 4px 15px rgba(111, 182, 64, 0.3);
}

.hero-btn:hover {
  background: #5a9a35;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(111, 182, 64, 0.4);
}

.hero-btn i {
  font-size: 1.2rem;
}

.contact-form {
  background: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(15px);
  backdrop-filter: blur(15px);
  border-radius: 25px;
  padding: 40px;
  width: 100%;
  max-width: 650px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
  flex: 1;
  border: 1px solid rgba(111, 182, 64, 0.2);
}

.contact-form h3 {
  font-size: 1.8rem;
  color: #000000;
  margin-bottom: 30px;
  text-align: center;
  font-weight: 700;
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #000000;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 15px;
  border: 2px solid #e3e8e0;
  border-radius: 15px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: #ffffff;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6fb640;
  box-shadow: 0 0 0 3px rgba(111, 182, 64, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  width: 100%;
  background: #ffbb00;
  color: #ffffff;
  border: none;
  padding: 18px;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.6s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.submit-btn:hover {
  background: #c79303;
}

.services-section {
  background: #ffffff;
  padding: 80px 40px;
  text-align: center;
}

.services-header .highlight {
  color: #6fb640;
}

.services-header {
  margin-bottom: 60px;
}

.services-header h2 {
  font-size: 3rem;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 800;
}

.services-header p {
  font-size: 1.3rem;
  font-weight: 500;
  color: #646365;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

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

.service-card {
  background: #ffffff;
  padding: 40px 30px;
  border-radius: 25px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: all 0.4s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: #6fb640;
  box-shadow: 0 20px 40px rgba(111, 182, 64, 0.2);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: #6fb640;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
}

.service-icon i {
  font-size: 2rem;
  color: #ffffff;
}

.service-card h3 {
  font-size: 1.6rem;
  color: #000000;
  margin-bottom: 20px;
  font-weight: 700;
}

.service-card p {
  font-size: 1rem;
  color: #646365;
  line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero-container {
    flex-direction: column;
    gap: 80px;
    padding: 40px 30px;
  }
}

@media (max-width: 768px) {
  .hero-container {
    padding: 30px 20px;
    gap: 60px;
  }

  .main-title {
    font-size: 2.8rem;
  }

  .peru-flag-placeholder {
    width: 150px;
    height: 90px;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .hero-btn {
    width: 100%;
    max-width: 300px;
    justify-content: center;
  }

  .contact-form {
    padding: 30px 25px;
  }

  .services-header h2 {
    font-size: 2.5rem;
  }

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

@media (max-width: 480px) {
  .hero-container {
    padding: 20px 15px;
    gap: 50px;
  }

  .main-title {
    font-size: 2.2rem;
  }

  .flag-text {
    font-size: 1rem;
    padding: 12px 20px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .contact-form h3 {
    font-size: 1.5rem;
  }

  .services-header h2 {
    font-size: 2rem;
  }

  .services-header p {
    font-size: 1.1rem;
  }

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