:root {
  --navy: #16294a;
  --blue: #3c74ac;
  --blue-mid: #7fb0da;
  --blue-pale: #a8cbe8;
  --sky: #f4f8fc;
  --blob: #e4eff9;
  --hatch-a: #d3e5f4;
  --hatch-b: #e4eff9;
  --ink: #3b434e;
  --muted: #4c5563;
  --quiet: #7c8695;
  --line: #e6edf5;
  --white: #ffffff;
  --font-sans: "Montserrat", system-ui, sans-serif;
  --font-serif: "Lora", Georgia, serif;
  --font-script: "Parisienne", cursive;
  --nav-h: 5.6rem;
  --max: 74rem;
  --radius: 4px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: var(--blue);
  text-decoration: none;
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3 {
  margin: 0 0 0.85rem;
  font-weight: 300;
  color: var(--navy);
  line-height: 1.25;
}

h1 {
  font-size: clamp(2.2rem, 4.8vw, 3.4rem);
  line-height: 1.32;
}

h2 {
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  margin: 0 0 1rem;
}

p:last-child {
  margin-bottom: 0;
}

ul {
  margin: 0;
  padding: 0 0 0 1.15rem;
}

.wrap {
  width: min(calc(100% - 2.6rem), var(--max));
  margin-inline: auto;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 0.85rem;
  color: var(--blue);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.26em;
  text-transform: uppercase;
}

.script {
  display: inline-block;
  font-family: var(--font-script);
  font-weight: 400;
  font-size: 1.15em;
  color: var(--blue);
  line-height: 1.2;
}

.lede,
.prose {
  max-width: 44rem;
}

.lede,
.prose p,
.prose li,
.theme-block li,
.card p {
  font-family: var(--font-serif);
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.8;
}

.testimonial h2 {
  margin: 0 0 0.85rem;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
  color: var(--navy);
  font-weight: 500;
}

.testimonial + .testimonial {
  margin-top: 2.5rem;
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* Header — copie 2a */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.site-header .wrap {
  position: relative;
}

.nav {
  min-height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(calc(100% - 2rem), 86rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--navy);
  flex-shrink: 0;
}

.brand img {
  width: 58px;
  height: 58px;
  object-fit: contain;
}

.brand span {
  display: flex;
  flex-direction: column;
  width: max-content;
}

.brand strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.1;
}

.brand em {
  display: block;
  width: 100%;
  margin-top: 0.22rem;
  font-style: normal;
  font-size: 0.5rem;
  font-weight: 300;
  letter-spacing: 0;
  text-transform: none;
  text-align: justify;
  text-align-last: justify;
  color: var(--navy);
  line-height: 1.2;
}

.nav-toggle {
  display: none;
  width: 2.6rem;
  height: 2.6rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.05rem;
  height: 1.5px;
  background: var(--navy);
  position: relative;
  margin: 0 auto;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.nav-panel {
  flex: 1;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: 0.15rem 0.85rem;
  list-style: none;
  padding: 0;
  margin: 0;
  white-space: nowrap;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.nav-links a {
  color: var(--navy);
}

.nav-links a[aria-current="page"],
.nav-links a:hover {
  color: var(--blue);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 2.3rem;
  padding: 0.5rem 1rem;
  border-radius: var(--radius);
  background: var(--blue);
  color: var(--white) !important;
  letter-spacing: 0.04em;
}

.nav-cta:hover {
  background: var(--navy);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.15rem;
  padding: 0.9rem 1.8rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--blue);
  color: var(--white);
}

.btn-ghost {
  background: var(--white);
  border-color: #b9cfe4;
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--navy);
  color: var(--navy);
}

.btn-light {
  background: var(--white);
  color: var(--navy);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

/* Hero — copie */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--sky);
  padding: 5.2rem 0 5.6rem;
}

.hero::before {
  content: "";
  position: absolute;
  right: -90px;
  top: -70px;
  width: 420px;
  height: 420px;
  border-radius: 999px;
  background: var(--blob);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-arch {
  height: 500px;
  border-radius: 250px 250px 12px 12px;
  overflow: hidden;
  background: var(--sky);
}

.hero-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 18%;
  display: block;
}

/* Sections */
.section {
  padding: 5.4rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.4rem;
}

.surface {
  background: var(--white);
}

.soft {
  background: var(--sky);
}

.navy {
  background: var(--navy);
  color: #e8f0f8;
}

.navy h1,
.navy h2,
.navy h3 {
  color: var(--white);
}

.navy .eyebrow {
  color: #a8cbe8;
}

.navy p,
.navy li,
.navy .note {
  color: #b7cce2;
  font-family: var(--font-serif);
}

.split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.6rem;
  align-items: center;
}

.portrait,
.logo-frame {
  min-height: 26rem;
}

.portrait {
  border-radius: 12px 12px 235px 235px;
  background:
    linear-gradient(180deg, rgba(22, 41, 74, 0.06), rgba(22, 41, 74, 0.16)),
    url("../img/portrait.jpg") center / cover no-repeat;
}

.logo-frame {
  display: grid;
  place-items: center;
  background: var(--sky);
  border-radius: 12px;
}

.logo-frame img {
  width: min(78%, 22rem);
}

.bars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.bar {
  background: var(--white);
  padding: 2rem 1.5rem;
}

.bar i {
  display: block;
  width: 38px;
  height: 5px;
  margin-bottom: 0.85rem;
  background: var(--navy);
}

.bar i.mid {
  background: var(--blue);
}

.bar i.pale {
  background: var(--blue-mid);
}

.bar h3 {
  margin-bottom: 0.4rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--line);
}

.step {
  display: grid;
  grid-template-columns: 3rem 1fr;
  gap: 1.2rem;
  padding: 1.45rem 1.6rem;
  background: var(--white);
}

.step-num {
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--blue);
}

.step p {
  font-family: var(--font-serif);
  color: var(--muted);
}

.themes-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2.5rem;
  margin-bottom: 2.6rem;
}

.themes-head .lede {
  max-width: 34ch;
  margin: 0;
  color: #b7cce2;
  font-family: var(--font-serif);
  font-size: 1rem;
  line-height: 1.7;
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.theme-card {
  background: var(--navy);
  padding: 2rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  color: inherit;
}

a.theme-card:hover {
  background: #1c355c;
}

a.theme-card:hover h3 {
  color: var(--white);
}

.theme-card h3 {
  color: var(--white);
  font-weight: 500;
  font-size: 1.3rem;
  margin: 0;
}

.theme-card p {
  margin: 0;
  color: #b7cce2;
  font-family: var(--font-serif);
  font-size: 0.95rem;
  line-height: 1.7;
}

.dot {
  display: block;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  background: var(--blue);
}

.dot.mid {
  background: var(--blue-mid);
}

.dot.pale {
  background: var(--blue-pale);
}

.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.compare article {
  padding: 1.7rem;
  background: var(--white);
}

.compare article:last-child {
  background: var(--navy);
  color: #e8f0f8;
}

.compare article:last-child h3 {
  color: var(--white);
}

.compare article:last-child p {
  color: #b7cce2;
  font-family: var(--font-serif);
}

.theme-block + .theme-block {
  margin-top: 3.2rem;
  padding-top: 2.4rem;
  border-top: 1px solid var(--line);
}

.theme-block h3 {
  margin: 1.3rem 0 0.45rem;
}

.ethics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
}

.card {
  background: var(--white);
  padding: 1.5rem 1.4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.contact-copy {
  padding: 4.5rem 8%;
  background: var(--sky);
}

.contact-copy h1 {
  margin-bottom: 0.15rem;
}

.contact-role {
  margin: 0 0 1rem;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  font-weight: 300;
  color: var(--navy);
  line-height: 1.32;
}

.form {
  position: relative;
  padding: 4.5rem 8%;
  background: var(--navy);
  color: #e8f0f8;
}

.form label {
  display: block;
  margin: 1rem 0 0.4rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue-pale);
}

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font: inherit;
  padding: 0.8rem 0.7rem;
  border-radius: var(--radius);
}

.form textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.form button {
  margin-top: 1.4rem;
  cursor: pointer;
}

.form-feedback {
  margin-top: 1rem;
  font-family: var(--font-serif);
}

.form-feedback.is-success {
  color: #b7e0c4;
}

.form-feedback.is-error {
  color: #f0b4b4;
}

.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.map {
  width: 100%;
  height: 16rem;
  border: 0;
}

.cabinet-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 1.5rem;
}

.logo-oasis {
  display: block;
  width: min(70%, 16rem);
  height: auto;
}

.cabinet-aside .map {
  width: 100%;
}

.page-hero {
  padding: 1.15rem 0 1rem;
  background: var(--sky);
}

.page-hero h1 {
  margin-bottom: 0;
}

.page-hero .eyebrow {
  margin-bottom: 0.35rem;
}

.detail-visual {
  min-height: 22rem;
  border-radius: 12px 12px 180px 12px;
  background-size: cover;
  background-position: center;
}

.detail-visual.confiance { background-image: url("../img/theme-confiance.jpg"); }
.detail-visual.emotions { background-image: url("../img/theme-emotions.jpg"); }
.detail-visual.relations { background-image: url("../img/theme-relations.jpg"); }
.detail-visual.parentalite { background-image: url("../img/theme-parentalite.jpg"); background-position: center 35%; }
.detail-visual.scolarite { background-image: url("../img/theme-scolarite.jpg"); }
.detail-visual.ados { background-image: url("../img/theme-ados.jpg"); }

.detail-list {
  margin: 1.4rem 0 0;
  padding-left: 1.15rem;
}

.detail-list + h3 {
  margin-top: 2rem;
}

.detail-list li {
  font-family: var(--font-serif);
  color: var(--muted);
  margin-bottom: 0.45rem;
}

.back-link {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.empty {
  max-width: 36rem;
  padding-bottom: 4rem;
}

.note {
  margin-top: 2rem;
}

.rates-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem 4rem;
  align-items: start;
}

.rates-grid h2 {
  margin-bottom: 1rem;
}

.schedule-list,
.fee-list {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  border-top: 1px solid var(--line);
}

.schedule-list li,
.fee-list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--line);
}

.schedule-list span,
.fee-list p {
  color: var(--muted);
  font-family: var(--font-serif);
}

.schedule-list strong,
.fee-list strong {
  flex-shrink: 0;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--navy);
}

.fee-list h3 {
  margin: 0 0 0.2rem;
  font-size: 1.05rem;
}

.fee-list p {
  margin: 0;
  font-size: 0.95rem;
}

.fee-note {
  margin-top: 1.4rem;
  color: var(--quiet);
  font-size: 0.92rem;
  font-family: var(--font-serif);
}

.fees-copy .fees-label {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.fee-highlight {
  text-align: center;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--navy);
  margin: 0.4rem 0 1.2rem;
}

/* Booking calendar */
.cal-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cal-legend {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.legend-item i {
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 2px;
  display: inline-block;
}

.legend-item i.is-available,
.cal-slot.is-available {
  background: #e8f3ec;
}

.legend-item i.is-reserved,
.cal-slot.is-reserved,
.legend-item i.is-named,
.cal-slot.is-named {
  background: #dfeaf8;
}

.legend-item i.is-pending,
.cal-slot.is-pending {
  background: #f4b4b4;
  animation: pending-blink 1.1s ease-in-out infinite;
}

@keyframes pending-blink {
  0%,
  100% {
    background: #f4b4b4;
    box-shadow: 0 0 0 0 rgba(180, 40, 40, 0.35);
  }
  50% {
    background: #e06767;
    box-shadow: 0 0 0 3px rgba(180, 40, 40, 0.18);
  }
}

.legend-item i.is-blocked,
.cal-slot.is-blocked {
  background: #e4e4e4;
}

.legend-item i.is-vacation,
.cal-slot.is-vacation {
  background: #f7e2c8;
}

.legend-item i.is-office,
.cal-slot.is-office {
  background: #d7ebea;
}

.cal-slot.is-unavailable {
  background: #ececec;
}

.cal-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.cal-nav .week-current {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
  white-space: nowrap;
}

.week-scroller {
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.6rem;
  scrollbar-width: thin;
}

.week-track {
  display: flex;
  gap: 1.5rem;
  width: max-content;
}

.cal-week {
  scroll-snap-align: start;
  width: min(74rem, calc(100vw - 2.6rem));
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.2rem 1.1rem 1.4rem;
}

.cal-week-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.cal-week-head h2 {
  margin-bottom: 0;
  font-size: clamp(1.2rem, 2.4vw, 1.6rem);
}

.cal-week-title .eyebrow {
  margin-bottom: 0.25rem;
}

.booking-page .page-hero {
  padding: 0.55rem 0 0.45rem;
}

.booking-page .page-hero .lede {
  margin-top: 0.55rem;
  margin-bottom: 0;
  font-size: 0.98rem;
}

.booking-page .booking-calendar.section {
  padding: 1.1rem 0 2.4rem;
}

.cal-days {
  display: grid;
  grid-template-columns: repeat(var(--cal-cols, 5), minmax(7.5rem, 1fr));
  gap: 0.55rem;
}

.cal-day-head {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  margin-bottom: 0.55rem;
  min-height: 2.6rem;
}

.cal-day-head strong {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.cal-day-head span {
  font-size: 0.82rem;
  color: var(--quiet);
}

.cal-slots {
  display: grid;
  gap: 0.35rem;
}

.cal-slot {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.1rem;
  width: 100%;
  min-height: 2.6rem;
  padding: 0.4rem 0.5rem;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font: inherit;
  text-align: left;
  color: var(--navy);
}

.cal-slot span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.cal-slot em,
.cal-slot small {
  font-style: normal;
  font-size: 0.72rem;
  color: var(--muted);
  line-height: 1.25;
}

.cal-slot small {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-slot.is-empty {
  min-height: 2.6rem;
  background: transparent;
  border: 0;
}

.cal-slot.is-available {
  border-color: #c9e2d2;
  cursor: pointer;
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.cal-slot.is-available:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.cal-slot.is-available.is-admin {
  cursor: pointer;
}

.cal-slot.is-available.is-admin:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}

.cal-slot.is-blocked.is-admin,
.cal-slot.is-named.is-admin,
.cal-slot.is-vacation.is-admin,
.cal-slot.is-office.is-admin,
.cal-slot.is-reserved.is-admin,
.cal-slot.is-pending.is-admin {
  cursor: pointer;
}

.cal-slot.is-reserved,
.cal-slot.is-named {
  border-color: #c5d7ee;
  cursor: default;
}

.cal-slot.is-pending {
  border-color: #c74a4a;
  color: #6f1717;
  cursor: default;
}

.cal-slot.is-unavailable {
  border-color: #dedede;
  color: #8a8a8a;
  cursor: default;
}

.cal-slot.is-blocked {
  border-color: #d0d0d0;
  color: var(--quiet);
}

.cal-slot.is-vacation {
  border-color: #e8c9a0;
}

.cal-slot.is-office {
  border-color: #b7d5d3;
}

.cal-slot.is-holiday,
.legend-item i.is-holiday {
  background: #f7f0e8;
  border-color: #ead9c6;
  color: var(--muted);
  cursor: default;
}

.cal-slots.is-holiday-day {
  display: flex;
  min-height: calc((2.55rem * 10) + (0.35rem * 9));
}

.cal-slot.is-holiday-full {
  flex: 1;
  width: 100%;
  min-height: 100%;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem 0.55rem;
}

.cal-slot.is-holiday-full span {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.cal-slot.is-holiday-full em {
  white-space: normal;
  font-size: 0.92rem;
}

.cal-day.is-holiday .cal-day-head strong,
.is-holiday-label {
  color: #9a6b3b;
}

.is-holiday-label {
  font-size: 0.72rem;
  line-height: 1.3;
}

.modal-open {
  overflow: hidden;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 1.2rem;
  background: rgba(22, 41, 74, 0.45);
}

.modal[hidden] {
  display: none !important;
}

.modal-card {
  position: relative;
  width: min(100%, 28rem);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 1.8rem 1.6rem 1.6rem;
}

.modal-close {
  position: absolute;
  top: 0.7rem;
  right: 0.8rem;
  border: 0;
  background: transparent;
  color: var(--quiet);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.booking-slot {
  margin: 0 0 1.2rem;
  font-family: var(--font-serif);
  color: var(--blue);
}

.booking-form {
  position: relative;
}

.booking-form label {
  display: block;
  margin: 0.85rem 0 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--quiet);
}

.booking-form input,
.block-form input,
.block-form select {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--sky);
  color: var(--navy);
  font: inherit;
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius);
}

.booking-actions {
  display: flex;
  justify-content: flex-end;
  gap: 0.7rem;
  margin-top: 1.3rem;
  flex-wrap: wrap;
}

.booking-feedback {
  margin-top: 1rem;
  font-family: var(--font-serif);
}

.booking-feedback.is-success {
  color: #2f6b45;
}

.booking-feedback.is-error {
  color: #9a3b3b;
}

.booking-alert {
  color: #9a3b3b;
  font-family: var(--font-serif);
}

.admin-login-wrap {
  display: grid;
  place-items: center;
  min-height: 40vh;
}

.working-days-form {
  margin-top: 1rem;
}

.working-days-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(8rem, 1fr));
  gap: 0.65rem 1rem;
  margin: 1rem 0 1.2rem;
}

.working-days-grid label {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.95rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--ink);
  font-weight: 400;
}

.admin-slot-card {
  width: min(100%, 26rem);
}

.admin-status-choices {
  display: grid;
  gap: 0.55rem;
  margin: 1rem 0 1.2rem;
}

.status-choice {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  text-align: left;
  font: inherit;
  font-size: 0.92rem;
  cursor: pointer;
  color: var(--ink);
}

.status-choice.is-blocked {
  background: #e4e4e4;
}

.status-choice.is-vacation {
  background: #f7e2c8;
}

.status-choice.is-office {
  background: #d7ebea;
}

.status-choice.is-named {
  background: #dfeaf8;
}

.admin-named-form label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}

.admin-named-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.5rem;
}

.admin-named-row input {
  width: 100%;
}

.admin-decision-actions {
  display: grid;
  gap: 0.65rem;
  margin-top: 1.4rem;
}

.admin-decision-actions .is-decline {
  color: #9a3b3b;
  border-color: #e2b7b7;
}

.is-named-text {
  color: #3d5f8a;
}

.is-blocked-text {
  color: #666;
}

.is-vacation-text {
  color: #9a6230;
}

.is-office-text {
  color: #2f6b68;
}

.admin-block-panel {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2.5rem;
  margin-top: 2.8rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.block-grid {
  display: grid;
  grid-template-columns: 1fr 0.7fr 1fr 0.7fr;
  gap: 0.8rem;
  margin: 1rem 0;
}

.block-form label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--quiet);
  margin-bottom: 0.8rem;
}

.blocks-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.blocks-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}

.blocks-list strong {
  display: block;
  color: var(--navy);
}

.blocks-list span {
  font-family: var(--font-serif);
  color: var(--muted);
  font-size: 0.92rem;
}

/* Footer */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid var(--line);
  color: var(--quiet);
  font-size: 0.88rem;
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}

.site-footer strong {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
}

.site-footer nav {
  display: flex;
  gap: 1.4rem;
}

.site-footer a {
  color: var(--quiet);
}

@media (max-width: 1100px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav-panel {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 1.3rem 1.3rem;
  }

  .nav-panel.is-open {
    display: block;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.85rem;
  }
}

@media (max-width: 900px) {
  .hero-grid,
  .split,
  .compare,
  .theme-grid,
  .ethics,
  .contact-grid,
  .rates-grid,
  .admin-block-panel,
  .footer-row,
  .bars,
  .themes-head {
    grid-template-columns: 1fr;
  }

  .cal-days {
    grid-template-columns: repeat(var(--cal-cols, 5), minmax(6.5rem, 1fr));
  }

  .block-grid {
    grid-template-columns: 1fr 1fr;
  }

  .themes-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-arch,
  .portrait,
  .logo-frame {
    min-height: 18rem;
    height: 18rem;
  }

  .hero::before {
    width: 260px;
    height: 260px;
  }

  .actions .btn,
  .footer-row {
    width: 100%;
  }

  .footer-row {
    flex-direction: column;
    align-items: flex-start;
  }
}

html.needs-gate,
html.needs-gate body {
  background: var(--sky);
}

html.needs-gate body > *:not(#site-gate) {
  display: none !important;
}

#site-gate {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  background: var(--sky);
}

.gate-card {
  width: min(100%, 22rem);
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  padding: 2.2rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
}

.gate-card img {
  width: 52px;
  height: 52px;
}

.gate-card strong {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--navy);
}

.gate-card p {
  font-family: var(--font-serif);
  color: var(--muted);
  font-size: 0.95rem;
}

.gate-card label {
  margin-top: 0.6rem;
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}

.gate-card input {
  width: 100%;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font: inherit;
  padding: 0.75rem 0.8rem;
  border-radius: var(--radius);
}

.gate-error {
  color: #9a3b3b !important;
  font-size: 0.88rem !important;
}
