/* Mallisa Laguana - Beauty & Wellness
   Static rebuild of the Google Sites site (theme colors/fonts kept from the original). */
:root {
  --ink: #1c1c1c;          /* header/title text on light pages, header bar */
  --light: #f9f9f9;        /* body text on dark sections */
  --gray: #eaeaea;         /* light sections, footer, buttons */
  --dark: #393636;         /* dark sections */
  --card: #514e4e;         /* link-preview cards */
  --muted: #cccccc;
  --slate: #4b5563;
  --rule: #d9d9d9;
  --wrap: 1154px;
  --radius: 4px;
  font-family: Arial, Helvetica, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; font-size: 16px; line-height: 1.38; color: var(--ink); background: var(--gray); }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: #fff; color: #000; padding: 10px 14px; border-radius: var(--radius); }
.skip-link:focus { top: 12px; }
:focus-visible { outline: 3px solid #4d90fe; outline-offset: 2px; }

/* ---------- Header (transparent over the hero, solid after scrolling, like Google Sites) ---------- */
.site-header { position: fixed; inset: 0 0 auto 0; z-index: 50; height: 56px; color: var(--hdr, var(--light)); transition: background-color .2s, color .2s, box-shadow .2s; }
body.light-hero .site-header { --hdr: var(--ink); }
.site-header.scrolled { background: var(--ink); color: var(--light); box-shadow: 0 2px 4px rgba(0,0,0,.2); }
.header-inner { height: 56px; display: flex; align-items: center; gap: 16px; padding: 0 28px; }
.brand { display: flex; align-items: center; gap: 16px; text-decoration: none; color: inherit; min-width: 0; }
.brand img { width: 40px; height: 40px; object-fit: cover; }
.brand span { font-size: 20px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nav { margin-left: auto; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 26px; align-items: center; }
.nav a, .nav button { font: inherit; font-size: 16px; color: inherit; text-decoration: none; background: none; border: 0; padding: 6px 0; cursor: pointer; }
.nav a[aria-current="page"], .nav .is-current > button { font-weight: 700; }
.nav a:hover, .nav button:hover { text-decoration: underline; }
.has-sub { position: relative; }
.has-sub > button { display: inline-flex; align-items: center; gap: 4px; }
.has-sub > button svg { width: 18px; height: 18px; fill: currentColor; transition: transform .15s; }
.has-sub > button[aria-expanded="true"] svg { transform: rotate(180deg); }
.submenu { list-style: none; margin: 0; padding: 8px 0; position: absolute; right: 0; top: calc(100% + 6px); min-width: 160px; background: #fff; color: var(--ink); border-radius: var(--radius); box-shadow: 0 2px 10px rgba(0,0,0,.2); display: none; }
.submenu.open { display: block; }
.submenu a { display: block; padding: 10px 20px; color: var(--ink); }
.submenu a[aria-current="page"] { font-weight: 700; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; padding: 8px; margin-left: -8px; cursor: pointer; }
.menu-toggle svg { width: 24px; height: 24px; fill: currentColor; display: block; }

/* ---------- Hero banner ---------- */
.hero { position: relative; height: 340px; display: flex; align-items: center; background-color: #777; background-size: cover; background-repeat: no-repeat; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: var(--overlay, rgba(33,33,33,.6)); }
.hero-home { background-image: url("/images/hero-home.jpg"); background-image: image-set(url("/images/hero-home.webp") type("image/webp"), url("/images/hero-home.jpg") type("image/jpeg")); background-position: 50% 0%; --overlay: rgba(255,255,255,.5); }
.hero-hair { background-image: url("/images/hero-hair.jpg"); background-image: image-set(url("/images/hero-hair.webp") type("image/webp"), url("/images/hero-hair.jpg") type("image/jpeg")); background-position: 50% 50%; }
.hero-reiki { background-image: url("/images/hero-reiki.jpg"); background-image: image-set(url("/images/hero-reiki.webp") type("image/webp"), url("/images/hero-reiki.jpg") type("image/jpeg")); background-position: 50% 0%; }
.hero .wrap { padding-top: 0; }
.hero-title-home { width: 66.6%; margin: 0; text-align: center; font-size: 32px; font-style: italic; font-weight: 700; color: var(--ink); }
.hero-title-reiki { margin: 0; text-align: center; font-size: 35.33px; font-weight: 700; color: #fff; white-space: pre-wrap; }
.hero-text { margin: 0 0 0 26.3%; max-width: 63%; font-weight: 700; color: #fff; line-height: 1.6; }

/* ---------- Sections ---------- */
.sec { padding: 24px 0; }
.sec-dark { background: var(--dark); color: var(--light); }
.sec-gray { background: var(--gray); }
.sec-white { background: #fff; }
.divider { padding: 9px 0 7px; }
.divider hr { margin: 0; border: 0; border-top: 2px solid var(--rule); }
.grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: 30px; row-gap: 24px; align-items: start; }
.span-4 { grid-column: span 4; } .span-5 { grid-column: span 5; } .span-6 { grid-column: span 6; } .span-7 { grid-column: span 7; } .span-8 { grid-column: span 8; } .span-12 { grid-column: 1 / -1; }
.start-7 { grid-column: 7 / span 6; } .start-4 { grid-column: 4 / span 3; } .start-7w { grid-column: 7 / span 6; }

.btn { display: flex; align-items: center; justify-content: center; min-height: 34px; padding: 6px 16px; border-radius: var(--radius); background: var(--gray); color: var(--ink); text-decoration: none; font-size: 16px; text-align: center; box-shadow: 0 1px 2px rgba(0,0,0,.15); }
.btn:hover { filter: brightness(.95); text-decoration: underline; }
.btn-dark { background: var(--dark); color: var(--light); }
.btn-dark:hover { filter: brightness(1.15); }
.stack > * + * { margin-top: 18px; }

.lead-link { text-align: center; margin: 12px 0 0; font-size: 18.67px; font-weight: 700; }
.lead-link a { color: var(--gray); }
.lead-big { text-align: center; font-size: 24px; font-weight: 700; color: var(--muted); line-height: 1.5; margin: 24px 0 0; }
.map { width: 100%; aspect-ratio: 760 / 415; border: 0; display: block; background: #ddd; }
.address { margin: 0; padding-top: 6px; }

.card { display: block; background: var(--card); color: var(--gray); text-decoration: none; overflow: hidden; }
.card:hover .card-title { text-decoration: underline; }
.card-body { padding: 8px 8px 10px; }
.card-title { margin: 0; font-weight: 700; line-height: 1.55; overflow-wrap: anywhere; }
.card-desc { margin: 10px 0 0; font-size: 14px; line-height: 1.55; }
.card-url { margin: 0; overflow-wrap: anywhere; }
.card img { width: 100%; }

.relax { margin: 22px 0 0; font-size: 16px; font-weight: 700; color: var(--slate); }
.prose { padding: 0 6px; }
.prose p, .prose h2 { margin: 0 0 1em; font-size: 16px; font-weight: 400; line-height: 1.38; }
.prose h2 { margin-top: 1.4em; }
.prose ul { margin: 0 0 1em; padding-left: 20px; list-style: square; }
.prose li { margin: 0 0 1.2em; }
.prose li::marker { font-size: .8em; }

.ig-wrap { max-width: 542px; }
.ig-wrap .instagram-media { margin: 0 !important; }

/* ---------- Footer ---------- */
.site-footer { background: var(--gray); color: #000; padding: 34px 0 38px; }
.site-footer p { margin: 0 6px; }

/* ---------- 404 ---------- */
.notfound { padding: 140px 0 80px; text-align: center; background: var(--dark); color: var(--light); }
.notfound h1 { font-size: 32px; margin: 0 0 12px; }
.notfound p { margin: 0 0 24px; }
.notfound .btn { display: inline-flex; min-width: 200px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .grid { column-gap: 20px; }
  .span-4, .span-5, .span-6, .span-7, .span-8, .start-7, .start-4, .start-7w { grid-column: 1 / -1; }
  .hero-text { margin-left: 0; max-width: none; }
  .hero-title-home { width: 100%; }
  .card-portrait { max-width: 300px; }
}
@media (max-width: 767px) {
  .header-inner { padding: 0 12px; gap: 12px; }
  .brand span { display: none; }
  .menu-toggle { display: block; }
  .nav { position: fixed; inset: 0 auto 0 0; width: min(300px, 85vw); background: #fff; color: var(--ink); box-shadow: 2px 0 12px rgba(0,0,0,.3); transform: translateX(-105%); transition: transform .2s; padding: 64px 0 24px; overflow-y: auto; }
  .nav.open { transform: none; }
  .nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .nav a, .nav button { display: flex; width: 100%; padding: 14px 24px; }
  .has-sub > button { justify-content: space-between; }
  .submenu { position: static; box-shadow: none; padding: 0 0 0 16px; min-width: 0; }
  .menu-close { position: absolute; top: 12px; left: 12px; }
  .hero { height: 390px; }
  .hero-title-reiki { font-size: 28px; }
  .lead-big { font-size: 20px; }
  .wrap { width: calc(100% - 40px); }
}
@media (min-width: 768px) { .menu-close { display: none !important; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
