/* ==========================================================================
   Pickett Insurance Group — site styles
   One stylesheet for the whole site. Colors and spacing live in :root below,
   so a brand tweak is a one-line change.
   ========================================================================== */

:root {
  /* Brand — sampled from the logo artwork */
  --brand:        #005f7f;
  --brand-dark:   #004a63;
  --brand-deep:   #00394c;
  --sky:          #72c4d6;
  --sky-soft:     #e8f4f8;
  --sky-line:     #bfe0ea;

  /* Neutrals */
  --ink:          #1f2729;
  --body:         #4c5458;
  --muted:        #6d7679;
  --sand:         #f7f4ef;
  --line:         #e4e0d9;
  --white:        #ffffff;

  --radius:       10px;
  --radius-lg:    16px;
  --shadow-sm:    0 1px 2px rgba(0,42,56,.06), 0 2px 8px rgba(0,42,56,.05);
  --shadow-md:    0 2px 4px rgba(0,42,56,.06), 0 12px 28px rgba(0,42,56,.09);

  --wrap:         1140px;
  --gap:          clamp(20px, 3vw, 32px);
  --section:      clamp(56px, 8vw, 104px);

  --font-sans:    "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-serif:   "Source Serif 4", Georgia, "Times New Roman", serif;
}

/* --------------------------------------------------------------- reset -- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
body {
  margin: 0;
  overflow-wrap: break-word;
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 2px;
  border-radius: 4px;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.18;
  margin: 0 0 .5em;
  font-weight: 600;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.05rem, 1.35rem + 2.6vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.35rem); }
h3 { font-size: clamp(1.2rem, 1.05rem + .6vw, 1.45rem); }
h4 { font-size: 1.08rem; }
p  { margin: 0 0 1.1em; }
p:last-child { margin-bottom: 0; }

/* ------------------------------------------------------------- helpers -- */
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap--narrow { max-width: 780px; }
.wrap--mid { max-width: 960px; }
.section { padding: var(--section) 0; }
.section--tight { padding: clamp(40px, 5vw, 64px) 0; }
.section--sand { background: var(--sand); }
.section--sky  { background: var(--sky-soft); }
.center { text-align: center; }
.lede { font-size: clamp(1.08rem, 1rem + .4vw, 1.25rem); color: var(--body); }
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--brand); color: #fff; padding: 12px 20px; border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  font-family: var(--font-sans);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--brand);
  margin: 0 0 .75rem;
}
.eyebrow--light { color: var(--sky); }

.section-head { max-width: 720px; margin-bottom: clamp(32px, 4vw, 52px); }
.section-head.center { margin-left: auto; margin-right: auto; }
.section-head p { color: var(--body); }

.rule {
  width: 56px; height: 4px; border: 0; border-radius: 2px;
  background: var(--sky); margin: 0 0 1.4rem;
}
.center .rule, .rule.center { margin-left: auto; margin-right: auto; }

/* --------------------------------------------------------------- button -- */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-sans);
  font-weight: 600; font-size: 1rem; line-height: 1;
  padding: 15px 26px;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease, transform .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn--primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn--primary:hover { background: var(--brand-dark); border-color: var(--brand-dark); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn--ghost:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.btn--outline { background: transparent; color: var(--brand); border-color: var(--sky); }
.btn--outline:hover { background: var(--sky-soft); border-color: var(--brand); }
.btn--light { background: #fff; color: var(--brand-dark); border-color: #fff; }
.btn--light:hover { background: var(--sky-soft); color: var(--brand-dark); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.center .btn-row { justify-content: center; }

/* -------------------------------------------------------------- topbar -- */
.topbar {
  background: var(--brand-deep);
  color: rgba(255,255,255,.86);
  font-size: .875rem;
}
.topbar .wrap {
  display: flex; flex-wrap: wrap; gap: 6px 26px;
  align-items: center; justify-content: flex-end;
  min-height: 40px; padding-top: 6px; padding-bottom: 6px;
}
.topbar a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: .45rem; max-width: 100%; }
.topbar a span { overflow-wrap: anywhere; }
.topbar a:hover { color: var(--sky); }
.topbar .topbar__note { margin-right: auto; color: rgba(255,255,255,.72); }
.icon { width: 1em; height: 1em; flex: none; fill: currentColor; }
@media (max-width: 719px) {
  .topbar .topbar__note { display: none; }
  .topbar .wrap { justify-content: center; }
}

/* --------------------------------------------------------------- header -- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.97);
  backdrop-filter: saturate(160%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between;
  gap: 20px; min-height: 76px;
}
.brand { display: inline-flex; align-items: center; flex: none; }
.brand img { width: 220px; max-width: 52vw; height: auto; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line); border-radius: 8px;
  padding: 9px 12px; color: var(--brand); align-items: center; gap: .5rem;
  font: 600 .95rem/1 var(--font-sans); cursor: pointer;
}
.nav-toggle .bars { display: block; width: 18px; height: 2px; background: currentColor; position: relative; }
.nav-toggle .bars::before, .nav-toggle .bars::after {
  content: ""; position: absolute; left: 0; width: 18px; height: 2px; background: currentColor;
}
.nav-toggle .bars::before { top: -6px; }
.nav-toggle .bars::after  { top: 6px; }

.site-nav ul {
  display: flex; align-items: center; gap: 4px;
  list-style: none; margin: 0; padding: 0;
}
.site-nav a {
  display: block; padding: 10px 13px; border-radius: 7px;
  font-size: .97rem; font-weight: 500; color: var(--ink); text-decoration: none;
  transition: background-color .16s ease, color .16s ease;
}
.site-nav a:hover { background: var(--sky-soft); color: var(--brand-dark); }
.site-nav a[aria-current="page"] {
  color: var(--brand); font-weight: 600;
  box-shadow: inset 0 -2px 0 var(--sky);
  border-radius: 7px 7px 0 0;
}
.site-nav .nav-cta { margin-left: 10px; }
.site-nav .nav-cta a {
  background: var(--brand); color: #fff; padding: 12px 20px; font-weight: 600;
}
.site-nav .nav-cta a:hover { background: var(--brand-dark); color: #fff; }
.site-nav .nav-cta a[aria-current="page"] { box-shadow: none; border-radius: 7px; }

@media (max-width: 979px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 10px 24px 20px;
  }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .site-nav a { padding: 13px 12px; font-size: 1.05rem; }
  .site-nav a[aria-current="page"] { box-shadow: inset 3px 0 0 var(--sky); border-radius: 7px; }
  .site-nav .nav-cta { margin: 10px 0 0; }
  .site-nav .nav-cta a { text-align: center; }
}

/* ----------------------------------------------------------------- hero -- */
.hero {
  position: relative;
  color: #fff;
  background: var(--brand-deep);
  isolation: isolate;
  overflow: hidden;
}
.hero__media {
  position: absolute; inset: 0; z-index: -2;
}
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 60%; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(100deg, rgba(0,42,56,.93) 0%, rgba(0,58,76,.86) 45%, rgba(0,74,99,.55) 100%);
}
.hero .wrap { padding-top: clamp(64px, 10vw, 118px); padding-bottom: clamp(64px, 10vw, 118px); }
.hero__inner { max-width: 720px; }
.hero h1 { color: #fff; margin-bottom: .45em; text-wrap: balance; }
.hero p { color: rgba(255,255,255,.9); font-size: clamp(1.1rem, 1rem + .45vw, 1.3rem); max-width: 34em; }
.hero .btn-row { margin-top: 2rem; }

/* Interior page banner */
.page-hero {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 62%, #0a6d8c 100%);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: ""; position: absolute; right: -120px; top: -140px;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(114,196,214,.28) 0%, rgba(114,196,214,0) 68%);
  pointer-events: none;
}
.page-hero .wrap { padding-top: clamp(48px, 6.5vw, 80px); padding-bottom: clamp(48px, 6.5vw, 80px); position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .35em; text-wrap: balance; }
.page-hero p { color: rgba(255,255,255,.9); font-size: clamp(1.05rem, 1rem + .4vw, 1.25rem); max-width: 40em; }

/* ---------------------------------------------------------------- cards -- */
.grid { display: grid; gap: var(--gap); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }

.card {
  display: flex; flex-direction: column;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--sky-line); }
.card__media { aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
a.card:hover .card__media img { transform: scale(1.04); }
.card__body { padding: 26px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .45em; }
.card__body p { color: var(--body); font-size: .98rem; }
.card__more {
  margin-top: auto; padding-top: 1.1rem;
  font-weight: 600; font-size: .95rem; color: var(--brand);
  display: inline-flex; align-items: center; gap: .4rem;
}
a.card:hover .card__more { color: var(--brand-dark); }
.card__more .arrow { transition: transform .2s ease; }
a.card:hover .card__more .arrow { transform: translateX(3px); }

/* ---------------------------------------------------------- value rows -- */
.stack { display: grid; gap: clamp(28px, 4vw, 44px); }
.pillar {
  background: #fff;
  border: 1px solid var(--line);
  border-left: 4px solid var(--sky);
  border-radius: var(--radius);
  padding: clamp(24px, 3vw, 34px);
  box-shadow: var(--shadow-sm);
}
.pillar h3 { margin-bottom: .5em; }

/* Alternating image + text rows (Coverage) */
.feature {
  display: grid;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.feature + .feature { margin-top: clamp(48px, 7vw, 88px); }
.feature__media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3 / 2;
  background: var(--sand);
}
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__body h2 { margin-bottom: .5em; }
.feature__tags {
  list-style: none; margin: 1.4rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 8px;
}
.feature__tags li {
  font-size: .82rem; font-weight: 600; letter-spacing: .02em;
  color: var(--brand-dark); background: var(--sky-soft);
  border: 1px solid var(--sky-line);
  padding: 6px 12px; border-radius: 999px;
}
@media (max-width: 767px) {
  .feature { grid-template-columns: 1fr; }
  .feature:nth-child(even) .feature__media { order: 0; }
}

/* ----------------------------------------------------------------- team -- */
.team-grid {
  display: grid; gap: clamp(24px, 3vw, 36px);
  grid-template-columns: repeat(auto-fit, minmax(258px, 1fr));
  align-items: start;
}
.member {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); display: flex; flex-direction: column;
}
.member__photo { aspect-ratio: 3 / 4; background: var(--sand); }
.member__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 22%; }
.member__body { padding: 22px 24px 26px; }
.member__body h3 { margin-bottom: .12em; }
.member__role {
  font-size: .8rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 .9rem;
}
.member__body p { font-size: .95rem; }

/* --------------------------------------------------------- testimonials -- */
.pullquote {
  max-width: 860px; margin: 0 auto; text-align: center;
}
.pullquote blockquote {
  margin: 0 0 1.6rem;
  font-family: var(--font-serif);
  font-size: clamp(1.28rem, 1.05rem + 1vw, 1.85rem);
  line-height: 1.45;
  color: var(--ink);
  text-wrap: pretty;
}
.pullquote .mark {
  font-family: var(--font-serif); font-size: 4rem; line-height: .6; color: var(--sky);
  display: block; margin-bottom: .35rem;
}
.pullquote cite {
  font-style: normal; font-size: .97rem; color: var(--muted); display: block;
}
.pullquote cite strong { color: var(--ink); font-weight: 600; display: block; font-size: 1.02rem; }
/* .pullquote centres its own text, so centre any button row inside it too --
   without this the button sits left while everything above it is centred. */
.pullquote .btn-row { justify-content: center; }

.testimonial {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: clamp(22px, 3vw, 44px);
  align-items: start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px);
  box-shadow: var(--shadow-sm);
}
.testimonial + .testimonial { margin-top: clamp(22px, 3vw, 32px); }
.testimonial__logo {
  display: flex; align-items: center; justify-content: center;
  min-height: 110px; padding: 8px;
  background: #fff; border-radius: var(--radius);
}
.testimonial__logo img { max-height: 108px; width: auto; object-fit: contain; }
.testimonial__org { margin: 0 0 .15em; font-size: clamp(1.15rem, 1.05rem + .5vw, 1.4rem); }
.testimonial__who {
  font-size: .9rem; font-weight: 600; letter-spacing: .04em; text-transform: uppercase;
  color: var(--brand); margin: 0 0 1.1rem;
}
.testimonial__quote { border-left: 3px solid var(--sky-line); padding-left: clamp(16px, 2vw, 24px); }
.testimonial__quote p { color: var(--body); }
@media (max-width: 719px) {
  .testimonial { grid-template-columns: 1fr; }
  .testimonial__logo { justify-content: flex-start; min-height: 0; padding: 0 0 4px; }
  .testimonial__logo img { max-height: 84px; }
  .testimonial__quote { border-left: 0; padding-left: 0; }
}

/* ---------------------------------------------------------------- forms -- */
.form-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: clamp(14px, 2.4vw, 26px);
}
.form-panel iframe { display: block; width: 100%; border: 0; }

.alert {
  border-radius: var(--radius);
  padding: clamp(20px, 2.6vw, 26px) clamp(20px, 2.8vw, 30px);
  background: #fff8ec;
  border: 1px solid #f0dcb6;
  border-left: 5px solid #d9962a;
}
.alert h3 { font-family: var(--font-sans); font-size: 1.05rem; font-weight: 700; color: #7a4f08; margin-bottom: .4em; }
.alert p { color: #6a4f21; margin-bottom: 0; font-size: .98rem; }
.alert p + p { margin-top: .6em; }
.alert a { color: #7a4f08; font-weight: 700; }

/* Contact detail list */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 18px; }
.contact-list li { display: flex; gap: 14px; align-items: flex-start; }
.contact-list .ico {
  flex: none; width: 40px; height: 40px; border-radius: 50%;
  background: var(--sky-soft); color: var(--brand);
  display: grid; place-items: center;
}
.contact-list .ico svg { width: 19px; height: 19px; fill: currentColor; }
.contact-list dt, .contact-list .label {
  font-size: .76rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--muted); margin-bottom: 1px;
}
.contact-list .value { font-size: 1.06rem; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.contact-list li > span:last-child { min-width: 0; }
.contact-list .value a { text-decoration: none; }
.contact-list .value a:hover { text-decoration: underline; }

/* Claims call-out box */
.claims-box {
  background: var(--brand-deep); color: #fff;
  border-radius: var(--radius-lg); padding: clamp(26px, 3.4vw, 38px);
}
.claims-box h2, .claims-box h3 { color: #fff; }
.claims-box p { color: rgba(255,255,255,.86); }
.claims-box .contact-list .ico { background: rgba(255,255,255,.12); color: var(--sky); }
.claims-box .contact-list .label { color: var(--sky); }
.claims-box .contact-list .value { color: #fff; }
.claims-box .contact-list .value a { color: #fff; }

/* ------------------------------------------------------------- process -- */
.steps { list-style: none; counter-reset: step; margin: 0; padding: 0; display: grid; gap: clamp(20px, 2.6vw, 28px); }
.steps li {
  counter-increment: step;
  position: relative;
  padding-left: 68px;
}
.steps li::before {
  content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--sky-soft); border: 1px solid var(--sky-line);
  color: var(--brand-dark);
  font-family: var(--font-sans); font-weight: 700; font-size: 1.05rem;
  display: grid; place-items: center;
}
.steps h3 { font-family: var(--font-sans); font-size: 1.1rem; font-weight: 700; margin-bottom: .3em; color: var(--ink); }
.steps p { font-size: .98rem; margin-bottom: 0; }
@media (max-width: 520px) {
  .steps li { padding-left: 0; padding-top: 58px; }
}

/* ------------------------------------------------------------ CTA band -- */
.cta-band {
  background: linear-gradient(120deg, var(--brand-deep) 0%, var(--brand) 100%);
  color: #fff;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,.88); font-size: clamp(1.05rem, 1rem + .4vw, 1.2rem); }
.cta-band .wrap { padding-top: clamp(52px, 7vw, 84px); padding-bottom: clamp(52px, 7vw, 84px); }

/* --------------------------------------------------------------- footer -- */
.site-footer {
  background: var(--brand-deep);
  color: rgba(255,255,255,.74);
  font-size: .95rem;
  padding: clamp(48px, 6vw, 72px) 0 0;
}
.site-footer a { color: rgba(255,255,255,.86); text-decoration: none; }
.site-footer a:hover { color: var(--sky); text-decoration: underline; }
.footer-grid {
  display: grid; gap: clamp(30px, 4vw, 48px);
  grid-template-columns: minmax(0, 1.4fr) repeat(auto-fit, minmax(160px, 1fr));
}
.footer-grid > * { min-width: 0; }
.site-footer h2 {
  font-family: var(--font-sans); font-size: .8rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--sky);
  margin-bottom: 1.1rem;
}
.footer-logo img { width: 210px; margin-bottom: 1.1rem; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.footer-links li, .footer-links a { overflow-wrap: anywhere; }
.footer-social { display: inline-flex; align-items: center; gap: .55rem; margin-top: 1.1rem; font-weight: 600; }
.footer-social svg { width: 22px; height: 22px; fill: currentColor; }
.footer-bottom {
  margin-top: clamp(36px, 5vw, 56px);
  border-top: 1px solid rgba(255,255,255,.14);
  padding: 22px 0 28px;
  display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between;
  font-size: .875rem; color: rgba(255,255,255,.6);
}
.footer-bottom a { color: rgba(255,255,255,.72); }

/* --------------------------------------------------------------- prose -- */
.prose h2 { margin-top: 2.2em; }
.prose h2:first-child { margin-top: 0; }
.prose ul { padding-left: 1.3em; }
.prose li { margin-bottom: .5em; }

/* ---------------------------------------------------------- unlisted -- */
.private-note {
  background: var(--sky-soft);
  border: 1px solid var(--sky-line);
  border-radius: var(--radius);
  padding: 16px 20px;
  font-size: .93rem;
  color: var(--brand-dark);
}

/* --------------------------------------------------------------- print -- */
@media print {
  .topbar, .site-header, .cta-band, .site-footer, .nav-toggle { display: none !important; }
  body { font-size: 12pt; color: #000; }
  .page-hero { background: none !important; color: #000; }
  .page-hero h1, .page-hero p { color: #000; }
  a[href^="http"]::after { content: " (" attr(href) ")"; font-size: .85em; }
}
