:root {
  --primary: #ffb703;
  --primary-dark: #f59e0b;
  --sun: #ff9f1c;
  --dark: #12233b;
  --dark2: #1d3356;
  --text: #2b3a4a;
  --text-light: #5b6b7b;
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(18, 35, 59, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  line-height: 1.6;
}

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

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

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.primary { color: var(--primary); }
.accent { color: var(--primary); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
  font-family: inherit;
}
.btn-primary { background: var(--primary); color: #12233b; }
.btn-primary:hover { background: #ff9f1c; transform: translateY(-2px); }
.btn-ghost { border: 2px solid #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--dark); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; text-align: center; }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark2); color: #fff; font-size: 0.8rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; height: 40px; flex-wrap: wrap; }
.topbar-left a { color: #d7e1ee; }
.topbar-left a:hover { color: var(--primary); }
.topbar-left i { margin-right: 0.3rem; }
.sep { margin: 0 0.8rem; opacity: 0.4; }
.topbar-right a { color: #fff; margin-left: 0.9rem; font-size: 0.9rem; }
.topbar-right a:hover { color: var(--primary); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: #fff; box-shadow: 0 2px 12px rgba(18,35,59,0.08);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.logo { display: flex; align-items: center; gap: 0.7rem; }
.logo-icon {
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), #ff9500);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; color: #1b3a1b; box-shadow: var(--shadow);
}
.logo-name { font-weight: 800; font-size: 1.25rem; color: var(--dark); letter-spacing: 0.3px; }
.logo-sub { font-size: 0.7rem; color: var(--text-light, #6b7a8a); display: block; letter-spacing: 0.5px; }
.nav-links { display: flex; gap: 2rem; }
.nav-links a { font-weight: 500; color: var(--text); position: relative; }
.nav-links a:hover { color: var(--primary); }
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px;
  background: var(--primary); transition: width 0.25s;
}
.nav-links a:hover::after { width: 100%; }
.btn-cta { padding: 0.6rem 1.3rem; font-size: 0.9rem; }
.hamburger { display: none; background: none; border: none; font-size: 1.5rem; color: var(--dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 92vh; display: flex; align-items: center;
  background: url('https://images.unsplash.com/photo-1509391366360-2e959784a276?w=1600&q=80') center/cover no-repeat fixed;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,25,45,0.88), rgba(18,52,86,0.65));
}
.hero-content { position: relative; color: #fff; max-width: 640px; padding: 4rem 0; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: rgba(255,214,0,0.2); border: 1px solid var(--primary);
  color: var(--primary); padding: 0.4rem 1rem; border-radius: 999px; font-size: 0.82rem; font-weight: 600;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3.3rem); line-height: 1.15; margin: 1.3rem 0; font-weight: 700; }
.hero p { font-size: 1.1rem; color: #dfe8f4; margin-bottom: 2rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 3rem; margin-top: 3rem; }
.hero-stats div { font-size: 0.85rem; color: #c7d4e6; }
.hero-stats span { display: block; font-size: 1.7rem; font-weight: 700; color: var(--primary); }

/* ---------- Logos / brands ---------- */
.logos { padding: 2.5rem 0; background: var(--bg-alt); }
.section-label { text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.75rem; font-weight: 700; color: var(--primary); }
.logos .section-label { text-align: center; margin-bottom: 1.2rem; color: var(--text-light, #8a97a8); }
.logo-row { display: flex; justify-content: center; flex-wrap: wrap; gap: 2rem 3rem; }
.brand { font-weight: 700; color: #9aa7b5; font-size: 1.1rem; }
.brand:hover { color: var(--dark); }

/* ---------- Section ---------- */
.section { padding: 5rem 0; }
.section-dark { background: linear-gradient(135deg, var(--dark), var(--dark2)); color: #fff; }
.section-dark h2, .section-dark .section-label { color: #fff; }
.section-dark .section-label { color: var(--primary); }
.section-title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; color: var(--dark); margin: 0.5rem 0 2rem; }

/* ---------- Nosotros ---------- */
.split { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: center; }
.split-media { position: relative; }
.split-media img { border-radius: var(--radius); box-shadow: var(--shadow); }
.media-small {
  position: absolute; bottom: -30px; right: -20px; width: 46%; border: 6px solid #fff;
}
.split-text h2 { color: var(--dark); }
.split-text p { margin-bottom: 1rem; color: var(--text-light); }
.check-list { margin: 0.5rem 0 1.5rem; }
.check-list li { display: flex; gap: 0.6rem; align-items: center; margin-bottom: 0.6rem; }
.check-list i { color: var(--primary); }
.company-info { background: var(--bg-alt); padding: 1.3rem 1.5rem; border-radius: var(--radius); border-left: 4px solid var(--primary); }
.company-info p { margin-bottom: 0.4rem; font-size: 0.95rem; }

/* ---------- Cards ---------- */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.6rem; }
.card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  padding: 2rem 1.6rem; border-radius: var(--radius); transition: 0.3s;
}
.card:hover { background: var(--primary); color: var(--dark); transform: translateY(-6px); }
.card-icon {
  width: 58px; height: 58px; border-radius: 14px; background: var(--primary);
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem; color: var(--dark);
  margin-bottom: 1.2rem;
}
.card h3 { margin-bottom: 0.6rem; }
.card p { font-size: 0.9rem; opacity: 0.85; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.gal-card { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.gal-card img { height: 100%; width: 100%; height: 260px; object-fit: cover; transition: transform 0.4s; }
.gal-card:hover img { transform: scale(1.08); }
.gal-card figcaption {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 0.8rem 1rem;
  background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: #fff; font-size: 0.85rem; font-weight: 600;
}

/* ---------- Fleet ---------- */
.fleet { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 1rem; }
.fleet-item {
  background: rgba(255,255,255,0.06); border-radius: var(--radius); overflow: hidden; border: 1px solid rgba(255,255,255,0.12);
}
.fleet-item img { width: 100%; height: 260px; object-fit: cover; }
.fleet-item h3 { padding: 1rem 1.4rem 0.2rem; }
.fleet-item p { padding: 0 1.4rem 1.4rem; opacity: 0.85; font-size: 0.9rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
.contact-info h2 { color: var(--dark); }
.info-row { display: flex; align-items: flex-start; gap: 1rem; margin: 1.1rem 0; }
.info-row i { color: var(--primary); font-size: 1.3rem; margin-top: 4px; }
.info-row strong { color: var(--dark); }
.social-row { display: flex; gap: 0.9rem; margin-top: 1.5rem; }
.social-row a, .footer-social a {
  width: 44px; height: 44px; border-radius: 50%; background: var(--bg-alt);
  display: flex; align-items: center; justify-content: center; color: var(--dark2); transition: 0.3s;
}
.social-row a:hover, .footer-social a:hover { background: var(--primary); color: #1b3a1b; transform: translateY(-3px); }
.contact-form {
  background: #fff; box-shadow: var(--shadow); border-radius: var(--radius); padding: 2rem; border-top: 5px solid var(--primary);
}
.contact-form h3 { margin-bottom: 1.2rem; color: var(--dark); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; padding: 0.85rem 1rem; border: 1px solid #dfe5ee;
  border-radius: 10px; margin-bottom: 1rem; font-family: inherit; font-size: 0.95rem; background: var(--bg-alt);
}
.contact-form textarea { resize: vertical; min-height: 100px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: 2px solid var(--primary); border-color: transparent; }
.form-note { color: #2e7d32; font-weight: 600; margin-top: 0.8rem; }

/* ---------- Footer ---------- */
.footer { background: var(--dark2); color: #c8d5e6; padding-top: 3rem; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: 2rem; padding-bottom: 2.5rem; }
.footer .logo-footer { margin-bottom: 0.8rem; }
.footer .logo-name { color: #fff; }
.footer h4 { color: #fff; margin-bottom: 1rem; }
.footer a { display: block; margin-bottom: 0.6rem; font-size: 0.9rem; }
.footer a:hover { color: var(--primary); }
.footer-social { color: #fff; }
.footer-social div { display: flex; gap: 0.7rem; }
.footer-social a { width: 38px; height: 38px; margin: 0; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.15); padding: 1.2rem 0; font-size: 0.8rem; text-align: center; color: #9fb0c7; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .nav-links {
    position: fixed; top: 116px; right: 0; flex-direction: column; gap: 0;
    background: #fff; width: 240px; box-shadow: -4px 6px 20px rgba(0,0,0,0.1);
    transform: translateX(100%); transition: transform 0.3s; border-radius: 0 0 0 16px; overflow: hidden;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 1rem 1.4rem; border-bottom: 1px solid #eee; }
  .hamburger { display: block; }
  .btn-cta { display: none; }
  .split { grid-template-columns: 1fr; }
  .media-small { display: none; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .fleet { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .topbar-inner { justify-content: center; height: auto; padding: 0.4rem 0; gap: 0.4rem; }
  .hero-stats { gap: 2rem; flex-wrap: wrap; }
  .gallery { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
}