:root {
  --heim-navy: #173a4a;
  --heim-navy-dark: #0d2c39;
  --heim-teal: #2f6b63;
  --heim-gold: #d5a454;
  --heim-cream: #f7f3ea;
  --heim-sand: #ece4d5;
  --heim-ink: #1f2e35;
  --heim-muted: #5e6a70;
  --heim-white: #ffffff;
  --heim-shadow: 0 18px 45px rgba(19, 49, 61, .11);
}

body.page .entry-header,
body.page .entry-hero,
body.page .page-title-wrap,
#colophon { display: none !important; }

body.page .content-area { margin-top: 0 !important; margin-bottom: 0 !important; }
body.page .site-main > article,
body.page .entry-content-wrap { margin: 0 !important; padding: 0 !important; }
body.page .content-bg { background: transparent !important; }
.heim-page { color: var(--heim-ink); font-size: 18px; line-height: 1.68; }
.heim-page *, .heim-footer * { box-sizing: border-box; }
.heim-page h1, .heim-page h2, .heim-page h3 { color: var(--heim-navy-dark); line-height: 1.13; letter-spacing: -.025em; margin-top: 0; }
.heim-page h1 { font-size: clamp(2.65rem, 5.3vw, 5.25rem); }
.heim-page h2 { font-size: clamp(2rem, 3.5vw, 3.35rem); }
.heim-page h3 { font-size: 1.35rem; }
.heim-page p { margin-top: 0; }
.heim-wrap { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }
.heim-narrow { max-width: 900px; }
.heim-section { padding: 88px 0; }
.heim-section-tint { background: var(--heim-cream); }
.heim-eyebrow { color: var(--heim-teal); font-size: .79rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 14px; }
.heim-eyebrow-light { color: #f2d59c; }
.heim-lead { font-size: clamp(1.15rem, 2vw, 1.42rem); color: #46565d; max-width: 800px; }
.heim-section-heading { max-width: 780px; margin-bottom: 48px; }
.heim-section-heading-center { text-align: center; margin-inline: auto; }

.heim-hero { min-height: 660px; background-image: var(--heim-hero-image); background-size: cover; background-position: center; position: relative; display: grid; align-items: center; color: white; }
.heim-hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8,34,44,.94) 0%, rgba(14,47,60,.82) 42%, rgba(14,47,60,.22) 74%, rgba(14,47,60,.05) 100%); }
.heim-hero-inner { position: relative; z-index: 1; padding-block: 96px; }
.heim-hero-copy { max-width: 720px; }
.heim-hero h1 { color: white; margin-bottom: 24px; }
.heim-hero-copy > p:not(.heim-eyebrow):not(.heim-phone-line) { font-size: clamp(1.15rem, 2vw, 1.42rem); max-width: 650px; color: rgba(255,255,255,.92); }
.heim-phone-line { margin-top: 24px !important; color: rgba(255,255,255,.88); }
.heim-actions { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; margin-top: 30px; }
.heim-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 13px 24px; border-radius: 7px; font-weight: 800; text-decoration: none !important; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; border: 2px solid transparent; }
.heim-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(13,44,57,.16); }
.heim-btn-primary { background: var(--heim-gold); color: #182b33 !important; }
.heim-btn-dark { background: var(--heim-navy); color: white !important; }
.heim-btn-light { background: white; color: var(--heim-navy-dark) !important; }
.heim-btn-ghost { border-color: rgba(255,255,255,.6); color: white !important; background: rgba(255,255,255,.08); }
.heim-btn-outline { border-color: var(--heim-navy); color: var(--heim-navy) !important; background: transparent; }

.heim-trust-strip { background: var(--heim-navy-dark); color: white; }
.heim-trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.heim-trust-grid > div { padding: 27px 22px; border-right: 1px solid rgba(255,255,255,.14); text-align: center; }
.heim-trust-grid > div:last-child { border-right: 0; }
.heim-trust-grid strong, .heim-trust-grid span { display: block; }
.heim-trust-grid strong { color: #f2d59c; font-size: 1.12rem; }
.heim-trust-grid span { font-size: .92rem; color: rgba(255,255,255,.78); }

.heim-card-grid { display: grid; gap: 24px; }
.heim-card-grid-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
.heim-card { background: white; border: 1px solid #e1e6e7; border-radius: 14px; padding: 34px; box-shadow: 0 8px 28px rgba(13,44,57,.06); }
.heim-card h2 { font-size: 1.65rem; }
.heim-card-number { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: var(--heim-cream); color: var(--heim-teal); font-weight: 900; margin-bottom: 24px; }
.heim-text-link { color: var(--heim-teal) !important; font-weight: 800; text-decoration: none !important; }

.heim-split { display: grid; grid-template-columns: minmax(280px,.82fr) minmax(0,1.18fr); gap: clamp(42px,7vw,90px); align-items: center; }
.heim-split-balanced { grid-template-columns: repeat(2,minmax(0,1fr)); }
.heim-portrait-frame { position: relative; max-width: 430px; margin-inline: auto; }
.heim-portrait-frame::before { content: ''; position: absolute; width: 76%; height: 88%; left: -18px; bottom: -18px; background: var(--heim-gold); border-radius: 16px; }
.heim-portrait-frame img { position: relative; display: block; width: 100%; aspect-ratio: 4/4.65; object-fit: cover; border-radius: 16px; box-shadow: var(--heim-shadow); }
.heim-portrait-large { max-width: 480px; }
.heim-check-list { list-style: none; margin: 28px 0 0; padding: 0; }
.heim-check-list li { position: relative; padding: 10px 0 10px 34px; border-bottom: 1px solid rgba(23,58,74,.12); }
.heim-check-list li::before { content: '✓'; position: absolute; left: 0; color: var(--heim-teal); font-weight: 900; }
.heim-note { background: var(--heim-navy); color: white; padding: clamp(32px,5vw,54px); border-radius: 16px; box-shadow: var(--heim-shadow); }
.heim-note h3 { color: white; font-size: 2rem; }
.heim-note .heim-eyebrow { color: #f2d59c; }

.heim-step { padding: 28px; text-align: center; }
.heim-step > span { width: 54px; height: 54px; display: inline-grid; place-items: center; border-radius: 50%; background: var(--heim-teal); color: white; font-weight: 900; margin-bottom: 20px; }
.heim-spanish { background: var(--heim-teal); color: white; padding: 52px 0; }
.heim-spanish h2 { color: white; margin-bottom: 0; }
.heim-spanish-inner { display: grid; grid-template-columns: 1fr 1.2fr auto; gap: 40px; align-items: center; }
.heim-spanish-inner p { margin-bottom: 0; }
.heim-cta-box { display: flex; align-items: center; justify-content: space-between; gap: 45px; background: white; border: 1px solid #dfe5e6; border-radius: 18px; box-shadow: var(--heim-shadow); padding: clamp(32px,5vw,58px); }
.heim-cta-box > div:first-child { max-width: 720px; }
.heim-cta-section { background: #edf3f2; }

.heim-page-hero { background: linear-gradient(135deg, var(--heim-navy-dark), var(--heim-teal)); color: white; padding: 92px 0 82px; }
.heim-page-hero h1 { color: white; margin-bottom: 22px; }
.heim-page-hero .heim-lead { color: rgba(255,255,255,.86); }
.heim-contact-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: start; }
.heim-contact-card { border-bottom: 1px solid #dfe5e6; padding: 0 0 30px; margin-bottom: 30px; }
.heim-contact-card h2, .heim-contact-card h3 { margin-bottom: 10px; }
.heim-contact-card a { color: var(--heim-navy-dark); }
.heim-safety-note { background: #fff8e8; border-left: 4px solid var(--heim-gold); padding: 20px; font-size: .95rem; }
.heim-form { background: white; border: 1px solid #dfe5e6; border-radius: 16px; padding: clamp(26px,4vw,44px); box-shadow: var(--heim-shadow); }
.heim-form-row { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 18px; }
.heim-form label { display: block; font-weight: 750; color: var(--heim-navy-dark); margin-bottom: 18px; }
.heim-form input[type=text], .heim-form input[type=email], .heim-form input[type=tel], .heim-form select, .heim-form textarea { width: 100%; margin-top: 7px; border: 1px solid #bcc8cc; border-radius: 7px; background: #fbfcfc; padding: 12px 13px; color: var(--heim-ink); }
.heim-form input:focus, .heim-form select:focus, .heim-form textarea:focus { outline: 3px solid rgba(47,107,99,.18); border-color: var(--heim-teal); }
.heim-consent { display: flex !important; gap: 11px; align-items: flex-start; font-weight: 500 !important; font-size: .92rem; }
.heim-consent input { margin-top: 5px; }
.heim-form-note { font-size: .86rem; color: var(--heim-muted); }
.heim-honeypot { position: absolute !important; left: -10000px !important; width: 1px; height: 1px; overflow: hidden; }
.heim-alert { padding: 18px; border-radius: 8px; margin-bottom: 22px; }
.heim-alert-success { background: #e9f6ed; color: #1f6237; }
.heim-alert-error { background: #fff0ef; color: #8b2c25; }
.heim-legal { max-width: 850px; }
.heim-legal h2 { font-size: 1.75rem; margin-top: 42px; }
.heim-fine-print { font-size: .95rem; color: var(--heim-muted); }
.heim-fine-print h2 { font-size: 1.4rem; }

.heim-footer { background: var(--heim-navy-dark); color: rgba(255,255,255,.78); }
.heim-footer a { color: white; text-decoration: none; }
.heim-footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3,1fr); gap: 42px; padding-block: 62px; }
.heim-footer h2 { color: #f2d59c; font-size: 1rem; text-transform: uppercase; letter-spacing: .09em; }
.heim-footer-brand { display: block; color: white; font-size: 1.65rem; margin-bottom: 15px; }
.heim-footer-bottom { border-top: 1px solid rgba(255,255,255,.13); padding: 22px 0; font-size: .82rem; }
.heim-footer-bottom .heim-wrap { display: flex; justify-content: space-between; gap: 30px; }
.heim-footer-bottom p { margin: 0; }
.heim-disclaimer { max-width: 690px; text-align: right; }
.heim-mobile-call { display: none; }

@media (max-width: 920px) {
  .heim-card-grid-3, .heim-trust-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .heim-trust-grid > div:nth-child(2) { border-right: 0; }
  .heim-split, .heim-split-balanced, .heim-contact-layout { grid-template-columns: 1fr; }
  .heim-spanish-inner { grid-template-columns: 1fr; gap: 18px; text-align: center; }
  .heim-cta-box { align-items: flex-start; flex-direction: column; }
  .heim-footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (max-width: 600px) {
  .heim-wrap { width: min(100% - 28px,1180px); }
  .heim-section { padding: 64px 0; }
  .heim-hero { min-height: 680px; background-position: 58% center; }
  .heim-hero-shade { background: linear-gradient(90deg, rgba(8,34,44,.96), rgba(14,47,60,.76)); }
  .heim-card-grid-3, .heim-trust-grid, .heim-footer-grid, .heim-form-row { grid-template-columns: 1fr; }
  .heim-trust-grid > div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .heim-trust-grid > div:last-child { border-bottom: 0; }
  .heim-card { padding: 28px; }
  .heim-page-hero { padding: 72px 0 65px; }
  .heim-footer-bottom .heim-wrap { display: block; }
  .heim-disclaimer { text-align: left; margin-top: 12px !important; }
  .heim-mobile-call { display: block; position: fixed; right: 18px; bottom: 18px; z-index: 9999; background: var(--heim-gold); color: var(--heim-navy-dark); padding: 12px 18px; border-radius: 999px; font-weight: 900; box-shadow: 0 10px 28px rgba(0,0,0,.25); text-decoration: none; }
}

