/* =========================================================
   Third Pull Marine — global styles
   Page-specific layout lives inline in each page (as designed).
   ========================================================= */

/* ---------- Base ---------- */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;background:#fff;color:#2A313C;font-family:'General Sans',system-ui,-apple-system,'Segoe UI',sans-serif;-webkit-font-smoothing:antialiased;overflow-x:hidden}
body.page-dark{background:#011F47}

[hidden]{display:none!important}
:where(a){color:#1E74E7}
:where(a):hover{color:#012C66}
input::placeholder,textarea::placeholder{color:rgba(255,255,255,.72)}
@media (prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important;animation:none!important}}

/* ---------- Buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 22px;border-radius:10px;font-family:'General Sans',sans-serif;font-weight:500;font-size:16px;text-decoration:none;white-space:nowrap;transition:transform .2s ease,background-color .2s ease}
.btn:hover{transform:translateY(-2px)}
.btn-orange{background:#FF9600;color:#011F47}
.btn-orange:hover{background:#E88800;color:#011F47}
.btn-blue{background:#1E74E7;color:#fff}
.btn-blue:hover{background:#1866CF;color:#fff}
.btn-block{display:flex;width:100%;font-size:17px}

/* ---------- Header ---------- */
.site-header{position:sticky;top:0;z-index:100;background:#fff;height:80px;box-shadow:0 1px 0 rgba(1,31,71,.06);transition:box-shadow .25s ease;font-family:'General Sans',sans-serif}
.site-header.is-scrolled{box-shadow:0 4px 20px rgba(1,31,71,.12)}
.header-inner{max-width:1360px;margin:0 auto;height:100%;padding:0 clamp(16px,3vw,40px);display:flex;align-items:center;justify-content:space-between;gap:24px}
.header-logo{display:flex;align-items:center;height:100%;text-decoration:none}
.header-logo img{height:54px;width:auto;display:block}
.nav-desktop{display:flex;align-items:center;gap:36px;height:100%}
.nav-link{height:100%;display:flex;align-items:center;gap:6px;color:#011F47;text-decoration:none;font-size:15px;font-weight:500;border-top:3px solid transparent;border-bottom:3px solid transparent}
.nav-link:hover{color:#1E74E7}
.nav-link.is-active{border-bottom-color:#1E74E7}
.caret{font-size:10px}
.dd{position:relative;height:100%;display:flex;align-items:center}
.dd-menu{display:none;position:absolute;top:100%;left:-16px;min-width:270px;background:#fff;border-radius:12px;box-shadow:0 14px 40px rgba(1,31,71,.16);padding:10px;flex-direction:column}
.dd-menu--wide{min-width:320px}
.dd:hover .dd-menu,.dd:focus-within .dd-menu{display:flex}
.dd-link{padding:11px 14px;border-radius:8px;color:#011F47;text-decoration:none;font-size:15px}
.dd-link:hover{background:#F5F4ED;color:#011F47}
.nav-toggle{display:none;width:44px;height:44px;border:none;background:#011F47;border-radius:10px;flex-direction:column;align-items:center;justify-content:center;gap:5px;cursor:pointer}
.nav-toggle span{width:20px;height:2px;background:#fff;display:block}

/* Mobile drawer */
.m-overlay{position:fixed;inset:0;background:rgba(0,15,34,.5);z-index:200}
.m-drawer{position:fixed;top:0;right:0;bottom:0;width:min(88vw,380px);background:#011F47;z-index:201;padding:24px;display:flex;flex-direction:column;gap:28px;overflow-y:auto;color:#fff}
.m-drawer[hidden],.m-overlay[hidden],.m-sub[hidden]{display:none}
.m-top{display:flex;align-items:center;justify-content:space-between;gap:16px}
.m-top img{height:46px;width:auto;display:block}
.m-close{width:44px;height:44px;border:1px solid rgba(255,255,255,.25);background:transparent;color:#fff;border-radius:10px;font-size:22px;cursor:pointer}
.m-nav{display:flex;flex-direction:column}
.m-link{padding:14px 0;color:#fff;text-decoration:none;font-size:18px;font-weight:500}
.m-link:hover{color:#FF9600}
.m-row,.m-group{border-bottom:1px solid rgba(255,255,255,.12)}
.m-head{display:flex;align-items:center;justify-content:space-between}
.m-toggle{width:44px;height:44px;background:transparent;border:none;color:#FF9600;font-size:22px;cursor:pointer}
.m-sub{display:flex;flex-direction:column;padding:0 0 12px 14px}
.m-sublink{padding:10px 0;color:rgba(255,255,255,.85);text-decoration:none;font-size:16px}
.m-sublink:hover{color:#FF9600}
body.menu-open{overflow:hidden}

@media (max-width:1099px){
  .nav-desktop,.header-cta{display:none}
  .nav-toggle{display:flex}
}

/* ---------- Footer ---------- */
.site-footer{background:#000F22;color:#fff;font-family:'General Sans',sans-serif;padding:clamp(56px,7vw,96px) 0 40px}
.footer-inner{max-width:1300px;margin:0 auto;padding:0 clamp(16px,4vw,48px)}
.footer-top{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:36px}
.footer-logo{flex:0 1 220px;display:flex;text-decoration:none}
.footer-logo img{height:64px;width:auto;display:block}
.footer-tagline{flex:1 1 420px;margin:0;font-family:'Libre Baskerville',serif;font-weight:400;font-size:clamp(28px,2.8vw,40px);letter-spacing:-0.05em;line-height:1.25;text-align:center;color:#fff;text-wrap:balance}
.footer-cta{flex:0 1 220px;display:flex;justify-content:flex-end}
.footer-cta .btn{font-size:17px}
.footer-rule{height:1px;background:rgba(255,255,255,.15);margin:48px 0 36px}
.footer-bottom{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:flex-end;gap:28px}
.footer-col{display:flex;flex-direction:column;gap:8px}
.eyebrow-muted{font-family:Montserrat,sans-serif;font-weight:600;font-size:14px;letter-spacing:1.4px;text-transform:uppercase;color:rgba(255,255,255,.6)}
.footer-link{color:#fff;text-decoration:none;font-size:18px}
.footer-link--sm{font-size:16px}
.footer-link:hover{color:#FF9600}

/* ---------- FAQ accordion ---------- */
.faq-panel[hidden]{display:none}

/* ---------- Contact form ---------- */
.form-error{font-size:14px;color:#FFB347}
.form-error[hidden],.form-alert[hidden],.form-sent[hidden],#contactForm[hidden]{display:none}
.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}
button[disabled]{opacity:.7;cursor:wait}

/* ---------- Scroll reveal ---------- */
.js [data-reveal].reveal-pending{opacity:0;transform:translateY(24px)}
.js [data-reveal]{transition:opacity .8s ease,transform .8s ease}

/* ---------- Legal pages (Privacy Policy) ---------- */
.legal{color:#2A313C;font-size:18px;line-height:1.7}
.legal-lead{font-size:clamp(19px,1.6vw,21px);color:#011F47;margin:0 0 8px}
.legal h2{margin:48px 0 14px;font-family:'Libre Baskerville',serif;font-weight:400;font-size:clamp(24px,2.2vw,30px);letter-spacing:-0.03em;line-height:1.25;color:#012C66}
.legal h3{margin:26px 0 8px;font-weight:600;font-size:19px;color:#011F47}
.legal p{margin:0 0 14px}
.legal ul{margin:0 0 16px;padding-left:24px;display:flex;flex-direction:column;gap:8px}
.legal strong{color:#011F47}
.legal-contact{background:#F5F4ED;border-left:3px solid #1E74E7;border-radius:12px;padding:22px 26px;margin:6px 0 10px;line-height:1.8}
.site-footer .footer-link[aria-current="page"]{color:#FF9600}

/* ---------- Hover / focus states (generated from the design) ---------- */
.h1:hover{background-color:#E88800!important;transform:translateY(-2px)!important}
.h2:hover{background-color:#1866CF!important;transform:translateY(-2px)!important}
.h3:hover{transform:scale(1.06)!important}
.h4:hover{color:#FF9600!important}
.f5:focus{border-color:#FF9600!important}
