/* ==========================================================================
   Coastal Clarity Assurance - v2 rebuild layer
   Loaded after assets/styles.css. Namespaced .cca2 so the existing live
   templates are completely unaffected.
   Visual direction per website brief section 4: deep navy, muted gold,
   warm off-white, editorial serif headings, clean sans body, generous
   white space, thin gold rules, minimal animation.
   ========================================================================== */

.cca2 {
  --c-navy:      #16294B;
  --c-navy-deep: #0E1C36;
  --c-navy-soft: #28405F;
  --c-gold:      #B0824A;
  --c-gold-soft: #E7D6B8;
  --c-paper:     #FCFAF6;
  --c-sand:      #F5EFE4;
  --c-line:      #E6DCCB;
  --c-text:      #1B2740;
  --c-muted:     #586273;
  --c-on-dark:   #EAEFF7;
  --c-on-dark-m: #A9B6CC;
  --c-green:    #16294B;

  --c-shell:     1160px;
  --c-article:   740px;
  --c-gap:       92px;

  --f-serif: 'Playfair Display', 'Iowan Old Style', Georgia, 'Times New Roman', serif;
  --f-sans:  'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  background: var(--c-paper);
  color: var(--c-text);
  font-family: var(--f-sans);
  font-size: 17.5px;
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  margin: 0;
}

.cca2 *, .cca2 *::before, .cca2 *::after { box-sizing: border-box; }

.cca2 h1, .cca2 h2, .cca2 h3, .cca2 h4 {
  font-family: var(--f-serif);
  color: var(--c-navy);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  margin: 0 0 .5em;
}
.cca2 h1 { font-size: clamp(2.1rem, 4.4vw, 3.15rem); }
.cca2 h2 { font-size: clamp(1.6rem, 2.9vw, 2.15rem); }
.cca2 h3 { font-size: 1.2rem; }
.cca2 h4 { font-size: 1.02rem; font-family: var(--f-sans); font-weight: 600; }
.cca2 p  { margin: 0 0 1.15em; }
.cca2 a  { color: var(--c-navy); text-decoration-color: var(--c-gold); text-underline-offset: 3px; }
.cca2 a:hover { color: var(--c-gold); }
.cca2 strong { font-weight: 600; color: var(--c-navy); }

.cca2-skip { position: absolute; left: -9999px; top: 0; background: var(--c-navy); color: #fff; padding: .7rem 1.1rem; z-index: 999; }
.cca2-skip:focus { left: 0; }

.cca2-shell { width: 100%; max-width: var(--c-shell); margin: 0 auto; padding: 0 28px; }
.cca2-article { max-width: var(--c-article); }
.cca2-eyebrow { font-family: var(--f-sans); font-size: .74rem; font-weight: 600; letter-spacing: .17em; text-transform: uppercase; color: var(--c-gold); margin: 0 0 .9rem; }
.cca2-lede { font-size: 1.14rem; color: var(--c-navy-soft); }

.cca2-btn { display: inline-block; font-family: var(--f-sans); font-weight: 600; font-size: .95rem; padding: .82rem 1.5rem; border-radius: 8px; text-decoration: none; border: 1px solid transparent; transition: background .18s ease, color .18s ease, border-color .18s ease; }
.cca2-btn-primary { background: var(--c-gold); color: #fff !important; }
.cca2-btn-primary:hover { background: #966d3a; }
.cca2-btn-ghost { border-color: var(--c-line); color: var(--c-navy) !important; background: #fff; }
.cca2-btn-ghost:hover { border-color: var(--c-gold); }
.cca2-btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.cca2-textlink { font-weight: 600; font-size: .96rem; }

.cca2-header { background: #fff; border-bottom: 1px solid var(--c-line); position: sticky; top: 0; z-index: 60; }
.cca2-header-inner { display: flex; align-items: center; gap: 26px; min-height: 78px; }
.cca2-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; flex: 0 0 auto; }
.cca2-brand img { display: block; width: 44px; height: 44px; object-fit: contain; }
.cca2-brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.cca2-brand-name { font-family: var(--f-serif); font-size: 1.06rem; font-weight: 600; color: var(--c-navy); }
.cca2-brand-legal { font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; color: var(--c-muted); }
.cca2-nav { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.cca2-nav ul { display: flex; align-items: center; gap: 22px; list-style: none; margin: 0; padding: 0; }
.cca2-nav a { font-size: .9rem; font-weight: 500; color: var(--c-navy-soft); text-decoration: none; padding: .35rem 0; border-bottom: 2px solid transparent; }
.cca2-nav a:hover { color: var(--c-gold); }
.cca2-nav li.is-current a { color: var(--c-navy); border-bottom-color: var(--c-gold); }
.cca2-nav-actions { display: flex; align-items: center; gap: 16px; }
.cca2-phone { font-size: .9rem; font-weight: 600; color: var(--c-navy); text-decoration: none; white-space: nowrap; }
.cca2-navtoggle { display: none; margin-left: auto; background: none; border: 1px solid var(--c-line); border-radius: 7px; width: 44px; height: 40px; cursor: pointer; }
.cca2-navtoggle-bars { display: block; width: 18px; height: 2px; background: var(--c-navy); margin: 0 auto; position: relative; }
.cca2-navtoggle-bars::before, .cca2-navtoggle-bars::after { content: ''; display: block; width: 18px; height: 2px; background: var(--c-navy); position: absolute; }
.cca2-navtoggle-bars::before { top: -6px; }
.cca2-navtoggle-bars::after  { top: 6px; }

.cca2-section { padding: var(--c-gap) 0; }
.cca2-section-tight { padding: 62px 0; }
.cca2-section-sand { background: var(--c-sand); }
.cca2-section-paper { background: var(--c-paper); }
.cca2-section-navy { background: var(--c-navy); color: var(--c-on-dark); }
.cca2-section-navy h2, .cca2-section-navy h3 { color: #fff; }
.cca2-section-navy p { color: var(--c-on-dark-m); }
.cca2-section-head { max-width: var(--c-article); margin-bottom: 46px; }
.cca2-rule { width: 62px; height: 2px; background: var(--c-gold); border: 0; margin: 0 0 26px; }

.cca2-hero { background: #fff; border-bottom: 1px solid var(--c-line); padding: 84px 0 72px; }
.cca2-hero h1 { max-width: 16ch; }
.cca2-hero-sub { font-size: 1.2rem; color: var(--c-navy-soft); max-width: 56ch; margin-bottom: 2rem; }
.cca2-hero-actions { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-bottom: 2.4rem; }
.cca2-hero-cred { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 1.6rem; border-top: 1px solid var(--c-line); }
.cca2-hero-cred span { font-size: .84rem; color: var(--c-muted); display: flex; align-items: center; gap: 8px; }
.cca2-hero-cred span::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--c-gold); flex: 0 0 auto; }

.cca2-table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; margin: 0 0 1.4rem; }
.cca2-table { width: 100%; border-collapse: collapse; background: #fff; font-size: .96rem; }
.cca2-table caption { text-align: left; font-size: .84rem; color: var(--c-muted); padding-bottom: .7rem; }
.cca2-table th, .cca2-table td { padding: .92rem 1.1rem; text-align: left; border-bottom: 1px solid var(--c-line); vertical-align: top; }
.cca2-table thead th { background: var(--c-navy); color: #fff; font-size: .78rem; letter-spacing: .09em; text-transform: uppercase; font-weight: 600; border-bottom: 0; }
.cca2-table tbody tr:nth-child(even) { background: #FBF8F3; }
.cca2-table tbody tr:last-child td { border-bottom: 0; }
.cca2-table td strong { color: var(--c-navy); }
.cca2-table .cca2-yes { color: var(--c-navy); font-weight: 600; }
.cca2-table .cca2-no  { color: var(--c-muted); }
.cca2-table-note { font-size: .86rem; color: var(--c-muted); margin-top: -.4rem; }

.cca2-grid { display: grid; gap: 26px; }
.cca2-grid-2 { grid-template-columns: repeat(2, 1fr); }
.cca2-grid-3 { grid-template-columns: repeat(3, 1fr); }
/* added 2026-08-10: single-card grid, after the two claim cards were removed from Services */
.cca2-grid-1{grid-template-columns:1fr;}
.cca2-card { background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 30px 28px; }
.cca2-card h3 { margin-bottom: .5rem; }
.cca2-card p:last-child { margin-bottom: 0; }
.cca2-card-gold { border-top: 3px solid var(--c-gold); }

.cca2-steps { list-style: none; margin: 0; padding: 0; counter-reset: cca2step; }
.cca2-steps li { position: relative; padding: 0 0 30px 62px; counter-increment: cca2step; }
.cca2-steps li::before { content: counter(cca2step); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--c-navy); color: #fff; font-family: var(--f-sans); font-size: .9rem; font-weight: 600; display: flex; align-items: center; justify-content: center; }
.cca2-steps li::after { content: ''; position: absolute; left: 19px; top: 44px; bottom: 6px; width: 1px; background: var(--c-line); }
.cca2-steps li:last-child { padding-bottom: 0; }
.cca2-steps li:last-child::after { display: none; }
.cca2-steps h3 { margin-bottom: .3rem; }
.cca2-steps .cca2-when { display: block; font-family: var(--f-sans); font-size: .74rem; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--c-gold); margin-bottom: .25rem; }
.cca2-steps p { margin-bottom: 0; color: var(--c-muted); }

.cca2-callout { background: #fff; border-left: 3px solid var(--c-gold); padding: 22px 26px; margin: 0 0 1.6rem; border-radius: 0 8px 8px 0; }
.cca2-callout p:last-child { margin-bottom: 0; }
.cca2-callout-navy { background: var(--c-navy); color: var(--c-on-dark); }
.cca2-callout-navy p { color: var(--c-on-dark-m); }
.cca2-callout-navy strong { color: #fff; }
.cca2-note { font-size: .88rem; color: var(--c-muted); }

.cca2-check { list-style: none; margin: 0 0 1.5rem; padding: 0; }
.cca2-check li { position: relative; padding: 0 0 .68rem 28px; font-size: .98rem; }
.cca2-check li::before { content: ''; position: absolute; left: 0; top: .58em; width: 8px; height: 8px; border: 1.5px solid var(--c-gold); border-radius: 2px; }
.cca2-check-cols { columns: 2; column-gap: 44px; }
.cca2-check-cols li { break-inside: avoid; }

.cca2-delay { border-top: 1px solid var(--c-line); padding: 26px 0; display: grid; grid-template-columns: 46px 1fr; gap: 20px; }
.cca2-delay-num { font-family: var(--f-serif); font-size: 1.7rem; color: var(--c-gold-soft); line-height: 1; }
.cca2-delay h3 { margin-bottom: .35rem; }
.cca2-delay p { margin-bottom: .6rem; color: var(--c-muted); }
.cca2-delay-fix { font-size: .93rem; color: var(--c-navy); }
.cca2-delay-fix span { font-family: var(--f-sans); font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase; color: var(--c-gold); margin-right: .6rem; }

.cca2-faq { border-top: 1px solid var(--c-line); }
.cca2-faq details { border-bottom: 1px solid var(--c-line); }
.cca2-faq summary { cursor: pointer; list-style: none; padding: 1.15rem 2.4rem 1.15rem 0; font-family: var(--f-serif); font-size: 1.09rem; font-weight: 600; color: var(--c-navy); position: relative; }
.cca2-faq summary::-webkit-details-marker { display: none; }
.cca2-faq summary::after { content: '+'; position: absolute; right: .3rem; top: 1rem; font-family: var(--f-sans); font-size: 1.35rem; font-weight: 400; color: var(--c-gold); }
.cca2-faq details[open] summary::after { content: '-'; }
.cca2-faq .cca2-faq-body { padding: 0 2.4rem 1.4rem 0; color: var(--c-muted); }
.cca2-faq .cca2-faq-body p:last-child { margin-bottom: 0; }

.cca2-snapshot { display: grid; grid-template-columns: 1.05fr .95fr; gap: 54px; align-items: center; }
.cca2-snapshot-figure { margin: 0; }
.cca2-snapshot-figure img { display: block; width: 100%; height: auto; border: 1px solid var(--c-line); border-radius: 10px; box-shadow: 0 24px 60px rgba(14,28,54,.14); }
.cca2-snapshot-figure figcaption { font-size: .82rem; color: var(--c-muted); margin-top: .8rem; }
.cca2-sample-tag { display: inline-block; font-size: .7rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--c-gold); padding: .3rem .7rem; border-radius: 4px; margin-bottom: 1rem; }
.cca2-pending { border: 1px dashed var(--c-gold); border-radius: 8px; padding: 16px 18px; font-size: .88rem; color: var(--c-muted); background: #FFFDF8; }
.cca2-pending strong { display: block; margin-bottom: .3rem; }

.cca2-guide { display: grid; grid-template-columns: 200px 1fr; gap: 40px; align-items: center; }
.cca2-guide-cover img { display: block; width: 100%; height: auto; border: 1px solid var(--c-line); box-shadow: 0 18px 44px rgba(14,28,54,.13); }

.cca2-closing { background: var(--c-navy); color: var(--c-on-dark); padding: 84px 0; text-align: center; }
.cca2-closing-inner { max-width: 760px; }
.cca2-closing-title { color: #fff; }
.cca2-closing-copy { color: var(--c-on-dark-m); font-size: 1.06rem; }
.cca2-closing-actions { margin: 1.9rem 0 1rem; }
.cca2-closing-phone { font-size: .95rem; color: var(--c-on-dark-m); margin: 0; }
.cca2-closing-phone a { color: #fff; font-weight: 600; }

.cca2-footer { background: var(--c-navy-deep); color: var(--c-on-dark-m); padding: 66px 0 30px; font-size: .92rem; }
.cca2-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.25fr; gap: 44px; }
.cca2-footer h3 { color: #fff; font-family: var(--f-sans); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.1rem; }
.cca2-footer ul { list-style: none; margin: 0; padding: 0; }
.cca2-footer li { margin-bottom: .58rem; }
.cca2-footer a { color: var(--c-on-dark-m); text-decoration: none; }
.cca2-footer a:hover { color: var(--c-gold-soft); }
.cca2-footer-brand img { width: 52px; height: 52px; object-fit: contain; margin-bottom: 1rem; }
.cca2-footer-brand img.cca2-footer-mark { width: 72px; height: 72px; margin: -8px 0 .7rem -8px; }
.cca2-footer-name { color: #fff; font-family: var(--f-serif); font-size: 1.05rem; margin-bottom: .7rem; line-height: 1.35; }
.cca2-footer-name span { display: block; font-family: var(--f-sans); font-size: .74rem; letter-spacing: .09em; text-transform: uppercase; color: var(--c-on-dark-m); margin-top: .25rem; }
.cca2-footer-blurb { font-size: .88rem; max-width: 34ch; }
.cca2-footer-contact address { font-style: normal; line-height: 1.75; }
.cca2-footer-legal { display: block; color: #fff; margin-bottom: .45rem; }
.cca2-footer-contact a { color: #fff; font-weight: 600; }
.cca2-footer-hours, .cca2-footer-serving { font-size: .86rem; margin: .8rem 0 0; }
.cca2-footer-badges { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; padding-top: 40px; margin-top: 44px; border-top: 1px solid rgba(255,255,255,.12); }
.cca2-footer-badges img { height: 42px; width: auto; background: transparent; filter: brightness(0) invert(1); opacity: .72; transition: filter .35s ease, opacity .35s ease; }
.cca2-footer-badges img:hover { filter: none; opacity: 1; }
.cca2-footer-legalbar { padding-top: 26px; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.12); }
.cca2-footer-legalbar p { font-size: .8rem; margin-bottom: .6rem; }
.cca2-footer-disclaimer { color: #8797B0; max-width: 88ch; }

.cca2-reviewbar { background: #7A2E1F; color: #fff; font-size: .84rem; padding: .7rem 0; }
.cca2-reviewbar a, .cca2-reviewbar strong { color: #fff; }

@media (max-width: 1080px) {
  .cca2-footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .cca2-snapshot { grid-template-columns: 1fr; gap: 34px; }
}
@media (max-width: 900px) {
  .cca2 { font-size: 17px; --c-gap: 64px; }
  .cca2-navtoggle { display: block; }
  .cca2-header-inner { position: relative; }
  .cca2-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 28px 22px; display: none; }
  .cca2-nav.is-open { display: flex; }
  .cca2-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .cca2-nav li { border-bottom: 1px solid var(--c-line); }
  .cca2-nav a { display: block; padding: .85rem 0; }
  .cca2-nav-actions { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 16px; }
  .cca2-nav-actions .cca2-btn { text-align: center; }
  .cca2-grid-2, .cca2-grid-3 { grid-template-columns: 1fr; }
  .cca2-guide { grid-template-columns: 1fr; gap: 26px; }
  .cca2-guide-cover { max-width: 190px; }
  .cca2-check-cols { columns: 1; }
}
@media (max-width: 620px) {
  .cca2-shell { padding: 0 20px; }
  .cca2-footer-grid { grid-template-columns: 1fr; }
  .cca2-hero { padding: 56px 0 48px; }
}
@media (prefers-reduced-motion: reduce) {
  .cca2 *, .cca2 *::before, .cca2 *::after { transition: none !important; animation: none !important; }
}
@media print {
  .cca2-header, .cca2-closing, .cca2-navtoggle, .cca2-reviewbar { display: none; }
}


/* --- nav fit: long labels must not wrap; switch to the drawer earlier --- */
.cca2-nav a, .cca2-phone, .cca2-nav-actions .cca2-btn { white-space: nowrap; }
.cca2-nav { gap: 20px; }
.cca2-nav ul { gap: 17px; }
.cca2-nav a { font-size: .855rem; }
.cca2-nav-actions { gap: 14px; }
.cca2-nav-actions .cca2-btn { padding: .7rem 1.15rem; font-size: .875rem; }
.cca2-header-inner { position: relative; }
@media (max-width: 1240px) {
  .cca2-navtoggle { display: block; }
  .cca2-nav { position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--c-line); flex-direction: column; align-items: stretch; gap: 0; padding: 12px 0 22px; display: none; box-shadow: 0 18px 40px rgba(14,28,54,.10); }
  .cca2-nav.is-open { display: flex; }
  .cca2-nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .cca2-nav li { border-bottom: 1px solid var(--c-line); }
  .cca2-nav a { display: block; padding: .85rem 0; font-size: .95rem; white-space: normal; }
  .cca2-nav-actions { flex-direction: column; align-items: stretch; gap: 12px; padding-top: 16px; }
  .cca2-nav-actions .cca2-btn { text-align: center; }
}


/* --- hero background imagery (reusing the existing theme photography) --- */
.cca2-hero.has-bg {
  position: relative;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-bottom: 0;
  padding: 104px 0 92px;
}
.cca2-hero.has-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(100deg, rgba(14,28,54,.94) 0%, rgba(14,28,54,.86) 44%, rgba(22,41,75,.58) 100%);
}
.cca2-hero.has-bg > .cca2-shell { position: relative; z-index: 1; }
.cca2-hero.has-bg h1 { color: #fff; }
.cca2-hero.has-bg .cca2-eyebrow { color: var(--c-gold-soft); }
.cca2-hero.has-bg .cca2-hero-sub { color: #D9E2F0; }
.cca2-hero.has-bg .cca2-hero-cred { border-top-color: rgba(255,255,255,.22); }
.cca2-hero.has-bg .cca2-hero-cred span { color: #B9C6DB; }
.cca2-hero.has-bg .cca2-textlink { color: #fff; text-decoration-color: var(--c-gold); }
.cca2-hero.has-bg .cca2-textlink:hover { color: var(--c-gold-soft); }
.cca2-hero.has-bg .cca2-btn-ghost { background: transparent; border-color: rgba(255,255,255,.45); color: #fff !important; }
.cca2-hero.has-bg .cca2-btn-ghost:hover { border-color: var(--c-gold); }
@media (max-width: 620px) {
  .cca2-hero.has-bg { padding: 64px 0 56px; }
}


/* --- embedded intake form --- */
.cca2-formwrap { max-width: 860px; margin: 0 auto; background: #fff; border: 1px solid var(--c-line); border-radius: 12px; padding: 14px; box-shadow: 0 10px 30px rgba(14,28,54,.06); }
.cca2-formwrap iframe { display: block; width: 100% !important; min-width: 100% !important; border: 0; min-height: 1600px; height: auto; }
@media (max-width: 620px) { .cca2-formwrap iframe { min-height: 2000px; } }
@media (max-width: 620px) { .cca2-formwrap { padding: 6px; } }
