:root {
  --brand-bg: #0b2a3b;
  --brand-primary: #0e4b68;
  --brand-accent: #2aa1ff;
  --text: #1c1c1c;
  --muted: #5f6b73;
  --surface: #ffffff;
  --surface-alt: #f5f7f9;
  --border: #e3e8ee;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Apple Color Emoji", "Segoe UI Emoji";
  color: var(--text);
  line-height: 1.6;
  background: var(--surface);
}

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

.container { width: min(1120px, 92%); margin-inline: auto; }

/* Header */
.site-header { --header-h: 58px; position: sticky; top: 0; z-index: 1100; background: rgba(255,255,255,0.9); backdrop-filter: saturate(1.2) blur(6px); border-bottom: 1px solid var(--border); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 14px 0; gap: 18px; min-height: var(--header-h); }
.brand-link { font-weight: 700; color: var(--brand-primary); font-size: 18px; }
.brand-sub { font-size: 12px; color: var(--muted); }
.site-nav { display: flex; gap: 16px; flex-wrap: wrap; }
.site-nav a { color: var(--text); padding: 6px 8px; border-radius: 6px; }
.site-nav a:hover { background: var(--surface-alt); }

/* Mobile full-screen nav (separate from desktop .site-nav) */
.mobile-nav { display: none; }
.mobile-nav a { color: var(--text); text-decoration: none; }
.close-nav { display: none; }

/* Mobile menu toggle (hidden by default) */
.menu-toggle { display: none; border: 1px solid var(--border); background: #fff; color: var(--brand-primary); border-radius: 10px; padding: 8px 12px; font-weight: 600; }
.menu-toggle:hover { background: #f8fafc; }

/* Hero */
.hero { background: linear-gradient(135deg, #0d3b50 0%, #0e4b68 50%, #1177b6 100%); color: #fff; padding: 56px 0; }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; align-items: center; gap: 32px; }
.hero h1 { margin: 0 0 8px; font-size: clamp(28px, 4vw, 44px); line-height: 1.15; }
.hero p { margin: 0 0 18px; color: #e8f4ff; }
.hero .hero-media { border-radius: 12px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }

.cta-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 16px; border-radius: 10px; font-weight: 600; border: 1px solid transparent; }
.btn-primary { background: #fff; color: var(--brand-primary); border-color: #fff; }
.btn-primary:hover { background: #f0f7ff; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,0.5); }
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* Services */
.service-section { padding: 56px 0; background: var(--surface); border-top: 1px solid var(--border); }
.service-section.alt { background: var(--surface-alt); }
.service-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.service-media { border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px rgba(6, 40, 66, 0.08); }
.service-content h2 { margin: 0 0 6px; font-size: clamp(22px, 3.5vw, 32px); color: var(--brand-primary); }
.service-content p { margin: 0 0 10px; color: var(--muted); }
.service-list { margin: 0; padding-left: 18px; }
.service-list li { margin: 6px 0; }

/* Contact */
.contact-section { padding: 56px 0; background: #0b2a3b; color: #e8f4ff; }
.contact-section h2 { color: #fff; margin-top: 0; }
.contact-card { display: grid; grid-template-columns: 1.2fr 1fr; gap: 20px; padding: 20px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.2); }
.contact-card a { color: #fff; }
.contact-actions { display: flex; gap: 12px; align-items: start; }

/* Ensure both buttons in the contact section use high-contrast ghost style */
.contact-section .btn-primary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.contact-section .btn-primary:hover {
  background: rgba(255,255,255,0.08);
}

/* Legal */
.legal-page { padding: 48px 0; }
.legal-section { margin: 22px 0; padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface-alt); }
.back-link { margin-top: 32px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: #fbfcfd; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 0; font-size: 14px; color: var(--muted); }

/* Utility */
.nowrap { white-space: nowrap; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .service-grid, .contact-card { grid-template-columns: 1fr; }
  .brand-sub { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
  /* Hide desktop nav on mobile */
  .site-nav { display: none; }

  /* Mobile menu overlay */
  .mobile-nav {
    position: fixed;
    left: 0; right: 0; top: 0; bottom: 0;
    background: #ffffff;
    display: none;
    flex-direction: column;
    padding: calc(var(--header-h) + 8px) 16px 24px;
    gap: 0;
    z-index: 1200;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100vw; height: 100vh;
    align-items: stretch;
    justify-content: flex-start;
  }
  .mobile-nav a { display: block; padding: 16px 4px; font-size: 18px; width: 100%; border-bottom: 1px solid var(--border); }
  .mobile-nav .close-nav { position: absolute; right: 12px; top: 10px; display: inline-flex; border: 1px solid var(--border); background: #fff; color: var(--brand-primary); border-radius: 10px; padding: 8px 12px; font-weight: 600; }
  body.nav-open .mobile-nav { display: flex; }
  body.nav-open { overflow: hidden; }
}

@media (max-width: 600px) {
  .footer-inner { flex-direction: column; align-items: flex-start; gap: 8px; }
}

