/* ===========================
   TOPBAR RESPONSIVE
=========================== */
@media (max-width: 768px) {
  .topbar {
    display: none;
  }
}

/* =========================
   MOBILE MENU
========================= */
@media (max-width: 900px) {

  .main-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-inner {
    position: relative;
  }

  .menu-toggle {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    width: 36px;
    height: 28px;
    position: relative;
  }

  .menu-toggle span {
    display: block;
    height: 3px;
    background: #1f2937;
    margin: 5px 0;
    border-radius: 2px;
  }

  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #ffffff;
    display: none;
    flex-direction: column;
    padding: 20px;
    border-bottom: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
  }

  .main-nav.active {
    display: flex;
  }

  .main-nav a {
    padding: 14px 0;
    font-size: 16px;
    border-bottom: 1px solid #f1f5f9;
  }

  .nav-whatsapp {
    margin-top: 12px;
    background: #25D366;
    color: #fff;
    padding: 12px;
    border-radius: 10px;
    text-align: center;
  }
}


/* =====================================================
   RESET + BASE
===================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Roboto, Arial, sans-serif;
    color: #1f2933;
    background: #ffffff;
    line-height: 1.6;
}

/* =====================================================
   CONTAINER
===================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

/* =====================================================
   HEADER / NAVBAR
===================================================== */
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}

.main-nav a {
  margin: 0 14px;
  color: #1f2937;
  font-weight: 500;
  text-decoration: none;
  position: relative;
}

.main-nav a::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 0;
  width: 0;
  height: 2px;
  background: #2563eb;
  transition: .3s;
}

.main-nav a:hover::after {
  width: 100%;
}

/* WhatsApp */
.btn-whatsapp {
  background: #25D366;
  color: #fff;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(37,211,102,.35);
  transition: .3s;
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37,211,102,.45);
}

/* =====================================================
   HERO
===================================================== */
.hero-industrial {
    position: relative;
    min-height: 60vh;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.75);
}

.hero-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 60px;
    align-items: center;
}

.hero-eyebrow {
    color: #38bdf8;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 13px;
}

.hero-text h1 {
    color: #fff;
    font-size: 46px;
    margin: 15px 0;
}

.hero-text p {
    color: #e5e7eb;
    max-width: 520px;
}

.hero-actions {
    margin-top: 25px;
    display: flex;
    gap: 15px;
}

.btn-primary {
  background: linear-gradient(135deg,#2563eb,#1e40af);
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(37,99,235,.35);
  transition: .3s;
}

.btn-primary:hover {
  transform: translateY(-2px);
}


.btn-outline {
  border: 1px solid rgba(255,255,255,.4);
  color: #fff;
  padding: 14px 26px;
  border-radius: 10px;
  backdrop-filter: blur(6px);
}


/* =====================================================
   LOGIN CARD
===================================================== */
.login-card {
  background: linear-gradient(180deg,#ffffff,#f1f5f9);
  border-radius: 16px;
  padding: 35px;
  box-shadow: 0 30px 60px rgba(0,0,0,.35);
}

.login-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg,#2563eb,#1e40af);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 15px;
}

.input-group {
  position: relative;
  margin-bottom: 14px;
}

.input-group i {
  position: absolute;
  top: 50%;
  left: 12px;
  transform: translateY(-50%);
  color: #64748b;
}

.input-group input {
  width: 100%;
  padding: 12px 12px 12px 40px;
  border-radius: 8px;
  border: 1px solid #cbd5e1;
}

.login-card button {
  width: 100%;
  padding: 14px;
  margin-top: 10px;
  background: linear-gradient(135deg,#2563eb,#1e40af);
  border: none;
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
}

/* =====================================================
   SECTIONS GENERIC
===================================================== */
.section-eyebrow {
    color: #2563eb;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 1px;
}

.services-industrial,
.contact-industrial {
    padding: 90px 0;
}

.services-header {
    text-align: center;
    max-width: 700px;
    margin: auto;
    margin-bottom: 60px;
}

/* =====================================================
   SERVICES
===================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}

.service-card {
    background: #f8fafc;
    border-radius: 12px;
    padding: 40px 25px;
    text-align: center;
    transition: transform .2s, box-shadow .2s;
}

.service-card i {
    font-size: 38px;
    color: #2563eb;
    margin-bottom: 15px;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px rgba(0,0,0,.08);
}

/* =====================================================
   EXPERIENCE
===================================================== */
.experience-industrial {
    position: relative;
    background-size: cover;
    background-position: center;
    padding: 120px 0;
}

.experience-overlay {
    position: absolute;
    inset: 0;
    background: rgba(15,23,42,.8);
}

.experience-box {
    position: relative;
    z-index: 2;
    max-width: 700px;
    color: #fff;
}

.experience-box h2 {
    margin: 15px 0;
}

/* =====================================================
   CTA
===================================================== */
.cta-industrial {
    background: linear-gradient(135deg,#2563eb,#1e40af);
    padding: 80px 0;
    color: #fff;
    text-align: center;
}

.cta-btn {
    display: inline-block;
    margin-top: 20px;
    background: #fff;
    color: #1e40af;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-decoration: none;
}

/* =====================================================
   CONTACT
===================================================== */
.contact-box {
    max-width: 600px;
    margin: auto;
    background: #f8fafc;
    padding: 40px;
    border-radius: 12px;
}

.contact-box input,
.contact-box textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 6px;
    border: 1px solid #cbd5e1;
}

.contact-box button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg,#2563eb,#1e40af);
    border: none;
    color: #fff;
    border-radius: 6px;
    font-weight: 600;
}

/* =====================================================
   FOOTER
===================================================== */
.main-footer {
    background: #020617;
    color: #94a3b8;
    padding: 25px 0;
}

.footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

 
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-left: 20px;
    padding: 8px 14px;
    background: #25D366;
    color: #ffffff;
    border-radius: 6px;
    font-weight: 600;
    text-decoration: none;
    font-size: 14px;
}

.btn-whatsapp i {
    font-size: 16px;
}

.btn-whatsapp:hover {
    background: #1ebe5d;
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: flex-start;
}

.contact-info {
    background: #f8fafc;
    padding: 35px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 20px;
    font-size: 22px;
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 15px;
    font-size: 15px;
    color: #334155;
}

.contact-info i {
    font-size: 18px;
    color: #2563eb;
}

.section-diagonal {
  position: relative;
  padding: 120px 0;
  background: #0b0f14;
}

.section-diagonal::after {
  content: "";
  position: absolute;
  bottom: -60px;
  left: 0;
  width: 100%;
  height: 120px;
  background: #0f1622;
  transform: skewY(-3deg);
  transform-origin: top left;
}
.section-divider {
  overflow: hidden;
  line-height: 0;
}
.section-divider svg {
  display: block;
  width: 100%;
  height: 100px;
}
.topbar {
  background: #1b1f23;
  color: #cfd6dd;
  font-size: 13px;
}

.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.topbar-left span {
  margin-right: 18px;
}

.topbar i {
  color: #4da3ff;
  margin-right: 6px;
}

.topbar-right a {
  color: #cfd6dd;
  margin-left: 12px;
  transition: color .3s;
}

.topbar-right a:hover {
  color: #4da3ff;
}
/* =====================================================
   IMAGE SCROLL SECTION
===================================================== */
.image-scroll-section {
  padding: 80px 0;
  background: #f8fafc;
}

.image-scroll-container {
  position: relative;
  max-width: 1200px;
  margin: auto;
}

.image-scroll-wrapper {
  overflow: hidden;
}

.image-scroll-track {
  display: flex;
  gap: 20px;
  transition: transform .4s ease;
}

.image-item {
  flex: 0 0 220px;
  height: 140px;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
}

.image-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(100%);
  transition: .4s;
}

.image-item:hover img {
  filter: grayscale(0%);
  transform: scale(1.08);
}

/* Flechas */
.scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #2563eb;
  color: #fff;
  border: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 10px 25px rgba(37,99,235,.35);
}

.scroll-btn.left { left: -20px; }
.scroll-btn.right { right: -20px; }

.scroll-btn:hover {
  background: #1e40af;
}

/* ===========================
   OCULTAR SCROLLBAR SLIDER
=========================== */
.image-scroll-wrapper {
  overflow-x: auto;
  overflow-y: hidden;

  /* Firefox */
  scrollbar-width: none;

  /* IE / Edge viejo */
  -ms-overflow-style: none;
}

/* Chrome / Safari */
.image-scroll-wrapper::-webkit-scrollbar {
  display: none;
}

.services-industrial {
  padding: 100px 0;
  background: #ffffff;
}

.services-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 70px;
}

.services-header h2 {
  margin: 12px 0;
  font-size: 36px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 30px;
}

.service-card-pro {
  background: #f8fafc;
  border-radius: 18px;
  padding: 40px 32px;
  box-shadow: 0 15px 35px rgba(0,0,0,.08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.service-card-pro:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 45px rgba(0,0,0,.12);
}

.service-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg,#2563eb,#1e40af);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #fff;
  font-size: 22px;
}

.service-card-pro h4 {
  margin-bottom: 12px;
  font-size: 20px;
}

.service-card-pro p {
  color: #475569;
  font-size: 15px;
}



.contact-industrial {
  padding: 100px 0;
  background: #f1f5f9;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
}

.contact-info-pro {
  background: linear-gradient(160deg,#0f172a,#1e293b);
  color: #fff;
  padding: 45px;
  border-radius: 20px;
}

.contact-info-pro h3 {
  margin-bottom: 10px;
  font-size: 26px;
}

.contact-info-pro p {
  color: #cbd5f5;
  margin-bottom: 30px;
}

.contact-info-pro ul {
  list-style: none;
}

.contact-info-pro li {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
  font-size: 15px;
}

.contact-info-pro i {
  color: #38bdf8;
  font-size: 18px;
}

/* FORM */
.contact-form-pro {
  background: #ffffff;
  padding: 45px;
  border-radius: 20px;
  box-shadow: 0 25px 50px rgba(0,0,0,.12);
}

.input-row {
  position: relative;
  margin-bottom: 16px;
}

.input-row i {
  position: absolute;
  top: 50%;
  left: 14px;
  transform: translateY(-50%);
  color: #64748b;
}

.input-row.textarea i {
  top: 20px;
  transform: none;
}

.input-row input,
.input-row textarea {
  width: 100%;
  padding: 14px 14px 14px 42px;
  border-radius: 10px;
  border: 1px solid #cbd5e1;
}

.btn-contact-pro {
  width: 100%;
  margin-top: 10px;
  padding: 14px;
  background: linear-gradient(135deg,#2563eb,#1e40af);
  border: none;
  color: #fff;
  border-radius: 12px;
  font-weight: 600;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  box-shadow: 0 15px 30px rgba(37,99,235,.35);
}

.btn-contact-pro:hover {
  transform: translateY(-2px);
}
@media (max-width: 900px) {

  .hero-industrial {
    min-height: auto;
    padding: 80px 0 60px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 32px;
    line-height: 1.2;
  }

  .hero-text p {
    margin: 0 auto;
    font-size: 16px;
  }

  .hero-actions {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-login {
    display: flex;
    justify-content: center;
  }

  .login-card {
    width: 100%;
    max-width: 360px;
  }
}


@media (max-width: 900px) {

  .services-industrial {
    padding: 70px 0;
  }

  .services-header h2 {
    font-size: 28px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .service-card-pro {
    padding: 32px 24px;
    text-align: left;
  }

  .service-icon {
    margin-bottom: 14px;
  }
}


@media (max-width: 900px) {

  .scroll-btn {
    display: none;
  }

  .image-scroll-section {
    padding: 50px 0;
  }

  .image-scroll-track {
    gap: 14px;
  }

  .image-item {
    flex: 0 0 200px;
    height: 130px;
  }
}
@media (max-width: 900px) {

  .contact-industrial {
    padding: 70px 0;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .contact-info-pro,
  .contact-form-pro {
    padding: 30px;
  }

  .contact-info-pro h3,
  .contact-form-pro h3 {
    font-size: 22px;
  }
}


