/* Mabelsa E.I.R.L. - Reconstrucción estática fiel al sitio original */
:root {
  --navy: #002e5b;
  --navy-mid: #234b74;
  --accent: #6c98e1;
  --accent-dark: #4f7cc8;
  --light-bg: #f2f2f2;
  --white: #ffffff;
  --text: #333333;
  --text-muted: #666666;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 46, 91, 0.08);
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.65;
  color: var(--text);
  background: var(--white);
}

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

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

.container {
  width: 100%;
  max-width: 1170px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  background: var(--navy);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
}

.header-top {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding: 12px 0;
}

.header-top-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.brand-logo img {
  height: 54px;
  width: auto;
}

.header-info-group {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.header-info-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  line-height: 1.35;
  color: rgba(255, 255, 255, 0.92);
}

.header-info-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  transition: background 0.2s;
}

.social-link:hover {
  background: var(--accent);
}

/* Nav */
.header-nav-bar {
  background: #002347;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.main-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-menu > li {
  position: relative;
}

.main-menu > li > a {
  display: block;
  padding: 14px 14px;
  font-size: 13.5px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
  transition: color 0.2s, background 0.2s;
}

.main-menu > li > a:hover,
.main-menu > li.active > a {
  color: var(--accent);
}

.sub-menu {
  list-style: none;
  margin: 0;
  padding: 8px 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 230px;
  background: var(--white);
  color: var(--navy);
  box-shadow: var(--shadow);
  border-top: 3px solid var(--accent);
  display: none;
  z-index: 50;
}

.main-menu > li:hover > .sub-menu {
  display: block;
}

.sub-menu li a {
  display: block;
  padding: 9px 16px;
  font-size: 13px;
  text-transform: capitalize;
  transition: background 0.15s, color 0.15s;
}

.sub-menu li a:hover {
  background: var(--light-bg);
  color: var(--navy);
}

.header-phone {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
}

.header-phone svg {
  width: 16px;
  height: 16px;
  color: var(--accent);
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  padding: 6px 10px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 18px;
}

/* Hero Slider */
.hero-slider {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: var(--navy);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s ease;
  background-size: cover;
  background-position: center top;
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 46, 91, 0.78) 0%, rgba(0, 46, 91, 0.35) 55%, rgba(0, 46, 91, 0.1) 100%);
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 620px;
  color: var(--white);
}

.hero-badge {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  padding: 8px 16px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.hero-subtitle {
  font-size: 19px;
  font-weight: 400;
  line-height: 1.45;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 46, 91, 0.65);
  color: var(--white);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.slider-arrow:hover {
  background: var(--accent);
}

.slider-prev { left: 20px; }
.slider-next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  gap: 8px;
}

.slider-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  padding: 0;
}

.slider-dot.active {
  background: var(--accent);
  width: 24px;
  border-radius: 5px;
}

/* CTA Strip */
.cta-strip {
  background: var(--accent);
  padding: 20px 0;
}

.cta-strip-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.cta-strip h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 600;
  color: var(--navy-mid);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 5px;
  font-weight: 600;
  font-size: 13.5px;
  border: none;
  cursor: pointer;
  transition: transform 0.15s, background 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
}

.btn-navy:hover {
  background: #001f3d;
}

.btn-accent {
  background: var(--accent);
  color: var(--white);
}

.btn-accent:hover {
  background: var(--accent-dark);
}

/* Sections */
.section {
  padding: 64px 0;
}

.section-gray {
  background: var(--light-bg);
}

.section-title {
  text-align: center;
  font-size: 34px;
  font-weight: 700;
  color: var(--navy-mid);
  margin: 0 0 40px;
}

/* Product Cards Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}

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

.product-card-img {
  height: 190px;
  background: #f8fafc;
  overflow: hidden;
}

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

.product-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.product-card-body h3 {
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  text-align: center;
}

.product-card-body p {
  margin: 0 0 10px;
  font-size: 13px;
  color: var(--text);
  text-align: justify;
}

.product-brands {
  font-size: 12px;
  font-weight: 600;
  color: var(--navy-mid);
  margin-top: auto;
  padding-top: 8px;
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-dark);
}

.read-more:hover {
  color: var(--navy);
}

/* Industries */
.industries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.industry-item {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--white);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

.industry-icon {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: var(--navy);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.industry-icon svg {
  width: 26px;
  height: 26px;
}

.industry-item h4 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
}

/* Callback Form Section */
.callback-section {
  background-color: var(--navy-mid);
  background-size: cover;
  background-position: center;
  position: relative;
  color: var(--white);
  padding: 72px 0;
}

.callback-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(20, 49, 80, 0.86);
}

.callback-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 36px;
  align-items: center;
}

.callback-text h2 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.2;
  font-weight: 700;
}

.callback-text p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 14px;
}

.callback-form p {
  margin: 0 0 12px;
  font-weight: 600;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border-radius: 5px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: var(--white);
  color: var(--text);
  font-family: inherit;
  font-size: 13.5px;
}

/* Clients */
.clients-marquee-wrap {
  overflow: hidden;
  position: relative;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  align-items: center;
}

.client-logo {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 86px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.client-logo:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
}

.client-logo img {
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.85);
}

.footer-widgets {
  padding: 50px 0 36px;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer-logo img {
  max-height: 60px;
  width: auto;
  margin-bottom: 14px;
}

.footer-title {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  margin: 0 0 14px;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-links li {
  margin-bottom: 8px;
  font-size: 13px;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 0;
  font-size: 12.5px;
  text-align: center;
  color: rgba(255, 255, 255, 0.72);
}

.footer-bottom a {
  color: var(--accent);
}

/* Subpage Banner */
.page-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  color: var(--white);
  padding: 44px 0;
}

.page-banner h1 {
  margin: 0 0 6px;
  font-size: 32px;
}

.breadcrumb {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a:hover {
  color: var(--accent);
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 999;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25d366;
  color: var(--white);
  padding: 12px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 13.5px;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s;
}

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

.whatsapp-float svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Responsive */
@media (max-width: 1024px) {
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .industries-grid { grid-template-columns: repeat(2, 1fr); }
  .clients-grid { grid-template-columns: repeat(3, 1fr); }
  .callback-inner { grid-template-columns: 1fr; }
  .footer-widgets { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .header-info-group, .header-phone { display: none; }
  .mobile-toggle { display: inline-flex; }
  .main-menu {
    display: none;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding-bottom: 12px;
  }
  .main-menu.open { display: flex; }
  .nav-inner { flex-direction: column; align-items: flex-end; }
  .sub-menu {
    position: static;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border-top: none;
  }
  .main-menu > li:hover > .sub-menu { display: block; }
  .hero-slider { height: 380px; }
  .hero-badge { font-size: 20px; }
  .products-grid, .industries-grid, .form-grid, .footer-widgets { grid-template-columns: 1fr; }
  .clients-grid { grid-template-columns: repeat(2, 1fr); }
}
