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

html, body {
  width: 100%;
  overflow-x: hidden; 
  font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: #fff;
  color: #333;
}


.logo-container {
    width: 100%;
    height: 60px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-container img {
    height: 48px;
}

nav#main-nav {
    width: 100%;
    height: 60px;
    background-color: #0066a4;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000  !important;
    position: relative;
}

nav#main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    padding: 0;
}

nav#main-nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    color: white;
    transition: color 0.3s ease;
}

nav#main-nav a.highlight {
    color: #ffd700;
}

.nav-toggle {
    display: none;
}


.carousel {
  
  width: 146vw;        
  max-width: 146vw;   
  min-width: 100vw;
  aspect-ratio: 16 / 5; 
  position: relative;
  overflow: hidden;
  z-index: 0 !important;
  margin: 0;
  left: 50%;
  right: 50%;
  transform: translateX(-50%);
  background: #fff;
}

.carousel-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.carousel-image {
  position: absolute;
  left: 0;
  top: -20px;
  width: 100%;
  height: 100%;
  object-fit: contain;   
  object-position: center center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
}

.carousel-image.active {
  opacity: 1;
  z-index: 1;
}
@media (max-width: 700px) {
  .carousel {
    width: 100vw;  
    top: 0;
    aspect-ratio: 2 / 3;
  }

  .carousel-image {
    top: 0px !important;
    object-fit: contain !important;
    background: #fff;
  }
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: white;
  font-size: 4rem;
  cursor: pointer;
  z-index: 10;
  padding: 0 15px;
  transition: color 0.2s;
}

.carousel-btn:hover {
  color: #ccc;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}

.servicios-sachet {
  width: 100%;
  background-color: #f8f9fa;
  padding: 80px 40px;
}

.servicios-sachet .section-title {
  text-align: center;
  color: #14639C;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 60px;
}
.servicios-sachet .servicios-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}
.servicios-sachet .servicio-item {
  background-color: #ffffff;
  text-align: center;
  flex-basis: 250px;
  flex-grow: 1;
  max-width: 280px;
  padding: 40px 25px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.servicios-sachet .servicio-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 10px 30px rgba(20, 99, 156, 0.15);
}
.servicios-sachet .servicio-item .icono {
  color: #14639C;
  font-size: 2.8rem;
  margin-bottom: 25px;
}
.servicios-sachet .servicio-item h3 {
  color: #14639C;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.servicios-sachet .servicio-item p {
  color: #555;
  font-size: 0.95rem;
  line-height: 1.7;
}
  
.form-section {
  width: 100%;
  padding: 80px 20px;
 }
.form-container {
  max-width: 900px;
  margin: 0 auto;
  background-color: #ffffff;
  padding: 50px;
  border-radius: 12px;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.07);
}
.form-header {
  text-align: center;
  margin-bottom: 50px;
}
.form-header h2 {
  color: #14639C;
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 10px;
}
.form-header p {
  color: #14639C;
  font-size: 1rem;
  font-weight: 500;
}
.form-columns {
  display: flex;
  gap: 50px;
}
.form-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.form-column h3 {
  color: #14639C;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 25px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}
.input-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 10px;
}
.input-group label {
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  color: #444;
}
.input-group input,
.input-group textarea,
.input-group select {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
  outline: none;
  border-color: #14639C;
  box-shadow: 0 0 0 3px rgba(20, 99, 156, 0.15);
}
.input-group textarea {
  min-height: 125px;
  resize: vertical;
}
.dimensions-group {
  display: flex;
  gap: 15px;
}
.dimensions-group .input-group {
  margin-bottom: 0;
}
.services-group .options {
  display: flex;
  gap: 25px;
  align-items: center;
  padding-top: 5px;
}
.services-group .checkbox-item {
  display: flex;
  align-items: center;
  gap: 8px;
}
.services-group input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #14639C;
}
.submit-button {
  width: 100%;
  padding: 15px;
  background-color: #14639C;
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  margin-top: 30px;
  transition: background-color 0.3s, transform 0.2s;
}
.submit-button:hover {
  background-color: #105282;
  transform: scale(1.01);
}

.site-footer {
    background-color: #14639C;
    color: #d1d5db;
}
.footer-main-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 20px;
}
.footer-column h3 {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
}
.footer-column ul {
    list-style: none;
}
.footer-column ul li {
    margin-bottom: 12px;
}
.footer-column a {
    color: #d1d5db;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-column a:hover {
    color: #ffffff;
}
.footer-column .contact-item i {
    width: 20px;
    margin-right: 8px;
    color: #ffffff;
}
.footer-socials {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}
.footer-socials a {
    font-size: 1.3rem;
}
.footer-cta-button {
    display: inline-block;
    margin-top: 25px;
    background-color: #2d3748;
    color: #ffffff;
    padding: 10px 25px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
}
.footer-logos img {
    max-width: 100%;
    height: auto;
}
.footer-map iframe {
    width: 100%;
    height: 180px;
    border: 0;
    border-radius: 8px;
}
.footer-bottom-bar {
    border-top: 1px solid #ccc;
    padding: 20px 0;
}
.footer-bottom-bar-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: right;
}
.footer-bottom-bar a {
    font-size: 0.9rem;
}


@media (max-width: 1024px) {
    .carousel {
        height: 75vh; 
    }
    .carousel-image {
        object-position: center center; 
    }
    
    nav#main-nav ul {
        gap: 20px;
    }

    .servicios-sachet,
    .form-section {
        padding: 60px 30px;
    }

    .form-columns {
        flex-direction: column;
        gap: 40px;
    }

    .form-container {
        padding: 40px;
    }
}

@media (max-width: 768px) {

    header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        height: 80px;
        padding: 0 20px;
        background-color: #fff;
        box-shadow: 0 2px 4px rgba(0,0,0,0.08);
        position: sticky;
        top: 0;
        z-index: 1000;
    }

    .logo-container {
        width: auto;
        height: auto;
        background-color: transparent;
        justify-content: flex-start;
    }

    .logo-container img {
        height: 38px;
    }
    
.nav-toggle {
    display: block;
    font-size: 1.8rem;
    color: #0066a4;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

nav#main-nav {
    display: flex;
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 80px);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(5px);
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.4s ease-out;
    z-index: 999;
    overflow: hidden;
}

nav#main-nav.is-active {
    transform: translateX(0);
}

nav#main-nav ul {
    flex-direction: column;
    align-items: flex-start; 
    gap: 10px; 
    list-style: none;
    padding: 20px 0; 
    width: 100%;
}

nav#main-nav ul li {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity 0.3s ease-out, transform 0.3s ease-out;
    width: 100%;
    text-align: start; 
}

nav#main-nav.is-active ul li {
    opacity: 1;
    transform: translateX(0);
}

nav#main-nav.is-active ul li:nth-child(1) { transition-delay: 0.1s; }
nav#main-nav.is-active ul li:nth-child(2) { transition-delay: 0.15s; }
nav#main-nav.is-active ul li:nth-child(3) { transition-delay: 0.2s; }
nav#main-nav.is-active ul li:nth-child(4) { transition-delay: 0.25s; }
nav#main-nav.is-active ul li:nth-child(5) { transition-delay: 0.3s; }

nav#main-nav a {
    margin-left: 32%; 
    text-align: start;
    color: #333;
    font-size: 1rem; 
    display: block;
    padding: 5px 0;
}

nav#main-nav a.highlight {
    color: #0066a4;
}
    .carousel {
        height: 30vh !important; 
        margin-top: 0 !important; 
        padding-top: 0 !important; 
        position: relative !important;
        top: 0 !important; 
    }

    .carousel-image {
        object-fit: cover; 
        object-position: center center;
        transform: none; 
        width: 100%;
        height: 75%;
    }
    .carousel-btn {
        font-size: 2.5rem;
    }

    .servicios-sachet,
    .form-section {
        padding: 50px 20px;
    }

    .servicios-sachet .section-title,
    .form-header h2 {
        font-size: 1.5rem;
    }

    .form-column h3{
      text-align: center;
    } 
    
    .form-container {
        padding: 30px 20px;
    }
    
    .dimensions-group {
        flex-direction: column;
        gap: 10px;
    }

    .services-group .options {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .footer-main-content {
        text-align:start;
        gap: 30px;
        padding: 50px 20px;
    }

    .footer-column .contact-item {
        justify-content: start;
    }
    
    .footer-socials {
        justify-content: start;
    }

    .footer-bottom-bar-content {
        text-align: center;
    }
}