/* Variables */

:root {
  --burgundy: #7A2E3B;
  --wine: #4B2028;
  --copper: #B86D4E;
  --amber: #D49A52;

  --cream: #F7F0E8;
  --paper: #FFF9F4;
  --sand: #E9D8CA;
  --rose: #E5C7C6;

  --ink: #2B201D;
  --muted: #74625C;

  --line: rgba(43, 32, 29, 0.11);
}


/* Basic */

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;

  overflow-x: hidden;

  background: var(--cream);
  color: var(--ink);

  font-family: "Manrope", Arial, sans-serif;

  line-height: 1.65;
}

body.menu-open {
  overflow: hidden;
}

img {
  display: block;

  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

h1,
h2,
h3,
p,
blockquote {
  margin-top: 0;
}

h1,
h2 {
  font-family: "Lora", Georgia, serif;

  letter-spacing: -0.035em;
  line-height: 1.08;
}

h1 {
  max-width: 780px;

  margin-bottom: 22px;

  font-size: clamp(
    2.55rem,
    5vw,
    4.4rem
  );
}

h2 {
  margin-bottom: 18px;

  font-size: clamp(
    1.95rem,
    3.5vw,
    3rem
  );
}

h3 {
  margin-bottom: 10px;

  line-height: 1.35;
}

p {
  margin-bottom: 18px;
}

.container {
  width: min(92%, 1180px);

  margin: 0 auto;
}

.section {
  padding: 82px 0;

  scroll-margin-top: 110px;
}

.section-heading {
  max-width: 760px;

  margin-bottom: 34px;
}

.section-text,
.section-heading > p:last-child {
  color: var(--muted);
}

.eyebrow {
  margin-bottom: 11px;

  color: var(--burgundy);

  font-size: 0.73rem;
  font-weight: 800;

  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.eyebrow-light {
  color: #F1C7A8;
}


/* Accessibility */

a:focus-visible,
button:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;

  top: 12px;
  left: 12px;

  z-index: 1000;

  padding: 10px 14px;

  border-radius: 10px;

  background: var(--ink);
  color: var(--paper);

  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}


/* Scroll progress */

.scroll-progress {
  position: fixed;

  top: 0;
  left: 0;

  z-index: 600;

  width: 100%;
  height: 3px;

  pointer-events: none;
}

.scroll-progress span {
  display: block;

  width: 0;
  height: 100%;

  background:
    linear-gradient(
      90deg,
      var(--copper),
      var(--burgundy)
    );
}


/* Reveal */

.reveal {
  opacity: 0;

  transform: translateY(22px);

  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(
      0.2,
      0.8,
      0.2,
      1
    );
}

.reveal.is-visible {
  opacity: 1;

  transform: translateY(0);
}


/* Top bar */

.top-bar {
  background: var(--wine);
  color: var(--paper);
}

.top-bar-inner {
  min-height: 34px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 20px;

  font-size: 0.77rem;
}

.top-bar-inner span {
  display: flex;

  align-items: center;

  gap: 8px;
}

.top-bar-inner i {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #9FDBB1;

  box-shadow:
    0 0 0 4px
    rgba(159, 219, 177, 0.12);

  animation:
    statusPulse
    2.2s
    ease-in-out
    infinite;
}

.top-bar-inner a {
  color: #F0C9AE;

  font-weight: 700;
}


@keyframes statusPulse {
  50% {
    box-shadow:
      0 0 0 8px
      rgba(159, 219, 177, 0);
  }
}


/* Buttons */

.btn {
  display: inline-flex;

  min-height: 50px;

  align-items: center;
  justify-content: center;

  gap: 9px;

  padding: 13px 20px;

  border: 2px solid transparent;
  border-radius: 14px;

  font-weight: 800;

  transition:
    transform 0.22s ease,
    background 0.22s ease,
    color 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--burgundy);
  color: var(--paper);

  box-shadow:
    0 10px 24px
    rgba(122, 46, 59, 0.18);
}

.btn-primary:hover {
  background: var(--wine);

  box-shadow:
    0 14px 28px
    rgba(75, 32, 40, 0.22);
}

.btn-secondary {
  border-color:
    rgba(122, 46, 59, 0.28);

  background:
    rgba(255, 249, 244, 0.5);

  color: var(--burgundy);
}

.btn-secondary:hover {
  background: var(--paper);

  border-color: var(--burgundy);
}

.btn-light {
  background: var(--paper);
  color: var(--wine);
}

.btn-large {
  min-height: 58px;

  padding: 16px 24px;
}


/* Header */

.site-header {
  position: sticky;

  top: 0;

  z-index: 400;

  border-bottom:
    1px solid var(--line);

  background:
    rgba(247, 240, 232, 0.96);
}

.header-inner {
  position: relative;

  min-height: 70px;

  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;

  align-items: center;

  gap: 9px;

  font-weight: 800;
  letter-spacing: 0.09em;
}

.brand-symbol {
  width: 11px;
  height: 11px;

  border-radius:
    50%
    50%
    50%
    5px;

  background:
    linear-gradient(
      135deg,
      var(--amber),
      var(--burgundy)
    );

  transform: rotate(45deg);
}

.site-nav {
  display: flex;

  align-items: center;

  gap: 19px;

  font-size: 0.9rem;
  font-weight: 700;
}

.site-nav > a {
  transition:
    color 0.2s ease;
}

.site-nav > a:not(.nav-telegram):hover,
.nav-active {
  color: var(--burgundy);
}

.nav-active {
  position: relative;
}

.nav-active::after {
  content: "";

  position: absolute;

  left: 0;
  right: 0;
  bottom: -9px;

  height: 2px;

  background: var(--copper);
}

.nav-telegram {
  padding: 10px 15px;

  border-radius: 12px;

  background: var(--burgundy);
  color: var(--paper);
}


/* Mobile nav */

.menu-toggle {
  display: none;

  width: 46px;
  height: 46px;

  padding: 10px;

  border: 1px solid var(--line);
  border-radius: 12px;

  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;

  width: 100%;
  height: 2px;

  margin: 5px 0;

  background: var(--ink);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform:
    translateY(7px)
    rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform:
    translateY(-7px)
    rotate(-45deg);
}


/* Main hero */

.hero {
  position: relative;

  overflow: hidden;

  padding: 58px 0 48px;
}

.hero::before {
  content: "";

  position: absolute;

  top: -260px;
  left: -200px;

  width: 560px;
  height: 560px;

  border-radius: 50%;

  background:
    radial-gradient(
      circle,
      rgba(229, 199, 198, 0.7),
      transparent 70%
    );
}

.hero-grid,
.page-hero-grid {
  display: grid;

  grid-template-columns:
    minmax(0, 1.05fr)
    minmax(340px, 0.95fr);

  align-items: center;

  gap: 50px;
}

.hero-text,
.page-hero p:not(.eyebrow) {
  max-width: 680px;

  color: var(--muted);

  font-size: 1.04rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 11px;

  margin: 28px 0 24px;
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}

.hero-tags span {
  padding: 7px 10px;

  border:
    1px solid
    rgba(122, 46, 59, 0.11);

  border-radius: 999px;

  background:
    rgba(255, 249, 244, 0.55);

  color: var(--muted);

  font-size: 0.78rem;
  font-weight: 700;
}


/* Art blocks */

.hero-art,
.page-art {
  --tilt-x: 0deg;
  --tilt-y: 0deg;

  position: relative;

  min-height: 540px;

  display: flex;

  align-items: flex-end;
  justify-content: center;

  overflow: hidden;

  border:
    1px solid
    rgba(122, 46, 59, 0.08);

  border-radius: 32px;

  background:
    linear-gradient(
      145deg,
      #F0DFD5,
      #E5CAC4 58%,
      #D3ACA2
    );

  box-shadow:
    0 28px 65px
    rgba(75, 32, 40, 0.1);
}

.hero-art::after,
.page-art::after {
  content: "";

  position: absolute;

  left: -10%;
  right: -10%;
  bottom: -28%;

  height: 56%;

  border-radius:
    50%
    50%
    0
    0;

  background: var(--wine);
}

.hero-grid-lines {
  position: absolute;

  inset: 0;

  opacity: 0.25;

  background-image:
    linear-gradient(
      rgba(122, 46, 59, 0.13) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(122, 46, 59, 0.13) 1px,
      transparent 1px
    );

  background-size: 34px 34px;
}

.mascot-image,
.page-mascot {
  position: relative;

  z-index: 4;

  width: min(78%, 420px);

  max-height: 530px;

  object-fit: contain;
  object-position: bottom center;

  transform:
    perspective(900px)
    rotateX(var(--tilt-x))
    rotateY(var(--tilt-y));

  transform-origin: center bottom;

  transition:
    transform 0.18s ease-out;
}

.orbit {
  position: absolute;

  z-index: 1;

  border:
    1px solid
    rgba(122, 46, 59, 0.22);

  border-radius: 50%;

  animation:
    orbitPulse
    5s
    ease-in-out
    infinite;
}

.orbit-one {
  width: 330px;
  height: 330px;

  top: 70px;
  right: 45px;
}

.orbit-two {
  width: 430px;
  height: 430px;

  top: 20px;
  right: -5px;

  animation-delay: -2.5s;
}

.glow-circle {
  position: absolute;

  top: 85px;

  width: 240px;
  height: 240px;

  border-radius: 50%;

  background:
    rgba(255, 249, 244, 0.4);
}

.floating-card {
  position: absolute;

  z-index: 8;

  min-width: 112px;

  padding: 10px 12px;

  border:
    1px solid
    rgba(255, 249, 244, 0.6);

  border-radius: 14px;

  background:
    rgba(255, 249, 244, 0.9);

  box-shadow:
    0 15px 30px
    rgba(75, 32, 40, 0.12);

  animation:
    floatingCard
    4.5s
    ease-in-out
    infinite;
}

.floating-card b,
.floating-card span {
  display: block;
}

.floating-card b {
  color: var(--burgundy);

  font-family: "Lora", Georgia, serif;

  font-size: 1.15rem;
}

.floating-card span {
  color: var(--muted);

  font-size: 0.68rem;
  font-weight: 700;
}

.float-a {
  top: 82px;
  left: 20px;
}

.float-b {
  top: 145px;
  right: 18px;

  animation-delay: -1.5s;
}

.float-c {
  right: 28px;
  bottom: 75px;

  animation-delay: -3s;
}


@keyframes floatingCard {
  50% {
    transform: translateY(-8px);
  }
}


@keyframes orbitPulse {
  50% {
    transform: scale(1.04);

    opacity: 0.65;
  }
}


/* Ticker */

.ticker {
  overflow: hidden;

  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);

  background: var(--paper);
}

.ticker-track {
  width: max-content;

  display: flex;

  animation:
    tickerMove
    30s
    linear
    infinite;
}

.ticker-group {
  display: flex;

  align-items: center;

  gap: 24px;

  padding: 15px 12px;

  white-space: nowrap;
}

.ticker-group span {
  font-size: 0.83rem;
  font-weight: 800;
}

.ticker-group i {
  color: var(--copper);

  font-style: normal;
}


@keyframes tickerMove {
  to {
    transform: translateX(-50%);
  }
}


/* Facts */

.facts-section {
  padding: 55px 0 20px;
}

.facts-grid {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 12px;
}

.fact-card {
  padding: 20px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: var(--paper);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.fact-card:hover {
  transform: translateY(-4px);

  box-shadow:
    0 15px 30px
    rgba(75, 32, 40, 0.08);
}

.fact-card strong,
.fact-card span {
  display: block;
}

.fact-card strong {
  margin-bottom: 4px;

  color: var(--burgundy);

  font-family: "Lora", Georgia, serif;

  font-size: 1.4rem;
}

.fact-card span {
  color: var(--muted);

  font-size: 0.82rem;
}


/* Assistant */

.assistant-section {
  background:
    linear-gradient(
      180deg,
      var(--cream),
      var(--paper)
    );
}

.assistant-layout {
  display: grid;

  grid-template-columns:
    minmax(300px, 0.72fr)
    minmax(0, 1.28fr);

  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 30px;

  background: var(--paper);

  box-shadow:
    0 26px 70px
    rgba(75, 32, 40, 0.08);
}

.assistant-art {
  position: relative;

  min-height: 650px;

  display: flex;

  align-items: flex-end;
  justify-content: center;

  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #D8B3AD,
      #C4847D
    );
}

.assistant-art::before {
  content: "";

  position: absolute;

  inset: 0;

  background-image:
    radial-gradient(
      rgba(75, 32, 40, 0.17) 1px,
      transparent 1px
    );

  background-size: 20px 20px;

  opacity: 0.45;
}

.assistant-art img {
  position: relative;

  z-index: 4;

  width: min(82%, 390px);

  max-height: 620px;

  object-fit: contain;
  object-position: bottom center;

  filter:
    drop-shadow(
      0 20px 28px
      rgba(75, 32, 40, 0.18)
    );
}

.assistant-ring {
  position: absolute;

  border:
    1px solid
    rgba(255, 249, 244, 0.5);

  border-radius: 50%;

  animation:
    orbitPulse
    5s
    ease-in-out
    infinite;
}

.ring-one {
  top: 100px;

  width: 290px;
  height: 290px;
}

.ring-two {
  top: 55px;

  width: 390px;
  height: 390px;
}

.scan-line {
  position: absolute;

  z-index: 3;

  left: 12%;
  right: 12%;
  top: 26%;

  height: 2px;

  background:
    linear-gradient(
      90deg,
      transparent,
      white,
      transparent
    );

  animation:
    scanMove
    4.5s
    ease-in-out
    infinite;
}


@keyframes scanMove {
  50% {
    transform: translateY(240px);
  }
}


.floating-pill {
  position: absolute;

  z-index: 7;

  padding: 8px 11px;

  border-radius: 999px;

  background:
    rgba(255, 249, 244, 0.9);

  color: var(--wine);

  font-size: 0.71rem;
  font-weight: 800;

  box-shadow:
    0 12px 25px
    rgba(75, 32, 40, 0.1);

  animation:
    floatingCard
    4s
    ease-in-out
    infinite;
}

.pill-one {
  top: 100px;
  left: 18px;
}

.pill-two {
  top: 190px;
  right: 18px;

  animation-delay: -1.5s;
}

.pill-three {
  bottom: 90px;
  left: 28px;

  animation-delay: -3s;
}

.assistant-content {
  padding: 42px;
}

.helper-card {
  margin-top: 25px;

  padding: 24px;

  border-radius: 22px;

  background: #F3E4DF;
}

.helper-progress {
  height: 5px;

  margin-bottom: 22px;

  overflow: hidden;

  border-radius: 999px;

  background:
    rgba(122, 46, 59, 0.1);
}

.helper-progress-fill {
  display: block;

  width: 20%;
  height: 100%;

  border-radius: inherit;

  background:
    linear-gradient(
      90deg,
      var(--copper),
      var(--burgundy)
    );

  transition:
    width 0.3s ease;
}

.helper-step,
.helper-result {
  animation:
    helperFade
    0.3s
    ease;
}

.helper-step[hidden],
.helper-result[hidden] {
  display: none;
}


@keyframes helperFade {
  from {
    opacity: 0;

    transform: translateY(8px);
  }
}


.helper-title {
  margin-bottom: 16px;
}

.helper-title > span {
  display: block;

  margin-bottom: 5px;

  color: var(--burgundy);

  font-size: 0.7rem;
  font-weight: 800;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.helper-title h3 {
  margin-bottom: 0;

  font-family: "Lora", Georgia, serif;

  font-size: clamp(
    1.45rem,
    2.5vw,
    2rem
  );
}

.helper-options {
  display: grid;

  grid-template-columns:
    repeat(2, 1fr);

  gap: 9px;
}

.helper-option {
  min-height: 56px;

  padding: 12px 13px;

  border:
    1px solid
    rgba(122, 46, 59, 0.14);

  border-radius: 13px;

  background: var(--paper);

  text-align: left;

  font-size: 0.88rem;
  font-weight: 700;

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.helper-option:hover {
  transform: translateY(-2px);

  border-color: var(--burgundy);

  background: white;
}

.helper-message {
  width: 100%;

  padding: 14px;

  border:
    1px solid
    rgba(122, 46, 59, 0.18);

  border-radius: 13px;

  background: var(--paper);
  color: var(--ink);

  line-height: 1.55;
}

.helper-actions {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;

  margin-top: 13px;
}

.helper-reset {
  margin-top: 15px;

  padding: 0;

  border: 0;

  background: transparent;
  color: var(--burgundy);

  font-weight: 800;

  text-decoration: underline;
  text-underline-offset: 3px;

  cursor: pointer;
}

.copy-status {
  min-height: 20px;

  margin-top: 8px;

  color: #52725F;

  font-size: 0.82rem;
}


/* Popular */

.popular-section {
  background: var(--cream);
}

.popular-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 14px;
}

.popular-card {
  min-height: 270px;

  padding: 25px;

  display: flex;
  flex-direction: column;

  border: 1px solid var(--line);
  border-radius: 21px;

  background: var(--paper);

  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
}

.popular-card:hover {
  transform: translateY(-5px);

  border-color:
    rgba(122, 46, 59, 0.25);

  box-shadow:
    0 16px 34px
    rgba(75, 32, 40, 0.08);
}

.popular-card > span {
  margin-bottom: 35px;

  color: var(--copper);

  font-size: 0.72rem;
  font-weight: 800;
}

.popular-card h3 {
  font-family: "Lora", Georgia, serif;

  font-size: 1.4rem;
}

.popular-card p {
  flex: 1;

  color: var(--muted);
}

.popular-card b {
  color: var(--burgundy);

  font-size: 0.84rem;
}

.center-link {
  margin-top: 25px;

  text-align: center;
}


/* Directions preview */

.directions-preview {
  background: var(--wine);
  color: var(--paper);
}

.directions-preview-grid {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.8fr)
    minmax(0, 1.2fr);

  gap: 60px;

  align-items: center;
}

.directions-preview p:not(.eyebrow) {
  color:
    rgba(255, 249, 244, 0.72);
}

.preview-cloud {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
}

.preview-cloud span {
  padding: 12px 15px;

  border:
    1px solid
    rgba(255, 249, 244, 0.17);

  border-radius: 999px;

  background:
    rgba(255, 249, 244, 0.07);

  animation:
    cloudFloat
    5s
    ease-in-out
    infinite;
}

.preview-cloud span:nth-child(2n) {
  animation-delay: -2s;
}

.preview-cloud span:nth-child(3n) {
  animation-delay: -3.2s;
}


@keyframes cloudFloat {
  50% {
    transform: translateY(-5px);
  }
}


/* Reviews */

.reviews-section {
  background: var(--paper);
}

.reviews-head {
  display: flex;

  align-items: end;
  justify-content: space-between;

  gap: 28px;

  margin-bottom: 26px;
}

.reviews-shell {
  display: grid;

  grid-template-columns:
    auto
    minmax(0, 1fr)
    auto;

  align-items: center;

  gap: 12px;
}

.reviews-viewport {
  overflow: hidden;
}

.reviews-track {
  display: flex;

  gap: 14px;

  overflow-x: auto;

  padding: 4px 2px 10px;

  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;

  scrollbar-width: none;
}

.reviews-track::-webkit-scrollbar {
  display: none;
}

.review-card {
  flex:
    0 0
    calc((100% - 14px) / 2);

  min-height: 300px;

  padding: 26px;

  display: flex;
  flex-direction: column;

  scroll-snap-align: start;

  border: 1px solid var(--line);
  border-radius: 21px;

  background: var(--cream);
}

.review-meta {
  display: flex;

  justify-content: space-between;

  margin-bottom: 28px;
}

.review-meta span {
  color: var(--copper);

  font-size: 0.72rem;
  font-weight: 800;
}

.review-meta b {
  padding: 5px 8px;

  border-radius: 999px;

  background:
    rgba(122, 46, 59, 0.08);

  color: var(--burgundy);

  font-size: 0.67rem;
}

.review-card blockquote {
  flex: 1;

  font-family: "Lora", Georgia, serif;

  font-size: clamp(
    1.12rem,
    2vw,
    1.38rem
  );

  line-height: 1.5;
}

.review-card a {
  color: var(--burgundy);

  font-size: 0.84rem;
  font-weight: 800;
}

.slider-arrow {
  width: 47px;
  height: 47px;

  border: 1px solid var(--line);
  border-radius: 13px;

  background: var(--paper);

  cursor: pointer;

  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease;
}

.slider-arrow:hover {
  transform: translateY(-2px);

  background: var(--wine);
  color: var(--paper);
}

.review-dots {
  display: flex;

  justify-content: center;

  gap: 7px;

  margin-top: 16px;
}

.review-dot {
  width: 8px;
  height: 8px;

  padding: 0;

  border: 0;
  border-radius: 50%;

  background: #C7B3AA;

  cursor: pointer;
}

.review-dot.is-active {
  width: 24px;

  border-radius: 999px;

  background: var(--burgundy);
}


/* Questions */

.questions-section {
  background: var(--cream);
}

.questions-layout {
  display: grid;

  grid-template-columns:
    minmax(280px, 0.72fr)
    minmax(0, 1.28fr);

  gap: 65px;
}

.questions-list {
  border-top: 1px solid var(--line);
}

.question-item {
  border-bottom: 1px solid var(--line);
}

.question-button {
  width: 100%;

  padding: 21px 0;

  display: flex;

  justify-content: space-between;

  gap: 20px;

  border: 0;

  background: transparent;

  text-align: left;

  font-weight: 800;

  cursor: pointer;
}

.question-button i {
  color: var(--burgundy);

  font-size: 1.5rem;
  font-style: normal;

  transition:
    transform 0.2s ease;
}

.question-item.is-open
.question-button i {
  transform: rotate(45deg);
}

.question-answer {
  padding:
    0
    38px
    21px
    0;
}

.question-answer p {
  color: var(--muted);
}


/* Page hero */

.page-hero {
  padding: 60px 0;
}

.page-art {
  min-height: 470px;
}

.page-mascot {
  max-height: 460px;
}


/* Services detail page */

.services-page-grid {
  display: grid;

  gap: 15px;
}

.service-detail {
  display: grid;

  grid-template-columns:
    80px 1fr;

  gap: 20px;

  padding: 30px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: var(--paper);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.service-detail:hover {
  transform: translateY(-4px);

  box-shadow:
    0 15px 35px
    rgba(75, 32, 40, 0.08);
}

.service-detail-large {
  padding: 38px;
}

.service-detail-accent {
  background: var(--wine);
  color: var(--paper);
}

.service-detail-accent p {
  color:
    rgba(255, 249, 244, 0.72);
}

.service-number {
  color: var(--copper);

  font-size: 0.72rem;
  font-weight: 800;
}

.service-detail h2 {
  font-size: clamp(
    1.65rem,
    3vw,
    2.5rem
  );
}

.service-detail p {
  max-width: 700px;

  color: var(--muted);
}

.service-tags {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;
}

.service-tags span {
  padding: 7px 10px;

  border:
    1px solid
    rgba(122, 46, 59, 0.12);

  border-radius: 999px;

  background:
    rgba(229, 199, 198, 0.25);

  color: var(--muted);

  font-size: 0.77rem;
  font-weight: 700;
}

.light-tags span {
  border-color:
    rgba(255, 249, 244, 0.15);

  background:
    rgba(255, 249, 244, 0.07);

  color:
    rgba(255, 249, 244, 0.82);
}

.price-callout {
  padding: 55px 0;

  background: var(--wine);
  color: var(--paper);
}

.price-callout-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 35px;
}

.price-callout p {
  color:
    rgba(255, 249, 244, 0.7);
}


/* Directions page */

.direction-cards {
  display: grid;

  grid-template-columns:
    repeat(4, 1fr);

  gap: 13px;
}

.direction-card {
  min-height: 230px;

  padding: 23px;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: var(--paper);

  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.direction-card:hover {
  transform: translateY(-5px);

  box-shadow:
    0 16px 30px
    rgba(75, 32, 40, 0.08);
}

.direction-card > span {
  width: 45px;
  height: 45px;

  display: grid;

  place-items: center;

  margin-bottom: 30px;

  border-radius: 13px;

  background:
    rgba(122, 46, 59, 0.08);

  color: var(--burgundy);

  font-family: "Lora", Georgia, serif;
}

.direction-card p {
  color: var(--muted);

  font-size: 0.9rem;
}

.languages-section {
  padding: 80px 0;

  background: var(--wine);
  color: var(--paper);
}

.languages-layout {
  display: grid;

  grid-template-columns:
    0.65fr 1.35fr;

  gap: 60px;
}

.languages-cards {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 12px;
}

.language-card {
  padding: 24px;

  border:
    1px solid
    rgba(255, 249, 244, 0.14);

  border-radius: 20px;

  background:
    rgba(255, 249, 244, 0.06);
}

.language-card strong {
  display: block;

  margin-bottom: 35px;

  color: #F1C7A8;

  font-family: "Lora", Georgia, serif;

  font-size: 1.7rem;
}

.language-card p {
  color:
    rgba(255, 249, 244, 0.68);
}


/* About */

.about-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 14px;
}

.about-card {
  min-height: 230px;

  padding: 25px;

  border: 1px solid var(--line);
  border-radius: 21px;

  background: var(--paper);
}

.about-card-large {
  grid-row: span 2;

  display: flex;
  flex-direction: column;

  justify-content: flex-end;

  background:
    radial-gradient(
      circle at 80% 15%,
      rgba(212, 154, 82, 0.24),
      transparent 25%
    ),
    var(--wine);

  color: var(--paper);
}

.about-card-large p {
  color:
    rgba(255, 249, 244, 0.7);
}

.about-icon {
  width: 50px;
  height: 50px;

  display: grid;

  place-items: center;

  margin-bottom: 32px;

  border-radius: 14px;

  background:
    rgba(122, 46, 59, 0.08);

  color: var(--burgundy);

  font-family: "Lora", Georgia, serif;
}

.about-card-large
.about-icon {
  background:
    rgba(255, 249, 244, 0.1);

  color: #F1C7A8;
}

.about-card p {
  color: var(--muted);
}

.brand-story {
  padding: 80px 0;

  background: var(--wine);
  color: var(--paper);
}

.brand-story-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 60px;
}

.brand-story p {
  color:
    rgba(255, 249, 244, 0.72);
}

.principles-grid {
  display: grid;

  grid-template-columns:
    repeat(3, 1fr);

  gap: 14px;
}

.principle-card {
  min-height: 220px;

  padding: 24px;

  border: 1px solid var(--line);
  border-radius: 20px;

  background: var(--paper);
}

.principle-card > span {
  display: block;

  margin-bottom: 35px;

  color: var(--copper);

  font-size: 0.72rem;
  font-weight: 800;
}

.principle-card p {
  color: var(--muted);
}


/* Contact */

.contact-section {
  padding: 70px 0;

  background: var(--sand);
}

.contact-card {
  display: grid;

  grid-template-columns:
    minmax(0, 1fr)
    auto;

  align-items: end;

  gap: 40px;

  padding: 42px;

  border-radius: 26px;

  background:
    radial-gradient(
      circle at 88% 18%,
      rgba(212, 154, 82, 0.2),
      transparent 25%
    ),
    var(--wine);

  color: var(--paper);
}

.contact-card p {
  color:
    rgba(255, 249, 244, 0.7);
}


/* Footer */

.site-footer {
  padding: 48px 0 28px;

  background: var(--ink);
  color: var(--paper);
}

.footer-grid {
  display: grid;

  grid-template-columns:
    1fr 1fr;

  gap: 50px;
}

.footer-grid p {
  color:
    rgba(255, 249, 244, 0.6);
}

.footer-links {
  display: grid;

  gap: 8px;

  justify-items: start;
}

.footer-links a:hover {
  color: #F1C7A8;
}

.footer-links span {
  color:
    rgba(255, 249, 244, 0.55);
}

.footer-bottom {
  margin-top: 36px;

  padding-top: 20px;

  border-top:
    1px solid
    rgba(255, 249, 244, 0.1);
}

.footer-bottom p {
  max-width: 900px;

  color:
    rgba(255, 249, 244, 0.45);

  font-size: 0.79rem;
}


/* Floating contact */

.floating-contact {
  position: fixed;

  right: 18px;
  bottom: 18px;

  z-index: 300;

  min-height: 45px;

  display: inline-flex;

  align-items: center;

  gap: 8px;

  padding: 10px 14px;

  border: 2px solid var(--paper);
  border-radius: 13px;

  background: var(--burgundy);
  color: var(--paper);

  font-size: 0.84rem;
  font-weight: 800;

  box-shadow:
    0 12px 28px
    rgba(43, 32, 29, 0.22);

  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}

.floating-contact:hover {
  transform: translateY(-3px);
}

.floating-contact span {
  width: 7px;
  height: 7px;

  border-radius: 50%;

  background: #A7E2B9;

  animation:
    statusPulse
    2s
    ease-in-out
    infinite;
}

.floating-contact.is-hidden {
  opacity: 0;

  pointer-events: none;
}


/* Error */

.error-page {
  min-height: 100vh;

  display: grid;

  place-items: center;

  background: var(--cream);
}

.error-card {
  width: min(90%, 700px);

  padding: 50px;

  border: 1px solid var(--line);
  border-radius: 28px;

  background: var(--paper);

  text-align: center;
}

.error-number {
  display: block;

  margin-bottom: 10px;

  color: var(--copper);

  font-size: 0.8rem;
  font-weight: 800;

  letter-spacing: 0.15em;
}


/* Tablet */

@media (max-width: 960px) {

  .menu-toggle {
    display: block;
  }


  .site-nav {
    position: absolute;

    top: calc(100% + 8px);
    right: 0;
    left: 0;

    display: none;

    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 12px;

    border: 1px solid var(--line);
    border-radius: 17px;

    background: var(--paper);

    box-shadow:
      0 20px 40px
      rgba(43, 32, 29, 0.12);
  }


  .site-nav.is-open {
    display: flex;
  }


  .site-nav a {
    padding: 12px 10px;
  }


  .nav-active::after {
    display: none;
  }


  .hero-grid,
  .page-hero-grid {
    grid-template-columns:
      1fr
      0.9fr;

    gap: 32px;
  }


  .facts-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .assistant-layout {
    grid-template-columns:
      0.75fr
      1.25fr;
  }


  .assistant-content {
    padding: 32px;
  }


  .popular-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .directions-preview-grid,
  .questions-layout,
  .languages-layout {
    gap: 40px;
  }


  .direction-cards {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .about-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }


  .principles-grid {
    grid-template-columns:
      repeat(2, 1fr);
  }

}


/* Mobile */

@media (max-width: 680px) {

  .container {
    width: 90%;
  }


  .section {
    padding: 56px 0;
  }


  .top-bar-inner {
    min-height: 38px;

    font-size: 0.7rem;
  }


  .header-inner {
    min-height: 64px;
  }


  .hero-grid,
  .page-hero-grid,
  .assistant-layout,
  .directions-preview-grid,
  .questions-layout,
  .languages-layout,
  .brand-story-grid {
    grid-template-columns: 1fr;
  }


  .hero {
    padding-top: 40px;
  }


  .hero-actions {
    flex-direction: column;
  }


  .hero-actions .btn {
    width: 100%;
  }


  .hero-art,
  .page-art {
    min-height: 425px;
  }


  .mascot-image,
  .page-mascot {
    width: min(80%, 325px);

    max-height: 415px;
  }


  .facts-grid {
    grid-template-columns:
      1fr
      1fr;
  }


  .assistant-art {
    min-height: 420px;
  }


  .assistant-art img {
    width: min(76%, 300px);

    max-height: 405px;
  }


  .assistant-content {
    padding: 28px 22px;
  }


  .helper-card {
    padding: 18px;
  }


  .helper-options {
    grid-template-columns: 1fr;
  }


  .helper-actions {
    flex-direction: column;
  }


  .helper-actions .btn {
    width: 100%;
  }


  .popular-grid,
  .direction-cards,
  .languages-cards,
  .about-grid,
  .principles-grid {
    grid-template-columns: 1fr;
  }


  .about-card-large {
    grid-row: auto;
  }


  .directions-preview-grid {
    gap: 32px;
  }


  .reviews-head {
    flex-direction: column;

    align-items: stretch;
  }


  .reviews-head .btn {
    align-self: flex-start;
  }


  .reviews-shell {
    grid-template-columns: 1fr;
  }


  .slider-arrow {
    display: none;
  }


  .review-card {
    flex-basis: 88%;
  }


  .service-detail {
    grid-template-columns: 1fr;

    padding: 24px;
  }


  .service-number {
    margin-bottom: -5px;
  }


  .price-callout-inner {
    align-items: flex-start;

    flex-direction: column;
  }


  .contact-card {
    grid-template-columns: 1fr;

    align-items: start;

    padding: 28px 22px;
  }


  .contact-card .btn {
    width: 100%;
  }


  .footer-grid {
    grid-template-columns: 1fr;

    gap: 28px;
  }


  .site-footer {
    padding-bottom: 85px;
  }

}


@media (max-width: 390px) {

  h1 {
    font-size: 2.3rem;
  }


  h2 {
    font-size: 1.9rem;
  }


  .facts-grid {
    grid-template-columns: 1fr;
  }


  .review-card {
    flex-basis: 94%;
  }

}


/* Reduced motion */

@media (prefers-reduced-motion: reduce) {

  html {
    scroll-behavior: auto;
  }


  *,
  *::before,
  *::after {
    animation: none !important;

    transition: none !important;
  }


  .reveal {
    opacity: 1;

    transform: none;
  }

}