:root {
  --ink: #f6f1ea;
  --muted: rgba(246, 241, 234, 0.82);
  --deep: #091433;
  --blue: #12306f;
  --paper: #fbf7f2;
  --paper-ink: #1c2438;
  --pink: #f0b4d0;
  --rose: #e07aaa;
  --gold: #f0c48a;
  --line: rgba(255, 255, 255, 0.16);
  --serif: "Fraunces", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --header: 78px;
  --water: 20%;
}

*,
*::before,
*::after { box-sizing: border-box; }

[hidden] { display: none !important; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #0c1c4e;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 1.0625rem;
  font-weight: 400;
  line-height: 1.65;
}

body.modal-open { overflow: hidden; }

img { max-width: 100%; }

a { color: var(--pink); }

::selection {
  background: #e7a0c4;
  color: #1a1230;
}

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 40;
  background: white;
  color: var(--paper-ink);
  padding: 0.6rem 1rem;
  border-radius: 999px;
}

.skip:focus { top: 1rem; }

h1, h2, h3, .signature {
  font-family: var(--serif);
  font-weight: 460;
  letter-spacing: -0.03em;
}

h1 {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 1.02;
  margin: 0.35rem 0 1rem;
}

h2 {
  font-size: clamp(2.1rem, 4vw, 3.45rem);
  line-height: 1.12;
  margin: 0.3rem 0 0.9rem;
}

h3 { margin: 0 0 0.4rem; font-size: 1.55rem; line-height: 1.2; }

p { margin: 0 0 1rem; }

.eyebrow {
  margin: 0;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--gold);
}

.wrap {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
}

.center { text-align: center; }

.center .intro { margin-inline: auto; }

.intro {
  max-width: 40rem;
  color: var(--muted);
}

.section { padding: 5.5rem 0; }

main {
  background:
    radial-gradient(ellipse 85% 24% at 50% 38%, rgba(229, 154, 184, 0.22), transparent 68%),
    radial-gradient(ellipse 55% 16% at 18% 62%, rgba(232, 150, 186, 0.14), transparent 70%),
    radial-gradient(ellipse 60% 18% at 82% 58%, rgba(240, 196, 150, 0.14), transparent 70%),
    radial-gradient(ellipse 70% 20% at 12% 78%, rgba(190, 140, 190, 0.14), transparent 72%),
    linear-gradient(180deg, #0c1c4e 0%, #0c1c4e 24%, #152850 38%, #1e305f 48%, #2a3a78 58%, #5a487f 68%, #3d456f 78%, #1e305f 88%, #121c48 100%);
}

section[id] { scroll-margin-top: var(--header); }

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 30;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(8, 18, 46, 0.42);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header.is-scrolled { background: #07122e; }

.header-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: inherit;
  text-decoration: none;
  font-weight: 500;
}

.logo img { width: 38px; height: 38px; }

.logo em {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 460;
  color: #f3c2da;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: inherit;
  text-decoration: none;
  font-size: 0.96rem;
  opacity: 0.9;
}

.nav a:hover { opacity: 1; }

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  color: inherit;
  padding: 0;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--ink);
}

.hero {
  --water: 20%;
  position: relative;
  isolation: isolate;
  min-height: 100svh;
  display: flex;
  align-items: flex-start;
  overflow: hidden;
  padding: 22vh 0 18vh;
}

.hero-sky,
.hero-water,
.horizon-line { position: absolute; left: 0; right: 0; pointer-events: none; }

.hero-sky {
  inset: 0;
  background:
    radial-gradient(ellipse 80% 32% at 50% 74%, rgba(246, 210, 160, 0.42), transparent 68%),
    radial-gradient(ellipse 50% 24% at 50% 78%, rgba(229, 154, 184, 0.28), transparent 70%),
    linear-gradient(180deg, #07122e 0%, #14357c 20%, #3d5ec4 40%, #8a78c8 56%, #e59ab8 68%, #f0c48a 76%, #e7b0c8 82%, #4a5a98 88%, #152850 93%, #0c1c4e 97%, #0c1c4e 100%);
  z-index: 0;
}

.hero-water,
.horizon-line { display: none; }

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 72%, #0c1c4e 100%),
    radial-gradient(ellipse at 50% 38%, transparent 28%, rgba(5, 12, 36, 0.28) 100%);
  z-index: 1;
  pointer-events: none;
}

.bloom-wrap {
  position: absolute;
  z-index: 3;
  pointer-events: none;
  border-radius: 50%;
  overflow: hidden;
  aspect-ratio: 1;
  -webkit-mask-image: radial-gradient(circle at 50% 45%, #000 42%, transparent 72%);
  mask-image: radial-gradient(circle at 50% 45%, #000 42%, transparent 72%);
  filter: drop-shadow(0 10px 28px rgba(4, 24, 48, 0.35));
}

.bloom-wrap img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  filter: sepia(0.1) saturate(3) hue-rotate(-30deg) brightness(1) contrast(1);
}

.bloom-wrap.left {
  left: -2vw;
  bottom: calc(var(--water) - 6%);
  width: min(38vw, 420px);
  animation: floaty 9s ease-in-out infinite;
}

.bloom-wrap.right {
  right: -1vw;
  bottom: calc(var(--water) - 4%);
  width: min(32vw, 360px);
  animation: floaty-right 11s ease-in-out infinite;
}

.bloom-wrap.tiny {
  width: min(12vw, 110px);
  top: 16%;
  right: 12%;
  bottom: auto;
  opacity: 0.88;
  animation: floaty-tiny 8s ease-in-out infinite;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floaty-right {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

@keyframes floaty-tiny {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-copy {
  position: relative;
  z-index: 4;
  text-align: center;
}

.hero h1 em {
  font-style: italic;
  font-weight: 460;
  color: #ffe3c8;
}

.lead {
  max-width: 36rem;
  margin: 0 auto 0.4rem;
  font-size: 1.15rem;
  font-weight: 300;
  color: rgba(247, 241, 234, 0.92);
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.35rem;
}

.hero-meta {
  margin: 0.2rem 0 0;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(255, 236, 214, 0.9);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 999px;
  padding: 0.85rem 1.35rem;
  border: 1px solid transparent;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn:hover { transform: translateY(-2px); }

.btn-light { background: var(--paper); color: #172448; }
.btn-light:hover { background: #fff; }

.btn-ghost {
  border-color: rgba(247, 241, 234, 0.5);
  color: var(--ink);
}

.btn-ghost:hover { background: rgba(255, 255, 255, 0.08); }

.btn-primary { background: #1a3e8a; color: var(--ink); }
.btn-primary:hover { background: #2453b0; }

.btn-back {
  border-color: rgba(26, 35, 64, 0.2);
  color: var(--paper-ink);
}

.about {
  background: transparent;
  margin-top: -3.5rem;
  padding-top: 7.5rem;
  position: relative;
  z-index: 2;
}

.services,
.schedule,
.contact { background: transparent; }

.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 4rem;
  align-items: center;
}

.signature {
  font-style: italic;
  font-size: 1.9rem;
  color: #f3c2da;
  margin: 0.4rem 0 0;
}

.portrait { margin: 0; }

.portrait-frame {
  position: relative;
  aspect-ratio: 4 / 5;
  border-radius: 36px 36px 130px 36px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 40%, rgba(255, 255, 255, 0.16), transparent 48%),
    linear-gradient(180deg, #3158aa, #1a3274 58%, #4a2d58);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.28);
}

.portrait-fallback {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 1.5rem;
}

.portrait-fallback img { width: min(74%, 280px); }

.portrait-fallback span {
  font-family: var(--serif);
  font-size: 2.4rem;
  font-style: italic;
}

.portrait-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.portrait figcaption {
  margin-top: 0.85rem;
  text-align: center;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  font-size: 0.75rem;
  color: rgba(247, 241, 234, 0.7);
}

.services { background: transparent; }

.cards, .lanes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
  margin-top: 2.2rem;
}

.card, .lane {
  position: relative;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.05));
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 1.45rem 1.35rem 1.35rem;
  box-shadow: 0 18px 50px rgba(4, 10, 30, 0.16);
  backdrop-filter: blur(8px);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.card-type-egyeni {
  background-image:
    linear-gradient(165deg, rgba(11, 74, 86, 0.88), rgba(9, 28, 58, 0.92)),
    url("../images/slot-egyeni.jpg");
  border-color: rgba(255, 255, 255, 0.18);
}

.card-type-csoportos {
  background-image:
    linear-gradient(165deg, rgba(11, 74, 86, 0.88), rgba(9, 28, 58, 0.92)),
    url("../images/slot-csoportos.jpg");
  border-color: rgba(255, 255, 255, 0.18);
}

.card-type-online {
  background-image:
    linear-gradient(165deg, rgba(11, 74, 86, 0.88), rgba(9, 28, 58, 0.92)),
    url("../images/slot-online.jpg");
  border-color: rgba(255, 255, 255, 0.18);
}

.card-type-egyeni .btn-light,
.card-type-csoportos .btn-light,
.card-type-online .btn-light {
  background: #fff;
  color: #12306f;
}

.card, .lane { display: flex; flex-direction: column; min-height: 100%; }

.card .btn, .lane .btn { margin-top: auto; align-self: flex-start; }

.icon-bubble {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
  background: rgba(243, 182, 212, 0.16);
  color: #ffd6ea;
}

.card > p, .lane > p { color: var(--muted); }
.card > p:not(.tag), .lane > p:not(.tag) { flex: 1; }

.ribbon {
  height: 180px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(ellipse 62% 90% at 50% 55%, rgba(240, 196, 150, 0.42), rgba(229, 154, 184, 0.22) 42%, transparent 74%);
}

.ribbon img {
  position: absolute;
  bottom: 8px;
  width: 130px;
}

.ribbon img:first-child { left: 7%; }
.ribbon img:last-child { right: 9%; width: 86px; bottom: 18px; }

.schedule { background: transparent; }

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.6rem;
}

.chip {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: transparent;
  color: inherit;
  font: inherit;
  padding: 0.45rem 0.95rem;
  cursor: pointer;
}

.chip.is-on {
  background: var(--pink);
  color: #341425;
  border-color: transparent;
}

.slots {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.slot {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  padding: 1.15rem 1.15rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  color: #fff;
  background-color: #0b4a56;
  background-size: cover;
  background-position: center;
  box-shadow: 0 12px 28px rgba(5, 16, 40, 0.28);
}

.slot-type-egyeni {
  background-image:
    linear-gradient(155deg, rgba(11, 74, 86, 0.86), rgba(9, 28, 58, 0.9)),
    url("../images/slot-egyeni.jpg");
}

.slot-type-csoportos {
  background-image:
    linear-gradient(155deg, rgba(11, 74, 86, 0.86), rgba(9, 28, 58, 0.9)),
    url("../images/slot-csoportos.jpg");
}

.slot-type-online {
  background-image:
    linear-gradient(155deg, rgba(11, 74, 86, 0.86), rgba(9, 28, 58, 0.9)),
    url("../images/slot-online.jpg");
}

.slot.is-full {
  opacity: 0.78;
  filter: grayscale(0.15);
}

.slot h3 {
  font-size: 1.25rem;
  margin-top: 0.35rem;
}

.slot-time {
  font-family: var(--serif);
  font-size: 2rem;
  margin: 0;
}

.tag {
  width: fit-content;
  margin: 0 0 0.7rem;
  border-radius: 999px;
  padding: 0.18rem 0.7rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

.tag-egyeni { background: rgba(240, 168, 203, 0.2); color: #ffd0e4; }
.tag-csoportos { background: rgba(240, 194, 122, 0.2); color: #ffe1b0; }
.tag-online { background: rgba(160, 190, 255, 0.2); color: #d5e2ff; }

.slot .btn { margin-top: auto; align-self: flex-start; }

.empty-note {
  text-align: center;
  color: var(--muted);
  margin: 1.4rem auto 0;
  max-width: 36rem;
}

.contact { background: transparent; }

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3rem;
  align-items: start;
}

address {
  font-style: normal;
  display: grid;
  gap: 0.55rem;
  margin-top: 1.4rem;
}

address a { color: #f3c2da; text-decoration: none; }
address a:hover { text-decoration: underline; }

.paper, .sheet {
  background: var(--paper);
  color: var(--paper-ink);
  border-radius: 28px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.paper { padding: 1.45rem; position: relative; }

.paper .eyebrow, .sheet .eyebrow { color: #b14e7c; }

.fields { display: grid; gap: 0.85rem; }

.fields label, .check {
  display: grid;
  gap: 0.35rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.fields input, .fields textarea {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(26, 35, 64, 0.16);
  background: #fff;
  color: var(--paper-ink);
  padding: 0.8rem 0.9rem;
  font: inherit;
}

.fields textarea { min-height: 130px; resize: vertical; }

.fields input::placeholder,
.fields textarea::placeholder {
  color: #8b93a7;
}

.check {
  grid-template-columns: auto 1fr;
  align-items: start;
  gap: 0.6rem;
  font-weight: 400;
  margin: 1rem 0;
}

.form-error {
  color: #9d2d4a;
  margin: 0.2rem 0 0.7rem;
  font-size: 0.92rem;
}

.success-note h3 {
  font-size: 2rem;
  color: #172454;
  margin-bottom: 0.45rem;
}

.site-footer {
  background: linear-gradient(180deg, transparent, #091433 70%);
  padding: 2.2rem 0 2.4rem;
  border-top: 0;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  align-items: end;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-weight: 500;
}

.footer-brand img { width: 34px; height: 34px; }

.footer-links {
  display: flex;
  gap: 0.85rem 1.1rem;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 36rem;
}

.footer-links a { color: var(--ink); text-decoration: none; }
.footer-links a:hover { color: var(--pink); }

.fine {
  margin: 1rem 0 0;
  color: rgba(246, 241, 234, 0.68);
  font-size: 0.92rem;
  max-width: 46rem;
}

.copyright {
  margin: 0.55rem 0 0;
  color: rgba(246, 241, 234, 0.55);
  font-size: 0.85rem;
}

.slot-full,
.slot-badge {
  color: #ffb3c9;
  font-weight: 500;
}

.slot-places,
.slot-location,
.slot-duration {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.slot .btn-light {
  background: #fff;
  color: #12306f;
}

.slot-pick.is-full {
  opacity: 0.55;
  cursor: not-allowed;
}

.admin-wrap h2 {
  margin-top: 1.6rem;
}

.admin-tabs {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin: 1.2rem 0 0.4rem;
}

.admin-form {
  margin-top: 1rem;
}

.admin-form select {
  width: 100%;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(23, 36, 84, 0.18);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  color: #172454;
}

.field-hint {
  display: block;
  margin-top: 0.35rem;
  color: #5a6478;
  font-size: 0.85rem;
  font-weight: 400;
}

.page-text {
  background: linear-gradient(180deg, #16357a 0%, #7a6ec4 16%, #e09ab8 26%, #f3b07a 34%, #8a7eb8 46%, #243e78 62%, #0b1a40 100%);
  min-height: 100vh;
}

.legal-wrap {
  width: min(800px, calc(100% - 1.5rem));
  margin: 7.2rem auto 3.5rem;
  padding: 2.4rem 2.2rem 5rem;
  position: relative;
}

.legal h1 { font-size: clamp(2.3rem, 5vw, 3.6rem); color: #172454; }
.legal h2 { font-size: 1.65rem; color: #172454; margin-top: 2rem; }
.legal p, .legal li { color: #2c354c; }
.legal a { color: #9d3e6c; }
.legal ul { padding-left: 1.15rem; }
.legal .back { color: #9d3e6c; text-decoration: none; font-size: 0.95rem; }
.legal .back:hover { text-decoration: underline; }

.corner-flower {
  position: absolute;
  width: 120px;
  right: -24px;
  bottom: -28px;
  opacity: 0.9;
  pointer-events: none;
}

#foglalas {
  width: min(640px, calc(100vw - 1.5rem));
  max-height: 92vh;
  border: none;
  padding: 0;
  background: transparent;
  color: var(--paper-ink);
}

#foglalas::backdrop {
  background: rgba(5, 10, 28, 0.68);
  backdrop-filter: blur(8px);
}

.modal-sheet {
  position: relative;
  max-height: 90vh;
  overflow: auto;
  padding: 1.45rem 1.4rem 1.2rem;
}

.modal-top { position: relative; padding-right: 3rem; }

.icon-x {
  position: absolute;
  top: 0;
  right: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(26, 35, 64, 0.14);
  background: #fff;
  color: var(--paper-ink);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.dots { display: flex; gap: 0.4rem; margin: 0.85rem 0 0.35rem; }

.dots span {
  width: 2.1rem;
  height: 4px;
  border-radius: 99px;
  background: rgba(26, 35, 64, 0.14);
}

.dots span.is-done { background: #1a3e8a; }
.dots span.is-on { background: var(--rose); }

.modal-lead { color: #4c5670; margin-top: 0.35rem; }

.choice {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  border: 1px solid rgba(26, 35, 64, 0.12);
  border-radius: 18px;
  padding: 0.9rem 1rem;
  margin-bottom: 0.65rem;
  cursor: pointer;
  background: #fff;
}

.choice:has(input:checked) {
  border-color: var(--rose);
  box-shadow: 0 0 0 3px rgba(224, 122, 170, 0.2);
  background: #fff7fb;
}

.choice strong, .choice small { display: block; }
.choice small { color: #556178; font-size: 0.92rem; font-weight: 400; }
.choice input { width: 1.05rem; height: 1.05rem; accent-color: #c45388; flex: none; }

.slot-pick, .text-btn {
  width: 100%;
  text-align: left;
  border-radius: 16px;
  border: 1px solid rgba(26, 35, 64, 0.12);
  background: #fff;
  padding: 0.8rem 1rem;
  margin-bottom: 0.55rem;
  cursor: pointer;
  color: inherit;
  font: inherit;
}

.slot-pick.is-on {
  border-color: #1a3e8a;
  box-shadow: 0 0 0 3px rgba(26, 62, 138, 0.15);
}

.slot-pick strong { display: block; }

.text-btn {
  background: transparent;
  border-style: dashed;
  text-align: center;
  color: #1a3e8a;
}

.pills { display: flex; flex-wrap: wrap; gap: 0.5rem; }

.pills label { position: relative; }

.pills input {
  position: absolute;
  opacity: 0;
  inset: 0;
}

.pills span {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(26, 35, 64, 0.16);
  padding: 0.55rem 0.95rem;
  background: #fff;
}

.pills input:checked + span {
  background: #f6d0e4;
  border-color: var(--rose);
  color: #3a1830;
}

.pills input:focus-visible + span {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.summary { display: grid; gap: 0.65rem; margin: 0.4rem 0 0; }
.summary div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(26, 35, 64, 0.08);
}
.summary dt { color: #667084; font-size: 0.92rem; }
.summary dd { margin: 0; text-align: right; font-weight: 550; }

.invoice {
  display: grid;
  gap: 0.25rem;
  background: linear-gradient(180deg, #fff, #f8eef4);
  border: 1px solid rgba(224, 122, 170, 0.45);
  border-left: 4px solid var(--rose);
  border-radius: 18px;
  padding: 0.95rem 1rem;
  margin-top: 1rem;
}

.invoice strong {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 460;
  color: #1c2f66;
}

.invoice p { margin: 0; color: #3a4258; font-size: 0.95rem; }

.thanks {
  text-align: center;
  padding: 0.5rem 0.4rem 0.8rem;
}

.thanks img { width: 96px; height: 96px; }
#thanks-copy { white-space: pre-line; text-align: left; }

.modal-actions {
  display: flex;
  justify-content: space-between;
  gap: 0.7rem;
  margin-top: 1.1rem;
}

.modal-actions .btn-primary { margin-left: auto; }

.noscript {
  margin: 0;
  padding: 0.8rem 1rem;
  background: #3a2a1a;
  color: #fff4e4;
  text-align: center;
}

@media (max-width: 900px) {
  .about-grid, .contact-grid, .cards, .lanes { grid-template-columns: 1fr; }
  .about-grid { gap: 2rem; }
  .portrait { max-width: 420px; }
}

@media (max-width: 820px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 2;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.4rem 1.25rem 1rem;
    background: #07122e;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav.is-open { display: flex; }
  .nav a { padding: 0.7rem 0; }
  .hero { --water: 18%; padding-top: 16vh; }
  .bloom-wrap.left { width: 200px; left: -48px; }
  .bloom-wrap.right { width: 170px; right: -42px; }
  .bloom-wrap.tiny { display: none; }
  .legal-wrap { padding: 1.5rem 1.15rem 1.8rem; }
  .summary div { flex-direction: column; gap: 0.1rem; }
  .summary dd { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation: none !important;
    transition: none !important;
  }
}
