﻿.page-content {
  padding: 72px 24px;
  text-align: center;
}

.page-content h1 {
  margin-top: 0;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
}

.home-intro {
  max-width: 820px;
  margin: 0 auto;
}

.home-eyebrow {
  margin: 0 0 10px;
  color: #4f7c6d;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.home-intro h1 {
  margin-bottom: 22px;
  font-size: clamp(2.15rem, 5vw, 3.5rem);
  line-height: 1.12;
}

.home-lead {
  margin: 0;
  color: #3d5048;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.08rem, 2vw, 1.25rem);
  line-height: 1.8;
}

.profile-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 56px;
  width: min(760px, 100%);
  margin: 28px auto 0;
}

.professional-headshot {
  display: block;
  width: 220px;
  height: 280px;
  flex: 0 0 220px;
  margin: 0;
  border: 5px solid #ffffff;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(31, 55, 46, 0.16);
  object-fit: cover;
  object-position: center top;
}

.contact-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  color: #3d5048;
  font-size: 1.1rem;
  font-weight: 600;
}

.phone-link {
  color: #245a4a;
  font-size: clamp(1.55rem, 4vw, 2rem);
  font-weight: 700;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.phone-link:hover,
.phone-link:focus-visible {
  color: #173f33;
}

@media (max-width: 720px) {
  .profile-contact {
    flex-direction: column;
    gap: 24px;
  }

  .contact-details {
    align-items: center;
  }
}

.location-section {
  display: grid;
  grid-template-columns: minmax(240px, 0.75fr) minmax(0, 1.4fr);
  width: min(960px, 100%);
  margin: 64px auto 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #dce5e1;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(31, 55, 46, 0.1);
  text-align: left;
}

.location-details {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 36px;
}

.location-eyebrow {
  margin: 0 0 8px;
  color: #4f7c6d;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.location-details h2 {
  margin: 0 0 14px;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
}

.location-details address {
  margin-bottom: 24px;
  color: #3d5048;
  font-style: normal;
  line-height: 1.7;
}

.directions-button {
  display: inline-block;
  padding: 12px 18px;
  border-radius: 7px;
  color: #ffffff;
  background: #245a4a;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.directions-button:hover,
.directions-button:focus-visible {
  background: #173f33;
  transform: translateY(-1px);
}

.map-frame {
  min-height: 360px;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 360px;
  border: 0;
}

@media (max-width: 720px) {
  .location-section {
    grid-template-columns: 1fr;
    margin-top: 48px;
  }

  .location-details {
    align-items: center;
    padding: 30px 22px;
    text-align: center;
  }

  .map-frame,
  .map-frame iframe {
    min-height: 300px;
  }
}

/* Homepage layout */
.page-content {
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 28px 24px 44px;
  text-align: left;
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  align-items: start;
  gap: clamp(48px, 6vw, 88px);
}

.home-intro {
  max-width: 520px;
  margin: 0;
}

.home-photo-stack {
  display: grid;
  gap: 18px;
  width: 100%;
  max-width: 610px;
  margin-left: auto;
}

.home-photo-stack img {
  display: block;
  width: 100%;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(31, 55, 46, 0.12);
  object-fit: cover;
}

.home-photo-stack img:first-child {
  aspect-ratio: auto;
  height: 340px;
  object-position: center bottom;
}

.home-photo-stack img:last-child {
  height: 270px;
  object-position: center 55%;
}

.home-info-grid {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(0, 2fr);
  gap: 24px;
  margin-top: 56px;
}

.home-info-grid .profile-contact,
.home-info-grid .location-section {
  width: 100%;
  margin: 0;
}

.home-info-grid .contact-card {
  align-self: stretch;
  padding: 30px;
  background: #ffffff;
  border: 1px solid #dce5e1;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(31, 55, 46, 0.1);
}

.home-info-grid .location-section {
  grid-template-columns: minmax(190px, 0.8fr) minmax(0, 1.2fr);
  min-height: 330px;
}

@media (max-width: 900px) {
  .home-hero {
    grid-template-columns: 1fr;
    min-height: auto;
    text-align: center;
  }

  .home-intro {
    max-width: 760px;
    margin: 0 auto;
  }

  .home-photo-stack {
    width: min(760px, 100%);
    margin: 0 auto;
  }

  .home-photo-stack img {
    height: auto;
  }

  .home-photo-stack img:first-child {
    height: clamp(280px, 50vw, 420px);
  }

  .home-photo-stack img:last-child {
    height: clamp(240px, 48vw, 360px);
  }

  .home-info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .home-photo-stack img {
    height: auto;
  }

  .home-photo-stack img:first-child {
    height: 260px;
  }

  .home-photo-stack img:last-child {
    height: 240px;
  }

  .home-info-grid .location-section {
    grid-template-columns: 1fr;
  }

  .home-info-grid .location-details {
    align-items: center;
    text-align: center;
  }

  .home-info-grid .map-frame,
  .home-info-grid .map-frame iframe {
    min-height: 280px;
  }
}

.home-info-grid .contact-card {
  display: block;
  padding: 22px 24px;
}

.contact-card-heading {
  margin-bottom: 16px;
}

.contact-card-heading h2 {
  margin: 0;
  color: #245a4a;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
}

.contact-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 0;
}

.contact-item {
  min-width: 0;
}

.contact-item--wide {
  grid-column: 1 / -1;
}

.contact-item dt {
  margin-bottom: 4px;
  color: #60746b;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-item dd {
  margin: 0;
  color: #34473f;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.contact-link {
  color: #245a4a;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.contact-link:hover,
.contact-link:focus-visible {
  color: #173f33;
}

.contact-note {
  display: block;
  margin-top: 3px;
  color: #667970;
  font-size: 0.78rem;
  font-weight: 400;
}

@media (max-width: 500px) {
  .contact-list {
    grid-template-columns: 1fr;
  }

  .contact-item--wide {
    grid-column: auto;
  }
}

/* Refined homepage hero and contact hierarchy */
.home-intro h1 {
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.5vw, 4.5rem);
  line-height: 1.04;
}

.home-lead {
  max-width: 500px;
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(1.05rem, 1.7vw, 1.18rem);
  line-height: 1.75;
}

.home-actions {
  margin-top: 30px;
}

.primary-action {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid #245a4a;
  border-radius: 7px;
  color: #ffffff;
  background: #245a4a;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 160ms ease, transform 160ms ease;
}

.primary-action:hover,
.primary-action:focus-visible {
  background: #173f33;
  transform: translateY(-1px);
}

.home-info-grid .contact-card {
  padding: 24px 28px;
}

.contact-card-title {
  margin: 0 0 22px;
  color: #4f7c6d;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.primary-contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin: 0;
  padding-bottom: 22px;
}

.primary-contact-item,
.secondary-contact-item {
  min-width: 0;
}

.primary-contact-item dt {
  margin-bottom: 7px;
  color: #667970;
  font-size: 0.78rem;
  font-weight: 600;
}

.primary-contact-item dd {
  margin: 0;
  color: #34473f;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.primary-contact-item .contact-note {
  margin-top: 5px;
  font-size: 0.8rem;
}

.secondary-contact-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 0;
  padding-top: 18px;
  border-top: 1px solid #dfe7e3;
}

.secondary-contact-item dt {
  margin-bottom: 4px;
  color: #73857d;
  font-size: 0.69rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.secondary-contact-item dd {
  margin: 0;
  color: #4b5d55;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.home-info-grid .location-section {
  grid-template-columns: minmax(260px, 2fr) minmax(0, 3fr);
}

.home-info-grid .location-details {
  padding: 28px;
}

.home-info-grid .location-details h2 {
  font-size: clamp(1.35rem, 2vw, 1.65rem);
}

@media (max-width: 900px) {
  .home-intro {
    text-align: center;
  }

  .home-lead {
    margin-right: auto;
    margin-left: auto;
  }

  .home-info-grid .location-section {
    grid-template-columns: minmax(250px, 2fr) minmax(0, 3fr);
  }
}

@media (max-width: 620px) {
  .home-intro h1 {
    font-size: clamp(2.6rem, 13vw, 3.5rem);
  }

  .primary-contact-list,
  .secondary-contact-list {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .home-info-grid .location-section {
    grid-template-columns: 1fr;
  }
}

.help-section {
  grid-column: 1 / -1;
  width: 100%;
  margin-top: 32px;
  padding: 54px 40px 42px;
  background: #ffffff;
  border-top: 1px solid #e7ece9;
}

.help-section__header {
  margin-bottom: 34px;
  text-align: center;
}

.section-label {
  margin: 0 0 8px;
  color: #276652;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.help-section__header h2 {
  margin: 0;
  color: #30332f;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 500;
  line-height: 1.2;
}

.help-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  width: min(1180px, 100%);
  margin: 0 auto;
}

.help-item {
  position: relative;
  padding: 0 24px;
  text-align: center;
}

.help-item:not(:last-child)::after {
  position: absolute;
  top: 22px;
  right: 0;
  width: 1px;
  height: calc(100% - 22px);
  background: #dfe5e1;
  content: "";
}

.help-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 15px;
  border-radius: 50%;
  color: #376b59;
  background: #e7efe9;
}

.help-icon svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.help-item h3 {
  margin: 0 0 10px;
  color: #202421;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
}

.help-item p {
  max-width: 205px;
  margin: 0 auto;
  color: #4e554f;
  font-size: 0.86rem;
  line-height: 1.65;
}

.help-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(1180px, 100%);
  margin: 38px auto 0;
  padding: 15px 24px;
  border-radius: 8px;
  background: #f0f4ef;
}

.help-footer p {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: #303630;
  line-height: 1.5;
}

.help-footer__icon {
  flex: 0 0 auto;
  width: 24px;
  height: 24px;
  fill: none;
  color: #5f8a6b;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.help-footer a {
  color: #276652;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}

.help-footer a:hover,
.help-footer a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 1000px) {
  .help-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 38px 0;
  }

  .help-item {
    padding: 0 34px;
  }

  .help-item::after {
    display: none;
  }

  .help-item:nth-child(odd):not(:last-child) {
    border-right: 1px solid #dfe5e1;
  }
}

@media (max-width: 600px) {
  .help-section {
    margin-top: 12px;
    padding: 46px 22px 36px;
  }

  .help-section__header {
    margin-bottom: 26px;
  }

  .help-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .help-item {
    padding: 26px 0;
    border-right: 0 !important;
  }

  .help-item:not(:last-child) {
    border-bottom: 1px solid #dfe5e1;
  }

  .help-item:first-child {
    padding-top: 0;
  }

  .help-item p {
    max-width: 320px;
  }

  .help-footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    margin-top: 30px;
    padding: 19px;
  }

  .help-footer a {
    white-space: normal;
  }
}

