/*
Theme Name: Chesapeake Mortgage Life
Theme URI: https://chesapeakempl.com/
Author: Chesapeake Mortgage Life
Description: Reference-inspired mortgage-protection life insurance marketing theme.
Version: 1.0.0
Text Domain: chesapeake-mortgage-life

 * Coastal Assurance Editorial: heritage maritime confidence expressed through Harbor Navy,
 * paper white, mist blue, tailored rules, and deliberate open space. Does this reinforce calm guidance?
 */
@import url('https://fonts.googleapis.com/css2?family=DM+Serif+Display:ital@0;1&family=Manrope:wght@400;500;600;700;800&display=swap');

:root { --background: #fff; --foreground: #10294e; --border: #dce3ed; --ring: #78a6de; }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: #fff; color: var(--foreground); font-family: "Manrope", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }

.site-shell { overflow: hidden; background: #fff; }
.site-container { width: min(100% - 40px, 1180px); margin: 0 auto; }
.utility-header { background: #082b61; color: #fff; position: relative; z-index: 5; }
.utility-header__inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 11px; min-width: 0; transition: opacity .18s ease-out; }
.brand-lockup:hover { opacity: .84; }
.brand-lockup__mark { width: 48px; height: 48px; object-fit: contain; filter: brightness(0) invert(1); }
.brand-lockup__type { display: grid; color: #fff; line-height: .9; }
.brand-lockup__type strong { font-family: "DM Serif Display", Georgia, serif; font-size: clamp(1.5rem, 2.3vw, 2rem); font-weight: 400; letter-spacing: -.03em; }
.brand-lockup__type em { margin-top: 7px; color: #a2c5f1; font-size: .57rem; font-style: normal; font-weight: 800; letter-spacing: .29em; text-transform: uppercase; }
.header-phone { display: inline-flex; align-items: center; gap: 10px; border: 1px solid rgba(255,255,255,.62); padding: 8px 13px; font-weight: 800; transition: background .18s ease-out, transform .18s ease-out; }
.header-phone:hover { background: #fff; color: #082b61; transform: translateY(-1px); }
.header-phone span { display: grid; gap: 1px; line-height: 1.15; font-size: .88rem; }
.header-phone small { color: currentColor; font-size: .57rem; font-weight: 700; letter-spacing: .07em; opacity: .78; text-transform: uppercase; }

.hero-section { background: #fff; padding: 72px 0 0; position: relative; }
.hero-section__layout { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(42px, 7vw, 92px); padding-bottom: 74px; }
.hero-copy { max-width: 580px; }
.section-eyebrow { margin: 0 0 18px; color: #466f9d; display: flex; align-items: center; gap: 8px; font-size: .66rem; font-weight: 800; letter-spacing: .17em; line-height: 1.2; text-transform: uppercase; }
.section-eyebrow span { width: 26px; height: 1px; background: currentColor; display: inline-block; }
.hero-copy h1, h2 { color: #082b61; font-family: "DM Serif Display", Georgia, serif; font-weight: 400; letter-spacing: -.041em; }
.hero-copy h1 { margin: 0; font-size: clamp(3rem, 5.2vw, 5.1rem); line-height: .98; max-width: 650px; }
.hero-copy h1 i, h2 i { font-style: italic; font-weight: 400; }
.hero-copy__lede { max-width: 555px; margin: 27px 0 30px; color: #4f5f73; font-size: 1rem; line-height: 1.8; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 11px; }
.button { border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 49px; padding: 12px 19px; font-size: .78rem; font-weight: 800; letter-spacing: .01em; text-align: center; transition: transform .18s cubic-bezier(.23,1,.32,1), background .18s ease-out, color .18s ease-out, border .18s ease-out; }
.button:hover { transform: translateY(-2px); }
.button:active { transform: scale(.97); }
.button--primary { background: #082b61; color: #fff; box-shadow: 0 10px 22px rgba(8,43,97,.14); }
.button--primary:hover { background: #104884; }
.button--secondary { border-color: #9caabc; color: #082b61; }
.button--secondary:hover { border-color: #082b61; background: #eff5fb; }
.button--light { background: #fff; color: #082b61; box-shadow: 0 10px 24px rgba(0,20,55,.2); }
.button--light:hover { background: #dfeeff; }
.hero-copy__note { color: #5c6f85; display: flex; align-items: center; gap: 7px; margin: 21px 0 0; font-size: .72rem; font-weight: 600; }
.hero-copy__note svg { color: #4d84c1; }
.hero-visual { min-height: 445px; overflow: hidden; position: relative; box-shadow: 24px 28px 0 #e8eff6; }
.hero-visual::after { background: linear-gradient(180deg, rgba(5,26,58,0) 42%, rgba(5,26,58,.82)); content: ""; inset: 0; position: absolute; }
.hero-visual img, .protection-visual img, .guidance-image img, .quote-page__intro > img { display: block; height: 100%; object-fit: cover; width: 100%; }
.hero-visual__caption { bottom: 25px; color: #fff; display: grid; gap: 4px; left: 27px; max-width: 250px; position: absolute; z-index: 1; }
.hero-visual__caption span { font-size: .58rem; font-weight: 800; letter-spacing: .14em; opacity: .75; text-transform: uppercase; }
.hero-visual__caption b { font-family: "DM Serif Display", Georgia, serif; font-size: 1.35rem; font-weight: 400; line-height: 1.1; }
.hero-visual__beam { border-left: 1px solid rgba(255,255,255,.78); border-top: 1px solid rgba(255,255,255,.78); height: 56px; position: absolute; right: -1px; top: 22px; transform: skewY(-31deg); width: 135px; z-index: 1; }
.hero-section__rule { background: #edf2f7; height: 1px; }
.hero-section__rule span { background: #6c9bd1; display: block; height: 1px; margin-left: calc((100% - min(100% - 40px, 1180px)) / 2); width: min(20%, 230px); }

.reasons-section { background: #f0f4f8; padding: 94px 0 100px; }
.section-heading { max-width: 770px; }
.section-heading--center { margin: 0 auto; text-align: center; }
.section-heading--center .section-eyebrow { justify-content: center; }
.section-heading h2, .process-section h2, .protection-copy h2, .guidance-copy h2, .quote-invitation h2 { font-size: clamp(2.35rem, 4vw, 3.7rem); line-height: 1.04; margin: 0; }
.reason-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, 1fr); margin-top: 47px; }
.reason-card { background: #fff; border-top: 3px solid #082b61; box-shadow: 0 16px 32px rgba(26,57,92,.06); min-height: 250px; padding: 31px 29px; transition: transform .24s cubic-bezier(.23,1,.32,1), box-shadow .24s ease-out; }
.reason-card:hover { box-shadow: 0 22px 38px rgba(26,57,92,.13); transform: translateY(-5px); }
.reason-card__icon { align-items: center; background: #eaf2fa; color: #2767a4; display: flex; height: 46px; justify-content: center; width: 46px; }
.reason-card h3 { color: #082b61; font-family: "DM Serif Display", Georgia, serif; font-size: 1.5rem; font-weight: 400; letter-spacing: -.025em; line-height: 1.08; margin: 20px 0 11px; }
.reason-card p, .process-section__intro > p, .protection-copy > p, .guidance-copy > p { color: #526276; font-size: .85rem; line-height: 1.75; margin: 0; }

.process-section { background: #fff; padding: 112px 0; }
.process-section__layout { display: grid; grid-template-columns: .73fr 1.27fr; gap: clamp(48px, 9vw, 132px); }
.process-section__intro { max-width: 370px; }
.process-section h2 { font-size: clamp(2.45rem, 4.3vw, 4rem); }
.process-section__intro > p { margin: 24px 0; }
.text-link { align-items: center; color: #082b61; display: inline-flex; gap: 9px; font-size: .76rem; font-weight: 800; text-decoration: underline; text-decoration-color: #9ac0ed; text-decoration-thickness: 2px; text-underline-offset: 5px; transition: gap .18s ease-out; }
.text-link:hover { gap: 13px; }
.process-steps { border-top: 1px solid #d6e0eb; }
.process-step { border-bottom: 1px solid #d6e0eb; display: grid; gap: 25px; grid-template-columns: 50px 1fr; padding: 25px 0 24px; }
.process-step__number { color: #77a9e2; font-family: "DM Serif Display", Georgia, serif; font-size: 1.42rem; }
.process-step h3 { color: #082b61; font-family: "DM Serif Display", Georgia, serif; font-size: 1.43rem; font-weight: 400; letter-spacing: -.02em; margin: 0 0 7px; }
.process-step p { color: #5a697c; font-size: .8rem; line-height: 1.65; margin: 0; }

.protection-section { background: #092e63; color: #fff; padding: 96px 0; position: relative; }
.protection-section::before { background-image: radial-gradient(rgba(179,211,245,.26) .75px, transparent .75px); background-size: 11px 11px; content: ""; height: 105px; opacity: .5; position: absolute; right: 5%; top: 0; width: 105px; }
.protection-section__layout { align-items: center; display: grid; gap: clamp(44px, 8vw, 106px); grid-template-columns: .95fr 1.05fr; }
.protection-visual { box-shadow: 18px 21px 0 rgba(118,170,226,.38); height: 425px; position: relative; }
.protection-visual::after { background: linear-gradient(0deg, rgba(4,23,52,.79), transparent 55%); content: ""; inset: 0; position: absolute; }
.protection-visual__label { align-items: center; bottom: 22px; color: #fff; display: flex; gap: 11px; left: 21px; position: absolute; z-index: 1; }
.protection-visual__label svg { color: #acd0f4; }
.protection-visual__label span { display: grid; gap: 3px; }
.protection-visual__label small { font-size: .56rem; font-weight: 700; letter-spacing: .15em; opacity: .7; text-transform: uppercase; }
.protection-visual__label b { font-family: "DM Serif Display", Georgia, serif; font-size: 1.15rem; font-weight: 400; }
.protection-copy .section-eyebrow { color: #a7caef; }
.protection-copy h2 { color: #fff; }
.protection-copy > p { color: #d3e0ef; margin-top: 26px; max-width: 550px; }
.protection-points { border-left: 1px solid #79a6d3; display: grid; gap: 14px; margin: 28px 0 31px; padding-left: 18px; }
.protection-points p { align-items: flex-start; color: #fff; display: flex; font-size: .78rem; gap: 9px; line-height: 1.55; margin: 0; }
.protection-points svg { color: #97c3f0; flex: 0 0 auto; margin-top: 1px; }

.guidance-section { background: #f7f8f8; padding: 102px 0; }
.guidance-section__layout { align-items: center; display: grid; gap: clamp(40px, 9vw, 125px); grid-template-columns: .9fr 1.1fr; }
.guidance-copy { padding-left: clamp(0px, 3vw, 38px); }
.guidance-copy h2 { max-width: 510px; }
.guidance-copy > p { margin: 24px 0; max-width: 445px; }
.guidance-image { height: 340px; margin: 0; overflow: hidden; position: relative; }
.guidance-image::after { background: linear-gradient(0deg, rgba(5,30,64,.75), transparent 55%); content: ""; inset: 0; position: absolute; }
.guidance-image figcaption { align-items: center; bottom: 20px; color: #fff; display: flex; font-size: .72rem; font-weight: 600; gap: 7px; left: 20px; position: absolute; z-index: 1; }
.guidance-image figcaption svg { color: #acd3f9; }

.quote-invitation { background: #74a7e4; color: #082b61; padding: 80px 0; position: relative; }
.quote-invitation::after { background: rgba(255,255,255,.22); clip-path: polygon(0 0, 100% 0, 65% 100%, 0 100%); content: ""; inset: 0 0 0 auto; position: absolute; width: 41%; }
.quote-invitation__inner { align-items: center; display: grid; gap: 65px; grid-template-columns: 1fr 270px; position: relative; z-index: 1; }
.quote-invitation .section-eyebrow { color: #16457d; }
.quote-invitation h2 { max-width: 730px; }
.quote-invitation__content > p:not(.section-eyebrow) { color: #183e6c; font-size: .86rem; line-height: 1.75; margin: 20px 0 25px; max-width: 690px; }
.quote-invitation__aside { border-left: 1px solid rgba(8,43,97,.39); display: grid; gap: 6px; padding-left: 24px; }
.quote-invitation__aside > svg { margin-bottom: 7px; }
.quote-invitation__aside p, .quote-invitation__aside span { font-size: .7rem; margin: 0; }
.quote-invitation__aside a { font-family: "DM Serif Display", Georgia, serif; font-size: 1.8rem; letter-spacing: -.02em; }
.quote-invitation__aside span { opacity: .72; }

.site-footer { background: #061d42; color: #fff; padding-top: 51px; }
.site-footer__top { align-items: flex-start; display: grid; gap: 38px; grid-template-columns: 1.25fr .8fr auto; padding-bottom: 44px; }
.footer-brand__logo-box { background: #fff; display: inline-flex; max-width: 265px; padding: 7px 11px; }
.footer-brand__logo-box img { display: block; height: 58px; object-fit: contain; width: 100%; }
.footer-brand p { color: #b8cbe0; font-size: .69rem; line-height: 1.55; margin: 14px 0 0; max-width: 290px; }
.footer-contact { display: grid; gap: 8px; padding-top: 9px; }
.footer-contact p { color: #b8cbe0; font-size: .69rem; line-height: 1.55; margin: 0; }
.footer-contact a { color: #dceafa; font-size: .71rem; font-weight: 700; }
.footer-contact a:hover { color: #93c3f4; }
.footer-links { display: grid; gap: 11px; padding-top: 9px; }
.footer-links a, .footer-call { color: #dceafa; font-size: .71rem; font-weight: 700; transition: color .18s ease-out; }
.footer-links a:hover, .footer-call:hover { color: #93c3f4; }
.footer-call { align-items: center; display: flex; gap: 8px; padding-top: 9px; white-space: nowrap; }
.site-footer__legal { border-top: 1px solid rgba(181,210,240,.18); padding: 20px 0 25px; }
.site-footer__legal p { color: #9bb1c9; font-size: .59rem; line-height: 1.65; margin: 0; max-width: 1050px; }

.quote-page { background: #f2f5f8; min-height: 100vh; }
.quote-page__header { background: #082b61; color: #fff; }
.quote-page__header-inner { align-items: center; display: flex; justify-content: space-between; min-height: 76px; gap: 22px; }
.quote-back, .quote-page__phone { align-items: center; display: inline-flex; font-size: .71rem; font-weight: 800; gap: 8px; }
.quote-back { color: #fff; transition: color .18s ease-out; }
.quote-back:hover { color: #b6d6fa; }
.quote-page__phone { color: #cfe3fa; }
.quote-page__main { padding: 70px 0 86px; }
.quote-page__layout { align-items: start; display: grid; gap: clamp(46px, 7vw, 100px); grid-template-columns: .78fr 1.22fr; }
.quote-page__intro { padding-top: 18px; }
.quote-page__intro h1 { color: #082b61; font-family: "DM Serif Display", Georgia, serif; font-size: clamp(2.8rem, 4.4vw, 4.45rem); font-weight: 400; letter-spacing: -.045em; line-height: 1; margin: 0; }
.quote-page__intro h1 i { font-style: italic; }
.quote-page__intro > p:not(.section-eyebrow) { color: #53657b; font-size: .88rem; line-height: 1.75; margin: 26px 0; max-width: 408px; }
.quote-page__trust { align-items: flex-start; border-top: 1px solid #cbd8e6; color: #53657b; display: flex; font-size: .71rem; gap: 10px; line-height: 1.55; max-width: 400px; padding-top: 17px; }
.quote-page__trust svg { color: #3477b7; flex: 0 0 auto; margin-top: 2px; }
.quote-page__trust b { color: #082b61; }
.quote-page__intro > img { height: 220px; margin-top: 38px; max-width: 415px; }
.quote-form-card { background: #fff; box-shadow: 0 18px 45px rgba(25,48,84,.1); padding: clamp(27px, 4vw, 45px); }
.quote-form-card__header { align-items: center; border-bottom: 1px solid #dde6ef; display: flex; justify-content: space-between; margin-bottom: 25px; padding-bottom: 16px; }
.quote-form-card__header span { color: #50749b; font-size: .65rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.quote-form-card__header div { display: flex; gap: 5px; }
.quote-form-card__header i { background: #d0deec; display: block; height: 4px; width: 17px; }
.quote-form-card__header i:first-child { background: #306da6; }
.quote-form-card h2 { color: #082b61; font-family: "DM Serif Display", Georgia, serif; font-size: 2.25rem; font-weight: 400; letter-spacing: -.035em; line-height: 1.05; margin: 0; }
.quote-form-card > p { color: #69798c; font-size: .7rem; margin: 10px 0 27px; }
.quote-form-card form { display: grid; gap: 18px; }
.form-grid { display: grid; gap: 18px; }
.form-grid--two { grid-template-columns: repeat(2, 1fr); }
.quote-form-card label { color: #243e61; display: grid; font-size: .69rem; font-weight: 800; gap: 7px; letter-spacing: .015em; }
.quote-form-card input, .quote-form-card select, .quote-form-card textarea { background: #fbfcfd; border: 1px solid #c8d5e2; border-radius: 0; color: #082b61; font-size: .8rem; font-weight: 500; min-height: 43px; outline: none; padding: 10px 11px; transition: border .16s ease-out, box-shadow .16s ease-out; width: 100%; }
.quote-form-card textarea { line-height: 1.5; min-height: 98px; resize: vertical; }
.quote-form-card input:focus, .quote-form-card select:focus, .quote-form-card textarea:focus { border-color: #397ebd; box-shadow: 0 0 0 3px rgba(115,166,218,.18); }
.quote-form-card input::placeholder, .quote-form-card textarea::placeholder { color: #97a6b5; }
.button--submit { margin-top: 2px; width: 100%; }
.form-disclaimer { color: #738398; font-size: .6rem; line-height: 1.55; margin: -5px 0 0; text-align: center; }
.quote-success { align-items: flex-start; display: flex; flex-direction: column; min-height: 420px; justify-content: center; }
.quote-success > svg { color: #3e80bd; margin-bottom: 20px; }
.quote-success h2 { font-size: 2.8rem; margin: 0; }
.quote-success > p:not(.section-eyebrow) { color: #5a6b80; font-size: .85rem; line-height: 1.7; margin: 18px 0 28px; max-width: 460px; }

@media (max-width: 820px) {
  .utility-header__inner { min-height: 80px; }
  .hero-section { padding-top: 50px; }
  .hero-section__layout, .process-section__layout, .protection-section__layout, .guidance-section__layout, .quote-page__layout { grid-template-columns: 1fr; }
  .hero-section__layout { gap: 40px; }
  .hero-visual { min-height: 370px; max-width: 630px; width: calc(100% - 18px); }
  .reason-grid { grid-template-columns: 1fr; margin: 37px auto 0; max-width: 540px; }
  .reason-card { min-height: 0; }
  .process-section__layout { gap: 45px; }
  .process-section__intro { max-width: 550px; }
  .protection-section__layout { gap: 52px; }
  .protection-visual { height: 380px; max-width: 590px; }
  .guidance-copy { padding-left: 0; }
  .guidance-image { max-width: 660px; }
  .quote-invitation__inner { gap: 39px; grid-template-columns: 1fr; }
  .quote-invitation__aside { border-left: 0; border-top: 1px solid rgba(8,43,97,.39); padding: 20px 0 0; }
  .site-footer__top { grid-template-columns: 1.05fr .85fr .7fr auto; }
  .footer-call { grid-column: auto; }
  .quote-page__intro { padding-top: 0; }
  .quote-page__intro > img { max-width: 570px; }
}

@media (max-width: 560px) {
  .site-container { width: min(100% - 30px, 1180px); }
  .utility-header__inner { min-height: 73px; }
  .brand-lockup__mark { height: 42px; width: 42px; }
  .brand-lockup__type strong { font-size: 1.43rem; }
  .header-phone { padding: 8px; }
  .header-phone small { display: none; }
  .header-phone span { font-size: .74rem; }
  .hero-section { padding-top: 43px; }
  .hero-section__layout { padding-bottom: 54px; }
  .hero-copy h1 { font-size: 3.1rem; }
  .hero-actions { display: grid; width: 100%; }
  .button { width: 100%; }
  .hero-visual { min-height: 295px; }
  .reasons-section, .process-section, .guidance-section { padding: 70px 0; }
  .protection-section { padding: 72px 0; }
  .protection-visual { height: 300px; box-shadow: 12px 14px 0 rgba(118,170,226,.38); }
  .section-heading h2, .process-section h2, .protection-copy h2, .guidance-copy h2, .quote-invitation h2 { font-size: 2.38rem; }
  .guidance-image { height: 270px; }
  .quote-invitation { padding: 63px 0; }
  .site-footer__top { grid-template-columns: 1fr; }
  .footer-call { grid-column: auto; padding-top: 0; }
  .quote-page__header-inner { min-height: 70px; }
  .quote-page__phone { display: none; }
  .quote-page__main { padding: 45px 0 60px; }
  .quote-page__intro h1 { font-size: 3rem; }
  .form-grid--two { grid-template-columns: 1fr; }
  .quote-form-card { padding: 26px 20px; }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-copy, .hero-visual, .reason-card, .process-step, .protection-visual, .guidance-image { animation: rise-in .5s cubic-bezier(.23,1,.32,1) both; }
  .hero-visual { animation-delay: .08s; }
  .reason-card:nth-child(2), .process-step:nth-child(2) { animation-delay: .06s; }
  .reason-card:nth-child(3), .process-step:nth-child(3) { animation-delay: .12s; }
  .process-step:nth-child(4) { animation-delay: .18s; }
  @keyframes rise-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: translateY(0); } }
}
