/* ===== Waymore Shipping — Global Styles ===== */
:root {
  --navy: #0b2545;
  --navy-2: #13315c;
  --blue: #1d4e89;
  --sky: #eaf1f8;
  --orange: #f26419;
  --orange-d: #d9530f;
  --text: #1c2733;
  --muted: #5b6b7b;
  --line: #dde5ee;
  --white: #ffffff;
  --green: #1d8a4e;
  --radius: 12px;
  --shadow: 0 8px 24px rgba(11, 37, 69, 0.10);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: "Segoe UI", "Helvetica Neue", Arial, "PingFang SC", sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 2px 10px rgba(11,37,69,.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  font-weight: 800; font-size: 1.3rem; color: var(--navy);
}
.logo:hover { text-decoration: none; }
.logo-mark {
  width: 40px; height: 40px; border-radius: 9px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; font-weight: 800; letter-spacing: -1px;
}
.logo-mark span { color: var(--orange); }
.logo small { display: block; font-size: .68rem; font-weight: 600; color: var(--muted); letter-spacing: 2.5px; text-transform: uppercase; }

.main-nav ul { display: flex; gap: 6px; list-style: none; align-items: center; }
.main-nav a {
  display: block; padding: 9px 14px; border-radius: 8px;
  color: var(--text); font-weight: 600; font-size: .95rem;
}
.main-nav a:hover { background: var(--sky); text-decoration: none; }
.main-nav a.active { color: var(--blue); background: var(--sky); }
.nav-cta {
  background: var(--orange) !important; color: #fff !important;
  padding: 10px 18px !important; border-radius: 8px;
}
.nav-cta:hover { background: var(--orange-d) !important; }

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  display: block; width: 24px; height: 3px; background: var(--navy);
  margin: 5px 0; border-radius: 2px; transition: .25s;
}

/* ---------- Hero ---------- */
.hero {
  background:
    linear-gradient(rgba(11,37,69,.72), rgba(11,37,69,.5) 45%, rgba(11,37,69,.78)),
    url("../images/hero-ship.jpg") center 30% / cover no-repeat;
  color: #fff; padding: 110px 0 130px; text-align: center;
}
.hero h1 { font-size: 2.7rem; font-weight: 800; line-height: 1.2; max-width: 820px; margin: 0 auto 18px; text-shadow: 0 2px 14px rgba(11,37,69,.6); }
.hero h1 em { color: var(--orange); font-style: normal; }
.hero p.lead { font-size: 1.18rem; color: #e2ebf4; max-width: 700px; margin: 0 auto 34px; text-shadow: 0 1px 10px rgba(11,37,69,.6); }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-badges {
  display: flex; gap: 26px; justify-content: center; flex-wrap: wrap;
  margin-top: 52px; color: #cdd9e6; font-size: .92rem;
}
.hero-badges b { display: block; color: #fff; font-size: 1.35rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: 13px 28px; border-radius: 9px;
  font-weight: 700; font-size: 1rem; transition: .2s; border: none; cursor: pointer;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff !important; }
.btn-primary:hover { background: var(--orange-d); }
.btn-outline { border: 2px solid rgba(255,255,255,.7); color: #fff !important; }
.btn-outline:hover { background: rgba(255,255,255,.12); }
.btn-navy { background: var(--navy); color: #fff !important; }
.btn-navy:hover { background: var(--navy-2); }
.btn-whatsapp { background: #25d366; color: #fff !important; }
.btn-whatsapp:hover { background: #1eb457; }

/* ---------- Sections ---------- */
section.section { padding: 76px 0; }
.section.alt { background: var(--sky); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 48px; }
.section-head .kicker {
  color: var(--orange); font-weight: 800; text-transform: uppercase;
  letter-spacing: 2px; font-size: .8rem; display: block; margin-bottom: 10px;
}
.section-head h2 { font-size: 2.1rem; color: var(--navy); margin-bottom: 12px; }
.section-head p { color: var(--muted); }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.card {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow);
  transition: .2s;
}
.card:hover { transform: translateY(-3px); }
.card .icon {
  width: 52px; height: 52px; border-radius: 12px; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  display: flex; align-items: center; justify-content: center; font-size: 1.5rem;
}
.card h3 { color: var(--navy); font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: .95rem; }

/* ---------- Rate cards (daily discounts) ---------- */
.rate-card {
  background: var(--white); border: 1px solid var(--line);
  border-left: 5px solid var(--orange); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 8px;
}
.rate-route { font-weight: 800; color: var(--navy); font-size: 1.08rem; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.rate-mode {
  background: var(--sky); color: var(--blue); font-size: .72rem; font-weight: 800;
  padding: 3px 10px; border-radius: 20px; letter-spacing: .5px;
}
.rate-price { display: flex; align-items: baseline; gap: 12px; }
.rate-old { color: var(--muted); text-decoration: line-through; font-size: 1rem; }
.rate-now { color: var(--green); font-size: 1.65rem; font-weight: 800; }
.rate-meta { color: var(--muted); font-size: .88rem; }
.rate-date { color: var(--orange-d); font-weight: 700; font-size: .8rem; text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; }
.step { position: relative; padding-left: 64px; margin-bottom: 28px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--navy); color: #fff; font-weight: 800; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { color: var(--navy); margin-bottom: 4px; }
.step p { color: var(--muted); font-size: .95rem; }

/* ---------- Contact / footer ---------- */
.contact-strip { background: var(--navy); color: #fff; padding: 56px 0; }
.contact-strip h2 { font-size: 1.8rem; margin-bottom: 8px; }
.contact-strip p { color: #cdd9e6; margin-bottom: 26px; }
.contact-items { display: flex; gap: 40px; flex-wrap: wrap; }
.contact-items b { display: block; color: var(--orange); font-size: .8rem; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 4px; }
.contact-items a { color: #fff; font-size: 1.15rem; font-weight: 700; }

.site-footer { background: #081a33; color: #9fb0c2; padding: 44px 0 28px; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 36px; margin-bottom: 30px; }
.site-footer h4 { color: #fff; margin-bottom: 12px; font-size: 1rem; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #9fb0c2; }
.site-footer a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); padding-top: 20px; text-align: center; color: #73879c; }

/* ---------- Forms ---------- */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
label { font-weight: 600; font-size: .9rem; color: var(--navy); display: block; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 1px solid var(--line);
  border-radius: 8px; font-size: .95rem; font-family: inherit; background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,78,137,.12);
}

.notice {
  background: #fff8ec; border: 1px solid #f5d9a8; color: #7a5410;
  padding: 12px 16px; border-radius: 8px; font-size: .9rem; margin-bottom: 20px;
}
.success-box {
  display: none; background: #e9f7ef; border: 1px solid #b7e2c8;
  color: #17603a; padding: 14px 18px; border-radius: 8px; margin-top: 16px;
}

/* ---------- Breadcrumb / page hero ---------- */
.page-hero {
  background:
    linear-gradient(rgba(11,37,69,.82), rgba(11,37,69,.86)),
    url("../images/hero-ship.jpg") center 30% / cover no-repeat;
  color: #fff; padding: 56px 0; text-align: center;
}
.page-hero h1 { font-size: 2.2rem; }
.page-hero p { color: #cdd9e6; max-width: 640px; margin: 10px auto 0; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-grid { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 2rem; }
  .hero { padding: 64px 0 80px; }

  .nav-toggle { display: block; }
  .main-nav {
    position: absolute; top: 72px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line);
    display: none; box-shadow: 0 10px 20px rgba(11,37,69,.12);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; align-items: stretch; padding: 12px 16px; gap: 4px; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
