:root {
  --ink: #2f1d0c;          /* espresso */
  --ink-2: #5b4633;
  --muted: #7a6a5c;
  --paper: #ffffff;
  --off: #f7f6f5;
  --peach: #f4c9a8;
  --peach-2: #f9e3d2;
  --accent: #f4c9a8;
  --line: rgba(47, 29, 12, 0.12);
  --ok: #1f7a4d;
  --err: #b3261e;
  --wa: #25d366;
  --radius: 24px;
  --radius-sm: 14px;
  --ease: cubic-bezier(0.44, 0, 0.56, 1);
  --ease-soft: cubic-bezier(0.25, 0, 0.25, 1);
  --max: 1200px;
  --logo-ink: var(--peach);
  --font: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
}
html[lang="ar"] { --font: Tajawal, "Segoe UI", Tahoma, sans-serif; }

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font); color: var(--ink); background: var(--paper);
  font-size: 18px; line-height: 1.6; overflow-x: hidden;
}
body.no-scroll { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 600; }
h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); letter-spacing: -0.04em; line-height: 1.02; }
h2 { font-size: clamp(1.9rem, 4.2vw, 3.2rem); letter-spacing: -0.03em; line-height: 1.12; }
h3, .h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); letter-spacing: -0.015em; line-height: 1.25; }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3 { letter-spacing: 0; line-height: 1.3; font-weight: 700; }
p { margin: 0; }
.wrap { width: min(var(--max), calc(100% - 40px)); margin-inline: auto; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section-tight { padding-top: 24px; }
.section.off { background: var(--off); }
.tag { font-size: 14px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; font-weight: 500; }
html[lang="ar"] .tag { letter-spacing: 0; font-size: 16px; }
.muted { color: var(--muted); }
.lede { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; background: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { top: 12px; }
:focus-visible { outline: 3px solid #c77b3f; outline-offset: 3px; border-radius: 6px; }
.ic { flex: none; }
html[dir="rtl"] .link-arrow .ic, html[dir="rtl"] .btn .ic-flip, html[dir="rtl"] .info-book > .ic:last-child, html[dir="rtl"] .stat-card .btn .ic { transform: scaleX(-1); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 24px; border-radius: 999px; border: 1px solid transparent;
  background: #fff; color: var(--ink); cursor: pointer; font-weight: 500; font-size: 17px; white-space: nowrap;
  transition: transform 0.4s var(--ease), background 0.3s var(--ease), color 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { min-height: 58px; padding: 0 28px; }
.btn-sm { min-height: 42px; padding: 0 18px; font-size: 15px; }
.btn-accent { background: var(--peach); color: var(--ink); }
.btn-accent:hover { background: #f7d6bd; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #45301c; }
.btn-outline { background: transparent; border-color: rgba(47,29,12,.35); }
.btn-outline:hover { background: var(--off); }
.btn-ghost-light { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); backdrop-filter: blur(8px); }
.btn-ghost-light:hover { background: rgba(255,255,255,.22); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.btn[hidden] { display: none; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 500; border-bottom: 1px solid currentColor; padding-bottom: 2px; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.94); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: background .3s, border-color .3s, color .3s; }
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.over-hero { position: fixed; inset: 0 0 auto; background: transparent; color: #fff; --logo-ink: var(--ink); }
.site-header.over-hero .logo-mark { color: #fff; }
.site-header.over-hero.is-scrolled { background: rgba(255,255,255,.94); color: var(--ink); --logo-ink: var(--peach); }
.site-header.over-hero.is-scrolled .logo-mark { color: var(--ink); }
.header-inner { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo-mark { width: 40px; height: 40px; color: var(--ink); }
.logo-text { display: grid; line-height: 1.15; }
.logo-text strong { font-size: 17px; font-weight: 600; }
.logo-text small { font-size: 13px; opacity: .75; }
.nav { display: none; gap: 28px; margin-inline-start: 24px; }
.nav a { font-size: 16px; font-weight: 500; opacity: .85; padding: 6px 0; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current] { opacity: 1; border-bottom-color: currentColor; }
.header-right { margin-inline-start: auto; display: flex; align-items: center; gap: 12px; }
.lang-switch { display: inline-flex; border: 1px solid currentColor; border-radius: 999px; padding: 3px; opacity: .9; }
.lang-btn { border: 0; background: transparent; color: inherit; border-radius: 999px; min-width: 38px; min-height: 32px; padding: 0 10px; cursor: pointer; font-size: 14px; font-weight: 600; }
.lang-btn[data-lang="ar"] { font-family: Tajawal, sans-serif; font-size: 16px; }
.lang-btn.is-on { background: var(--ink); color: #fff; }
.over-hero:not(.is-scrolled) .lang-btn.is-on { background: #fff; color: var(--ink); }
.menu-btn { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: inherit; cursor: pointer; border-radius: 10px; }
.header-book { display: none; }
@media (min-width: 1000px) {
  .nav { display: flex; }
  .menu-btn { display: none; }
  .header-book { display: inline-flex; }
}
.drawer { position: fixed; inset: 0; z-index: 60; background: var(--ink); color: #fff; display: flex; flex-direction: column; justify-content: center; gap: 28px; padding: 40px 28px; }
.drawer[hidden] { display: none; }
.drawer nav { display: grid; }
.drawer nav a { font-size: 2rem; font-weight: 600; padding: 10px 0; opacity: 0; transform: translateY(24px); animation: rise .4s var(--ease) forwards; }
.drawer nav a:nth-child(2) { animation-delay: .05s; }
.drawer nav a:nth-child(3) { animation-delay: .1s; }
.drawer .btn { align-self: flex-start; }
.drawer-info { display: flex; gap: 10px; align-items: center; opacity: .8; font-size: 16px; }
.drawer-close { position: absolute; top: 18px; inset-inline-end: 18px; width: 48px; height: 48px; background: none; border: 0; color: #fff; cursor: pointer; }
@keyframes rise { to { opacity: 1; transform: none; } }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; display: grid; align-items: end; overflow: hidden; background: #1b1007; }
.hero-media { position: absolute; inset: 0 0 -10%; will-change: transform; }
/* hero photo: the eye at the slit lamp, always on the side opposite the text:
   mirrored in Arabic (text on the right), as shot in French/English (text on the left). */
.hero-img { position: absolute; inset: 0; }
html[dir="rtl"] .hero-img { transform: scaleX(-1); }
/* wide screens: the photo takes the side opposite the text and fades into the dark background under the words */
@media (min-width: 721px) {
  .hero-img { left: auto; right: 0; width: 72%; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 24%, #000 50%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 24%, #000 50%); }
  html[dir="rtl"] .hero-img { right: auto; left: 0; }
}
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 100% 45%; transform: scale(1.15); animation: zoomOut 2s cubic-bezier(.12,.23,.5,1) forwards; filter: brightness(1.06) saturate(1.04); }
@keyframes zoomOut { to { transform: scale(1); } }
/* lighter veil (brighter photo); darker only behind the text, at the bottom and on the text side */
/* the photo is dark on the text side already; the veil only deepens it behind the words, the eye stays clear */
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20,10,4,.55) 0%, rgba(20,10,4,.1) 40%, rgba(20,10,4,0) 65%), linear-gradient(90deg, rgba(20,10,4,.55) 0%, rgba(20,10,4,.25) 40%, transparent 60%); }
html[dir="rtl"] .hero-media::after { background: linear-gradient(0deg, rgba(20,10,4,.55) 0%, rgba(20,10,4,.1) 40%, rgba(20,10,4,0) 65%), linear-gradient(-90deg, rgba(20,10,4,.55) 0%, rgba(20,10,4,.25) 40%, transparent 60%); }
/* phones: the photo sits in the top part (the eye in view) and fades into the dark background behind the text */
@media (max-width: 720px) {
  .hero-media { inset: 0 0 auto; height: 60%; }
  .hero-media img { object-position: 76% 45%; }
  .hero-media::after, html[dir="rtl"] .hero-media::after { background: linear-gradient(180deg, rgba(20,10,4,.45) 0%, rgba(20,10,4,0) 26%, rgba(20,10,4,0) 50%, #1b1007 100%); }
}
.hero-copy { position: relative; z-index: 1; padding: 160px 0 64px; animation: fadeUp 1.2s var(--ease-soft) both; text-shadow: 0 1px 2px rgba(20,10,4,.3), 0 2px 22px rgba(20,10,4,.5); }
.hero-copy .btn { text-shadow: none; }
.kicker { font-size: 15px; letter-spacing: .1em; text-transform: uppercase; opacity: .9; margin-bottom: 18px; }
html[lang="ar"] .kicker { letter-spacing: 0; font-size: 17px; }
.hero-line { display: inline-block; background: rgba(255,255,255,.16); padding: 0 .18em; border-radius: 8px; backdrop-filter: blur(8px); margin-top: .08em; }
.hero-bottom { display: grid; grid-template-columns: minmax(240px, 440px) 1fr auto; gap: 28px; align-items: center; margin-top: 36px; }
.hero-rule { height: 1px; background: rgba(255,255,255,.5); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(40px); } }

/* ---------- info strip ---------- */
.info-strip { background: var(--ink); color: #fff; }
.info-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.info-item { display: flex; gap: 14px; align-items: flex-start; padding: 22px 18px; text-align: start; }
.info-grid .info-item + .info-item { border-inline-start: 1px solid rgba(255,255,255,.14); }
.info-item .ic { margin-top: 3px; opacity: .85; }
.info-label { font-size: 13px; text-transform: uppercase; letter-spacing: .08em; opacity: .7; margin-bottom: 2px; }
html[lang="ar"] .info-label { letter-spacing: 0; font-size: 14px; }
.info-item p { font-size: 16px; }
.info-book { background: var(--peach); color: var(--ink); border: 0; cursor: pointer; font: inherit; align-items: center; transition: background .3s; }
.info-book:hover { background: #f7d6bd; }
.info-book > div { flex: 1; }
.info-book .info-label { opacity: 1; font-weight: 600; }
.js-phone { display: inline-flex; gap: 6px; align-items: center; }
.info-grid .js-phone .ic { display: none; }

/* ---------- about ---------- */
.h2-wide { max-width: 26ch; }
.about-grid { display: grid; grid-template-columns: 1.1fr 1fr .9fr; gap: 20px; margin-top: 64px; align-items: stretch; }
.shot { margin: 0; border-radius: var(--radius); overflow: hidden; }
.shot img { width: 100%; height: 100%; object-fit: cover; min-height: 340px; }
.about-text { display: flex; flex-direction: column; gap: 20px; font-size: 18px; color: var(--ink-2); }
.shot-sm { flex: 1; }
.shot-sm img { min-height: 200px; }
.stat-card { background: var(--peach); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 14px; }
.stat-card p { color: var(--ink-2); }
.stat-card .btn { margin-top: auto; align-self: flex-start; }

/* ---------- services accordion ---------- */
.service-list { display: grid; margin-top: 56px; border-top: 1px solid var(--line); }
.service { border-bottom: 1px solid var(--line); }
.service-head { width: 100%; display: grid; grid-template-columns: 132px 44px 1fr auto; gap: 20px; align-items: center; background: none; border: 0; text-align: start; padding: 20px 0; cursor: pointer; }
.service-head img { width: 132px; height: 84px; object-fit: cover; border-radius: var(--radius-sm); }
.num { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.plus { width: 22px; height: 22px; position: relative; flex: none; }
.plus::before, .plus::after { content: ""; position: absolute; background: currentColor; left: 50%; top: 50%; transition: transform .3s var(--ease), opacity .3s; }
.plus::before { width: 16px; height: 1.6px; transform: translate(-50%,-50%); }
.plus::after { width: 1.6px; height: 16px; transform: translate(-50%,-50%); }
.service.is-open .plus::after, details[open] .plus::after { transform: translate(-50%,-50%) rotate(90deg); opacity: 0; }
.service-body { display: none; padding: 0 0 26px; padding-inline-start: 196px; max-width: 900px; }
.service-body p { margin-bottom: 14px; color: var(--ink-2); }
.service.is-open .service-body { display: block; animation: fadeIn .4s var(--ease); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-6px); } }

/* ---------- steps ---------- */
.steps { list-style: none; padding: 0; margin: 56px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.step { background: var(--off); border-radius: var(--radius); padding: 30px; display: grid; gap: 10px; align-content: start; }
.step p { color: var(--ink-2); }
.step-n { width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font-weight: 600; margin-bottom: 8px; }

/* ---------- banner ---------- */
.banner { background: var(--ink); color: #fff; overflow: hidden; }
.banner-inner { display: grid; grid-template-columns: 1.2fr .8fr; gap: 48px; align-items: center; padding: clamp(56px, 8vw, 96px) 0; }
.banner-copy { display: grid; gap: 20px; }
.banner-copy p { opacity: .85; max-width: 50ch; }
.banner-img { margin: 0; border-radius: var(--radius); overflow: hidden; max-height: 440px; }
.banner-img img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- FAQ ---------- */
.faq-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; }
.faq-grid > div:first-child { display: grid; gap: 18px; align-content: start; }
.faq-grid > div:first-child .btn { justify-self: start; }
details { border-bottom: 1px solid var(--line); padding: 18px 0; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 16px; align-items: center; font-size: 19px; }
summary::-webkit-details-marker { display: none; }
details p { margin-top: 10px; color: var(--ink-2); }

/* ---------- map / contact ---------- */
.map-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 20px; margin-top: 48px; }
.page-contact .map-grid { margin-top: 0; }
.map-card { background: var(--off); border-radius: var(--radius); padding: 18px 14px 28px; display: grid; gap: 4px; align-content: start; }
.map-card .info-item { padding: 16px 14px; }
.map-card .info-label { color: var(--muted); opacity: 1; }
.map-card .btn-row { padding: 12px 14px 0; }
.map-frame { border-radius: var(--radius); overflow: hidden; min-height: 420px; background: var(--off) center/60px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a6a5c' stroke-width='1.5'%3E%3Cpath d='M20 10c0 6-8 12-8 12S4 16 4 10a8 8 0 0 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='3'/%3E%3C/svg%3E"); }
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- inner pages ---------- */
.page-hero { padding: clamp(56px, 8vw, 96px) 0 40px; }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 18px; }
.crumbs a { border-bottom: 1px solid currentColor; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(47,29,12,.08); }
.card img.cover { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 24px; display: grid; gap: 10px; flex: 1; align-content: start; }
.card-body p { color: var(--ink-2); font-size: 16px; }
.card-body .link-arrow { justify-self: start; margin-top: 6px; font-size: 16px; }
.detail { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.detail-img { margin: 0; border-radius: var(--radius); overflow: hidden; position: sticky; top: 100px; }
.detail-img img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.detail-body { display: grid; gap: 18px; }
.detail-body > p { color: var(--ink-2); }
.detail-body .btn-row { margin-top: 8px; }
.checklist { list-style: none; padding: 0; margin: 0 0 12px; display: grid; gap: 10px; }
.checklist li { position: relative; padding-inline-start: 34px; }
.checklist li::before { content: ""; position: absolute; inset-inline-start: 0; top: 4px; width: 22px; height: 22px; border-radius: 50%; background: var(--peach) center/13px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232f1d0c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E"); }
.other-svc { margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.other-svc .info-label { color: var(--muted); opacity: 1; margin-bottom: 12px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips a { border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; font-size: 15px; }
.chips a:hover { background: var(--off); }
.page-404 { text-align: center; padding: 120px 0; }
.page-404 .lede, .page-404 .btn-row { margin-inline: auto; justify-content: center; }
.page-404 .lede { margin-bottom: 28px; }
.big404 { font-size: clamp(6rem, 20vw, 12rem); font-weight: 700; letter-spacing: -.05em; line-height: 1; color: var(--peach); }

/* ---------- footer ---------- */
.site-footer { background: var(--off); padding: 64px 0 110px; font-size: 16px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr auto; gap: 40px; }
.footer-grid .info-label { color: var(--muted); opacity: 1; margin-bottom: 6px; }
.footer-grid > div { display: grid; gap: 4px; align-content: start; }
.logo-footer { margin-bottom: 14px; }
.footer-note { color: var(--muted); font-size: 14px; max-width: 42ch; }
.footer-nav { display: grid; gap: 8px; align-content: start; }
.footer-nav a:hover { text-decoration: underline; }
.footer-bottom { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }

/* ---------- floating buttons ---------- */
.fab { position: fixed; z-index: 50; bottom: 20px; border: 0; cursor: pointer; box-shadow: 0 10px 30px rgba(20,10,4,.28); transition: transform .3s var(--ease), opacity .3s; }
.fab:hover { transform: translateY(-3px); }
.fab-book { inset-inline-end: 20px; display: inline-flex; align-items: center; gap: 10px; min-height: 58px; padding: 0 22px 0 18px; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 600; font-size: 16px; }
body.bot-open .fab { opacity: 0; pointer-events: none; }

/* ---------- chatbot ---------- */
.bot {
  position: fixed; z-index: 70; inset-inline-end: 20px; bottom: 20px; width: min(400px, calc(100vw - 24px)); height: min(640px, calc(100svh - 40px));
  background: #fff; border-radius: 22px; box-shadow: 0 24px 70px rgba(20,10,4,.3); display: flex; flex-direction: column; overflow: hidden;
  opacity: 0; transform: translateY(16px) scale(.98); transition: opacity .25s var(--ease), transform .25s var(--ease); font-size: 16px;
}
.bot.open { opacity: 1; transform: none; }
.bot[hidden] { display: none; }
.bot-head { display: flex; align-items: center; gap: 10px; padding: 14px 12px 14px 16px; background: var(--ink); color: #fff; }
.bot-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--peach); color: var(--ink); display: grid; place-items: center; flex: none; }
.bot-titles { flex: 1; min-width: 0; }
.bot-titles h2 { font-size: 16px; letter-spacing: 0; line-height: 1.3; }
.bot-titles p { font-size: 13px; opacity: .8; display: flex; align-items: center; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; flex: none; }
.bot-icon-btn { width: 40px; height: 40px; border: 0; border-radius: 10px; background: transparent; color: #fff; cursor: pointer; display: grid; place-items: center; }
.bot-icon-btn:hover { background: rgba(255,255,255,.12); }
.bot-log { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--off); overscroll-behavior: contain; }
.msg { max-width: 86%; padding: 10px 14px; border-radius: 18px; line-height: 1.45; white-space: pre-wrap; word-wrap: break-word; animation: pop .25s var(--ease); }
@keyframes pop { from { opacity: 0; transform: translateY(6px); } }
.msg-bot { background: #fff; align-self: flex-start; border-end-start-radius: 6px; box-shadow: 0 1px 2px rgba(47,29,12,.06); }
.msg-me { background: var(--ink); color: #fff; align-self: flex-end; border-end-end-radius: 6px; unicode-bidi: plaintext; }
.msg.muted { background: transparent; box-shadow: none; color: var(--muted); font-style: italic; padding: 4px 6px; }
.msg.success { background: #e7f5ec; color: #14532d; }
.msg.error { background: #fdecea; color: var(--err); }
.typing { display: inline-flex; gap: 4px; padding: 14px 16px; }
.typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); opacity: .5; animation: blink 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; }
.typing i:nth-child(3) { animation-delay: .3s; }
@keyframes blink { 50% { opacity: 1; transform: translateY(-2px); } }
.summary { display: grid; gap: 6px; min-width: 75%; }
.sum-row { display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; }
.sum-row:last-child { border: 0; padding: 0; }
.sum-k { color: var(--muted); }
.sum-v { text-align: end; }
.bot-quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 10px 14px; background: var(--off); max-height: 42%; overflow-y: auto; }
.bot-quick:empty { display: none; }
.chip { border: 1px solid rgba(47,29,12,.25); background: #fff; color: var(--ink); border-radius: 999px; min-height: 40px; padding: 0 14px; cursor: pointer; font-size: 15px; display: inline-flex; align-items: center; transition: background .2s, border-color .2s; }
.chip:hover { background: var(--peach-2); border-color: var(--peach); }
.chip-time { min-width: 72px; justify-content: center; font-variant-numeric: tabular-nums; }
.chip-primary { background: var(--ink); color: #fff; border-color: var(--ink); font-weight: 600; }
.chip-primary:hover { background: #45301c; }
.chip-ghost { background: transparent; }
.bot-form { display: flex; gap: 8px; padding: 10px 12px; border-top: 1px solid var(--line); background: #fff; }
.bot-input { flex: 1; min-width: 0; min-height: 46px; border: 1px solid var(--line); border-radius: 999px; padding: 0 16px; background: var(--off); font-size: 16px; }
.bot-input:disabled { opacity: .5; }
html[dir="rtl"] .bot-input[type="tel"] { text-align: right; }
.bot-send { width: 46px; height: 46px; border-radius: 50%; border: 0; background: var(--ink); color: #fff; cursor: pointer; display: grid; place-items: center; flex: none; }
html[dir="rtl"] .bot-send svg { transform: scaleX(-1); }
.bot-send:disabled { opacity: .35; cursor: default; }
.bot-privacy { font-size: 12px; color: var(--muted); text-align: center; padding: 0 12px 10px; background: #fff; }

/* ---------- reveal ---------- */
html.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease-soft), transform .9s var(--ease-soft); transition-delay: var(--reveal-delay, 0ms); }
html.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 999px) {
  .info-grid { grid-template-columns: 1fr 1fr; }
  .info-grid .info-item:nth-child(3) { border-inline-start: 0; }
  .info-grid .info-item:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
  .about-grid { grid-template-columns: 1fr 1fr; }
  .stat-card { grid-column: 1 / -1; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero-bottom { grid-template-columns: 1fr; gap: 24px; }
  .hero-rule { display: none; }
}
@media (max-width: 720px) {
  body { font-size: 17px; }
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 66px; gap: 10px; }
  .logo-text small { display: none; }
  .logo-mark { width: 36px; height: 36px; }
  .lang-btn { min-width: 34px; padding: 0 8px; }
  .hero-copy { padding: 120px 0 40px; }
  .hero .btn-row .btn { flex: 1 1 100%; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid .info-item { border-inline-start: 0 !important; }
  .info-grid .info-item + .info-item { border-top: 1px solid rgba(255,255,255,.14); }
  .info-item { padding: 16px 4px; }
  .info-book { margin: 0 -16px; padding: 18px 20px; }
  .about-grid, .steps, .faq-grid, .map-grid, .banner-inner, .detail, .card-grid, .footer-grid { grid-template-columns: 1fr; }
  .about-grid { margin-top: 40px; }
  .shot img { min-height: 260px; }
  .service-head { grid-template-columns: 76px 1fr auto; gap: 14px; }
  .service-head .num { display: none; }
  .service-head img { width: 76px; height: 60px; }
  .service-body { padding-inline-start: 0; }
  .banner-img { max-height: 280px; }
  .detail-img { position: static; }
  .map-frame, .map-frame iframe { min-height: 320px; }
  .fab-book span { display: none; }
  .fab-book { width: 58px; padding: 0; justify-content: center; }
  .bot { inset: 0; width: 100%; height: 100%; height: 100dvh; border-radius: 0; }
  .btn { white-space: normal; text-align: center; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .reveal { opacity: 1; transform: none; }
}

/* ==========================================================
   v2 polish: images, touch targets, privacy page, states
   ========================================================== */
/* <picture> wrappers stay out of layout: the <img> keeps its sizing rules */
picture { display: contents; }

/* 44px touch targets */
.lang-btn { min-height: 40px; min-width: 40px; }
.footer-nav a { display: flex; align-items: center; min-height: 44px; }
.link-arrow { border-bottom: 0; padding-bottom: 0; min-height: 44px; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 5px; }
.js-phone { min-height: 44px; }
.chips a { display: inline-flex; align-items: center; min-height: 44px; }
.bot-privacy a { text-decoration: underline; text-underline-offset: 3px; display: inline-block; padding: 6px 2px; }

/* floating buttons hide while the hero's booking button is visible (no overlap on phones) */
.fab { transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s linear 0s; }
body.cta-in-view .fab { opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; transition: transform .3s var(--ease), opacity .3s var(--ease), visibility 0s linear .3s; }

/* chatbot success message: a drawn check mark instead of an emoji */
.msg.success { position: relative; padding-inline-start: 40px; }
.msg.success::before {
  content: ""; position: absolute; inset-inline-start: 12px; top: 12px; width: 20px; height: 20px; border-radius: 50%;
  background: #1f7a4d center / 12px no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
}

/* privacy page */
.prose { max-width: 72ch; display: grid; gap: 14px; }
.prose h2 { font-size: clamp(1.25rem, 2vw, 1.55rem); letter-spacing: -.01em; margin-top: 18px; }
.prose p { color: var(--ink-2); }
.prose .checklist { margin: 0; }
.prose .updated { margin-top: 24px; font-size: 15px; }
.logo { min-height: 44px; }
.hours-line { margin-bottom: 6px; }
.hours-line strong { font-weight: 600; }
.info-item p + p { margin-top: 2px; }
.drawer-info > div { display: grid; gap: 2px; }
