/* =========================================================
   MIRACLE SERENDIB TRAVELS — style.css
   Layout concept: the logo, drawn out across the page. A black ring
   frames the photos, an orange sun rises behind the hero, three black
   wave strokes divide the sections, and the little sailboat sails
   along the top of the screen as you scroll. Light theme, ink + orange.
   ========================================================= */

:root {
  color-scheme: light;
  --paper: #ffffff;
  --shell: #faf6f2;        /* warm off-white for alternate sections */
  --ink: #161616;          /* logo black */
  --ink-2: #3d3d3d;
  --muted: #6e6a66;
  --orange: #f26522;       /* logo orange */
  --orange-deep: #d24f10;
  --orange-soft: #fff0e6;
  --line: #ece6e0;
  --shadow: 0 30px 60px -34px rgba(22, 22, 22, .35);
  --shadow-sm: 0 10px 24px -18px rgba(22, 22, 22, .4);

  --f-head: "Ubuntu", "Segoe UI", system-ui, sans-serif;
  --f-body: "Mulish", "Segoe UI", system-ui, sans-serif;

  --step-0: clamp(1rem, .97rem + .15vw, 1.07rem);
  --step-1: clamp(1.1rem, 1.04rem + .3vw, 1.3rem);
  --step-3: clamp(2rem, 1.5rem + 2vw, 3.2rem);
  --step-4: clamp(2.5rem, 1.6rem + 3.8vw, 4.9rem);

  --max: 1240px;
  --gutter: clamp(16px, 4vw, 48px);
  --r: 22px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--f-body); font-size: var(--step-0); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0; text-wrap: balance; }
p { margin: 0; }
.hl { color: var(--orange); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 9vw, 120px); }
.tint { background: var(--shell); }
.eyebrow { font-family: var(--f-head); font-weight: 500; font-size: .9rem; color: var(--orange); display: inline-flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 18px; height: 18px; border-radius: 50%; background: radial-gradient(circle, var(--orange) 0 45%, transparent 46%), repeating-conic-gradient(var(--orange) 0 8deg, transparent 8deg 45deg); flex: none; }
.sec-head { display: grid; gap: 14px; max-width: 640px; }
.sec-head h2 { font-size: var(--step-3); }
.sec-head p { color: var(--muted); max-width: 58ch; }
.sec-head.center { margin: 0 auto clamp(36px, 5vw, 56px); text-align: center; justify-items: center; }
.head-row { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; margin-bottom: clamp(32px, 4vw, 48px); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 0; border-radius: 12px; padding: 15px 24px; font-family: var(--f-head); font-weight: 500; font-size: .98rem; text-decoration: none; white-space: nowrap; transition: transform .25s, background .25s, box-shadow .25s, color .25s; }
.btn:hover { transform: translateY(-2px); }
.btn-orange { background: var(--orange); color: #fff; box-shadow: 0 14px 26px -16px var(--orange); }
.btn-orange:hover { background: var(--orange-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--ink); }
.btn-ink-line:hover { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.btn-sm { padding: 11px 18px; font-size: .9rem; }

/* ---------- sailing progress ---------- */
.sail-progress { position: fixed; left: 0; right: 0; top: 0; height: 14px; z-index: 70; pointer-events: none; }
.sp-wave { position: absolute; inset: 1px 0 auto 0; width: 100%; height: 12px; }
.sp-wave path { fill: none; stroke: var(--line); stroke-width: 2; }
.sp-fill { position: absolute; top: 1px; left: 0; height: 12px; width: 0; overflow: hidden; }
.sp-fill::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 100vw; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 12'%3E%3Cpath d='M0 6 Q 15 0 30 6 T 60 6' fill='none' stroke='%23f26522' stroke-width='2.4'/%3E%3C/svg%3E") repeat-x 0 0 / 60px 12px; }
.sp-boat { position: absolute; top: -9px; left: 0; width: 22px; height: 20px; color: var(--orange); transform: translateX(-50%); transition: left .1s linear; }

/* ---------- header ---------- */
.site-header { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: 0 1px 0 var(--line); }
.header-row { display: flex; align-items: center; justify-content: space-between; gap: 18px; height: 84px; padding-top: 6px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand img { width: 46px; height: 46px; flex: none; }
.wordmark b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 1.25rem; line-height: 1.05; white-space: nowrap; letter-spacing: -.01em; }
.wordmark i { font-style: normal; color: var(--orange); }
.wordmark small { display: block; font-family: var(--f-head); font-size: .9rem; color: var(--ink-2); }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-family: var(--f-head); font-weight: 500; color: var(--ink-2); padding-block: 6px; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 50%; bottom: -2px; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); transform: translateX(-50%) scale(0); transition: transform .25s; }
.nav a:hover { color: var(--ink); }
.nav a:hover::after { transform: translateX(-50%) scale(1); }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; flex-direction: column; justify-content: center; align-items: center; gap: 6px; }
.menu-btn span { width: 20px; height: 2px; background: var(--ink); border-radius: 2px; }
@media (max-width: 1000px) {
  .nav { position: absolute; top: 84px; left: var(--gutter); right: var(--gutter); flex-direction: column; gap: 0; background: #fff; border-radius: var(--r); padding: 8px 20px; box-shadow: var(--shadow); opacity: 0; transform: translateY(-8px); pointer-events: none; transition: .25s; }
  .nav.open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav a:last-child { border-bottom: 0; }
  .menu-btn { display: flex; }
}
@media (max-width: 560px) { .header-cta .btn { display: none; } .wordmark b { font-size: 1.05rem; } .brand img { width: 40px; height: 40px; } }

/* ---------- hero ---------- */
.hero { padding-block: clamp(40px, 6vw, 80px) clamp(40px, 6vw, 72px); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.hero-copy { display: grid; gap: 24px; justify-items: start; min-width: 0; }
.hero h1 { font-size: var(--step-4); letter-spacing: -.035em; line-height: 1.02; }
.lede { font-size: var(--step-1); color: var(--ink-2); max-width: 44ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-facts { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-facts li { padding: 8px 14px; border-radius: 999px; background: var(--shell); font-size: .88rem; color: var(--ink-2); }
.hero-facts b { font-family: var(--f-head); color: var(--ink); }

.hero-art { position: relative; aspect-ratio: 1; max-width: 560px; width: 100%; justify-self: center; }
.sun { position: absolute; width: 46%; aspect-ratio: 1; right: -4%; top: -4%; border-radius: 50%; background: radial-gradient(circle at 35% 35%, #ff9a52, var(--orange) 60%); z-index: 0; animation: sunrise 1.6s cubic-bezier(.2,.8,.2,1) both; }
.sun i { position: absolute; left: 50%; top: 50%; width: 30%; height: 7%; background: var(--orange); border-radius: 3px; transform-origin: 0 50%; }
.sun i:nth-child(1) { transform: rotate(150deg) translateX(190%); }
.sun i:nth-child(2) { transform: rotate(175deg) translateX(190%); }
.sun i:nth-child(3) { transform: rotate(200deg) translateX(190%); }
.sun i:nth-child(4) { transform: rotate(125deg) translateX(190%); }
@keyframes sunrise { from { transform: translateY(30px); } }
.porthole { position: absolute; inset: 6%; border-radius: 50%; overflow: hidden; z-index: 1; box-shadow: 0 0 0 10px var(--paper), 0 0 0 18px var(--ink), var(--shadow); background: linear-gradient(180deg, #ffd3ad 0%, #ffb27a 40%, #5aa7b5 62%, #2f7f8c 100%); }
.hero-waves { position: absolute; left: -6%; right: -6%; bottom: 3%; width: 112%; height: auto; z-index: 2; }
.hero-waves path { fill: none; stroke: var(--ink); stroke-width: 7; stroke-linecap: round; animation: drift 6s ease-in-out infinite alternate; }
.hero-waves path:nth-child(2) { animation-delay: -2s; }
.hero-waves path:nth-child(3) { animation-delay: -4s; }
@keyframes drift { to { transform: translateX(-14px); } }
.hero-note { position: absolute; z-index: 3; left: -6%; top: 14%; display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 16px 12px 12px; box-shadow: var(--shadow); font-size: .82rem; color: var(--muted); line-height: 1.3; }
.hero-note b { display: block; font-family: var(--f-head); font-weight: 500; font-size: .95rem; color: var(--ink); }
.hn-ico { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); flex: none; }
.hn-ico svg { width: 20px; height: 20px; }
@media (max-width: 900px) { .hero-grid { grid-template-columns: 1fr; } .hero-art { max-width: 440px; margin-top: 10px; } .hero-note { left: 0; } }

.waves-divider { height: 40px; }
.waves-divider svg { width: 100%; height: 100%; display: block; }
.waves-divider path, .foot-waves path { fill: none; stroke: var(--ink); stroke-width: 2; opacity: .85; }

/* ---------- tour explorer ---------- */
.filters { display: grid; gap: 12px; justify-items: end; }
#tours .head-row { flex-direction: column; align-items: flex-start; }
#tours .filters { justify-items: start; }
#tours .tags { justify-content: flex-start; }
.seg { display: inline-flex; background: var(--shell); border-radius: 12px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 9px 14px; border-radius: 9px; font-family: var(--f-head); font-weight: 500; font-size: .9rem; color: var(--muted); }
.seg button[aria-pressed="true"] { background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); }
.tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.tag { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; font-size: .84rem; font-weight: 600; color: var(--ink-2); }
.tag[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); color: var(--orange-deep); }
@media (max-width: 860px) { .filters { justify-items: start; } .tags { justify-content: flex-start; } }

.explorer { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(20px, 3vw, 40px); align-items: start; }
.tour-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; counter-reset: t; }
.tour-list li[hidden] { display: none !important; }
.tour-btn { width: 100%; display: grid; grid-template-columns: auto 1fr auto; gap: 16px; align-items: center; text-align: left; padding: 16px 18px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: background .25s, border-color .25s, transform .25s; }
.tour-btn:hover { border-color: var(--ink); }
.tour-btn .n { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-family: var(--f-head); font-weight: 700; border: 2px solid var(--ink); font-size: .95rem; }
.tour-btn .t { font-family: var(--f-head); font-weight: 500; font-size: 1.04rem; line-height: 1.25; min-width: 0; }
.tour-btn .t small { display: block; font-family: var(--f-body); font-weight: 500; color: var(--muted); font-size: .82rem; margin-top: 3px; }
.tour-btn .d { font-family: var(--f-head); font-size: .82rem; color: var(--muted); text-align: right; line-height: 1.2; white-space: nowrap; }
.tour-btn .d b { display: block; font-size: 1.35rem; color: var(--ink); }
.tour-btn[aria-current="true"] { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateX(6px); }
.tour-btn[aria-current="true"] .n { background: var(--orange); border-color: var(--orange); color: #fff; }
.tour-btn[aria-current="true"] .t small, .tour-btn[aria-current="true"] .d { color: #bdb7b1; }
.tour-btn[aria-current="true"] .d b { color: #fff; }
.pop-tag { display: inline-block; margin-left: 6px; font-family: var(--f-body); font-size: .68rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--orange); padding: 2px 8px; border-radius: 999px; vertical-align: 2px; }
.empty { color: var(--muted); padding: 16px; }

.tour-panel { position: sticky; top: 104px; background: #fff; border-radius: var(--r); box-shadow: var(--shadow); border: 1px solid var(--line); overflow: hidden; min-width: 0; }
.tp-media { position: relative; aspect-ratio: 16/8; max-width: 100%; }
.tp-media .slot { position: absolute; inset: 0; }
.tp-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.55)); pointer-events: none; }
.tp-title { position: absolute; left: 22px; right: 22px; bottom: 16px; z-index: 2; color: #fff; }
.tp-title h3 { font-size: clamp(1.4rem, 1.1rem + 1vw, 2rem); color: #fff; }
.tp-title p { font-size: .88rem; opacity: .9; }
.tp-body { padding: 22px; display: grid; gap: 18px; }
.tp-summary { color: var(--ink-2); }
.tp-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.tp-chips span { font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: var(--shell); color: var(--ink-2); }
.timeline { list-style: none; margin: 0; padding: 0 6px 0 0; max-height: 330px; overflow-y: auto; display: grid; position: relative; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.timeline li { display: grid; grid-template-columns: 54px 1fr; gap: 14px; padding: 9px 0; position: relative; font-size: .93rem; }
.timeline li::before { content: ""; position: absolute; left: 26px; top: 0; bottom: 0; width: 2px; background: var(--line); }
.timeline li:first-child::before { top: 50%; } .timeline li:last-child::before { bottom: 50%; }
.timeline .dn { position: relative; z-index: 1; align-self: start; width: 54px; text-align: center; font-family: var(--f-head); font-weight: 700; font-size: .74rem; color: var(--orange-deep); background: var(--orange-soft); border-radius: 999px; padding: 4px 0; }
.timeline .dt { color: var(--ink-2); padding-top: 1px; }
.tp-actions { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 4px; border-top: 1px solid var(--line); padding-top: 16px; }
.tp-note { font-size: .82rem; color: var(--muted); }
@media (max-width: 960px) { .explorer { grid-template-columns: 1fr; } .tour-panel { position: static; } .tour-btn[aria-current="true"] { transform: none; } }

/* ---------- activities ---------- */
.picked { font-family: var(--f-head); font-weight: 500; padding: 10px 16px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-sm); }
.picked b { color: var(--orange); }
.feature-acts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 26px; }
.fa { margin: 0; display: grid; gap: 12px; }
.fa .slot { position: relative; aspect-ratio: 1; max-width: 100%; border-radius: 50%; box-shadow: 0 0 0 6px #fff, 0 0 0 9px var(--ink); margin: 9px; }
.fa figcaption { font-size: .88rem; color: var(--muted); text-align: center; }
.fa figcaption b { display: block; font-family: var(--f-head); font-weight: 500; font-size: 1.05rem; color: var(--ink); }
@media (max-width: 820px) { .feature-acts { grid-template-columns: 1fr 1fr; } }
.act-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 10px; }
.act { display: grid; grid-template-columns: 1fr auto; gap: 4px 10px; align-items: start; text-align: left; padding: 16px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; transition: .2s; }
.act:hover { border-color: var(--ink); }
.act b { font-family: var(--f-head); font-weight: 500; font-size: 1rem; line-height: 1.25; }
.act small { grid-column: 1 / -1; color: var(--muted); font-size: .84rem; line-height: 1.45; }
.act .tick { width: 24px; height: 24px; border-radius: 50%; border: 2px solid var(--line); display: grid; place-items: center; color: transparent; font-size: .8rem; transition: .2s; }
.act[aria-pressed="true"] { border-color: var(--orange); background: var(--orange-soft); }
.act[aria-pressed="true"] .tick { background: var(--orange); border-color: var(--orange); color: #fff; }

/* ---------- destinations ---------- */
.dest-tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 30px; }
.dest-tabs button { border: 0; background: var(--shell); border-radius: 999px; padding: 12px 20px; font-family: var(--f-head); font-weight: 500; color: var(--ink-2); }
.dest-tabs button span { color: var(--muted); font-size: .85em; margin-left: 4px; }
.dest-tabs button[aria-selected="true"] { background: var(--ink); color: #fff; }
.dest-tabs button[aria-selected="true"] span { color: #f8b48d; }
.dest-stage { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.ds-img { position: relative; aspect-ratio: 1; max-width: 460px; width: 100%; justify-self: center; }
.ds-img .slot { position: absolute; inset: 0; border-radius: 50%; box-shadow: 0 0 0 10px #fff, 0 0 0 16px var(--ink); }
.ds-img .cap { position: absolute; z-index: 2; right: 0; bottom: 6%; background: var(--orange); color: #fff; font-family: var(--f-head); font-weight: 500; padding: 10px 16px; border-radius: 12px; }
.ds-copy { display: grid; gap: 18px; min-width: 0; }
.ds-copy h3 { font-size: clamp(1.6rem, 1.2rem + 1.4vw, 2.4rem); }
.ds-copy > p { color: var(--muted); }
.ds-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr)); border-top: 1px solid var(--line); }
.ds-list li { padding: 13px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 500; display: flex; align-items: center; gap: 10px; }
.ds-list li::before { content: ""; width: 8px; height: 8px; border-radius: 50%; border: 2px solid var(--orange); flex: none; }
@media (max-width: 860px) { .dest-stage { grid-template-columns: 1fr; } .ds-img { max-width: 340px; } }

/* ---------- day tours ---------- */
.day-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 14px; }
.day { display: grid; grid-template-columns: 96px 1fr; gap: 16px; align-items: start; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.day:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.day-img { position: relative; width: 96px; aspect-ratio: 1; max-width: 100%; border-radius: 14px; overflow: hidden; background: var(--orange-soft); }
.day-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1); }
.day:hover .day-img img { transform: scale(1.08); }
.day-ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--orange); background: radial-gradient(circle at 70% 20%, #ffd6b8, var(--orange-soft) 65%); }
.day-ph svg { width: 56%; height: auto; }
.day-body { display: grid; gap: 6px; min-width: 0; align-content: start; }
.day-body h3 { font-size: 1.12rem; }
.day-body p { color: var(--muted); font-size: .9rem; }
.day-body a { justify-self: start; font-family: var(--f-head); font-weight: 500; font-size: .9rem; color: var(--orange-deep); text-decoration: none; margin-top: 4px; }
.day-body a:hover { text-decoration: underline; }
@media (max-width: 400px) { .day { grid-template-columns: 76px 1fr; gap: 12px; } .day-img { width: 76px; } }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.about-art { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.about-circle { position: absolute; inset: 4%; border-radius: 50%; box-shadow: 0 0 0 10px #fff, 0 0 0 18px var(--ink); background: linear-gradient(180deg, #ffb27a, #c64f12); }
.about-badge { position: absolute; z-index: 2; left: -2%; bottom: 4%; display: flex; gap: 12px; align-items: center; background: #fff; padding: 10px 18px 10px 10px; border-radius: 16px; box-shadow: var(--shadow); font-family: var(--f-head); font-weight: 500; font-size: .92rem; line-height: 1.3; }
.about-badge img { width: 44px; height: 44px; }
.about-badge small { color: var(--muted); font-weight: 400; }
.about-copy { display: grid; gap: 20px; min-width: 0; }
.about-copy h2 { font-size: var(--step-3); }
.about-copy > p { color: var(--ink-2); max-width: 60ch; }
.vm { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vm div { padding: 20px; border-radius: 18px; background: var(--shell); }
.vm h3 { font-size: 1.1rem; margin-bottom: 6px; color: var(--orange-deep); }
.vm p { font-size: .92rem; color: var(--ink-2); }
.strengths { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.strengths li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.strengths li::before { content: ""; width: 22px; height: 22px; border-radius: 50%; background: var(--ink) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12l4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; flex: none; }
@media (max-width: 900px) { .about-grid { grid-template-columns: 1fr; } .about-art { max-width: 380px; } }
@media (max-width: 520px) { .vm { grid-template-columns: 1fr; } }

/* ---------- tailor-made wizard ---------- */
.tailor-sec { background: linear-gradient(180deg, var(--paper), var(--orange-soft)); }
.tailor-grid { display: grid; grid-template-columns: 1.25fr .75fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.wizard { background: #fff; border-radius: var(--r); padding: clamp(22px, 3vw, 36px); box-shadow: var(--shadow); display: grid; gap: 24px; min-width: 0; border: 1px solid var(--line); }
.steps-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.steps-bar span { height: 6px; border-radius: 6px; background: var(--line); transition: background .4s; }
.steps-bar span.on { background: var(--orange); }
.step-labels { list-style: none; margin: -14px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); font-family: var(--f-head); font-size: .85rem; color: var(--muted); }
.step-labels li.on { color: var(--ink); font-weight: 500; }
.wstep { border: 0; margin: 0; padding: 0; display: grid; gap: 22px; min-width: 0; }
.field { display: grid; gap: 10px; min-width: 0; }
.field > label, .field > .lbl { font-family: var(--f-head); font-weight: 500; display: flex; justify-content: space-between; gap: 10px; }
.hint { font-family: var(--f-body); font-weight: 600; color: var(--orange-deep); font-size: .9rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }
.wizard input[type="text"], .wizard input[type="date"], .wizard select { width: 100%; min-width: 0; font: inherit; color: var(--ink); background: var(--shell); border: 1.5px solid transparent; border-radius: 12px; padding: 13px 14px; }
.wizard input:focus, .wizard select:focus { outline: none; border-color: var(--orange); background: #fff; }
input[type="range"] { width: 100%; accent-color: var(--orange); }
.choice { display: flex; gap: 8px; }
.choice.wrap { flex-wrap: wrap; }
.choice button { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 14px; font-weight: 600; font-size: .9rem; color: var(--ink-2); transition: .2s; }
.choice button:hover { border-color: var(--ink); }
.choice button[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pax { display: grid; border-top: 1px solid var(--line); }
.paxrow { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-weight: 500; }
.paxrow small { font-family: var(--f-body); color: var(--muted); font-weight: 500; margin-left: 6px; }
.stepper { display: flex; align-items: center; gap: 6px; }
.stepper button { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 1.1rem; }
.stepper button:hover { border-color: var(--ink); }
.stepper output { min-width: 28px; text-align: center; font-family: var(--f-head); font-weight: 700; font-size: 1.1rem; font-variant-numeric: tabular-nums; }
.wnav { display: flex; align-items: center; gap: 12px; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 18px; }
.wstatus { font-size: .86rem; color: var(--muted); margin-right: auto; }
.wnav #wBack:not([hidden]) + .wstatus { margin-left: 4px; }

.summary { position: sticky; top: 104px; background: var(--ink); color: #fff; border-radius: var(--r); padding: 24px; display: grid; gap: 16px; overflow: hidden; min-width: 0; }
.sum-head { display: flex; align-items: center; gap: 10px; font-family: var(--f-head); font-weight: 500; font-size: 1.1rem; }
.sum-head img { width: 34px; height: 34px; background: #fff; border-radius: 50%; padding: 3px; }
.summary dl { margin: 0; display: grid; gap: 0; }
.summary dl div { display: grid; grid-template-columns: 96px 1fr; gap: 10px; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.1); font-size: .9rem; }
.summary dt { color: #a8a29d; }
.summary dd { margin: 0; overflow-wrap: anywhere; }
.sum-actions { display: grid; gap: 8px; }
.summary .btn-ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.25); }
.summary .btn-ghost:hover { box-shadow: inset 0 0 0 1.5px #fff; }
.sum-note { font-size: .8rem; color: #a8a29d; }
.sum-family { position: relative; height: 170px; margin: 0 -24px -24px; }
.sum-family > img { object-position: bottom center; }
@media (max-width: 960px) { .tailor-grid { grid-template-columns: 1fr; } .summary { position: static; } }

/* ---------- contact ---------- */
.contact-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.contact-intro { display: grid; gap: 14px; }
.contact-intro h2 { font-size: var(--step-3); }
.contact-intro p { color: var(--muted); }
.contact-list { display: grid; border-top: 1.5px solid var(--ink); }
.c-item { display: grid; grid-template-columns: 110px 1fr auto; gap: 14px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.c-item small { font-family: var(--f-head); font-weight: 500; color: var(--orange-deep); }
.c-item b { font-family: var(--f-head); font-weight: 500; font-size: 1.05rem; overflow-wrap: anywhere; user-select: all; }
.c-act { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.mini { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 13px; font-size: .8rem; font-weight: 700; text-decoration: none; color: var(--ink-2); transition: .2s; }
.mini:hover { border-color: var(--ink); color: var(--ink); }
@media (max-width: 860px) { .contact-wrap { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .c-item { grid-template-columns: 1fr; gap: 6px; } .c-act { justify-content: flex-start; } }

/* ---------- footer ---------- */
.site-footer { background: var(--shell); padding-bottom: 96px; margin-top: 40px; }
.foot-waves { display: block; width: 100%; height: 60px; transform: translateY(-30px); }
.foot-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr 1.2fr; gap: 28px; }
.foot-brand img { width: 200px; }
.foot-grid h4 { font-size: 1rem; margin-bottom: 12px; }
.foot-grid ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; color: var(--ink-2); font-size: .93rem; }
.foot-grid a { text-decoration: none; }
.foot-grid a:hover { color: var(--orange-deep); }
.foot-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: .84rem; color: var(--muted); }
@media (max-width: 820px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
.credit { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px 7px 10px; border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--muted); font-size: .84rem; box-shadow: var(--shadow-sm); transition: box-shadow .3s, transform .3s; }
.credit:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.cr-sun { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--orange); stroke-width: 2; stroke-linecap: round; transition: transform 1.2s cubic-bezier(.2,.8,.2,1); }
.cr-sun circle { fill: var(--orange); stroke: none; }
.credit:hover .cr-sun { transform: rotate(180deg); }
.bt { position: relative; font-family: var(--f-head); font-weight: 700; font-size: 1.02rem; color: var(--ink); letter-spacing: .01em; padding-bottom: 3px; }
.bt i { font-style: normal; color: #f5b800; display: inline-block; transition: transform .4s; }
.credit:hover .bt i { transform: translateY(-3px) rotate(-8deg); }
.bt::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 6px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q 5 0 10 3 T 20 3' fill='none' stroke='%23f26522' stroke-width='1.6'/%3E%3C/svg%3E") repeat-x 0 0 / 10px 6px; opacity: .55; transition: opacity .3s; }
.credit:hover .bt::after { opacity: 1; animation: crwave 1.4s linear infinite; }
@keyframes crwave { to { background-position: 10px 0; } }

/* ---------- floating ---------- */
.fab-wa { position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px)); z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 14px 30px -12px rgba(37,211,102,.8); transition: transform .25s; }
.fab-wa:hover { transform: scale(1.06); }
.fab-wa svg { width: 28px; height: 28px; }
.toast { position: fixed; left: 50%; bottom: calc(90px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 16px); background: var(--ink); color: #fff; padding: 12px 20px; border-radius: 12px; font-size: .9rem; opacity: 0; pointer-events: none; transition: .3s; z-index: 90; max-width: calc(100% - 32px); }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   IMAGE SLOTS
   ========================================================= */
.slot { overflow: hidden; }
.slot > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.slot.cutout { overflow: visible; }
.slot.cutout > img { object-fit: contain; }
.fa:hover .slot > img { transform: scale(1.06); }
.slot-ph { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 8px; padding: 14px; text-align: center; background: linear-gradient(160deg, #ffe2cc, #ffc79f); }
.slot.loaded .slot-ph { display: none; }

.reveal { transform: translateY(18px); transition: transform 1s cubic-bezier(.2,.8,.2,1); }
.reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { transform: none; }
}
