@font-face {
  font-family: "Nunito Sans";
  src: url("nunito-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 300 900;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("poppins-light.woff2") format("woff2");
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("poppins-regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: Poppins;
  src: url("poppins-semibold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}

:root {
  --cream: #fdf8f4;
  --sage: #6a7660;
  --sage-light: #a3a895;
  --sand: #e5dac9;
  --orange: #f1895f;
  --brown: #413823;
  --ink: #4a4a4a;
  --text-font: "Nunito Sans", sans-serif;
  --heading-font: Poppins, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 14px/1.8 var(--text-font); }
h1, h2, h3, p { margin: 0; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { color: inherit; font: inherit; cursor: pointer; }
a:focus-visible, button:focus-visible { outline: 2px solid #aa502d; outline-offset: 3px; }
.icon { display: block; width: 1em; height: 1em; fill: currentColor; flex: none; }
.content-width { width: min(1120px, calc(100% - 40px)); margin-inline: auto; }

.skip-link {
  position: fixed;
  z-index: 4;
  inset: 12px auto auto 12px;
  padding: 8px 14px;
  color: var(--brown);
  background: var(--cream);
  transform: translateY(calc(-100% - 16px));
}

.skip-link:focus { transform: none; }
.site-header { border-bottom: 1px solid #f1ece8; color: var(--sage); }
.site-header-inner { width: min(1200px, 90%); min-height: 74px; margin-inline: auto; display: flex; align-items: center; }
.brand { display: block; width: 282px; flex: none; }
.site-nav { display: flex; margin-inline-start: auto; white-space: nowrap; }
.site-nav a { display: block; padding-inline: 15px; font: 600 15px/74px var(--heading-font); letter-spacing: 1px; text-transform: uppercase; }
.site-nav a:hover, .site-nav a[aria-current="page"], .footer-nav a:hover, .footer-nav a[aria-current="page"] { color: var(--orange); }
.header-social { display: grid; width: 40px; min-height: 48px; margin-inline: 0 -15px; place-items: center; font-size: 28px; }
.header-social:hover, .mobile-social:hover { color: var(--orange); }
.menu-toggle { display: none; }
.mobile-menu { display: none; }

.hero {
  display: flex;
  align-items: end;
  justify-content: center;
  min-height: 80vh;
  min-height: 80svh;
  padding: 48px 20px clamp(84px, 10.65vw, 153px);
  background: #505443 url("hero.jpg") left 28% / cover fixed no-repeat;
  color: #fff;
  text-align: center;
}

.hero-content { width: min(100%, 752px); }
.hero h1 { font-size: 51.8px; font-weight: 500; line-height: 1.15; }
.hero p { margin: 10px 0 31px; font-size: 15.4px; font-weight: 700; line-height: 2.7; letter-spacing: 3px; text-transform: uppercase; }
.actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 20px; }
.button { display: inline-flex; align-items: center; justify-content: center; column-gap: 5px; max-width: 100%; border-radius: 25px; padding: 12px 24px; font-size: 19px; line-height: 29px; text-align: center; }
.button:hover { filter: brightness(.92); }
.button-phone { background: var(--orange); color: #fff; }
.button-offer { background: var(--cream); color: var(--sage); }
.button-whatsapp { background: var(--sage-light); color: var(--cream); padding: 14px 17px; line-height: 25px; }
.actions:not(.hero-actions) .button-phone { min-width: min(286px, 100%); }
.hero .button { padding: 20px 40px; font-size: 12.6px; font-weight: 700; line-height: 14px; letter-spacing: 2px; text-transform: uppercase; }

.mission { background: var(--sage-light); color: var(--cream); padding-block: 80px; }
.mission-content { width: min(80%, 872px); margin-inline: auto; display: grid; grid-template-columns: 57.8% 1fr; gap: 40px; align-items: center; }
.mission-copy { padding-bottom: 20px; }
.mission h2 { margin-bottom: 20px; font-size: 42px; font-weight: 600; line-height: 1; }
.mission p { font-size: 16.8px; line-height: 1.6; }
.mission-portrait img { width: 78%; max-width: 254px; border-radius: 10px; box-shadow: 12px 12px #e68762; }

.section-title { color: var(--brown); font-size: 35px; font-weight: 700; line-height: 1.15; text-align: center; }
.offer { color: var(--brown); }
.offer-overview { padding: 80px 20px; text-align: center; background: var(--sand); }
.offer-types { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; align-items: start; max-width: 1030px; margin: 40px auto 0; padding-bottom: 20px; }
.offer-types .icon { margin: 0 auto 20px; font-size: 50px; color: #a65d29; }
.offer-types h3 { font: 600 18px/1.4 var(--heading-font); }
.offer-details { position: relative; overflow: hidden; padding: 70px 0 110px; background: #f9f5f1; font-size: 16.8px; line-height: 1.6; }
.offer-details h3 { margin-bottom: 20px; color: #423d2d; text-align: center; font-size: 23.8px; line-height: 1; }
.offer-details p { margin-bottom: 20px; }
.offer-details p + h3 { margin-top: 40px; }
.family-counseling p + p { margin-top: 40px; }
.family-counseling p:nth-child(3) { margin-top: 51px; }
.offer-actions { margin-top: 193px; }
.offer-wave { display: block; position: absolute; inset: auto auto -1px 50%; width: 165%; height: 50px; transform: translateX(-50%) rotate(180deg); fill: var(--sage); }

.steps { padding-block: 90px 100px; }
.steps .section-title { line-height: 1; }
.steps-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin: 80px 0 50px; padding: 0; list-style: none; text-align: center; }
.steps-list .icon { margin: 0 auto 15px; box-sizing: content-box; padding: 25px; border-radius: 50%; color: #fff; background: var(--orange); font-size: 50px; }
.steps-list h3 { margin-bottom: 20px; color: var(--brown); font-size: 24px; font-weight: 900; line-height: 1.4; }
.steps-list p { font-size: 17px; font-weight: 600; line-height: 28px; }
.steps-list li:last-child p { color: var(--brown); }
.steps .button-phone, .pricing .button-phone { font-weight: 500; }

.about-and-pricing { padding-block: 100px; background: var(--sand); }
.about-and-pricing-content { display: grid; grid-template-columns: .92fr 1fr; align-items: center; width: min(1132px, calc(100% - 40px)); margin-inline: auto; }
.about { position: relative; padding: 45px 45px 20px; background: var(--cream); font-size: 15px; }
.legacy-anchor { position: absolute; inset: 0 auto auto 0; }
.about h2, .pricing h2 { margin-bottom: 20px; color: var(--brown); }
.about h2 { font: 300 30px/1 var(--heading-font); }
.pricing { padding: 40px clamp(40px, 6vw, 85px); }
.pricing h2 { font: 400 20px/1 var(--heading-font); }
.about p, .pricing p, .contact-copy p { margin-bottom: 20px; }
.pricing p:last-of-type { margin-bottom: 40px; }
.pricing p a, .contact-copy p a { overflow-wrap: anywhere; }
.pricing p a:hover, .contact-copy p a:hover { text-decoration: underline; }

.contact { padding-block: 100px; background: #b2b6a8; color: var(--brown); }
.contact-content { display: grid; grid-template-columns: 32% 1fr; gap: 40px; align-items: start; }
.contact-copy { font-size: 16px; }
.contact-copy h2 { margin-bottom: 20px; font-size: 34px; font-weight: 600; line-height: 1; }
.contact-copy p, .contact-copy ul { max-width: 560px; }
.contact-copy ul { margin: 0 0 20px; padding-inline-start: 20px; }
.map-link {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  min-height: 300px;
  margin-top: 30px;
  padding-inline: 20px;
  background: #e8e7dd;
  color: var(--brown);
  text-align: center;
  font-size: 16px;
  line-height: 1.45;
}
.map-action { color: #46513e; text-decoration: underline; text-underline-offset: 3px; }
.map-link:hover { background: var(--cream); }
.map-pin { width: 22px; height: 22px; margin-bottom: 6px; border: 6px solid var(--sage); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.practice-logos { display: flex; justify-content: space-evenly; align-items: center; gap: 20px; padding-block: 50px; }
.practice-logo { width: 19.1%; }
.practice-brand { width: 300px; }

.site-footer { background: #cacaca; }
.footer-content { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; width: min(1140px, calc(100% - 40px)); margin-inline: auto; padding-block: 105px 106px; }
.footer-content h2 { margin-bottom: 18px; color: #fff; font-size: 22px; font-weight: 900; line-height: 24px; letter-spacing: 3px; }
.footer-nav nav { display: flex; flex-wrap: wrap; color: var(--sage); font-size: 16px; }
.footer-nav a { padding: 10px 15px; }
.footer-social a { display: grid; place-items: center; width: 40px; height: 40px; color: #fff; background: var(--sage); font-size: 18px; }
.footer-social a:hover { background: #52604a; }
.copyright { padding-block: 10px; background: var(--cream); }
.copyright p { width: min(1140px, calc(100% - 20px)); margin-inline: auto; }
.back-top { position: fixed; z-index: 1; right: 15px; bottom: 15px; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 2px; background: #0008; color: #fff; }
.back-top::before { content: ""; width: 8px; height: 8px; border-top: 2px solid; border-left: 2px solid; transform: translateY(2px) rotate(45deg); }
.back-top:hover { background: #000b; }

@media (max-width: 1024px) {
  .site-header-inner { position: relative; justify-content: center; flex-wrap: wrap; }
  .site-nav { flex: 0 1 100%; justify-content: center; flex-wrap: wrap; margin: 0; }
  .site-nav a { line-height: 44px; }
  .site-header-inner:has(.menu-toggle:not([hidden])) .site-nav, .header-social { display: none; }
  .menu-toggle { position: absolute; right: -9px; top: 15px; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; }
  .menu-toggle span { width: 13px; height: 11px; border-block: 2px solid; }
  .menu-toggle span::after { display: block; content: ""; margin-top: 2.5px; border-top: 2px solid; }
  .mobile-menu[open] { position: fixed; inset: 0; display: grid; place-items: center; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 60px 20px; border: 0; background: var(--cream); color: var(--sage); }
  body:has(.mobile-menu[open]) { overflow: hidden; }
  .menu-close { position: absolute; inset: 14px 14px auto auto; width: 44px; height: 44px; padding: 0; border: 0; background: transparent; color: var(--orange); }
  .menu-close::before, .menu-close::after { position: absolute; inset: 20px 3px auto; height: 2px; background: currentColor; content: ""; transform: rotate(45deg); }
  .menu-close::after { transform: rotate(-45deg); }
  .mobile-menu-content { display: grid; justify-items: center; }
  .mobile-nav { text-align: center; }
  .mobile-nav a { display: block; padding: 0 20px; font-size: 18px; line-height: 60px; letter-spacing: 1px; text-transform: uppercase; }
  .mobile-nav a:hover { color: var(--orange); }
  .mobile-social { display: grid; place-items: center; width: 44px; height: 44px; margin-top: 30px; font-size: 24px; }

  .hero { padding-bottom: 150px; background-position: left top; background-attachment: scroll; }
  .hero-content { width: 93%; }
  .hero h1 { font-size: 49px; }
  .mission h2 { font-size: 33.6px; }
  .mission-content { width: calc(80% - 40px); grid-template-columns: 56.5% 1fr; }
  .mission-portrait img { width: 100%; }
  .section-title { font-size: 30px; }
  .offer-types { max-width: 440px; }
  .offer-types .icon, .steps-list .icon { font-size: 40px; }
  .offer-details { padding-top: 38px; padding-bottom: 38px; }
  .offer-details .content-width { width: calc(100% - 76px); }
  .offer-details h3 { font-size: 25px; }
  .offer-actions { margin-top: 173px; }
  .steps { padding-block: 70px 60px; }
  .steps-list { margin-top: 54px; }
  .steps-list .icon { padding: 20px; }
  .steps-list p { font-size: 16px; }
  .about-and-pricing { padding-block: 0; }
  .about-and-pricing-content { display: block; width: 100%; }
  .about, .pricing { padding: 45px; }
  .about { padding-bottom: 20px; }
  .pricing .actions { margin-bottom: 0; }
  .contact-content { grid-template-columns: 32% 1fr; gap: 40px; }
  .footer-content { gap: 45px; }
}

@media (max-width: 767px) {
  .brand { width: 169px; }
  .site-nav a { padding-inline: 8px; font-size: 13px; }
  .hero { min-height: max(580px, 80svh); padding: 48px 20px calc(28px + 6vw); }
  .hero-content { width: 100%; }
  .hero h1 { font-size: clamp(26px, 8.62vw, 33.6px); }
  .hero p { margin-bottom: 30px; font-size: 12px; letter-spacing: 1.5px; }
  .hero-actions, .offer-actions { flex-direction: column; }
  .hero .button { padding-inline: clamp(16px, 10.3vw, 40px); }

  .mission-content { width: calc(100% - 40px); grid-template-columns: 1fr; gap: 30px; }
  .mission-copy { padding-bottom: 30px; }
  .mission h2 { font-size: 27px; }
  .mission p { font-size: 14px; }
  .mission-portrait img { width: min(86%, 440px); max-width: none; margin-inline: auto; }
  .section-title { font-size: 28px; }
  .offer-overview { padding-block: 44px 57px; }
  .offer-types { gap: 20px; margin-top: 40px; }
  .offer-types .icon { margin-bottom: 10px; font-size: 38px; }
  .offer-types h3 { font-size: 15px; }
  .offer-details { margin-top: 50px; padding: 0 0 71px; font-size: 16px; }
  .offer-details .content-width { width: calc(100% - 40px); }
  .offer-details h3 { margin-bottom: 40px; }
  .offer-details p { text-align: justify; }
  .offer-details p + h3 { margin-top: 63px; margin-bottom: 15px; font-size: 22px; line-height: 1.2; }
  .family-counseling p:nth-child(3) { margin-top: 40px; }
  .offer-actions { margin-top: 182px; }
  .button-whatsapp { font-size: 18px; }
  .steps { padding-block: 50px 60px; }
  .steps .content-width { width: calc(100% - 20px); }
  .steps .section-title { max-width: 320px; margin-inline: auto; font-size: 25px; line-height: 1.3; }
  .steps-list { grid-template-columns: 1fr; gap: 50px; margin-top: 40px; margin-bottom: 30px; }

  .about, .pricing { padding-inline: 20px; }
  .about h2 { font-size: 24px; }
  .contact { padding-block: 35px 10px; }
  .contact-content { grid-template-columns: 1fr; gap: 30px; width: calc(100% - 20px); }
  .map-link { margin: 0; }
  .contact-copy { padding-inline: 20px; }
  .contact-copy p, .contact-copy ul { max-width: 294px; }
  .practice-logos { flex-direction: column; gap: 35px; }
  .practice-logo { width: min(231px, 100%); }
  .practice-brand { width: 224px; }
  .footer-content { grid-template-columns: 1fr; gap: 95px; width: calc(100% - 96px); padding-block: 45px 54px; }
  .footer-nav nav { flex-direction: column; align-items: start; }
  .footer-nav a { padding-block: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero { background-attachment: scroll; }
}
