:root {
  --primary-gold: #d4af37;
  --dark-bg: #1a1a2e;
  --light-bg: #f8f9fa;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --white: #ffffff;
}

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

body {
  font-family: 'Roboto', sans-serif;
  background: var(--light-bg);
  color: var(--text-dark);
  line-height: 1.6;
}

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

/* Header */
.service-header {
  background: linear-gradient(135deg, var(--dark-bg), #2c3e50);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.service-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: 3rem;
  margin-bottom: 20px;
  background: linear-gradient(90deg, var(--primary-gold), #f1d88a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.service-header p {
  font-size: 1.2rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Navigation */
.service-nav {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-links {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 15px 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-dark);
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 25px;
  transition: all 0.3s ease;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  background: var(--primary-gold);
  color: var(--white);
}

/* Main Content */
.service-content {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  padding: 40px 0;
}

/* Gallery Section */
.gallery-section {
  margin-bottom: 50px;
}

.gallery-main {
  width: 100%;
  height: 500px;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin-bottom: 20px;
}

.gallery-main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.thumb {
  height: 120px;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.3s ease;
  border: 3px solid transparent;
}

.thumb:hover {
  transform: translateY(-5px);
}

.thumb.active {
  border-color: var(--primary-gold);
}

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

/* Content Sections */
.content-section {
  background: var(--white);
  padding: 40px;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  margin-bottom: 30px;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--text-dark);
  margin-bottom: 25px;
  position: relative;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background: var(--primary-gold);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin: 30px 0;
}

.feature-card {
  text-align: center;
  padding: 25px;
  background: var(--light-bg);
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--primary-gold);
  margin-bottom: 15px;
}

/* Pricing Table */
.pricing-table {
  width: 100%;
  border-collapse: collapse;
  margin: 25px 0;
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.pricing-table th {
  background: var(--primary-gold);
  color: var(--white);
  padding: 20px;
  text-align: left;
  font-weight: 600;
}

.pricing-table td {
  padding: 20px;
  border-bottom: 1px solid #eee;
}

.pricing-table tr:last-child td {
  border-bottom: none;
}

.pricing-table tr:hover {
  background: #fff8e1;
}

.price-amount {
    font-weight: 700;
    color: var(--primary-gold);
    font-size: 1.2rem;
    white-space: nowrap;      /* не переносить цену на новую строку */
    text-align: right;        /* (по желанию) выровнять по правому краю */
}

/* Process Steps */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.process-step {
  text-align: center;
  padding: 25px;
  background: var(--light-bg);
  border-radius: 10px;
  position: relative;
}

.step-number {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gold);
  color: var(--white);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

/* Sidebar */
.service-sidebar {
  position: sticky;
  top: 100px;
}

.booking-card {
  background: var(--white);
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  text-align: center;
  margin-bottom: 25px;
}

.price-display {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-gold);
  margin: 20px 0;
}

.price-old {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 1.2rem;
}

.btn-booking {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-gold), #b8972d);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  width: 100%;
  margin: 10px 0;
}

.btn-booking:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid var(--primary-gold);
  color: var(--primary-gold);
}

.benefits-list {
  list-style: none;
  margin: 20px 0;
}

.benefits-list li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
}

.benefits-list li:before {
  content: '✓';
  color: var(--primary-gold);
  font-weight: bold;
  margin-right: 10px;
}

/* FAQ Section */
.faq-item {
  margin-bottom: 15px;
  border: 1px solid #eee;
  border-radius: 10px;
  overflow: hidden;
}

.faq-question {
  padding: 20px;
  background: var(--light-bg);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px;
  max-height: 500px;
}

/* Hydra Types Grid */
.hydra-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.hydra-type {
  background: var(--light-bg);
  padding: 25px;
  border-radius: 10px;
  border-left: 4px solid var(--primary-gold);
}

.hydra-type h4 {
  color: var(--primary-gold);
  margin-bottom: 10px;
}

/* Indications List */
.indications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 15px;
  margin: 20px 0;
}

.indication-item {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

.indication-item i {
  color: var(--primary-gold);
  margin-right: 10px;
  font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 968px) {
  .service-content {
    grid-template-columns: 1fr;
  }

  .service-sidebar {
    position: static;
  }

  .service-header h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .gallery-thumbs {
    grid-template-columns: repeat(2, 1fr);
  }

  .nav-links {
    flex-wrap: wrap;
  }

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

  .hydra-types {
    grid-template-columns: 1fr;
  }
}
