* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Roboto', sans-serif;  
  color: #333;
  background: #f9fafc;
  line-height: 1.6;
}

h1, h2, h3, .navbar .menu a {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

@media (min-width: 769px) {
  .hamburger {
    display: none;
  }

  .menu ul {
    display: flex !important; 
    height: auto !important;
    position: static !important;
    flex-direction: row !important;
    background: none !important;
    box-shadow: none !important;
    overflow: visible !important;
  }

  .menu ul li {
    opacity: 1 !important;
    transform: translateY(0) !important;
    padding: 0;
    border-bottom: none;
  }
}

.navbar {
  background: #ffffff; 
  color: #003366;      
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.8rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.logo img {
  height: 55px;  
  width: auto;
}

.menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.menu a {
  text-decoration: none;
  color: #003366; 
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.menu a:hover {
  color: #f7941d;  
}

.hero-info {
  background: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.808)),
  url("img/BANNERNORTEK.png") right center/cover no-repeat;
  color: #fff;
  padding: 6rem 2rem;
  display: flex;
  align-items: center;
  min-height: 300px; 
}

.hero-info .hero-container {
  max-width: 700px;
  margin-left: 5%;
  text-align: left; 
}

.hero-info h1 {
  font-size: 2rem;
  font-weight: 700;
  margin-top: 3rem;
  color: #003366;
  text-transform: uppercase;
}

.hero-info p {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #f1f1f1;
}

/* 📱 Tablet */
@media (max-width: 1024px) {
  .hero-info {
    background-position: center;
    padding: 4rem 2rem;
  }
  .hero-info .hero-container {
    max-width: 100%;
  }
  .hero-info h1 {
    font-size: 2rem;
  }
  .hero-info p {
    font-size: 1.1rem;
  }
}

@media (max-width: 768px) {
  .hero-info {
    background: url("img/BANNERCEL.png") center -30px / contain no-repeat;
    background-color: #fff;
    text-align: center !important; 
  }

  .hero-info h1 {
    font-size: 1.3rem;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-top: -3rem;
    color: #002d5b;
    text-align: center !important;
  }

  .hero-info h1::after {
    content: "";
    display: block;
    width: 100%;
    height: 320px; 
  }

.hero-info p {
  font-size: 1rem;
  line-height: 1.5;
  margin-top: -5rem;
  color: #333;
  text-align: justify;
  padding: 0rem;
  margin-bottom: -50px !important;
  margin-left: -10px  !important;
  margin-right: 0 !important;
}

}

.categorias {
  padding: 3rem 2rem;
  background: #f9fafc;
  text-align: center;
}

.categorias h2 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #003366;
  text-transform: uppercase;
  font-weight: 700;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}


.card {
  background: white;
  padding: 2.5rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.3s ease;
  cursor: pointer;
  text-align: center;
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
}


.card i {
  font-size: 2.5rem; 
  margin-bottom: 1rem;
  color: #003366;    
  transition: color 0.3s ease;
}

.card p {
  font-size: 1rem;
  font-weight: 600;
  color: #333;
  margin: 0;
  transition: color 0.3s ease;
}

.card:hover {
  background: #003366; 
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.card:hover i,
.card:hover p {
  color: #fff; 
}


@media (max-width: 1024px) {
  .grid {
    grid-template-columns: repeat(3, 1fr); 
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr); 
    gap: 1.2rem;
  }
}

@media (max-width: 480px) {
  .grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); 
    gap: 0.5rem;
    padding-left: 0;
    padding-right: 0;
    margin-left: -10px !important;
    margin-right: -10px !important;    
    justify-items: center; 
  }

.card {
  width: 100%;
  max-width: 200px !important;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

  .card i {
    font-size: 2rem;
    margin-bottom: 0.6rem;
  }

  .card p {
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
    word-break: break-word;
    max-width: 100%;
  }
  .logo img {
    height: 40px; 
  }
  .categorias h2{
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-left: -30px !important;
    margin-right: -30px !important;
  }
}


.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
}
.modal-content {
  background: #fff;
  width: 90%;
  max-width: 420px;
  max-height: 80vh;
  overflow-y: auto;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: fadeZoomIn 0.35s ease;
  text-align: center;
}

.modal-content .producto-item {
  text-align: left;
  padding-left: 1rem;
  margin-bottom: 0.6rem;
  font-size: 1rem;
  color: #333;
  line-height: 1.5;
}

.modal-content h3 {
  color: #003366;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.modal-content p {
  color: #333;
  font-size: 1rem;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.modal-content .btn-whatsapp {
  background-color: #25d366;
  color: white;
  text-decoration: none;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  transition: background-color 0.3s ease;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.modal-content .btn-whatsapp i {
  font-size: 1.2rem;
}

.modal-content .btn-whatsapp:hover {
  background-color: #1ebe5d;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 1.5rem;
  cursor: pointer;
  color: #999;
  transition: color 0.2s ease;
}

.close-btn:hover {
  color: #000;
}

@keyframes fadeZoomIn {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}


.servicios {
  padding: 3rem 2rem;
  background: #ffffff;
  color: #333;
}

.servicios-container {
  max-width: 900px;
  margin: 0 auto;
}

.servicios h2 {
  text-align: center;
  color: #003366;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px !important;
  text-transform: uppercase;
}

.servicio {
  margin-bottom: 2rem;
}

.servicio h3 {
  font-size: 1.4rem;
  color: #003366;
  margin-bottom: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.servicio h3 {
  flex-direction: column; 
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
}


.servicio h3 i {
  font-size: 2.6rem;
  color: #f7941d;

}

.servicio p {
  font-size: 1.5rem !important; 
  line-height: 1.8;
  text-align: center !important;
  margin-left: 0px;
  margin-right: 0px;
}
.alianza-note {
  display: block;
  font-size: 1rem;
  color: #666;
  margin-top: 0.6rem;
  text-align: center;
}

.alianza-note a {
  color:  #f7941d;
  text-decoration: none;
  font-weight: 500;
}

.alianza-note a:hover {
  text-decoration: underline;
}

@media (min-width: 768px) {
  .alianza-note {
    font-size: 0.9rem; 
  }
}


@media (min-width: 1200px) {
  .alianza-note {
    font-size: 1.01rem; 
  }
}

@media (max-width: 768px) {
  .servicio h3 i{
    text-align: center;
    margin-top: 5px;

  }
  .servicios {
    padding: 2rem 1rem;
  }

  .servicios h2 {
    font-size: 1.3rem;
    font-weight: 700;
  }

  .servicio h3 {
    font-size: 1.2rem;
    text-align: center;
  }

  .servicio p {
    font-size: 1.1rem !important;
    text-align: justify !important;
    margin-left: 10px;
    margin-right: 10px;
  }
}



#btn-flotante-cotizacion {
  display: none;

  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #003366;
  color: white;
  border: none;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 2500;
  align-items: center;
  gap: 8px;
}

#btn-flotante-cotizacion i {
  font-size: 1rem;
}

#btn-flotante-cotizacion .badge {
  background: #f7941d;
  font-size: 0.7rem;
  padding: 2px 6px;
  border-radius: 50%;
}

@media (max-width: 900px) {
  #btn-flotante-cotizacion {
    display: flex;
  }

  .menu ul li a#verCotizacion {
    display: none;
  }
}

.contacto {
  padding: 3rem 2rem;
}

.contacto .row {
  display: grid;
  grid-template-columns: 1fr 1fr; 
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0px 6px 16px rgba(0, 0, 0, 0.15);
}

.contacto-info {
  background: #003366; 
  color: #fff;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  font-size: 20px;
}

.contacto-info h2 {
  color: #f7941d;
  font-weight: 700;
  margin-bottom: 1rem;
}

.contacto-info p {
  margin-bottom: 1rem;
  color: #f1f1f1;
}

.contacto-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.contacto-info li {
  margin-bottom: 12px;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.contacto-info i {
  color: #f7941d;
  margin-right: 10px;
}

.contacto-form {
  padding: 2.5rem;
}

.contacto-form h3 {
  color: #003366;
  font-weight: 700;
  margin-bottom: 1.5rem;
  font-size: 22px;
}

.contacto-form form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contacto-form .form-control,
.contacto-form .form-select,
.contacto-form textarea {
  border: 2px solid #f7941d;
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 1rem;
  background: #fff;
  color: #333;
}

.contacto-form .form-control::placeholder,
.contacto-form textarea::placeholder {
  color: #999;
}

.contacto-form textarea {
  resize: none;
}

.contacto-form .btn-enviar {
  background: #f7941d;
  color: #fff;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: 6px;
  transition: 0.3s;
  width: fit-content;
  align-self: center; 
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contacto-form .btn-enviar:hover {
  background: #f7941d;
}

@media (max-width: 992px) {
  .contacto .row {
    display: flex;
    flex-direction: column;
  }

  .contacto-info {
    order: 1;
    text-align: center;
    border-bottom: 2px solid #f7941d;
  }

  .contacto-info ul {
    text-align: left;
    display: inline-block;
    margin: 0 auto;
  }

  .contacto-form {
    order: 2;
  }
}
@media (max-width: 768px) {
  .contacto {
    padding: 2rem 1rem;
  }

  .contacto .row {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    border-radius: 0; 
    box-shadow: none; 
  }

  .contacto-info,
  .contacto-form {
    padding: 2rem 1.5rem;
  }

  .contacto-form {
    padding-top: 1rem;
    padding-bottom: 2rem;
  }

  .contacto-form form {
    max-width: 100%;
  }

  .contacto-form input,
  .contacto-form select,
  .contacto-form textarea {
    font-size: 1rem;
  }

  .contacto-form .btn-enviar {
    width: 100%;
    max-width: 250px;
  }
}
@media (max-width: 768px) {

  @media (max-width: 768px) {
  .contacto-info h2 {
    font-size: 1.4rem !important;
    line-height: 1.4;
    margin-bottom: 1rem;
    margin-left: -27px;
    margin-right: -27px;
  }

  .contacto-info p {
    font-size: 1.05rem !important;
    line-height: 1.5;
    margin-bottom: 1rem;
        margin-left: -10px;
    margin-right: -10px;
    text-align: justify;
  }

  .contacto-info li {
    font-size: 1rem !important;
    margin-bottom: 0.6rem;
  }

  .contacto-form h3 {
    font-size: 1.4rem !important;
    margin-bottom: 1rem;
    text-align: center;
  }

  .contacto-form input,
  .contacto-form select,
  .contacto-form textarea {
    font-size: 0.95rem !important;
    padding: 0.75rem 1rem !important;
    width: 100% !important;
  }

  .contacto-form textarea {
    height: 120px !important;
  }

  .contacto-form .btn-enviar {
    font-size: 1rem !important;
    padding: 1rem !important;
    max-width: 300px !important;
  }
}


  .contacto .row {
    display: block;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
    overflow: hidden;
    border-radius: 16px;
  }

  .contacto-info {
    border-radius: 16px 16px 0 0;
    padding: 2rem 1.5rem;
  }

  .contacto-form {
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 0 0 16px 16px;
  }

  .contacto-form form {
    gap: 1.2rem;
  }

  .contacto-form input,
  .contacto-form select,
  .contacto-form textarea {
    border-radius: 12px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
  }

  .contacto-form input:focus,
  .contacto-form select:focus,
  .contacto-form textarea:focus {
    outline: none;
    border-color: #f7941d;
    box-shadow: 0 0 0 3px rgba(247, 148, 29, 0.3);
  }

  .contacto-form .btn-enviar {
    width: 100%;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    font-size: 1.1rem;
  }
}

.footer {
  background: #003366;
  color: #fff;
  padding: 3rem 2rem 1rem;
  margin-top: 3rem;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col h4 {
  color: #f7941d;
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 22px;
 
}

.footer-col ul {
  list-style: none;
  padding: 0;

}

.footer-col ul li {
  margin-bottom: 0.7rem;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
}

.footer-col ul li i {
  color: #f7941d;
  margin-right: 8px;
}

.footer-col a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #f7941d;
}

.footer-logo {
  width: 150px;
  margin-bottom: 1rem;
}
.info-footer{
  font-size: 1.1rem;
  text-align: justify;
  margin-right: 10px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 1rem;
  font-size: 0.9rem;
  color: #ddd;
}

@media (max-width: 768px) {
  .footer {
    padding: 2rem 1rem 1rem;
    text-align: center;
  }

  .footer-container {
    grid-template-columns: 1fr; 
    gap: 1.5rem;
  }

  .footer-col h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
  }

  .footer-col ul li {
    font-size: 1rem;
  }

  .footer-col p {
    font-size: 1.04rem;
    line-height: 1.5;
    text-align: justify !important;
    margin-left: 1px;
    margin-right: 1px;
  }

  .footer-bottom {
    font-size: 0.7rem;
    line-height: 1.4;
  }

  .footer-logo {
    width: 100px;
    margin-bottom: 1rem;
  }

  .social-links a {
    font-size: 1.3rem;
  }
}


@media (max-width: 768px) {
  .menu ul {
    flex-direction: column;
    background: white;
    position: absolute;
    top: 100.4%;
    right: 0.1rem;
    width: 230px;
    padding: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 999;

    height: 0;
    overflow: hidden;
    transition: height 0.4s ease;
    display: flex;
    gap: 0; 
  }

  .menu ul li {
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    padding: 0.8rem 1rem;
    border-bottom: 1px solid #eee;
  }

  .menu ul li:last-child {
    border-bottom: none;
  }

  .hamburger {
    display: block;
    font-size: 1.5rem;
    cursor: pointer;
  }

  .menu ul.open li {
    opacity: 1;
    transform: translateY(0);
  }

  .menu ul.open li:nth-child(1) { transition-delay: 0.05s; }
  .menu ul.open li:nth-child(2) { transition-delay: 0.1s; }
  .menu ul.open li:nth-child(3) { transition-delay: 0.15s; }
}
