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

:root {
  --primary: #1B3A6B;
  --accent:  #E8A020;
  --dark:    #111827;
  --mid:     #374151;
  --muted:   #6B7280;
  --light:   #F3F4F6;
  --white:   #FFFFFF;
  --border:  #E5E7EB;
  --green:   #25D366;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--white); color: var(--dark); line-height: 1.6; }

/* TOPBAR */
.topbar {
  background: var(--primary);
  padding: 0.45rem 6vw;
  display: flex; justify-content: flex-end; align-items: center; gap: 1.5rem;
  flex-wrap: wrap;
}
.topbar a {
  color: rgba(255,255,255,0.85); text-decoration: none;
  font-size: 0.8rem; display: flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.topbar a:hover { color: var(--accent); }
.topbar .wa-top { color: #25D366 !important; }

/* NAV */
nav {
  position: sticky; top: 0; z-index: 200;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.4rem 6vw;
}
.logo img { height: 110px; width: auto; object-fit: contain; background: #fff; border-radius: 6px; padding: 2px; }
.nav-links { display: flex; gap: 0; list-style: none; }
.nav-links a {
  color: var(--mid); text-decoration: none;
  font-size: 0.92rem; font-weight: 500;
  padding: 0.5rem 1.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); border-color: var(--primary); }
.nav-cta {
  background: var(--accent); color: var(--white);
  padding: 0.6rem 1.4rem; border-radius: 4px;
  font-size: 0.88rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s;
}
.nav-cta:hover { background: #d08f18; }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; border: none; background: none; padding: 4px; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--primary); border-radius: 2px; transition: all 0.3s; }
.mobile-menu {
  display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white); z-index: 300; flex-direction: column;
  align-items: center; justify-content: center; gap: 2rem;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { font-size: 1.3rem; font-weight: 600; color: var(--primary); text-decoration: none; }
.mobile-menu .close-btn { position: absolute; top: 1.5rem; right: 1.5rem; font-size: 2rem; cursor: pointer; border: none; background: none; color: var(--mid); }

/* PAGE HERO */
.page-hero {
  background: linear-gradient(110deg, rgba(10,20,50,0.88) 0%, rgba(10,20,50,0.6) 100%),
              url('https://uylogistics.odoo.com/web/image/498-7f8d7f45/AdobeStock_1415943633_Preview1.webp') center/cover no-repeat;
  padding: 5rem 6vw;
  color: var(--white);
}
.page-hero-tag {
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
  margin-bottom: 0.8rem;
}
.page-hero h1 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 800; line-height: 1.1; max-width: 16ch;
}
.breadcrumb { margin-top: 1rem; font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.breadcrumb a { color: var(--accent); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* SECTIONS */
section { padding: 5rem 6vw; }
.section-tag {
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 0.5rem;
}
h2 {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 700; color: var(--primary); line-height: 1.15; margin-bottom: 0.8rem;
}
.section-sub { color: var(--muted); font-size: 0.97rem; max-width: 58ch; font-weight: 300; margin-bottom: 2.8rem; }
.text-center { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

/* BUTTONS */
.btn-primary {
  background: var(--primary); color: var(--white);
  padding: 0.8rem 2rem; border-radius: 4px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-primary:hover { background: #152e56; transform: translateY(-1px); }
.btn-accent {
  background: var(--accent); color: var(--white);
  padding: 0.8rem 2rem; border-radius: 4px;
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; border: none; cursor: pointer;
  display: inline-block; transition: background 0.2s, transform 0.15s;
}
.btn-accent:hover { background: #d08f18; transform: translateY(-1px); }
.btn-outline {
  background: transparent; color: var(--white);
  padding: 0.8rem 2rem; border-radius: 4px;
  border: 2px solid rgba(255,255,255,0.6);
  font-size: 0.95rem; font-weight: 600;
  text-decoration: none; display: inline-block;
  transition: border-color 0.2s, background 0.2s;
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* METRICS */
.metrics-strip {
  background: var(--primary);
  display: flex; justify-content: center; flex-wrap: wrap;
}
.metric { padding: 1.8rem 3.5rem; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); flex: 1; min-width: 150px; }
.metric:last-child { border-right: none; }
.metric-num { font-family: 'Poppins', sans-serif; font-size: 2.2rem; font-weight: 800; color: var(--accent); }
.metric-label { font-size: 0.78rem; color: rgba(255,255,255,0.7); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 0.2rem; }

/* CARDS */
.grid-3 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }

.card {
  background: var(--white); border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.07);
  overflow: hidden; transition: transform 0.25s, box-shadow 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 8px 28px rgba(0,0,0,0.12); }
.card-img { width: 100%; height: 200px; object-fit: cover; display: block; }
.card-body { padding: 1.5rem; }
.card-body h3 {
  font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700;
  color: var(--primary); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: 0.6rem;
}
.card-body p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; margin-bottom: 1rem; }
.card-link { color: var(--accent); font-size: 0.85rem; font-weight: 600; text-decoration: none; border-bottom: 1px solid var(--accent); }

/* FEATURE ICON CARD */
.icon-card {
  background: var(--white); border-radius: 8px; padding: 2rem;
  border: 1px solid var(--border); text-align: center;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.icon-card:hover { border-color: var(--primary); box-shadow: 0 4px 20px rgba(27,58,107,0.1); }
.icon-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.icon-card h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: 0.5rem; }
.icon-card p { color: var(--muted); font-size: 0.87rem; line-height: 1.7; }

/* TESTIMONIALS */
.t-card {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px; padding: 2rem; position: relative;
}
.t-card::before { content: '"'; font-size: 5rem; line-height: 1; color: var(--accent); opacity: 0.35; font-family: Georgia, serif; position: absolute; top: 0.5rem; right: 1.2rem; }
.t-card p { color: rgba(255,255,255,0.8); font-size: 0.92rem; line-height: 1.8; margin-bottom: 1.2rem; font-style: italic; }
.t-author { font-weight: 600; color: var(--accent); font-size: 0.85rem; }
.stars { color: var(--accent); font-size: 0.85rem; margin-bottom: 0.8rem; }

/* PARTNERS */
.partners-row { display: flex; flex-wrap: wrap; gap: 2.5rem; align-items: center; justify-content: center; margin-top: 2rem; }
.partner-logo { height: 52px; object-fit: contain; filter: grayscale(100%); opacity: 0.55; transition: filter 0.3s, opacity 0.3s; }
.partner-logo:hover { filter: none; opacity: 1; }

/* CONTACT FORM */
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: 0.35rem; }
.form-group label { font-size: 0.78rem; font-weight: 600; color: var(--mid); text-transform: uppercase; letter-spacing: 0.05em; }
.form-group input, .form-group select, .form-group textarea {
  border: 1px solid var(--border); border-radius: 4px;
  padding: 0.72rem 0.9rem; font-family: 'Inter', sans-serif;
  font-size: 0.93rem; color: var(--dark); background: var(--white);
  outline: none; transition: border-color 0.2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--primary); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-submit {
  background: var(--primary); color: var(--white); border: none;
  padding: 0.9rem 2rem; border-radius: 4px; font-size: 0.97rem; font-weight: 600;
  cursor: pointer; transition: background 0.2s, transform 0.15s; width: 100%; margin-top: 0.3rem;
}
.form-submit:hover { background: #152e56; transform: translateY(-1px); }
.form-success {
  display: none; background: #d1fae5; border: 1px solid #6ee7b7;
  color: #065f46; padding: 1rem; border-radius: 6px; text-align: center;
  font-weight: 600; margin-top: 0.5rem;
}

/* CONTACT DETAILS */
.contact-detail { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.3rem; }
.c-icon { width: 42px; height: 42px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 1rem; flex-shrink: 0; }
.c-label { font-size: 0.73rem; color: var(--muted); text-transform: uppercase; letter-spacing: 0.06em; }
.c-value { font-size: 0.92rem; font-weight: 500; color: var(--dark); margin-top: 0.1rem; }
.c-value a { color: var(--dark); text-decoration: none; }
.c-value a:hover { color: var(--primary); }

/* CTA BANNER */
.cta-banner {
  background: var(--primary); color: var(--white);
  padding: 4rem 6vw; text-align: center;
}
.cta-banner h2 { color: var(--white); margin-bottom: 0.8rem; }
.cta-banner p { color: rgba(255,255,255,0.75); font-size: 1rem; margin-bottom: 2rem; }

/* WHATSAPP */
.whatsapp-float {
  position: fixed; bottom: 1.8rem; right: 1.8rem; z-index: 999;
  background: var(--green); color: white;
  width: 58px; height: 58px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.45);
  text-decoration: none; transition: transform 0.2s;
}
.whatsapp-float:hover { transform: scale(1.1); }

/* FOOTER */
footer { background: var(--dark); color: rgba(255,255,255,0.7); padding: 3.5rem 6vw 1.5rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 130px; width: auto; margin-bottom: 1rem; background: #fff; border-radius: 6px; padding: 4px; }
.footer-brand p { font-size: 0.87rem; line-height: 1.8; color: rgba(255,255,255,0.55); }
.footer-col h4 { font-family: 'Poppins', sans-serif; font-size: 0.9rem; font-weight: 700; color: var(--white); margin-bottom: 1rem; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.55rem; }
.footer-col ul li a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-col p { color: rgba(255,255,255,0.6); font-size: 0.87rem; margin-bottom: 0.5rem; }
.footer-col a { color: rgba(255,255,255,0.6); text-decoration: none; font-size: 0.87rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; font-size: 0.82rem; }

/* ABOUT PAGE */
.about-img { border-radius: 10px; width: 100%; display: block; }
.team-card { background: var(--white); border-radius: 8px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.07); text-align: center; padding: 2rem 1.5rem; }
.team-avatar { width: 80px; height: 80px; border-radius: 50%; background: var(--primary); color: var(--white); font-family: 'Poppins', sans-serif; font-size: 1.8rem; font-weight: 800; display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; }
.team-card h3 { font-family: 'Poppins', sans-serif; font-size: 1rem; font-weight: 700; color: var(--primary); }
.team-card p { color: var(--muted); font-size: 0.85rem; margin-top: 0.3rem; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
}
@media (max-width: 640px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .topbar { justify-content: center; gap: 1rem; }
  .metric { padding: 1.2rem 1.5rem; }
}
