/* Cliffrose Life Partners: site styles
   Palette and fonts carried over from the SiteSwan theme. */
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/inter-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 600; font-display: swap; src: url('/assets/fonts/inter-latin-600-normal.woff2') format('woff2'); }
@font-face { font-family: 'Inter'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/inter-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 400; font-display: swap; src: url('/assets/fonts/playfair-display-latin-400-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: normal; font-weight: 700; font-display: swap; src: url('/assets/fonts/playfair-display-latin-700-normal.woff2') format('woff2'); }
@font-face { font-family: 'Playfair Display'; font-style: italic; font-weight: 400; font-display: swap; src: url('/assets/fonts/playfair-display-latin-400-italic.woff2') format('woff2'); }
:root {
  --purple: #6A3B7A;
  --purple-dark: #512261;
  --lilac: #9968A9;
  --lilac-pale: #F1E9F4;
  --gray: #4D4D4D;
  --gray-text: #3A3A3A;
  --offwhite: #F0F0F0;
  --white: #FFFFFF;
  --gold: #FFC832;
  --gold-dark: #E6AF19;
  --ink: #2B2B2B;
  --serif: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Helvetica Neue', Arial, sans-serif;
  --wrap: 1140px;
  --text-wrap: 760px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 110px; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { margin: 0; font-family: var(--sans); font-size: 19px; line-height: 1.65; color: var(--gray-text); background: var(--offwhite); }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; line-height: 1.2; margin: 0 0 .55em; }
h1 { font-size: clamp(34px, 4.4vw, 50px); }
h2 { font-size: clamp(29px, 3.4vw, 40px); }
h3 { font-size: 25px; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: var(--purple); }
strong { font-weight: 600; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; border-radius: 2px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: #fff; color: var(--purple); padding: 10px 14px; z-index: 200; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: var(--text-wrap); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }

/* Section color bands (same order and colors as the SiteSwan site) */
.band { padding: 72px 0; }
.band.tight { padding: 40px 0; }
.band.flush { padding: 24px 0; }
.band-purple { background: var(--purple); color: #fff; }
.band-gray { background: var(--gray); color: #fff; }
.band-offwhite { background: var(--offwhite); color: var(--gray-text); }
.band-white { background: #fff; color: var(--gray-text); }
.band-lilac { background: var(--lilac); color: #fff; }
.band-offwhite h2, .band-white h2, .band-offwhite h1 { color: var(--purple); }
.band-purple a:not(.btn), .band-gray a:not(.btn), .band-lilac a:not(.btn) { color: #fff; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--offwhite); border-bottom: 1px solid #d9d9d9; }
.site-header .bar { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 10px 28px; }
.brand img { width: 210px; height: auto; }
.nav { display: flex; align-items: center; gap: 26px; margin-left: auto; margin-right: 18px; }
.nav a { color: var(--purple); text-decoration: none; font-size: 17px; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--purple); }
.header-call { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 17px; color: var(--purple); text-decoration: none; white-space: nowrap; }
.header-call svg { width: 18px; height: 18px; fill: currentColor; }
.menu-toggle { display: none; font: inherit; font-size: 17px; font-weight: 600; color: var(--purple); background: transparent; border: 2px solid var(--purple); border-radius: 10px; padding: 8px 16px; cursor: pointer; }
@media (max-width: 1080px) {
  .site-header .bar { padding: 10px 18px; flex-wrap: wrap; }
  .brand img { width: 170px; }
  .menu-toggle { display: inline-block; }
  .nav { display: none; order: 3; width: 100%; flex-direction: column; align-items: stretch; gap: 0; padding: 6px 0 12px; }
  .nav.open { display: flex; }
  .nav a { font-size: 19px; padding: 14px 6px; border-bottom: 1px solid #e6e6e6; }
  .nav a[aria-current="page"] { border-bottom-color: #e6e6e6; font-weight: 700; }
  .header-call .num { display: none; }
  .header-call { font-size: 17px; border: 2px solid var(--purple); border-radius: 10px; padding: 8px 14px; }
}
.header-call .short { display: none; }
@media (max-width: 1080px) { .header-call .short { display: inline; } }
@media (max-width: 480px) {
  .site-header .bar { padding: 8px 12px; gap: 8px; }
  .brand img { width: 132px; }
  .header-right { gap: 8px; }
  .header-call, .menu-toggle { padding: 8px 11px; font-size: 16px; }
}
.header-right { display: flex; align-items: center; gap: 14px; }
@media (min-width: 1081px) { .header-right .menu-toggle { display: none; } }

/* Buttons and links */
.btn { display: inline-block; font-family: var(--sans); font-weight: 600; font-size: 18px; line-height: 1.2; text-decoration: none; color: var(--purple); background: var(--gold); border: 0; border-radius: 11px; padding: 15px 28px; min-height: 52px; box-shadow: 0 4px 12px 1.28px rgba(0,0,0,.3); cursor: pointer; text-align: center; }
.btn:hover { background: var(--gold-dark); }
/* Secondary buttons: gold stays reserved for Begin the Conversation and Send your message */
.btn-alt { background: var(--purple); color: #fff; }
.btn-alt:hover { background: var(--purple-dark); }
.band-purple .btn-alt, .band-gray .btn-alt, .band-lilac .btn-alt { background: #fff; color: var(--purple); }
.band-purple .btn-alt:hover, .band-gray .btn-alt:hover, .band-lilac .btn-alt:hover { background: var(--lilac-pale); }
.btn-row { margin-top: 30px; }
.arrow-link { font-weight: 700; color: var(--purple); text-decoration: none; display: inline-block; padding: 6px 0; }
.arrow-link::after { content: " \2192"; }
.arrow-link:hover { text-decoration: underline; }
.band-purple .arrow-link, .band-gray .arrow-link, .band-lilac .arrow-link { color: #fff; }

/* Hero split (text plus photo) */
.split { display: grid; grid-template-columns: 1.55fr 1fr; gap: 56px; align-items: center; }
.split.photo-left { grid-template-columns: 1fr 1.55fr; }
.split.photo-left .split-media { order: -1; }
.split.even { grid-template-columns: 1fr 1fr; }
.split.top { align-items: start; }
.split-media img { width: 100%; border-radius: 6px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
@media (max-width: 860px) {
  .split, .split.photo-left, .split.even { grid-template-columns: 1fr; gap: 32px; }
  .split.photo-left .split-media { order: 0; }
}
.lead { font-size: 21px; }
.stars { color: var(--gold); letter-spacing: 3px; font-size: 22px; }
.rating { font-weight: 700; margin-top: 22px; }
.rating .stars { margin-right: 8px; }

/* Hero with an edge-to-edge photo (Home, Getting Started, Care From a Distance) */
.hero-bleed { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 40%); align-items: stretch; }
.hero-bleed.photo-left { grid-template-columns: minmax(0, 40%) minmax(0, 1fr); }
.hero-bleed.photo-left .hero-photo { order: -1; }
.hero-text { display: flex; align-items: center; padding: 80px 56px 80px max(24px, calc((100vw - 1140px) / 2 + 24px)); }
.hero-bleed.photo-left .hero-text { padding: 80px max(24px, calc((100vw - 1140px) / 2 + 24px)) 80px 56px; }
.hero-inner { max-width: 700px; }
.hero-photo { position: relative; min-height: 460px; }
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .hero-bleed, .hero-bleed.photo-left { grid-template-columns: 1fr; }
  .hero-bleed.photo-left .hero-photo { order: 0; }
  .hero-text, .hero-bleed.photo-left .hero-text { padding: 48px 24px 40px; }
  .hero-photo { min-height: 0; aspect-ratio: 3 / 2; }
}

/* Who We Are: larger photos that stay in view while the text scrolls */
.split.who { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 60px; }
.sticky-media { position: sticky; top: 130px; display: grid; gap: 22px; }
@media (max-width: 860px) { .split.who { grid-template-columns: 1fr; } .sticky-media { position: static; } }

/* Our Services: one service per row */
.service-rows { display: grid; gap: 26px; margin-top: 40px; }
.service-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 48px; background: var(--lilac-pale); border-radius: 10px; padding: 40px 44px; box-shadow: 0 6px 18px rgba(106,59,122,.14); }
.service-row .icon { width: 74px; height: 74px; margin: 0 0 18px; border-radius: 50%; border: 2px solid var(--purple); display: flex; align-items: center; justify-content: center; background: #fff; }
.service-row .icon svg { width: 36px; height: 36px; stroke: var(--purple); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-row h3 { color: var(--purple); font-size: 30px; }
.service-row .includes { font-weight: 600; margin-bottom: 6px; }
.service-row .closing { font-style: italic; }
.svc-body { border-left: 2px solid rgba(106,59,122,.18); padding-left: 44px; }
@media (max-width: 860px) {
  .service-row { grid-template-columns: 1fr; gap: 10px; padding: 30px 24px; }
  .svc-body { border-left: 0; padding-left: 0; border-top: 2px solid rgba(106,59,122,.18); padding-top: 18px; }
}

/* Page hero (centered) */
.page-hero { text-align: center; padding: 76px 0 64px; }
.page-hero p { max-width: 760px; margin-left: auto; margin-right: auto; font-size: 21px; }
.page-hero h1 { max-width: 920px; margin-left: auto; margin-right: auto; }

/* Prefer to talk now */
.talk { text-align: center; padding: 26px 0 40px; }
.talk h2 { font-size: 24px; margin-bottom: 10px; }
.talk ul { list-style: none; padding: 0; margin: 0; }
.talk li { margin: 4px 0; }
.talk a { font-weight: 700; font-size: 19px; text-decoration: none; display: inline-block; padding: 6px 4px; }
.talk a::before { content: "\2192\00a0"; }
.talk a:hover { text-decoration: underline; }

/* Quotes */
.quote { text-align: center; max-width: 900px; margin: 0 auto; }
.quote blockquote { margin: 10px 0 18px; font-style: italic; font-size: clamp(22px, 2.6vw, 30px); line-height: 1.45; }
.quote cite { display: block; font-style: normal; font-size: 22px; }
.quote .review-link { display: inline-block; margin-top: 8px; font-size: 16px; }

/* Cards grid (How We Help, steps, family services) */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; margin-top: 34px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }
.card { background: #fff; border-radius: 8px; overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.card img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.card-body { padding: 24px 24px 28px; text-align: center; flex: 1; }
.card-body h3 { color: var(--purple); margin-bottom: .45em; }
.card-body p { font-size: 18px; }
.card-body .arrow-link { margin-top: 10px; }

/* Service detail cards (Our Services, Home Watch) */
.service-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin-top: 36px; }
@media (max-width: 960px) { .service-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .service-cards { grid-template-columns: 1fr; } }
.service-card { background: var(--lilac-pale); border-radius: 10px; padding: 32px 28px; box-shadow: 0 6px 18px rgba(106,59,122,.16); }
.service-card .icon { width: 74px; height: 74px; margin: 0 auto 16px; border-radius: 50%; border: 2px solid var(--purple); display: flex; align-items: center; justify-content: center; background: #fff; }
.service-card .icon svg { width: 36px; height: 36px; stroke: var(--purple); fill: none; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.service-card h3 { text-align: center; color: var(--purple); }
.service-card p { font-size: 18px; }
.service-card .includes { font-weight: 600; margin-top: 16px; margin-bottom: 6px; }
.ticks { list-style: none; padding: 0; margin: 0 0 16px; }
.ticks li { position: relative; padding-left: 28px; margin: 8px 0; font-size: 18px; }
.ticks li::before { content: "\27A4"; position: absolute; left: 0; color: var(--purple); }
.band-gray .ticks li::before, .band-purple .ticks li::before { color: var(--gold); }
.service-card .closing { font-style: italic; }

/* Video facade */
.video { position: relative; aspect-ratio: 16 / 9; width: 100%; border-radius: 6px; overflow: hidden; background: #1d1d1d; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.video button { all: unset; cursor: pointer; position: absolute; inset: 0; display: block; }
.video img { width: 100%; height: 100%; object-fit: cover; }
.video .play { position: absolute; left: 50%; top: 50%; width: 84px; height: 84px; margin: -42px 0 0 -42px; border-radius: 50%; background: rgba(106,59,122,.92); box-shadow: 0 4px 16px rgba(0,0,0,.4); display: flex; align-items: center; justify-content: center; }
.video .play::after { content: ""; border-style: solid; border-width: 15px 0 15px 25px; border-color: transparent transparent transparent #fff; margin-left: 6px; }
.video button:focus-visible .play { outline: 3px solid var(--gold); outline-offset: 3px; }
.video .label { position: absolute; left: 0; right: 0; bottom: 0; padding: 12px 16px; background: linear-gradient(transparent, rgba(0,0,0,.65)); color: #fff; font-size: 16px; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* Newsletter */
.newsletter { position: relative; background: var(--offwhite) url('/images/bg-palms.jpg') center / cover no-repeat; }
.newsletter::before { content: ""; position: absolute; inset: 0; background: rgba(240,240,240,.9); }
.newsletter > * { position: relative; }
.newsletter h2 { color: var(--purple); }
.signup { display: flex; gap: 12px; max-width: 560px; margin: 24px auto 0; flex-wrap: wrap; justify-content: center; }
.signup label { flex-basis: 100%; text-align: left; font-weight: 600; font-size: 17px; }
.signup input[type=email] { flex: 1 1 260px; font: inherit; font-size: 18px; padding: 13px 14px; border: 1px solid #8a8a8a; border-radius: 8px; background: #fff; min-height: 52px; }
.signup .ml-captcha { flex-basis: 100%; display: flex; justify-content: center; min-height: 0; }
.signup .status { flex-basis: 100%; min-height: 1.4em; font-weight: 600; margin: 4px 0 0; }
.newsletter-line { text-align: center; font-size: 18px; }

/* Contact form */
.form-band { padding: 64px 0 0; }
.form-panel { max-width: 780px; margin: 0 auto; background: rgba(0,0,0,.5); border-radius: 10px; padding: 40px 36px; color: #fff; }
.band-purple .form-panel { background: rgba(0,0,0,.28); }
.form-panel h2 { text-align: center; color: #fff; }
.form-panel > p { text-align: center; }
.contact-form { display: grid; gap: 16px; margin-top: 24px; }
.contact-form label { display: block; font-weight: 600; font-size: 17px; margin-bottom: 6px; }
.contact-form label span { font-weight: 400; }
.contact-form input, .contact-form textarea { width: 100%; font: inherit; font-size: 18px; color: var(--ink); background: #fff; border: 1px solid #fff; border-radius: 8px; padding: 13px 14px; min-height: 52px; }
.contact-form textarea { min-height: 140px; resize: vertical; }
.contact-form .hp { display: none; }
.contact-form .submit { text-align: center; margin-top: 6px; }
.form-status { text-align: center; font-weight: 700; min-height: 1.5em; margin: 0; }
.form-panel .talk { padding: 26px 0 0; margin-top: 26px; border-top: 1px solid rgba(255,255,255,.3); }
.form-status.error { background: #fff; color: #8a1c0b; border-radius: 8px; padding: 10px 14px; }
@media (max-width: 600px) { .form-panel { padding: 30px 20px; border-radius: 0; } .form-band .wrap { padding: 0; } }

/* Two column text */
.cols { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
@media (max-width: 800px) { .cols { grid-template-columns: 1fr; gap: 36px; } }

/* FAQ */
.jump { text-align: center; font-size: 18px; margin-bottom: 8px; }
.jump a { font-weight: 700; margin: 0 8px; display: inline-block; padding: 6px 0; }
.faq-group { margin-top: 48px; }
.faq-group h2 { padding-bottom: 10px; border-bottom: 3px solid var(--gold); display: inline-block; }
.faq-item { margin: 26px 0; }
.faq-item h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--ink); margin-bottom: 6px; line-height: 1.4; }

/* Testimonials page */
.testimonial { background: #fff; border-radius: 10px; padding: 40px 40px 34px; box-shadow: 0 4px 16px rgba(0,0,0,.07); margin: 0 auto 36px; max-width: 880px; }
.testimonial .glyph { font-family: var(--serif); font-size: 70px; line-height: .6; color: var(--purple); display: block; margin-bottom: 4px; }
.testimonial .stars { display: block; margin-bottom: 16px; }
.testimonial blockquote { margin: 0 0 20px; }
.testimonial blockquote p { font-size: 19px; }
.testimonial .who { font-weight: 700; }
.testimonial .src { font-size: 17px; }

/* Realtor boxes */
.benefits { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 36px; }
@media (max-width: 700px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: #fff; border-top: 5px solid var(--gold); border-radius: 8px; padding: 28px 28px; box-shadow: 0 2px 10px rgba(0,0,0,.06); }
.benefit h2 { font-size: 26px; color: var(--purple); margin-bottom: .35em; }

/* Prose pages (Careers, Privacy) */
.prose h2 { font-size: 28px; margin-top: 1.4em; }
.prose h3 { font-family: var(--sans); font-size: 20px; font-weight: 700; color: var(--ink); margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin: 6px 0; }

/* Footer */
.site-footer { background: var(--purple-dark); color: #fff; padding: 56px 0 30px; font-size: 17px; }
.site-footer a { color: #fff; }
.footer-cols { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 40px; }
@media (max-width: 900px) { .footer-cols { grid-template-columns: 1fr; gap: 34px; } }
.site-footer h2 { font-size: 23px; color: #fff; margin-bottom: 12px; }
.site-footer p { margin-bottom: .7em; }
.site-footer .gold-link { color: var(--gold); font-weight: 700; text-decoration: none; display: inline-block; padding: 6px 0; }
.site-footer .gold-link::before { content: "\27A4\00a0"; }
.footer-list { list-style: none; padding: 0; margin: 0; }
.footer-list li { margin: 0; }
.footer-list a { display: inline-block; padding: 3px 0; }
@media (max-width: 900px) { .footer-list a { padding: 10px 0; } }
.hours { margin-top: 10px; }
.member { font-size: 16px; margin-top: 18px; }
.socials { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: flex; align-items: center; justify-content: center; }
.socials svg { width: 20px; height: 20px; fill: var(--purple); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.25); margin-top: 40px; padding-top: 22px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 15px; }
.footer-bottom nav { display: flex; flex-wrap: wrap; gap: 4px 20px; }
.footer-bottom nav a { text-decoration: none; padding: 4px 0; }
.footer-bottom nav a:hover { text-decoration: underline; }
.tagline { font-family: var(--serif); font-style: italic; font-size: 20px; margin: 0 0 14px; }
