:root {
    --brand: #0099cb;
    --brand-deep: #007fa8;
    --accent: #e3222a;
    --ink: #282828;
    --muted: #626262;
    --page: #f4f4f4;
    --shadow: 0 3px 18px rgba(0, 0, 0, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; background: var(--page); color: var(--ink); font-family: "Lato", Arial, sans-serif; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
.skip-link { position: fixed; top: -5rem; left: 1rem; z-index: 2000; padding: .75rem 1rem; background: #fff; color: #000; }
.skip-link:focus { top: 1rem; }

.site-page { width: min(1140px, calc(100% - 30px)); min-height: 100vh; margin: 16px auto 40px; overflow: hidden; background: #fff; box-shadow: var(--shadow); }
.website-top-ad:empty, .ad-slot:empty, .home-ad:empty { display: none; }
.website-top-ad > :last-child, .ad-slot > :last-child, .home-ad > :last-child { margin-bottom: 0; }

.site-header { position: relative; z-index: 100; background: var(--brand); color: #fff; }
.logo-panel { display: grid; min-height: 146px; place-items: center; border-bottom: 1px solid rgba(255, 255, 255, .9); }
.logo-panel a { display: block; }
.logo-panel img { width: 213px; height: 100px; object-fit: contain; }
.navigation-bar { position: relative; }
.primary-navigation { display: flex; align-items: stretch; }
.primary-navigation a { flex: 1 1 0; padding: 17px 8px 18px; color: #fff; font-size: 1rem; text-align: center; text-decoration: none; transition: background-color .2s ease; }
.primary-navigation a:hover, .primary-navigation a:focus-visible, .primary-navigation a.active { background: rgba(0, 0, 0, .12); }
.menu-toggle { display: none; width: 100%; padding: 14px 20px; border: 0; background: var(--brand); color: #fff; font: inherit; text-align: left; }
.menu-toggle i { float: right; font-size: 1.5rem; line-height: 1; }

.sub-banner { display: grid; min-height: 220px; padding: 42px; place-items: center; background: linear-gradient(rgba(0, 0, 0, .38), rgba(0, 0, 0, .38)), url("/images/best-massage-north-auburn/s4.jpg") center / cover; color: #fff; text-align: center; }
.sub-banner h1 { margin: 0; font-size: clamp(2.4rem, 6vw, 4rem); text-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.is-inner #main-content { padding: 48px 0; }

.home-carousel .carousel-item { height: 350px; background: #ddd; }
.home-carousel .carousel-item img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.home-carousel .carousel-indicators [data-bs-target] { width: 54px; height: 3px; margin-inline: 5px; }

.booking-callout { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 30px; padding: 30px 36px; background: linear-gradient(135deg, #eefaff 0%, #fff 72%); border-bottom: 1px solid rgba(0, 153, 203, .2); box-shadow: inset 5px 0 0 var(--brand); }
.booking-callout__copy > span { display: block; margin-bottom: 5px; color: var(--brand-deep); font-size: .8rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.booking-callout h2 { margin: 0 0 8px; color: var(--ink); font-size: clamp(1.65rem, 3vw, 2.35rem); font-weight: 700; }
.booking-callout p { max-width: 690px; margin: 0; color: var(--muted); line-height: 1.65; }
.booking-callout__actions { display: flex; min-width: 240px; flex-direction: column; gap: 10px; }
.booking-button, .phone-button { display: inline-flex; min-height: 50px; align-items: center; justify-content: center; gap: 9px; padding: 11px 20px; border: 2px solid var(--brand); border-radius: 7px; font-weight: 700; text-decoration: none; transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease; }
.booking-button { color: #fff; background: var(--accent); border-color: var(--accent); box-shadow: 0 7px 17px rgba(227, 34, 42, .22); }
.booking-button:hover { color: #fff; background: #bc1920; border-color: #bc1920; transform: translateY(-1px); }
.phone-button { color: var(--brand-deep); background: #fff; }
.phone-button:hover { color: #fff; background: var(--brand-deep); border-color: var(--brand-deep); }

.section-pad, .content-section { padding: 46px 24px; }
.welcome-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 24px; }
.image-panel { position: relative; min-height: 340px; overflow: hidden; background-position: center; background-size: cover; }
.image-panel::before { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .58); }
.image-panel > div { position: relative; z-index: 1; }
.welcome-panel { display: grid; padding: 24px; place-items: center; background-image: url("/images/best-massage-north-auburn/s5.jpg"); color: #fff; text-align: center; }
.welcome-panel h1 { margin-bottom: 18px; font-size: clamp(2.1rem, 4vw, 2.8rem); }
.welcome-panel p { max-width: 580px; margin: 0 auto 14px; line-height: 1.55; }
.gift-panel { padding: 24px; background-image: url("/images/best-massage-north-auburn/s7.jpg"); color: #fff; }
.gift-panel::before { background: rgba(0, 0, 0, .38); }
.gift-panel h2 { margin-bottom: 24px; font-size: clamp(2rem, 4vw, 2.8rem); }
.gift-panel p { font-size: 1.5rem; line-height: 1.25; }
.gift-panel strong, .service-note { color: #ff2932; }
.gift-panel a { display: inline-block; margin-top: 12px; padding-bottom: 3px; border-bottom: 1px solid #fff; color: #fff; text-decoration: none; }
.atmosphere-panel { background-image: url("/images/best-massage-north-auburn/s8.jpg"); }
.atmosphere-panel::before { display: none; }

.content-section { padding-top: 0; }
.section-title { display: flex; align-items: flex-end; gap: 18px; border-bottom: 2px solid var(--accent); }
.section-title h2 { margin: 0 0 7px; font-size: 1.5rem; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding-top: 24px; }
.service-grid article { display: flex; min-width: 0; flex-direction: column; }
.service-grid img { width: 100%; aspect-ratio: 640 / 440; object-fit: cover; }
.service-grid h3 { margin: 16px 0 10px; font-size: clamp(1.2rem, 2.2vw, 1.7rem); }
.service-grid p { color: var(--muted); line-height: 1.55; }
.service-grid .service-note { margin-top: auto; color: var(--accent); font-weight: 700; }
.section-action { margin-top: 4px; text-align: right; }
.section-action a { display: inline-flex; align-items: center; gap: 7px; color: var(--brand-deep); font-weight: 700; text-decoration: none; }
.section-action a:hover { text-decoration: underline; }

.gallery-section { padding-bottom: 54px; }
.home-gallery { margin: 24px 0; columns: 3; column-gap: 20px; }
.home-gallery figure { margin: 0 0 20px; overflow: hidden; break-inside: avoid; background: #eee; cursor: zoom-in; }
.home-gallery img { width: 100%; transition: transform .28s ease; }
.home-gallery figure:hover img { transform: scale(1.025); }

.site-footer { padding: 42px 24px 18px; background: var(--brand); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1.2fr; gap: 40px; }
.site-footer h2 { margin-bottom: 16px; font-size: 1.65rem; }
.site-footer p { line-height: 1.6; }
.footer-navigation a { display: block; width: fit-content; margin-bottom: 8px; color: #fff; font-size: 1.05rem; text-decoration: none; }
.footer-navigation a:hover { text-decoration: underline; }
.contact-line { display: flex; gap: 10px; margin: 0 0 12px; color: #fff; line-height: 1.45; text-decoration: none; }
.contact-line i { flex: 0 0 18px; margin-top: 2px; }
.contact-line:hover { color: #fff; text-decoration: underline; }
.location-button { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .7); background: transparent; color: #fff; }
.footer-bottom { display: flex; justify-content: space-between; gap: 16px; margin-top: 30px; padding-top: 15px; border-top: 1px solid rgba(255, 255, 255, .32); font-size: .8rem; }
.footer-bottom a { color: #fff; }

.back-to-top { position: fixed; right: 18px; bottom: 18px; z-index: 500; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--brand-deep); color: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .25); opacity: 0; pointer-events: none; transform: translateY(8px); transition: opacity .2s ease, transform .2s ease; }
.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: none; }
.is-inner #main-content > .container:first-child { margin-top: 0; }
.btn-primary { --bs-btn-bg: var(--brand); --bs-btn-border-color: var(--brand); --bs-btn-hover-bg: var(--brand-deep); --bs-btn-hover-border-color: var(--brand-deep); }
.text-primary { color: var(--brand-deep) !important; }

@media (max-width: 991.98px) {
    .welcome-grid { grid-template-columns: 2fr 1fr; }
    .atmosphere-panel { min-height: 250px; grid-column: 1 / -1; }
    .service-grid { grid-template-columns: repeat(2, 1fr); row-gap: 30px; }
    .footer-grid { grid-template-columns: 1.6fr 1fr; }
    .footer-grid > :last-child { grid-column: 1 / -1; }
}

@media (max-width: 767.98px) {
    .booking-callout { grid-template-columns: 1fr; gap: 20px; padding: 26px 20px; }
    .booking-callout__actions { min-width: 0; flex-direction: row; flex-wrap: wrap; }
    .site-page { width: min(100% - 20px, 1140px); margin-top: 10px; }
    .logo-panel { min-height: 142px; }
    .menu-toggle { display: block; }
    .primary-navigation { display: none; position: absolute; right: 0; left: 0; flex-direction: column; border-top: 1px solid rgba(255, 255, 255, .45); background: var(--brand); box-shadow: 0 10px 20px rgba(0, 0, 0, .2); }
    .primary-navigation.is-open { display: flex; }
    .primary-navigation a { flex: none; padding: 13px 20px; border-bottom: 1px solid rgba(255, 255, 255, .22); text-align: left; }
    .home-carousel .carousel-item { height: 250px; }
    .welcome-grid { grid-template-columns: 1fr 1fr; gap: 14px; padding-inline: 14px; }
    .welcome-panel { grid-column: 1 / -1; min-height: 470px; }
    .gift-panel, .atmosphere-panel { min-height: 310px; grid-column: auto; }
    .section-pad, .content-section { padding-inline: 14px; }
    .home-gallery { columns: 2; column-gap: 14px; }
    .home-gallery figure { margin-bottom: 14px; }
    .site-footer { padding-inline: 20px; }
}

@media (max-width: 575.98px) {
    .booking-callout { padding: 24px 18px; box-shadow: inset 0 4px 0 var(--brand); }
    .booking-callout__actions { flex-direction: column; }
    .booking-button, .phone-button { width: 100%; }
    .site-page { width: calc(100% - 16px); margin-top: 8px; }
    .logo-panel { min-height: 138px; }
    .logo-panel img { width: 204px; height: auto; }
    .welcome-grid { grid-template-columns: 1fr; }
    .welcome-panel { min-height: 0; padding: 28px 18px; }
    .welcome-panel p { font-size: .96rem; }
    .gift-panel, .atmosphere-panel { min-height: 290px; }
    .service-grid { grid-template-columns: 1fr; }
    .service-grid h3 { font-size: 1.55rem; }
    .home-gallery { columns: 1; }
    .footer-grid { grid-template-columns: 1fr; gap: 26px; }
    .footer-grid > :last-child { grid-column: auto; }
    .footer-bottom { flex-direction: column; }
    .sub-banner { min-height: 170px; padding: 30px 18px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
