/* ============================================================
   SeaLines — Insurance Broker
   Plain static CSS. No frameworks, no build step.
   Upload these files as-is to any GoDaddy hosting plan.
   ============================================================ */

:root {
  --navy: #0b3140;
  --navy-deep: #072231;
  --teal: #0e8b9e;
  --teal-light: #3ec6b7;
  --accent: #ef8354;
  --ink: #22333c;
  --muted: #5f707b;
  --line: #e4e8e2;
  --bg: #ffffff;
  --bg-soft: #faf7ee;
  --radius: 12px;
  --shadow: 0 8px 28px rgba(11, 49, 64, 0.10);
  --maxw: 1140px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(6px);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px; max-width: var(--maxw); margin: 0 auto;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand:hover { text-decoration: none; }
.brand-mark-img {
  height: 46px; width: auto; flex: none; display: block;
}
.brand-name { font-weight: 800; font-size: 20px; color: var(--navy); line-height: 1.1; }
.brand-tag { display: block; font-size: 11px; font-weight: 600; letter-spacing: 1px; color: var(--teal); text-transform: uppercase; }

.main-nav { display: flex; gap: 4px; align-items: center; }
.main-nav a {
  color: var(--ink); font-weight: 600; font-size: 15px;
  padding: 10px 14px; border-radius: 8px;
}
.main-nav a:hover { background: var(--bg-soft); text-decoration: none; color: var(--navy); }
.main-nav a.active { color: var(--teal); background: rgba(47,179,163,.10); }

.nav-cta {
  background: var(--navy); color: #fff !important; font-weight: 700;
  padding: 10px 20px !important; border-radius: 999px !important; margin-left: 8px;
}
.nav-cta:hover { background: var(--teal) !important; color: #fff !important; }

.menu-toggle {
  display: none; background: none; border: 1px solid var(--line);
  border-radius: 8px; padding: 8px 12px; font-size: 20px; cursor: pointer; color: var(--navy);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 55%, #0e6b7c 100%);
  color: #fff; padding: 88px 0 96px; position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 90px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,60 C240,20 480,90 720,55 C960,20 1200,80 1440,50 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
  background-size: cover;
}
.hero-inner { position: relative; z-index: 1; max-width: 760px; }
.hero-kicker {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--teal-light); margin-bottom: 16px;
  border: 1px solid rgba(47,179,163,.4); padding: 6px 14px; border-radius: 999px;
}
.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -1px; margin-bottom: 18px; }
.hero p.lead { font-size: 19px; color: rgba(255,255,255,.82); max-width: 620px; margin-bottom: 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.page-hero {
  background: linear-gradient(160deg, var(--navy-deep), var(--navy));
  color: #fff; padding: 56px 0 64px; position: relative; overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 90' preserveAspectRatio='none'%3E%3Cpath fill='%23ffffff' d='M0,60 C240,20 480,90 720,55 C960,20 1200,80 1440,50 L1440,90 L0,90 Z'/%3E%3C/svg%3E");
  background-size: cover;
}
.page-hero h1 { font-size: clamp(30px, 4vw, 44px); letter-spacing: -0.5px; }
.page-hero p { color: rgba(255,255,255,.78); font-size: 18px; max-width: 640px; margin-top: 10px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-weight: 700; font-size: 16px;
  padding: 13px 28px; border-radius: 999px; border: 0; cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--teal-light); color: #062b33; box-shadow: 0 6px 18px rgba(47,179,163,.35); }
.btn-primary:hover { background: #3cc9b8; }
.btn-ghost { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,.5); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--teal); }

/* ---------- Sections ---------- */
.section { padding: 72px 0; }
.section-soft { background: var(--bg-soft); }
.section-title { font-size: clamp(26px, 3.4vw, 36px); color: var(--navy); letter-spacing: -0.5px; margin-bottom: 12px; }
.section-sub { color: var(--muted); font-size: 18px; max-width: 680px; margin-bottom: 40px; }
.center { text-align: center; }
.center .section-sub { margin-left: auto; margin-right: auto; }

/* ---------- Cards / grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 32px 28px; box-shadow: var(--shadow);
  display: flex; flex-direction: column; gap: 12px;
  transition: transform .15s ease, box-shadow .15s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(14,42,68,.14); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; flex: none;
  background: rgba(47,179,163,.12); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 26px;
}
.card h3 { color: var(--navy); font-size: 20px; }
.card p { color: var(--muted); font-size: 15.5px; flex: 1; }
.card .card-link { font-weight: 700; font-size: 15px; }

/* ---------- Stats band ---------- */
.stats-band { background: var(--navy); color: #fff; padding: 52px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--teal-light); letter-spacing: -1px; }
.stat-label { font-size: 14px; color: rgba(255,255,255,.7); text-transform: uppercase; letter-spacing: 1px; }

/* ---------- Testimonial ---------- */
.testimonial {
  background: #fff; border-left: 5px solid var(--teal-light);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 32px; box-shadow: var(--shadow); max-width: 800px; margin: 0 auto;
}
.testimonial blockquote { font-size: 19px; font-style: italic; color: var(--ink); margin-bottom: 16px; }
.testimonial cite { font-style: normal; font-weight: 700; color: var(--navy); }
.testimonial cite span { display: block; font-weight: 400; color: var(--muted); font-size: 14px; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(140deg, var(--teal), var(--navy));
  color: #fff; border-radius: 18px; padding: 56px 48px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap;
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); letter-spacing: -0.5px; margin-bottom: 8px; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 560px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255,255,255,.75); padding: 60px 0 28px; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.footer-grid h4 { color: #fff; font-size: 15px; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { color: rgba(255,255,255,.72); font-size: 15px; }
.footer-grid a:hover { color: var(--teal-light); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  font-size: 13.5px; color: rgba(255,255,255,.5);
}
.footer-note { font-size: 13px; color: rgba(255,255,255,.5); margin-top: 20px; max-width: 900px; }

/* ---------- Forms ---------- */
.form-wrap { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; box-shadow: var(--shadow); }
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: 14px; color: var(--navy); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font-size: 16px; font-family: inherit;
  border: 1px solid var(--line); border-radius: 8px; background: #fbfdfd; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--teal-light); border-color: var(--teal); background: #fff;
}
.field textarea { min-height: 140px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-note { font-size: 13.5px; color: var(--muted); margin-top: 16px; }
.form-status { margin-top: 18px; padding: 14px 18px; border-radius: 8px; font-size: 15px; display: none; }
.form-status.success { display: block; background: #e7f8f1; color: #0e6b4f; border: 1px solid #b9e8d2; }
.form-status.error { display: block; background: #fdeeee; color: #a33b2e; border: 1px solid #f3c1b8; }

/* ---------- Contact info cards ---------- */
.info-card { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.info-card .card-icon { width: 46px; height: 46px; font-size: 22px; }
.info-card h4 { color: var(--navy); font-size: 17px; margin-bottom: 4px; }
.info-card p { color: var(--muted); font-size: 15px; }

/* ---------- Blog ---------- */
.blog-toolbar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 32px;
}
.blog-toolbar select, .blog-toolbar input {
  padding: 11px 14px; font-size: 15px; border: 1px solid var(--line);
  border-radius: 8px; font-family: inherit; background: #fff;
}
.blog-toolbar input { flex: 1; min-width: 200px; }
.feed-badge {
  display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .5px;
  background: rgba(21,127,142,.1); color: var(--teal);
  padding: 4px 12px; border-radius: 999px; margin-bottom: 10px; text-transform: uppercase;
}
.post-card { justify-content: space-between; }
.post-meta { display: flex; gap: 14px; font-size: 13.5px; color: var(--muted); margin-top: 12px; }
.post-excerpt { font-size: 15.5px; }
.share-row { display: flex; gap: 8px; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.share-btn {
  font-size: 13px; font-weight: 700; padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--bg-soft); color: var(--navy); cursor: pointer;
}
.share-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); text-decoration: none; }
.feed-status { padding: 40px; text-align: center; color: var(--muted); }
.spinner {
  width: 40px; height: 40px; margin: 0 auto 16px; border-radius: 50%;
  border: 4px solid var(--line); border-top-color: var(--teal); animation: spin 0.9s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- About ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card { text-align: center; }
.team-avatar {
  width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--teal), var(--navy));
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-size: 40px; font-weight: 800;
}
.team-card h3 { color: var(--navy); }
.team-role { color: var(--teal); font-weight: 600; font-size: 14px; text-transform: uppercase; letter-spacing: 1px; margin: 4px 0 12px; }
.value-list { list-style: none; display: grid; gap: 20px; }
.value-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow); }
.value-list h3 { color: var(--navy); margin-bottom: 4px; font-size: 18px; }
.value-list p { color: var(--muted); font-size: 15.5px; }

/* ---------- Product detail rows ---------- */
.product-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 48px 0; border-bottom: 1px solid var(--line); }
.product-row:last-child { border-bottom: 0; }
.product-row.flip .product-copy { order: 2; }
.product-visual {
  background: linear-gradient(150deg, var(--bg-soft), #f2ebdb);
  border: 1px solid var(--line); border-radius: 18px; padding: 56px 40px; text-align: center;
}
.product-visual .big-icon { font-size: 72px; margin-bottom: 12px; }
.product-visual p { color: var(--muted); font-size: 14px; }
.product-copy h2 { color: var(--navy); font-size: 28px; margin-bottom: 12px; letter-spacing: -0.5px; }
.product-copy p { color: var(--muted); margin-bottom: 16px; }
.check-list { list-style: none; margin-bottom: 24px; }
.check-list li { padding: 8px 0 8px 32px; position: relative; font-size: 15.5px; }
.check-list li::before { content: "✓"; position: absolute; left: 4px; color: var(--teal-light); font-weight: 800; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid-3, .team-grid { grid-template-columns: 1fr 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .product-row { grid-template-columns: 1fr; gap: 24px; }
  .product-row.flip .product-copy { order: 0; }
  .cta-band { padding: 40px 28px; }
}
@media (max-width: 640px) {
  .menu-toggle { display: block; }
  .main-nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(14,42,68,.1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 8px; }
  .nav-cta { margin: 8px 0 0; text-align: center; }
  .grid-3, .team-grid, .footer-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .form-wrap { padding: 28px 22px; }
  .section { padding: 52px 0; }
}

/* ---- Photography ---- */
.photo-frame { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 45px rgba(11,42,74,.16); border: 1px solid rgba(11,42,74,.08); background: #dfe9f2; }
.photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.photo-4x3 { aspect-ratio: 4 / 3; }
.photo-wide { margin-top: 40px; }
.photo-wide .photo-frame { aspect-ratio: 21 / 9; }
.photo-caption { font-size: 13.5px; color: var(--muted); margin-top: 12px; text-align: center; }
.product-photo { border-radius: 18px; overflow: hidden; box-shadow: 0 18px 45px rgba(11,42,74,.16); border: 1px solid rgba(11,42,74,.08); aspect-ratio: 4 / 3; background: #dfe9f2; }
.product-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 720px) { .photo-wide .photo-frame { aspect-ratio: 16 / 10; } }
