:root {
  --ink: #4c453e;
  --cta: #36bdff;
  --cta-dark: #0b8fd6;
  --aqua: #dceced;
  --paper: #fafaf7;
  --line: #cfc4b7;
  --muted: #5d514b;
  --white: #ffffff;
  --shadow: 0 18px 48px rgba(35, 24, 18, 0.14);
  --hero-min-height: 500px;
  --section-padding: 32px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Besley", Georgia, "Times New Roman", serif;
  font-size: 16px;
  line-height: 1.75;
}

img,
svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

main > section:not(.hero) {
  padding-block: var(--section-padding);
}

.pricing.wrap {
  padding: 0;
}

.prose-section {
  max-width: 820px;
}

.hero {
  position: relative;
  min-height: var(--hero-min-height);
  background: var(--paper);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(90deg, color-mix(in srgb, var(--paper) 98%, transparent) 0%, color-mix(in srgb, var(--paper) 90%, transparent) 36%, color-mix(in srgb, var(--paper) 54%, transparent) 56%, color-mix(in srgb, var(--paper) 8%, transparent) 100%),
    linear-gradient(180deg, transparent 62%, color-mix(in srgb, var(--paper) 64%, transparent) 82%, var(--paper) 100%);
}

.hero__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-image: url("assets/hero-family-photos.jpg");
  background-position: center right;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero__content {
  position: relative;
  z-index: 2;
  min-height: var(--hero-min-height);
  padding-block: 48px 82px;
}

.brand {
  margin: 0 0 70px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.brand span {
  color: var(--cta);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-weight: 600;
}

h1 {
  max-width: 540px;
  margin-bottom: 28px;
  font-size: clamp(24px, 4.6vw, 32px);
  line-height: 1.25;
}

h2 {
  font-size: clamp(20px, 3vw, 24px);
  line-height: 1.25;
  text-align: center;
  margin-bottom: 24px;
}

h3 {
  font-size: 19px;
  line-height: 1.25;
  margin-bottom: 16px;
}

.subhead {
  font-size: clamp(16px, 3vw, 18px);
  font-weight: 600;
  line-height: 1.45;
  max-width: 540px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  min-width: 340px;
  margin-top: 18px;
  padding: 14px 28px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(180deg, var(--cta), var(--cta-dark));
  box-shadow: 0 10px 24px rgba(54, 189, 255, 0.24);
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  transition:
    transform 160ms ease,
    box-shadow 160ms ease,
    filter 160ms ease;
}

.button:hover {
  filter: brightness(0.96);
  transform: translateY(-1px);
  box-shadow: 0 14px 28px rgba(54, 189, 255, 0.28);
}

.icon-grid,
.mini-grid {
  display: grid;
  gap: 30px;
  align-items: start;
  text-align: center;
}

.icon-grid {
  grid-template-columns: repeat(4, 1fr);
  margin-top: 34px;
}

.icon-grid article,
.mini-grid article {
  display: grid;
  justify-items: center;
  gap: 14px;
}

.icon-grid svg,
.mini-grid svg {
  width: 58px;
  height: 58px;
  color: var(--cta-dark);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.1;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-grid h3,
.mini-grid h3 {
  max-width: 170px;
  margin: 0;
  font-size: 17px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.price-card {
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(47, 33, 21, 0.1);
}

.price-card--primary {
  display: grid;
  grid-template-columns: minmax(260px, 0.82fr) 1.18fr;
  gap: 44px;
  align-items: stretch;
  padding: 18px;
  background:
    linear-gradient(90deg, rgba(54, 189, 255, 0.08), rgba(255, 255, 255, 0) 46%),
    var(--white);
  border: 1px solid rgba(47, 33, 21, 0.14);
}

.price-card__intro {
  display: grid;
  align-content: center;
  min-height: 0;
  padding: 32px;
  color: var(--ink);
  background: rgba(54, 189, 255, 0.08);
  border-radius: 6px;
  text-align: center;
}

.eyebrow {
  margin-bottom: 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.2;
}

.price {
  margin-bottom: 8px;
  font-size: clamp(64px, 9vw, 80px);
  font-weight: 300;
  line-height: 1;
}

.price-note {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 17px;
  font-weight: 600;
}

.price-card__details {
  display: grid;
  align-content: center;
  padding: 28px 28px 28px 0;
}

.price-card__details h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.price-card__details ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.price-card__details li {
  display: grid;
  grid-template-columns: 18px 1fr;
  column-gap: 12px;
  align-items: start;
  margin-bottom: 10px;
}

.price-card__details li::before {
  display: grid;
  place-items: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--cta);
  content: "✓";
  font-size: 12px;
  line-height: 1;
  margin-top: 6px;
}

.additional {
  margin: 20px 0 0;
  font-weight: 600;
}

.offsite {
  max-width: 980px;
  margin: 10px auto 0;
  padding: 6px 16px;
  color: var(--muted);
  font-size: 14px;
}

.offsite p {
  margin: 0;
}

.offsite strong {
  color: var(--ink);
}

.perfect h2 {
  margin-bottom: 30px;
}

.mini-grid {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  justify-content: center;
}

.mini-grid svg {
  width: 52px;
  height: 52px;
}

.mini-grid h3 {
  font-size: 16px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 54px;
  align-items: center;
}

.split-section img {
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.split-section h2 {
  text-align: left;
}

.split-section p {
  max-width: 680px;
}

.faq-section {
  max-width: 900px;
}

.faq-section h2 {
  margin-bottom: 22px;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-list details {
  padding: 18px 20px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 8px 28px rgba(47, 33, 21, 0.06);
}

.faq-list summary {
  cursor: pointer;
  font-weight: 600;
}

.faq-list p {
  margin: 12px 0 0;
  color: var(--muted);
}

main > section.closing {
  position: relative;
  padding-block: 80px;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.6)),
    url("assets/location-coast.jpg") center / cover no-repeat;
  color: var(--white);
  text-align: center;
}

.closing .wrap {
  max-width: 940px;
}

.closing h2 {
  margin-bottom: 14px;
  color: var(--white);
}

.closing p {
  color: rgba(255, 255, 255, 0.92);
}

.service-areas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 9px;
  max-width: 840px;
  margin: 24px auto 28px;
  padding: 0;
  list-style: none;
}

.service-areas li {
  padding: 5px 9px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
  font-size: 13px;
}

.closing hr {
  width: 86%;
  margin: 34px auto 24px;
  border: 0;
}

.closing .button {
  min-width: 300px;
  margin-top: 4px;
}

.closing .small {
  margin-top: 18px;
  margin-bottom: 0;
}

.site-footer {
  padding-block: 18px;
  background: var(--white);
  color: var(--muted);
  text-align: center;
}

.site-footer p {
  margin: 0;
  font-size: 13px;
}

@media (max-width: 900px) {
  :root {
    --hero-min-height: 0px;
    --section-padding: 28px;
  }

  .wrap {
    width: min(100% - 32px, 720px);
  }

  .hero::before {
    background:
      linear-gradient(180deg, color-mix(in srgb, var(--paper) 18%, transparent) 0%, color-mix(in srgb, var(--paper) 72%, transparent) 36%, color-mix(in srgb, var(--paper) 96%, transparent) 68%, var(--paper) 100%);
  }

  .hero__image {
    height: 100%;
    background-position: 64% top;
  }

  .hero__content {
    padding-block: 34px 56px;
  }

  .subhead {
    font-size: 18px;
  }

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

  .price-card--primary,
  .offsite {
    grid-template-columns: 1fr;
  }

  .price-card__intro {
    padding: 24px;
  }

  .price-card__details {
    padding: 0 10px 10px;
  }

  .price-card__details {
    padding: 0;
  }

  .eyebrow {
    font-size: 18px;
  }

  .split-section {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .split-section img {
    margin-inline: auto;
  }

  .split-section h2 {
    text-align: center;
  }

  .split-section p {
    margin-inline: auto;
  }

}

@media (max-width: 560px) {
  body {
    font-size: 16px;
  }

  .wrap {
    width: min(100% - 28px, 480px);
  }

  .hero__content {
    padding-block: 34px 44px;
  }

  h1 {
    font-size: 26px;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .icon-grid,
  .mini-grid {
    gap: 26px 18px;
  }

  .icon-grid h3,
  .mini-grid h3 {
    font-size: 15px;
  }

  .price {
    font-size: 64px;
  }

  .closing p {
    font-size: 17px;
  }
}
