/* ============================================================
   PLATINUM STEAMERS — Shared Site Styles
   Design system, header, footer, buttons, base layout.
   Page-specific styles live inline in each page.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --navy: #1c2b5c;
  --navy-dark: #141f44;
  --navy-light: #243370;
  --gold: #c9a84c;
  --gold-light: #e8c96a;
  --white: #ffffff;
  --off-white: #f7f8fc;
  --ink: #1a1a2e;
  --gray: #6b7280;
  --gray-light: #e5e7eb;
  --fb-blue: #1877f2;
  --wa-green: #25d366;
  --shadow: 0 4px 24px rgba(28,43,92,0.10);
  --shadow-lg: 0 12px 40px rgba(20,31,68,0.18);
  --radius: 14px;
  --maxw: 1120px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Open Sans', sans-serif;
  background: var(--off-white);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

/* Inline professional icons (filled by assets/site.js) */
.ic { display: inline-flex; align-items: center; justify-content: center; vertical-align: -0.15em; }
.ic svg { width: 1.1em; height: 1.1em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 0.95rem; line-height: 1; text-align: center; text-decoration: none;
  padding: 15px 26px; border-radius: 11px; border: 2px solid transparent;
  cursor: pointer; transition: transform .12s ease, background .18s, box-shadow .18s;
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }
.btn-gold { background: var(--gold); color: var(--navy-dark); }
.btn-gold:hover { background: var(--gold-light); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-light); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.35); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.08); }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn-outline-navy:hover { background: var(--navy); color: #fff; }
.btn-white { background: #fff; color: var(--navy-dark); border-color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,0.12); }
.btn-white:hover { background: var(--off-white); border-color: var(--off-white); }
.btn-green { background: #16a34a; color: #fff; border-color: #16a34a; }
.btn-green:hover { background: #15803d; border-color: #15803d; }
.btn-outline-green { background: transparent; color: #16a34a; border-color: #16a34a; }
.btn-outline-green:hover { background: #16a34a; color: #fff; }
.btn-block { width: 100%; }
.btn-lg { font-size: 1.05rem; padding: 17px 30px; }

/* ---------- HEADER / NAV ---------- */
.site-header {
  position: sticky; top: 0; z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 14px rgba(0,0,0,0.20);
}
.nav {
  max-width: var(--maxw); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 64px; gap: 14px;
}
.brand {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: 1.2rem; color: #fff; letter-spacing: -0.02em; text-decoration: none;
  white-space: nowrap;
}
.brand span { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links > li { position: relative; }
.nav-links a {
  display: block; text-decoration: none; color: rgba(255,255,255,0.88);
  font-family: 'Montserrat', sans-serif; font-weight: 600; font-size: 0.85rem;
  padding: 10px 12px; border-radius: 8px; transition: background .15s, color .15s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: #fff; background: rgba(255,255,255,0.10); }
.nav-links a.active { color: var(--gold); }

/* Dropdown */
.has-drop > a::after { content: " ▾"; font-size: 0.7em; opacity: 0.8; }
.dropdown {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px;
  background: #fff; border-radius: 12px; box-shadow: var(--shadow-lg);
  padding: 8px; list-style: none;
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .16s, transform .16s, visibility .16s;
}
.has-drop:hover .dropdown, .has-drop:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { color: var(--navy); font-weight: 600; font-size: 0.85rem; padding: 9px 12px; border-radius: 8px; }
.dropdown a:hover { background: var(--off-white); color: var(--navy); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-call {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--gold); color: var(--navy-dark);
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.85rem;
  padding: 9px 15px; border-radius: 9px; text-decoration: none; white-space: nowrap;
}
.nav-call:hover { background: var(--gold-light); }
@media (max-width: 560px) {
  .brand { font-size: 1.05rem; }
  .nav-call { font-size: 0.74rem; padding: 7px 11px; }
}
@media (max-width: 380px) {
  .brand { font-size: 0.98rem; }
  .nav-call { font-size: 0.7rem; padding: 6px 9px; }
}

/* Hamburger */
.hamburger {
  display: none; background: none; border: none; cursor: pointer;
  width: 42px; height: 42px; padding: 8px; border-radius: 8px;
}
.hamburger span { display: block; height: 2.5px; background: #fff; border-radius: 2px; margin: 5px 0; transition: .25s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- MOBILE NAV ---------- */
@media (max-width: 900px) {
  .hamburger { display: block; }
  .nav-links {
    position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--navy-dark); padding: 12px 16px 40px;
    overflow-y: auto;
    transform: translateX(100%); transition: transform .28s ease;
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { font-size: 1rem; padding: 15px 12px; border-bottom: 1px solid rgba(255,255,255,0.08); border-radius: 0; }
  .dropdown {
    position: static; opacity: 1; visibility: visible; transform: none;
    box-shadow: none; background: rgba(255,255,255,0.04); padding: 0 0 6px 10px;
    display: none;
  }
  .has-drop.open .dropdown { display: block; }
  .dropdown a { color: rgba(255,255,255,0.8); }
  .dropdown a:hover { background: rgba(255,255,255,0.06); color: #fff; }
  .has-drop > a::after { content: " +"; float: right; }
  .has-drop.open > a::after { content: " –"; }
}

/* ---------- FOOTER ---------- */
.site-footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); margin-top: 60px; }
.footer-grid {
  max-width: var(--maxw); margin: 0 auto; padding: 48px 20px 28px;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 32px;
}
.footer-grid h4 {
  font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 0.8rem;
  text-transform: uppercase; letter-spacing: 0.08em; color: var(--gold); margin-bottom: 14px;
}
.footer-brand { font-family: 'Montserrat', sans-serif; font-weight: 800; font-size: 1.3rem; color: #fff; margin-bottom: 10px; }
.footer-brand span { color: var(--gold); }
.footer-grid p { font-size: 0.86rem; line-height: 1.7; margin-bottom: 8px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 9px; }
.footer-grid a { color: rgba(255,255,255,0.75); text-decoration: none; font-size: 0.86rem; transition: color .15s; }
.footer-grid a:hover { color: var(--gold); }
.footer-contact a { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.social-row { display: flex; gap: 10px; margin-top: 6px; }
.social-row a {
  width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,0.09);
  display: flex; align-items: center; justify-content: center; color: #fff;
  transition: background .15s, color .15s, transform .15s;
}
.social-row a svg { width: 19px; height: 19px; fill: currentColor; display: block; }
.social-row a:hover { background: var(--gold); color: var(--navy-dark); transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); text-align: center;
  padding: 18px 20px; font-size: 0.78rem; color: rgba(255,255,255,0.5);
}
.footer-bottom a { color: rgba(255,255,255,0.6); text-decoration: none; }

@media (max-width: 760px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; padding: 40px 20px 24px; }
}
@media (max-width: 460px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ---------- SHARED INTERIOR PAGE HERO ---------- */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  color: #fff; text-align: center; padding: 48px 20px;
}
.page-hero h1 {
  font-family: 'Montserrat', sans-serif; font-weight: 800;
  font-size: clamp(1.7rem, 4.5vw, 2.6rem); letter-spacing: -0.02em; margin-bottom: 10px;
}
.page-hero h1 span { color: var(--gold); }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 620px; margin: 0 auto; font-size: 1rem; }

/* Reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
