@font-face {
    font-family: "Noto Sans Thai";
    src: url("../fonts/NotoSansThai.ttf") format("truetype");
    font-style: normal;
    font-weight: 100 900;
    font-display: swap;
}

:root {
    color-scheme: light;
    --navy: #09265f;
    --blue: #009ee3;
    --teal: #00ad9a;
    --green: #68c84b;
    --line: #abd4ee;
    --ice: #e2f4fc;
    --shadow: 0 7px 17px #1090c51b;
    --gradient: linear-gradient(175deg, #98d76c, #00a698 85%);
    font-family: "Noto Sans Thai", "Leelawadee UI", Tahoma, sans-serif;
    color: var(--navy);
    scroll-behavior: smooth;
}
* { box-sizing: border-box; }
body { margin: 0; background: #fbfdff; }
main { background: linear-gradient(#dff3ff 310px, #fff 590px, #fff 62%, #effaff); }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #0875bc; outline-offset: 3px; }
h1, h2, h3, p, figure, blockquote { margin: 0; }
.icon { display: inline-block; width: 1.25em; height: 1.25em; flex: none; vertical-align: middle; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.content { width: min(calc(100% - 52px), 1200px); margin-inline: auto; }
.site-header {
    position: relative;
    z-index: 2;
    background: #fff;
    border-bottom: 1px solid #dcebe9;
    box-shadow: 0 4px 18px #0933480a;
}
.header-inner, .footer-inner { width: min(calc(100% - 56px), 1200px); margin-inline: auto; display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.header-inner { min-height: 72px; }
.brand { flex-shrink: 0; }
.brand img { width: clamp(150px, 19vw, 205px); height: auto; mix-blend-mode: multiply; }
.site-nav { display: flex; align-items: center; justify-content: center; flex: 1; gap: clamp(2px, .45vw, 8px); }
.site-nav a, .header-phone { white-space: nowrap; text-decoration: none; }
.site-nav a {
    border-radius: 10px;
    padding: 9px clamp(5px, 1vw, 14px);
    font-size: clamp(14px, 1.55vw, 17px);
    font-weight: 550;
    transition: background-color .18s, color .18s;
}
.site-nav a:hover { background: #f0f7f6; color: #075f55; }
.site-nav [aria-current="page"] { background: #e4f5ef; color: #075f55; font-weight: 700; }
.header-phone {
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 8px 13px;
    background: #08766a;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 7px;
    transition: background-color .18s;
}
.header-phone:hover { background: #075e55; }
.header-phone .icon { color: #d7f7ec; }
.menu-toggle { display: none; }
.hero, .visit { isolation: isolate; overflow: hidden; position: relative; background: radial-gradient(ellipse at 73% 41%, #fff 10%, #e5f6fd 59%, #b4e2fc); }
.hero { --hero-height: clamp(340px, 38vw, 460px); --hero-split: 58%; }
.page-about .hero { --hero-height: clamp(238px, 26vw, 330px); --hero-split: 56%; }
.page-places .hero { --hero-height: clamp(302px, 32vw, 400px); --hero-split: 57%; }
.page-facilities .hero { --hero-height: clamp(340px, 36vw, 440px); --hero-split: 56%; }
.page-contact .hero { --hero-height: clamp(355px, 36vw, 460px); }
.hero-photo, .visit-photo { position: absolute; inset: 0 auto 0 0; width: 60%; height: 100%; object-fit: cover; object-position: left center; z-index: -2; mask-image: linear-gradient(90deg, #000 75%, transparent 99%); }
.hero-inner, .visit-inner { width: min(100%, 1440px); margin-inline: auto; display: grid; align-items: center; position: relative; }
.hero-copy, .visit-copy { grid-column: 2; min-width: 0; }
.hero-inner { min-height: var(--hero-height); grid-template-columns: minmax(0, var(--hero-split)) minmax(0, 1fr); padding: 12px 24px 42px 0; }
.page-contact .hero-inner { padding-bottom: 18px; }
.hero-copy h1 { font-size: clamp(32px, 4.15vw, 60px); font-weight: 800; line-height: 1.16; letter-spacing: -.035em; }
.hero-copy h1 span { color: var(--blue); }
.page-home h1 span, .page-facilities h1 span { display: inline-block; font-size: 1.73em; line-height: 1.04; }
.page-home h1, .page-facilities h1 { max-width: 100%; }
.page-home h1 > span, .page-facilities h1 > span { margin-right: .09em; }
.page-contact h1 { font-size: clamp(45px, 6.25vw, 76px); }
.hero-copy h1 .icon { fill: #75c750; stroke: #f2ffde; stroke-width: .8; width: 1.1em; height: 1.1em; margin-left: .08em; }
.hero-copy p { margin: 9px 0 18px; font-size: clamp(19px, 2.55vw, 30px); line-height: 1.26; font-weight: 550; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: .53em; text-decoration: none; padding: 9px 28px 12px; min-height: 44px; border-radius: 999px; border: 0; background: var(--gradient); color: #fff; font-size: clamp(17px, 2.15vw, 24px); font-weight: 650; white-space: nowrap; cursor: pointer; }
.button:hover { background: linear-gradient(175deg, #4e9b3d, #008273 85%); }
.button:disabled { opacity: .65; cursor: default; }
.waves { position: absolute; z-index: -1; pointer-events: none; inset: auto -10% -78px 47%; height: 140px; border-radius: 60% 45% 0 0; transform: rotate(-8deg); background: linear-gradient(100deg, #d4f5ff, #a8e1fb 68%, #b2efdc); border-top: 2px solid #fff9; }
.waves::after { content: ''; position: absolute; inset: -36px -20px 56px 50%; border-top: 2px solid #fffc; border-radius: 90% 10% 0 0; background: linear-gradient(175deg, #d6f6decc, #8ee8d3aa 70%, transparent); }
.highlights { margin-top: -25px; position: relative; }
.feature-list { list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); padding: 0; margin: 0; }
.feature-list li { position: relative; min-width: 0; }
.feature-list li + li::before, .channel-grid > div + div::before { content: ''; position: absolute; width: 1px; top: 15%; bottom: 15%; left: 0; background: var(--line); }
.feature-list strong, .feature-list li > span > span { display: block; }
.feature-list strong { font-size: clamp(16px, 1.85vw, 21px); line-height: 1.14; }
.feature-list li > span > span { margin-top: 4px; font-size: clamp(14px, 1.65vw, 18px); line-height: 1.25; }
.highlights-list { border-radius: 34px; background: linear-gradient(145deg, #fff, #e2f3fbf5); box-shadow: var(--shadow); border: 1px solid white; padding: 13px 0; }
.highlights-list li { display: flex; align-items: center; justify-content: center; gap: 11px; padding: 5px 7px; min-height: 62px; }
.feature-icon { display: inline-grid; place-items: center; flex: none; color: var(--teal); }
.feature-icon .icon { width: clamp(34px, 4.7vw, 48px); height: clamp(34px, 4.7vw, 48px); }
.feature-list li:nth-child(odd) .feature-icon { color: #50bc48; }
.section { margin-top: 21px; }
.section-title { text-align: center; font-size: clamp(26px, 3.52vw, 43px); line-height: 1.17; font-weight: 800; margin: 0 0 19px; }
.section-title::after { content: ''; display: block; height: 4px; width: 54px; border-radius: 12px; background: linear-gradient(90deg, #8bd65e, #00ad85); margin: 10px auto 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.card { min-width: 0; border-radius: 27px; overflow: hidden; background: #e4f4fc; box-shadow: var(--shadow); }
.card-photo { width: 100%; height: auto; object-fit: cover; aspect-ratio: 2.05; }
.card-copy { display: flex; align-items: center; gap: 12px; padding: 9px 12px 13px; }
.card h3 { font-size: clamp(17px, 2.17vw, 26px); line-height: 1.14; }
.card p { font-size: clamp(14px, 1.7vw, 19px); line-height: 1.27; margin-top: 3px; white-space: pre-line; }
.card-icon { display: grid; place-items: center; width: clamp(40px, 5.6vw, 65px); aspect-ratio: 1; flex: none; border-radius: 50%; color: #00a5e5; background: #fff; font-size: clamp(23px, 3.25vw, 38px); }
.card:nth-child(even) .card-icon { color: #59c749; }
.service-cards .card { background: linear-gradient(155deg, #e0faff, #b9f0e1); }
.service-cards .card:nth-child(2) { background: linear-gradient(155deg, #e4faff, #c0edf3); }
.service-cards .card-copy { min-height: 69px; }
.page-home .service-cards .card-photo { aspect-ratio: 2.05; }
.page-about .service-cards .card-photo { aspect-ratio: 2.38; }
.page-facilities .service-cards .card-photo { aspect-ratio: 1.79; }
.page-facilities .service-cards h3 { font-size: clamp(17px, 1.83vw, 23px); }
.page-facilities .service-cards p { font-size: clamp(14px, 1.55vw, 18px); }
.places-cards { gap: 24px 14px; }
.places-cards .card-copy { justify-content: center; text-align: center; min-height: 90px; padding-inline: 7px; }
.places-cards .card h3 { font-size: clamp(17px, 2.02vw, 24px); }
.landscape-cards .card { background: linear-gradient(150deg, #e4ffe7, #bdf0df); }
.landscape-cards .card-photo { aspect-ratio: 2.85; }
.landscape-cards .card-copy { padding-top: 4px; }
.landscape-cards .card p { font-size: clamp(13px, 1.4vw, 17px); }
.benefits-list { text-align: center; }
.benefits-list li { display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 0 12px 5px; }
.benefits-list li + li::before { top: 32%; bottom: 4%; }
.benefits-list .feature-icon, .channel-grid .feature-icon { width: 80px; height: 59px; border-radius: 50%; background: #def4ff; }
.benefits-list li:nth-child(even) .feature-icon { background: #dcf6e8; }
.benefits-list strong { font-size: clamp(17px, 2.16vw, 25px); }
.intro { margin-top: 15px; }
.intro-grid { display: grid; grid-template-columns: 45% 1fr; gap: 32px; align-items: start; }
.intro-grid img { width: 100%; aspect-ratio: 2.38; object-fit: cover; border-radius: 28px; }
.intro-grid h3 { font-size: clamp(23px, 3vw, 38px); line-height: 1.2; margin: 9px 0 7px; }
.intro-grid p { font-size: clamp(15px, 1.7vw, 20px); line-height: 1.42; }
.page-about .section + .section { margin-top: 15px; }
.quote-section { width: min(calc(100% - 84px), 1150px); margin-top: 32px; }
.testimonial { position: relative; isolation: isolate; border-radius: 30px; overflow: hidden; min-height: 148px; display: flex; align-items: center; padding: 17px 22px 20px 43%; background: linear-gradient(112deg, #f7fdff, #dceffc); }
.testimonial-photo { position: absolute; inset: 0 auto 0 0; width: 41%; height: 100%; object-fit: cover; object-position: left center; mask-image: linear-gradient(90deg, #000 70%, transparent); z-index: -1; }
.quote-mark { position: absolute; left: 37%; top: 7%; font: 800 86px/1 Georgia, serif; color: var(--blue); }
.testimonial blockquote { font-size: clamp(18px, 2.35vw, 27px); font-style: italic; line-height: 1.36; }
.testimonial p { margin-top: 10px; font-size: clamp(14px, 1.65vw, 18px); }
.visit { margin-top: 24px; }
.visit-photo { width: 58%; }
.visit-inner { min-height: 170px; grid-template-columns: 54% minmax(0, 1fr); padding: 14px 18px 15px 0; }
.visit-copy { width: 100%; text-align: center; }
.visit-copy h2 { font-size: clamp(24px, 2.9vw, 36px); line-height: 1.15; }
.visit-copy p { font-size: clamp(15px, 1.85vw, 22px); margin: 4px 0 11px; }
.visit-compact { border-radius: 29px; margin-bottom: 20px; }
.visit-compact .visit-photo { width: 45%; }
.visit-compact .visit-inner { min-height: 130px; grid-template-columns: 44% minmax(0, 1fr); }
.visit-compact .visit-copy { text-align: left; position: relative; padding-right: 180px; }
.visit-compact .button { position: absolute; right: 0; top: 50%; transform: translateY(-50%); }
.site-footer { background: linear-gradient(130deg, #f5fffc, #d3f0fb); padding: 13px 0; }
.footer-inner > a:not(.brand), .footer-nav { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; text-decoration: none; }
.footer-inner .icon { color: #06ac81; }
.footer-nav { flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: 12px; text-decoration: none; }
.channel-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; text-align: center; }
.channel-grid > div { position: relative; padding: 0 12px; font-size: clamp(15px, 1.8vw, 20px); line-height: 1.24; }
.channel-grid .feature-icon { height: 68px; margin-bottom: 7px; }
.channel-grid h3 { margin-bottom: 3px; font-size: clamp(18px, 2.2vw, 24px); }
.channel-grid a { text-decoration: none; }
.contact-grid { display: grid; grid-template-columns: 45% 1fr; gap: 20px; margin-top: 25px; align-items: stretch; }
.contact-photo { border-radius: 27px; width: 100%; height: 100%; object-fit: cover; }
.contact-photo { max-height: 335px; }
.contact-panel { background: linear-gradient(155deg, #fff, #e5f5fd); border: 1px solid white; border-radius: 30px; box-shadow: var(--shadow); padding: 22px 10px; }
@media (max-width: 880px) {
    .header-inner, .footer-inner { width: calc(100% - 30px); }
    .header-inner { gap: 7px; }
    .site-nav a { padding-inline: 6px; }
    .header-phone { font-size: 14px; gap: 4px; padding-inline: 8px; }
    .visit-compact .visit-copy { padding-right: 148px; }
    .visit-compact .button { padding-inline: 16px; }
}
@media (max-width: 740px) {
    .content { width: calc(100% - 30px); }
    .header-inner { flex-wrap: wrap; min-height: 62px; gap: 7px 9px; }
    .header-phone { margin-left: auto; }
    .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 5px; order: 2; border: 1px solid #dcebe9; color: #075f55; background: #f0f7f6; padding: 6px 9px; border-radius: 10px; cursor: pointer; }
    .site-nav { order: 3; flex: 0 0 100%; padding: 3px 0 9px; flex-wrap: wrap; justify-content: flex-start; }
    .site-nav.is-enhanced { display: none; }
    .menu-toggle[aria-expanded="true"] + .site-nav { display: flex; }
    .site-nav a { font-size: 16px; }
    .hero { display: flex; flex-direction: column; }
    .hero-photo { position: relative; width: 100%; height: clamp(190px, 61vw, 350px); object-position: left center; mask-image: linear-gradient(#000 79%, transparent); }
    .hero-inner, .page-contact .hero-inner { display: flex; justify-content: center; min-height: auto; padding: 0 16px 43px; text-align: center; margin-top: -16px; }
    .hero-copy p { margin-bottom: 14px; }
    .page-home h1 span, .page-facilities h1 span { display: inline-block; white-space: nowrap; font-size: 1.23em; }
    .waves { left: 20%; }
    .feature-list { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 10px; }
    .feature-list li:nth-child(3)::before { display: none; }
    .highlights-list { border-radius: 23px; }
    .highlights-list li { justify-content: flex-start; padding-inline: 10px; }
    .benefits-list li { padding-inline: 8px; }
    .cards { gap: 13px; }
    .card { border-radius: 19px; }
    .card-copy { gap: 7px; padding-inline: 8px; }
    .intro-grid, .contact-grid { gap: 15px; }
    .quote-section { margin-top: 22px; }
    .testimonial { min-height: 145px; border-radius: 23px; padding-left: 40%; }
    .quote-mark { display: none; }
    .visit-inner { grid-template-columns: 46% minmax(0, 1fr); }
    .visit-compact .visit-copy { padding-right: 0; }
    .visit-compact .button { position: static; transform: none; }
    .footer-inner { flex-wrap: wrap; justify-content: center; }
}
@media (max-width: 540px) {
    .header-inner .brand img { width: 127px; }
    .header-phone { font-size: 12px; }
    .menu-toggle:not([hidden]) { font-size: 14px; }
    .highlights-list li { gap: 7px; }
    .highlights-list strong { font-size: 15px; }
    .highlights-list li > span > span { font-size: 13px; }
    .highlights-list .icon { width: 29px; height: 29px; }
    .cards, .intro-grid, .contact-grid { grid-template-columns: minmax(0, 1fr); }
    .card h3 { font-size: 21px; }
    .card p { font-size: 16px; }
    .card-copy { padding-inline: 13px; }
    .channel-grid { row-gap: 18px; }
    .contact-photo { max-height: 245px; }
    .testimonial { display: block; padding: 0 15px 16px; }
    .testimonial-photo { position: static; width: calc(100% + 30px); max-width: none; margin: 0 -15px 10px; height: 145px; object-position: left 37%; mask-image: linear-gradient(#000 75%, transparent); }
    .visit-photo, .visit-compact .visit-photo { position: relative; width: 100%; height: 125px; mask-image: linear-gradient(#000 70%, transparent); }
    .visit-inner, .visit-compact .visit-inner { display: block; padding: 0 14px 17px; min-height: auto; }
    .visit-compact .visit-copy { text-align: center; }
    .footer-inner { column-gap: 16px; row-gap: 9px; }
    .footer-inner .brand { flex-basis: 100%; display: flex; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
    :root { scroll-behavior: auto; }
    .site-nav a, .header-phone { transition: none; }
}

/* Keep compact reference layouts at desktop widths while allowing mobile copy to wrap. */
@media (min-width: 881px) {
    .page-about .hero { --hero-height: clamp(255px, 26vw, 330px); }
    .page-about .highlights { margin-top: -34px; }
    .page-about .highlights-list { padding-block: 8px; }
    .page-about .highlights-list strong { font-size: clamp(16px, 1.7vw, 20px); }
    .page-about .highlights-list li { gap: 8px; }
    .page-about .highlights-list .feature-icon .icon { width: 44px; height: 44px; }
    .page-about .intro .section-title { margin-bottom: 4px; }
    .page-about .section + .section { margin-top: 10px; }
    .page-about #services .section-title { margin-bottom: 7px; }
    .page-about .service-cards h3 { font-size: clamp(18px, 1.95vw, 23px); }
    .page-about .service-cards .card-icon { width: 55px; }
    .page-about .service-cards .card-copy { min-height: 69px; gap: 10px; }
    .page-about .benefits-list li > span > span { font-size: clamp(14px, 1.5vw, 18px); }
    .page-about .quote-section { margin-top: 21px; }
    .page-about .testimonial { min-height: 144px; padding-left: 41%; }
    .page-about .testimonial blockquote { font-size: clamp(18px, 2.11vw, 25px); }
    .page-about .visit-inner { min-height: 150px; }
    .page-facilities #services .section-title { margin-bottom: 14px; }
    .page-facilities .service-cards .card-copy { min-height: 70px; padding-block: 6px; gap: 9px; }
    .page-facilities .service-cards .card-icon { width: 53px; }
    .page-facilities .service-cards p { font-size: clamp(14px, 1.45vw, 17px); }
    .page-facilities .benefits-list li > span > span { font-size: clamp(14px, 1.55vw, 18px); }
    .page-facilities .quote-section { margin-top: 22px; }
}
.site-footer a:hover, .channel-grid a:hover { text-decoration: underline; }
