/* ========================
   SIIMEX – Estilos modernos
   ======================== */

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

:root {
  --navy: #0d1b2a;
  --navy-mid: #1b2f4a;
  --blue: #1a6fc4;
  --blue-light: #3a8fd4;
  --accent: #e8a020;
  --white: #ffffff;
  --gray-100: #f5f6f8;
  --gray-200: #e8eaed;
  --gray-400: #9ca3af;
  --gray-700: #374151;
  --text: #1a1f2e;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-card: 0 4px 24px rgba(0,0,0,0.08);
  --transition: 0.28s cubic-bezier(.4,0,.2,1);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  line-height: 1.65;
}

img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

h1, h2, h3, h4 {
  font-family: 'Syne', sans-serif;
  line-height: 1.15;
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  background: transparent;
  transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}
.navbar.scrolled {
  background: var(--navy);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.25);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo .logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 36px;
  align-items: center;
}
.nav-links a {
  color: rgba(255,255,255,0.88);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }
.btn-nav {
  background: var(--blue);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-size: 13px !important;
  transition: background var(--transition) !important;
}
.btn-nav:hover { background: var(--blue-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none;
  list-style: none;
  background: var(--navy);
  padding: 0 24px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}
.mobile-menu.open {
  display: block;
  max-height: 300px;
  padding: 12px 24px 20px;
}
.mobile-menu li a {
  display: block;
  color: rgba(255,255,255,0.85);
  padding: 10px 0;
  font-size: 15px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

/* ===== HERO ===== */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 60%, #1a3a5c 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1120px;
  margin: 0 auto;
}
.hero-content {
  flex: 1;
  max-width: 540px;
}
.hero-tag {
  display: inline-block;
  background: rgba(26,111,196,0.25);
  border: 1px solid rgba(26,111,196,0.5);
  color: #7ec8f5;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}
.hero h1 .accent { color: var(--accent); }
.hero p {
  color: rgba(255,255,255,0.72);
  font-size: 16px;
  max-width: 460px;
  margin-bottom: 36px;
  line-height: 1.75;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--blue);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
  transition: background var(--transition), transform var(--transition);
  display: inline-block;
}
.btn-primary:hover { background: var(--blue-light); transform: translateY(-2px); }

.btn-ghost {
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  transition: border-color var(--transition), color var(--transition);
  display: inline-block;
}
.btn-ghost:hover { border-color: var(--white); color: var(--white); }

.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.hero-img {
  width: 100%;
  max-width: 460px;
  height: 380px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 80px rgba(0,0,0,0.45);
}
.hero-badge {
  position: absolute;
  bottom: -18px;
  left: 24px;
  background: var(--white);
  color: var(--text);
  padding: 12px 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  box-shadow: var(--shadow-card);
}
.hero-badge svg { color: #16a34a; flex-shrink: 0; }

/* ===== BRANDS SLIDE ===== */
.brands-section {
  background: var(--gray-100);
  padding: 36px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
  overflow: hidden;
  position: relative;
}
.brands-label {
  text-align: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gray-400);
  margin-bottom: 24px;
}
.brands-track-wrapper {
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}
.brands-track {
  display: flex;
  gap: 48px;
  align-items: center;
  width: max-content;
  animation: scrollBrands 28s linear infinite;
}
.brands-track:hover { animation-play-state: paused; }
.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  height: 120px;
}
.brand-item img {
  max-height: 70px;
  max-width: 160px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: filter var(--transition), opacity var(--transition);
}
.brand-item:hover img { filter: grayscale(0%); opacity: 1; }

@keyframes scrollBrands {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ===== SERVICES ===== */
.services {
  padding: 100px 0;
  background: var(--white);
}
.section-header {
  text-align: center;
  margin-bottom: 60px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.section-header.visible { opacity: 1; transform: translateY(0); }
.section-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--text);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  opacity: 0;
  transform: translateY(24px);
}
.service-card.visible { opacity: 1; transform: translateY(0); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.service-card.featured {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}
.service-card.featured h3 { color: var(--white); }
.service-card.featured p { color: rgba(255,255,255,0.72); }
.service-icon {
  width: 56px; height: 56px;
  background: var(--gray-100);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue);
}
.featured .service-icon {
  background: rgba(255,255,255,0.1);
  color: var(--accent);
}
.service-card h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text);
}
.service-card p { font-size: 15px; color: var(--gray-700); line-height: 1.7; }
.card-tag {
  position: absolute;
  top: 24px; right: 24px;
  background: var(--accent);
  color: var(--navy);
  font-size: 11px;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

/* ===== ABOUT ===== */
.about-section {
  background: var(--gray-100);
  padding: 100px 0;
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.about-inner.visible { opacity: 1; transform: translateY(0); }
.about-image { position: relative; }
.about-image img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}
.about-stat {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--blue);
  color: var(--white);
  padding: 20px 28px;
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: 0 8px 32px rgba(26,111,196,0.35);
}
.stat-num {
  display: block;
  font-family: 'Syne', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
}
.stat-label { font-size: 12px; opacity: 0.88; }
.about-text .section-tag { display: block; margin-bottom: 12px; }
.about-text h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--text);
}
.about-text p {
  color: var(--gray-700);
  margin-bottom: 16px;
  font-size: 15.5px;
  line-height: 1.75;
}
.about-text .btn-primary { margin-top: 12px; }

/* ===== MAP ===== */
.map-section {
  padding: 100px 0;
  background: var(--white);
}
.map-section .section-header p {
  color: var(--gray-400);
  font-size: 15px;
  margin-top: 8px;
}
.map-wrapper {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  box-shadow: var(--shadow-card);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.72);
}
.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding: 64px 24px;
}
.footer-logo {
  height: 44px;
  width: auto;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.footer-brand p { font-size: 14px; line-height: 1.75; max-width: 280px; }
.footer-links h4, .footer-contact h4 {
  font-family: 'Syne', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 16px;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--white); }
.footer-contact p { font-size: 14px; line-height: 1.8; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 20px 24px;
  font-size: 13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero { flex-direction: column; padding: 120px 24px 60px; text-align: center; }
  .hero-content { max-width: 100%; }
  .hero p { margin: 0 auto 32px; }
  .hero-cta { justify-content: center; }
  .hero-visual { width: 100%; }
  .hero-img { max-width: 100%; height: 280px; }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-stat { right: 0; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
  .footer-brand { grid-column: 1 / -1; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: block; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; padding: 48px 24px; }
  .services-grid { grid-template-columns: 1fr; }
}
