/* ==========================================================================
   WASARASA — app.css
   Light, simple & elegant — close to the original, with gentle modern accents
   and soft animations. Mobile-first & responsive.
   ========================================================================== */

/* ---- Design tokens ------------------------------------------------------ */
:root {
    --ink: #3c4362;
    --ink-soft: #5a6079;
    --navy: #073556;
    --navy-700: #0a2b46;
    --blue-300: #a1b2cc;
    --blue-100: #e7ecf3;
    --blue-050: #f3f6fa;
    --paper: #ffffff;
    --cream: #ffffff;
    --line: #e6e9f0;
    --line-soft: #eef1f6;

    --maxw: 1180px;
    --gut: clamp(1rem, 4vw, 2rem);
    --radius: 16px;
    --radius-sm: 12px;
    --shadow-xs: 0 2px 10px rgba(11, 28, 54, .05);
    --shadow-sm: 0 8px 24px rgba(11, 28, 54, .07);
    --shadow: 0 16px 44px rgba(11, 28, 54, .10);

    --cjk: 'Hiragino Sans', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Noto Sans JP', Meiryo, sans-serif;
    --font-body: 'Ubuntu', system-ui, -apple-system, Segoe UI, Roboto, var(--cjk);
    --font-head: 'Josefin Sans', 'Ubuntu', system-ui, var(--cjk);
    --font-script: 'Playwrite SK', 'Josefin Sans', cursive;

    --ease: cubic-bezier(.22, 1, .36, 1);
    --topbar-h: 38px;
}

/* ---- Reset -------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: var(--font-body);
    color: var(--ink);
    background: var(--paper);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--navy); text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }
[hidden] { display: none !important; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.18; font-weight: 600; color: var(--ink); }
:focus-visible { outline: 3px solid var(--blue-300); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: fixed; top: -60px; left: 12px; z-index: 2000; background: var(--navy); color: #fff; padding: .6rem 1rem; border-radius: 8px; transition: top .2s var(--ease); }
.skip-link:focus { top: 12px; }

/* ---- Layout helpers ----------------------------------------------------- */
.container { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; }
.section { padding-block: clamp(2.6rem, 6vw, 4.6rem); }
.section--center { text-align: center; }
.section--tint { background: var(--blue-050); }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: .26em; font-size: .74rem; font-weight: 600; color: var(--blue-300); margin-bottom: .7rem; }
.section__title { font-size: clamp(1.7rem, 4vw, 2.6rem); letter-spacing: -.01em; }
.section__title--left { text-align: left; }
.section--center .section__title { margin-inline: auto; }
.section__lead { max-width: 62ch; margin: .9rem auto 0; color: var(--ink-soft); font-size: 1.08rem; }
.lead { font-size: 1.12rem; color: var(--ink-soft); }

/* ---- Buttons ------------------------------------------------------------ */
.btn {
    --btn-bg: var(--navy); --btn-fg: #fff;
    display: inline-flex; align-items: center; gap: .5rem; justify-content: center;
    background: var(--btn-bg); color: var(--btn-fg);
    padding: .8rem 1.5rem; border-radius: 999px; font-family: var(--font-head);
    font-weight: 600; letter-spacing: .01em; white-space: nowrap; text-align: center;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s var(--ease);
    box-shadow: 0 6px 18px rgba(7, 53, 86, .18);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(7, 53, 86, .26); }
.btn:active { transform: translateY(0); }
.btn--lg { padding: .95rem 1.9rem; font-size: 1.02rem; }
.btn--primary { --btn-bg: var(--navy); }
.btn--primary:hover { background: #0a4068; }
.btn--soft { --btn-bg: var(--blue-100); --btn-fg: var(--navy); box-shadow: none; }
.btn--soft:hover { background: var(--blue-300); box-shadow: 0 10px 22px rgba(161, 178, 204, .5); }
.btn--light { --btn-bg: #fff; --btn-fg: var(--navy); }

/* ---- Header ------------------------------------------------------------- */
.site-header { position: sticky; top: 0; z-index: 900; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line-soft); transition: box-shadow .3s var(--ease); }
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }

.topbar { background: var(--navy); color: rgba(255, 255, 255, .85); font-size: .8rem; }
.topbar__inner { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; min-height: var(--topbar-h); display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.topbar__note { display: flex; align-items: center; gap: 1rem; letter-spacing: .02em; }
.topbar__noteItem { display: inline-flex; align-items: center; gap: .4rem; }
.topbar__noteItem + .topbar__noteItem { position: relative; }
.topbar__noteItem + .topbar__noteItem::before { content: "·"; position: absolute; left: -.65rem; opacity: .5; }
.topbar__icon { width: 15px; height: 15px; flex: none; opacity: .9; }
.topbar__actions { display: flex; align-items: center; gap: 1rem; }
.topbar__actions a { color: rgba(255, 255, 255, .85); transition: color .2s; }
.topbar__actions a:hover { color: #fff; }
.topbar__cta { background: rgba(255, 255, 255, .14); padding: .15rem .8rem; border-radius: 999px; font-weight: 600; }
.topbar__cta:hover { background: rgba(255, 255, 255, .26); }

/* Language switcher — pinned far right, fixed widths so it never shifts */
.langswitch { display: inline-flex; align-items: center; gap: .15rem; padding: .12rem; margin-left: .35rem; border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; flex: none; }
.langswitch__link { display: inline-flex; align-items: center; justify-content: center; min-width: 2.9rem; height: 1.6rem; padding: 0 .4rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .78rem; line-height: 1; color: rgba(255, 255, 255, .8); transition: background .2s var(--ease), color .2s var(--ease); }
.langswitch__link:hover { color: #fff; }
.langswitch__link.is-active { background: #fff; color: var(--navy); }

/* Desktop: logo left, nav right — one compact row. */
.site-header__inner { width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; display: flex; flex-direction: row; align-items: center; justify-content: space-between; gap: 1.2rem; padding-block: .6rem; position: relative; }
.brand { display: inline-flex; min-width: 0; max-width: 100%; flex: none; }
.brand__logo { height: 50px; width: auto; max-width: 100%; transition: height .3s var(--ease); }
.is-scrolled .brand__logo { height: 44px; }
.hero__title, .pagehead__title, .section__title { overflow-wrap: break-word; }

.mainnav { display: flex; flex-wrap: wrap; justify-content: flex-end; align-items: center; gap: .1rem .3rem; }
.mainnav__link { position: relative; font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--ink); padding: .4rem .7rem; border-radius: 8px; transition: color .25s var(--ease); }
.mainnav__link::after { content: ""; position: absolute; left: 50%; bottom: .15rem; width: 0; height: 2px; background: var(--navy); border-radius: 2px; transform: translateX(-50%); transition: width .3s var(--ease); }
.mainnav__link:hover { color: var(--navy); animation: heartbeat .9s var(--ease); }
.mainnav__link:hover::after, .mainnav__link.is-active::after { width: 60%; }
.mainnav__link.is-active { color: var(--navy); }

/* Dropdown ("Experiences") */
.mainnav__item { position: relative; display: inline-flex; }
.mainnav__toggle { display: inline-flex; align-items: center; gap: .3rem; background: none; }
.mainnav__chev { transition: transform .3s var(--ease); }
.mainnav__item--has-sub.is-current > .mainnav__toggle::after { width: 60%; }
.mainnav__sub {
    position: absolute; top: 100%; right: 0; min-width: 210px; z-index: 40;
    background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm);
    box-shadow: var(--shadow); padding: .4rem; display: grid; gap: .1rem;
    opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
}
.mainnav__item--has-sub:hover .mainnav__sub,
.mainnav__item--has-sub:focus-within .mainnav__sub,
.mainnav__item--has-sub.is-open .mainnav__sub { opacity: 1; visibility: visible; transform: none; }
.mainnav__item--has-sub:hover .mainnav__chev,
.mainnav__item--has-sub.is-open .mainnav__chev { transform: rotate(180deg); }
.mainnav__sublink { display: block; padding: .55rem .8rem; border-radius: 8px; font-family: var(--font-head); font-weight: 600; font-size: .92rem; color: var(--ink); white-space: nowrap; transition: background .2s var(--ease), color .2s var(--ease); }
.mainnav__sublink:hover { background: var(--blue-050); color: var(--navy); }
.mainnav__sublink.is-active { background: var(--blue-050); color: var(--navy); }

@keyframes heartbeat { 0%,100% { transform: scale(1); } 30% { transform: scale(1.08); } 45% { transform: scale(1); } 60% { transform: scale(1.04); } }

.menu-toggle { display: none; position: absolute; right: 0; top: .9rem; align-items: center; gap: .5rem; color: var(--navy); }
.menu-toggle__label { font-family: var(--font-head); font-weight: 600; }
.menu-toggle__bars { display: grid; gap: 5px; width: 24px; }
.menu-toggle__bars span { height: 2.5px; background: currentColor; border-radius: 3px; transition: transform .3s var(--ease), opacity .3s var(--ease); }

/* ---- Reveal animation --------------------------------------------------- */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    [data-reveal] { opacity: 1; transform: none; transition: none; }
    html { scroll-behavior: auto; }
    .mainnav__link:hover { animation: none; }
}

/* ---- Hero --------------------------------------------------------------- */
.hero { padding-top: clamp(1.4rem, 4vw, 2.4rem); }
.hero__slider { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 7; background: var(--blue-100); }
.hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease); pointer-events: none; cursor: zoom-in; }
.hero__slide.is-active { opacity: 1; pointer-events: auto; }
.hero__slide img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; }
.hero__dots { position: absolute; left: 0; right: 0; bottom: 14px; display: flex; gap: 8px; justify-content: center; }
.hero__dots button { width: 9px; height: 9px; border-radius: 50%; background: rgba(255, 255, 255, .55); box-shadow: 0 1px 4px rgba(0,0,0,.25); transition: width .3s var(--ease), background .3s var(--ease); }
.hero__dots button.is-active { width: 26px; border-radius: 999px; background: #fff; }
.hero__slider { touch-action: pan-y; }
.hero__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 46px; height: 46px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, .85); color: var(--navy); box-shadow: var(--shadow-xs); opacity: 0; transition: opacity .3s var(--ease), background .25s var(--ease), transform .25s var(--ease); }
.hero__slider:hover .hero__arrow, .hero__arrow:focus-visible { opacity: 1; }
.hero__arrow:hover { background: #fff; }
.hero__arrow svg { width: 22px; height: 22px; }
.hero__arrow--prev { left: 14px; }
.hero__arrow--next { right: 14px; }
@media (hover: none) { .hero__arrow { opacity: .9; } } /* always visible on touch devices */
.hero__kicker { font-family: var(--font-script); font-size: clamp(1.1rem, 2.4vw, 1.5rem); color: var(--blue-300); display: block; margin-bottom: .5rem; }
.hero__title { font-size: clamp(1.9rem, 5vw, 3rem); letter-spacing: -.01em; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; margin-top: 1.6rem; }
.section--center .hero__actions { justify-content: center; }

/* ---- Cards (experiences) ------------------------------------------------ */
.cards { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cards--spaced { margin-top: 2rem; }
.card { display: flex; flex-direction: column; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease); color: var(--ink); }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.card__media { aspect-ratio: 4 / 3; background-size: cover; background-position: center; transition: transform .6s var(--ease); }
.card:hover .card__media { transform: scale(1.05); }
/* Icon cards (experiences) */
.card--icon { padding-top: 2rem; align-items: center; }
.card__icon { display: grid; place-items: center; width: 96px; height: 96px; color: var(--ink); transition: transform .4s var(--ease), color .3s var(--ease); }
.card__icon svg { width: 64px; height: 64px; fill: currentColor; }
.card--icon:hover .card__icon { transform: translateY(-4px) scale(1.06); color: var(--navy); animation: heartbeat .9s var(--ease); }
.card__body { padding: 1.1rem 1.2rem 1.3rem; display: flex; flex-direction: column; gap: .35rem; text-align: center; }
.card__title { font-family: var(--font-head); font-size: 1.2rem; font-weight: 600; }
.card__text { color: var(--ink-soft); font-size: .94rem; }
.card__more { margin-top: .4rem; display: inline-flex; align-items: center; justify-content: center; gap: .3rem; color: var(--navy); font-weight: 600; font-family: var(--font-head); }
.card__more svg { transition: transform .3s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }

/* ---- Events (vertical poster cards) ------------------------------------- */
.events__grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.event { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-xs); display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.event:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.event__media { position: relative; background: var(--blue-050); display: grid; place-items: center; padding: 1rem; cursor: zoom-in; }
.event__media img { width: auto; max-width: 100%; max-height: 320px; border-radius: 8px; box-shadow: var(--shadow-xs); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.event__media:hover img { transform: scale(1.025); box-shadow: var(--shadow-sm); }
.event__badge { position: absolute; top: .8rem; left: .8rem; font-family: var(--font-head); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; color: #fff; background: var(--navy); padding: .25rem .7rem; border-radius: 999px; box-shadow: var(--shadow-xs); }
.event__badge--muted { background: var(--blue-300); color: var(--navy-700); }
.event__body { padding: 1.1rem 1.3rem 1.3rem; text-align: center; }
.event__title { font-size: 1.2rem; }
.event__place { color: var(--ink-soft); }
.event__date { font-family: var(--font-head); font-weight: 600; margin-top: .35rem; color: var(--navy); }

/* ---- Banner CTA --------------------------------------------------------- */
.banner-cta { background: var(--blue-100); text-align: center; padding-block: clamp(2.4rem, 6vw, 4rem); }
.banner-cta__inner { display: grid; gap: 1.3rem; justify-items: center; }
.banner-cta h2 { font-size: clamp(1.5rem, 3.5vw, 2.3rem); max-width: 24ch; color: var(--navy); }

/* ---- Gallery (square grid, last row centered via flex) ------------------ */
.gallery { margin-top: 1.8rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .7rem; }
.gallery__item { position: relative; flex: 0 0 auto; width: clamp(140px, 22vw, 192px); aspect-ratio: 1; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-xs); }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
/* soft navy gradient that fades up on hover */
.gallery__item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7, 53, 86, 0) 45%, rgba(7, 53, 86, .45)); opacity: 0; transition: opacity .4s var(--ease); pointer-events: none; }
/* centered "view" pill with a zoom icon */
.gallery__item::before { content: ""; position: absolute; top: 50%; left: 50%; width: 44px; height: 44px; transform: translate(-50%, -50%) scale(.6); border-radius: 50%; background: rgba(255, 255, 255, .92) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23073556' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cline x1='16.5' y1='16.5' x2='21' y2='21'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center / 22px no-repeat; opacity: 0; transition: opacity .35s var(--ease), transform .35s var(--ease); pointer-events: none; box-shadow: var(--shadow-sm); }
.gallery__item:hover img { transform: scale(1.08); }
.gallery__item:hover::after { opacity: 1; }
.gallery__item:hover::before { opacity: 1; transform: translate(-50%, -50%) scale(1); }
/* gentle staggered reveal */
.gallery__item[data-reveal] { transition-duration: .6s; }
.gallery__item:nth-child(3n+2)[data-reveal] { transition-delay: .06s; }
.gallery__item:nth-child(3n)[data-reveal] { transition-delay: .12s; }

/* ---- About -------------------------------------------------------------- */
.about__grid { display: grid; gap: clamp(1.4rem, 5vw, 3rem); grid-template-columns: minmax(200px, .75fr) 1.45fr; align-items: center; }
.about__media img { border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.about__body p { margin-top: .9rem; color: var(--ink-soft); }
.about__owner { font-family: var(--font-head); font-weight: 600; color: var(--ink); }
.signature { font-family: var(--font-script); font-size: 1.8rem; color: var(--navy); margin-top: 1.2rem; line-height: 1.3; }

/* ---- Full-width image band (props / requisites) ------------------------- */
.imageband { position: relative; }
.imageband__img { display: block; width: 100%; height: clamp(280px, 42vw, 480px); object-fit: cover; }
.imageband__overlay { position: absolute; inset: 0; display: flex; align-items: center; background: linear-gradient(90deg, rgba(7, 28, 46, .78), rgba(7, 28, 46, .3) 62%, rgba(7, 28, 46, 0) 92%); }
.imageband__text { color: #fff; }
.imageband__title { color: #fff; font-size: clamp(1.6rem, 4vw, 2.7rem); max-width: 18ch; }
.imageband__lead { color: rgba(255, 255, 255, .92); margin-top: .7rem; max-width: 44ch; font-size: clamp(1rem, 1.6vw, 1.12rem); }
@media (max-width: 640px) {
    .imageband__overlay { background: linear-gradient(180deg, rgba(7, 28, 46, .3), rgba(7, 28, 46, .78)); align-items: flex-end; padding-bottom: 1.4rem; }
}

/* ---- Reviews (scrollable cards, each with its own photos) --------------- */
.reviews .section__title, .reviews .eyebrow { text-align: center; }
.reviews .eyebrow { margin-inline: auto; }
.reviews__track { margin-top: 2rem; display: flex; gap: 1.4rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 1rem; padding: .4rem .2rem 1.2rem; scrollbar-width: thin; -webkit-overflow-scrolling: touch; }
.reviews__track--single { justify-content: center; overflow-x: visible; }
.reviewCard { flex: 0 0 min(760px, 90%); scroll-snap-align: center; display: grid; gap: 1.4rem; grid-template-columns: 1fr 1fr; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.3rem, 3.5vw, 2rem); }
.reviews__track--single .reviewCard { max-width: 760px; }
.reviewCard__body { text-align: center; }
.reviewCard__quotemark { width: 38px; height: 38px; color: var(--blue-300); margin-bottom: .2rem; }
.reviewCard__quote { font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.7; color: var(--ink); }
.reviewCard__stars { margin-top: .9rem; color: #e0a92e; letter-spacing: .1em; font-size: 1.1rem; }
.reviewCard__meta { margin-top: .5rem; display: grid; gap: .1rem; }
.reviewCard__author { font-family: var(--font-head); font-weight: 700; color: var(--navy); font-size: 1.02rem; }
.reviewCard__occasions { color: var(--ink-soft); font-size: .88rem; }
.reviewCard__photos { display: grid; gap: .55rem; grid-template-columns: 1fr 1fr; }
.reviewCard__photo { position: relative; display: block; border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-xs); }
.reviewCard__photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.reviewCard__photo:hover img { transform: scale(1.05); }
.reviewCard__caption { position: absolute; inset: auto 0 0 0; padding: .9rem .7rem .5rem; font-family: var(--font-head); font-weight: 600; font-size: .74rem; color: #fff; background: linear-gradient(transparent, rgba(7, 53, 86, .82)); }
@media (max-width: 720px) {
    .reviewCard { grid-template-columns: 1fr; gap: 1.1rem; }
}

/* ---- Page head (inner pages, light) ------------------------------------- */
.pagehead { background: var(--blue-050); border-bottom: 1px solid var(--line-soft); }
.pagehead__inner { padding-block: clamp(2rem, 5vw, 3.2rem); text-align: center; }
.pagehead__title { font-size: clamp(1.8rem, 4.5vw, 2.8rem); }
.pagehead__lead { color: var(--ink-soft); font-size: 1.08rem; margin-top: .5rem; }
.pagehead__rule { display: block; width: 56px; height: 3px; border-radius: 3px; background: var(--blue-300); margin: 1.1rem auto 0; }
.breadcrumb { display: flex; gap: .5rem; align-items: center; justify-content: center; font-size: .86rem; color: var(--ink-soft); margin-bottom: .7rem; }
.breadcrumb a { color: var(--navy); }
.breadcrumb a:hover { text-decoration: underline; }

/* ---- Prose -------------------------------------------------------------- */
.prose { max-width: 72ch; margin-inline: auto; }
.prose--article, .prose--legal { max-width: 76ch; }
.prose__lead p { font-size: 1.16rem; color: var(--ink); }
.prose h2 { font-size: clamp(1.4rem, 3vw, 1.9rem); margin-top: 2.2rem; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4rem; }
.prose p { margin-top: .9rem; color: var(--ink-soft); }
.prose--legal p, .prose--legal li { color: var(--ink-soft); }
.prose--legal .lead { display: block; font-weight: 600; color: var(--ink); margin-top: 1.3rem; font-size: 1rem; }
.prose ul, .prose ol { margin-top: .9rem; padding-left: 1.3rem; color: var(--ink-soft); }
.prose li { margin-top: .35rem; }
.prose__source { margin-top: 1.8rem; font-size: .9rem; }
.prose__cols { display: grid; gap: 1.6rem; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 1.8rem; }
.prose__single { margin-top: 1.8rem; }
.prose__figure { margin-top: 1.8rem; }
.prose__figure img { border-radius: var(--radius); box-shadow: var(--shadow-xs); width: 100%; }

/* ---- Media grids -------------------------------------------------------- */
.media-grid { display: grid; gap: .9rem; margin: 2rem 0; }
.media-grid--1 { grid-template-columns: 1fr; }
.media-grid--2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.media-grid--3 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.media-grid a { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-xs); }
.media-grid img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; transition: transform .6s var(--ease); }
.media-grid--1 img { aspect-ratio: 16 / 9; }
.media-grid a:hover img { transform: scale(1.04); }

/* ---- Feature list ------------------------------------------------------- */
.feature-list { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 2rem 0; }
.feature { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.3rem; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.feature h3 { color: var(--navy); }
.feature p { color: var(--ink-soft); margin-top: .45rem; font-size: .94rem; }

/* ---- Icon rows (sasebo) ------------------------------------------------- */
.icon-rows { display: grid; gap: 1.2rem; margin: 2.2rem 0; }
.icon-row { display: grid; grid-template-columns: 110px 1fr; gap: 1.3rem; align-items: center; background: var(--blue-050); border: 1px solid var(--line-soft); border-radius: var(--radius); padding: 1.3rem; }
.icon-row img { border-radius: 12px; }
.icon-row h3 { color: var(--navy); }
.icon-row p { color: var(--ink-soft); margin-top: .35rem; }

/* ---- Check list --------------------------------------------------------- */
.check-list { list-style: none; padding: 0; display: grid; gap: .55rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 1.4rem 0; }
.check-list li { position: relative; padding-left: 1.8rem; color: var(--ink-soft); }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2rem; width: 1.1rem; height: 1.1rem; border-radius: 5px; background: var(--navy); -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polyline points='5 12 10 17 19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 78% no-repeat; mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><polyline points='5 12 10 17 19 7' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/></svg>") center / 78% no-repeat; }

/* ---- Page CTA ----------------------------------------------------------- */
.page-cta { text-align: center; margin-top: 2.8rem; padding: 2.2rem; background: var(--blue-050); border: 1px solid var(--line-soft); border-radius: var(--radius); }
.page-cta__text { font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.8rem); color: var(--navy); margin-bottom: 1.2rem; }

/* ---- Forms -------------------------------------------------------------- */
.form-layout { display: grid; gap: clamp(1.4rem, 5vw, 2.6rem); grid-template-columns: 1fr 1.1fr; align-items: start; }
.form-layout__intro .lead { margin-bottom: 1.2rem; }
.form-layout__intro h2 { margin-top: 1.2rem; font-size: 1.3rem; }
.steplist { padding-left: 1.2rem; margin-top: .9rem; }
.steplist li { margin-top: .45rem; color: var(--ink-soft); }
.contact-card { margin-top: 1.4rem; display: grid; gap: .25rem; }
.contact-card a { font-family: var(--font-head); font-weight: 600; }
.contact-tiles { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); margin-top: 1.2rem; }
.contact-tile { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .9rem; display: grid; gap: .15rem; box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), border-color .3s; }
.contact-tile:hover { transform: translateY(-3px); border-color: var(--blue-300); }
.contact-tile strong { color: var(--navy); }
.contact-tile span { color: var(--ink-soft); font-size: .88rem; }
.contact-tile--line:hover { border-color: #06c755; }
.contact-tile--line strong { color: #06c755; }
.contact-address { margin-top: 1.4rem; color: var(--ink-soft); font-style: normal; }

/* LINE QR code block */
.line-qr { display: inline-flex; align-items: center; gap: .9rem; margin-top: 1.3rem; padding: .7rem .9rem; border: 1px solid var(--line); border-radius: var(--radius-sm); background: #fff; box-shadow: var(--shadow-xs); color: var(--ink); transition: transform .3s var(--ease), border-color .3s var(--ease); }
.line-qr:hover { transform: translateY(-3px); border-color: #06c755; }
.line-qr img { width: 84px; height: 84px; border-radius: 8px; }
.line-qr span { font-size: .9rem; color: var(--ink-soft); max-width: 16ch; }

.ajax-form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.3rem, 4vw, 2rem); }
.ajax-form__title { font-size: 1.4rem; margin-bottom: 1.1rem; }
.field { display: grid; gap: .3rem; margin-bottom: .9rem; }
.field-row { display: grid; gap: .9rem; grid-template-columns: 1fr 1fr; }
.field label { font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.field input, .field textarea { width: 100%; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: var(--blue-050); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(7, 53, 86, .08); }
.field textarea { resize: vertical; }
.field--hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.field--consent { margin-top: .6rem; }
.checkbox { display: flex; gap: .8rem; align-items: center; font-size: .95rem; line-height: 1.45; color: var(--ink); cursor: pointer; padding: .95rem 1.1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--blue-050); transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease); }
.checkbox:hover { border-color: var(--blue-300); background: #fff; }
.checkbox:has(input:checked) { border-color: var(--navy); background: #fff; box-shadow: 0 0 0 3px rgba(7, 53, 86, .08); }
.checkbox input { flex: none; margin: 0; width: 24px; height: 24px; accent-color: var(--navy); cursor: pointer; }
.checkbox a { color: var(--navy); font-weight: 600; text-decoration: underline; }
.ajax-form__submit { margin-top: .9rem; width: 100%; }
.ajax-form.is-sending .ajax-form__submitText { opacity: .5; }
.ajax-form__spinner { display: none; width: 17px; height: 17px; border: 2.5px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.ajax-form.is-sending .ajax-form__spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }
.ajax-form__status { margin-top: .9rem; font-weight: 600; min-height: 1.2em; }
.ajax-form__status.is-ok { color: #1f8a52; }
.ajax-form__status.is-error { color: #c0392b; }

/* ---- Slot picker (date + time, multi-select badges) --------------------- */
.slotpicker__inputs { display: flex; flex-wrap: wrap; gap: .6rem; align-items: stretch; }
.slotpicker__date, .slotpicker__time { flex: 1 1 130px; min-width: 0; padding: .75rem .85rem; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: var(--blue-050); color: var(--ink); transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s; }
.slotpicker__date:focus, .slotpicker__time:focus { outline: none; border-color: var(--navy); background: #fff; box-shadow: 0 0 0 4px rgba(7, 53, 86, .08); }
.slotpicker__add { flex: 0 0 auto; padding-inline: 1.1rem; }
.slotpicker__hint { font-size: .82rem; color: var(--ink-soft); margin-top: .45rem; }
.slotpicker__list { list-style: none; padding: 0; margin: .7rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.slotpicker__badge { display: inline-flex; align-items: center; gap: .55rem; background: var(--blue-100); color: var(--navy); border-radius: 999px; padding: .35rem .45rem .35rem .85rem; font-family: var(--font-head); font-weight: 600; font-size: .86rem; animation: slotIn .25s var(--ease); }
@keyframes slotIn { from { opacity: 0; transform: scale(.9); } to { opacity: 1; transform: none; } }
.slotpicker__remove { width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(7, 53, 86, .12); color: var(--navy); font-size: 1.05rem; line-height: 1; transition: background .2s var(--ease), color .2s var(--ease); }
.slotpicker__remove:hover { background: var(--navy); color: #fff; }
@media (max-width: 480px) {
    .slotpicker__add { flex: 1 1 100%; justify-content: center; }
}

/* ---- Persons repeater (guests + measurements) --------------------------- */
.field__grouplabel { display: flex; align-items: center; gap: .4rem; font-family: var(--font-head); font-weight: 600; font-size: .88rem; }
.field__grouplabel svg { width: 18px; height: 18px; }
.persons__hint { font-size: .82rem; color: var(--ink-soft); margin: .3rem 0 .7rem; }
/* Measurements only when a kimono is involved */
.person__measure, .persons__units, .persons__hint--measure { display: none; }
.persons--measure .person__measure { display: block; }
.persons--measure .persons__units { display: flex; }
.persons--measure .persons__hint--measure { display: block; }
.persons--measure .persons__hint--count { display: none; }
/* Unit toggle (cm·kg / inch·lbs) */
.persons__units { flex-wrap: wrap; align-items: center; gap: .5rem; margin-bottom: .8rem; }
.persons__unitsLabel { font-size: .8rem; color: var(--ink-soft); font-weight: 600; }
.unittoggle { position: relative; cursor: pointer; }
.unittoggle input { position: absolute; opacity: 0; pointer-events: none; }
.unittoggle span { display: inline-block; padding: .35rem .8rem; border: 1.5px solid var(--line); border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: .82rem; color: var(--ink-soft); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.unittoggle input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }
.unittoggle input:focus-visible + span { box-shadow: 0 0 0 3px rgba(7, 53, 86, .18); }
.person__u { color: var(--navy); }
.persons__list { display: grid; gap: .7rem; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); }
.person { border: 1px solid var(--line); border-radius: var(--radius-sm); background: var(--blue-050); padding: .8rem .9rem 1rem; animation: slotIn .25s var(--ease); }
.person__head { display: flex; align-items: center; justify-content: space-between; gap: .5rem; margin-bottom: .6rem; }
.person__label { display: inline-flex; align-items: center; gap: .5rem; min-width: 0; }
.person__icon { flex: none; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--line); color: var(--navy); }
.person__icon svg { width: 17px; height: 17px; }
.person__num { font-family: var(--font-head); font-weight: 600; color: var(--navy); font-size: .92rem; }
.person__remove { flex: none; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: rgba(7, 53, 86, .1); color: var(--navy); font-size: 1.15rem; line-height: 1; transition: background .2s var(--ease), color .2s var(--ease); }
.person__remove:hover { background: var(--navy); color: #fff; }
.person__grid { display: grid; gap: .55rem; grid-template-columns: 1fr; }
.person__field { display: grid; gap: .25rem; }
.person__field span { font-size: .78rem; color: var(--ink-soft); font-weight: 600; }
.person__field input { width: 100%; padding: .6rem .7rem; border: 1.5px solid var(--line); border-radius: 9px; font: inherit; background: #fff; transition: border-color .25s var(--ease), box-shadow .25s var(--ease); }
.person__field input:focus { outline: none; border-color: var(--navy); box-shadow: 0 0 0 4px rgba(7, 53, 86, .08); }
.persons__add { margin-top: .8rem; }
@media (max-width: 480px) {
    .person__grid { grid-template-columns: 1fr; gap: .5rem; }
    .persons__add { width: 100%; }
}

/* ---- Reservation intro -------------------------------------------------- */
.reserve-intro { max-width: 70ch; margin-inline: auto; }
.steplist--inline { list-style: none; counter-reset: step; padding: 0; margin: 1.6rem 0 0; display: grid; gap: .7rem; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); text-align: left; }
.steplist--inline li { counter-increment: step; position: relative; padding: .9rem 1rem .9rem 3rem; background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); box-shadow: var(--shadow-xs); color: var(--ink-soft); font-size: .94rem; }
.steplist--inline li::before { content: counter(step); position: absolute; left: .9rem; top: .85rem; width: 1.6rem; height: 1.6rem; display: grid; place-items: center; background: var(--blue-100); color: var(--navy); border-radius: 50%; font-family: var(--font-head); font-weight: 700; font-size: .85rem; }

/* ---- Kimono assistant (wizard) ----------------------------------------- */
.wizard-wrap { max-width: 780px; margin-inline: auto; }
.wizard__head { margin-bottom: 1.8rem; }
.bookingForm { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: clamp(1.3rem, 4vw, 2.2rem); }

.wizProgress { height: 6px; background: var(--blue-100); border-radius: 999px; overflow: hidden; }
.wizProgress__bar { display: block; height: 100%; width: 20%; background: var(--navy); border-radius: 999px; transition: width .4s var(--ease); }
.wizCount { text-align: center; color: var(--ink-soft); font-size: .88rem; margin: .6rem 0 1.6rem; font-family: var(--font-head); font-weight: 600; }

.wizStep { border: 0; padding: 0; margin: 0; display: none; }
.wizStep.is-active { display: block; animation: wizIn .4s var(--ease); }
@keyframes wizIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.wizStep--shake { animation: wizShake .4s; }
@keyframes wizShake { 0%, 100% { transform: translateX(0); } 25% { transform: translateX(-6px); } 75% { transform: translateX(6px); } }
.wizStep__title { font-family: var(--font-head); font-size: clamp(1.3rem, 3vw, 1.7rem); font-weight: 600; text-align: center; margin: 0 auto .3rem; padding: 0; }
.wizStep__hint { text-align: center; color: var(--ink-soft); margin-bottom: 1.5rem; }
.contactStep .wizStep__title { margin-bottom: 1.5rem; }
.contactStep label svg { width: 18px; height: 18px; vertical-align: -3px; margin-right: .25rem; }

.wizOptions { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); align-items: stretch; }
.wizOptions--color { grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.wizOption { position: relative; cursor: pointer; display: block; height: 100%; }
.wizOption input { position: absolute; opacity: 0; pointer-events: none; }
.wizOption__inner { position: relative; display: flex; flex-direction: column; height: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; background: #fff; padding-bottom: .9rem; text-align: center; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .25s var(--ease); }
.wizOption:hover .wizOption__inner { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
/* fixed-size icon / media area so every box matches in height & size */
.wizOption__glyph { flex: none; display: flex; align-items: center; justify-content: center; height: 104px; background: var(--blue-050); color: var(--navy); }
.wizOption__glyph svg { width: 54px; height: 54px; }
.wizOption__media { flex: none; display: block; height: 104px; overflow: hidden; background: var(--blue-050); }
.wizOption__media img { width: 100%; height: 100%; object-fit: cover; }
.wizOption__swatch { flex: none; display: block; height: 84px; border-radius: 12px; margin: .85rem .85rem 0; box-shadow: inset 0 0 0 1px rgba(0,0,0,.06); }
.wizOption__label { display: block; font-family: var(--font-head); font-weight: 700; padding: .6rem .8rem 0; }
.wizOption__desc { display: block; color: var(--ink-soft); font-size: .82rem; padding: 0 .8rem; margin-top: .15rem; }
.wizOption__tick { position: absolute; top: .55rem; right: .55rem; width: 26px; height: 26px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: #fff; opacity: 0; transform: scale(.6); transition: opacity .2s var(--ease), transform .2s var(--ease); }
.wizOption__tick svg { width: 15px; height: 15px; }
.wizOption input:checked ~ .wizOption__inner { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7, 53, 86, .15); }
.wizOption input:checked ~ .wizOption__inner .wizOption__tick { opacity: 1; transform: scale(1); }
.wizOption input:focus-visible ~ .wizOption__inner { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(7, 53, 86, .15); }

.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper__btn { width: 48px; height: 48px; border: 0; background: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer; color: var(--navy); transition: background .2s; }
.stepper__btn:hover { background: var(--blue-050); }
.stepper input { width: 70px; text-align: center; border: 0; border-inline: 1.5px solid var(--line); border-radius: 0; background: #fff; padding: .6rem 0; font: inherit; }
.stepper input:focus { outline: none; box-shadow: none; }

.wizSummary { margin-top: 1.2rem; padding: 1rem 1.2rem; border: 1px dashed var(--blue-300); border-radius: var(--radius-sm); background: var(--blue-050); display: grid; gap: .3rem; }
.wizSummary:empty { display: none; }
.wizSummary__title { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
.wizSummary__row { color: var(--ink-soft); font-size: .92rem; }
.wizSummary__row b { color: var(--ink); }

.bookingNav { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: flex-end; align-items: center; margin-top: 1.6rem; }
.bookingNav #wizPrev { margin-right: auto; }
.bookingForm.is-sending .ajax-form__submitText { opacity: .5; }
.bookingForm.is-sending .ajax-form__spinner { display: inline-block; }
.formStatus { margin-top: .9rem; text-align: center; }

/* ---- Footer ------------------------------------------------------------- */
.footer-band { background: var(--blue-100); text-align: center; padding: 1.5rem var(--gut); }
.footer-band p { font-family: var(--font-head); font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 600; color: var(--navy); }

.site-footer { background: var(--blue-050); border-top: 1px solid var(--line-soft); }
.site-footer__inner { width: min(100% - 2 * var(--gut), 880px); margin-inline: auto; padding-block: 2.6rem; text-align: center; }
.site-footer__actions { display: flex; flex-wrap: wrap; gap: .7rem; justify-content: center; }
.fbtn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; flex: 0 1 auto; min-width: 150px; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .7rem 1.2rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); box-shadow: var(--shadow-xs); transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .25s; }
.fbtn svg { width: 20px; height: 20px; }
.fbtn:hover { transform: translateY(-3px); background: var(--navy); color: #fff; box-shadow: var(--shadow-sm); }
.fbtn--line:hover { background: #06c755; border-color: #06c755; }
.site-footer__sasebo { display: inline-block; margin-top: 1.6rem; font-family: var(--font-head); font-weight: 600; color: var(--navy); position: relative; }
.site-footer__sasebo::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--blue-300); transition: width .3s var(--ease); }
.site-footer__sasebo:hover::after { width: 100%; }
.site-footer__logo { height: 72px; width: auto; margin: 1.6rem auto .4rem; }
.site-footer__mail { margin-top: .8rem; }
.site-footer__note { max-width: 64ch; margin: 1.6rem auto 0; color: var(--ink-soft); font-size: .9rem; }
.site-footer__verify { margin-top: 1.6rem; display: flex; justify-content: center; }

.site-footer__bar { border-top: 1px solid var(--line-soft); }
.site-footer__bar { display: flex; flex-wrap: wrap; gap: .6rem 1.2rem; align-items: center; justify-content: space-between; width: min(100% - 2 * var(--gut), var(--maxw)); margin-inline: auto; padding-block: 1.1rem; font-size: .82rem; color: var(--ink-soft); }
.site-footer__legal { display: flex; flex-wrap: wrap; gap: .7rem 1.1rem; align-items: center; }
.site-footer__legal a { color: var(--ink-soft); }
.site-footer__legal a:hover { color: var(--navy); }

/* ---- Contact FAB (bottom center) ---------------------------------------- */
.contact-fab { position: fixed; bottom: 1.2rem; left: 50%; transform: translateX(-50%); z-index: 950; display: flex; flex-direction: column; align-items: center; }
.contact-fab__btn { position: relative; display: inline-flex; align-items: center; gap: .5rem; background: var(--navy); color: #fff; padding: .8rem 1.4rem; border-radius: 999px; font-family: var(--font-head); font-weight: 600; box-shadow: var(--shadow); transition: transform .3s var(--ease), background .25s; }
.contact-fab__btn::before { content: ""; position: absolute; inset: 0; border-radius: 999px; box-shadow: 0 0 0 0 rgba(7, 53, 86, .4); animation: fabPulse 2.8s var(--ease) infinite; }
@keyframes fabPulse { 0% { box-shadow: 0 0 0 0 rgba(7, 53, 86, .35); } 70% { box-shadow: 0 0 0 16px rgba(7, 53, 86, 0); } 100% { box-shadow: 0 0 0 0 rgba(7, 53, 86, 0); } }
.contact-fab__btn:hover { transform: translateY(-2px); }
.contact-fab__icon { width: 21px; height: 21px; }
.contact-fab__panel { position: absolute; bottom: calc(100% + 12px); left: 50%; transform: translateX(-50%) translateY(10px) scale(.96); width: min(92vw, 330px); background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); opacity: 0; pointer-events: none; transition: opacity .3s var(--ease), transform .3s var(--ease); transform-origin: bottom center; overflow: hidden; }
.contact-fab.is-open .contact-fab__panel { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0) scale(1); }
.contact-fab.is-open .contact-fab__btn { background: #0a4068; }
.contact-fab.is-open .contact-fab__btn::before { animation: none; }
.contact-fab__header { display: flex; align-items: center; justify-content: space-between; padding: .9rem 1.1rem; background: var(--navy); color: #fff; font-family: var(--font-head); font-weight: 600; }
.contact-fab__close { color: #fff; font-size: 1.5rem; line-height: 1; width: 30px; height: 30px; border-radius: 50%; }
.contact-fab__close:hover { background: rgba(255, 255, 255, .15); }
.contact-fab__links { padding: .5rem; display: grid; gap: .2rem; }
.contact-fab__item { display: flex; align-items: center; gap: .8rem; padding: .65rem .75rem; border-radius: 12px; color: var(--ink); transition: background .25s var(--ease), transform .25s var(--ease); }
.contact-fab__item:hover { background: var(--blue-050); transform: translateX(3px); }
.contact-fab__ico { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 12px; color: #fff; flex: none; }
.contact-fab__ico svg { width: 21px; height: 21px; fill: currentColor; }
.cfab-phone { background: #2d8f4e; }
.cfab-whatsapp { background: #25d366; }
.cfab-line { background: #06c755; }
.cfab-email { background: #2b6cb0; }
.cfab-form { background: var(--navy); }
.cfab-form svg, .cfab-info svg { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.cfab-info { background: var(--blue-300); }
.contact-fab__item strong { display: block; font-family: var(--font-head); }
.contact-fab__item small { color: var(--ink-soft); }

/* ---- Back to top (bottom right, ring fills on scroll) ------------------- */
.backtotop { position: fixed; bottom: 1.2rem; right: 1.2rem; z-index: 950; width: 54px; height: 54px; display: grid; place-items: center; border-radius: 50%; background: #fff; color: var(--navy); box-shadow: var(--shadow); opacity: 0; transform: translateY(16px) scale(.8); pointer-events: none; transition: opacity .35s var(--ease), transform .35s var(--ease); }
.backtotop.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.backtotop:hover { transform: translateY(-3px); }
.backtotop__ring { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.backtotop__track { fill: none; stroke: var(--blue-100); stroke-width: 3; }
.backtotop__progress { fill: none; stroke: var(--navy); stroke-width: 3; stroke-linecap: round; stroke-dasharray: 131.95; stroke-dashoffset: var(--dash, 131.95); transition: stroke-dashoffset .15s linear; }
.backtotop__arrow { width: 21px; height: 21px; }

/* ---- Lightbox ----------------------------------------------------------- */
.lightbox { position: fixed; inset: 0; z-index: 1100; background: rgba(7, 20, 36, .9); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .3s var(--ease); padding: 4vw; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; box-shadow: var(--shadow); transform: scale(.96); transition: transform .3s var(--ease); }
.lightbox.is-open img { transform: scale(1); }
.lightbox__close, .lightbox__nav { position: absolute; color: #fff; width: 52px; height: 52px; display: grid; place-items: center; font-size: 1.9rem; border-radius: 50%; background: rgba(255, 255, 255, .1); transition: background .25s; }
.lightbox__close { top: 1.1rem; right: 1.1rem; }
.lightbox__nav { top: 50%; transform: translateY(-50%); }
.lightbox__nav:hover, .lightbox__close:hover { background: rgba(255, 255, 255, .25); }
.lightbox__prev { left: 1.1rem; }
.lightbox__next { right: 1.1rem; }

/* ---- Error page --------------------------------------------------------- */
.error-page { padding-block: clamp(3rem, 8vw, 6rem); min-height: 56vh; display: grid; align-content: center; }

/* ---- Compact nav → hamburger when the inline row gets tight ------------- */
@media (max-width: 1080px) {
    .menu-toggle { display: flex; position: static; }
    .site-header__inner { flex-direction: row; align-items: center; justify-content: space-between; }
    .brand__logo { height: 46px; }
    .is-scrolled .brand__logo { height: 42px; }
    .mainnav {
        position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
        background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-sm);
        padding: .5rem; gap: .15rem; max-height: 0; overflow: hidden; opacity: 0; pointer-events: none;
        transition: max-height .4s var(--ease), opacity .3s var(--ease), padding .3s var(--ease);
    }
    .menu-open .mainnav { max-height: 82vh; overflow-y: auto; opacity: 1; pointer-events: auto; }
    .mainnav__link { padding: .75rem 1rem; border-radius: 10px; text-align: center; }
    .mainnav__link::after { display: none; }
    .mainnav__link:hover, .mainnav__link.is-active { background: var(--blue-050); }
    /* Dropdown becomes an inline accordion inside the mobile panel */
    .mainnav__item, .mainnav__item--has-sub { display: block; width: 100%; position: static; }
    .mainnav__toggle { width: 100%; justify-content: center; padding: .75rem 1rem; }
    .mainnav__sub {
        position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none;
        background: var(--blue-050); border-radius: 10px; margin: .1rem .4rem .3rem; padding: 0 .3rem;
        max-height: 0; overflow: hidden; transition: max-height .35s var(--ease), padding .3s var(--ease);
    }
    .mainnav__item--has-sub.is-open .mainnav__sub { max-height: 24rem; padding: .3rem; }
    .mainnav__item--has-sub:hover .mainnav__sub { max-height: 0; }
    .mainnav__item--has-sub.is-open:hover .mainnav__sub { max-height: 24rem; }
    .mainnav__sublink { text-align: center; }
    .menu-open .menu-toggle__bars span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
    .menu-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
    .menu-open .menu-toggle__bars span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
}

@media (max-width: 760px) {
    .about__grid { grid-template-columns: 1fr; text-align: center; }
    .about__media { max-width: 260px; margin-inline: auto; }
    .section__title--left { text-align: center; }
    .form-layout { grid-template-columns: 1fr; }
    .hero__slider { aspect-ratio: 4 / 3; }
}

@media (max-width: 560px) {
    .topbar__note, .topbar__mail { display: none; }
    .topbar__inner { justify-content: center; }
    .topbar__actions { gap: .7rem; }
    .field-row { grid-template-columns: 1fr; }
    .event__media img { max-height: 280px; }
    .contact-fab__label { display: none; }
    .contact-fab__btn { padding: .8rem; }
    .menu-toggle__label { display: none; }
    .gallery { gap: .5rem; }
    .gallery__item { width: clamp(96px, 28vw, 150px); }
    .hero__actions .btn, .page-cta .btn, .banner-cta .btn { width: 100%; max-width: 320px; }
}
