/* BlueWave Logistics — Clean Corporate Maritime */

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

:root {
  --navy: #003366;
  --sky: #0099cc;
  --white: #ffffff;
  --light-grey: #f0f4f8;
  --green: #00875a;
  --text: #1a2332;
  --text-muted: #4a5568;
  --border: #d1dce8;
  --shadow: 0 2px 12px rgba(0,51,102,0.10);
  --shadow-md: 0 4px 24px rgba(0,51,102,0.14);
}

html { scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
}

a { color: var(--sky); text-decoration: none; }
a:hover { text-decoration: underline; }

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

/* ── HEADER / NAV ── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.25s;
}
#site-header.scrolled { box-shadow: 0 2px 16px rgba(0,51,102,0.13); }

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.nav-logo span { color: var(--sky); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}
.nav-links a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--navy);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--sky); text-decoration: none; }

.btn { display: inline-block; padding: 10px 22px; border-radius: 4px; font-weight: 700; font-size: 0.92rem; cursor: pointer; border: 2px solid transparent; transition: background 0.2s, color 0.2s, border-color 0.2s; text-align: center; }
.btn-primary { background: var(--navy); color: var(--white); border-color: var(--navy); }
.btn-primary:hover { background: #002244; border-color: #002244; text-decoration: none; }
.btn-sky { background: var(--sky); color: var(--white); border-color: var(--sky); }
.btn-sky:hover { background: #007aaa; border-color: #007aaa; text-decoration: none; }
.btn-outline { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline:hover { background: var(--navy); color: var(--white); text-decoration: none; }
.btn-outline-sky { background: transparent; color: var(--sky); border-color: var(--sky); }
.btn-outline-sky:hover { background: var(--sky); color: var(--white); text-decoration: none; }

.nav-cta { margin-left: 8px; }

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

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--navy) 0%, #005599 55%, var(--sky) 100%);
  color: var(--white);
  padding: 80px 24px 60px;
  min-height: 580px;
  display: flex;
  align-items: center;
}
.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 48px;
  align-items: center;
  width: 100%;
}
.hero-content h1 {
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1.18;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero-content p {
  font-size: 1.08rem;
  opacity: 0.9;
  margin-bottom: 28px;
  max-width: 520px;
  line-height: 1.7;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.hero-badge {
  background: rgba(255,255,255,0.13);
  border: 1px solid rgba(255,255,255,0.28);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 600;
}

.hero-form-wrap {
  background: var(--white);
  border-radius: 6px;
  padding: 32px 28px;
  box-shadow: var(--shadow-md);
  color: var(--text);
}
.hero-form-wrap h3 { font-size: 1.18rem; font-weight: 700; color: var(--navy); margin-bottom: 18px; }

.form-group { margin-bottom: 14px; }
.form-group label { display: block; font-size: 0.83rem; font-weight: 600; color: var(--text-muted); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.4px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 10px 13px;
  border: 1.5px solid var(--border);
  border-radius: 4px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--white);
  transition: border-color 0.2s;
  outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--sky); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-submit { width: 100%; padding: 12px; font-size: 1rem; margin-top: 4px; border: none; }
#form-success { display: none; margin-top: 12px; padding: 10px 14px; background: #e6f7f1; border: 1px solid var(--green); border-radius: 4px; color: var(--green); font-weight: 600; font-size: 0.92rem; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--navy);
  color: var(--white);
  padding: 18px 24px;
}
.trust-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 32px;
  border-right: 1px solid rgba(255,255,255,0.18);
}
.trust-item:last-child { border-right: none; }
.trust-icon { font-size: 1.4rem; }
.trust-text strong { display: block; font-size: 1.05rem; font-weight: 700; line-height: 1.2; }
.trust-text span { font-size: 0.8rem; opacity: 0.78; }

/* ── SECTIONS ── */
.section { padding: 80px 24px; }
.section-grey { background: var(--light-grey); }
.section-navy { background: var(--navy); color: var(--white); }
.container { max-width: 1200px; margin: 0 auto; }

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--sky);
  margin-bottom: 10px;
}
.section-label.light { color: rgba(255,255,255,0.6); }
.section-title {
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}
.section-title.light { color: var(--white); }
.section-sub {
  font-size: 1.02rem;
  color: var(--text-muted);
  max-width: 620px;
  margin-bottom: 48px;
  line-height: 1.7;
}
.section-sub.light { color: rgba(255,255,255,0.8); }

/* ── SERVICE CARDS ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 4px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  transition: border-top-color 0.25s, box-shadow 0.25s, transform 0.2s;
}
.service-card:hover {
  border-top-color: var(--sky);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.service-icon { font-size: 2.1rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.service-card p { font-size: 0.92rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 14px; }
.service-features { list-style: none; padding: 0; margin: 0; border-left: 3px solid var(--navy); padding-left: 14px; }
.service-features li { font-size: 0.86rem; color: var(--text-muted); padding: 3px 0; }
.service-features li::before { content: "— "; color: var(--sky); font-weight: 700; }

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item { border: 1px solid var(--border); overflow: hidden; border-radius: 2px; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; transition: transform 0.35s; }
.gallery-item:hover img { transform: scale(1.03); }
.gallery-caption { background: var(--white); padding: 10px 14px; font-size: 0.84rem; color: var(--text-muted); font-weight: 600; }

/* ── PRICING ── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
}
.pricing-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 4px;
  padding: 32px 26px;
  box-shadow: var(--shadow);
  position: relative;
  transition: box-shadow 0.25s, transform 0.2s;
}
.pricing-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.pricing-card.featured {
  border-top-color: var(--sky);
  border-color: var(--sky);
}
.pricing-badge {
  position: absolute;
  top: -1px;
  right: 20px;
  background: var(--sky);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 3px 12px;
  border-radius: 0 0 4px 4px;
}
.pricing-tier { font-size: 0.72rem; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--sky); margin-bottom: 8px; }
.pricing-card.featured .pricing-tier { color: var(--sky); }
.pricing-name { font-size: 1.5rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.pricing-desc { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 20px; line-height: 1.5; }
.pricing-cta { width: 100%; margin-bottom: 24px; padding: 12px; font-size: 0.95rem; border: none; }

.pricing-table { width: 100%; border-collapse: collapse; margin-top: 4px; }
.pricing-table tr { border-top: 1px solid var(--border); }
.pricing-table tr:first-child { border-top: none; }
.pricing-table td { padding: 8px 0; font-size: 0.86rem; vertical-align: top; }
.pricing-table td:first-child { color: var(--text-muted); padding-right: 10px; width: 20px; text-align: center; }
.pricing-table td:last-child { color: var(--text); }
.check { color: var(--green); font-size: 1rem; }

/* ── CTA SECTION ── */
.cta-section {
  background: var(--light-grey);
  padding: 70px 24px;
  text-align: center;
}
.cta-section h2 { font-size: 1.9rem; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.cta-section p { font-size: 1.02rem; color: var(--text-muted); margin-bottom: 28px; max-width: 560px; margin-left: auto; margin-right: auto; }

/* ── FOOTER ── */
.footer {
  background: var(--navy);
  color: rgba(255,255,255,0.85);
  padding: 56px 24px 32px;
}
.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}
.footer-brand .nav-logo { color: var(--white); font-size: 1.25rem; margin-bottom: 12px; }
.footer-brand p { font-size: 0.88rem; line-height: 1.65; opacity: 0.75; max-width: 280px; }
.footer-col h4 { font-size: 0.82rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.6); margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: rgba(255,255,255,0.78); font-size: 0.9rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--white); text-decoration: none; }
.footer-address { font-size: 0.88rem; line-height: 1.7; opacity: 0.78; }
.footer-address strong { display: block; color: var(--white); margin-bottom: 4px; font-size: 0.92rem; }

.footer-bottom {
  padding-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: space-between;
  align-items: flex-start;
}
.footer-copy { font-size: 0.82rem; opacity: 0.6; }
.footer-disclaimer { font-size: 0.78rem; opacity: 0.55; max-width: 700px; line-height: 1.6; }

/* ── COOKIE BANNER ── */
#cookie-banner {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--white);
  border-top: 3px solid var(--navy);
  padding: 18px 24px;
  box-shadow: 0 -4px 20px rgba(0,51,102,0.12);
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.cookie-text { font-size: 0.88rem; color: var(--text); max-width: 740px; line-height: 1.55; }
.cookie-text a { color: var(--sky); font-weight: 600; }
.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed;
  bottom: 80px;
  right: 24px;
  z-index: 888;
  background: #25d366;
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37,211,102,0.42);
  font-size: 1.6rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 6px 22px rgba(37,211,102,0.55); text-decoration: none; }

/* ── CONTACT PAGE ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #005599 100%);
  color: var(--white);
  padding: 60px 24px 50px;
}
.page-hero h1 { font-size: 2.1rem; font-weight: 700; margin-bottom: 12px; }
.page-hero p { font-size: 1rem; opacity: 0.85; max-width: 540px; line-height: 1.65; }

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 48px;
  align-items: start;
}
.company-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--navy);
  border-radius: 4px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
}
.company-card h3 { font-size: 1.05rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.info-row { display: flex; gap: 12px; margin-bottom: 14px; align-items: flex-start; }
.info-icon { font-size: 1.1rem; color: var(--sky); margin-top: 1px; flex-shrink: 0; }
.info-text { font-size: 0.92rem; color: var(--text-muted); line-height: 1.6; }
.info-text strong { display: block; color: var(--text); font-weight: 600; }
.wa-btn { display: flex; align-items: center; gap: 8px; margin-top: 18px; width: 100%; justify-content: center; font-size: 0.95rem; padding: 11px 16px; background: #25d366; color: var(--white); border: none; border-radius: 4px; font-weight: 700; transition: background 0.2s; cursor: pointer; }
.wa-btn:hover { background: #1ab954; text-decoration: none; }

.contact-form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px 28px;
  box-shadow: var(--shadow);
}
.contact-form-card h3 { font-size: 1.15rem; font-weight: 700; color: var(--navy); margin-bottom: 20px; }

/* ── LEGAL PAGES ── */
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--navy); margin: 36px 0 12px; padding-top: 8px; border-top: 1px solid var(--border); }
.legal-content h2:first-child { margin-top: 0; border-top: none; padding-top: 0; }
.legal-content p { font-size: 0.95rem; color: var(--text-muted); line-height: 1.75; margin-bottom: 14px; }
.legal-content ul { margin: 12px 0 16px 0; padding-left: 22px; }
.legal-content ul li { font-size: 0.93rem; color: var(--text-muted); line-height: 1.7; margin-bottom: 6px; }
.legal-content strong { color: var(--text); }
.legal-date { font-size: 0.82rem; color: var(--text-muted); margin-bottom: 32px; padding-bottom: 18px; border-bottom: 1px solid var(--border); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-form-wrap { max-width: 520px; }
  .hero-content h1 { font-size: 2rem; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; background: var(--white); flex-direction: column; padding: 16px 24px; border-top: 1px solid var(--border); box-shadow: var(--shadow-md); gap: 12px; }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
  .nav-cta { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-item { padding: 8px 16px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 56px 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .trust-bar-inner { flex-direction: column; align-items: flex-start; }
  .trust-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); width: 100%; }
  .trust-item:last-child { border-bottom: none; }
}
