:root {
  --ink: #10263d;
  --muted: #5d6b78;
  --line: #d9e3eb;
  --paper: #ffffff;
  --soft: #f4f8fb;
  --blue: #1fa4dc;
  --orange: #f37a3f;
  --green: #2f7d62;
  --shadow: 0 18px 50px rgba(16, 38, 61, 0.14);
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--paper);
  line-height: 1.55;
}

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

a {
  color: inherit;
  text-decoration: none;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  z-index: 20;
  background: var(--ink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 6px;
}

.skip-link:focus {
  left: 8px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(217, 227, 235, 0.85);
  backdrop-filter: blur(14px);
}

.nav {
  width: min(var(--max), calc(100% - 32px));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 210px;
}

.brand img {
  width: 178px;
  height: auto;
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle::before,
.nav-toggle::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
  border-radius: 2px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
}

.nav-links a {
  padding: 9px 12px;
  border-radius: 8px;
  color: #2e4257;
  font-weight: 650;
  font-size: 0.94rem;
}

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

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 16px;
  border: 0;
  border-radius: 8px;
  background: var(--orange);
  color: #fff;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(243, 122, 63, 0.24);
}

.button.secondary {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: none;
}

.button.light {
  background: #fff;
  color: var(--ink);
  box-shadow: none;
}

.button.blue {
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(31, 164, 220, 0.23);
}

.hero {
  position: relative;
  min-height: 74vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: #fff;
  background: #0f2238;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(8, 21, 35, 0.84) 0%, rgba(8, 21, 35, 0.54) 46%, rgba(8, 21, 35, 0.14) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  padding: 92px 0 78px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--orange);
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 0.82rem;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.05;
  letter-spacing: 0;
}

h1 {
  max-width: 760px;
  font-size: clamp(2.35rem, 6vw, 5.4rem);
}

.hero p {
  max-width: 650px;
  margin: 22px 0 0;
  font-size: clamp(1.05rem, 2vw, 1.28rem);
  color: rgba(255, 255, 255, 0.9);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.proof-pill {
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.94);
  font-weight: 700;
  font-size: 0.9rem;
}

.section {
  padding: 82px 0;
}

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

.section.dark {
  background: var(--ink);
  color: #fff;
}

.wrap {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.section-head {
  max-width: 760px;
  margin-bottom: 32px;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2,
.page-title h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
}

.section-head p,
.page-title p,
.lead {
  color: var(--muted);
  font-size: 1.05rem;
}

.dark .section-head p,
.dark .lead {
  color: rgba(255, 255, 255, 0.78);
}

.grid {
  display: grid;
  gap: 20px;
}

.grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.grid.two {
  grid-template-columns: repeat(2, 1fr);
}

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
}

.card.pad {
  padding: 24px;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.28rem;
}

.card p {
  margin: 0;
  color: var(--muted);
}

.card-image {
  aspect-ratio: 4 / 3;
  width: 100%;
  object-fit: cover;
}

.service-card {
  display: grid;
  grid-template-rows: auto 1fr;
  min-height: 100%;
}

.service-card .body {
  padding: 22px;
}

.list {
  display: grid;
  gap: 10px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.list li {
  position: relative;
  padding-left: 22px;
  color: #2e4257;
}

.list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.64em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.stat {
  padding: 20px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
  color: var(--blue);
}

.stat span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 650;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.split-image {
  min-height: 460px;
  border-radius: 8px;
  object-fit: cover;
  width: 100%;
  box-shadow: var(--shadow);
}

.steps {
  counter-reset: step;
  display: grid;
  gap: 14px;
}

.step {
  position: relative;
  padding: 18px 18px 18px 68px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  left: 18px;
  top: 18px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  font-weight: 850;
}

.page-hero {
  padding: 80px 0 46px;
  background: var(--soft);
}

.page-title {
  max-width: 850px;
}

.breadcrumb {
  margin-bottom: 16px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.92rem;
}

.offer {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
  align-items: stretch;
  margin-bottom: 22px;
}

.offer .media img {
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  border-radius: 8px;
}

.offer .content {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 0;
}

.tag {
  display: inline-flex;
  padding: 6px 9px;
  border-radius: 8px;
  background: #edf7fc;
  color: #155775;
  font-size: 0.86rem;
  font-weight: 750;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}

.gallery figure {
  margin: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
}

.gallery figure:nth-child(1),
.gallery figure:nth-child(4) {
  grid-column: span 7;
}

.gallery figure:nth-child(2),
.gallery figure:nth-child(3) {
  grid-column: span 5;
}

.gallery figure:nth-child(n + 5) {
  grid-column: span 4;
}

.gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.gallery figcaption {
  padding: 12px 14px;
  color: var(--muted);
  font-weight: 650;
}

.faq {
  display: grid;
  gap: 12px;
}

.faq details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 18px 20px;
}

.faq summary {
  cursor: pointer;
  font-weight: 850;
}

.faq p {
  margin: 12px 0 0;
  color: var(--muted);
}

.calendar-shell {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px;
  border-bottom: 1px solid var(--line);
  background: #f7fafc;
}

.calendar-toolbar h2 {
  font-size: clamp(1.45rem, 3vw, 2rem);
}

.calendar-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.icon-button,
.small-button {
  border: 1px solid #cbd7e0;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  min-height: 40px;
  padding: 9px 12px;
  font-weight: 800;
  cursor: pointer;
}

.icon-button {
  width: 42px;
  padding: 0;
  font-size: 1.25rem;
}

.small-button.primary {
  border-color: var(--orange);
  background: var(--orange);
  color: #fff;
}

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

.calendar-weekday {
  padding: 10px 8px;
  background: var(--ink);
  color: #fff;
  text-align: center;
  font-weight: 850;
  font-size: 0.9rem;
}

.calendar-day {
  min-height: 118px;
  border: 0;
  background: #fff;
  color: var(--ink);
  padding: 10px;
  text-align: left;
  display: grid;
  align-content: start;
  gap: 7px;
  cursor: default;
}

.calendar-day:not(:disabled) {
  cursor: pointer;
}

.calendar-day.is-empty {
  background: #f4f8fb;
}

.calendar-day.is-reserved {
  background: #b42318;
  color: #fff;
}

.calendar-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #eef6fb;
  color: var(--ink);
  font-weight: 900;
}

.is-reserved .calendar-number {
  background: rgba(255, 255, 255, 0.95);
  color: #b42318;
}

.calendar-label {
  font-weight: 900;
  font-size: 0.95rem;
}

.calendar-detail {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.is-reserved .calendar-detail {
  color: rgba(255, 255, 255, 0.86);
}

.calendar-summary {
  padding: 14px 18px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-weight: 750;
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 16px;
  color: var(--muted);
  font-weight: 750;
}

.legend-dot {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.legend-dot::before {
  content: "";
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid var(--line);
}

.legend-dot.reserved::before {
  background: #b42318;
  border-color: #b42318;
}

.admin-panel {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed #f3a47b;
  border-radius: 8px;
  background: #fff8f4;
}

.admin-panel h2 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.admin-panel p {
  margin: 0 0 14px;
  color: var(--muted);
}

.admin-tools {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.contact-panel {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 24px;
}

.contact-box,
.form-box {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
}

.contact-line {
  display: block;
  margin: 12px 0;
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--ink);
}

.form-grid {
  display: grid;
  gap: 14px;
}

label {
  display: grid;
  gap: 6px;
  color: #263d53;
  font-weight: 750;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #cbd7e0;
  border-radius: 8px;
  padding: 12px 12px;
  color: var(--ink);
  font: inherit;
  background: #fff;
}

textarea {
  min-height: 130px;
  resize: vertical;
}

.site-footer {
  padding: 44px 0 28px;
  color: rgba(255, 255, 255, 0.82);
  background: #0c1d2f;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap: 26px;
}

.footer-logo {
  width: 210px;
  filter: brightness(0) invert(1);
}

.footer-grid h3 {
  margin-bottom: 12px;
  font-size: 1rem;
  color: #fff;
}

.footer-grid a,
.footer-grid p {
  display: block;
  margin: 8px 0;
  color: rgba(255, 255, 255, 0.76);
}

.footer-bottom {
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .nav {
    min-height: 66px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    left: 16px;
    right: 16px;
    top: 72px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a,
  .nav-cta {
    width: 100%;
  }

  .hero {
    min-height: 72vh;
  }

  .hero::before {
    background-image:
      linear-gradient(180deg, rgba(8, 21, 35, 0.62) 0%, rgba(8, 21, 35, 0.78) 62%, rgba(8, 21, 35, 0.9) 100%),
      var(--hero-image);
  }

  .grid.three,
  .grid.two,
  .split,
  .offer,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery figure,
  .gallery figure:nth-child(1),
  .gallery figure:nth-child(2),
  .gallery figure:nth-child(3),
  .gallery figure:nth-child(4),
  .gallery figure:nth-child(n + 5) {
    grid-column: span 12;
  }

  .calendar-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .calendar-weekday {
    display: none;
  }

  .calendar-day.is-empty {
    display: none;
  }

  .section {
    padding: 58px 0;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 148px;
  }

  .hero-inner {
    padding: 70px 0 54px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

  .calendar-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .calendar-day {
    min-height: 92px;
  }

  .stat strong {
    font-size: 1.75rem;
  }
}
