/*
Theme Name: Peter Project Outreach New
Theme URI: https://thepeterproject.com
Author: Peter Project Outreach New
Template: Divi
Description: WordPress theme handoff for the approved Peter Project Outreach website design.
Version: 1.0.0
Text Domain: peter-project-outreach-new
*/

:root {
  --teal-950: #073246;
  --teal-900: #087c88;
  --teal-800: #0595a3;
  --teal-700: #0aa6b5;
  --teal-600: #18b3c0;
  --teal-200: #a9e4e9;
  --teal-100: #e4f7f8;
  --ivory: #fff9f2;
  --warm-white: #ffffff;
  --gold: #ef8d3a;
  --gold-deep: #d76e28;
  --coral: #bd2c3a;
  --ink: #1f2b2f;
  --muted: #647176;
  --line: rgba(31, 43, 47, 0.14);
  --shadow: 0 24px 64px rgba(20, 28, 31, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--warm-white);
  color: var(--ink);
  font-family: var(--font-geist-sans), Arial, Helvetica, sans-serif;
  -webkit-font-smoothing: antialiased;
}

body,
button,
a,
summary {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

a:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--teal-600);
  outline-offset: 4px;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.97);
  border-bottom: 1px solid rgba(31, 43, 47, 0.1);
  backdrop-filter: blur(18px);
}

.header-inner {
  width: min(1280px, calc(100% - 56px));
  min-height: 92px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.brand img {
  width: 92px;
  height: 74px;
  object-fit: contain;
}
.desktop-nav a{
  color: var(--teal-950);
}
.desktop-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(20px, 2.35vw, 38px);
  color: var(--teal-950);
  font-size: 15px;
  font-weight: 650;
}

.desktop-nav > a:not(.nav-contact) {
  position: relative;
  padding-block: 12px;
}

.desktop-nav > a:not(.nav-contact)::after {
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  height: 2px;
  background: var(--teal-600);
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.desktop-nav > a:not(.nav-contact):hover::after {
  transform: scaleX(1);
}

body .nav-contact {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 26px;
  border-radius: 12px;
  background: var(--teal-800);
  color: white;
  transition: background 180ms ease, transform 180ms ease;
}

.nav-contact:hover {
  background: var(--teal-900);
  transform: translateY(-2px);
}

.mobile-menu {
  display: none;
}

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--teal-950);
  color: white;
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: -2%;
  background: url("assets/images/hero-youth-wide-natural.png") 64% 48% / cover no-repeat;
  content: "";
  transform: translateX(7%) scale(1.045);
  transform-origin: center right;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 58%, rgba(3, 30, 49, 0.32) 80%, rgba(3, 30, 49, 0.62) 100%),
    linear-gradient(
      90deg,
      rgba(3, 30, 49, 0.99) 0%,
      rgba(3, 30, 49, 0.96) 23%,
      rgba(3, 30, 49, 0.78) 33%,
      rgba(3, 30, 49, 0.32) 43%,
      rgba(3, 30, 49, 0.06) 50%,
      transparent 58%
    );
  content: "";
  pointer-events: none;
}

.hero-inner {
  position: relative;
  width: min(1260px, calc(100% - 56px));
  min-height: 615px;
  margin-inline: auto;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 630px;
  padding: 68px 0 72px;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--gold);
  font-size: 14px;
  font-weight: 750;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero .eyebrow {
  max-width: 410px;
  color: #4ed3da;
  font-size: 15px;
  letter-spacing: 0.075em;
  line-height: 1.55;
  text-transform: uppercase;
}

.eyebrow-rule {
  width: 72px;
  height: 3px;
  margin: 24px 0 26px;
  background: var(--teal-600);
}

.hero h1 {
  max-width: 570px;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(54px, 4.8vw, 70px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 0.98;
  text-wrap: balance;
}

.hero-description {
  max-width: 480px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions,
.referral-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 56px;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 25px;
  border: 2px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 750;
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease,
    box-shadow 180ms ease, transform 180ms ease;
}

.button span,
.text-link span,
.footer-contact span {
  font-size: 1.2em;
  transition: transform 180ms ease;
}

.button:hover span,
.text-link:hover span,
.footer-contact:hover span {
  transform: translateX(4px);
}

.button-gold {
  background: var(--teal-800);
  color: white;
}

.button-gold:hover {
  background: var(--teal-950);
  box-shadow: 0 12px 28px rgba(7, 50, 70, 0.24);
  transform: translateY(-2px);
}

.hero .button-gold {
  min-width: 192px;
  background: var(--teal-800);
  color: white;
}

.hero .button-gold:hover {
  background: var(--teal-700);
  box-shadow: 0 12px 28px rgba(3, 30, 49, 0.3);
}

.hero .button-light {
  min-width: 194px;
  border-color: rgba(255, 249, 242, 0.82);
  background: rgba(3, 30, 49, 0.2);
  color: white;
}

.hero .button-light:hover {
  border-color: white;
  background: rgba(255, 249, 242, 0.12);
}

.button-light {
  border-color: rgba(10, 166, 181, 0.28);
  background: white;
  color: var(--teal-900);
}

.button-light:hover {
  border-color: var(--teal-600);
  background: var(--teal-100);
  transform: translateY(-2px);
}

.button-teal {
  background: var(--teal-800);
  color: white;
}

.button-teal:hover {
  background: var(--teal-950);
  box-shadow: 0 12px 28px rgba(20, 28, 31, 0.2);
  transform: translateY(-2px);
}

.hero-cards {
  display: grid;
  width: min(1296px, calc(100% - 96px));
  margin-inline: auto;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0;
}

.hero-support-wrap {
  position: relative;
  z-index: 6;
  width: 100%;
  margin: 0;
  border-top: 1px solid rgba(255, 249, 242, 0.28);
  background: rgba(3, 30, 49, 0.82);
  backdrop-filter: blur(12px);
}

.hero-cards article {
  position: relative;
  display: flex;
  min-height: 108px;
  align-items: center;
  padding: 22px 44px;
  border: 0;
  border-right: 1px solid rgba(14, 167, 174, 0.7);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  color: white;
}

.hero-cards article:last-child {
  border-right: 0;
}

.hero-cards strong {
  display: block;
  margin-bottom: 5px;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 400;
}

.hero-cards p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.45;
}

.trust-strip {
  position: relative;
  z-index: 5;
  display: grid;
  min-height: 80px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 0;
  padding: 0 5%;
  border-top: 1px solid rgba(255, 249, 242, 0.34);
  background: rgba(3, 30, 49, 0.94);
  color: white;
  backdrop-filter: blur(12px);
}

.trust-strip > div {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 26px;
  border-right: 1px solid rgba(14, 167, 174, 0.58);
  text-align: center;
}

.trust-strip > div:last-child {
  border-right: 0;
}

.emoji-icon {
  font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji",
    sans-serif;
  line-height: 1;
  text-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
}

.trust-strip p {
  margin: 0;
}

.trust-strip strong,
.trust-strip small {
  display: block;
}

.trust-strip strong {
  color: white;
  font-size: 14px;
}

.trust-strip small {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 12px;
}

.services-section {
  padding-block: 110px 105px;
}

.services-shell {
  display: grid;
  grid-template-columns: minmax(300px, 0.82fr) minmax(0, 1.55fr);
  overflow: hidden;
  border: 1px solid rgba(7, 50, 70, 0.14);
  border-radius: 18px;
  background: white;
  box-shadow: 0 28px 70px rgba(7, 50, 70, 0.1);
}

.services-intro {
  position: relative;
  isolation: isolate;
  display: flex;
  min-height: 560px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  padding: clamp(44px, 5vw, 68px);
  background:
    linear-gradient(145deg, rgba(24, 179, 192, 0.12), transparent 42%),
    var(--teal-950);
  color: white;
}

.services-intro::before {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 7px;
  height: 28%;
  background: var(--teal-600);
  content: "";
}

.services-intro .section-kicker {
  color: #66d7df;
}

.services-intro h2 {
  max-width: 390px;
  margin: 15px 0 0;
  color: white;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(40px, 4vw, 58px);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

.services-intro > p {
  max-width: 400px;
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: 16px;
  line-height: 1.72;
}

.services-all-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 34px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--teal-600);
  color: white;
  font-size: 15px;
  font-weight: 750;
}

.services-all-link span {
  font-size: 1.2em;
  transition: transform 180ms ease;
}

.services-all-link:hover span {
  transform: translateX(4px);
}

.service-list {
  display: grid;
  grid-template-rows: repeat(4, 1fr);
  background: white;
}

.service-row {
  position: relative;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 92px;
  align-items: center;
  gap: 22px;
  min-height: 140px;
  padding: 28px 34px;
  border-bottom: 1px solid rgba(7, 50, 70, 0.13);
  background:
    linear-gradient(90deg, rgba(228, 247, 248, 0.75), rgba(255, 255, 255, 0) 44%)
    0 0 / 0 100% no-repeat;
  transition: background-size 240ms ease, padding-left 240ms ease;
}

.service-row:last-child {
  border-bottom: 0;
}

.service-row:hover {
  padding-left: 40px;
  background-size: 100% 100%;
}

.service-row:focus-visible {
  z-index: 1;
}

.service-icon-wrap {
  position: relative;
  display: grid;
  width: 66px;
  height: 66px;
  place-items: center;
  border: 1px solid rgba(10, 166, 181, 0.3);
  border-radius: 20px;
  background:
    radial-gradient(circle at 30% 20%, white 0 8%, transparent 36%),
    linear-gradient(145deg, #eefafb, #cfeff2);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 10px 24px rgba(7, 50, 70, 0.12);
  transform: rotate(-2deg);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-icon {
  display: block;
  font-size: 32px;
  filter: drop-shadow(0 3px 5px rgba(7, 50, 70, 0.16));
}

.service-icon-wrap small {
  position: absolute;
  right: -7px;
  bottom: -6px;
  display: grid;
  width: 26px;
  height: 26px;
  place-items: center;
  border: 2px solid white;
  border-radius: 50%;
  background: var(--teal-950);
  box-shadow: 0 5px 12px rgba(7, 50, 70, 0.22);
  color: white;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.02em;
}

.service-row:nth-child(2) .service-icon-wrap {
  border-color: rgba(10, 166, 181, 0.3);
  background:
    radial-gradient(circle at 30% 20%, white 0 8%, transparent 36%),
    linear-gradient(145deg, #f1fbfc, #d8f1f3);
  transform: rotate(2deg);
}

.service-row:nth-child(2) .service-icon-wrap small {
  background: var(--teal-800);
}

.service-row:nth-child(3) .service-icon-wrap {
  border-color: rgba(7, 50, 70, 0.22);
  background:
    radial-gradient(circle at 30% 20%, white 0 8%, transparent 36%),
    linear-gradient(145deg, #f4fafb, #dcecef);
}

.service-row:nth-child(3) .service-icon-wrap small {
  background: var(--teal-950);
}

.service-row:nth-child(4) .service-icon-wrap {
  background:
    radial-gradient(circle at 30% 20%, white 0 8%, transparent 36%),
    linear-gradient(145deg, #eefafb, #d6f1f3);
  transform: rotate(2deg);
}

.service-row:hover .service-icon-wrap {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    0 15px 30px rgba(7, 50, 70, 0.17);
  transform: translateY(-3px) rotate(0);
}

.service-details h3 {
  margin: 0;
  color: var(--teal-950);
  font-size: clamp(18px, 2vw, 23px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  font-weight: bold;
}

.service-details p {
  max-width: 610px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.62;
}

.service-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  color: var(--teal-800);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

.service-arrow span {
  font-size: 17px;
}

.service-row:hover .service-arrow {
  color: var(--teal-950);
  transform: translateX(4px);
}

.section-heading {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: end;
  gap: 60px;
  margin-bottom: 48px;
}

.section-kicker {
  color: var(--teal-700);
}

.section-kicker.light {
  color: #66d7df;
}

.section-heading h2,
.about-copy h2,
.process-heading h2,
.referral-card h2,
.faq-heading h2 {
  margin: 12px 0 0;
  color: var(--teal-950);
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.04em;
  line-height: 1.08;
  font-weight: bold;
}

.section-heading > p {
  max-width: 480px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.center-action {
  display: flex;
  justify-content: center;
  margin-top: 42px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--teal-800);
  font-weight: 750;
}

.about-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 20%, rgba(10, 166, 181, 0.08), transparent 24%),
    var(--ivory);
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 0.92fr;
  align-items: center;
  gap: 88px;
  padding-block: 110px;
}

.about-photo {
  position: relative;
  padding: 0 0 50px;
}

.about-photo::before {
  display: none;
}

.about-photo-frame {
  position: relative;
  z-index: 2;
  min-height: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.about-photo-frame img {
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  object-fit: contain;
}

.about-photo-feature {
  position: relative;
  filter: drop-shadow(0 24px 34px rgba(20, 28, 31, 0.16));
}

.about-photo-feature::after {
  position: absolute;
  right: 7%;
  bottom: 0;
  left: 7%;
  height: 5px;
  background: var(--teal-600);
  content: "";
}

.verse-card {
  position: absolute;
  z-index: 4;
  right: 22px;
  bottom: 0;
  display: flex;
  min-width: 220px;
  flex-direction: column;
  padding: 18px 22px 18px 26px;
  border-left: 5px solid var(--teal-600);
  border-radius: 0 14px 14px 0;
  background: var(--teal-950);
  box-shadow: 0 16px 36px rgba(7, 50, 70, 0.24);
  color: white;
}

.verse-card span {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.verse-card strong {
  color: white;
  font-size: 21px;
}

.about-copy > p:not(.section-kicker) {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.about-copy .about-lead {
  color: var(--ink);
  font-size: 18px;
  font-weight: 600;
  line-height: 1.6;
}

.about-copy ul {
  display: grid;
  margin: 28px 0 32px;
  padding: 0;
  gap: 13px;
  list-style: none;
}

.about-copy li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  font-weight: 650;
}

.check-icon {
  display: grid;
  width: 27px;
  height: 27px;
  flex: 0 0 27px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 13px;
  font-weight: 900;
}

.team-section {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  align-items: center;
  gap: 62px;
  padding-block: 110px 50px;
}

.team-copy h2 {
  margin: 12px 0 0;
  color: var(--teal-950);
  font-size: clamp(34px, 3.6vw, 48px);
  letter-spacing: -0.045em;
  line-height: 1.08;
  font-weight: bold;
}

.team-copy > p:not(.section-kicker) {
  margin: 20px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.team-values {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 28px 0 26px;
}

.team-values span {
  padding: 9px 13px;
  border: 1px solid rgba(10, 166, 181, 0.26);
  border-radius: 999px;
  background: var(--teal-100);
  color: var(--teal-950);
  font-size: 12px;
  font-weight: 720;
}

.team-photo {
  position: relative;
  overflow: hidden;
  min-height: 470px;
  border: 10px solid white;
  border-radius: 26px;
  background: var(--teal-100);
  box-shadow: var(--shadow);
}

.team-photo::before {
  position: absolute;
  z-index: 2;
  inset: 0;
  background: linear-gradient(to top, rgba(20, 28, 31, 0.68), transparent 38%);
  content: "";
  pointer-events: none;
}

.team-photo img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: center 42%;
}

.team-photo-caption {
  position: absolute;
  z-index: 3;
  right: 26px;
  bottom: 24px;
  left: 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  color: white;
}

.team-photo-caption strong {
  font-size: 17px;
}

.team-photo-caption span {
  color: rgba(255, 255, 255, 0.76);
  font-size: 12px;
}

.process-section {
  padding-block: 110px;
}

.process-heading {
  max-width: 700px;
  margin: 0 auto 48px;
  text-align: center;
}

.process-heading > p:last-child,
.faq-heading > p {
  margin: 16px 0 0;
  color: var(--muted);
  line-height: 1.7;
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
}

.steps article {
  position: relative;
  min-height: 230px;
  padding: 28px;
  border: 1px solid var(--line);
  border-right: 0;
  background: white;
}

.steps article:first-child {
  border-radius: 20px 0 0 20px;
}

.steps article:last-child {
  border-right: 1px solid var(--line);
  border-radius: 0 20px 20px 0;
}

.steps article::after {
  position: absolute;
  top: 47px;
  right: -7px;
  z-index: 2;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--teal-600);
  content: "";
}

.steps article:last-child::after {
  display: none;
}

.steps span {
  color: var(--teal-600);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.steps h3 {
  margin: 36px 0 12px;
  color: var(--teal-950);
  font-size: 18px;
  line-height: 1.3;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.referral-section {
  padding-bottom: 110px;
}

.referral-card {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 60px;
  padding: 65px 70px;
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 18%, rgba(24, 179, 192, 0.2), transparent 34%),
    linear-gradient(130deg, #073246 0%, #0a465c 100%);
  color: white;
}

.referral-card::after {
  position: absolute;
  right: -80px;
  bottom: -145px;
  width: 350px;
  height: 350px;
  border: 1px solid rgba(102, 215, 223, 0.18);
  border-radius: 50%;
  content: "";
}

.referral-card > * {
  position: relative;
  z-index: 2;
}

.referral-card h2 {
  max-width: 580px;
  color: white;
  font-weight: bold;
}

.referral-card p:not(.section-kicker) {
  max-width: 590px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

.referral-actions {
  flex-direction: column;
  align-items: stretch;
  margin: 0;
}

.referral-card .section-kicker.light {
  color: #66d7df;
}

.referral-card .button-gold {
  background: var(--teal-800);
  color: white;
}

.referral-card .button-gold:hover {
  background: var(--teal-950);
  box-shadow: 0 12px 28px rgba(8, 12, 14, 0.25);
}

.faq-section {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 80px;
  padding-bottom: 110px;
}

.faq-heading {
  align-self: start;
  position: sticky;
  top: 130px;
}
.faq-list details p:not(.has-background):last-of-type {
    padding-bottom: 22px;
}
.faq-heading .text-link {
  margin-top: 26px;
}

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

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
  transition: box-shadow 180ms ease;
}

.faq-list details[open] {
  box-shadow: 0 14px 35px rgba(20, 28, 31, 0.08);
}

.faq-list summary {
  display: flex;
  min-height: 72px;
  cursor: pointer;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 18px 22px;
  color: var(--teal-950);
  font-size: 16px;
  font-weight: 720;
  list-style: none;
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary span {
  display: grid;
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  place-items: center;
  border-radius: 50%;
  background: var(--teal-100);
  color: var(--teal-800);
  font-size: 20px;
  transition: transform 180ms ease;
}

.faq-list details[open] summary span {
  transform: rotate(45deg);
}

.faq-list details p {
  margin: 0;
  padding: 0 22px 22px 22px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.site-footer {
  background: var(--teal-950);
  color: white;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.25fr 0.6fr 1fr 0.7fr;
  gap: 65px;
  padding-block: 74px 58px;
}

.footer-brand img {
  width: 120px;
  height: auto;
  margin-bottom: 18px;
  background: transparent;
}

.footer-brand p {
  max-width: 260px;
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.footer-inner h3 {
  margin: 8px 0 0px;
  color: #66d7df;
  font-size: 14px;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.footer-inner > div:not(.footer-brand) {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.footer-inner a,
.footer-inner p {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.65;
}

.footer-inner a:hover {
  color: white;
}

.footer-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  color: white !important;
  font-weight: 750;
}

.footer-disclaimer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
  padding-block: 24px 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.footer-disclaimer p {
  max-width: 820px;
  margin: 0;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  line-height: 1.6;
}

.footer-disclaimer span {
  flex: 0 0 auto;
  color: rgba(255, 255, 255, 0.54);
  font-size: 11px;
}

@media (max-width: 1080px) {
  .desktop-nav {
    gap: 18px;
    font-size: 14px;
  }

  .hero-copy {
    max-width: 580px;
  }

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

  .hero-cards article {
    min-height: 118px;
    padding-inline: 42px 22px;
  }

  .services-shell {
    grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.35fr);
  }

  .services-intro {
    padding-inline: 44px;
  }

  .about-inner {
    gap: 58px;
  }

  .footer-inner {
    grid-template-columns: 1.1fr 0.6fr 1fr;
  }

  .footer-inner > div:last-child {
    grid-column: 2 / 4;
  }
}

@media (max-width: 880px) {
  .section,
  .header-inner,
  .hero-inner {
    width: min(100% - 36px, 680px);
  }

  .header-inner {
    min-height: 82px;
  }

  .brand img {
    width: 88px;
    height: 70px;
  }

  .desktop-nav {
    display: none;
  }

  .mobile-menu {
    position: relative;
    display: block;
  }

  .mobile-menu > summary {
    display: grid;
    width: 48px;
    height: 48px;
    cursor: pointer;
    place-content: center;
    gap: 5px;
    border-radius: 12px;
    background: var(--teal-100);
    list-style: none;
  }

  .mobile-menu > summary::-webkit-details-marker {
    display: none;
  }

  .mobile-menu > summary span {
    width: 23px;
    height: 2px;
    border-radius: 4px;
    background: var(--teal-900);
  }

  .mobile-nav {
    position: absolute;
    top: 58px;
    right: 0;
    display: flex;
    width: min(310px, calc(100vw - 36px));
    flex-direction: column;
    gap: 4px;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: white;
    box-shadow: var(--shadow);
    color: var(--ink);
  }

  .mobile-nav a {
    padding: 12px 14px;
    border-radius: 9px;
    font-weight: 650;
    color: #1f2b2f;
  }

  .mobile-nav a:hover {
    background: var(--teal-100);
  }

  .mobile-nav .nav-contact {
    margin-top: 6px;
    color: white;
  }

  .hero::before {
    inset: -2%;
    height: auto;
    background-position: 66% 62%;
    transform: scale(1.02);
  }

  .hero::after {
    inset: 0;
    height: auto;
    background:
      linear-gradient(
        180deg,
        rgba(3, 30, 49, 0.99) 0%,
        rgba(3, 30, 49, 0.96) 52%,
        rgba(3, 30, 49, 0.68) 68%,
        rgba(3, 30, 49, 0.14) 88%,
        rgba(3, 30, 49, 0.03) 100%
      );
  }

  .hero-inner {
    min-height: 840px;
  }

  .hero-copy {
    max-width: 650px;
    padding: 56px 0 320px;
  }

  .hero h1 {
    max-width: 670px;
    font-size: clamp(52px, 8vw, 66px);
  }

  .hero-description {
    max-width: 610px;
  }

  .hero-cards {
    width: min(100% - 36px, 680px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .hero-support-wrap {
    width: 100%;
    margin-top: 0;
  }

  .hero-cards article {
    border-right: 0;
  }

  .trust-strip {
    grid-template-columns: 1fr;
    margin-top: 0;
    padding-top: 0;
  }

  .trust-strip > div {
    justify-content: center;
    padding-inline: max(28px, calc((100% - 644px) / 2));
    border-right: 0;
    border-bottom: 1px solid rgba(31, 43, 47, 0.14);
  }

  .services-shell {
    grid-template-columns: 1fr;
  }

  .services-intro {
    min-height: 410px;
  }

  .section-heading,
  .about-inner,
  .team-section,
  .referral-card,
  .faq-section {
    grid-template-columns: 1fr;
  }

  .section-heading {
    gap: 22px;
  }

  .about-inner {
    gap: 70px;
  }

  .team-section {
    gap: 40px;
    padding-top: 85px;
  }

  .team-copy {
    max-width: 650px;
  }

  .about-photo {
    max-width: 590px;
  }

  .steps {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }

  .steps article,
  .steps article:first-child,
  .steps article:last-child {
    border: 1px solid var(--line);
    border-radius: 16px;
  }

  .steps article::after {
    display: none;
  }

  .referral-card {
    gap: 36px;
    padding: 52px 44px;
  }

  .referral-actions {
    flex-direction: row;
  }

  .faq-section {
    gap: 38px;
  }

  .faq-heading {
    position: static;
  }

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

  .footer-inner > div:last-child {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .section,
  .header-inner,
  .hero-inner {
    width: calc(100% - 28px);
  }

  .hero-inner {
    min-height: 760px;
  }

  .hero::before,
  .hero::after {
    height: auto;
  }

  .hero::before {
    right: -20%;
    left: -20%;
    background-position: 64% 71%;
  }

  .hero-copy {
    padding: 42px 0 275px;
  }

  .eyebrow {
    font-size: 11px;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 56px);
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-actions,
  .referral-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .hero-cards {
    width: calc(100% - 28px);
    grid-template-columns: 1fr;
  }

  .hero-cards article {
    min-height: 112px;
  }

  .services-section,
  .process-section {
    padding-block: 80px;
  }

  .steps {
    grid-template-columns: 1fr;
  }

  .services-shell {
    border-radius: 14px;
  }

  .services-intro {
    min-height: 390px;
    padding: 44px 28px;
  }

  .service-row,
  .service-row:hover {
    grid-template-columns: 58px minmax(0, 1fr) 26px;
    gap: 15px;
    min-height: 0;
    padding: 24px 18px;
  }

  .service-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 16px;
  }

  .service-icon {
    font-size: 26px;
  }

  .service-icon-wrap small {
    right: -5px;
    bottom: -5px;
    width: 22px;
    height: 22px;
    font-size: 8px;
  }

  .service-details h3 {
    font-size: 18px;
  }

  .service-details p {
    font-size: 13px;
  }

  .service-arrow {
    overflow: hidden;
    width: 26px;
    justify-self: end;
    font-size: 0;
  }

  .service-arrow span {
    font-size: 19px;
  }

  .about-inner {
    padding-block: 82px;
  }

  .team-section {
    padding-block: 74px 20px;
  }

  .team-photo,
  .team-photo img {
    min-height: 345px;
  }

  .team-photo {
    border-width: 6px;
    border-radius: 20px;
  }

  .team-photo-caption {
    right: 18px;
    bottom: 16px;
    left: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 3px;
  }

  .about-photo {
    padding: 0 0 50px;
  }

  .about-photo-frame {
    min-height: 0;
  }

  .verse-card {
    right: 14px;
    min-width: 190px;
  }

  .referral-section,
  .faq-section {
    padding-bottom: 80px;
  }

  .referral-card {
    gap: 30px;
    padding: 42px 24px;
    border-radius: 22px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .footer-disclaimer {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .eyebrow,
  .eyebrow-rule,
  .hero h1,
  .hero-description,
  .hero-actions,
  .hero-cards {
    animation: rise-in 520ms both;
  }

  .eyebrow-rule {
    animation-delay: 50ms;
  }

  .hero h1 {
    animation-delay: 90ms;
    color: white;
  }

  .hero-description {
    animation-delay: 140ms;
  }

  .hero-actions {
    animation-delay: 190ms;
  }

  .hero-cards {
    animation-delay: 240ms;
  }

  .hero-visual {
    animation: visual-in 650ms 120ms both;
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes visual-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
body:not(.home) main.section {
    padding-block: 0px !important;
    width: 100%;
}
body:not(.home) main.section > h1 {
    display: none;
}
