* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --beige: #f5f0e6;
  --beige-dark: #ede5d4;
  --brown: #5c3d2e;
  --brown-light: #8b5e3c;
  --brown-pale: #c4956a;
  --cream: #faf7f2;
  --text: #3a2a1e;
  --text-light: #7a6255;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(92, 61, 46, 0.1);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Nunito', sans-serif;
  background-color: var(--cream);
  color: var(--text);
  line-height: 1.6;
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Header */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--beige-dark);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(92, 61, 46, 0.08);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-name {
  font-family: 'Comfortaa', sans-serif;
  font-weight: 700;
  font-size: 22px;
  color: var(--brown);
}

.logo-sub {
  font-size: 11px;
  color: var(--text-light);
  letter-spacing: 0.3px;
}

nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

nav a {
  text-decoration: none;
  color: var(--text-light);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s;
}

nav a:hover {
  color: var(--brown);
}


/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}

.btn-primary {
  background: var(--brown);
  color: var(--white);
  box-shadow: 0 4px 14px rgba(92, 61, 46, 0.3);
}

.btn-primary:hover {
  background: var(--brown-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(92, 61, 46, 0.35);
}

.btn-nav {
  background: var(--beige);
  color: var(--brown);
  padding: 8px 20px;
}

.btn-nav:hover {
  background: var(--brown);
  color: var(--white);
}

.btn-full {
  width: 100%;
  text-align: center;
  padding: 14px;
  font-size: 16px;
  margin-top: 8px;
}

/* Hero */
.hero {
  background: var(--beige);
  padding: 80px 0 70px;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-text {
  text-align: left;
}

.hero-title-card {
  display: inline-block;
  background: rgba(255, 255, 255, 0.62);
  border: 1px solid rgba(92, 61, 46, 0.06);
  border-radius: 16px;
  padding: 20px 24px 18px;
  margin-bottom: 22px;
  max-width: 360px;
  animation: heroFadeUp 0.65s ease-out both;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: heroFadeUp 0.65s ease-out 0.15s both;
}

.hero-circle {
  width: 360px;
  height: 360px;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(145deg, #fff9f0 0%, #f0e4cc 100%);
  box-shadow:
    0 20px 60px rgba(92, 61, 46, 0.15),
    0 6px 20px rgba(92, 61, 46, 0.10),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floatCircle 4s ease-in-out infinite;
  flex-shrink: 0;
}

.hero-bear-img {
  width: 88%;
  height: auto;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 10px 22px rgba(92, 61, 46, 0.22));
}

.hero-bear-svg {
  width: 82%;
  height: auto;
  display: block;
}

@keyframes floatCircle {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-12px); }
}

.hero-arm-wave {
  transform-origin: 0 0;
  animation: waveArm 4s 1s ease-in-out infinite;
}

@keyframes waveArm {
  0%, 60%, 100% { transform: rotate(0deg);   }
  20%           { transform: rotate(-28deg);  }
  40%           { transform: rotate(-8deg);   }
}

.hero-text h1 {
  font-family: 'Comfortaa', sans-serif;
  font-size: clamp(20px, 2.2vw, 28px);
  font-weight: 400;
  line-height: 1.38;
  letter-spacing: 0.15px;
  margin: 0;
  color: var(--text);
}

.hero-accent {
  color: var(--brown-pale);
  font-style: normal;
  font-weight: 500;
}

.hero-desc {
  animation: heroFadeUp 0.65s ease-out 0.15s both;
}

.hero-text .btn {
  animation: heroFadeUp 0.65s ease-out 0.28s both;
}

.hero-desc {
  font-size: 16px;
  color: var(--text-light);
  line-height: 1.65;
  letter-spacing: 0.1px;
  max-width: 400px;
  margin-bottom: 36px;
}

.bubble-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.bubble {
  position: absolute;
  border-radius: 50%;
  animation: bubbleFloat linear forwards;
}

@keyframes bubbleFloat {
  0%   { transform: translate(0, 0) scale(0.7); opacity: 0; }
  8%   { opacity: var(--bmax, 0.5); transform: translate(calc(var(--bdx,0px)*0.04), calc(var(--bdy,0px)*0.04)) scale(1); }
  80%  { opacity: calc(var(--bmax, 0.5) * 0.3); }
  100% { transform: translate(var(--bdx,0px), var(--bdy,0px)) scale(var(--bscale,1.3)); opacity: 0; }
}

/* =====================
   Bear decorations
   ===================== */
.bear-deco {
  position: absolute;
  pointer-events: none;
  user-select: none;
  z-index: 3;
  animation: bearBob 3.5s ease-in-out infinite;
}

@keyframes bearBob {
  0%, 100% { transform: translateY(0);    }
  50%       { transform: translateY(-5px); }
}

/* Decorative bear images inside .bear-deco */
.bear-deco img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

/* Services section: bear beside title, right */
.bear-deco--services {
  top: -10px;
  right: 140px;
  width: 90px;
  height: 90px;
  animation-delay: 0.4s;
}

/* Service card: tiny sitting bear, bottom-right corner */
.bear-deco--card {
  bottom: -22px;
  right: 14px;
  width: 58px;
  height: 58px;
  animation: bearBob 4s ease-in-out 0.8s infinite;
}

/* Booking section: bear beside heading */
.bear-deco--booking {
  top: -14px;
  right: -16px;
  width: 80px;
  height: 80px;
  animation-delay: 1.2s;
}

/* Bear pointing at hero button */
.hero-btn-area {
  display: inline-block;
  position: relative;
}

.bear-hero-point {
  position: absolute;
  bottom: -78px;
  right: -30px;
  width: 115px;
  height: 115px;
  object-fit: contain;
  transform: scaleX(-1);
  pointer-events: none;
  filter: drop-shadow(0 4px 10px rgba(100,60,20,0.18));
}

/* Bear pointing at the submit button */
.submit-area {
  position: relative;
}

.bear-btn-point {
  position: absolute;
  bottom: -30px;
  left: 18px;
  width: 155px;
  height: 155px;
  object-fit: contain;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 4px 10px rgba(100,60,20,0.20));
}

@media (max-width: 820px) {
  .bear-btn-point { display: none; }
}

/* Contacts section: bear near title */
.bear-deco--contacts {
  top: -18px;
  left: 300px;
  width: 72px;
  height: 72px;
  animation-delay: 0.6s;
}

/* Service bears */
.service-bear {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.service-bear img {
  width: 120px;
  height: 120px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s ease;
}

.service-card:hover .service-bear img {
  transform: scale(1.08) translateY(-4px);
}

/* Section common */
.section-title {
  font-family: 'Comfortaa', sans-serif;
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  color: var(--brown);
  margin-bottom: 10px;
}

.section-sub {
  text-align: center;
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 50px;
}

/* Services */
.services {
  padding: 80px 0;
  background: var(--cream);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(92, 61, 46, 0.15);
}

.service-card h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 10px;
}

.service-card p {
  font-size: 14px;
  color: var(--text-light);
  line-height: 1.5;
}

/* Booking */
.booking {
  background: var(--beige);
  padding: 80px 0;
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.booking-info h2 {
  font-family: 'Comfortaa', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 16px;
  line-height: 1.2;
}

.booking-info p {
  color: var(--text-light);
  font-size: 16px;
  margin-bottom: 28px;
}

.booking-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.booking-perks li {
  font-weight: 600;
  color: var(--brown-light);
  font-size: 15px;
}

.booking-form-wrap {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 8px;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--beige-dark);
  border-radius: 12px;
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--cream);
  transition: border-color 0.2s;
  outline: none;
  appearance: none;
}

.form-group input:focus,
.form-group select:focus {
  border-color: var(--brown);
  background: var(--white);
}

.form-group input::placeholder {
  color: #bbb;
}

/* Form success */
.form-success {
  text-align: center;
  padding: 40px 20px;
}

.form-success p {
  font-size: 16px;
  color: var(--brown);
  font-weight: 600;
  line-height: 1.5;
}

.hidden {
  display: none;
}

/* Prices */
.prices {
  padding: 70px 0 80px;
  background: #fff9f2;
}

.prices-table {
  max-width: 580px;
  margin: 40px auto 0;
  background: white;
  border-radius: 20px;
  padding: 32px 40px;
  box-shadow: 0 4px 24px rgba(92,61,46,0.07);
}

.prices-label {
  font-family: 'Comfortaa', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #A08070;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 12px;
}

.prices-label + .price-list + .prices-label {
  margin-top: 24px;
}

.price-list {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.price-list:last-child {
  margin-bottom: 0;
}

.price-item {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-name {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  color: #5c3d2e;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.price-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  color: rgba(155, 96, 53, 0.68);
}

.price-icon svg {
  display: block;
  width: 15px;
  height: 15px;
}

.price-dots {
  flex: 1;
  border-bottom: 2px dotted #D6C4B4;
  min-width: 16px;
  margin-bottom: 3px;
}

.price-value {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 800;
  color: #8B5633;
  white-space: nowrap;
  flex-shrink: 0;
}

.price-value em {
  font-style: normal;
  font-weight: 400;
  font-size: 12px;
  color: #A08070;
}

.price-item--detailed {
  flex-direction: column;
  align-items: stretch;
  gap: 4px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.price-meta {
  font-family: 'Nunito', sans-serif;
  font-size: 12.5px;
  color: #A08070;
  font-style: italic;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 640px) {
  .prices-table {
    padding: 24px 20px;
  }
  .price-name {
    font-size: 14px;
  }
}

/* Contacts */
.contacts {
  padding: 60px 0 80px;
  background: var(--cream);
}

.contacts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.contact-icon {
  font-size: 28px;
  flex-shrink: 0;
}

.contact-item strong {
  display: block;
  font-weight: 700;
  color: var(--brown);
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.5;
}

/* Footer */
.site-footer {
  background: var(--brown);
  color: var(--white);
  padding: 30px 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-logo {
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-copy {
  font-size: 13px;
  opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-title-card {
    display: block;
    padding: 22px 24px;
    max-width: 100%;
  }

  .hero-text h1 {
    font-size: 22px;
    letter-spacing: 0.1px;
    max-width: 100%;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    text-align: center;
  }

  .hero-circle {
    width: 300px;
    height: 300px;
  }

  /* Hide decorative bears that overlap content on narrow screens */
  .bear-hero-point,
  .bear-deco--services,
  .bear-deco--contacts,
  .bear-deco--booking {
    display: none;
  }

  /* Hero button area: reset relative positioning so hidden bear doesn't reserve space */
  .hero-btn-area {
    display: block;
    position: static;
  }

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

  .booking-wrapper {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .site-footer .container {
    flex-direction: column;
    gap: 8px;
    text-align: center;
  }

  nav a:not(.btn-nav) {
    display: none;
  }
}

@media (max-width: 480px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
}
