/* ===============================
   ZLOGISTICSAC - Estilos principales
   =============================== */

:root {
  --primary: #0b2f5b;
  --primary-dark: #061d38;
  --secondary: #f39200;
  --secondary-dark: #cf7900;
  --text: #1f2937;
  --muted: #6b7280;
  --light: #f5f7fb;
  --white: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 20px 50px rgba(6, 29, 56, 0.12);
  --radius: 18px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Roboto", sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

h1,
h2,
h3,
h4 {
  font-family: "Montserrat", sans-serif;
}

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

img {
  width: 100%;
  display: block;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

/* Topbar */
.topbar {
  background: var(--primary-dark);
  color: var(--white);
  font-size: 14px;
}

.topbar-content {
  min-height: 42px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.topbar-links,
.topbar-contact {
  display: flex;
  align-items: center;
  gap: 18px;
}

.topbar a {
  opacity: 0.95;
}

.topbar a:hover {
  color: var(--secondary);
}

/* Header */
.header {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

.nav {
  height: 86px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  min-width: 96px;
  max-width: 96px;
  height: 76px;
  overflow: hidden;
}

.site-logo {
  width: 96px;
  height: 76px;
  object-fit: contain;
  display: block;
}

.menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-weight: 500;
  margin-left: auto;
}

.menu a {
  color: var(--primary-dark);
  transition: 0.2s ease;
  white-space: nowrap;
}

.menu a:hover {
  color: var(--secondary);
}

.menu-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--primary);
  margin: 5px 0;
  border-radius: 20px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--secondary);
  color: var(--white);
  font-weight: 700;
  border: 2px solid var(--secondary);
  transition: 0.25s ease;
  cursor: pointer;
  box-shadow: 0 14px 25px rgba(243, 146, 0, 0.28);
}

.btn:hover {
  transform: translateY(-2px);
  background: var(--secondary-dark);
  border-color: var(--secondary-dark);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.75);
  box-shadow: none;
}

.btn-outline:hover {
  background: var(--white);
  border-color: var(--white);
  color: var(--primary);
}

.btn-secondary {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 14px 25px rgba(11, 47, 91, 0.22);
}

.btn-secondary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-small {
  padding: 10px 18px;
  color: var(--white) !important;
  min-width: auto;
}

.full {
  width: 100%;
}

/* Hero */
.hero {
  min-height: 690px;
  position: relative;
  color: var(--white);
  display: flex;
  align-items: center;
  background:
    linear-gradient(110deg, rgba(6, 29, 56, 0.92), rgba(11, 47, 91, 0.72), rgba(243, 146, 0, 0.25)),
    url("https://images.unsplash.com/photo-1494412685616-a5d310fbb07d?auto=format&fit=crop&w=1800&q=80") center/cover no-repeat;
}

.inner-hero {
  min-height: 420px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(243, 146, 0, 0.22), transparent 32%),
    linear-gradient(180deg, transparent, rgba(6, 29, 56, 0.45));
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
  padding: 100px 0;
}

.hero-content.single {
  grid-template-columns: 1fr;
}

.eyebrow,
.section-label {
  display: inline-block;
  color: var(--secondary);
  font-weight: 800;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  font-size: 13px;
  margin-bottom: 14px;
}

.hero h1 {
  font-size: clamp(40px, 6vw, 68px);
  line-height: 1.05;
  margin-bottom: 22px;
  letter-spacing: -2px;
}

.inner-hero h1 {
  font-size: clamp(34px, 5vw, 56px);
}

.hero p {
  font-size: 19px;
  max-width: 720px;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 32px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--text);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow);
  border-top: 5px solid var(--secondary);
}

.hero-card h3 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 10px;
}

.hero-card p {
  color: var(--muted);
  font-size: 16px;
  margin-bottom: 18px;
}

.hero-card ul {
  list-style: none;
}

.hero-card li {
  padding: 8px 0;
  border-bottom: 1px solid var(--border);
}

/* Cards rápidas */
.quick-actions {
  margin-top: -65px;
  position: relative;
  z-index: 5;
}

.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quick-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
  transition: 0.25s ease;
  border-bottom: 4px solid transparent;
}

.quick-card:hover {
  transform: translateY(-6px);
  border-bottom-color: var(--secondary);
}

.quick-card span {
  font-size: 36px;
}

.quick-card h3 {
  color: var(--primary);
  margin: 12px 0 8px;
  font-size: 22px;
}

.quick-card p {
  color: var(--muted);
}

/* Secciones */
section,
footer {
  scroll-margin-top: 110px;
}

.section {
  padding: 96px 0;
}

.section-heading {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.section-heading h2,
.about-text h2,
.contact-info h2 {
  font-size: clamp(30px, 4vw, 44px);
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 16px;
}

.section-heading p,
.about-text p,
.contact-info p {
  color: var(--muted);
  font-size: 17px;
}

/* Nosotros */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: 64px;
}

.about-image {
  min-height: 460px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(11, 47, 91, 0.9), rgba(20, 94, 168, 0.68)),
    url("https://images.unsplash.com/photo-1578575437130-527eed3abbec?auto=format&fit=crop&w=1200&q=80") center/cover no-repeat;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 28px;
  box-shadow: var(--shadow);
}

.image-box {
  width: 220px;
  min-height: 140px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  place-items: center;
  font-size: 36px;
  box-shadow: var(--shadow);
}

.about-text p {
  margin-bottom: 16px;
}

.about-points {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 26px 0;
}

.about-points div {
  background: var(--light);
  border-left: 4px solid var(--secondary);
  padding: 18px;
  border-radius: 14px;
}

.about-points strong {
  display: block;
  color: var(--primary);
  margin-bottom: 6px;
}

.about-points span {
  color: var(--muted);
  font-size: 14px;
}

/* Servicios */
.services {
  background: var(--light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(6, 29, 56, 0.08);
  transition: 0.25s ease;
  border: 1px solid rgba(229, 231, 235, 0.8);
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow);
}

.service-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 30px;
  background: rgba(243, 146, 0, 0.12);
  margin-bottom: 20px;
}

.service-card h3 {
  color: var(--primary);
  font-size: 21px;
  margin-bottom: 10px;
}

.service-card p {
  color: var(--muted);
  margin-bottom: 18px;
}

.service-card a {
  color: var(--secondary);
  font-weight: 700;
}

/* CTA */
.cta-band {
  background:
    linear-gradient(120deg, rgba(6, 29, 56, 0.94), rgba(11, 47, 91, 0.86)),
    url("https://images.unsplash.com/photo-1577412647305-991150c7d163?auto=format&fit=crop&w=1600&q=80") center/cover no-repeat;
  padding: 76px 0;
  color: var(--white);
}

.cta-content {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 30px;
}

.cta-content h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin-bottom: 8px;
}

.cta-content p {
  color: rgba(255, 255, 255, 0.82);
  max-width: 760px;
}

/* Industrias */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.industry-card {
  background: var(--white);
  padding: 22px;
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(6, 29, 56, 0.06);
  font-weight: 700;
  color: var(--primary);
  transition: 0.2s ease;
}

.industry-card:hover {
  border-color: var(--secondary);
  transform: translateY(-4px);
}

/* Proceso */
.process {
  background: var(--light);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.process-step {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(6, 29, 56, 0.07);
  position: relative;
  overflow: hidden;
}

.process-step::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 90px;
  height: 90px;
  background: rgba(243, 146, 0, 0.13);
  border-radius: 50%;
}

.process-step span {
  font-family: "Montserrat", sans-serif;
  color: var(--secondary);
  font-weight: 800;
  font-size: 30px;
}

.process-step h3 {
  margin: 12px 0 8px;
  color: var(--primary);
}

.process-step p {
  color: var(--muted);
}

/* Contacto */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 56px;
  align-items: start;
}

.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.contact-list div {
  background: var(--light);
  border-radius: 14px;
  padding: 18px;
  border-left: 4px solid var(--secondary);
}

.contact-list strong {
  display: block;
  color: var(--primary);
  margin-bottom: 4px;
}

.contact-list span {
  color: var(--muted);
}

.contact-form {
  background: var(--primary-dark);
  color: var(--white);
  padding: 36px;
  border-radius: 26px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  font-size: 28px;
  margin-bottom: 22px;
}

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

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-radius: 14px;
  padding: 14px 16px;
  outline: none;
  font-family: inherit;
  font-size: 15px;
}

select option {
  color: var(--text);
}

input::placeholder,
textarea::placeholder {
  color: rgba(255, 255, 255, 0.68);
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--secondary);
}

/* Página Libro de Reclamaciones */
.claim-section {
  background: var(--light);
}

.claim-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
  align-items: start;
}

.claim-info,
.claim-form {
  background: var(--white);
  border-radius: 26px;
  padding: 32px;
  box-shadow: var(--shadow);
}

.claim-info h2,
.claim-form h2 {
  color: var(--primary);
  margin-bottom: 14px;
}

.claim-info p,
.claim-info li {
  color: var(--muted);
}

.claim-info ul {
  padding-left: 20px;
  margin-top: 14px;
}

.claim-form label {
  display: block;
  color: var(--primary-dark);
  font-weight: 700;
  margin-bottom: 6px;
}

.claim-form input,
.claim-form select,
.claim-form textarea {
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--text);
}

.claim-form input::placeholder,
.claim-form textarea::placeholder {
  color: #8a94a6;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

/* Footer */
.footer {
  background: #06182d;
  color: rgba(255, 255, 255, 0.76);
  padding-top: 64px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 36px;
  padding-bottom: 42px;
}

.footer-logo-image {
  width: 120px;
  max-width: 120px;
  margin-bottom: 14px;
  background: #ffffff;
  border-radius: 12px;
  padding: 8px;
}

.footer-logo-image img {
  width: 100%;
  height: auto;
  display: block;
}

.footer-book {
  display: block;
  width: 120px;
  max-width: 120px;
  margin-bottom: 16px;
}

.footer-book img {
  width: 100%;
  height: auto;
  display: block;
}

.footer p {
  margin-top: 12px;
  max-width: 360px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 16px;
}

.footer a {
  display: block;
  margin-bottom: 10px;
}

.footer a:hover {
  color: var(--secondary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 18px 0;
  width: 100%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer .footer-bottom p,
.footer-bottom p {
  margin: 0 auto;
  max-width: none;
  width: 100%;
  text-align: center;
}

/* WhatsApp */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: var(--white);
  font-size: 28px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.25);
  z-index: 200;
  transition: 0.2s ease;
}

.whatsapp-float:hover {
  transform: scale(1.08);
}

/* Animaciones */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 980px) {
  .topbar-content {
    flex-direction: column;
    padding: 10px 0;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    left: 0;
    right: 0;
    top: 86px;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 24px 4%;
    gap: 18px;
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.12);
    display: none;
    font-size: 16px;
  }

  .menu.active {
    display: flex;
  }

  .hero-content,
  .about-grid,
  .contact-grid,
  .cta-content,
  .claim-grid {
    grid-template-columns: 1fr;
  }

  .quick-grid,
  .services-grid,
  .industry-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process-grid,
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .topbar-links,
  .topbar-contact {
    flex-direction: column;
    gap: 6px;
  }

  .brand {
    width: 82px;
    min-width: 82px;
    max-width: 82px;
    height: 68px;
  }

  .site-logo {
    width: 82px;
    height: 68px;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 70px 0 110px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .quick-grid,
  .services-grid,
  .industry-grid,
  .process-grid,
  .footer-grid,
  .about-points,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    padding: 70px 0;
  }

  .quick-actions {
    margin-top: -82px;
  }

  .contact-form,
  .claim-form,
  .claim-info {
    padding: 26px;
  }

  .footer-logo-image,
  .footer-book {
    width: 110px;
    max-width: 110px;
  }
}


/* =====================================================
   CORRECCIÓN DEFINITIVA HEADER LOGO
   Usa clases nuevas para evitar conflictos con .brand
   ===================================================== */

.header .nav {
  height: 86px !important;
  min-height: 86px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.header-logo-final {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 310px !important;
  min-width: 310px !important;
  max-width: 310px !important;
  height: 76px !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.header-logo-final-icon {
  width: 66px !important;
  height: 66px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 66px !important;
}

.header-logo-final-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
  overflow: visible !important;
}

.header-logo-final-text strong {
  display: block !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 23px !important;
  font-weight: 800 !important;
  letter-spacing: -0.4px !important;
  color: #061d38 !important;
  line-height: 1.05 !important;
  white-space: nowrap !important;
}

.header-logo-final-text small {
  display: block !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 13px !important;
  color: #6b7280 !important;
  line-height: 1.2 !important;
  margin-top: 4px !important;
  white-space: nowrap !important;
}

.header .menu {
  margin-left: auto !important;
}

/* Ajuste para pantallas medianas */
@media (max-width: 1100px) {
  .header-logo-final {
    width: 250px !important;
    min-width: 250px !important;
    max-width: 250px !important;
    gap: 9px !important;
  }

  .header-logo-final-icon {
    width: 56px !important;
    height: 56px !important;
    flex-basis: 56px !important;
  }

  .header-logo-final-text strong {
    font-size: 19px !important;
  }

  .header-logo-final-text small {
    font-size: 12px !important;
  }

  .header .menu {
    gap: 16px !important;
  }
}

/* En móvil se deja solo el ícono */
@media (max-width: 760px) {
  .header-logo-final {
    width: 72px !important;
    min-width: 72px !important;
    max-width: 72px !important;
  }

  .header-logo-final-icon {
    width: 58px !important;
    height: 58px !important;
    flex-basis: 58px !important;
  }

  .header-logo-final-text {
    display: none !important;
  }
}


/* =====================================================
   ACTUALIZACIÓN LOGO ZLOGISTIC - HEADER Y FOOTER
   ===================================================== */

/* Header */
.header .nav {
  height: 86px !important;
  min-height: 86px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 24px !important;
}

.zl-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 14px !important;
  width: 360px !important;
  min-width: 360px !important;
  max-width: 360px !important;
  height: 82px !important;
  overflow: visible !important;
  flex-shrink: 0 !important;
  text-decoration: none !important;
}

.zl-brand-icon {
  width: 92px !important;
  height: 72px !important;
  object-fit: contain !important;
  display: block !important;
  flex: 0 0 92px !important;
}

.zl-brand-text {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.02 !important;
  white-space: nowrap !important;
}

.zl-brand-text strong {
  display: block !important;
  font-family: "Montserrat", sans-serif !important;
  font-size: 30px !important;
  font-weight: 900 !important;
  letter-spacing: -1px !important;
  line-height: 1 !important;
  color: #061d38 !important;
  text-transform: uppercase !important;
  text-shadow: 0 1px 0 rgba(255,255,255,.55) !important;
}

.zl-brand-text small {
  display: block !important;
  font-family: "Roboto", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  color: #6b7280 !important;
  margin-top: 5px !important;
  letter-spacing: .2px !important;
}

.header .menu {
  margin-left: auto !important;
}

/* Footer */
.footer-brand {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
  width: 260px !important;
  max-width: 100% !important;
  margin-bottom: 16px !important;
  text-decoration: none !important;
}

.footer-brand-icon {
  width: 70px !important;
  height: 56px !important;
  object-fit: contain !important;
  flex: 0 0 70px !important;
}

.footer-brand-text {
  display: flex !important;
  flex-direction: column !important;
  line-height: 1.05 !important;
}

.footer-brand-text strong {
  font-family: "Montserrat", sans-serif !important;
  font-size: 20px !important;
  font-weight: 900 !important;
  letter-spacing: -.5px !important;
  color: #ffffff !important;
}

.footer-brand-text small {
  font-size: 12px !important;
  color: rgba(255,255,255,.68) !important;
  margin-top: 3px !important;
}

/* Ocultar estilos antiguos si quedaron */
.logo-image-link,
.brand,
.brand-horizontal,
.header-logo-final,
.footer-logo-image {
  display: none !important;
}

/* Pantallas medianas */
@media (max-width: 1120px) {
  .zl-brand {
    width: 300px !important;
    min-width: 300px !important;
    max-width: 300px !important;
    gap: 10px !important;
  }

  .zl-brand-icon {
    width: 78px !important;
    height: 62px !important;
    flex-basis: 78px !important;
  }

  .zl-brand-text strong {
    font-size: 25px !important;
  }

  .zl-brand-text small {
    font-size: 13px !important;
  }

  .header .menu {
    gap: 16px !important;
  }
}

/* Móvil: logo más compacto */
@media (max-width: 760px) {
  .zl-brand {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
    height: 72px !important;
  }

  .zl-brand-icon {
    width: 82px !important;
    height: 64px !important;
    flex-basis: 82px !important;
  }

  .zl-brand-text {
    display: none !important;
  }
}


/* =====================================================
   SUBMENÚ SERVICIOS Y PÁGINAS INDEPENDIENTES
   ===================================================== */

.menu-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-main::after {
  content: " ▾";
  font-size: 12px;
  color: var(--secondary);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 245px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 45px rgba(6, 29, 56, 0.18);
  border: 1px solid rgba(229, 231, 235, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.22s ease;
  z-index: 999;
}

.menu-dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--primary-dark) !important;
  font-weight: 600;
  margin: 0;
}

.submenu a:hover {
  background: var(--light);
  color: var(--secondary) !important;
}

/* La sección servicios ahora puede tener 7 tarjetas */
.services-grid {
  align-items: stretch;
}

.service-card {
  min-height: 280px;
}

.service-hero {
  min-height: 440px;
}

.service-detail-section {
  background: var(--light);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 36px;
  align-items: start;
}

.service-detail-card,
.service-detail-content {
  background: #ffffff;
  border-radius: 26px;
  padding: 36px;
  box-shadow: var(--shadow);
}

.service-detail-icon {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: rgba(243, 146, 0, 0.12);
  display: grid;
  place-items: center;
  font-size: 38px;
  margin-bottom: 20px;
}

.service-detail-card h2,
.service-detail-content h2 {
  color: var(--primary-dark);
  line-height: 1.15;
  margin-bottom: 14px;
}

.service-detail-card p,
.service-detail-content p {
  color: var(--muted);
}

.service-check-list {
  list-style: none;
  display: grid;
  gap: 14px;
  margin-top: 22px;
}

.service-check-list li {
  background: var(--light);
  border-left: 4px solid var(--secondary);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text);
}

.service-check-list li::before {
  content: "✓ ";
  color: var(--secondary);
  font-weight: 800;
}

.service-detail-cta {
  margin-top: 28px;
  background: var(--primary-dark);
  color: #ffffff;
  padding: 28px;
  border-radius: 22px;
}

.service-detail-cta h3 {
  margin-bottom: 8px;
}

.service-detail-cta p {
  color: rgba(255,255,255,0.78);
  margin-bottom: 18px;
}

@media (max-width: 980px) {
  .menu-dropdown {
    width: 100%;
    display: block;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--light);
    margin-top: 8px;
    width: 100%;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}


/* =====================================================
   ACTUALIZACIÓN INDUSTRIAS + Z LOGISTIC SAC
   ===================================================== */

/* Ajuste para nombre más largo en logo */
.zl-brand {
  width: 420px !important;
  min-width: 420px !important;
  max-width: 420px !important;
}

.zl-brand-text strong {
  font-size: 28px !important;
  letter-spacing: -1.2px !important;
}

/* Submenú también para Industrias */
.menu-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.dropdown-main::after {
  content: " ▾";
  font-size: 12px;
  color: var(--secondary);
}

.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 255px;
  background: #ffffff;
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 20px 45px rgba(6, 29, 56, 0.18);
  border: 1px solid rgba(229, 231, 235, 0.9);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: 0.22s ease;
  z-index: 999;
}

.menu-dropdown:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu a {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--primary-dark) !important;
  font-weight: 600;
  margin: 0;
}

.submenu a:hover {
  background: var(--light);
  color: var(--secondary) !important;
}

/* Aduana queda visualmente debajo de Seguro de Carga en desktop */
@media (min-width: 981px) {
  .services-grid .aduana-card {
    grid-column: 2;
  }
}

.industry-card {
  display: block;
}

.industry-detail-section {
  background: var(--light);
}

.industry-hero {
  min-height: 440px;
}

@media (max-width: 1120px) {
  .zl-brand {
    width: 340px !important;
    min-width: 340px !important;
    max-width: 340px !important;
  }

  .zl-brand-text strong {
    font-size: 23px !important;
  }
}

@media (max-width: 980px) {
  .menu-dropdown {
    width: 100%;
    display: block;
  }

  .submenu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: 0;
    background: var(--light);
    margin-top: 8px;
    width: 100%;
  }
}

@media (max-width: 760px) {
  .zl-brand {
    width: 90px !important;
    min-width: 90px !important;
    max-width: 90px !important;
  }
}
