/* Pinnacle Coverage Solutions LLC — light navy/gold theme from the logo. */
:root {
  --navy: #14335f;
  --navy-deep: #0d2444;
  --gold: #c19a3d;
  --gold-bright: #d4af37;
  --ink: #1c2733;
  --muted: #55636f;
  --bg: #f6f8fb;
  --card: rgba(255, 255, 255, 0.82);
  --border: rgba(20, 51, 95, 0.14);
  --shadow: 0 10px 30px rgba(13, 36, 68, 0.10);
  --radius: 16px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1100px 500px at 85% -5%, rgba(212, 175, 55, 0.14), transparent 60%),
    radial-gradient(900px 480px at -10% 30%, rgba(20, 51, 95, 0.10), transparent 60%),
    var(--bg);
  line-height: 1.55;
  padding-bottom: 0;
}

h1, h2, h3 { color: var(--navy-deep); line-height: 1.2; margin: 0 0 0.5rem; }
h2 { font-size: 1.9rem; text-align: center; }
h2::after {
  content: "";
  display: block;
  width: 64px; height: 3px;
  background: var(--gold-bright);
  border-radius: 2px;
  margin: 0.6rem auto 0;
}
a { color: var(--navy); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 1rem;
  padding: 0.55rem 1.1rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.brand { display: flex; align-items: center; gap: 0.6rem; text-decoration: none; }
.brand-logo { width: 46px; height: 46px; object-fit: contain; border-radius: 8px; }
.brand-text { font-weight: 700; color: var(--navy); font-size: 1.08rem; white-space: nowrap; }
.brand-sub { color: var(--gold); font-weight: 600; }
.site-nav { display: flex; gap: 1.15rem; margin-left: auto; }
.site-nav a { text-decoration: none; color: var(--ink); font-weight: 600; font-size: 0.97rem; }
.site-nav a:hover { color: var(--navy); text-decoration: underline; }

/* Buttons */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-weight: 700; border-radius: 999px; border: 1px solid transparent;
  padding: 0.6rem 1.25rem; font-size: 1rem; text-align: center;
}
.btn-lg { padding: 0.85rem 1.9rem; font-size: 1.08rem; }
.btn-call { background: var(--navy); color: #fff; }
.btn-call:hover { background: var(--navy-deep); }
.btn-gold { background: linear-gradient(180deg, var(--gold-bright), var(--gold)); color: #fff; }
.btn-gold:hover { filter: brightness(1.06); }
.header-call { margin-left: 0.25rem; white-space: nowrap; }

/* Hero */
.hero {
  text-align: center;
  padding: 3.2rem 1.2rem 3.6rem;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.65), rgba(255,255,255,0)),
    radial-gradient(700px 320px at 50% 0%, rgba(212,175,55,0.16), transparent 65%);
  border-bottom: 1px solid var(--border);
}
.hero-logo { width: 190px; max-width: 55vw; height: auto; }
.hero h1 { font-size: 2.4rem; margin-top: 1rem; }
.hero-line { font-size: 1.18rem; max-width: 640px; margin: 0.4rem auto 0.6rem; color: var(--ink); }
.hero-meta { color: var(--muted); font-weight: 600; margin: 0 0 1.4rem; }
.hero-actions { display: flex; gap: 0.8rem; justify-content: center; flex-wrap: wrap; }

/* Sections */
.section { padding: 3.2rem 1.2rem; }
.section-alt { background: rgba(255, 255, 255, 0.55); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section-inner { max-width: 1020px; margin: 0 auto; }
.section-lede { text-align: center; color: var(--muted); max-width: 640px; margin: 0.4rem auto 1.8rem; font-size: 1.05rem; }

/* Glass cards */
.glass-card {
  background: var(--card);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Quote form */
.quote-form {
  max-width: 720px; margin: 0 auto;
  padding: 1.6rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 1rem 1.2rem;
}
.field { display: flex; flex-direction: column; gap: 0.35rem; }
.field-wide { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 0.35rem; }
label { font-weight: 600; color: var(--navy-deep); font-size: 0.97rem; }
.req { color: #b3261e; }
.optional { color: var(--muted); font-weight: 400; font-size: 0.88rem; }
input, select, textarea {
  font: inherit; color: var(--ink);
  padding: 0.65rem 0.75rem;
  border: 1px solid rgba(20, 51, 95, 0.28);
  border-radius: 10px; background: #fff;
}
input:focus, select:focus, textarea:focus {
  outline: 2px solid var(--gold-bright); outline-offset: 1px; border-color: var(--gold);
}
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin: 0.7rem 0 0; min-height: 1.4em; font-weight: 600; }
.form-status.ok { color: #1c6b34; }
.form-status.err { color: #b3261e; }
#quote-submit[disabled] { opacity: 0.6; cursor: wait; }

/* Services */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.service-card { padding: 1.5rem 1.4rem; }
.service-card h3 { font-size: 1.25rem; border-bottom: 3px solid var(--gold-bright); padding-bottom: 0.45rem; display: inline-block; }
.service-card p { color: var(--muted); }
.card-link { font-weight: 700; text-decoration: none; }
.card-link:hover { text-decoration: underline; }

/* Contact */
.contact-inner { text-align: center; }
.contact-alt { color: var(--muted); margin-top: 1.1rem; }
.contact-meta { color: var(--muted); font-weight: 600; }

/* Footer */
.site-footer {
  text-align: center; color: var(--muted); font-size: 0.93rem;
  padding: 1.6rem 1rem 2rem; border-top: 1px solid var(--border);
  background: rgba(255,255,255,0.6);
}
.site-footer p { margin: 0.2rem 0; }

/* Sticky mobile call button */
.sticky-call {
  display: none;
  position: fixed; left: 50%; transform: translateX(-50%);
  bottom: calc(0.8rem + env(safe-area-inset-bottom)); z-index: 60;
  background: var(--navy); color: #fff; font-weight: 700;
  padding: 0.85rem 1.7rem; border-radius: 999px; text-decoration: none;
  box-shadow: 0 8px 24px rgba(13, 36, 68, 0.35);
  font-size: 1.05rem; white-space: nowrap;
}

@media (max-width: 860px) {
  .site-nav { display: none; }
  .brand-sub { display: none; }
  .cards { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .hero h1 { font-size: 1.9rem; }
  .sticky-call { display: block; }
  body { padding-bottom: 4.6rem; }
  .header-call { margin-left: auto; padding: 0.55rem 1rem; font-size: 0.95rem; }
}
