/* =========================
   Custom Page Base
========================= */
.custom-page {
  color: var(--color-base);
  background: #fff;
}

.custom-page__inner {
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.custom-section-subtitle {
  margin: 0 0 12px;
  color: var(--color-accent);
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.custom-section-title {
  margin: 0;
  color: var(--color-base);
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.35;
  letter-spacing: 0.08em;
  font-weight: var(--fw-regular);
}

/* =========================
   Hero
========================= */

.custom-hero {
  position: relative;
  min-height: 78svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
}

.custom-hero__media {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.custom-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.38);
}

.custom-hero--overlay-dark .custom-hero__overlay {
  background: rgba(0, 0, 0, 0.48);
}

.custom-hero--overlay-medium .custom-hero__overlay {
  background: rgba(0, 0, 0, 0.34);
}

.custom-hero--overlay-light .custom-hero__overlay {
  background: rgba(0, 0, 0, 0.22);
}

.custom-hero__inner {
  position: relative;
  z-index: 3;
  width: min(1120px, calc(100% - 48px));
  margin: 0 auto;
}

.custom-hero__content {
  max-width: 720px;
}

.custom-hero--center .custom-hero__content {
  margin: 0 auto;
  text-align: center;
}

.custom-hero--right .custom-hero__content {
  margin-left: auto;
  text-align: right;
}

.custom-hero__eyebrow {
  margin: 0 0 18px;
  font-size: 12px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.custom-hero__title {
  margin: 0;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1.18;
  letter-spacing: 0.08em;
  font-weight: var(--fw-regular);
color:#fff;
}

.custom-hero__lead {
  max-width: 680px;
  margin: 24px 0 0;
  font-size: clamp(14px, 1.6vw, 17px);
  line-height: 2;
  letter-spacing: 0.06em;
}

.custom-hero--center .custom-hero__lead {
  margin-left: auto;
  margin-right: auto;
}

.custom-hero--right .custom-hero__lead {
  margin-left: auto;
}

/* =========================
   Intro
========================= */

.custom-intro {
  padding: 112px 0;
}

.custom-intro--bg-soft {
  background: #f7f2ec;
}

.custom-intro__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.custom-intro--image-left .custom-intro__image {
  order: -1;
}

.custom-intro--center .custom-intro__layout {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.custom-intro__text {
  margin-top: 26px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.05em;
}

.custom-intro__text p {
  margin: 0 0 1.4em;
}

.custom-intro__text p:last-child {
  margin-bottom: 0;
}

.custom-intro__image {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.custom-intro__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.custom-intro--bg-soft {
  background: #f7f2ec;
}

.custom-intro--bg-gray {
  background: #f3f4f5;
}

.custom-intro--bg-navy {
  background: #f1f4f8;
}

.custom-intro--bg-gold {
  background: #f8f5eb;
}
/* =========================
   Flexible Sections
========================= */

.custom-sections {
  display: block;
}

.custom-section {
  padding: 104px 0;
}

.custom-section--bg-soft {
  background: #f8f4ef;
}

.custom-section__layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 64px;
  align-items: center;
}

.custom-section--image-left .custom-section__image {
  order: -1;
}

.custom-section--center .custom-section__layout {
  display: block;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.custom-section__text {
  margin-top: 26px;
  color: var(--color-text);
  font-size: 15px;
  line-height: 2.1;
  letter-spacing: 0.05em;
}

.custom-section__text p {
  margin: 0 0 1.4em;
}

.custom-section__text p:last-child {
  margin-bottom: 0;
}

.custom-section__image {
  margin: 0;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}

.custom-section__image img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.custom-section__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 210px;
  min-height: 54px;
  margin-top: 34px;
  padding: 12px 28px;
  border-radius: 999px;
  background: var(--color-base);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.custom-section__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.14);
  opacity: 0.92;
}
.custom-section--bg-soft {
  background: #f8f4ef;
}

.custom-section--bg-gray {
  background: #f3f4f5;
}

.custom-section--bg-navy {
  background: #f1f4f8;
}

.custom-section--bg-gold {
  background: #f8f5eb;
}
/* =========================
   CTA
========================= */

.custom-cta {
  padding: 104px 0 120px;
}

.custom-cta--soft {
  background: #f7f2ec;
}

.custom-cta--dark {
  background: #2f2a28;
  color: #fff;
}

.custom-cta__box {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 40px;
  border-radius: 32px;
  text-align: center;
  background: #f8f4ef;
  border: 1px solid rgba(47, 42, 40, 0.08);
  box-shadow: var(--shadow-soft);
}

.custom-cta--dark .custom-cta__box {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
}

.custom-cta__title {
  margin: 0;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.45;
  letter-spacing: 0.08em;
  font-weight: var(--fw-regular);
}

.custom-cta__text {
  max-width: 720px;
  margin: 22px auto 0;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.05em;
}

.custom-cta__text p {
  margin: 0;
}

.custom-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 230px;
  min-height: 58px;
  margin-top: 32px;
  padding: 14px 30px;
  border-radius: 999px;
  background: var(--color-base);
  color: #fff;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 0.08em;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
}

.custom-cta--dark .custom-cta__button {
  background: #fff;
  color: #2f2a28;
}

.custom-cta__button:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.16);
  opacity: 0.94;
}

/* =========================
   Mobile
========================= */

@media (max-width: 767px) {
  .custom-page__inner,
  .custom-hero__inner {
    width: min(100%, calc(100% - 32px));
  }

  .custom-hero {
    min-height: 72svh;
  }

  .custom-hero__title {
    font-size: clamp(34px, 10vw, 48px);
  }

  .custom-hero__lead {
    font-size: 14px;
    line-height: 1.9;
  }

  .custom-hero--right .custom-hero__content {
    text-align: left;
  }

  .custom-intro,
  .custom-section {
    padding: 72px 0;
  }

  .custom-intro__layout,
  .custom-section__layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .custom-intro--image-left .custom-intro__image,
  .custom-section--image-left .custom-section__image {
    order: 0;
  }

  .custom-intro--center .custom-intro__layout,
  .custom-section--center .custom-section__layout {
    text-align: left;
  }

  .custom-section-title {
    font-size: clamp(24px, 7vw, 34px);
  }

  .custom-intro__text,
  .custom-section__text {
    font-size: 14px;
    line-height: 1.95;
  }

  .custom-intro__image,
  .custom-section__image {
    border-radius: 20px;
  }

  .custom-cta {
    padding: 72px 0 88px;
  }

  .custom-cta__box {
    padding: 36px 22px;
    border-radius: 24px;
  }

  .custom-cta__button,
  .custom-section__button {
    width: 100%;
  }
}