/* --- 0. FONTS — Open Sans & Lato via Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&family=Lato:ital,wght@0,300;0,400;0,700;0,900;1,400&display=swap');

/* --- 1. TOKENS --- */
:root {
  --primary-ink:        #1c2340;
  --primary-ink-soft:   #47517a;
  --copy-text:  #2d3452;
  --surface-base:      #f3f4f8;
  --surface-deep: #e3e6ee;
  --accent:      #7186b8;
  --accent-deep: #4a5875;
  --stamp:      #1c2340;
  --stamp-deep: #10142a;
  --hairline:       #c7cddc;
  --nav-tint:    #ddf0fb;
}

/* --- 2. RESET / BASE --- */
*,
*::before,
*::after {
  box-sizing: border-box;
}


body {
  overscroll-behavior: contain;
  font-family: 'Open Sans', sans-serif;
  line-height: 1.5;
  color: var(--copy-text);
  margin: 0;
  background-color: var(--surface-base);
}



/* --- 3. TYPOGRAPHY --- */
h1 {
  font-family: 'Lato', sans-serif;
  font-size: clamp(2.1rem, 6.4vw, 3.4rem);
  font-weight: 600;
  margin: 0;
  color: var(--primary-ink);
  font-style: italic;
  letter-spacing: 1.75px;
}

h2 {
  font-family: 'Lato', sans-serif;
  font-size: 2.35rem;
  font-weight: 500;
  font-style: italic;
  color: var(--primary-ink-soft);
  text-align: left;
  margin-top: 44px;
  margin-bottom: 28px;
  padding-left: 26px;
  line-height: 1.25;
  position: relative;
  border-left: none;
}

h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.15em;
  width: 12px;
  height: 100%;
  border-left: 3px solid var(--stamp);
}

h2::after {
  content: "";
  position: absolute;
  left: -3px;
  top: 0.15em;
  width: 9px;
  height: 9px;
  background: var(--stamp);
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  box-shadow: 0 0 0 3px rgba(44, 52, 80, 0.12);
}

h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  color: var(--primary-ink-soft);
  margin-top: 38px;
}

/* --- 4. HEADER --- */
.site-header {
  background: linear-gradient(165deg, #46567c 0%, #3e4c6f 45%, #333e5c 100%);
  padding: 30px 20px 26px;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.site-header__inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  width: 100%;
  max-width: 600px;
}

.site-header__eyebrow {
  font-family: 'Lato', sans-serif;
  font-size: clamp(0.6rem, 2vw, 1rem);
 font-style: normal;
  color: #e7ecf7;
  letter-spacing: 3px;
  text-transform: uppercase;
  line-height: 1;
  margin: 0;
  font-weight: 900;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}

.site-header__logo {
  width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: -74px 0;
  opacity: 0.95;
}

.site-header__subtitle {
  margin: 0;
  font-size: clamp(0.78rem, 2.5vw, 0.88rem);
  color: #c9d4ea;
  letter-spacing: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

/* --- 5. NAVIGATION  - */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  overflow: hidden;
  background: var(--nav-tint);
  padding: 14px 20px;
  border-bottom: 0.7px solid #3e4c6f;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: box-shadow 0.25s ease;
}

.navbar.is-scrolled {
  box-shadow: 0 4px 16px rgba(28, 35, 64, 0.15);
}

/* Hamburger toggle wrapper — hidden on desktop, holds label + icon together */
.navbar-toggle-wrap {
  display: none;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

.navbar-toggle-label {
  font-family: 'Open Sans', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary-ink);
  user-select: none;
}

/* Hamburger button — hidden on desktop */
.navbar-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
}

.navbar-toggle__bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary-ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.2s ease;
}

.navbar-toggle[aria-expanded="true"] .navbar-toggle__bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.navbar-toggle[aria-expanded="true"] .navbar-toggle__bar:nth-child(2) {
  opacity: 0;
}
.navbar-toggle[aria-expanded="true"] .navbar-toggle__bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.navbar__links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0;
}

.navbar__links a,
.navmenu-label {
  text-decoration: none;
  color: #1c2340;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  padding: 4px 18px;
  border-radius: 0;
  transition: color 0.18s ease;
}

.navbar__links a:not(:last-child) {
  border-right: 1px solid rgba(28, 35, 64, 0.25);
}

.navbar__links a:hover,
.navmenu:hover .navmenu-label,
.navmenu:focus-within .navmenu-label {
  color: #47517a;
}

.navbar__links a.navbar-active {
  color: #1c2340;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.navmenu {
  position: relative;
  display: inline-flex;
  align-items: center;
  isolation: isolate;
  outline: 0;
}

.navmenu-label {
  gap: 5px;
}

.navmenu-caret {
  display: inline-block;
  font-size: 0.6em;
  color: var(--accent);
  transition: transform 0.2s ease;
}

.navmenu:hover .navmenu-caret,
.navmenu:focus-within .navmenu-caret {
  transform: rotate(180deg);
}

.navmenu-panel {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 10px;
  width: 230px;
  max-width: min(230px, 82vw);
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(28, 35, 64, 0.12);
  border: 1px solid var(--hairline);
  z-index: 1100;
  padding: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.navmenu:hover .navmenu-panel,
.navmenu:focus-within .navmenu-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.navmenu-panel a {
  display: block;
  padding: 9px 12px;
  margin: 0 !important;
  font-size: 0.8rem;
  text-align: left;
  border-radius: 5px;
  transition: background 0.15s ease, color 0.15s ease;
}

.navmenu-panel a:hover,
.navmenu-panel a:focus-visible {
  background: var(--surface-deep);
  color: var(--primary-ink);
}

.navmenu-subitem {
  display: block;
  position: relative;
  padding: 8px 12px 8px 22px !important;
  margin: 0 !important;
  font-size: 0.75rem !important;
  color: #8590ac !important;
  border-radius: 5px;
}

.navmenu-subitem:hover,
.navmenu-subitem:focus-visible {
  color: var(--primary-ink) !important;
  background: var(--surface-deep);
}

.navmenu-heading {
  display: block;
  padding: 10px 12px 6px;
  font-size: 0.62rem;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--accent-deep);
  font-weight: 600;
}

.navmenu-heading:not(:first-child) {
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--hairline);
}

.navmenu-nested { position: relative; }

.navmenu-nested-label {
  display: flex !important;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.navmenu-caret--sub {
  font-size: 0.6em;
  transform: rotate(-90deg);
  transition: transform 0.2s ease, color 0.15s ease;
}

.navmenu-nested:hover .navmenu-caret--sub,
.navmenu-nested:focus-within .navmenu-caret--sub {
  transform: rotate(-90deg) translateX(-2px);
  color: var(--primary-ink);
}

.navmenu-subpanel {
  position: absolute;
  top: 0;
  right: 100%;
  margin-right: 8px;
  width: 200px;
  max-width: 65vw;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(28, 35, 64, 0.12);
  border: 1px solid var(--hairline);
  padding: 6px;
  z-index: 1200;
  opacity: 0;
  visibility: hidden;
  transform: translateX(4px);
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
}

.navmenu-nested:hover .navmenu-subpanel,
.navmenu-nested:focus-within .navmenu-subpanel {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.navmenu-subpanel .navmenu-subitem { padding-left: 12px !important; }

/* --- 6. SECTIONS — base rule --- */
section {
  max-width: 860px;
  width: 100%;
  margin: 0 auto;
  padding: 34px 22px 60px;
  border-bottom: 1px solid var(--hairline);
  scroll-margin-top: 92px;
  box-sizing: border-box;
}

/* --- 7. SHARED SECTION UTILITIES --- */
.section-inner {
  max-width: 820px;
  margin-inline: auto;
}

.section-inner--centered { text-align: center; }

.section-header.centered {
  text-align: center;
  margin-bottom: 36px;
}

.section-label {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

/* Overrides global h2 — no red bar, no left padding */
.section-heading {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.2rem);
  font-style: italic;
  font-weight: 500;
  color: var(--primary-ink-soft);
  line-height: 1.3;
  margin: 0 0 20px;
  padding-left: 0;
  text-align: inherit;
}

.section-heading::before,
.section-heading::after { display: none; }

.section-body {
  font-size: 1.2rem;
  color: var(--primary-ink-soft); 
  line-height: 1.9;
  margin-bottom: 14px;
}

.ornament {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-block: 20px;
  max-width: 200px;
  margin-inline: auto;
}

.ornament-line {
  flex: 1;
  height: 1px;
  background: var(--hairline);
}

.ornament-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
}

.kanji-display {
  font-size: clamp(2.4rem, 6vw, 3.5rem);
  color: var(--accent);
  opacity: 0.3;
  line-height: 1;
  letter-spacing: 12px;
  margin-bottom: 20px;
  font-family: 'Open Sans', sans-serif;
}

/* --- 8. HERO --- */
.section-hero { padding-block: 60px; }

.hero-inner {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 6vw, 60px);
  align-items: center;
}

.hero-heading {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-style: italic;
  font-weight: 500;
  color: var(--primary-ink);
  line-height: 1.25;
  margin-bottom: 18px;
  padding-left: 0;
}

.hero-heading::before,
.hero-heading::after { display: none; }

.hero-heading em {
  font-style: italic;
  color: var(--accent);
}

.hero-body {
  font-size: 1.2rem;
  color: var(--primary-ink-soft);
  line-height: 1.85;
  margin-bottom: 26px;
}

.hero-cta {
  display: inline-block;
  font-family: 'Open Sans', sans-serif;
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-deep) 100%);
  padding: 13px 28px;
  text-decoration: none;
  border-radius: 2px;
  transition: background 0.25s;
}

.hero-cta:hover {
  background: linear-gradient(135deg, var(--stamp) 0%, var(--stamp-deep) 100%);
}

.hero-image__frame {
  aspect-ratio: 3 / 4;
  background: var(--surface-deep);
  overflow: hidden;
}

.hero-image__frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.hero-image__caption {
  margin-top: 10px;
  font-size: 0.72rem;
  letter-spacing: 2px;
  color: var(--primary-ink-soft);
  opacity: 0.7;
  text-align: center;
}

@media (max-width: 600px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-image { order: -1; }
  .hero-image__frame { max-width: 240px; margin-inline: auto; }
}

/* --- 9. ABOUT REIKI --- */
.section-about-reiki { background: rgba(233, 235, 241, 0.3); }
.section-about-reiki .section-inner { max-width: 580px; }

/* --- 10. SERVICES --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1px;
  background: var(--hairline);
  border: 1px solid var(--hairline);
}

.service-card {
  background: var(--surface-base);
  padding: clamp(20px, 4vw, 32px);
}

.service-card__number {
  font-family: 'Lato', sans-serif;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: var(--accent);
  opacity: 0.7;
  margin-bottom: 10px;
}

.service-card__name {
  font-family: 'Lato', sans-serif;
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--primary-ink-soft);
  margin: 0 0 10px;
  line-height: 1.3;
}

.service-card__desc {
  font-size: 1.17rem;
  color: var(--primary-ink-soft);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-card__detail {
  font-size: 0.7rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  border-top: 1px solid var(--hairline);
  padding-top: 12px;
}

/* --- 11. ABOUT Page --- */
.section-about { background: rgba(233, 235, 241, 0.25); }

.about-inner {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: clamp(28px, 6vw, 56px);
  align-items: start;
}

.about-aside {
  position: sticky;
  top: 80px;
}

.about-aside__photo {
  aspect-ratio: 1;
  background: var(--hairline);
  overflow: hidden;
  margin-bottom: 12px;
}

.about-aside__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-aside__name {
  font-family: 'Lato', sans-serif;
  font-size: 1rem;
  font-style: italic;
  color: var(--primary-ink-soft);
  text-align: center;
  margin: 0;
}

.about-aside__role {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  text-align: center;
  margin-top: 4px;
}

.about-credentials {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.about-credential {
  font-size: 0.68rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent-deep);
  border: 1px solid rgba(107, 122, 161, 0.4);
  padding: 5px 12px;
  border-radius: 2px;
}

@media (max-width: 560px) {
  .about-inner { grid-template-columns: 1fr; }
  .about-aside { position: static; display: flex; align-items: center; gap: 16px; }
  .about-aside__photo { width: 72px; height: 72px; flex-shrink: 0; margin-bottom: 0; }
  .about-aside__name,
  .about-aside__role { text-align: left; }
}

/* --- 13. CONTACT & LOCATION --- */
.contact-info-layout {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  align-items: stretch;
}

.detail-card {
  min-width: 0;
  border: 1px solid rgba(107, 122, 161, 0.28);
  padding: 28px;
  border-radius: 10px;
  background: rgba(246, 247, 250, 0.7);
  text-align: left;
  box-sizing: border-box;
}

.detail-card h3 {
  font-family: 'Lato', sans-serif;
  font-size: 1.5rem;
  margin-top: 0;
  color: var(--primary-ink-soft);
  border-bottom: 1px solid var(--accent);
  display: inline-block;
  padding-bottom: 6px;
  margin-bottom: 22px;
}

.detail-card-title {
  margin: 0 0 12px;
  font-weight: 700;
  color: var(--primary-ink-soft);
  font-size: 1.05rem;
}

.detail-card-body {
  font-size: 0.92rem;
  color: var(--primary-ink-soft);
  line-height: 1.65;
  margin-bottom: 24px;
}

.detail-card-note {
  font-size: 0.78rem;
  color: #5f6c8f;
  font-style: italic;
  border-top: 1px solid rgba(30, 40, 70, 0.08);
  padding-top: 16px;
}

/* Contact list */
.contact-list {
  list-style: none;
  padding: 0;
  margin-top: 10px;
}

.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(215, 219, 230, 0.5);
  font-size: 0.9rem;
}

.contact-list li:last-child { border-bottom: none; }

.contact-list__label {
  font-size: 0.65rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent);
  min-width: 80px;
  flex-shrink: 0;
}

.contact-list__value {
  color: var(--primary-ink-soft);
  text-decoration: none;
  transition: color 0.2s;
}

a.contact-list__value:hover { color: var(--stamp); }

/* Map embed */
.location-map {
  overflow: hidden;
  border-radius: 4px;
  border: 1px solid var(--hairline);
  margin-bottom: 14px;
}

/* --- 14. FAQ --- */
.faq-container {
  display: flex;
  flex-direction: column;
}

.faq-item { border-top: 1px solid var(--hairline); }
.faq-item:last-child { border-bottom: 1px solid var(--hairline); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 16px 0;
  font-size: 0.92rem;
  color: var(--primary-ink-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  user-select: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: '+';
  font-family: 'Lato', sans-serif;
  font-size: 1.3rem;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-answer {
  padding-bottom: 18px;
  font-size: 0.88rem;
  color: var(--primary-ink-soft);
  line-height: 1.85;
}

.faq-answer p + p { margin-top: 8px; }

/* --- 15. FOOTER --- */
.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  background: linear-gradient(165deg, #46567c 0%, #3e4c6f 45%, #333e5c 100%);
  padding: 56px 24px 0;
}

.footer-inner {
  max-width: 820px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px 48px;
  padding-bottom: 48px;
}

@media (max-width: 650px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

.footer-brand__name {
  font-family: 'Lato', sans-serif;
  font-style: italic;
  font-size: 1.45rem;
  font-weight: 500;
  color: #e7ecf7;
  margin: 0 0 6px;
}

.footer-brand__tagline {
  font-size: 0.85rem;
  color: #c9d4ea;
  margin: 0 0 4px;
  line-height: 1.5;
}

.footer-brand__location {
  font-size: 0.8rem;
  color: #c9d4ea;
  margin: 0;
  letter-spacing: 0.03em;
  opacity: 0.75;
}

.footer-nav__heading {
  font-family: 'Lato', sans-serif;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: #c9d4ea;
  margin: 0 0 14px;
}

.footer-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav a,
.footer-contact a {
  font-size: 0.875rem;
  color: #c9d4ea;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-nav a:hover,
.footer-contact a:hover {
  color: #ffffff;
}

.footer-contact p {
  margin: 0 0 8px;
  font-size: 0.875rem;
  color: #c9d4ea;
  line-height: 1.5;
}

.footer-contact__note {
  margin-top: 16px !important;
  font-size: 0.8rem !important;
  color: #c9d4ea !important;
  opacity: 0.75;
  line-height: 1.6 !important;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 16px 0 20px;
  max-width: 820px;
  margin-inline: auto;
}

.footer-bottom p {
  font-size: 0.75rem;
  color: #c9d4ea;
  margin: 0;
  letter-spacing: 0.04em;
  opacity: 0.7;
}

.footer-credit {
  font-size: 0.75rem;
  font-style: italic;
  color: #c9d4ea;
  opacity: 0.7;
  margin: 0 0 10px;
  line-height: 1.6;
}

.footer-credit a {
  color: #e7ecf7;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: color 0.2s ease;
}

.footer-credit a:hover {
  color: #ffffff;
}

/* --- 16. CTA BOX --- */

.section-cta {
  padding-block: 50px 70px;
}

.cta-box {
  max-width: 560px;
  margin-inline: auto;
  text-align: center;
  background: linear-gradient(180deg, rgba(246, 247, 250, 0.75) 0%, rgba(233, 235, 241, 0.5) 100%);
  border: 1px solid rgba(107, 122, 161, 0.35);
  border-radius: 10px;
  padding: clamp(32px, 6vw, 52px) clamp(24px, 5vw, 48px);
  box-shadow: 0 18px 40px rgba(30, 40, 70, 0.08);
  position: relative;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 10px;
  right: 10px;
  bottom: 10px;
  border: 1px solid rgba(107, 122, 161, 0.25);
  border-radius: 6px;
  pointer-events: none;
}

.cta-box .section-label {
  color: var(--accent);
}

.cta-box__heading {
  font-family: 'Lato', sans-serif;
  font-size: clamp(1.5rem, 4vw, 2.1rem);
  font-style: italic;
  font-weight: 500;
  color: var(--primary-ink);
  line-height: 1.3;
  margin: 4px 0 16px;
}

.cta-box__body {
  font-size: 0.92rem;
  color: var(--primary-ink-soft);
  line-height: 1.85;
  margin: 0 0 28px;
}

.cta-box__body a {
  color: var(--stamp);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Button group shared by hero + cta box */
.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.hero-cta--secondary {
  background: transparent;
  color: var(--accent-deep);
  border: 1px solid var(--accent);
}

.hero-cta--secondary:hover {
  background: rgba(107, 122, 161, 0.1);
  color: var(--stamp-deep);
  border-color: var(--stamp);
}

@media (max-width: 430px) {
  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-cta-group .hero-cta {
    text-align: center;
  }
}

/* --- 17. MOBILE / RESPONSIVE --- */

/* Header — tighter spacing on small screens */
@media (max-width: 650px) {
  .site-header {
    padding: 22px 16px 18px;
  }
  .site-header__inner {
    gap: 2px;
  }
  .site-header__logo {
    width: 150px;
    margin: -28px 0;
  }
}

/* Navbar — hamburger toggle + slide-down menu on mobile */
@media (max-width: 760px) {
  .navbar-toggle-wrap {
    display: flex;
  }

  .navbar-toggle {
    display: flex;
  }

  .navbar {
    justify-content: flex-start;
    padding: 10px 16px;
    overflow: visible; /* base .navbar rule sets overflow: hidden, which clips the absolutely-positioned dropdown menu below — must be visible on mobile */
  }

  .navbar__links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #ffffff;
    border-bottom: 1px solid var(--hairline);
    box-shadow: 0 12px 24px rgba(28, 35, 64, 0.15);
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transition: max-height 0.3s ease, opacity 0.2s ease, visibility 0.3s;
  }

  .navbar__links.is-open {
    max-height: 80vh;
    overflow-y: auto;
    opacity: 1;
    visibility: visible;
  }

  .navbar__links a,
  .navmenu-label {
    width: 100%;
    padding: 16px 20px;
    font-size: 0.9rem;
    color: var(--primary-ink-soft);
  }

  .navbar__links a:not(:last-child) {
    border-right: none;
    border-bottom: 1px solid var(--hairline);
  }

  .navbar__links a:hover,
  .navbar__links a.navbar-active {
    color: var(--primary-ink);
  }

  .navmenu-panel,
  .navmenu-subpanel {
    position: static;
    width: 100%;
    max-width: 100%;
    box-shadow: none;
    border: none;
    border-radius: 0;
    background: var(--surface-deep);
    margin: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    display: none;
  }

  .navmenu.is-open .navmenu-panel {
    display: block;
  }

  .navmenu-nested.is-open .navmenu-subpanel {
    display: block;
    position: static;
    width: 100%;
    box-shadow: none;
    border: none;
    background: var(--surface-deep);
  }
}

/* Sections — reduce outer padding so content isn't cramped */
@media (max-width: 650px) {
  section {
    padding: 24px 16px 44px;
  }

  .kanji-display {
    letter-spacing: 6px;
  }

  h2 {
    margin-top: 36px;
    margin-bottom: 22px;
  }
}

/* Cards & CTAs — full width, comfortable tap targets */
@media (max-width: 460px) {
  .service-card {
    padding: 20px;
  }

  .detail-card {
    padding: 18px;
  }

  .hero-cta,
  .hero-cta--secondary {
    width: 100%;
    text-align: center;
  }

  .cta-box {
    padding: 28px 20px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }
}

/* Contact list — stack label above value on very narrow screens */
@media (max-width: 390px) {
  .contact-list li {
    flex-direction: column;
    gap: 2px;
    padding: 12px 0;
  }

  .contact-list__label {
    min-width: 0;
  }
}

 
.cta-alt {
  margin-top: 14px;
  font-size: 0.85rem;
  color: var(--primary-ink-soft, #47517a);
}

.cta-alt a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cta-alt a:hover {
  color: var(--stamp, #1c2340);
}

/* ------------------------------------------------------------
   Floating WhatsApp button - persistent single primary
 
   ------------------------------------------------------------ */
.whatsapp-float {
  position: fixed;      /* stays fixed on screen while the page scrolls */
  right: 22px;           
  bottom: 22px;         
  z-index: 999;         /* keeps it above page content, below the mobile nav menu */
  width: 58px;           
  height: 58px;         
  border-radius: 50%;   /* 50% = circle. Use e.g. 12px for a rounded square instead */
  background: #1a1a1a;   
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35), 0 2px 6px rgba(0, 0, 0, 0.2); /* drop shadow under the button */
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px) scale(1.05); /* small lift + grow on hover */
  background: #000000;  /* slightly darker on hover - change to match .whatsapp-float background above */
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.45), 0 4px 10px rgba(0, 0, 0, 0.25);
}

.whatsapp-float__icon {
  width: 32px;   /* icon size inside the button - keep smaller than the button width/height above */
  height: 32px;
  position: relative;
  z-index: 2;    /* sits above the pulsing ring */
}

.whatsapp-float__ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #1a1a1a;   
  opacity: 0.45;        
  animation: whatsapp-pulse 2.2s ease-out infinite; 
  z-index: 1;
}

 
@keyframes whatsapp-pulse {
  0%   { transform: scale(1);   opacity: 0.45; }
  70%  { transform: scale(1.7); opacity: 0; }
  100% { transform: scale(1.7); opacity: 0; }
}

 
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float__ring { animation: none; display: none; }
}

 
@media (max-width: 460px) {
  .whatsapp-float {
    right: 16px;
    bottom: 16px;
    width: 52px;
    height: 52px;
  }
  .whatsapp-float__icon {
    width: 28px;
    height: 28px;
  }
}