:root {
  --primary-blue: #235AA1;
  --secondary-teal: #00B2BC;
  --accent-cyan: #50CBD9;
  --text-main: #434141;
  --text-secondary: #727376;
  --text-light: #ffffff;
  --bg-light: #F8F9FA;
  --bg-white: #FFFFFF;
  --bg-dark: #1A2234;
  --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 20px 25px rgba(0, 0, 0, 0.15);
  --border-radius: 12px;
  --font-primary: 'Inter', sans-serif;
  --font-secondary: 'Outfit', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: var(--font-primary); color: var(--text-main); background-color: var(--bg-light); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-secondary); font-weight: 700; color: var(--primary-blue); }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.section-padding { padding: 80px 0; }
.bg-white { background-color: var(--bg-white); }
.bg-dark { background-color: var(--bg-dark); color: var(--text-light); }
.bg-dark h1, .bg-dark h2, .bg-dark h3 { color: var(--accent-cyan); }
.tag { display: inline-block; padding: 6px 16px; background: rgba(0, 178, 188, 0.1); color: var(--secondary-teal); font-weight: 600; border-radius: 50px; font-size: 0.85rem; margin-bottom: 16px; letter-spacing: 0.5px; }

/* NAVBAR */
.navbar { position: fixed; top: 0; width: 100%; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(10px); z-index: 1000; padding: 20px 0; transition: all 0.3s ease; box-shadow: var(--shadow-sm); }
.navbar.scrolled { padding: 12px 0; }
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { display: flex; align-items: center; gap: 12px; }
.nav-brand img { height: 45px; object-fit: contain; }

.nav-links { display: flex; gap: 24px; list-style: none; align-items: center; }
.nav-links a { font-weight: 500; transition: color 0.3s ease; font-size: 0.95rem; }
.nav-links a:hover, .nav-links a.active { color: var(--secondary-teal); }
.social-icons-nav { display: flex; gap: 12px; margin-left: 16px; border-left: 1px solid #ccc; padding-left: 16px; }
.social-icons-nav a { font-size: 1.2rem; color: var(--primary-blue); }
.social-icons-nav a:hover { color: var(--secondary-teal); }
.mobile-toggle { display: none; font-size: 1.5rem; background: none; border: none; color: var(--primary-blue); cursor: pointer; }

/* BUTTONS */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 28px; font-size: 1rem; font-weight: 600; border-radius: 8px; cursor: pointer; transition: all 0.3s ease; border: none; }
.btn-primary { background-color: var(--primary-blue); color: var(--bg-white); box-shadow: var(--shadow-md); }
.btn-primary:hover { background-color: var(--secondary-teal); transform: translateY(-2px); box-shadow: var(--shadow-lg); color: white;}
.btn-outline { background-color: transparent; color: var(--primary-blue); border: 2px solid var(--primary-blue); }
.btn-outline:hover { background-color: var(--primary-blue); color: var(--bg-white); }

/* HERO */
.hero { min-height: 100vh; display: flex; align-items: center; position: relative; padding-top: 80px; background: linear-gradient(to right, rgba(26, 34, 52, 0.95) 0%, rgba(26, 34, 52, 0.4) 100%), url('assets/hero-new.png') no-repeat center center/cover; color: var(--text-light); }
.hero-content { max-width: 800px; animation: fadeInUp 1s ease forwards; }
.hero-content h1 { font-size: 3.5rem; line-height: 1.2; margin-bottom: 24px; color: var(--bg-white); }
.hero-content h1 span { color: var(--accent-cyan); }
.hero-content .subtitle { font-size: 1.2rem; margin-bottom: 40px; color: #E2E8F0; font-weight: 300; }
.hero-badge { display: inline-flex; align-items: center; gap: 12px; background: rgba(255, 255, 255, 0.1); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.2); padding: 12px 24px; border-radius: 8px; margin-top: 40px; }

/* SERVICIOS LOGISTICA GRID */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 48px; }
.service-box { background: var(--bg-white); padding: 32px; border-radius: var(--border-radius); box-shadow: var(--shadow-sm); border: 1px solid #eee; transition: all 0.3s; }
.service-box:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--secondary-teal); }
.service-box i { font-size: 2rem; color: var(--secondary-teal); margin-bottom: 16px; }
.service-box h4 { font-size: 1.25rem; margin-bottom: 12px; }
.service-box p { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 0; }

/* BLOCK SPLIT TRANSFORMATION */
.service-split { display: flex; align-items: center; gap: 64px; }
.service-split.reverse { flex-direction: row-reverse; }
.service-img { flex: 1; border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-lg); }
.service-img img { width: 100%; transition: transform 0.5s ease; }
.service-content { flex: 1; }
.service-content h2 { font-size: 2.2rem; margin-bottom: 16px; }
.service-content p { color: var(--text-secondary); margin-bottom: 24px; font-size: 1.1rem; }

.phases-list { list-style: none; }
.phases-list li { display: flex; gap: 16px; margin-bottom: 24px; }
.phase-number { width: 40px; height: 40px; background: var(--primary-blue); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: bold; flex-shrink: 0; }
.phase-details h4 { margin-bottom: 8px; font-size: 1.1rem; }

/* FOOTER */
.footer { background: var(--primary-blue); color: rgba(255,255,255,0.8); padding: 64px 0 24px; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 48px; margin-bottom: 48px; }
.footer-brand img { height: 60px; background: white; padding: 10px; border-radius: 8px; margin-bottom: 16px; object-fit: contain; }
.footer-links h3 { color: white; margin-bottom: 24px; font-size: 1.2rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a:hover { color: var(--accent-cyan); }
.social-footer { display: flex; gap: 16px; margin-top: 24px; }
.social-footer a { color: white; font-size: 1.5rem; transition: color 0.3s; }
.social-footer a:hover { color: var(--accent-cyan); }

/* FLOATING WSP */
.float-wsp { position: fixed; bottom: 30px; right: 30px; background-color: #25d366; color: white; border-radius: 50px; text-align: center; font-size: 30px; width: 60px; height: 60px; line-height: 60px; box-shadow: 2px 2px 3px #999; z-index: 100; transition: transform 0.3s; }
.float-wsp:hover { color: white; background-color: #20b858; transform: scale(1.1); }

/* RESPONSIVE */
@media (max-width: 992px) {
  .hero-content h1 { font-size: 2.8rem; }
  .service-split { flex-direction: column; gap: 40px; }
}
@media (max-width: 768px) {
  .nav-links { display: none; position: absolute; top: 100%; left: 0; width: 100%; background: var(--bg-white); flex-direction: column; padding: 24px; box-shadow: var(--shadow-sm); }
  .nav-links.active { display: flex; }
  .mobile-toggle { display: block; }
  .hero-content h1 { font-size: 2.2rem; }
  .social-icons-nav { border-left: none; padding-left: 0; margin-left: 0; justify-content: center; width: 100%; margin-top: 16px; border-top: 1px solid #eee; padding-top: 16px;}
}
.fade-up { opacity: 0; transform: translateY(30px); transition: opacity 0.8s ease, transform 0.8s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* CLIENTS GRID */
.clients-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 24px; margin-top: 40px; }
.client-logo { background: var(--bg-white); border-radius: var(--border-radius); padding: 24px 20px; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-sm); border: 1px solid #eee; transition: all 0.3s ease; min-height: 110px; }
.client-logo:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--secondary-teal); }
.client-logo img { max-height: 65px; width: auto; max-width: 100%; object-fit: contain; }
.client-logo.dark-bg { background: var(--bg-dark); border-color: var(--bg-dark); }

/* FOOTER BOTTOM */
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; font-size: 0.9rem; }
