/* ===== BLUE OCEAN ASSURANCE TEAM — SHARED STYLES ===== */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Outfit:wght@300;400;500;600&display=swap');

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

:root {
  --navy:       #07111F;
  --navy-2:     #0D1F35;
  --navy-3:     #122948;
  --blue:       #15518A;
  --ocean:      #1C7FBF;
  --cyan:       #29C5E0;
  --cyan-dim:   rgba(41,197,224,0.15);
  --gold:       #C8974A;
  --gold-light: #E6B96D;
  --white:      #F0F6FC;
  --body:       #8FAACC;
  --muted:      #4A6280;
  --border:     rgba(41,197,224,0.12);
  --border-med: rgba(41,197,224,0.25);
}

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Outfit', sans-serif;
  background: var(--navy);
  color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem;
  background: rgba(7,17,31,0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

.nav-logo {
  display: flex; align-items: center; gap: 0.65rem;
  text-decoration: none;
}
.logo-mark {
  width: 38px; height: 38px; border-radius: 8px;
  background: linear-gradient(135deg, var(--ocean), var(--cyan));
  display: flex; align-items: center; justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700; font-size: 1.1rem; color: var(--navy);
  flex-shrink: 0;
}
.logo-text {
  font-size: 0.78rem; font-weight: 600; letter-spacing: 0.07em;
  text-transform: uppercase; color: var(--white); line-height: 1.2;
}
.logo-text span { display: block; color: var(--body); font-weight: 400; font-size: 0.68rem; }

.nav-menu { display: flex; align-items: center; gap: 0.25rem; list-style: none; position: relative; }
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  color: var(--body); text-decoration: none;
  font-size: 0.82rem; font-weight: 500; letter-spacing: 0.02em;
  border-radius: 6px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--white); background: rgba(255,255,255,0.06); }
.nav-link .arrow { font-size: 0.6rem; opacity: 0.5; transition: transform 0.2s; }
.nav-item:hover .arrow { transform: rotate(180deg); }

.dropdown {
  display: none; position: absolute; top: calc(100% + 4px); left: 0;
  min-width: 240px;
  background: var(--navy-2);
  border: 1px solid var(--border-med);
  border-radius: 10px;
  padding: 0.5rem;
  box-shadow: 0 16px 40px rgba(0,0,0,0.5);
  z-index: 300;
}
.nav-item:hover .dropdown { display: block; }
.dropdown a {
  display: block; padding: 0.6rem 0.9rem;
  color: var(--body); text-decoration: none; font-size: 0.82rem;
  border-radius: 6px; transition: color 0.15s, background 0.15s;
}
.dropdown a:hover { color: var(--cyan); background: var(--cyan-dim); }

.nav-cta {
  padding: 0.55rem 1.4rem;
  background: var(--cyan);
  color: var(--navy) !important; font-weight: 600 !important;
  font-size: 0.82rem; border-radius: 6px;
  transition: background 0.2s, transform 0.1s;
  margin-left: 0.75rem;
}
.nav-cta:hover { background: #54D9F0 !important; transform: translateY(-1px); }

/* Mobile toggle */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: 0.3s; }

/* ===== PAGE HERO ===== */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 8rem 3rem 5rem;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 70% at 65% 40%, rgba(21,81,138,0.45) 0%, transparent 65%),
    radial-gradient(ellipse 40% 50% at 15% 85%, rgba(41,197,224,0.08) 0%, transparent 55%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 50%, black 30%, transparent 100%);
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.35rem 1rem;
  border: 1px solid var(--border-med);
  border-radius: 2rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 1.5rem;
}
.eyebrow-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); }

h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(2.6rem, 5.5vw, 4.2rem);
  font-weight: 700; line-height: 1.12; color: var(--white);
  margin-bottom: 1.4rem;
}
h1 em { font-style: italic; color: var(--cyan); }
h1 strong { color: var(--gold-light); font-weight: 700; }

.hero-desc {
  font-size: 1.05rem; color: var(--body); font-weight: 300; line-height: 1.8;
  max-width: 560px; margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.4rem;
  padding: 0.8rem 1.8rem;
  font-family: 'Outfit', sans-serif;
  font-size: 0.875rem; font-weight: 600; letter-spacing: 0.03em;
  text-decoration: none; border-radius: 6px; border: none; cursor: pointer;
  transition: all 0.2s;
}
.btn-primary { background: var(--cyan); color: var(--navy); }
.btn-primary:hover { background: #54D9F0; transform: translateY(-2px); }
.btn-outline {
  background: transparent; color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,0.06); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); transform: translateY(-2px); }

/* ===== STRIP / TRUST BAR ===== */
.trust-bar {
  padding: 1.5rem 3rem;
  background: var(--navy-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: center; align-items: center;
  gap: 2.5rem; flex-wrap: wrap;
}
.trust-item {
  display: flex; align-items: center; gap: 0.55rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.1em;
  text-transform: uppercase; color: var(--muted);
}
.trust-badge {
  width: 30px; height: 30px; border-radius: 50%;
  border: 1px solid var(--border-med);
  background: var(--cyan-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.62rem; font-weight: 700; color: var(--cyan);
}
.trust-divider { width: 1px; height: 20px; background: var(--border); }

/* ===== SECTIONS ===== */
section { padding: 5.5rem 3rem; }
.section-inner { max-width: 1140px; margin: 0 auto; }

.section-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 0.7rem;
}
h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.8rem);
  font-weight: 700; line-height: 1.2; color: var(--white);
  margin-bottom: 1rem;
}
h2 em { font-style: italic; color: var(--cyan); }
.lead {
  font-size: 1rem; color: var(--body); font-weight: 300; line-height: 1.8;
  max-width: 580px; margin-bottom: 3rem;
}

/* ===== CARDS ===== */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; }
.card {
  padding: 1.75rem;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color 0.2s, transform 0.2s;
  position: relative; overflow: hidden;
}
.card::after {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--ocean));
  opacity: 0; transition: opacity 0.2s;
}
.card:hover { border-color: var(--border-med); transform: translateY(-3px); }
.card:hover::after { opacity: 1; }
.card-icon {
  width: 46px; height: 46px; border-radius: 10px;
  background: var(--cyan-dim); border: 1px solid var(--border-med);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1.1rem;
}
.card h3 { font-size: 1rem; font-weight: 600; color: var(--white); margin-bottom: 0.6rem; }
.card p { font-size: 0.85rem; color: var(--body); line-height: 1.65; }
.card-link {
  display: inline-flex; align-items: center; gap: 0.3rem;
  margin-top: 1rem; font-size: 0.8rem; font-weight: 600;
  color: var(--cyan); text-decoration: none; letter-spacing: 0.04em;
  transition: gap 0.2s;
}
.card-link:hover { gap: 0.55rem; }

/* ===== DARK ALT SECTION ===== */
.section-alt { background: var(--navy-2); }

/* ===== TWO-COL SPLIT ===== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.split-text h2 { margin-bottom: 0.75rem; }
.split-text p { font-size: 0.9rem; color: var(--body); line-height: 1.8; margin-bottom: 1rem; }

/* ===== LIST ===== */
.check-list { list-style: none; display: flex; flex-direction: column; gap: 0.9rem; margin-top: 1.5rem; }
.check-list li {
  display: flex; gap: 0.85rem; align-items: flex-start;
  font-size: 0.875rem; color: var(--body); line-height: 1.6;
}
.check-list li::before {
  content: '✓'; color: var(--cyan); font-weight: 700; font-size: 0.85rem;
  margin-top: 0.1rem; flex-shrink: 0;
}
.check-list li strong { color: var(--white); }

/* ===== NUMBERED PILLARS ===== */
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5rem; }
.pillar {
  padding: 1.5rem;
  border-left: 2px solid var(--cyan);
  padding-left: 1.5rem;
}
.pillar-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.2rem; font-weight: 700;
  color: rgba(41,197,224,0.12); line-height: 1;
  margin-bottom: 0.4rem;
}
.pillar h3 { font-size: 0.95rem; font-weight: 600; color: var(--white); margin-bottom: 0.5rem; }
.pillar p { font-size: 0.83rem; color: var(--body); line-height: 1.65; }

/* ===== CTA BAND ===== */
.cta-band {
  text-align: center;
  padding: 5rem 3rem;
  background: linear-gradient(135deg, var(--navy-3), var(--navy));
  border-top: 1px solid var(--border-med);
  border-bottom: 1px solid var(--border-med);
}
.cta-band h2 { margin-bottom: 0.9rem; }
.cta-band p { font-size: 1rem; color: var(--body); max-width: 500px; margin: 0 auto 2rem; line-height: 1.75; }

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: 4rem; }
.contact-info-block {
  display: flex; flex-direction: column; gap: 1.5rem;
}
.contact-method {
  padding: 1.5rem;
  background: var(--navy-2);
  border: 1px solid var(--border);
  border-radius: 10px;
}
.contact-method h3 { font-size: 0.85rem; font-weight: 600; color: var(--white); margin-bottom: 0.4rem; }
.contact-method p, .contact-method a {
  font-size: 0.875rem; color: var(--body); text-decoration: none; line-height: 1.6;
}
.contact-method a:hover { color: var(--cyan); }
.contact-method .hours { font-size: 0.8rem; color: var(--muted); margin-top: 0.25rem; }
.contact-icon {
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--cyan-dim); display: flex; align-items: center;
  justify-content: center; font-size: 1rem; margin-bottom: 0.75rem;
}

.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 0.8rem; font-weight: 500; color: var(--body); margin-bottom: 0.4rem; letter-spacing: 0.03em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 0.75rem 1rem;
  background: var(--navy-2); border: 1px solid var(--border-med);
  border-radius: 7px; color: var(--white); font-family: 'Outfit', sans-serif;
  font-size: 0.875rem; transition: border-color 0.2s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--cyan);
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== PAGE HEADER (interior pages) ===== */
.page-hero {
  padding: 8rem 3rem 4rem;
  background: linear-gradient(180deg, var(--navy-3) 0%, var(--navy) 100%);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 56px 56px;
}
.page-hero-content { position: relative; z-index: 1; max-width: 680px; }
.page-hero h1 { font-size: clamp(2rem, 4vw, 3rem); margin-bottom: 0.9rem; }
.page-hero p { font-size: 1rem; color: var(--body); line-height: 1.75; }
.breadcrumb { font-size: 0.75rem; color: var(--muted); margin-bottom: 1rem; }
.breadcrumb a { color: var(--cyan); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }

/* ===== FOOTER ===== */
footer {
  background: #040B14;
  border-top: 1px solid var(--border);
  padding: 3.5rem 3rem 2rem;
}
.footer-top {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-brand p { font-size: 0.83rem; color: var(--muted); line-height: 1.7; margin-top: 0.9rem; max-width: 240px; }
.footer-col h4 { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--cyan); margin-bottom: 1rem; }
.footer-col a { display: block; font-size: 0.82rem; color: var(--muted); text-decoration: none; margin-bottom: 0.55rem; transition: color 0.15s; }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem;
  font-size: 0.78rem; color: var(--muted);
}
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--white); }

/* ===== PHONE BANNER ===== */
.phone-banner {
  padding: 0.75rem 3rem;
  background: var(--navy-3);
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: flex-end; align-items: center; gap: 2rem;
  font-size: 0.78rem; color: var(--muted);
}
.phone-banner a { color: var(--cyan); text-decoration: none; font-weight: 600; }
.phone-banner a:hover { color: var(--white); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  nav { padding: 0 1.5rem; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero, section, .page-hero { padding-left: 1.25rem; padding-right: 1.25rem; }
  .trust-bar { padding: 1.25rem; gap: 1.25rem; }
  .trust-divider { display: none; }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-brand { grid-column: 1 / -1; }
  .phone-banner { padding: 0.6rem 1.25rem; }
  .nav-menu { display: none; flex-direction: column; position: fixed; inset: 68px 0 0 0; background: var(--navy-2); padding: 1.5rem; gap: 0; overflow-y: auto; }
  .nav-menu.open { display: flex; }
  .nav-item { width: 100%; }
  .nav-link { padding: 0.75rem 0; border-radius: 0; border-bottom: 1px solid var(--border); }
  .dropdown { display: none !important; position: static; box-shadow: none; border: none; padding: 0 0 0 1rem; background: transparent; }
  .nav-item.open .dropdown { display: block !important; }
  .hamburger { display: flex; }
  .form-row { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
