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

:root {
  --green-dark: #2d5a3d;
  --green: #4a8c5f;
  --green-light: #6abf7a;
  --brown-dark: #5c3d2e;
  --brown: #8b5e3c;
  --brown-light: #c49a6c;
  --warm: #faf6f0;
  --warm-light: #fffcf5;
  --text-dark: #2c2420;
  --text: #4a3f3a;
  --text-light: #7a6e68;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(44,36,32,0.08);
  --shadow-hover: 0 8px 35px rgba(44,36,32,0.15);
  --radius: 16px;
  --radius-sm: 8px;
  --transition: 0.35s cubic-bezier(0.4,0,0.2,1);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--warm);
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.section-title {
  text-align: center;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 0.75rem;
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: var(--green-light);
  margin: 16px auto 0;
  border-radius: 2px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  font-size: 1.05rem;
  max-width: 650px;
  margin: 0 auto 50px;
  line-height: 1.7;
}

/* ===== ANIMATIONS ===== */
.anim-hidden {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.anim-hidden.anim-left {
  transform: translateX(-40px);
}

.anim-hidden.anim-right {
  transform: translateX(40px);
}

.anim-hidden.anim-visible {
  opacity: 1;
  transform: translateY(0) translateX(0);
}

/* ===== HEADER / NAV ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
  background: transparent;
}

.header.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  padding: 10px 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--white);
  transition: var(--transition);
}

.header.scrolled .logo {
  color: var(--green-dark);
}

.logo img {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  object-fit: cover;
}

.nav {
  display: flex;
  gap: 28px;
}

.nav a {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  transition: var(--transition);
  position: relative;
  padding: 4px 0;
}

.header.scrolled .nav a {
  color: var(--text);
}

.nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--green-light);
  transition: var(--transition);
}

.nav a:hover::after {
  width: 100%;
}

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

.header.scrolled .nav a:hover {
  color: var(--green-dark);
}

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
  z-index: 1001;
}

.burger span {
  width: 26px;
  height: 2.5px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}

.header.scrolled .burger span {
  background: var(--text-dark);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #1f4a33 0%, #2f6b48 40%, #3f8a5c 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.7;
  filter: saturate(1.35) brightness(1.15) contrast(1.05);
  animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
  from { transform: scale(1); }
  to { transform: scale(1.08); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(15,36,26,0.72) 0%, rgba(15,36,26,0.28) 62%, rgba(15,36,26,0.55) 100%);
}

.hero .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.55), 0 4px 30px rgba(0,0,0,0.4);
}

.hero h1 span {
  color: var(--green-light);font-size: 3.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 35px;
  line-height: 1.7;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}

.btn {
  display: inline-block;
  padding: 16px 40px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  text-align: center;
}

.btn-primary {
  background: var(--green-light);
  color: var(--white);
  box-shadow: 0 4px 15px rgba(106,191,122,0.4);
}

.btn-primary:hover {
  background: #5aae6a;
  transform: translateY(-2px);
  box-shadow: 0 6px 25px rgba(106,191,122,0.5);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.4);
  margin-left: 16px;
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
}

.hero-badges {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-top: 50px;
}

.hero-badge {
  text-align: center;
  color: rgba(255,255,255,0.8);
}

.hero-badge strong {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.hero-badge span {
  font-size: 0.85rem;
  opacity: 0.8;
}

.scroll-down {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-down a {
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
}

.scroll-down a:hover {
  color: var(--white);
}

.scroll-down .arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid rgba(255,255,255,0.6);
  border-bottom: 2px solid rgba(255,255,255,0.6);
  transform: rotate(45deg);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* ===== SECTION COMMON ===== */
section {
  padding: 90px 0;
}

section:nth-child(even) {
  background: var(--warm-light);
}

/* ===== ABOUT ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 18px;
}

.about-text .highlight {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--green-dark);
}

.about-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}

.about-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  transition: var(--transition);
}

.about-image:hover img {
  transform: scale(1.03);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}

.about-feature {
  text-align: center;
  padding: 24px 16px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.about-feature:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.about-feature .feature-photo {
  width: 100%;
  height: 160px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 14px;
}

.about-feature .feature-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.about-feature:hover .feature-photo img {
  transform: scale(1.06);
}

.about-feature h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.about-feature p {
  font-size: 0.85rem;
  color: var(--text-light);
}

/* ===== SERVICES (Беседки) ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 30px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.service-card-image {
  height: 220px;
  overflow: hidden;
  position: relative;
}

.service-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.service-card:hover .service-card-image img {
  transform: scale(1.06);
}

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

.service-card-body h3 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.service-card-body .capacity {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.service-card-body .desc {
  font-size: 0.92rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 14px;
}

.prices {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid #f0ebe4;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.price-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.price-item .price-label {
  font-size: 0.85rem;
  color: var(--text-light);
}

.price-item .price-value {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green-dark);
  white-space: nowrap;
}

/* ===== SUBSERVICES (прокат, товары) ===== */
.subservices {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.subservice-block {
  background: var(--white);
  border-radius: var(--radius);
  padding: 35px;
  box-shadow: var(--shadow);
}

.subservice-block h3 {
  font-size: 1.3rem;
  color: var(--green-dark);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.subservice-photo {
  width: 100%;
  height: 180px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 20px;
}

.subservice-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.subservice-item {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid #f0ebe4;
}

.subservice-item:last-child {
  border-bottom: none;
}

.subservice-item .name {
  font-weight: 500;
}

.subservice-item .cost {
  font-weight: 600;
  color: var(--green-dark);
}





/* ===== CORPORATE / CATERING ===== */
.corporate-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.corporate-text h3 {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 16px;
}

.corporate-text p {
  margin-bottom: 14px;
  line-height: 1.7;
}

.corporate-text .badge {
  display: inline-block;
  background: var(--green-light);
  color: var(--white);
  padding: 4px 14px;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-top: 8px;
}

.corporate-image {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.corporate-image img {
  width: 100%;
  height: 350px;
  object-fit: cover;
}

.corporate-img-services {
  margin-top: 30px;
}

.corporate-img-services h3 {
  font-size: 1.5rem;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.corporate-img-services p {
  line-height: 1.7;
}

.additional-services {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.additional-service-tag {
  background: var(--warm);
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--green-dark);
  border: 1px solid #e8e0d8;
  transition: var(--transition);
}

.additional-service-tag:hover {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}

/* ===== Карточки форматов ===== */
.corporate-cards-title {
  font-size: 1.75rem;
  color: var(--green-dark);
  margin: 60px 0 30px;
  text-align: center;
}

.corporate-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.corporate-card {
  background: var(--white);
  border: 1px solid #ece6de;
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.corporate-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  border-color: var(--green-light);
}

.corporate-card-icon {
  font-size: 2rem;
  margin-bottom: 14px;
  line-height: 1;
}

.corporate-card h4 {
  font-size: 1.15rem;
  color: var(--green-dark);
  margin-bottom: 12px;
}

.corporate-card p {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-light);
  margin-bottom: 10px;
}

.corporate-card p:last-child {
  margin-bottom: 0;
}

.corporate-card-note {
  font-size: 0.9rem;
  color: var(--green-dark);
}

/* Адаптив */
@media (max-width: 768px) {
  .corporate-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .corporate-cards-title {
    margin-top: 40px;
  }
}







/* ===== TERMS (ACCORDION) ===== */
.terms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-top: 1px solid #e8e0d8;
  border-left: 1px solid #e8e0d8;
}

.accordion-item {
  border-bottom: 1px solid #e8e0d8;
  border-right: 1px solid #e8e0d8;
}

.accordion-header {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--green-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition);
  background: var(--white);
  user-select: none;
}

.accordion-header:hover {
  background: #f7f3ed;
}

.accordion-header::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--green-light);
  transition: var(--transition);
  line-height: 1;
}

.accordion-item.active .accordion-header::after {
  content: '−';
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 24px;
  background: var(--warm-light);
}

.accordion-item.active .accordion-body {
  max-height: 300px;
  padding: 16px 24px 20px;
}

.accordion-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

.accordion-body a {
  color: var(--green);
  text-decoration: underline;
}

.accordion-body a:hover {
  color: var(--green-dark);
}

.terms-rules {
  margin-top: 30px;
  text-align: center;
  padding: 20px;
  background: var(--white);
  border: 1px solid #e8e0d8;
  border-radius: var(--radius-sm);
}

.terms-rules p {
  font-size: 0.95rem;
  color: var(--text);
}

.terms-rules a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 500;
}

.terms-rules a:hover {
  color: var(--green-dark);
}

/* ===== REVIEWS ===== */
.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.reviews-left .review-header {
  margin-bottom: 20px;
}

.reviews-left h2 {
  text-align: left;
  margin-bottom: 12px;
}

.reviews-left h2::after {
  margin: 12px 0 0;
}

.reviews-left .review-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 24px;
  font-style: italic;
}

.reviews-left .review-author {
  font-weight: 600;
  color: var(--green-dark);
}

.reviews-widget {
  width: 100%;
  height: 600px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.reviews-widget iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.reviews-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.reviews-right .review-greeting {
  background: var(--white);
  padding: 28px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.reviews-right .review-greeting .review-text {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  font-style: italic;
  margin-bottom: 16px;
}

.reviews-right .review-greeting .review-author {
  font-weight: 600;
  color: var(--green-dark);
}

.reviews-right .review-greeting .review-wish {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-top: 12px;
  line-height: 1.7;
}

.reviews-photos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.reviews-photos img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: var(--transition);
}

.reviews-photos img:hover {
  transform: scale(1.03);
}

.reviews-photos img:first-child {
  grid-column: 1 / -1;
  height: 220px;
}

/* ===== CONTACTS ===== */
.contacts-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
}

.contacts-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.contact-item .contact-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item .contact-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: var(--green-dark);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item h4 {
  font-size: 1rem;
  color: var(--green-dark);
  margin-bottom: 4px;
}

.contact-item p,
.contact-item a {
  font-size: 0.95rem;
  color: var(--text-light);
}

.contact-item a:hover {
  color: var(--green);
}

.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 10px;
}

.contact-social a {
  min-width: 56px;
  height: 40px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #fff;
  border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  transition: var(--transition);
}

/* ВКонтакте — фирменный синий */
.contact-social a[title="ВКонтакте"] {
  background: linear-gradient(135deg, #0077FF 0%, #0055CC 100%);
}

/* Яндекс — фирменный красный */
.contact-social a[title="Яндекс Карты"] {
  background: linear-gradient(135deg, #FC3F1D 0%, #D62B0A 100%);
}

.contact-social a:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.25);
  filter: brightness(1.08);
}

.contact-social a:active {
  transform: translateY(-1px) scale(1.02);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.contacts-map {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  height: 400px;
}

.contacts-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--green-dark);
  color: rgba(255,255,255,0.7);
  padding: 40px 0;
  text-align: center;
}

.footer .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer .logo {
  color: var(--white);
}

.footer p {
  font-size: 0.9rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero h1 { font-size: 2.8rem; }
  .section-title { font-size: 1.9rem; }
}

@media (max-width: 768px) {
  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 30px 30px;
    gap: 20px;
    box-shadow: -5px 0 30px rgba(0,0,0,0.1);
    transition: var(--transition);
  }

  .nav.open {
    right: 0;
  }

  .nav a {
    color: var(--text) !important;
    font-size: 1.05rem;
  }

  .burger {
    display: flex;
  }

  .hero h1 { font-size: 2.2rem; }
  .hero p { font-size: 1rem; }
  .hero-badges { gap: 24px; flex-wrap: wrap; }

  .about-grid,
  .corporate-grid,
  .reviews-grid,
  .contacts-grid {
    grid-template-columns: 1fr;
  }

  .about-features {
    grid-template-columns: 1fr;
  }

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

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

  .reviews-right {
    grid-template-columns: 1fr 1fr;
  }

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

  .btn-outline {
    margin-left: 0;
    margin-top: 12px;
  }

  .hero-badges {
    flex-direction: column;
    gap: 16px;
    margin-top: 35px;
  }

  section {
    padding: 60px 0;
  }

  .section-subtitle {
    margin-bottom: 30px;
  }

  .corporate-image img {
    height: 250px;
  }
}

.corporate-img-services {padding:10px}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.8rem; }
  .hero p { font-size: 0.95rem; }
  .section-title { font-size: 1.6rem; }
  .reviews-right { grid-template-columns: 1fr; }
  .reviews-photos { grid-template-columns: 1fr; }
  .reviews-photos img:first-child { grid-column: auto; height: 180px; }
  .service-card-image { height: 180px; }
}

/* ===== ОБЩИЕ СТИЛИ ДЛЯ ЛИПКИХ КНОПОК ===== */
.sticky-button {
    position: fixed;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 9999;
    text-decoration: none;
    border: 2px solid white;
}

/* Расположение кнопок - вертикально друг под другом на всех устройствах */
.teleg-btn {
    bottom: 170px; /* Верхняя кнопка */
    right: 30px;
    background: #0088cc;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.4);
    animation: pulse-telegram 2s infinite;
}

.max-btn {
    bottom: 100px; /* Нижняя кнопка */
    right: 30px;
    background: #8b4efe; /* Фиолетовый цвет */
    box-shadow: 0 4px 15px rgba(139, 78, 254, 0.4);
    animation: pulse-max 2s infinite;
}

/* Стили для иконок - фиксированные размеры */
.sticky-button svg {
    display: block;
}

.teleg-btn svg {
    width: 32px;
    height: 32px;
}

.max-btn svg {
    width: 38px;
    height: 38px;
}

/* Эффекты при наведении */
.teleg-btn:hover {
    background: #0077b5;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 136, 204, 0.6);
    animation: none; /* Отключаем пульсацию при наведении */
}

.max-btn:hover {
    background: #6b2ed4; /* Темнее фиолетовый для ховера */
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 25px rgba(139, 78, 254, 0.6);
    animation: none; /* Отключаем пульсацию при наведении */
}

/* Анимация пульсации для каждой кнопки */
@keyframes pulse-telegram {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 136, 204, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 136, 204, 0);
    }
}

@keyframes pulse-max {
    0% {
        box-shadow: 0 0 0 0 rgba(139, 78, 254, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(139, 78, 254, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(139, 78, 254, 0);
    }
}

/* Тултип (всплывающая подсказка) - общие стили */
.sticky-button .tooltip-text {
    visibility: hidden;
    width: 140px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1;
    bottom: 125%;
    right: 0;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    pointer-events: none;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 500;
}

.sticky-button .tooltip-text::after {
    content: "";
    position: absolute;
    top: 100%;
    right: 20px;
    border-width: 5px;
    border-style: solid;
    border-color: #333 transparent transparent transparent;
}

.sticky-button:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Адаптация для мобильных - вертикальное расположение с правильными размерами иконок */
@media (max-width: 768px) {
    .sticky-button {
        width: 50px;
        height: 50px;
        right: 15px;
    }
    
    .teleg-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .max-btn svg {
        width: 32px;
        height: 32px;
    }
    
    .teleg-btn {
        bottom: 150px; /* Верхняя кнопка на мобильном */
        animation: pulse-telegram 2s infinite; /* Пульсация на мобильном */
    }
    
    .max-btn {
        bottom: 90px; /* Нижняя кнопка на мобильном */
        animation: pulse-max 2s infinite; /* Пульсация на мобильном */
    }
    
    .sticky-button .tooltip-text {
        width: 120px;
        font-size: 12px;
        padding: 6px 10px;
        right: 0;
    }
}

@media (max-width: 480px) {
    .sticky-button {
        width: 45px;
        height: 45px;
        right: 10px;
    }
    
    .teleg-btn svg {
        width: 25px;
        height: 25px;
    }
    
    .max-btn svg {
        width: 28px;
        height: 28px;
    }
    
    .teleg-btn {
        bottom: 140px; /* Верхняя кнопка на маленьком мобильном */
        animation: pulse-telegram 2s infinite; /* Пульсация на маленьком мобильном */
    }
    
    .max-btn {
        bottom: 80px; /* Нижняя кнопка на маленьком мобильном */
        animation: pulse-max 2s infinite; /* Пульсация на маленьком мобильном */
    }
}

/* Для больших экранов - тоже вертикально с пульсацией */
@media (min-width: 1200px) {
    .teleg-btn {
        bottom: 170px;
        right: 30px;
        animation: pulse-telegram 2s infinite; /* Пульсация на больших экранах */
    }
    
    .max-btn {
        bottom: 100px;
        right: 30px;
        animation: pulse-max 2s infinite; /* Пульсация на больших экранах */
    }
}