/*
 * Hoshinoko Chuo Landing Page
 * Version: 1.0.0
 * Updated: 2026-09-11
 */

:root {
  --orange: #f39800;
  --green: #78b72a;
  --ink: #3a3028;
  --cream: #fff8ed;
  --light: #fffdf8;
  --line: #eadfce
}

* {
  box-sizing: border-box
}

html {
  scroll-behavior: smooth
}

body {
  margin: 0;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.8;
  background: #fff
}

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

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

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

.sp {
  display: none
}

.site-header {
  height: 92px;
  padding: 0 max(28px, calc((100% - 2300px)/2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #fff;
  position: relative;
  z-index: 20
}

.logo img {
  width: 180px;
  height: auto
}

.site-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  font-size: 14px;
  font-weight: 600
}

.site-nav a:first-child {
  color: var(--green)
}

.site-nav a {
  transition: .2s
}

.site-nav a:hover {
  color: var(--orange)
}

.menu-button {
  display: none
}

.hero {
  min-height: 800px;
  padding: 110px 20px;
  display: flex;
  align-items: flex-start;
  background-image: linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .93) 17%, rgba(255, 253, 248, .7) 29%, rgba(255, 253, 248, .2) 47%, transparent 100%), url(../img/hero.jpeg);
  background-position: center;
  background-size: cover
}

.hero-inner {
  width: 90%;
  max-width: 1180px;
  margin: 0 auto
}

.hero h1 {
  max-width: 690px;
  font-size: clamp(38px, 4vw, 60px);
  line-height: 1.4;
  letter-spacing: .03em
}

.hero h1 em {
  color: var(--orange);
  font-style: normal
}

.hero p {
  font-size: 18px;
  font-weight: 600;
  line-height: 2.1;
  margin-bottom: 12px
}

.hero-actions {
  display: flex;
  gap: 16px;
  margin-top: 38px
}

.button {
  min-width: 220px;
  text-align: center;
  color: #fff;
  border-radius: 999px;
  padding: 13px 26px;
  font-weight: 700;
  box-shadow: 0 5px 15px #775b2c35
}

.orange {
  background: var(--orange)
}

.green {
  background: var(--green)
}

.section-inner {
  width: 90%;
  max-width: 1280px;
  margin: auto
}

.section-inner.narrow {
  max-width: 1120px
}

.worry {
  position: relative;
  overflow: hidden;
  padding: 115px 0 145px;
  background: var(--cream);
  clip-path: ellipse(90% 58% at 50% 50%)
}

.worry:after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 25px;
  width: 90px;
  height: 75px;
  background: radial-gradient(circle, #91bd56 4px, transparent 5px);
  background-size: 24px 24px
}

.worry h2 {
  text-align: center;
  font-size: 30px;
  letter-spacing: .06em;
  margin-bottom: 65px
}

.worry h2 em {
  font-style: normal;
  color: var(--orange)
}

.worry-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px
}

.worry-card {
  min-height: 190px;
  padding: 28px 12px;
  text-align: center;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 7px 20px #b69b7020
}

.worry-card span {
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #fff3da;
  color: var(--orange);
  font-size: 32px
}

.worry-card p {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.8;
  margin: 0
}

.services, .features, .flow, .contact {
  padding: 110px 0
}

.decorated-title {
  text-align: center;
  font-size: 34px;
  margin-bottom: 65px;
  letter-spacing: .06em
}

.decorated-title:before {
  content: "✤";
  display: block;
  color: var(--green);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 18px
}

.decorated-title em {
  font-style: normal;
  color: var(--orange)
}

.decorated-title strong {
  color: var(--green)
}

.service-list, .feature-list {
  display: grid;
  gap: 70px
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  background: #fff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 10px 35px #7250231a
}

.service-card.reverse .copy {
  order: 2
}

.service-card.reverse img {
  order: 1
}

.service-card .copy {
  padding: 42px 55px
}

.service-card b, .feature-card b, .flow-card b {
  font-family: Georgia, serif;
  color: var(--orange);
  font-size: 34px
}

.service-card h3 {
  font-size: 25px;
  margin: 4px 0 17px
}

.service-card p {
  font-size: 15px;
  margin: 0
}

.service-card img {
  width: 100%;
  height: 330px;
  object-fit: cover
}

.features {
  background: #f4f9ed
}

.feature-card {
  display: grid;
  grid-template-columns: 1.25fr .8fr;
  align-items: center;
  min-height: 350px;
  background: #fff;
  border-radius: 28px;
  padding: 20px 45px 0 60px;
  overflow: hidden;
  box-shadow: 0 10px 32px #54722014
}

.feature-card.reverse>div {
  order: 2
}

.feature-card.reverse img {
  order: 1
}

.feature-card header {
  display: flex;
  align-items: center;
  gap: 24px
}

.feature-card h3 {
  font-size: 25px;
  line-height: 1.55;
  margin: 0
}

.feature-card p {
  font-size: 15px;
  margin-top: 20px
}

.feature-card img {
  width: 100%;
  height: 330px;
  object-fit: contain;
  object-position: center bottom
}

.flow {
  background: var(--light)
}

.flow .decorated-title:before {
  color: var(--orange)
}

.flow-list {
  display: flex;
  align-items: center
}

.flow-card {
  align-self: stretch;
  flex: 1;
  text-align: center;
  padding: 28px 19px;
  background: #fff;
  border: 2px solid #f3e4cc;
  border-radius: 20px;
  position: relative
}

.flow-card h3 {
  font-size: 19px
}

.flow-card p {
  font-size: 13px;
  margin-bottom: 60px
}

.flow-card>span {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 30px;
  color: var(--green)
}

.flow-list>i {
  font-style: normal;
  color: var(--orange);
  font-size: 48px;
  padding: 0 10px
}

.contact {
  background: #fff4e2
}

.contact-box, .facility-box {
  display: grid;
  grid-template-columns: 270px 1fr;
  background: #fff;
  border-radius: 28px;
  padding: 38px 55px;
  align-items: center;
  box-shadow: 0 9px 30px #7e61281c
}

.contact-box>img {
  max-height: 290px;
  margin: auto;
  object-fit: contain
}

.contact-box h2 {
  font-size: 28px;
  color: var(--orange);
  line-height: 1.5
}

.contact-box p {
  font-size: 14px
}

.contact-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px
}

.contact-actions a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 100px;
  color: #fff;
  background: var(--orange);
  border-radius: 14px;
  line-height: 1.35
}

.contact-actions a.mail {
  background: var(--green)
}

.contact-actions strong {
  font-size: 21px
}

.facility-box {
  grid-template-columns: 1fr 45%;
  gap: 40px;
  margin-top: 40px;
  padding: 45px
}

.facility-box h2 {
  font-size: 31px;
  margin-bottom: 0
}

.facility-box>div>span {
  color: var(--green);
  font-weight: 700
}

.facility-box dl {
  display: grid;
  grid-template-columns: 100px 1fr;
  margin-top: 26px;
  font-size: 14px
}

.facility-box dt, .facility-box dd {
  padding: 8px 0;
  border-bottom: 1px solid var(--line);
  margin: 0
}

.facility-box dt {
  font-weight: 700
}

.facility-box img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 18px
}

.map {
  padding: 90px max(5%, calc((100% - 1180px)/2));
  text-align: center
}

.map h2 {
  font-family: Georgia, serif;
  font-size: 32px
}

.map h2 span {
  font-family: inherit;
  font-size: 15px;
  color: var(--green);
  margin-left: 10px
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 18px
}

.map>a {
  display: inline-block;
  margin-top: 16px;
  color: var(--green);
  font-weight: 700
}

footer {
  background: #fff8ed;
  padding: 50px 5%;
  display: flex;
  align-items: center;
  gap: 35px
}

footer img {
  width: 170px
}

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

footer nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
  font-size: 13px
}

.fade-in {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity .8s, transform .8s
}

.fade-in.is-show {
  opacity: 1;
  transform: none
}

@media(max-width:800px) {
  .sp {
    display: block
  }

  .site-header {
    height: 68px;
    padding: 0 18px;
    position: sticky;
    top: 0
  }

  .logo img {
    width: 142px
  }

  .menu-button {
    display: flex;
    width: 42px;
    height: 42px;
    border: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    z-index: 2
  }

  .menu-button span {
    display: block;
    width: 25px;
    height: 2px;
    background: var(--ink);
    transition: .3s
  }

  .menu-open .menu-button span:nth-child(1) {
    transform: translateY(8px) rotate(45deg)
  }

  .menu-open .menu-button span:nth-child(2) {
    opacity: 0
  }

  .menu-open .menu-button span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg)
  }

  .site-nav {
    position: fixed;
    inset: 68px 0 auto;
    background: #fff;
    display: none;
    flex-direction: column;
    gap: 0;
    padding: 12px 24px 24px;
    box-shadow: 0 10px 18px #0002
  }

  .menu-open .site-nav {
    display: flex
  }

  .site-nav a {
    width: 100%;
    padding: 13px;
    border-bottom: 1px solid #eee
  }

  .hero {
    min-height: 720px;
    padding: 55px 20px 80px;
    background-image: linear-gradient(180deg, rgba(255, 253, 248, .95) 0%, rgba(255, 253, 248, .72) 47%, rgba(255, 253, 248, .12) 100%), url(../img/hero.jpeg);
    background-position: 62% center
  }

  .hero-inner {
    width: 100%
  }

  .hero h1 {
    font-size: 31px;
    line-height: 1.55
  }

  .hero p {
    font-size: 14px;
    line-height: 1.9
  }

  .hero-actions {
    display: grid;
    gap: 10px
  }

  .button {
    width: 100%;
    padding: 15px
  }

  .worry {
    clip-path: none;
    padding: 80px 0
  }

  .worry h2 {
    font-size: 24px;
    line-height: 1.7;
    margin-bottom: 35px
  }

  .worry-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px
  }

  .worry-card {
    min-height: 155px;
    padding: 18px 5px
  }

  .worry-card:last-child {
    grid-column: 1/-1;
    width: calc(50% - 6px);
    justify-self: center
  }

  .worry-card span {
    width: 52px;
    height: 52px;
    font-size: 25px
  }

  .worry-card p {
    font-size: 13px
  }

  .services, .features, .flow, .contact {
    padding: 75px 0
  }

  .decorated-title {
    font-size: 26px;
    margin-bottom: 40px
  }

  .service-list, .feature-list {
    gap: 30px
  }

  .service-card, .feature-card {
    display: flex;
    flex-direction: column;
    padding: 0
  }

  .service-card.reverse .copy, .feature-card.reverse>div {
    order: 1
  }

  .service-card.reverse img, .feature-card.reverse img {
    order: 2
  }

  .service-card .copy, .feature-card>div {
    padding: 30px 25px
  }

  .service-card h3, .feature-card h3 {
    font-size: 21px
  }

  .service-card p, .feature-card p {
    font-size: 14px
  }

  .service-card img {
    height: 220px
  }

  .feature-card img {
    height: 250px
  }

  .feature-card header {
    gap: 15px
  }

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

  .flow-card {
    padding: 22px
  }

  .flow-card p {
    margin-bottom: 44px
  }

  .flow-list>i {
    transform: rotate(90deg);
    height: 34px;
    line-height: 25px;
    text-align: center
  }

  .contact-box, .facility-box {
    display: flex;
    flex-direction: column;
    padding: 25px 20px
  }

  .contact-box>img {
    height: 190px
  }

  .contact-box h2 {
    font-size: 22px
  }

  .contact-actions {
    grid-template-columns: 1fr
  }

  .facility-box {
    align-items: stretch
  }

  .facility-box dl {
    grid-template-columns: 80px 1fr
  }

  .facility-box img {
    height: 220px
  }

  .map {
    padding: 60px 5%
  }

  .map iframe {
    height: 330px
  }

  footer {
    display: block;
    text-align: center
  }

  footer img {
    margin: auto
  }

  footer p {
    margin: 15px 0
  }

  footer nav {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px
  }

}

@media(prefers-reduced-motion:reduce) {
  html {
    scroll-behavior: auto
  }

  .fade-in {
    opacity: 1;
    transform: none;
    transition: none
  }

}

html, body {
  overflow-x: hidden
}

@media(max-width:800px) {
  .hero h1 {
    font-size: 29px;
    letter-spacing: 0;
    overflow-wrap: anywhere
  }

}

.button img {
  width: 18px;
  height: 18px;
  object-fit: contain
}

.worry-card span img {
  width: 45px;
  height: 45px;
  object-fit: contain
}

.flow-card>span img {
  width: 38px;
  height: 38px;
  object-fit: contain
}

.contact-actions a {
  flex-direction: row;
  gap: 14px
}

.contact-actions a>img {
  width: 34px;
  height: 34px;
  object-fit: contain
}

.contact-actions a>span {
  display: flex;
  flex-direction: column;
  align-items: center
}

/* Reference-aligned layout and spacing */
@media(min-width:801px) {
  .site-header {
    margin-bottom: 36px
  }

}

.hero {
  min-height: 560px;
  padding: 104px 20px;
  background-image: linear-gradient(90deg, rgba(255, 253, 248, .98) 0%, rgba(255, 253, 248, .94) 6%, rgba(255, 253, 248, .72) 26%, rgba(255, 253, 248, .28) 36%, rgba(255, 253, 248, 0) 100%), url(../img/hero.jpg)
}

.hero-inner {
  max-width: 1180px;
  width: 90%
}

.hero h1 {
  max-width: 620px;
  font-size: clamp(38px, 5vw, 60px);
  line-height: 1.35
}

.hero p {
  max-width: 620px;
  font-size: clamp(16px, 2vw, 19px);
  font-weight: 500;
  line-height: 2
}

.hero-actions {
  margin-top: 36px
}

.worry {
  position: relative;
  overflow: hidden;
  padding: 52px 20px 58px;
  background: none;
  clip-path: none
}

.worry-bg-svg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none
}

.worry .section-inner {
  position: relative;
  z-index: 1;
  max-width: 1120px;
  width: 90%
}

.worry h2 {
  margin: 0 0 24px;
  font-size: 24px;
  line-height: 1.6
}

.worry-grid {
  gap: 20px
}

.worry-card {
  min-height: 132px;
  padding: 22px 14px 18px;
  border: 1px solid #f4d6a3;
  border-radius: 14px;
  box-shadow: none
}

.worry-card span {
  width: 48px;
  height: 48px;
  margin-bottom: 14px;
  background: transparent
}

.worry-card p {
  font-size: 14px;
  line-height: 1.75
}

.services, .features, .flow, .contact {
  padding: 56px 20px 64px
}

.section-inner.narrow, .services .section-inner, .features .section-inner, .flow .section-inner, .contact .section-inner {
  width: 90%;
  max-width: 1180px
}

.features {
  background: #fff
}

.decorated-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 0 0 28px;
  font-size: 28px;
  line-height: 1.4
}

.decorated-title:before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  margin: 0;
  background: url(../img/icon-star.png) center/contain no-repeat;
  flex: 0 0 28px
}

.decorated-title em {
  color: var(--orange)
}

.decorated-title strong {
  color: var(--orange)
}

.service-list, .feature-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 42%;
  min-height: 230px;
  border: 1px solid #f4d6a3;
  border-radius: 18px;
  box-shadow: none
}

.service-card.reverse .copy, .service-card .copy {
  order: 1;
  padding: 24px 18px 22px
}

.service-card.reverse img, .service-card img {
  order: 2;
  height: 100%;
  min-height: 230px
}

.service-card b {
  font-size: 30px;
  line-height: 1
}

.service-card h3 {
  position: relative;
  margin: 6px 0 22px;
  padding-bottom: 10px;
  font-size: 21px;
  line-height: 1.4
}

.service-card h3:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 34px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink)
}

.service-card p {
  font-size: 14px;
  line-height: 1.9
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 205px;
  padding: 0;
  border: 1px solid #f4d6a3;
  border-radius: 18px;
  box-shadow: none
}

.feature-card.reverse>div, .feature-card>div {
  order: 1;
  position: relative;
  z-index: 1;
  width: 64%;
  padding: 22px 16px 20px
}

.feature-card.reverse img, .feature-card>img {
  order: 2;
  position: absolute;
  right: 10px;
  bottom: 8px;
  width: 34%;
  max-width: 145px;
  height: 145px;
  object-fit: contain
}

.feature-card header {
  align-items: flex-start;
  gap: 10px
}

.feature-card b {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-family: inherit;
  font-size: 20px
}

.feature-card h3 {
  color: #6da72b;
  font-size: 20px;
  line-height: 1.45
}

.feature-card p {
  margin-top: 14px;
  font-size: 14px;
  line-height: 1.85
}

.flow-list {
  display: grid;
  grid-template-columns: 1fr 34px 1fr 34px 1fr 34px 1fr;
  gap: 12px
}

.flow-card {
  min-height: 160px;
  padding: 22px 18px 20px;
  text-align: left;
  border: 1px solid #f4d6a3;
  border-radius: 16px
}

.flow-card b {
  font-size: 26px
}

.flow-card h3 {
  display: inline;
  margin-left: 8px;
  color: #6da72b;
  font-size: 17px
}

.flow-card p {
  margin: 12px 0 0;
  padding-right: 42px;
  font-size: 14px;
  line-height: 1.85
}

.flow-card>span {
  left: auto;
  right: 12px;
  bottom: 10px;
  transform: none
}

.flow-list>i {
  padding: 0;
  margin: auto;
  font-size: 0;
  width: 0;
  height: 0;
  border-top: 15px solid transparent;
  border-bottom: 15px solid transparent;
  border-left: 22px solid #f6b72f
}

.contact-box, .facility-box {
  box-shadow: none;
  border: 1px solid #f4d6a3
}

.map {
  max-width: 1180px;
  width: 90%;
  margin: auto;
  padding: 56px 0 64px;
  text-align: left
}

.map h2 {
  position: relative;
  margin: 2px 0 30px;
  padding-left: 42px;
  font-family: inherit;
  font-size: 28px;
  font-weight: 800
}

.map h2:before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 28px;
  height: 28px;
  background: url(../img/icon-star.png) center/contain no-repeat;
  transform: translateY(-50%)
}

.map h2 span {
  font-size: 28px;
  color: var(--ink);
  margin-left: 8px
}

.map iframe {
  height: 450px;
  border-radius: 10px
}

.map>a {
  display: block;
  text-align: right;
  margin-top: 16px
}

@media(max-width:1024px) and (min-width:801px) {
  .hero {
    min-height: auto;
    padding: 72px 20px 80px
  }

  .hero h1 {
    font-size: 42px
  }

  .feature-list {
    grid-template-columns: 1fr
  }

  .flow-list {
    grid-template-columns: 1fr
  }

  .flow-list>i {
    transform: rotate(90deg)
  }

}

@media(max-width:800px) {
  .site-header {
    margin-bottom: 0
  }

  .hero {
    min-height: auto;
    padding: 52px 18px 60px;
    background-image: linear-gradient(180deg, rgba(255, 253, 248, .86), rgba(255, 253, 248, .68) 45%, rgba(255, 253, 248, .28)), url(../img/hero.jpg);
    background-position: 68% center
  }

  .hero-inner {
    width: 100%
  }

  .hero h1 {
    font-size: 30px;
    line-height: 1.45
  }

  .hero p {
    font-size: 14px;
    line-height: 1.9
  }

  .worry, .services, .features, .flow, .contact {
    padding: 40px 16px 48px
  }

  .worry .section-inner, .section-inner.narrow, .services .section-inner, .features .section-inner, .flow .section-inner, .contact .section-inner {
    width: 100%
  }

  .worry h2 {
    font-size: 20px;
    line-height: 1.7
  }

  .worry-grid {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .worry-card, .worry-card:last-child {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: auto;
    padding: 18px;
    text-align: left
  }

  .worry-card span {
    width: 42px;
    height: 42px;
    margin: 0 16px 0 0;
    flex: 0 0 42px
  }

  .service-list, .feature-list {
    grid-template-columns: 1fr;
    gap: 18px
  }

  .service-card {
    grid-template-columns: 1fr;
    min-height: auto
  }

  .service-card.reverse img, .service-card img {
    min-height: 200px;
    height: 200px
  }

  .feature-card {
    min-height: 190px
  }

  .feature-card.reverse>div, .feature-card>div {
    width: 68%;
    padding: 20px 16px 18px
  }

  .feature-card.reverse img, .feature-card>img {
    right: 8px;
    bottom: 8px;
    width: 30%;
    height: 120px
  }

  .flow-list {
    grid-template-columns: 1fr;
    gap: 14px
  }

  .flow-list>i {
    transform: rotate(90deg);
    margin: 0 auto
  }

  .contact-box, .facility-box {
    border-radius: 16px
  }

  .map {
    width: auto;
    margin: 0;
    padding: 40px 16px 48px
  }

  .map h2 {
    margin: 0 0 20px;
    padding-left: 36px;
    font-size: 23px
  }

  .map h2:before {
    width: 24px;
    height: 24px
  }

  .map h2 span {
    display: block;
    margin: 4px 0 0;
    font-size: 14px
  }

  .map iframe {
    height: 360px;
    border-radius: 8px
  }

}

/* Fluid hero typography */
.hero h1 {
  max-width: 700px;
  font-size: clamp(42px, 4.35vw, 60px);
  line-height: 1.38;
  text-wrap: balance;
  overflow-wrap: anywhere
}

.hero h1 em {
  margin-inline: .08em
}

.hero p {
  max-width: 560px;
  text-wrap: pretty
}

.hero p:first-of-type {
  margin-top: 24px
}

/* Contact and facility: side-by-side on desktop, stacked below */
@media(min-width:1025px) {
  .contact .section-inner {
    display: grid;
    grid-template-columns: 1fr 1.08fr;
    gap: 20px;
    align-items: stretch
  }

  .contact-box, .facility-box {
    height: 100%;
    margin-top: 0
  }

  .contact-box {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    padding: 28px 24px
  }

  .contact-box>img {
    width: 128px;
    height: 190px;
    object-fit: contain
  }

  .contact-box h2 {
    font-size: 22px;
    line-height: 1.5
  }

  .contact-box p {
    font-size: 13px;
    line-height: 1.8
  }

  .contact-actions {
    gap: 10px
  }

  .contact-actions a {
    min-height: 86px;
    padding: 10px 8px
  }

  .contact-actions a>img {
    width: 28px;
    height: 28px
  }

  .contact-actions strong {
    font-size: 17px
  }

  .contact-actions small {
    font-size: 11px
  }

  .facility-box {
    display: grid;
    grid-template-columns: 1fr 42%;
    gap: 22px;
    padding: 28px 24px
  }

  .facility-box h2 {
    font-size: 25px
  }

  .facility-box dl {
    grid-template-columns: 76px 1fr;
    margin-top: 18px;
    font-size: 12px
  }

  .facility-box img {
    height: 100%;
    min-height: 250px
  }

}

@media(max-width:1024px) {
  .contact .section-inner {
    display: block
  }

  .facility-box {
    margin-top: 28px
  }

}

/* Contact panel: keep labels readable on tablet-sized screens */
@media(min-width:801px) and (max-width:1024px) {
  .contact-box {
    grid-template-columns: 180px minmax(0, 1fr);
    gap: 28px;
    padding: 38px 42px
  }

  .contact-box>img {
    width: 170px;
    height: auto;
    max-width: 100%;
    max-height: 250px;
    align-self: end
  }

  .contact-box h2 {
    font-size: clamp(24px, 3vw, 30px);
    line-height: 1.55
  }

  .contact-box p {
    font-size: 15px;
    line-height: 1.9
  }

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

  .contact-actions a {
    min-width: 0;
    min-height: 104px;
    padding: 14px 16px
  }

  .contact-actions a>span {
    min-width: 0
  }

  .contact-actions strong {
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.35;
    word-break: keep-all;
    overflow-wrap: normal
  }

  .contact-actions small {
    font-size: 12px;
    word-break: keep-all
  }
}

@media(max-width:800px) {
  .hero h1 {
    max-width: 350px;
    font-size: clamp(29px, 8.2vw, 34px);
    line-height: 1.45;
    text-wrap: balance
  }

  .hero p {
    max-width: 350px
  }

  .hero p:first-of-type {
    margin-top: 20px
  }

}

@media(min-width:1500px) {
  .hero h1 {
    max-width: 760px;
    font-size: 62px
  }

}

/* Compact desktop contact panel, matching the source layout */
.contact {
  background: #fff
}

.contact-box {
  background: linear-gradient(90deg, rgba(255, 248, 237, .96), rgba(255, 253, 248, .98) 58%, #fff)
}

.facility-box {
  background: linear-gradient(90deg, #fff, rgba(255, 253, 248, .98) 64%, rgba(255, 248, 237, .78))
}

@media(min-width:1025px) {
  .contact .section-inner {
    gap: 14px
  }

  .contact-box {
    grid-template-columns: 112px 1fr;
    gap: 20px;
    min-height: 180px;
    padding: 22px 24px 20px
  }

  .contact-box>img {
    width: 96px;
    height: 138px
  }

  .contact-box h2 {
    margin-bottom: 10px;
    font-size: 20px
  }

  .contact-box p {
    margin-bottom: 14px;
    font-size: 13px
  }

  .contact-actions {
    grid-template-columns: 1fr;
    gap: 10px;
    max-width: 300px
  }

  .contact-actions a {
    justify-content: center;
    min-height: 58px;
    padding: 8px 18px;
    border-radius: 999px
  }

  .contact-actions a:first-child {
    background: #fff;
    border: 1px solid var(--green);
    color: var(--ink)
  }

  .contact-actions a:first-child small:first-child {
    color: var(--green)
  }

  .contact-actions a>img {
    width: 30px;
    height: 30px
  }

  .contact-actions a>span {
    align-items: flex-start
  }

  .contact-actions strong {
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap
  }

  .contact-actions a:first-child strong {
    font-size: 20px
  }

  .contact-actions small {
    font-size: 9px;
    line-height: 1.25;
    white-space: nowrap
  }

  .facility-box {
    grid-template-columns: 1fr 190px;
    gap: 22px;
    min-height: 180px;
    padding: 22px 18px 20px 24px
  }

  .facility-box h2 {
    font-size: 23px
  }

  .facility-box dl {
    grid-template-columns: 68px 1fr;
    gap: 0 12px;
    margin-top: 16px;
    font-size: 13px
  }

  .facility-box dt, .facility-box dd {
    padding: 4px 0;
    border-bottom: 0
  }

  .facility-box img {
    width: 190px;
    height: 148px;
    min-height: 0;
    align-self: center
  }

}

/* Hero button icon alignment */
.hero-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1
}

.hero-actions .button img {
  display: block;
  width: 18px;
  height: 18px;
  margin: 0;
  flex: 0 0 18px
}

/* Dot decorations around the SVG wave */
.worry::before, .worry::after {
  content: "";
  position: absolute;
  z-index: 1;
  width: 96px;
  height: 96px;
  pointer-events: none;
  background-size: 24px 24px;
  opacity: .75
}

.worry::before {
  left: 0;
  top: 72px;
  background-image: radial-gradient(circle, #f39800 5px, transparent 6px)
}

.worry::after {
  right: 0;
  bottom: 64px;
  background-image: radial-gradient(circle, #7fba2f 5px, transparent 6px)
}

@media(max-width:800px) {
  .hero-actions .button {
    display: inline-flex
  }

  .worry::before, .worry::after {
    width: 64px;
    height: 64px;
    background-size: 16px 16px;
    opacity: .55
  }

  .worry::before {
    top: 54px
  }

  .worry::after {
    bottom: 38px
  }

}

/* Junior reference: header and hero alignment */
@media(min-width:801px) {
  .site-header {
    height: 96px;
    margin-bottom: 0;
    padding-left: 2.5%;
    padding-right: 2.5%
  }

  .logo img {
    width: 225px
  }

  .site-nav {
    gap: 15px
  }

  .hero h1 {
    max-width: 620px
  }

}

/* Support cards: copy above, photo below */
.service-card, .service-card.reverse {
  display: flex;
  flex-direction: column;
  align-items: stretch
}

.service-card .copy, .service-card.reverse .copy {
  order: 1;
  width: 100%;
  flex: 1
}

.service-card>img, .service-card.reverse>img {
  order: 2;
  width: 100%;
  height: 220px;
  min-height: 220px;
  object-fit: cover
}

@media(max-width:800px) {
  .service-card>img, .service-card.reverse>img {
    height: 200px;
    min-height: 200px
  }

}

/* Reference-aligned map link and footer */
.large-map-link {
  display: flex!important;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 16px;
  color: var(--ink)!important;
  font-size: 16px;
  font-weight: 500!important;
  text-decoration: underline;
  text-underline-offset: 3px
}

.large-map-link svg {
  display: block;
  width: 25px;
  height: 25px;
  fill: var(--green);
  flex: 0 0 25px
}

.site-footer {
  padding: 0;
  background: #7fba2f;
  color: #fff
}

.site-footer .footer-inner {
  display: flex;
  align-items: center;
  gap: 36px;
  width: 90%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 42px 0
}

.site-footer .footer-info {
  min-width: 300px
}

.site-footer .footer-name {
  display: inline-block;
  color: #fff;
  font-size: 28px;
  font-weight: 800;
  line-height: 1.4
}

.site-footer p {
  margin: 8px 0 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.8
}

.site-footer a {
  color: #fff
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 4px;
  margin-left: auto;
  font-size: 13px
}

.site-footer nav a {
  padding: 8px 12px;
  white-space: nowrap
}

.site-footer nav a:hover {
  text-decoration: underline
}

@media(min-width:801px) and (max-width:1200px) {
  .site-footer .footer-inner {
    display: grid;
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
    gap: 28px
  }

  .site-footer .footer-info {
    min-width: 0
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px 10px;
    width: 100%;
    margin-left: 0
  }

  .site-footer nav a {
    padding: 7px 4px;
    text-align: center
  }
}

@media(max-width:800px) {
  .large-map-link {
    font-size: 14px
  }

  .site-footer .footer-inner {
    display: block;
    padding: 34px 0;
    text-align: center
  }

  .site-footer .footer-info {
    min-width: 0
  }

  .site-footer .footer-name {
    font-size: 24px
  }

  .site-footer nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2px;
    margin: 24px auto 0;
    max-width: 360px
  }

  .site-footer nav a {
    padding: 9px 4px
  }

}
