:root {
  --bg: #faf7f1;
  --paper: #fffdf9;
  --soft: #f2eee6;
  --ink: #1f2c27;
  --muted: #68716d;
  --green: #24483c;
  --green-2: #335f4f;
  --gold: #c9a86a;
  --rose: #c9827d;
  --line: rgba(31, 44, 39, .12);
  --shadow: 0 18px 50px rgba(35, 57, 48, .10);
  --radius: 24px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
.container { width: min(calc(100% - 40px), var(--container)); margin: 0 auto; }
.section { padding: 100px 0; }
.section-soft { background: var(--soft); }
.section-dark { background: var(--green); color: #fff; }
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0; }
.skip-link { position: fixed; top: -80px; left: 16px; z-index: 1000; background:#fff; padding:10px 16px; border-radius:10px; box-shadow: var(--shadow); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 241, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(31,44,39,.06);
}
.header-inner {
  min-height: 76px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 28px;
}
.brand { display:inline-flex; align-items:center; gap:12px; min-width:max-content; }
.brand-mark {
  width:42px; height:42px; border-radius:50%;
  display:grid; place-items:center;
  background: var(--green); color: var(--gold);
}
.brand-mark svg { width:28px; height:28px; fill:currentColor; }
.brand strong {
  display:block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  line-height:1;
  letter-spacing:.01em;
}
.brand small { display:block; margin-top:4px; color:var(--muted); font-size:.72rem; letter-spacing:.08em; text-transform:uppercase; }
.main-nav { display:flex; align-items:center; gap:24px; font-size:.92rem; font-weight:600; }
.main-nav > a:not(.nav-cta) { color:#3e4e47; position:relative; }
.main-nav > a:not(.nav-cta)::after {
  content:""; position:absolute; left:0; right:100%; bottom:-8px; height:2px; background:var(--gold); transition:.2s ease;
}
.main-nav > a:not(.nav-cta):hover::after { right:0; }
.nav-cta { padding:11px 18px; border-radius:999px; background:var(--green); color:#fff; box-shadow:0 8px 22px rgba(36,72,60,.16); }
.menu-toggle { display:none; background:transparent; border:0; padding:8px; }
.menu-toggle > span:not(.sr-only) { display:block; width:24px; height:2px; margin:5px 0; background:var(--ink); }

.hero {
  position:relative;
  overflow:hidden;
  min-height: 720px;
  display:flex;
  align-items:center;
  color:#fff;
  background:var(--green);
}
.hero-bg {
  position:absolute; inset:0;
  background:
    linear-gradient(90deg, rgba(22,48,40,.96) 0%, rgba(26,56,47,.88) 43%, rgba(28,54,46,.48) 70%, rgba(24,49,41,.58) 100%),
    url("bilder/hero.webp") center 42% / cover no-repeat,
    url("https://sorayathai.4lima.de/wp-content/uploads/2024/08/Hot-Stone-645x1024.jpg") center 42% / cover no-repeat;
  transform:scale(1.01);
}
.hero::before {
  content:""; position:absolute; width:520px; height:520px; border:1px solid rgba(201,168,106,.20);
  border-radius:50%; top:-200px; left:-160px;
}
.hero::after {
  content:""; position:absolute; width:420px; height:420px; background:radial-gradient(circle, rgba(201,168,106,.18), transparent 65%);
  border-radius:50%; right:-120px; bottom:-100px;
}
.hero-grid {
  position:relative; z-index:2;
  display:grid; grid-template-columns: minmax(0,1.35fr) minmax(320px,.65fr);
  gap:74px; align-items:center;
  padding-top:70px; padding-bottom:90px;
}
.eyebrow {
  margin:0 0 18px;
  color:var(--gold);
  font-size:.78rem;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.18em;
}
.hero h1, .section-heading h2, .intro h2, .about h2, .contact h2, .final-cta h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight:400;
  letter-spacing:-.03em;
}
.hero h1 { margin:0; max-width:780px; font-size:clamp(3.1rem, 6.3vw, 6.2rem); line-height:.96; }
.hero h1 em { color:#e4c58a; font-weight:400; }
.hero-text { max-width:670px; margin:28px 0 0; color:rgba(255,255,255,.82); font-size:1.12rem; }
.hero-actions { display:flex; flex-wrap:wrap; gap:13px; margin-top:34px; }
.button {
  min-height:52px; padding:0 24px;
  display:inline-flex; align-items:center; justify-content:center; gap:9px;
  border-radius:999px; font-weight:800; font-size:.94rem;
  transition:transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.button:hover { transform:translateY(-2px); }
.button-primary { color:#18332a; background:#e7c987; box-shadow:0 14px 30px rgba(0,0,0,.16); }
.button-primary:hover { background:#f0d99f; box-shadow:0 18px 34px rgba(0,0,0,.20); }
.button-ghost { color:#fff; border:1px solid rgba(255,255,255,.34); background:rgba(255,255,255,.06); }
.button-ghost:hover { background:rgba(255,255,255,.12); }
.button-light { color:var(--green); background:#fff; }
.button-full { width:100%; }

.hero-facts { display:flex; flex-wrap:wrap; gap:22px; margin-top:42px; color:rgba(255,255,255,.7); font-size:.84rem; }
.hero-facts span { display:flex; align-items:baseline; gap:6px; }
.hero-facts b { color:#fff; font-size:1rem; }

.hero-card {
  background:rgba(255,255,255,.94);
  color:var(--ink);
  padding:32px;
  border-radius:28px;
  box-shadow:0 30px 80px rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.5);
}
.mini-label { display:inline-block; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.14em; color:var(--rose); }
.hero-card h2 { font-family:Georgia,serif; font-size:2rem; line-height:1.08; margin:9px 0 12px; font-weight:400; }
.hero-card p { color:#6a736f; margin:0; }
.wa-chat {
  margin:24px 0 14px;
  display:grid; grid-template-columns:46px 1fr auto; gap:12px; align-items:center;
  padding:14px; background:#f2f7f4; border:1px solid #dce9e2; border-radius:18px;
}
.wa-icon { width:46px; height:46px; border-radius:50%; display:grid; place-items:center; background:#1f8f5f; color:#fff; font-size:1.25rem; }
.wa-chat strong { display:block; font-size:1rem; }
.wa-chat small { display:block; color:#718079; margin-top:2px; }
.hero-card .microcopy { font-size:.78rem; line-height:1.5; }
.hero-wave {
  position:absolute; z-index:3; left:0; right:0; bottom:-1px; height:52px;
  background:var(--bg);
  clip-path:ellipse(62% 70% at 50% 100%);
}

.intro-grid { display:grid; grid-template-columns: .85fr 1.15fr; gap:90px; align-items:start; }
.intro h2 { font-size:clamp(2.5rem,4vw,4rem); margin:0; line-height:1.05; }
.intro-copy { max-width:660px; font-size:1.08rem; color:#56625d; }
.intro-copy p:first-child { margin-top:2px; }

.section-heading { display:grid; grid-template-columns:1fr .8fr; gap:60px; align-items:end; margin-bottom:46px; }
.section-heading.compact { margin-bottom:36px; }
.section-heading h2 { margin:0; font-size:clamp(2.55rem,4.5vw,4.5rem); line-height:1; }
.section-heading > p { margin:0; color:var(--muted); max-width:520px; justify-self:end; }

.service-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; }
.service-card {
  background:var(--paper); border:1px solid rgba(31,44,39,.07);
  border-radius:var(--radius); overflow:hidden;
  box-shadow:0 10px 28px rgba(35,57,48,.05);
  display:flex; flex-direction:column;
  min-width:0;
  transition:transform .2s ease, box-shadow .2s ease;
}
.service-card:hover { transform:translateY(-5px); box-shadow:var(--shadow); }
.service-image { aspect-ratio:16/10; overflow:hidden; background:#dce9e2; }
.service-image img { width:100%; height:100%; object-fit:cover; object-position:center 28%; transition:transform .35s ease; }
.service-card:hover .service-image img { transform:scale(1.025); }
.service-image-abstract {
  display:grid; place-items:center; color:var(--gold);
  background:
    radial-gradient(circle at 30% 30%, rgba(201,168,106,.2), transparent 35%),
    linear-gradient(135deg, #24483c, #47695d);
  font-size:4rem;
}
.service-body { padding:24px; display:flex; flex-direction:column; flex:1; }
.service-kicker { width:max-content; margin-bottom:9px; color:var(--rose); font-size:.7rem; font-weight:800; letter-spacing:.12em; text-transform:uppercase; }
.service-body h3 { font-family:Georgia,serif; font-size:1.55rem; line-height:1.1; margin:0 0 11px; font-weight:400; }
.service-body p { color:var(--muted); margin:0 0 21px; font-size:.93rem; }
.price-row { margin-top:auto; border-top:1px solid var(--line); padding-top:16px; display:flex; flex-direction:column; gap:4px; }
.price-row span { color:var(--muted); font-size:.78rem; }
.price-row strong { font-size:.96rem; }
.text-link { display:inline-block; margin-top:18px; color:var(--green); font-size:.86rem; font-weight:800; }
.featured { grid-column:span 2; display:grid; grid-template-columns:1.08fr .92fr; }
.featured .service-image { aspect-ratio:auto; min-height:100%; }
.featured .service-body { padding:34px; justify-content:center; }
.featured .service-body h3 { font-size:2rem; }
.featured .price-row { margin-top:12px; }

.price-table-wrap {
  overflow-x:auto;
  background:var(--paper);
  border:1px solid var(--line);
  border-radius:22px;
  box-shadow:0 12px 36px rgba(35,57,48,.05);
}
.price-table { width:100%; border-collapse:collapse; min-width:720px; }
.price-table th, .price-table td { text-align:left; padding:17px 22px; border-bottom:1px solid var(--line); }
.price-table th { background:#eef3ef; color:#506159; font-size:.72rem; text-transform:uppercase; letter-spacing:.12em; }
.price-table td:first-child { font-weight:700; }
.price-table tr:last-child td { border-bottom:0; }
.price-table td:nth-child(3) { font-weight:800; color:var(--green); white-space:nowrap; }
.notice {
  margin-top:24px; display:flex; gap:13px; align-items:flex-start;
  padding:17px 20px; background:#fff; border-radius:16px; border:1px solid var(--line); color:#59645f;
}
.notice > span { flex:0 0 auto; width:26px; height:26px; border-radius:50%; display:grid; place-items:center; background:#e9d9bc; color:#775f32; font-weight:900; }
.notice p { margin:0; }

.about-grid { display:grid; grid-template-columns:1fr 1fr; gap:90px; align-items:center; }
.about-visual { position:relative; padding:0 0 42px 44px; }
.about-image { border-radius:30px; overflow:hidden; max-width:520px; height:570px; box-shadow:0 28px 70px rgba(0,0,0,.24); }
.about-image img { width:100%; height:100%; object-fit:cover; object-position:center 25%; }
.about-badge {
  position:absolute; left:0; bottom:0;
  background:#e9ca8b; color:#1e3c32;
  width:190px; min-height:140px; border-radius:24px; padding:25px;
  display:flex; flex-direction:column; justify-content:center;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
}
.about-badge span { font-size:2.2rem; line-height:1; font-family:Georgia,serif; }
.about-badge small { margin-top:8px; font-weight:700; }
.about-copy h2 { margin:0 0 26px; font-size:clamp(2.6rem,4.5vw,4.5rem); line-height:1; max-width:580px; }
.about-copy p { color:rgba(255,255,255,.74); font-size:1.03rem; }
.about-copy .button { margin-top:16px; }

.contact-grid { display:grid; grid-template-columns:1fr .72fr; gap:90px; align-items:start; }
.contact h2 { margin:0 0 16px; font-size:clamp(2.7rem,4.5vw,4.4rem); line-height:1; }
.contact-lead { color:var(--muted); font-size:1.05rem; }
.contact-list { display:grid; gap:12px; margin-top:30px; max-width:650px; }
.contact-item {
  display:grid; grid-template-columns:46px 1fr; gap:14px; align-items:center;
  padding:15px 18px; border:1px solid var(--line); border-radius:16px; background:var(--paper);
  transition:.18s ease;
}
.contact-item:hover { transform:translateX(4px); border-color:rgba(36,72,60,.24); }
.contact-icon { width:44px; height:44px; border-radius:50%; display:grid; place-items:center; background:#eaf0ec; color:var(--green); font-weight:900; }
.contact-item small { display:block; color:var(--muted); font-size:.76rem; }
.contact-item strong { display:block; margin-top:1px; }
.contact-card { background:var(--green); color:#fff; border-radius:28px; padding:34px; box-shadow:var(--shadow); }
.contact-card h3 { font-family:Georgia,serif; font-size:2.1rem; font-weight:400; margin:8px 0 22px; }
.contact-card ol { list-style:none; margin:0 0 26px; padding:0; display:grid; gap:15px; }
.contact-card li { display:flex; gap:12px; align-items:center; color:rgba(255,255,255,.82); }
.contact-card li span { width:30px; height:30px; display:grid; place-items:center; border-radius:50%; background:rgba(255,255,255,.1); color:#e9ca8b; font-weight:800; }

.final-cta { padding:0 0 96px; }
.final-cta-inner {
  border-radius:30px; padding:44px 50px;
  background:linear-gradient(120deg,#e8d7b5,#f1e8d7);
  display:flex; align-items:center; justify-content:space-between; gap:30px;
}
.final-cta h2 { margin:0; font-size:clamp(2.2rem,4vw,3.8rem); line-height:1; }
.final-cta .eyebrow { color:#8a6e38; }

.site-footer { background:#172f27; color:rgba(255,255,255,.76); padding:64px 0 24px; }
.footer-grid { display:grid; grid-template-columns:1.2fr .7fr .7fr; gap:60px; }
.footer-brand strong { color:#fff; }
.footer-brand small { color:rgba(255,255,255,.55); }
.footer-grid h3 { color:#fff; font-size:.82rem; text-transform:uppercase; letter-spacing:.12em; margin:0 0 14px; }
.footer-grid p { font-size:.9rem; }
.footer-grid a:hover { color:#fff; }
.footer-bottom { border-top:1px solid rgba(255,255,255,.10); margin-top:40px; padding-top:20px; display:flex; justify-content:space-between; gap:20px; font-size:.78rem; color:rgba(255,255,255,.50); }

.mobile-whatsapp { display:none; }

.legal-page { min-height:100vh; background:var(--bg); }
.legal-hero { padding:72px 0 34px; }
.legal-hero h1 { font-family:Georgia,serif; font-size:clamp(2.8rem,5vw,4.8rem); font-weight:400; margin:0; }
.legal-content { max-width:860px; padding-bottom:100px; }
.legal-content h2 { font-family:Georgia,serif; font-weight:400; font-size:1.75rem; margin-top:38px; }
.legal-content h3 { margin-top:28px; }
.legal-content p, .legal-content li { color:#52605a; }
.legal-content a { color:var(--green); text-decoration:underline; }
.back-link { display:inline-flex; gap:8px; align-items:center; font-weight:700; color:var(--green); margin-bottom:20px; }

@media (max-width: 980px) {
  .main-nav { position:absolute; top:76px; left:20px; right:20px; display:none; flex-direction:column; align-items:stretch; gap:0; padding:12px; background:#fff; border:1px solid var(--line); border-radius:20px; box-shadow:var(--shadow); }
  .main-nav.open { display:flex; }
  .main-nav a { padding:12px 13px; }
  .main-nav .nav-cta { margin-top:6px; text-align:center; }
  .menu-toggle { display:block; }
  .hero-grid { grid-template-columns:1fr; gap:42px; }
  .hero-card { max-width:520px; }
  .hero { min-height:auto; }
  .intro-grid, .section-heading, .about-grid, .contact-grid { grid-template-columns:1fr; gap:42px; }
  .section-heading > p { justify-self:start; }
  .service-grid { grid-template-columns:repeat(2,1fr); }
  .featured { grid-column:span 2; }
  .about-visual { max-width:590px; }
  .about-copy { max-width:650px; }
}

@media (max-width: 680px) {
  body { padding-bottom:76px; }
  .container { width:min(calc(100% - 28px), var(--container)); }
  .section { padding:72px 0; }
  .header-inner { min-height:68px; }
  .main-nav { top:68px; left:14px; right:14px; }
  .brand-mark { width:38px; height:38px; }
  .brand strong { font-size:1.25rem; }
  .brand small { font-size:.63rem; }
  .hero-grid { padding-top:74px; padding-bottom:90px; }
  .hero-bg {
    background:
      linear-gradient(180deg, rgba(22,48,40,.83), rgba(22,48,40,.96) 68%, rgba(22,48,40,1) 100%),
      url("bilder/hero.webp") center 22% / cover no-repeat,
      url("https://sorayathai.4lima.de/wp-content/uploads/2024/08/Hot-Stone-645x1024.jpg") center 22% / cover no-repeat;
  }
  .hero h1 { font-size:clamp(3rem,15vw,4.6rem); }
  .hero-text { font-size:1rem; }
  .hero-actions { flex-direction:column; align-items:stretch; }
  .hero-actions .button { width:100%; }
  .hero-facts { gap:12px 18px; }
  .hero-card { padding:24px; border-radius:22px; }
  .intro-grid { gap:24px; }
  .service-grid { grid-template-columns:1fr; }
  .featured { grid-column:auto; display:flex; }
  .featured .service-image { aspect-ratio:16/10; min-height:0; }
  .featured .service-body { padding:24px; }
  .featured .service-body h3 { font-size:1.55rem; }
  .service-card:hover { transform:none; }
  .section-heading { gap:22px; margin-bottom:30px; }
  .about-visual { padding:0 0 34px 22px; }
  .about-image { height:470px; }
  .about-badge { width:160px; min-height:112px; padding:20px; }
  .about-badge span { font-size:1.8rem; }
  .contact-card { padding:26px; }
  .final-cta { padding-bottom:70px; }
  .final-cta-inner { padding:34px 26px; flex-direction:column; align-items:flex-start; }
  .footer-grid { grid-template-columns:1fr; gap:30px; }
  .footer-bottom { flex-direction:column; }
  .mobile-whatsapp {
    position:fixed; z-index:150; left:12px; right:12px; bottom:10px;
    min-height:56px; display:flex; align-items:center; justify-content:center; gap:10px;
    background:#1f8f5f; color:#fff; border-radius:18px;
    box-shadow:0 12px 34px rgba(0,0,0,.26);
    font-weight:900; letter-spacing:.01em;
  }
}


/* Neue Angebots-Platzhalter: Fußpflege & Permanent Make-Up */
.service-placeholder {
  position: relative;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 10px;
  overflow: hidden;
  color: var(--green);
  background:
    radial-gradient(circle at 22% 24%, rgba(201,168,106,.28), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(201,130,125,.20), transparent 31%),
    linear-gradient(135deg, #f5eee0 0%, #e8efe9 100%);
}
.service-placeholder::before,
.service-placeholder::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(36,72,60,.12);
  border-radius: 999px;
}
.service-placeholder::before {
  width: 180px;
  height: 180px;
  top: -90px;
  right: -45px;
}
.service-placeholder::after {
  width: 120px;
  height: 120px;
  bottom: -65px;
  left: -25px;
}
.service-placeholder .placeholder-icon {
  position: relative;
  z-index: 1;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.76);
  box-shadow: 0 12px 28px rgba(35,57,48,.10);
  font-size: 1.45rem;
  color: var(--gold);
}
.service-placeholder small {
  position: relative;
  z-index: 1;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(36,72,60,.65);
}
.service-placeholder-pmu {
  background:
    radial-gradient(circle at 22% 24%, rgba(201,130,125,.28), transparent 28%),
    radial-gradient(circle at 82% 74%, rgba(201,168,106,.22), transparent 31%),
    linear-gradient(135deg, #f6e8e5 0%, #f3eee3 100%);
}

/* Die Unterzeile enthält jetzt drei Leistungsbereiche + Standort. */
.brand small {
  max-width: 330px;
  line-height: 1.2;
}


@media (max-width: 520px) {
  .brand small {
    max-width: 215px;
    white-space: normal;
    letter-spacing: .045em;
    line-height: 1.15;
  }
}


/* Hinweis direkt im Header / unter der Navigation */
.header-notice {
  position: sticky;
  top: 76px;
  z-index: 95;
  background: rgba(255,255,255,.92);
  border-bottom: 1px solid rgba(176, 31, 31, .12);
  backdrop-filter: blur(10px);
}
.header-notice-inner {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #b31313;
  font-size: .94rem;
  line-height: 1.45;
  font-weight: 700;
  padding: 10px 0;
}
.header-notice-inner strong {
  margin-right: 8px;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .header-notice {
    top: 76px;
  }
  .header-notice-inner {
    min-height: 48px;
    font-size: .86rem;
    line-height: 1.35;
    padding: 10px 6px;
  }
}

@media (max-width: 680px) {
  .header-notice {
    top: 68px;
  }
  .header-notice-inner {
    min-height: auto;
    padding: 10px 2px;
    font-size: .8rem;
  }
  .header-notice-inner strong {
    display: inline-block;
    margin-right: 6px;
  }
}


/* QR-Code für WhatsApp-Terminvereinbarung */
.qr-card {
  margin-top: 18px;
  padding: 14px;
  display: grid;
  grid-template-columns: 1fr 132px;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid #e8ece8;
  border-radius: 18px;
}
.qr-card img,
.contact-qr img {
  width: 100%;
  max-width: 132px;
  height: auto;
  display: block;
  border-radius: 12px;
  background: #fff;
  padding: 8px;
  border: 1px solid #e7ece7;
}
.qr-copy strong,
.contact-qr strong {
  display: inline-block;
  margin-bottom: 6px;
  color: var(--green);
}
.qr-copy p,
.contact-qr p {
  margin: 0;
  font-size: .86rem;
  line-height: 1.5;
  color: #66716c;
}

.contact-qr {
  margin: 0 0 22px;
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
}
.contact-qr p {
  color: rgba(255,255,255,.82);
}
.contact-qr strong {
  color: #f1d79c;
}




/* Auf dem Smartphone wird der QR-Code ausgeblendet:
   Dort öffnet der WhatsApp-Button den Chat direkt. */
@media (max-width: 760px) {
  .qr-card,
  .contact-qr {
    display: none;
  }
}


/* V6: öffentliche Bildergalerien je Dienstleistung */
.service-image[data-gallery] {
  position: relative;
}
.gallery-trigger {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  min-height: 36px;
  padding: 8px 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(23,47,39,.88);
  color: #fff;
  font: inherit;
  font-size: .76rem;
  font-weight: 800;
  box-shadow: 0 8px 24px rgba(0,0,0,.18);
  backdrop-filter: blur(8px);
  cursor: pointer;
}
.gallery-trigger:hover {
  background: rgba(23,47,39,.98);
}
.gallery-trigger span {
  opacity: .78;
  margin-left: 4px;
}

.gallery-modal[hidden] { display: none; }
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) 64px;
  align-items: center;
  background: rgba(10,18,15,.94);
  padding: 28px;
  color: #fff;
}
.gallery-stage {
  width: min(100%, 1100px);
  margin: 0 auto;
  display: grid;
  justify-items: center;
  gap: 14px;
}
.gallery-main {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: min(76vh, 880px);
  object-fit: contain;
  border-radius: 16px;
  background: #101814;
  box-shadow: 0 20px 70px rgba(0,0,0,.38);
}
.gallery-stage figcaption {
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  align-items: baseline;
  text-align: center;
}
.gallery-title {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.05rem;
  font-weight: 400;
}
.gallery-counter {
  color: rgba(255,255,255,.58);
  font-size: .78rem;
}
.gallery-close {
  position: absolute;
  top: 16px;
  right: 18px;
  z-index: 3;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-nav {
  width: 50px;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.10);
  color: #fff;
  font-size: 2.4rem;
  line-height: 1;
  cursor: pointer;
}
.gallery-nav:hover,
.gallery-close:hover {
  background: rgba(255,255,255,.18);
}
.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: flex;
  gap: 7px;
}
.gallery-dots i {
  display: block;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.32);
}
.gallery-dots i.active {
  background: #e7c987;
}
body.gallery-open {
  overflow: hidden;
}

@media (max-width: 700px) {
  .gallery-modal {
    grid-template-columns: 1fr;
    padding: 58px 12px 48px;
  }
  .gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,.38);
  }
  .gallery-prev { left: 8px; }
  .gallery-next { right: 8px; }
  .gallery-main {
    max-height: 72vh;
    border-radius: 12px;
  }
  .gallery-trigger {
    right: 10px;
    bottom: 10px;
  }
}
