/* Homeros Adventure — site styles.
   Palette comes from the logo (black, bandana red, rope yellow) plus the pine forest the facility sits in.
   Display type is a stencil face, echoing the stencilled "HOMEROS" in the logo. */

@font-face { font-family: "Stencil"; src: url("/fonts/stencil.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo.woff2") format("woff2"); font-weight: 400 800; font-stretch: 75% 125%; font-display: swap; }

:root {
  --black: #000;
  --pine: #0e2b20;
  --pine-2: #17402f;
  --red: #d2201a;
  --red-dark: #a8150f;
  --yellow: #f5c400;
  --white: #fff;
  --mist: #eef1ec;
  --ink: #121a16;
  --muted: #4b5751;
  --line: rgba(18, 26, 22, .14);
  --display: "Stencil", "Arial Narrow", Impact, sans-serif;
  --body: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --header-h: 64px;
  --gutter: clamp(18px, 5vw, 56px);
  --max: 1240px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 12px); }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.55; color: var(--ink); background: var(--white); font-stretch: 100%; overflow-x: clip; }
img, video { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 800; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--yellow); color: var(--black); padding: 10px 14px; font-weight: 700; }
.skip:focus { top: 12px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--max)); margin-inline: auto; }

/* ---------- type ---------- */
.display { font-family: var(--display); font-weight: 800; text-transform: uppercase; line-height: .88; letter-spacing: .005em; }
.h-xl { font-size: clamp(3.3rem, 14.5vw, 9.2rem); }
.h-l { font-size: clamp(2.7rem, 10vw, 6rem); }
.h-m { font-size: clamp(2rem, 6.5vw, 3.6rem); }
.lead { font-size: clamp(1.1rem, 2.6vw, 1.35rem); line-height: 1.45; max-width: 36em; }
.small { font-size: .9rem; }
.num { font-variant-numeric: tabular-nums lining-nums; }

/* ---------- buttons ---------- */
.btn { --bg: var(--red); --fg: var(--white); display: inline-flex; align-items: center; justify-content: center; gap: .55em; min-height: 52px; padding: 0 1.25em; border: 2px solid var(--bg); border-radius: 6px; background: var(--bg); color: var(--fg); font: 700 1.05rem/1 var(--body); font-stretch: 92%; text-decoration: none; cursor: pointer; transition: transform .15s var(--ease), background-color .2s, border-color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn svg { width: 1.25em; height: 1.25em; flex: none; }
.btn--red:hover { --bg: var(--red-dark); }
.btn--ghost { --bg: transparent; --fg: var(--white); border-color: rgba(255,255,255,.7); }
.btn--ghost:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn--yellow { --bg: var(--yellow); --fg: var(--black); }
.btn--black { --bg: var(--black); --fg: var(--white); }
.btn--outline { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--outline:hover { background: var(--ink); color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; }

/* ---------- rope (from the logo's rope border) ---------- */
.rope { height: 12px; background:
  repeating-linear-gradient(-58deg, #8a6a0c 0 2px, #f5c400 2px 7px, #d9a90a 7px 10px, #8a6a0c 10px 12px);
  box-shadow: inset 0 2px 0 rgba(255,255,255,.25), inset 0 -2px 0 rgba(0,0,0,.25); }

/* ---------- header ---------- */
.header { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--header-h); display: flex; align-items: center; color: var(--white); transition: background-color .3s, box-shadow .3s; }
.header.is-solid, .header--solid { background: var(--black); box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.header__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: 100%; padding-inline: var(--gutter); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; }
.brand span { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.35rem; line-height: .9; letter-spacing: .02em; }
.brand small { display: block; font-size: .78rem; letter-spacing: .06em; color: var(--yellow); }
.nav { display: none; }
.header__actions { display: flex; align-items: center; gap: 8px; }
.icon-btn { display: inline-grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 0; background: rgba(0,0,0,.35); color: var(--white); cursor: pointer; text-decoration: none; }
.icon-btn svg { width: 22px; height: 22px; }
.header.is-solid .icon-btn, .header--solid .icon-btn { background: rgba(255,255,255,.1); }
@media (min-width: 1040px) {
  .nav { display: flex; gap: 4px; }
  .nav a { padding: 10px 12px; font-weight: 600; font-size: .98rem; text-decoration: none; border-radius: 6px; }
  .nav a:hover, .nav a[aria-current="page"] { background: rgba(255,255,255,.12); }
  .menu-toggle { display: none; }
}

/* full-screen menu */
.menu { position: fixed; inset: 0; z-index: 60; background: var(--pine); color: var(--white); display: flex; flex-direction: column; padding: calc(var(--header-h) + 8px) var(--gutter) 28px; overflow-y: auto; transform: translateY(-100%); visibility: hidden; transition: transform .45s var(--ease), visibility 0s .45s; }
.menu.is-open { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.menu__close { position: absolute; top: 9px; right: var(--gutter); }
.menu nav a { display: block; font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 10vw, 3.4rem); line-height: 1.02; text-decoration: none; padding: 2px 0; }
.menu nav a:hover { color: var(--yellow); }
.menu__info { margin-top: auto; padding-top: 28px; display: grid; gap: 6px; font-size: .98rem; color: rgba(255,255,255,.85); }
.menu__info a { color: var(--yellow); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media video, .hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media .tri { display: none; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.45) 0%, rgba(0,0,0,0) 22%, rgba(0,0,0,0) 40%, rgba(0,0,0,.78) 78%, rgba(0,0,0,.92) 100%); }
.hero__content { width: 100%; padding: 0 var(--gutter) clamp(28px, 6vh, 64px); }
.hero h1 { max-width: 11ch; }
.hero h1 .ln { display: block; overflow: hidden; padding-bottom: .14em; margin-bottom: -.14em; }
.hero h1 .ln > span { display: block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.hero h1 .ln:nth-child(2) > span { animation-delay: .09s; }
.hero h1 .ln:nth-child(3) > span { animation-delay: .18s; }
.hero h1 .ln:nth-child(4) > span { animation-delay: .27s; }
.hero .lead { margin: 18px 0 18px; color: rgba(255,255,255,.92); opacity: 0; animation: fade .8s .45s forwards; }
.hero .btn-row, .hero .status { opacity: 0; animation: fade .8s .6s forwards; }
@keyframes rise { to { transform: none; } }
@keyframes fade { to { opacity: 1; } }
@media (min-width: 900px) {
  .hero__media .tri { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; height: 100%; }
  .hero__media .tri video { height: 100%; }
  .hero__media > .solo { display: none; }
  .hero__media.has-wide > .solo { display: block; }
  .hero__media.has-wide .tri { display: none; }
  .hero__content { display: grid; grid-template-columns: 1.6fr 1fr; align-items: end; gap: 40px; }
  .hero h1 { font-size: clamp(4rem, 6.6vw, 7.4rem); max-width: 14ch; }
  .hero__side { justify-self: end; max-width: 380px; }
}

/* live status chip */
.status { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 14px; padding: 8px 14px 8px 12px; border-radius: 999px; background: rgba(0,0,0,.55); backdrop-filter: blur(6px); font-weight: 600; font-size: .98rem; }
.status i { width: 10px; height: 10px; border-radius: 50%; background: #9aa39e; flex: none; }
.status.is-open i { background: #3ddc6b; box-shadow: 0 0 0 0 rgba(61,220,107,.7); animation: pulse 2s infinite; }
.status.is-closed i { background: var(--red); }
@keyframes pulse { 70% { box-shadow: 0 0 0 9px rgba(61,220,107,0); } 100% { box-shadow: 0 0 0 0 rgba(61,220,107,0); } }

/* ---------- info band (the facts Kadir Hoca cares about most) ---------- */
.band { background: var(--yellow); color: var(--black); }
.band__grid { display: grid; gap: 0; padding-block: 8px; }
.band__item { display: grid; grid-template-columns: 34px 1fr; gap: 12px; align-items: start; padding: 16px 0; border-bottom: 1px solid rgba(0,0,0,.15); text-decoration: none; }
.band__item:last-child { border-bottom: 0; }
.band__item svg { width: 28px; height: 28px; margin-top: 2px; }
.band__item b { display: block; font-size: 1.12rem; line-height: 1.3; }
.band__item span { display: block; font-size: .95rem; line-height: 1.4; }
.band__item u { text-decoration-thickness: 2px; text-underline-offset: 3px; font-weight: 700; }
@media (min-width: 900px) {
  .band__grid { grid-template-columns: 1fr 1.35fr 1fr; gap: 32px; padding-block: 22px; }
  .band__item { border-bottom: 0; padding: 0; }
}

/* ---------- sections ---------- */
.section { padding-block: clamp(64px, 11vw, 140px); }
.section--mist { background: var(--mist); }
.section--pine { background: var(--pine); color: var(--white); }
.section--black { background: var(--black); color: var(--white); }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 5vw, 56px); }
.section__head p { color: var(--muted); max-width: 38em; margin: 0; }
.section--pine .section__head p, .section--black .section__head p { color: rgba(255,255,255,.78); }
@media (min-width: 900px) { .section__head { grid-template-columns: 1.2fr 1fr; align-items: end; gap: 40px; } }

/* ---------- activity stack (sticky cards that pile up on scroll) ---------- */
.stack { display: grid; gap: 0; padding-bottom: 8vh; }
.card { position: sticky; top: calc(var(--header-h) + 10px + var(--i, 0) * 10px); height: min(78svh, 720px); margin-bottom: 9vh; border-radius: 14px; overflow: hidden; color: var(--white); background: var(--black); isolation: isolate; transform-origin: 50% 0; will-change: transform; text-decoration: none; display: block; }
.card__media { position: absolute; inset: 0; z-index: -2; }
.card__media img, .card__media video { width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.78) 0%, rgba(0,0,0,.35) 38%, rgba(0,0,0,0) 60%, rgba(0,0,0,.45) 100%); }
.card__shade { position: absolute; inset: 0; background: #000; opacity: var(--shade, 0); pointer-events: none; z-index: 2; }
.card__body { position: absolute; inset: 0; padding: clamp(20px, 4vw, 40px); display: grid; align-content: start; gap: 10px; }
.card__more { position: absolute; left: clamp(20px, 4vw, 40px); bottom: clamp(20px, 4vw, 34px); background: rgba(0,0,0,.55); padding: 10px 14px; border-radius: 6px; }
.card__price { justify-self: start; background: var(--yellow); color: var(--black); font-weight: 800; padding: 6px 12px; border-radius: 4px; font-size: 1.02rem; }
.card__name { font-size: clamp(3rem, 13vw, 7.4rem); }
.card__fact { font-size: 1.05rem; max-width: 30em; color: rgba(255,255,255,.92); margin: 0; }
.card__more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--yellow); }
.card__more svg { width: 20px; height: 20px; transition: transform .2s var(--ease); }
.card:hover .card__more svg { transform: translateX(4px); }
.also { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-top: 8px; }
.also a { padding: 10px 14px; border: 2px solid var(--ink); border-radius: 6px; font-weight: 700; text-decoration: none; }
.also a:hover { background: var(--ink); color: var(--white); }

/* ---------- stats on a contour-line map ---------- */
.contour { position: relative; overflow: hidden; }
.contour > svg.lines { position: absolute; inset: -10% -10%; width: 120%; height: 120%; z-index: 0; color: rgba(245,196,0,.16); pointer-events: none; }
.contour > .wrap { position: relative; z-index: 1; }
.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 34px 20px; }
.stat b { display: block; white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: clamp(2.5rem, 10.5vw, 6.2rem); line-height: .9; color: var(--yellow); font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 8px; font-size: 1rem; color: rgba(255,255,255,.85); max-width: 14em; }
@media (min-width: 900px) { .stats { grid-template-columns: repeat(3, 1fr); gap: 56px 40px; } }

/* ---------- packages board ---------- */
.board { border-top: 3px solid var(--ink); }
.board__row { display: grid; grid-template-columns: 1fr auto; gap: 6px 18px; align-items: baseline; padding: 18px 0; border-bottom: 1px solid var(--line); }
.board__row h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.3; }
.board__row p { grid-column: 1; margin: 0; color: var(--muted); font-size: .95rem; }
.board__price { grid-row: 1 / span 2; grid-column: 2; font-family: var(--display); font-weight: 800; font-size: clamp(2.2rem, 7vw, 3.2rem); line-height: 1; white-space: nowrap; }
.board__price small { font-family: var(--body); font-size: .85rem; font-weight: 600; color: var(--muted); margin-left: 2px; }
.notes { display: grid; gap: 12px; margin-top: 26px; }
.note { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--muted); }
.note svg { width: 24px; height: 24px; color: var(--ink); }
.note b { color: var(--ink); }
.board-wrap { display: grid; gap: 28px; grid-template-areas: "head" "board" "notes"; }
.board-wrap > .bw-head { grid-area: head; } .board-wrap > .board { grid-area: board; } .board-wrap > .bw-notes { grid-area: notes; }
@media (min-width: 900px) { .board-wrap { grid-template-columns: 1fr 1.25fr; grid-template-areas: "head board" "notes board"; gap: 20px 64px; align-content: start; } }

/* ---------- split (photo + text) ---------- */
.split { display: grid; gap: 28px; align-items: center; }
.split__media { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 5; }
.split__media img { width: 100%; height: 100%; object-fit: cover; }
.split__media .tag { position: absolute; left: 16px; bottom: 16px; background: var(--yellow); color: var(--black); font-weight: 800; padding: 8px 12px; border-radius: 4px; }
@media (min-width: 900px) { .split { grid-template-columns: 1.1fr 1fr; gap: 64px; } .split--rev .split__media { order: 2; } .split__media { aspect-ratio: 5 / 4; } }
.facts { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.facts li { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 600px) { .facts li { grid-template-columns: 9.5em 1fr; gap: 14px; } }
.facts li b { font-weight: 700; }
.section--pine .facts, .section--pine .facts li { border-color: rgba(255,255,255,.18); }

/* ---------- groups (swipe on phones) ---------- */
.groups { display: grid; grid-auto-flow: column; grid-auto-columns: 82%; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; scrollbar-width: none; }
.groups::-webkit-scrollbar { display: none; }
.group { position: relative; scroll-snap-align: start; aspect-ratio: 3 / 4; border-radius: 14px; overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; }
.group img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.group::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,.85)); }
.group:hover img { transform: scale(1.04); }
.group div { position: absolute; inset: auto 0 0; padding: 22px; }
.group h3 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2.3rem, 8vw, 3.3rem); line-height: .9; }
.group p { margin: 8px 0 0; color: rgba(255,255,255,.9); }
@media (min-width: 900px) { .groups { grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); overflow: visible; } }

/* ---------- instagram ---------- */
.ig { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; }
.ig a { position: relative; aspect-ratio: 4 / 5; background: #1d2a24; overflow: hidden; border-radius: 4px; }
.ig img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease), opacity .4s; opacity: 0; }
.ig img.is-in { opacity: 1; }
.ig a:hover img { transform: scale(1.05); }
.ig .kind { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; color: var(--white); filter: drop-shadow(0 1px 2px rgba(0,0,0,.6)); }
.ig .sk { animation: shimmer 1.4s infinite; background: linear-gradient(90deg, #1d2a24 0, #2a3a33 50%, #1d2a24 100%); background-size: 200% 100%; }
@keyframes shimmer { to { background-position: -200% 0; } }
@media (min-width: 900px) { .ig { grid-template-columns: repeat(6, 1fr); gap: 6px; } }
.ig-empty { color: rgba(255,255,255,.75); }

/* ---------- location ---------- */
.map { display: block; border-radius: 14px; overflow: hidden; position: relative; }
.map img { width: 100%; height: auto; }
.map span { position: absolute; right: 12px; bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; margin: 18px 0; }
.hours td { padding: 9px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 800; }
.hours tr.is-today td:first-child::after { content: " · bugün"; font-weight: 600; color: var(--red); }

/* ---------- page header (inner pages) ---------- */
.phero { position: relative; min-height: 72svh; display: flex; align-items: flex-end; color: var(--white); background: var(--black); overflow: hidden; isolation: isolate; }
.phero__media { position: absolute; inset: 0; z-index: -2; }
.phero__media img, .phero__media video { width: 100%; height: 100%; object-fit: cover; }
.phero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.5) 0, rgba(0,0,0,0) 30%, rgba(0,0,0,.85) 100%); }
.phero__content { width: 100%; padding: 0 var(--gutter) clamp(28px, 6vh, 56px); }
.phero .crumbs { font-size: .92rem; margin-bottom: 10px; color: rgba(255,255,255,.8); }
.phero .crumbs a { text-decoration: none; }
.phero .lead { margin-top: 14px; color: rgba(255,255,255,.92); }
.phero .card__price { margin-top: 16px; display: inline-block; }
.phero--plain { min-height: 46svh; background: var(--pine); }
.phero--plain::after { display: none; }

.prose { max-width: 40em; font-size: 1.08rem; }
.prose h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: clamp(2rem, 6vw, 3rem); line-height: .95; margin: 1.4em 0 .5em; }
.prose h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.prose ul { padding-left: 1.2em; }

.gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery figure { margin: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 5; }
.gallery figure.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) { .gallery { grid-template-columns: repeat(4, 1fr); gap: 12px; } .gallery figure.wide { grid-column: span 2; aspect-ratio: auto; } }

.price-table { width: 100%; border-collapse: collapse; }
.price-table th, .price-table td { text-align: left; padding: 14px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child { text-align: right; font-family: var(--display); font-weight: 800; font-size: 1.9rem; line-height: 1; white-space: nowrap; padding-left: 16px; }
.price-table td small { display: block; font-family: var(--body); color: var(--muted); font-size: .92rem; font-weight: 400; margin-top: 4px; }
.price-table td.txt { font-family: var(--body); font-size: 1rem; font-weight: 700; white-space: normal; }

.cta { background: var(--red); color: var(--white); }
.cta .wrap { display: grid; gap: 22px; padding-block: clamp(48px, 8vw, 88px); }
.cta .btn--ghost { border-color: rgba(255,255,255,.8); }
@media (min-width: 900px) { .cta .wrap { grid-template-columns: 1.3fr auto; align-items: end; } }

.links-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.links-grid a { position: relative; aspect-ratio: 1; border-radius: 10px; overflow: hidden; color: var(--white); text-decoration: none; isolation: isolate; display: flex; align-items: flex-end; padding: 14px; }
.links-grid img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.links-grid a::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.8)); }
.links-grid b { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.8rem; line-height: .9; }
@media (min-width: 900px) { .links-grid { grid-template-columns: repeat(4, 1fr); } }

/* ---------- footer ---------- */
.footer { background: var(--black); color: rgba(255,255,255,.85); padding: 56px 0 120px; font-size: .98rem; }
.footer__grid { display: grid; gap: 30px; }
.footer h2 { font-family: var(--display); font-weight: 800; text-transform: uppercase; font-size: 1.6rem; color: var(--white); margin-bottom: 10px; }
.footer a { color: var(--white); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.footer__logo { width: 96px; height: 96px; border-radius: 50%; }
.footer__bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.15); display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .9rem; color: rgba(255,255,255,.6); }
@media (min-width: 900px) { .footer { padding-bottom: 56px; } .footer__grid { grid-template-columns: 1.2fr 1fr 1fr 1fr; } }

/* ---------- mobile action bar ---------- */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.12); padding-bottom: env(safe-area-inset-bottom); transform: translateY(110%); transition: transform .35s var(--ease); }
.dock.is-shown { transform: none; }
.dock a, .dock button { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 58px; background: var(--black); color: var(--white); font: 700 1rem var(--body); border: 0; text-decoration: none; cursor: pointer; }
.dock .wa { background: #0f7a3d; }
.dock svg { width: 22px; height: 22px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- chat (keyword auto-reply) ---------- */
.chat-fab { position: fixed; right: 22px; bottom: 22px; z-index: 45; display: none; align-items: center; gap: 10px; min-height: 58px; padding: 0 20px 0 16px; border: 0; border-radius: 999px; background: var(--red); color: var(--white); font: 700 1.02rem var(--body); cursor: pointer; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.chat-fab svg { width: 24px; height: 24px; }
@media (min-width: 900px) { .chat-fab { display: inline-flex; } }
.chat { position: fixed; z-index: 70; inset: auto 0 0 0; height: min(88svh, 680px); display: flex; flex-direction: column; background: var(--white); border-radius: 16px 16px 0 0; box-shadow: 0 -10px 40px rgba(0,0,0,.35); transform: translateY(105%); visibility: hidden; transition: transform .4s var(--ease), visibility 0s .4s; }
.chat.is-open { transform: none; visibility: visible; transition: transform .4s var(--ease); }
@media (min-width: 900px) { .chat { inset: auto 22px 22px auto; width: 400px; border-radius: 16px; } }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 14px 14px 16px; background: var(--black); color: var(--white); border-radius: inherit; border-bottom-left-radius: 0; border-bottom-right-radius: 0; }
.chat__head img { width: 40px; height: 40px; border-radius: 50%; }
.chat__head b { display: block; line-height: 1.2; }
.chat__head span { font-size: .85rem; color: rgba(255,255,255,.75); }
.chat__head .icon-btn { margin-left: auto; background: rgba(255,255,255,.1); }
.chat__log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 14px; white-space: pre-line; font-size: .98rem; line-height: 1.45; }
.msg--bot { background: var(--white); border-bottom-left-radius: 4px; align-self: flex-start; }
.msg--me { background: var(--pine); color: var(--white); border-bottom-right-radius: 4px; align-self: flex-end; }
.msg .btn { margin-top: 10px; min-height: 44px; font-size: .95rem; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: .25; } }
.chat__quick { display: flex; gap: 8px; overflow-x: auto; padding: 10px 12px; border-top: 1px solid var(--line); scrollbar-width: none; }
.chat__quick button { flex: none; min-height: 40px; padding: 0 14px; border: 1.5px solid var(--ink); border-radius: 999px; background: var(--white); font: 600 .92rem var(--body); cursor: pointer; }
.chat__quick button:hover { background: var(--ink); color: var(--white); }
.chat__form { display: flex; gap: 8px; padding: 10px 12px calc(12px + env(safe-area-inset-bottom)); }
.chat__form input[type=text] { flex: 1; min-height: 48px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 10px; font: 400 16px var(--body); }
.chat__form input[type=text]:focus { outline: none; border-color: var(--ink); }
.chat__form button { width: 52px; border: 0; border-radius: 10px; background: var(--red); color: var(--white); cursor: pointer; display: grid; place-items: center; }
.chat__form button svg { width: 22px; height: 22px; }
.chat__hp { position: absolute; left: -9999px; }
.chat__legal { padding: 0 14px 8px; font-size: .78rem; color: var(--muted); }
.chat__legal a { color: inherit; }

/* ---------- scroll reveal (used sparingly) ---------- */
.rv { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.rv.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero h1 .ln > span { transform: none; }
  .rv { opacity: 1; transform: none; }
  .card { transform: none !important; }
}
