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

body {
  font-family: 'Inter', sans-serif;
  background-color: #fdfdfd;
  color: #333;
  line-height: 1.5;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loader-container {
  text-align: center;
}

.loader-logo {
  width: 80px;
  height: 80px;
  margin-bottom: 20px;
}

.loader-text {
  font-family: 'Courier Prime', monospace;
  font-size: 1.2rem;
  color: #ff6b6b;
}

.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #ececec;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
}

.logo {
  font-family: 'Courier Prime', monospace;
  font-size: 1.6rem;
  color: #ff6b6b;
  text-decoration: none;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 18px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
}

.site-nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.site-nav ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  position: relative;
  padding: 6px 0;
}

.site-nav ul li a.active,
.site-nav ul li a:hover {
  color: #ff6b6b;
}

.hero-section {
  position: relative;
  height: 80vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/images/myt-sobaku-doma.jpg');
  background-size: cover;
  background-position: center;
  filter: brightness(0.7);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
  text-align: center;
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 20px;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 30px;
}

.btn-hero {
  display: inline-block;
  background-color: #ff6b6b;
  color: #ffffff;
  padding: 14px 32px;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.3s ease;
}

.btn-hero:hover {
  background-color: #e15555;
}

.about-section {
  padding: 80px 0;
  text-align: center;
}

.about-section h2 {
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.about-section p {
  max-width: 800px;
  margin: 0 auto 20px;
  color: #555;
  font-size: 1rem;
}

.services-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.services-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

.service-item {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.service-item h3 {
  font-size: 1.5rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.service-item p {
  color: #555;
  margin-bottom: 20px;
}

.service-details {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-details ul {
  list-style: disc;
  margin-left: 20px;
  color: #555;
}

.service-details li {
  margin-bottom: 8px;
}

.service-price {
  font-size: 1.6rem;
  color: #333;
  font-weight: 700;
}

.benefits-section {
  padding: 80px 0;
}

.benefits-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 30px;
}

.benefit-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.benefit-card img {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.benefit-card h3 {
  font-size: 1.3rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.benefit-card p {
  color: #555;
  font-size: 1rem;
  line-height: 1.4;
}

.testimonials-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.testimonials-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

.testimonial-card {
  background-color: #ffffff;
  border-radius: 12px;
  padding: 30px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.testimonial-card p {
  font-style: italic;
  color: #555;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.testimonial-author strong {
  color: #333;
  font-size: 1rem;
}

.stars {
  color: #ff6b6b;
  font-size: 1rem;
}

.gallery-section {
  padding: 80px 0;
}

.gallery-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
}

.gallery-item img {
  width: 100%;
  display: block;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.6);
  color: #ffffff;
  font-size: 0.9rem;
  padding: 10px;
  text-align: center;
}

.contact-section {
  padding: 80px 0;
  background-color: #f9f9f9;
}

.contact-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 20px;
}

.contact-section p {
  text-align: center;
  color: #555;
  margin-bottom: 10px;
}

.contact-extra {
  text-align: center;
  margin-top: 20px;
}

.contact-extra a {
  color: #ff6b6b;
  text-decoration: none;
}

.cookies-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #ffffff;
  border-top: 1px solid #ececec;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  z-index: 100;
}

.cookies-banner p {
  color: #555;
  margin-right: 20px;
  font-size: 0.9rem;
}

.cookies-button {
  background-color: #ff6b6b;
  color: #ffffff;
  border: none;
  padding: 8px 16px;
  margin-left: 10px;
  border-radius: 50px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.cookies-button:hover {
  background-color: #e15555;
}

.site-footer {
  background-color: #222222;
  padding: 20px 0;
  text-align: center;
}

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

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 5px;
}

.footer-links a {
  color: #f9f9f9;
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  text-decoration: underline;
}

.footer-links .bar {
  color: #ffffff;
  margin: 0 5px;
}

.site-footer p {
  font-size: 0.9rem;
  color: #cccccc;
  margin: 0;
}

.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: #ff6b6b;
  color: #ffffff;
  font-size: 1.2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.scroll-to-top:hover {
  opacity: 1;
}

@media (max-width: 768px) {
  .site-nav ul {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    flex-direction: column;
    width: 200px;
    display: none;
    border: 1px solid #ececec;
    border-radius: 8px;
    overflow: hidden;
  }

  .site-nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }

  .site-nav ul li {
    margin: 0;
  }

  .site-nav ul li a {
    padding: 15px 20px;
    display: block;
  }

  .benefits-grid,
  .testimonials-grid,
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

.sp-services-section {
  padding: 80px 0;
  background-color: #fdfdfd;
}

.sp-services-section h2 {
  text-align: center;
  font-size: 2rem;
  color: #333;
  margin-bottom: 40px;
}

.sp-services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.sp-service-card {
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 20px;
}

.sp-service-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 20px;
}

.sp-service-title {
  font-size: 1.4rem;
  color: #ff6b6b;
  margin-bottom: 15px;
}

.sp-service-desc {
  color: #555;
  font-size: 1rem;
  line-height: 1.6;
  flex-grow: 1;
}

.sp-service-price {
  font-size: 1.2rem;
  color: #333;
  font-weight: 700;
  margin-top: 20px;
}

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

html {
  scroll-behavior: smooth;
}

.title_background {
  background-color: #ff6b6b;
  padding: 60px 0;
}

.title_background .container {
  display: flex;
  justify-content: center;
}

.title_background .title {
  font-family: 'Courier Prime', monospace;
  font-size: 2rem;
  color: #ffffff;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.text_background {
  background-color: #f9f9f9;
  padding: 40px 0;
}

.text_background .container {
  max-width: 800px;
  margin: 0 auto;
}

.text_background .text {
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  color: #333333;
  text-align: justify;
}