@font-face {
  font-family: 'OpenSans_Condensed-Bold';
  src: url('open-sans-condensed/condensed/OpenSans_Condensed-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'OpenSans_Condensed-ExtraBold';
  src: url('open-sans-condensed/condensed/OpenSans_Condensed-ExtraBold.ttf') format('truetype');
}

@font-face {
  font-family: 'OpenSans_Condensed-Regular';
  src: url('open-sans-condensed/condensed/OpenSans_Condensed-Regular.ttf') format('truetype');
}

@font-face {
  font-family: 'OpenSans_Condensed-Light';
  src: url('open-sans-condensed/condensed/OpenSans_Condensed-Light.ttf') format('truetype');
}

@font-face {
  font-family: 'OpenSans_Condensed-Medium';
  src: url('open-sans-condensed/condensed/OpenSans_Condensed-Medium.ttf') format('truetype');
}

/* base*/
html {
  scroll-behavior: smooth;
  width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'OpenSans_Condensed-Regular', sans-serif;
  background-color: white;
  color: black;
  line-height: 1.6;
}

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

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

a {
  text-decoration: none;
  color: inherit;
}

/*Header*/
header {
  background-color: #112a5a;
  width: 100%;
  height: 100vh;
  position: relative;
  overflow: hidden;
}

.imagen-fondo {
  opacity: 0.09;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
}

.div-h {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

.h1-h {
  font-family: 'OpenSans_Condensed-ExtraBold', sans-serif;
  font-size: 4.6em;
  margin: 0;
}

.p-h {
  font-family: 'OpenSans_Condensed-Regular', sans-serif;
  font-size: 3.4em;
  margin: 0;
}

.img-logo {
  width: 30%;
  height: auto;
}

.div-text-h {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 3.5rem;
}


/* Container */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid none;
}

.nav.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.4rem;
}

.nav-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
  align-items: center;
}

.nav-link {
  font-family: 'OpenSans_Condensed-Medium', sans-serif;
  color: black;
  position: relative;
  transition: transform 0.3s ease-in-out, opacity 0.3s;
  display: inline-block;
}

.nav-link:hover {
  transform: scale(1.1);
  opacity: 0.9;
}


.nav-link::after {
  content: '';
  position: absolute;
  width: 0;
  height: 3px;
  background: #bdea4e;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

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

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 24px;
  height: 2px;
}


/* Hero Section */
.hero {
  padding: 8rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.hero-content {
  max-width: 600px;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: black;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 79%;
  min-height: 400px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

.carousel {
  width: 100%;
  height: 100%;
}

.carousel-inner {
  display: grid;
  grid-template-areas: "slide";
}

.carousel-item {
  grid-area: slide;
  position: relative;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  width: 100%;
  height: auto;
}

.carousel-item.active {
  opacity: 1;
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.875rem 2rem;
  font-size: 0.9375rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn-primary {
  background-color: #b9c3d7;
  color: black;
}

.btn-primary:hover {
  background-color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-sm {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  background-color: #29406b;
  color: white;
}

.btn-sm:hover {
  background-color: #fff;
  color: black;
}

.btn-full {
  width: 100%;
  background-color: #f14141;
  color: white;
}

.btn-full:hover {
  color: black;
}

/* Stats Section */
.stats {
  padding: 4rem 1.5rem;
  background-color: #e5f7b8;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9375rem;
  color: black;
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.125rem;
  color: black;
  max-width: 600px;
  margin: 0 auto;
}

/* Products Section */
.products {
  padding: 6rem 1.5rem;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.product-card {
  position: relative;
  background-color: white;
  border: 1px solid none;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
}

.product-card:hover {
  transform: scale(1.05);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.product-image {
  width: 100%;
  height: 240px;
  overflow: hidden;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card:hover .product-image img {
  transform: scale(1.1);
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.product-description {
  font-size: 0.9375rem;
  color: black;
  line-height: 1.6;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(10, 10, 10, 0.95);
  color: white;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.product-card:hover .product-overlay {
  opacity: 1;
  pointer-events: auto;
}

.product-overlay-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-overlay-description {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 0.5rem;
  opacity: 0.9;
}

.product-features {
  list-style: none;
  margin-bottom: 0.5rem;
}

.product-features li {
  font-size: 0.875rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  opacity: 0.9;
}

.product-features li:last-child {
  border-bottom: none;
}

.product-features li::before {
  content: "✓ ";
  margin-right: 0.5rem;
}

/* About Section */
.about {
  padding: 6rem 1.5rem;
  background-color: white;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.about-text {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: black;
  margin-bottom: 1.5rem;
}

.about-features {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 2rem;
}

.about-feature {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.about-feature-icon {
  width: 40px;
  height: 40px;
  background-color: white;
  color: black;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.about-feature h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.about-feature p {
  font-size: 0.9375rem;
  color: black;
}

.img-fluid-1 {
  width: 20em;
  height: auto;
}

.about-image-container {
  width: 100%;
  height: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 1.5rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.testimonial-card {
  background-color: white;
  padding: 2rem;
  border-radius: 12px;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.testimonial-rating {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.testimonial-text {
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
  color: black;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  overflow: hidden;
}

.testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-name {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.testimonial-role {
  font-size: 0.875rem;
  color: black;
}

/* Contact Section */
.contact {
  padding: 6rem 1.5rem;
  background-color: white;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1280px;
  margin: 0 auto;
}

.contact-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: black;
  margin-bottom: 2rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  background-color: wheat;
  color: black;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-detail h3 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-detail p {
  font-size: 0.9375rem;
  color: black;
  line-height: 1.6;
}

.contact-form-container {
  background-color: #e5f7b8;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  font-size: 0.9375rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.875rem;
  border: 1px solid white;
  border-radius: 8px;
  font-size: 0.9375rem;
  font-family: 'OpenSans_Condensed-Regular', sans-serif;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: black;
  box-shadow: 0 0 0 3px rgba(10, 10, 10, 0.1);
}

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

/* Footer */
.footer {
  background-color: white;
  color: black;
  padding: 4rem 1.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
  max-width: 1280px;
  margin: 0 auto 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 600;
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 40px;
  height: 40px;
  border-radius: 8px;
}

.footer-description {
  font-size: 0.9375rem;
  opacity: 0.8;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-social {
  display: flex;
  gap: 1rem;
}

.footer-social a {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 1s ease-out;
}

.footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.footer-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links a {
  font-size: 0.9375rem;
  opacity: 0.8;
  transition: all 1s ease-out;
}

.footer-links a:hover {
  opacity: 1;
  padding-left: 4px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.875rem;
  opacity: 0.7;
}

/* WhatsApp Button */
.whatsapp-button {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 1s ease-out;
  z-index: 999;
}

.whatsapp-button:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5);
}

/* Scroll to Top Button */
.scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 5rem;
  width: 48px;
  height: 48px;
  background-color: black;
  color: white;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all 1s ease-out;
  z-index: 999;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 6rem 1.5rem 3rem;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .div-h {
    flex-direction: column;
    justify-content: center;
  }

  .h1-h {
    font-size: 3.5em;
  }

  .p-h {
    font-size: 2.5em;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    background-color: white;
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 1s ease-out;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

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

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

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

  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .products-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .whatsapp-button {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 56px;
    height: 56px;
  }

  .scroll-top {
    bottom: 1.5rem;
    right: 4.5rem;
    width: 44px;
    height: 44px;
  }

  .div-h {
    flex-direction: column;
    padding: 1rem;
  }

  .img-logo {
    width: 50%;
    margin-bottom: 1rem;
  }

  .div-text-h {
    padding: 1rem;
  }

  .h1-h {
    font-size: 2.8em;
  }

  .p-h {
    font-size: 1.8em;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }

  .img-logo {
    width: 60%;
  }

  .h1-h {
    font-size: 2.2em;
  }

  .p-h {
    font-size: 1.4em;
  }
}