
:root {
  --bg:#f6f7fb;
  --surface:#ffffff;
  --surface-2:#eef2f7;
  --text:#111827;
  --muted:#667085;
  --line:#dfe4ea;
  --primary:#1d4ed8;
  --accent:#0ea5e9;
  --shadow:0 24px 70px rgba(15,23,42,.10);
  --radius:28px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;background:var(--bg);color:var(--text);line-height:1.55}
a{color:inherit}
img{max-width:100%;display:block}
.shell{width:min(1160px,calc(100% - 40px));margin:0 auto}
.site-header{position:sticky;top:0;z-index:50;background:rgba(246,247,251,.86);backdrop-filter:blur(18px);border-bottom:1px solid rgba(223,228,234,.85)}
.nav{min-height:78px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.brand{display:flex;align-items:center;gap:12px;text-decoration:none;font-weight:900;letter-spacing:-.035em}
.lf-logo-block{display:inline-flex!important;width:44px!important;height:44px!important;min-width:44px!important;align-items:center;justify-content:center;border-radius:14px;background:var(--primary);color:#fff;font-weight:900;object-fit:contain!important}
.lf-brand-name{color:var(--text)}
.nav-actions,.hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 20px;border-radius:999px;text-decoration:none;font-weight:850;border:1px solid transparent}
.button-primary{background:var(--primary);color:#fff;box-shadow:0 14px 30px rgba(29,78,216,.22)}
.button-secondary{background:#fff;border-color:var(--line);color:var(--text)}
.eyebrow{display:inline-flex;align-items:center;gap:8px;padding:8px 12px;border-radius:999px;background:var(--surface-2);font-size:.82rem;font-weight:850;letter-spacing:.02em;margin-bottom:18px}
h1,h2,h3,p{margin-top:0}
h1{font-size:clamp(2.7rem,6.6vw,5.8rem);line-height:.94;letter-spacing:-.075em;margin-bottom:22px}
h2{font-size:clamp(2rem,4.5vw,3.65rem);line-height:1;letter-spacing:-.06em;margin-bottom:14px}
.lead{font-size:1.15rem;color:var(--muted);max-width:680px;margin-bottom:28px}
.section{padding:72px 0}
.section-head{max-width:760px;margin-bottom:28px}
.section-head p{color:var(--muted);font-size:1.04rem}
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--radius);box-shadow:0 18px 50px rgba(15,23,42,.06)}
.preview-photo{min-height:420px;border-radius:24px;background:linear-gradient(135deg,rgba(255,255,255,.98),rgba(226,232,240,.75)),radial-gradient(circle at 20% 20%,rgba(14,165,233,.35),transparent 30%);border:1px solid rgba(255,255,255,.7)}
.form-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:28px;align-items:stretch;padding:34px;border-radius:34px;background:#111827;color:#fff;box-shadow:var(--shadow)}
.form-copy p{color:rgba(255,255,255,.72)}
form{background:#fff;color:var(--text);padding:22px;border-radius:24px;display:grid;gap:12px}
input,textarea{width:100%;min-height:52px;border:1px solid #cbd5e1;border-radius:15px;padding:13px 14px;font:inherit;background:#fff;color:#111827}
textarea{min-height:126px;resize:vertical}
button[type="submit"]{min-height:54px;border:0;border-radius:16px;background:var(--primary);color:#fff;font:inherit;font-weight:900;cursor:pointer}
.site-footer{padding:30px 0 42px;color:var(--muted)}
.footer-row{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:22px;border-top:1px solid var(--line)}
@media(max-width:800px){.shell{width:min(100% - 28px,1160px)}.nav{align-items:flex-start;flex-direction:column;padding:16px 0}.nav-actions{width:100%}.hero-grid,.form-grid{grid-template-columns:1fr!important}.section{padding:52px 0}.preview-photo{min-height:280px}}
@media(max-width:500px){.button{width:100%}.nav-actions,.hero-actions{width:100%}.card{border-radius:22px}.form-grid{padding:20px;border-radius:24px}h1{font-size:2.5rem}}


body.lifestyle-modern{--primary:#be185d;--accent:#ec4899;--surface-2:#fff1f2;background:#fff8fb}
.life-hero{padding:72px 0 42px;text-align:center}
.life-hero .lead{margin-left:auto;margin-right:auto}
.life-hero .hero-actions{justify-content:center}
.life-stage{margin-top:34px;padding:18px;border-radius:40px;background:linear-gradient(145deg,#ffe4e6,#fff);border:1px solid #ffd2dc;box-shadow:var(--shadow)}
.life-stage .preview-photo{min-height:450px;border-radius:30px;background:radial-gradient(circle at 20% 20%,rgba(244,114,182,.28),transparent 30%),linear-gradient(135deg,#fff1f2,#fdf2f8)}
.menu-grid{display:grid;grid-template-columns:1fr 1fr 1fr;gap:18px}
.menu-card{padding:26px;position:relative;overflow:hidden}
.menu-card::after{content:"";position:absolute;right:-30px;top:-30px;width:110px;height:110px;border-radius:50%;background:#fff1f2}
.menu-card strong{font-size:1.15rem;position:relative;z-index:1}
.menu-card p{color:var(--muted);position:relative;z-index:1}
.life-benefits{display:flex;gap:14px;flex-wrap:wrap}
.life-benefit{padding:14px 18px;border-radius:999px;background:#fff;border:1px solid #f3c8d7;font-weight:850;color:#9d174d}
.life-form-wrap{background:linear-gradient(135deg,#831843,#be185d)}
@media(max-width:800px){.menu-grid{grid-template-columns:1fr}.life-stage .preview-photo{min-height:300px}}

.leadflow-legal-footer {
  padding: 24px;
  text-align: center;
  font-size: 14px;
  color: var(--muted, #64748b);
}
.leadflow-legal-footer a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* LeadFlow strong form button fix */
form button,
form button[type="submit"],
button[type="submit"],
.lead-form button,
.form-card button,
.form-panel button {
  width: 100% !important;
  min-height: 56px !important;
  border: 0 !important;
  border-radius: 16px !important;
  background: var(--primary, #111827) !important;
  color: #ffffff !important;
  font-weight: 900 !important;
  font-size: 1rem !important;
  letter-spacing: -0.01em !important;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.22) !important;
  cursor: pointer !important;
  opacity: 1 !important;
}

form button:hover,
form button[type="submit"]:hover,
button[type="submit"]:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}


/* LeadFlow footer/contact spacing fix */
.site-footer,
footer {
  overflow-wrap: anywhere;
}

.site-footer .footer-row,
.footer-row,
footer .footer-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 18px !important;
  flex-wrap: wrap !important;
}

.site-footer a,
footer a {
  display: inline-flex !important;
  align-items: center !important;
}

.site-footer a[href^="tel:"],
footer a[href^="tel:"] {
  margin-right: 14px !important;
}

.site-footer a[href^="mailto:"],
footer a[href^="mailto:"] {
  margin-left: 14px !important;
}

.site-footer a + a,
footer a + a {
  margin-left: 14px !important;
}


/* LeadFlow contact spacing final fix */
.leadflow-contact-gap {
  display: inline-block !important;
  width: 16px !important;
  min-width: 16px !important;
}

a[href^="tel:"] {
  margin-right: 16px !important;
}

a[href^="tel:"] + .leadflow-contact-gap {
  margin-right: 0 !important;
}


/* LeadFlow premium hero layout safety fix */
.hero,
.hero-section,
.hero-wrap,
.hero-shell,
.hero-grid,
.hero-split,
.lf-hero,
.main-hero {
  overflow: visible !important;
}

.hero-grid,
.hero-split,
.hero-shell,
.lf-hero-grid,
.main-hero-grid {
  grid-template-columns: minmax(420px, 0.9fr) minmax(420px, 1.1fr) !important;
  gap: clamp(24px, 4vw, 56px) !important;
  align-items: stretch !important;
}

.hero h1,
.hero-section h1,
.hero-wrap h1,
.hero-shell h1,
.lf-hero h1,
.main-hero h1,
h1 {
  max-width: 100% !important;
  overflow-wrap: normal !important;
  word-break: normal !important;
  text-wrap: balance !important;
  font-size: clamp(3rem, 5.2vw, 5.8rem) !important;
  line-height: 0.96 !important;
  letter-spacing: -0.075em !important;
}

.hero-copy,
.hero-content,
.hero-text,
.hero-panel,
.copy-panel,
.lf-hero-copy {
  min-width: 0 !important;
  overflow: visible !important;
}

.visual-card,
.hero-visual,
.hero-media,
.image-card,
.photo-card,
.media-card,
.visual-panel,
.lf-visual {
  min-height: 420px !important;
  max-height: 540px !important;
}

.visual-card:empty,
.hero-visual:empty,
.hero-media:empty,
.image-card:empty,
.photo-card:empty,
.media-card:empty,
.visual-panel:empty {
  display: none !important;
}

@media (max-width: 900px) {
  .hero-grid,
  .hero-split,
  .hero-shell,
  .lf-hero-grid,
  .main-hero-grid {
    grid-template-columns: 1fr !important;
  }

  .hero h1,
  .hero-section h1,
  .hero-wrap h1,
  .hero-shell h1,
  .lf-hero h1,
  .main-hero h1,
  h1 {
    font-size: clamp(2.4rem, 12vw, 4rem) !important;
    line-height: 1 !important;
  }

  .visual-card,
  .hero-visual,
  .hero-media,
  .image-card,
  .photo-card,
  .media-card,
  .visual-panel,
  .lf-visual {
    min-height: 260px !important;
  }
}


/* LeadFlow required legal footer */
.leadflow-legal-footer {
  padding: 18px 20px !important;
  text-align: center !important;
  font-size: 12px !important;
  line-height: 1.5 !important;
  background: #ffffff !important;
  color: #64748b !important;
}

.leadflow-legal-footer a {
  color: #64748b !important;
  text-decoration: underline !important;
}


/* LeadFlow post-render media fallback */
body.lf-no-logo img[data-leadflow-logo],
body.lf-no-logo img[src=""],
body.lf-no-logo img[src="{{logo_url}}"] {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  min-width: 0 !important;
  max-width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}

body.lf-no-logo .lf-brand-name {
  margin-left: 0 !important;
}

body.lf-has-logo .lf-logo-block + .lf-brand-name,
body.lf-has-logo img[data-leadflow-logo] + .lf-brand-name {
  margin-left: 10px !important;
}

body.lf-no-photo img[data-leadflow-photo],
body.lf-no-photo img[src=""],
body.lf-no-photo img[src="{{main_photo_url}}"],
body.lf-no-photo img[src*="leadflow-photo-placeholder"] {
  display: none !important;
}

body.lf-no-photo .hero-media,
body.lf-no-photo .hero-image,
body.lf-no-photo .hero-visual,
body.lf-no-photo .soft-media,
body.lf-no-photo .image-card,
body.lf-no-photo .photo-card,
body.lf-no-photo .media-card,
body.lf-no-photo .visual-card,
body.lf-no-photo .image-wrap,
body.lf-no-photo .photo-wrap,
body.lf-no-photo .media-wrap,
body.lf-no-photo .visual-wrap {
  display: none !important;
}

