:root {
  --navy: #0F1B2D;
  --ink: #0F1B2D;
  --muted: #6B6457;
  --orange: #F26A1F;
  --cobalt: #1E40AF;
  --sage: #B6CDB1;
  --cream: #FBF7F0;
  --paper: #F4EEE2;
  --mist: #EEF5F1;
  --line: #E6DECD;
  --berry: #C32A4A;
}

body.perkiomen-contact-page {
  background: var(--cream);
}

.pphc-contact {
  overflow: hidden;
  background: var(--cream);
  color: var(--ink);
}

.pphc-contact * {
  box-sizing: border-box;
}

.pphc-contact h1,
.pphc-contact h2 {
  margin: 0 0 22px;
  color: var(--navy);
  font-family: "Fraunces", Georgia, serif;
  font-weight: 560;
  letter-spacing: 0;
}

.pphc-contact h1 {
  max-width: 800px;
  font-size: clamp(44px, 5.2vw, 72px);
  line-height: .98;
}

.contact-hero-title {
  max-width: 820px;
  margin: 0 0 22px !important;
  color: var(--navy) !important;
  font-family: "Fraunces", Georgia, serif;
  font-size: clamp(38px, 5.8vw, 82px) !important;
  font-weight: 560;
  line-height: .98 !important;
}

.pphc-contact h2 {
  max-width: 760px;
  font-size: clamp(34px, 4.2vw, 58px);
  line-height: 1.05;
}

.pphc-contact h3 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.2;
}

.pphc-contact p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 18px;
  line-height: 1.72;
}

.eyebrow {
  margin: 0 0 16px !important;
  color: var(--orange) !important;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 12px !important;
  font-weight: 900;
  line-height: 1.5 !important;
}

.light {
  color: rgba(255,255,255,.82) !important;
}

.contact-hero,
.quick-strip,
.request-layout,
.section-wide,
.final-cta {
  width: min(calc(100% - 44px), 1180px);
  margin: 0 auto;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, .78fr);
  gap: clamp(34px, 6vw, 76px);
  align-items: center;
  padding: clamp(72px, 8vw, 122px) 0 42px;
}

.lead {
  max-width: 760px;
  font-size: clamp(20px, 2vw, 25px) !important;
  line-height: 1.5 !important;
}

.contact-actions,
.trust-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 14px 24px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 900;
  text-decoration: none !important;
  box-shadow: 0 14px 30px rgba(15,27,45,.12);
}

.primary {
  color: #fff !important;
  background: var(--orange);
}

.secondary {
  color: var(--navy) !important;
  background: rgba(255,255,255,.55);
  border-color: rgba(15,27,45,.16);
}

.light-button {
  color: #fff !important;
  border-color: rgba(255,255,255,.5);
}

.trust-chips span {
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.66);
  color: var(--navy);
  font-size: 13px;
  font-weight: 850;
}

.contact-hero-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  background: var(--mist);
  box-shadow: 0 28px 70px rgba(15,27,45,.16);
}

.contact-hero-card img,
.local-note img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
  display: block;
}

.hero-note {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 280px;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(251,247,240,.94);
  box-shadow: 0 18px 38px rgba(0,0,0,.14);
}

.hero-note strong {
  display: block;
  color: var(--navy);
  font-family: "Caveat", cursive;
  font-size: 30px;
  line-height: 1;
}

.hero-note span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.quick-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  padding: 0 0 clamp(58px, 7vw, 92px);
}

.quick-strip a,
.quick-strip div {
  min-height: 120px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.58);
  color: var(--navy);
  text-decoration: none !important;
  box-shadow: 0 18px 36px rgba(15,27,45,.07);
}

.quick-strip b,
.mini-package-grid span {
  display: block;
  margin-bottom: 8px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: 12px;
  font-weight: 950;
}

.quick-strip span {
  color: var(--navy);
  font-size: 17px;
  font-weight: 850;
  line-height: 1.35;
}

.request-layout {
  display: grid;
  grid-template-columns: minmax(280px, .42fr) minmax(0, .58fr);
  gap: clamp(28px, 5vw, 58px);
  align-items: start;
  padding: clamp(58px, 8vw, 96px) 0;
  border-top: 1px solid var(--line);
}

.form-intro {
  position: sticky;
  top: 28px;
}

.security-callout,
.security-fieldset,
.form-success,
.form-error {
  padding: 22px;
  border-radius: 8px;
}

.security-callout {
  margin-top: 26px;
  background: var(--navy);
  box-shadow: 0 24px 46px rgba(15,27,45,.12);
}

.security-callout h3,
.security-callout p {
  color: #fff;
}

.security-callout p {
  margin-bottom: 0;
  color: rgba(255,255,255,.78);
}

.care-form {
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.7);
  box-shadow: 0 30px 70px rgba(15,27,45,.1);
}

.care-form fieldset {
  margin: 0 0 28px;
  padding: 0 0 28px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

.care-form legend {
  margin: 0 0 18px;
  color: var(--navy);
  font-size: 20px;
  font-weight: 950;
}

.field-grid {
  display: grid;
  gap: 16px;
}

.field-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.care-form label,
.check-group > span {
  display: block;
  color: var(--navy);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.care-form label span {
  margin-left: 4px;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 10px;
}

.care-form input,
.care-form select,
.care-form textarea {
  width: 100%;
  min-height: 52px;
  margin-top: 8px;
  padding: 13px 14px;
  border: 1px solid #d8cfbe;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: 500 16px/1.35 "General Sans", system-ui, sans-serif;
}

.care-form textarea {
  min-height: 134px;
  resize: vertical;
}

.help-text {
  margin: 12px 0 0 !important;
  color: var(--muted) !important;
  font-size: 14px !important;
  line-height: 1.55 !important;
}

.check-group {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin-top: 16px;
}

.check-group > span {
  grid-column: 1 / -1;
}

.check-group label,
.consent {
  display: flex !important;
  gap: 10px;
  align-items: flex-start;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251,247,240,.72);
  font-weight: 750 !important;
}

.check-group input,
.consent input {
  width: auto;
  min-height: 0;
  margin: 3px 0 0;
}

.security-fieldset {
  background: var(--paper);
}

.security-fieldset p {
  margin-bottom: 16px;
  color: var(--navy);
  font-size: 16px;
  line-height: 1.6;
}

.form-success {
  margin-bottom: 26px;
  border: 1px solid rgba(30,64,175,.16);
  background: #EEF5F1;
  color: var(--navy);
}

.form-success strong,
.form-success span {
  display: block;
}

.form-success span {
  margin-top: 6px;
  color: var(--muted);
}

.form-error {
  margin-bottom: 26px;
  background: #fff0f1;
  color: var(--berry);
  font-weight: 850;
}

.submit-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.section-wide {
  padding: clamp(58px, 8vw, 104px) 0;
}

.section-head {
  max-width: 760px;
  margin-bottom: 34px;
}

.step-grid,
.mini-package-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.step-grid div,
.mini-package-grid article {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255,255,255,.62);
  box-shadow: 0 18px 38px rgba(15,27,45,.07);
}

.step-grid b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-bottom: 18px;
  border-radius: 999px;
  background: var(--orange);
  color: #fff;
}

.step-grid p,
.mini-package-grid p {
  margin-bottom: 0;
  font-size: 16px;
  line-height: 1.55;
}

.local-note {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(320px, .7fr);
  gap: clamp(28px, 6vw, 70px);
  align-items: center;
  border-top: 1px solid var(--line);
}

.local-note img {
  min-height: 430px;
  border-radius: 8px;
  box-shadow: 0 28px 70px rgba(15,27,45,.14);
}

.package-guide {
  border-top: 1px solid var(--line);
}

.mini-package-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-bottom: 24px;
}

.mini-package-grid b {
  display: block;
  margin-bottom: 14px;
  color: var(--navy);
  font-size: 24px;
}

.final-cta {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
  margin-bottom: 42px;
  padding: clamp(30px, 5vw, 52px);
  border-radius: 8px;
  background: var(--navy);
  box-shadow: 0 28px 70px rgba(15,27,45,.18);
}

.final-cta h2,
.final-cta p {
  color: #fff;
}

.final-cta p {
  max-width: 620px;
  color: rgba(255,255,255,.76);
}

@media (max-width: 980px) {
  .contact-hero,
  .request-layout,
  .local-note {
    grid-template-columns: 1fr;
  }

  .form-intro {
    position: static;
  }

  .quick-strip,
  .step-grid,
  .mini-package-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 680px) {
  .contact-hero,
  .quick-strip,
  .request-layout,
  .section-wide,
  .final-cta {
    width: min(calc(100% - 28px), 1180px);
  }

  .contact-hero {
    padding-top: 46px;
  }

  .contact-actions,
  .final-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .quick-strip,
  .field-grid.two,
  .field-grid.three,
  .check-group,
  .step-grid,
  .mini-package-grid {
    grid-template-columns: 1fr;
  }

  .contact-hero-card img,
  .local-note img {
    min-height: 340px;
  }

  .hero-note {
    right: 14px;
    bottom: 14px;
    left: 14px;
  }

  .care-form {
    padding: 18px;
  }
}
