/* Emmaray Law Firm — black + gold (design approved by the client in the specimen) */
/* Fallback fonts sized to match the web fonts, so text does not jump when they load */
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia'); size-adjust: 76.6%; }
@font-face { font-family: 'Cormorant Fallback'; src: local('Georgia Bold'), local('Georgia-Bold'); font-weight: 600 700; size-adjust: 76.6%; }
@font-face { font-family: 'Inter Fallback'; src: local('Arial'); size-adjust: 107%; }
:root {
  --ink: #0b0b0c; --panel: #141416; --panel-2: #1b1b1e; --line: rgba(201,162,75,.22); --line-soft: rgba(255,255,255,.08);
  --gold: #c9a24b; --gold-2: #ecd595; --gold-3: #a8842f;
  --ivory: #f7f3ea; --paper: #fffdf8; --text: #ece8df; --muted: #a8a294;
  --dark-text: #24211c; --dark-muted: #5d574b; --light-line: #e4dccb;
  --wa: #1fa855;
  --r: 14px; --r-sm: 9px;
  --serif: 'Cormorant Garamond', 'Cormorant Fallback', Georgia, 'Times New Roman', serif;
  --sans: 'Inter', 'Inter Fallback', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color-scheme: dark;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; background: var(--ink); color: var(--text); font: 400 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); color: #fff; line-height: 1.12; margin: 0 0 .5em; font-weight: 600; letter-spacing: .005em; }
h1 em, h2 em { font-style: normal; color: var(--gold); background: linear-gradient(100deg, var(--gold-2), var(--gold) 60%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
h1 { font-size: clamp(2.3rem, 5.4vw, 4.1rem); }
h2 { font-size: clamp(1.8rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--gold-2); outline-offset: 3px; border-radius: 4px; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 22px; }
.narrow { max-width: 820px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #111; padding: 8px 14px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }
.ico { width: 1.15em; height: 1.15em; flex: none; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55em; font: 600 .95rem/1 var(--sans); padding: .9em 1.35em; border-radius: 999px; border: 1px solid transparent; text-decoration: none; cursor: pointer; transition: transform .15s, background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, var(--gold-3)); color: #17130a; }
.btn-gold:hover { filter: brightness(1.07); }
.btn-line { border-color: var(--line); color: var(--gold-2); background: rgba(201,162,75,.06); }
.btn-line:hover { border-color: var(--gold); background: rgba(201,162,75,.14); }
.btn-dark { background: #121212; color: var(--gold-2); }
.btn-dark-line { border-color: rgba(0,0,0,.45); color: #17130a; }
.btn-dark-line:hover { background: rgba(0,0,0,.1); }
.btn-lg { padding: 1.05em 1.6em; font-size: 1rem; }
.btn-sm { padding: .7em 1.1em; font-size: .86rem; }
.btn-block { display: flex; width: 100%; }
.link-arrow { display: inline-flex; align-items: center; gap: .45em; color: var(--gold); font-weight: 600; font-size: .92rem; text-decoration: none; }
.link-arrow .ico { transition: transform .2s; }
a:hover > .link-arrow .ico, .link-arrow:hover .ico { transform: translateX(4px); }

/* top strip + header */
.strip { background: #050505; border-bottom: 1px solid var(--line-soft); font-size: .8rem; color: var(--muted); }
.strip-in { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.strip span, .strip a { display: inline-flex; align-items: center; gap: .45em; text-decoration: none; }
.strip .ico { color: var(--gold); }
.strip-r { gap: 20px !important; }
.strip a:hover { color: var(--gold-2); }
.topbar { position: sticky; top: 0; z-index: 50; background: rgba(11,11,12,.9); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line-soft); transition: border-color .2s, background .2s; }
.topbar.scrolled { border-bottom-color: var(--line); background: rgba(11,11,12,.97); }
.topbar-in { display: flex; align-items: center; gap: 22px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.logo img { height: 52px; width: auto; mix-blend-mode: lighten; }
.logo-type { display: flex; flex-direction: column; line-height: 1; }
.logo-type b { font: 600 1.6rem/1 var(--serif); letter-spacing: .1em; color: var(--ivory); }
.logo-type small { font: 600 .62rem/1 var(--sans); letter-spacing: .42em; color: var(--gold); margin-top: 6px; }
.nav { display: flex; gap: 4px; margin-left: auto; }
.nav a { padding: 10px 13px; text-decoration: none; font-size: .93rem; font-weight: 500; color: var(--text); border-radius: 8px; }
.nav a:hover, .nav a[aria-current] { color: var(--gold-2); }
.nav a[aria-current] { box-shadow: inset 0 -2px 0 var(--gold); border-radius: 0; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.menu-btn { display: none; background: none; border: 1px solid var(--line); color: var(--gold-2); width: 44px; height: 44px; border-radius: 10px; cursor: pointer; align-items: center; justify-content: center; }
.menu-btn .ico { width: 22px; height: 22px; }

/* hero */
.hero { position: relative; padding: 64px 0 0; background: radial-gradient(900px 500px at 85% 10%, rgba(201,162,75,.16), transparent 60%), radial-gradient(700px 500px at 0% 100%, rgba(201,162,75,.07), transparent 60%), var(--ink); overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.kicker { display: inline-flex; align-items: center; gap: 10px; font: 600 .76rem/1.4 var(--sans); letter-spacing: .22em; text-transform: uppercase; color: var(--gold); margin: 0 0 18px; }
.kicker::before { content: ''; width: 28px; height: 1px; background: var(--gold); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 60ch; }
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.values { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; padding: 0; margin: 34px 0 0; font: 600 .74rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.values li { display: flex; align-items: center; gap: 10px; }
.values li::before { content: ''; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); }
.hero-art { margin: 0; position: relative; justify-self: end; width: min(100%, 400px); }
.hero-art::before { content: ''; position: absolute; inset: 18px -18px -18px 18px; border: 1px solid var(--gold); border-radius: var(--r); opacity: .55; }
.hero-art img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: var(--r); box-shadow: 0 30px 60px -20px #000; }
.hero-art figcaption { position: absolute; left: -22px; bottom: 28px; background: rgba(11,11,12,.92); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 12px 18px; border-radius: 10px; display: flex; flex-direction: column; }
.hero-art figcaption b { font: 600 1.25rem/1.2 var(--serif); color: #fff; }
.hero-art figcaption span { font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-top: 3px; }
.stats { list-style: none; margin: 64px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats li { padding: 26px 18px; text-align: center; border-right: 1px solid var(--line-soft); }
.stats li:last-child { border-right: 0; }
.stats b { display: block; font: 600 2.5rem/1 var(--serif); color: var(--gold-2); }
.stats span { font-size: .78rem; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

/* sections */
.sec { padding: 92px 0; }
.sec-tight { padding: 56px 0 84px; }
.sec-panel { background: var(--panel); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.sec-light { background: var(--ivory); color: var(--dark-text); }
.sec-light h2, .sec-light h3 { color: #17130a; }
.sec-light h2 em { background: none; -webkit-text-fill-color: var(--gold-3); color: var(--gold-3); }
.sec-light .kicker, .sec-light .link-arrow { color: var(--gold-3); }
.sec-light .kicker::before { background: var(--gold-3); }
.sec-light .sec-sub, .sec-light .lead { color: var(--dark-muted); }
.sec-head { max-width: 720px; margin: 0 0 44px; }
.sec-sub { color: var(--muted); font-size: 1.05rem; margin: 0; }
.sec-more { margin: 34px 0 0; }

.svc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.svc { display: flex; flex-direction: column; gap: 10px; background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r); padding: 26px 24px; text-decoration: none; transition: border-color .2s, transform .2s, background .2s; }
.sec-panel .svc { background: var(--ink); }
.svc:hover { border-color: var(--gold); transform: translateY(-3px); background: var(--panel-2); }
.svc h3 { margin: 4px 0 0; font-size: 1.42rem; }
.svc p { color: var(--muted); font-size: .93rem; margin: 0; flex: 1; }
.svc-ico { width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 12px; display: grid; place-items: center; color: var(--gold-2); background: rgba(201,162,75,.08); }
.svc-ico .ico { width: 26px; height: 26px; }
.svc-grid.small .svc { padding: 20px; }
.svc-grid.small .svc h3 { font-size: 1.2rem; }

.about-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 56px; align-items: center; }
.about-grid.no-img { grid-template-columns: 1fr; max-width: 820px; }
.about-img { margin: 0; position: relative; }
.about-img::before { content: ''; position: absolute; inset: -14px 14px 14px -14px; border: 1px solid var(--gold-3); border-radius: var(--r); }
.about-img img { position: relative; width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; background: #000; border-radius: var(--r); }
.prose { font-size: 1.02rem; }
.prose h2 { font-size: 1.7rem; margin-top: 1.5em; }
.prose h3 { font-size: 1.3rem; margin-top: 1.3em; }
.prose ul { padding-left: 1.2em; margin: 0 0 1em; }
.prose li { margin-bottom: .4em; }
.prose li::marker { color: var(--gold); }
.prose a { color: var(--gold); }
.sec-light .prose a { color: var(--gold-3); }
blockquote { margin: 26px 0; padding: 4px 0 4px 22px; border-left: 3px solid var(--gold); }
blockquote p { font: 500 1.45rem/1.4 var(--serif); margin: 0 0 10px; }
blockquote footer { display: flex; flex-direction: column; font-size: .85rem; }
blockquote footer span { color: var(--dark-muted); font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; }

.banner { background: var(--ivory); padding: 0 0 92px; }
.banner figure { margin: 0; border-radius: var(--r); overflow: hidden; position: relative; box-shadow: 0 24px 50px -24px rgba(0,0,0,.5); }
.banner img { width: 100%; }
.banner figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 22px 14px; background: linear-gradient(transparent, rgba(0,0,0,.8)); color: var(--gold-2); font: 600 .76rem/1.3 var(--sans); letter-spacing: .2em; text-transform: uppercase; text-align: center; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; counter-reset: s; }
.steps li { position: relative; padding: 26px 22px; background: var(--ink); border: 1px solid var(--line-soft); border-top: 2px solid var(--gold); border-radius: 0 0 var(--r) var(--r); }
.step-n { font: 600 2.4rem/1 var(--serif); color: var(--gold); opacity: .85; display: block; margin-bottom: 12px; }
.steps h3 { font-size: 1.35rem; }
.steps p { color: var(--muted); font-size: .93rem; margin: 0; }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 22px; }
.dest { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--light-line); border-radius: var(--r); overflow: hidden; text-decoration: none; color: var(--dark-text); transition: transform .2s, box-shadow .2s; }
.dest:hover { transform: translateY(-4px); box-shadow: 0 22px 40px -22px rgba(0,0,0,.45); }
.dest-img { display: block; aspect-ratio: 8 / 7; background: #111; overflow: hidden; }
.dest-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.dest-ph { display: grid; place-items: center; color: var(--gold); }
.dest-ph .ico { width: 56px; height: 56px; }
.dest-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 4px; }
.dest-body h3 { margin: 0; font-size: 1.5rem; color: #17130a; }
.dest-body small { color: var(--dark-muted); font-size: .8rem; }
.dest-body .link-arrow { margin-top: 8px; color: var(--gold-3); }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.why { padding: 26px 22px; border: 1px solid var(--line-soft); border-radius: var(--r); background: var(--panel); }
.why h3 { margin: 16px 0 6px; font-size: 1.35rem; }
.why p { color: var(--muted); font-size: .93rem; margin: 0; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px; }
.member { margin: 0; background: var(--ink); border: 1px solid var(--line-soft); border-radius: var(--r); overflow: hidden; }
.member-photo { display: grid; place-items: center; aspect-ratio: 6 / 7; background: var(--panel-2); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mono { font: 600 3rem/1 var(--serif); color: var(--gold); }
.member figcaption { padding: 16px 18px; display: flex; flex-direction: column; gap: 2px; }
.member b { font: 600 1.25rem/1.2 var(--serif); color: #fff; }
.member span { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); }
.member p { font-size: .88rem; color: var(--muted); margin: 8px 0 0; }
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 14px; }
.gallery figure { margin: 0; border-radius: var(--r-sm); overflow: hidden; border: 1px solid var(--line-soft); }
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption { padding: 8px 12px; font-size: .82rem; color: var(--muted); }

.quotes { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; }
.quote { margin: 0; background: #fff; border: 1px solid var(--light-line); border-radius: var(--r); padding: 24px; }
.quote blockquote { border: 0; padding: 0; margin: 10px 0 16px; font-size: .97rem; }
.quote figcaption { display: flex; flex-direction: column; }
.quote figcaption span { font-size: .8rem; color: var(--dark-muted); }
.stars { color: var(--gold-3); display: flex; gap: 2px; }
.stars .ico { fill: currentColor; }

.faq details { border: 1px solid var(--line-soft); border-radius: var(--r-sm); background: var(--panel); margin-bottom: 10px; }
.faq details[open] { border-color: var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font: 600 1.22rem/1.3 var(--serif); color: #fff; display: flex; justify-content: space-between; gap: 16px; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.pm { flex: none; width: 14px; height: 14px; position: relative; }
.pm::before, .pm::after { content: ''; position: absolute; left: 0; right: 0; top: 6px; height: 2px; background: var(--gold); transition: transform .2s; }
.pm::after { transform: rotate(90deg); }
details[open] .pm::after { transform: rotate(0); }
.faq .prose { padding: 0 20px 8px; color: var(--muted); font-size: .97rem; }

/* contact */
.contact { background: radial-gradient(700px 400px at 100% 0%, rgba(201,162,75,.12), transparent 60%), var(--panel); border-top: 1px solid var(--line); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.c-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.c-list li { display: flex; gap: 14px; align-items: flex-start; }
.c-list .ico { color: var(--gold); width: 20px; height: 20px; margin-top: 3px; }
.c-list a { text-decoration: none; font-weight: 600; }
.c-list a:hover { color: var(--gold-2); }
.c-list small { display: block; color: var(--muted); font-size: .78rem; }
.map { margin-top: 26px; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.map iframe { display: block; width: 100%; height: 280px; border: 0; filter: grayscale(.3) contrast(1.05); }
.form { background: var(--ink); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 28px; display: grid; gap: 14px; }
.form h3 { margin: 0 0 4px; font-size: 1.7rem; }
.form label { display: grid; gap: 6px; font-size: .82rem; font-weight: 600; color: var(--muted); }
.form input, .form select, .form textarea { width: 100%; font: 400 1rem/1.4 var(--sans); color: var(--text); background: var(--panel); border: 1px solid var(--line-soft); border-radius: var(--r-sm); padding: 12px 14px; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,162,75,.18); }
.form textarea { resize: vertical; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.f-msg { margin: 0; font-size: .92rem; min-height: 1.3em; }
.f-msg.ok { color: #7fd6a0; }
.f-msg.err { color: #ff9c8f; }
.f-note { margin: 0; font-size: .78rem; color: var(--muted); }
.f-note a { color: var(--gold); }

.cta-band { background: linear-gradient(120deg, var(--gold-2), var(--gold) 50%, var(--gold-3)); color: #17130a; padding: 50px 0; }
.cta-in { display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #17130a; margin: 0 0 4px; }
.cta-band h2 em { background: none; -webkit-text-fill-color: #17130a; }
.cta-band p { margin: 0; }
.cta-band .cta-row { margin: 0; }

/* inner pages */
.page-head { padding: 54px 0 46px; background: radial-gradient(700px 300px at 90% 0%, rgba(201,162,75,.14), transparent 60%), var(--ink); border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); margin: 0 0 10px; }
.page-head .lead { margin: 0; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: .82rem; color: var(--muted); margin-bottom: 16px; }
.crumbs a { color: var(--gold); text-decoration: none; }
.detail-grid { display: grid; grid-template-columns: 1fr 330px; gap: 48px; align-items: start; }
.detail-img { margin: 0 0 26px; border-radius: var(--r); overflow: hidden; }
.dest-detail { display: grid; grid-template-columns: 280px 1fr; gap: 32px; align-items: start; }
.detail-poster { margin: 0; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.chips span { border: 1px solid var(--line); color: var(--gold-2); border-radius: 999px; padding: 5px 13px; font-size: .78rem; font-weight: 600; }
.sub-title { font-size: 1.7rem; margin-top: 1.6em; }
.ticks { list-style: none; padding: 0; margin: 0 0 14px; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 8px 22px; }
.ticks li { display: flex; gap: 10px; align-items: flex-start; }
.ticks .ico { color: var(--gold); margin-top: 4px; }
.fine { font-size: .84rem; color: var(--muted); border-left: 2px solid var(--line); padding-left: 12px; }
.book-card { position: sticky; top: 100px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px; display: grid; gap: 12px; }
.book-lead { margin: 0 0 4px; color: var(--muted); font-size: .95rem; }
.book-phone { display: flex; justify-content: center; align-items: center; gap: 8px; text-decoration: none; color: var(--gold-2); font-weight: 600; padding-top: 4px; }
.nf { text-align: center; padding: 110px 0; }
.nf-code { font: 600 6rem/1 var(--serif); color: var(--gold); margin: 0; }
.nf .lead { margin: 0 auto 24px; }

/* footer */
.footer { background: #050505; border-top: 1px solid var(--line); padding: 62px 0 0; font-size: .92rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.3fr; gap: 40px; }
.footer h3 { font: 600 .76rem/1 var(--sans); letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin: 6px 0 18px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer a { text-decoration: none; }
.footer a:hover { color: var(--gold-2); }
.f-brand p { margin: 16px 0 0; max-width: 34ch; }
.f-lic { font-size: .8rem; }
.f-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.f-social a { border: 1px solid var(--line); border-radius: 999px; padding: 5px 12px; font-size: .78rem; color: var(--gold-2); }
.f-contact li { display: flex; gap: 10px; align-items: flex-start; }
.f-contact .ico { color: var(--gold); margin-top: 4px; }
.f-contact small { display: block; font-size: .74rem; opacity: .8; }
.f-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; border-top: 1px solid var(--line-soft); margin-top: 46px; padding-top: 20px; padding-bottom: 24px; padding-right: 96px; font-size: .8rem; }
.f-values { letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; color: var(--gold); }

.wa-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 58px; height: 58px; border-radius: 50%; background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 10px 26px -8px rgba(0,0,0,.7); transition: transform .2s; }
.wa-float:hover { transform: scale(1.07); }
.wa-float .ico { width: 30px; height: 30px; }
.chat-btn { position: fixed; right: 18px; bottom: 88px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 0 16px; height: 48px; border-radius: 999px; border: 1px solid var(--gold); background: #121212; color: var(--gold-2); font: 600 .86rem/1 var(--sans); cursor: pointer; box-shadow: 0 10px 26px -8px rgba(0,0,0,.8); }
.chat-btn:hover { background: #1c1a15; }
.chat-btn .ico { width: 20px; height: 20px; }
.chat { position: fixed; right: 18px; bottom: 146px; z-index: 65; width: min(370px, calc(100vw - 36px)); max-height: min(560px, calc(100vh - 170px)); display: flex; flex-direction: column; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); box-shadow: 0 30px 60px -20px #000; overflow: hidden; }
.chat header { position: relative; padding: 14px 44px 12px 16px; background: #0b0b0c; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; }
.chat header b { font: 600 1.2rem/1.2 var(--serif); color: #fff; }
.chat header small { font-size: .72rem; color: var(--muted); }
.chat header button { position: absolute; right: 8px; top: 8px; width: 34px; height: 34px; border: 0; background: none; color: var(--muted); font-size: 1.5rem; line-height: 1; cursor: pointer; border-radius: 8px; }
.chat header button:hover { color: #fff; }
.chat-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 8px; min-height: 120px; }
.chat-log p { margin: 0; padding: 10px 13px; border-radius: 12px; font-size: .9rem; line-height: 1.5; max-width: 88%; overflow-wrap: anywhere; }
.chat-log .bot { background: var(--panel-2); border: 1px solid var(--line-soft); align-self: flex-start; border-bottom-left-radius: 4px; }
.chat-log .me { background: linear-gradient(135deg, var(--gold-2), var(--gold)); color: #17130a; align-self: flex-end; border-bottom-right-radius: 4px; }
.chat-log .bot a { display: inline-block; margin: 8px 8px 0 0; padding: 4px 11px; border: 1px solid var(--line); border-radius: 999px; color: var(--gold-2); font-size: .78rem; font-weight: 600; text-decoration: none; }
.chat-log .bot a:hover { border-color: var(--gold); }
.chat-log .wait { color: var(--muted); letter-spacing: .2em; }
.chat-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 0 14px 10px; }
.chat-chips button { border: 1px solid var(--line); background: rgba(201,162,75,.07); color: var(--gold-2); border-radius: 999px; padding: 5px 11px; font: 500 .76rem/1.2 var(--sans); cursor: pointer; }
.chat-chips button:hover { border-color: var(--gold); }
.chat form { display: flex; gap: 8px; padding: 10px 14px; border-top: 1px solid var(--line-soft); }
.chat form input { flex: 1; min-width: 0; font: 400 16px/1.3 var(--sans); color: var(--text); background: var(--ink); border: 1px solid var(--line-soft); border-radius: 999px; padding: 9px 14px; }
.chat form input:focus { outline: none; border-color: var(--gold); }
.chat-note { margin: 0; padding: 0 14px 10px; font-size: .68rem; color: var(--muted); text-align: center; }
@media (max-width: 640px) { .chat-btn span { display: none; } .chat-btn { width: 48px; padding: 0; justify-content: center; right: 23px; } .chat { right: 12px; left: 12px; width: auto; } }
.consent { position: fixed; left: 16px; right: 90px; bottom: 16px; z-index: 70; max-width: 560px; background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--r); padding: 16px 18px; font-size: .88rem; box-shadow: 0 20px 40px -18px #000; }
.consent p { margin: 0 0 12px; }
.consent a { color: var(--gold); }
.consent div { display: flex; gap: 10px; justify-content: flex-end; }

.js .reveal { opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .js .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .btn, .svc, .dest { transition: none; } }

@media (max-width: 1000px) {
  .hero-grid, .about-grid, .contact-grid, .detail-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-art { justify-self: center; width: min(86%, 380px); }
  .hero-art figcaption { left: -10px; }
  .about-img { max-width: 380px; }
  .book-card { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; flex-direction: column; gap: 0; background: #0b0b0c; border-bottom: 1px solid var(--line); padding: 8px 22px 18px; margin: 0; }
  .nav.open { display: flex; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line-soft); font-size: 1rem; }
  .nav a[aria-current] { box-shadow: none; }
  .top-actions { margin-left: auto; }
}
@media (max-width: 640px) {
  .sec { padding: 64px 0; }
  .banner { padding-bottom: 64px; }
  .hero { padding-top: 40px; }
  .strip-in > span:first-child { display: none; }
  .strip-in { justify-content: center; }
  .strip-r { flex-wrap: wrap; justify-content: center; gap: 4px 16px !important; }
  .logo img { height: 44px; }
  .logo-type b { font-size: 1.3rem; }
  .logo-type small { font-size: .54rem; letter-spacing: .36em; }
  .top-cta { display: none; }
  .f-row { grid-template-columns: 1fr; }
  .form { padding: 22px 18px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .dest-detail { grid-template-columns: 1fr; }
  .detail-poster { max-width: 300px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats li:nth-child(2n) { border-right: 0; }
  .stats li { border-bottom: 1px solid var(--line-soft); }
  .cta-row .btn { flex: 1 1 100%; }
  .banner figcaption { font-size: .6rem; padding: 18px 10px 8px; }
  .consent { right: 16px; bottom: 86px; }
}
