/* ============================================
   Контейнер 1200px для всех секций
   ============================================ */

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

/* ============================================
   Single Pages - Общие стили
   ============================================ */

.single-post-page,
.single-event-page,
.single-service-page,
.single-meditation-page,
.single-trainer-page,
.single-tour-page,
.altai-tours-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 38px 0 0;
}

.single-post-hero,
.single-event-header,
.single-service-header,
.single-meditation-header,
.single-trainer-header,
.single-tour-header {
  margin-bottom: 40px;
}

.single-tour-header {
  background: linear-gradient(
    135deg,
    var(--meditation-700) 0%,
    var(--meditation-600) 100%
  );
  padding: 30px 0;
  margin-bottom: 50px;
  box-shadow: 0 4px 20px rgba(87, 128, 168, 0.2);
}

@media (max-width: 768px) {
  .single-post-page,
  .single-event-page,
  .single-service-page,
  .single-meditation-page,
  .single-trainer-page,
  .single-tour-page {
    padding-top: 84px;
  }

  .single-post-hero,
  .single-event-header,
  .single-service-header,
  .single-meditation-header,
  .single-trainer-header,
  .single-tour-header {
    margin-bottom: 30px;
  }

  .single-tour-header {
    padding: 24px 0;
  }
}

@media (max-width: 480px) {
  .single-post-page,
  .single-event-page,
  .single-service-page,
  .single-meditation-page,
  .single-trainer-page,
  .single-tour-page {
    padding-top: 78px;
  }
  .single-tour-header {
    padding: 20px 0;
    margin-bottom: 24px;
    margin-top: -55px;
  }
}

.single-post-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5780a8;
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 10px 20px;
  background: white;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(87, 128, 168, 0.1);
}

.single-post-back:hover {
  color: #3a5f7d;
  transform: translateX(-5px);
  box-shadow: 0 5px 20px rgba(87, 128, 168, 0.2);
}

.single-post-content,
.single-event-content,
.single-service-content,
.single-meditation-content,
.single-trainer-content,
.single-tour-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  margin-top: 30px;
}

.single-post-card,
.single-event-card,
.single-service-card,
.single-meditation-card,
.single-trainer-card,
.single-tour-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(87, 128, 168, 0.1);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.single-post-card:hover,
.single-event-card:hover,
.single-service-card:hover,
.single-meditation-card:hover,
.single-trainer-card:hover,
.single-tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 50px rgba(87, 128, 168, 0.15);
}

.single-post-image,
.single-event-image,
.single-service-image,
.single-meditation-image,
.single-trainer-image,
.single-tour-image {
  position: relative;
  overflow: hidden;
  max-height: 400px;
}

.single-post-image img,
.single-event-image img,
.single-service-image img,
.single-meditation-image img,
.single-trainer-image img,
.single-tour-image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.single-post-card:hover .single-post-image img,
.single-event-card:hover .single-event-image img,
.single-service-card:hover .single-service-image img,
.single-meditation-card:hover .single-meditation-image img,
.single-trainer-card:hover .single-trainer-image img,
.single-tour-card:hover .single-tour-image img {
  transform: scale(1.05);
}

.single-post-image-overlay,
.single-event-image-overlay,
.single-service-image-overlay,
.single-meditation-image-overlay,
.single-trainer-image-overlay,
.single-tour-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(87, 128, 168, 0.1) 100%
  );
  pointer-events: none;
}

.single-post-body,
.single-event-body,
.single-service-body,
.single-meditation-body,
.single-trainer-body,
.single-tour-body {
  padding: 40px;
}

.single-post-title,
.single-event-title,
.single-service-title,
.single-meditation-title,
.single-trainer-title,
.single-tour-title {
  font-size: 42px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.2;
}

.single-service-subtitle {
  font-size: 20px;
  color: #5780a8;
  margin-bottom: 20px;
  font-weight: 500;
}

.single-post-meta,
.single-event-meta,
.single-service-meta,
.single-meditation-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.single-post-date,
.single-event-date,
.single-service-date,
.single-meditation-date {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7f8c8d;
  font-size: 14px;
}

.single-post-author {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7f8c8d;
  font-size: 14px;
}

.single-meditation-plays {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #7f8c8d;
  font-size: 14px;
}

.single-post-text,
.single-event-text,
.single-service-text,
.single-meditation-text,
.single-trainer-text,
.single-tour-text {
  font-size: 18px;
  line-height: 1.8;
  color: #34495e;
  margin-bottom: 30px;
  display: block;
  width: 100%;
}

.single-post-text p,
.single-event-text p,
.single-service-text p,
.single-meditation-text p,
.single-trainer-text p,
.single-tour-text p {
  margin-bottom: 20px;
  display: block;
}

.single-post-text h2,
.single-event-text h2,
.single-service-text h2,
.single-meditation-text h2,
.single-trainer-text h2,
.single-tour-text h2 {
  font-size: 28px;
  font-weight: 600;
  color: #2c3e50;
  margin: 40px 0 20px;
  display: block;
}

.single-post-text h3,
.single-event-text h3,
.single-service-text h3,
.single-meditation-text h3,
.single-trainer-text h3,
.single-tour-text h3 {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin: 30px 0 15px;
  display: block;
}

.single-post-text ul,
.single-event-text ul,
.single-service-text ul,
.single-meditation-text ul,
.single-trainer-text ul,
.single-tour-text ul,
.single-post-text ol,
.single-event-text ol,
.single-service-text ol,
.single-meditation-text ol,
.single-trainer-text ol,
.single-tour-text ol {
  margin: 20px 0;
  padding-left: 30px;
  display: block;
}

.single-post-text li,
.single-event-text li,
.single-service-text li,
.single-meditation-text li,
.single-trainer-text li,
.single-tour-text li {
  margin-bottom: 10px;
  display: list-item;
}

.single-post-text img,
.single-event-text img,
.single-service-text img,
.single-meditation-text img,
.single-trainer-text img,
.single-tour-text img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  margin: 20px 0;
}

.single-post-text a,
.single-event-text a,
.single-service-text a,
.single-meditation-text a,
.single-trainer-text a,
.single-tour-text a {
  color: #5780a8;
  text-decoration: underline;
}

.single-post-text a:hover,
.single-event-text a:hover,
.single-service-text a:hover,
.single-meditation-text a:hover,
.single-trainer-text a:hover,
.single-tour-text a:hover {
  color: #3a5f7d;
}

.single-post-text strong,
.single-event-text strong,
.single-service-text strong,
.single-meditation-text strong,
.single-trainer-text strong,
.single-tour-text strong {
  font-weight: 600;
  color: #2c3e50;
}

.single-post-text blockquote,
.single-event-text blockquote,
.single-service-text blockquote,
.single-meditation-text blockquote,
.single-trainer-text blockquote,
.single-tour-text blockquote {
  border-left: 4px solid #5780a8;
  padding: 15px 20px;
  margin: 20px 0;
  background: #f8f9fc;
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: #5a6c7d;
}

.single-post-text table,
.single-event-text table,
.single-service-text table,
.single-meditation-text table,
.single-trainer-text table,
.single-tour-text table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
}

.single-post-text table td,
.single-post-text table th,
.single-event-text table td,
.single-event-text table th,
.single-service-text table td,
.single-service-text table th,
.single-meditation-text table td,
.single-meditation-text table th,
.single-trainer-text table td,
.single-trainer-text table th,
.single-tour-text table td,
.single-tour-text table th {
  padding: 12px;
  border: 1px solid #e0e0e0;
  text-align: left;
}

.single-post-text table th,
.single-event-text table th,
.single-service-text table th,
.single-meditation-text table th,
.single-trainer-text table th,
.single-tour-text table th {
  background: #f8f9fc;
  font-weight: 600;
}

.single-post-footer,
.single-event-footer,
.single-service-footer,
.single-meditation-footer,
.single-trainer-footer,
.single-tour-footer {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
}

.single-post-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 30px;
  background: linear-gradient(135deg, #5780a8 0%, #3a5f7d 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(87, 128, 168, 0.3);
}

.single-post-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(87, 128, 168, 0.4);
}

/* ============================================
   Sidebars
   ============================================ */

.single-post-sidebar,
.single-event-sidebar,
.single-service-sidebar,
.single-meditation-sidebar,
.single-tour-sidebar {
  position: sticky;
  top: 20px;
}

.single-tour-content-full {
  grid-template-columns: 1fr;
}

.widget {
  background: white;
  border-radius: 15px;
  padding: 25px !important;
  margin-bottom: 20px;
  box-shadow: 0 5px 20px rgba(87, 128, 168, 0.08);
}

.widget-title {
  font-size: 20px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 2px solid #f0f0f0;
}

/* ============================================
   Single Meditation Audio
   ============================================ */

.single-meditation-audio {
  margin: 30px 0;
  padding: 25px;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
  border-radius: 15px;
  border: 2px solid #5780a8;
}

/* ============================================
   Archive Trainers
   ============================================ */

.archive-trainers-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 60px 0;
}

.altai-tours-page {
  padding-top: 92px;
}

.altai-tours-section {
  padding-top: 8px;
}

.altai-tours-header {
  margin-bottom: 36px;
}

.altai-tours-kicker {
  margin: 0 0 14px 0;
  color: #9a7135;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 700;
}

.altai-tours-title {
  margin: 0 0 16px 0;
  color: #3b2f1b;
  font-size: 52px;
  line-height: 1.1;
}

.altai-tours-subtitle {
  max-width: 760px;
  margin: 0;
  color: #5f6b78;
  font-size: 20px;
  line-height: 1.7;
}

.single-tour-subtitle {
  font-size: 20px;
  color: #9a7135;
  margin-bottom: 20px;
  font-weight: 500;
}

.single-tour-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.single-tour-chip {
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(
    135deg,
    rgba(249, 234, 193, 0.82) 0%,
    rgba(240, 207, 127, 0.62) 100%
  );
  color: #775019;
  font-size: 14px;
  font-weight: 700;
}

.tour-telegram-section {
  padding: 120px 0px 70px;
  background: linear-gradient(135deg, #fafbfd 0%, #ffffff 100% 100%);
}

@media (max-width: 768px) {
  .altai-tours-page {
    padding-top: 84px;
  }

  .altai-tours-section {
    padding-top: 4px;
  }

  .altai-tours-header {
    margin-bottom: 28px;
  }
}

@media (max-width: 480px) {
  .altai-tours-page {
    padding-top: 78px;
  }

  .altai-tours-header {
    margin-bottom: 24px;
  }
}

.tour-telegram-card {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) 280px;
  gap: 28px;
  align-items: center;
  padding: 34px;
  background: linear-gradient(135deg, #fffdf8 0%, #f7f1e2 100%);
  border-radius: 28px;
  box-shadow: 0 18px 46px rgba(145, 107, 38, 0.1);
}

.tour-telegram-kicker {
  margin: 0 0 12px 0;
  color: #9a7135;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 700;
}

.tour-telegram-title {
  margin: 0 0 16px 0;
  color: #3b2f1b;
  font-size: 34px;
  line-height: 1.2;
}

.tour-telegram-text {
  margin: 0 0 24px 0;
  color: #5f6b78;
  font-size: 17px;
  line-height: 1.8;
}

.tour-telegram-qr-wrap {
  text-align: center;
}

.tour-telegram-qr-link {
  display: inline-flex;
  padding: 14px;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 14px 32px rgba(145, 107, 38, 0.14);
}

.tour-telegram-qr {
  display: block;
  width: 240px;
  height: 240px;
  border-radius: 16px;
}

.tour-telegram-qr-caption {
  margin: 16px 0 0 0;
  color: #7b7b7b;
  font-size: 14px;
  line-height: 1.6;
}

.altai-details-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 60px 0;
}

.altai-details-header {
  margin-bottom: 40px;
}

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

.altai-detail-card {
  background: #ffffff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(87, 128, 168, 0.1);
  transition:
    transform 0.35s ease,
    box-shadow 0.35s ease;
}

.altai-detail-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 18px 40px rgba(87, 128, 168, 0.16);
}

.altai-detail-thumb {
  display: block;
  height: 230px;
  overflow: hidden;
}

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

.altai-detail-content {
  padding: 26px;
}

.altai-detail-terms {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.altai-detail-term {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(87, 128, 168, 0.1);
  color: #5780a8;
  font-size: 12px;
  font-weight: 700;
  text-decoration: none;
}

.altai-detail-title {
  margin: 0 0 14px 0;
  font-size: 26px;
  line-height: 1.25;
}

.altai-detail-title a {
  color: #2c3e50;
  text-decoration: none;
}

.altai-detail-excerpt {
  margin: 0 0 18px 0;
  color: #5f6b78;
  line-height: 1.75;
}

.altai-detail-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #5780a8;
  font-weight: 700;
  text-decoration: none;
}

.archive-trainers-hero {
  text-align: center;
  margin-bottom: 50px;
}

.archive-trainers-title {
  font-size: 48px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.archive-trainers-subtitle {
  font-size: 20px;
  color: #5780a8;
  font-weight: 500;
}

.trainers-empty {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(87, 128, 168, 0.1);
}

.trainers-empty svg {
  color: #5780a8;
  margin-bottom: 20px;
}

.trainers-empty h3 {
  font-size: 28px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.trainers-empty p {
  font-size: 18px;
  color: #7f8c8d;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 1024px) {
  .tour-telegram-card {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .single-post-content,
  .single-event-content,
  .single-service-content,
  .single-meditation-content,
  .single-trainer-content,
  .single-tour-content {
    grid-template-columns: 1fr;
  }

  .single-post-sidebar,
  .single-event-sidebar,
  .single-service-sidebar,
  .single-meditation-sidebar,
  .single-tour-sidebar {
    position: static;
  }
}

@media (max-width: 768px) {
  .tour-telegram-card {
    padding: 26px;
  }

  .tour-telegram-title {
    font-size: 28px;
  }

  .altai-detail-content {
    padding: 22px;
  }

  .single-post-body,
  .single-event-body,
  .single-service-body,
  .single-meditation-body,
  .single-trainer-body,
  .single-tour-body {
    padding: 25px;
  }

  .single-post-title,
  .single-event-title,
  .single-service-title,
  .single-meditation-title,
  .single-trainer-title,
  .single-tour-title {
    font-size: 32px;
  }

  .archive-trainers-title {
    font-size: 36px;
  }

  .altai-tours-title {
    font-size: 38px;
  }

  .single-post-text,
  .single-event-text,
  .single-service-text,
  .single-meditation-text,
  .single-trainer-text,
  .single-tour-text {
    font-size: 16px;
  }

  .trainers-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  .altai-tours-kicker {
    letter-spacing: 0.12em;
  }

  .altai-tours-title {
    font-size: 32px;
  }

  .altai-tours-subtitle {
    font-size: 16px;
  }

  .tour-telegram-card {
    padding: 22px;
  }

  .tour-telegram-title {
    font-size: 24px;
  }

  .tour-telegram-text {
    font-size: 16px;
  }

  .tour-telegram-qr {
    width: 210px;
    height: 210px;
  }

  .altai-detail-title {
    font-size: 22px;
  }

  .single-post-body,
  .single-event-body,
  .single-service-body,
  .single-meditation-body,
  .single-trainer-body,
  .single-tour-body {
    padding: 20px;
  }

  .single-post-title,
  .single-event-title,
  .single-service-title,
  .single-meditation-title,
  .single-trainer-title,
  .single-tour-title {
    font-size: 28px;
  }

  .single-post-meta,
  .single-event-meta,
  .single-service-meta,
  .single-meditation-meta,
  .single-tour-meta {
    flex-direction: column;
    gap: 10px;
  }
}

/* ============================================
   Section Footer (для ссылки "Посмотреть всех")
   ============================================ */

.section-footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 40px;
  border-top: 2px solid rgba(87, 128, 168, 0.1);
}

.section-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px 35px;
  background: linear-gradient(135deg, #5780a8 0%, #3a5f7d 100%);
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(87, 128, 168, 0.3);
}

.section-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(87, 128, 168, 0.4);
}

/* ============================================
   Trainers Section на front-page
   ============================================ */

.trainers-section .trainers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 35px;
  margin-top: 30px;
}

.trainers-section .trainer-card {
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(87, 128, 168, 0.08);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}

.trainers-section .trainer-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(87, 128, 168, 0.15);
}

.trainers-section .trainer-image {
  position: relative;
  overflow: hidden;
  height: 350px;
}

.trainers-section .trainer-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.trainers-section .trainer-card:hover .trainer-image img {
  transform: scale(1.1);
}

.trainers-section .trainer-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(87, 128, 168, 0.7) 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.trainers-section .trainer-card:hover .trainer-overlay {
  opacity: 1;
}

.trainers-section .trainer-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  color: #5780a8;
  transition: all 0.3s ease;
}

.trainers-section .trainer-social a:hover {
  background: white;
  transform: scale(1.1);
}

.trainers-section .trainer-content {
  padding: 25px;
  text-align: center;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.trainers-section .trainer-name {
  font-size: 24px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 10px;
}

.trainers-section .trainer-name a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.trainers-section .trainer-name a:hover {
  color: #5780a8;
}

.trainers-section .trainer-role {
  font-size: 16px;
  color: #5780a8;
  margin-bottom: 20px;
  font-weight: 500;
}

.trainers-section .trainer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  background: linear-gradient(135deg, #5780a8 0%, #3a5f7d 100%);
  color: white;
  text-decoration: none;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.3s ease;
  margin-top: auto;
}

.trainers-section .trainer-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(87, 128, 168, 0.3);
}

/* Список достижений тренеров */
.trainers-section .trainer-credentials {
  list-style: none;
  margin: 20px 0;
  padding: 0;
  text-align: left;
}

.trainers-section .trainer-credentials li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: #34495e;
}

.trainers-section .trainer-credentials li svg {
  flex-shrink: 0;
  color: #5780a8;
  margin-top: 2px;
}

.trainers-empty {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 40px rgba(87, 128, 168, 0.1);
  grid-column: 1 / -1;
}

/* ============================================
   Privacy Policy Page
   ============================================ */

.privacy-page {
  min-height: 100vh;
  background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
  padding: 40px 0;
}

.privacy-hero {
  margin-bottom: 40px;
}

.privacy-content {
  background: white;
  border-radius: 20px;
  padding: 60px;
  box-shadow: 0 10px 40px rgba(87, 128, 168, 0.1);
  margin-bottom: 40px;
}

.privacy-title {
  font-size: 42px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
  line-height: 1.2;
}

.privacy-date {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 2px solid #f0f0f0;
}

.privacy-section {
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e8eef5;
}

.privacy-section:last-of-type {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.privacy-section h2 {
  font-size: 26px;
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 20px;
  line-height: 1.3;
}

.privacy-section p {
  font-size: 17px;
  line-height: 1.8;
  color: #34495e;
  margin-bottom: 15px;
}

.privacy-section ul {
  margin: 15px 0;
  padding-left: 25px;
}

.privacy-section li {
  font-size: 17px;
  line-height: 1.7;
  color: #34495e;
  margin-bottom: 10px;
}

.privacy-section li strong {
  color: #2c3e50;
  font-weight: 600;
}

.privacy-section a {
  color: #5780a8;
  text-decoration: none;
  transition: color 0.3s ease;
}

.privacy-section a:hover {
  color: #3a5f7d;
  text-decoration: underline;
}

.privacy-section a[href^="tel:"] {
  color: #5780a8;
  font-weight: 500;
}

.privacy-section a[href^="mailto:"] {
  word-break: break-all;
}

.privacy-footer {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 2px solid #f0f0f0;
  text-align: center;
}

.privacy-footer p {
  font-size: 16px;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.privacy-update-info {
  font-weight: 500;
  color: #5780a8;
}

/* Privacy Policy Responsive Design */
@media (max-width: 1024px) {
  .privacy-content {
    padding: 40px;
  }
}

@media (max-width: 768px) {
  .privacy-content {
    padding: 30px 20px;
  }

  .privacy-title {
    font-size: 32px;
  }

  .privacy-section h2 {
    font-size: 22px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .privacy-content {
    padding: 20px 15px;
  }

  .privacy-title {
    font-size: 28px;
  }

  .privacy-section h2 {
    font-size: 20px;
  }

  .privacy-section p,
  .privacy-section li {
    font-size: 15px;
  }

  .privacy-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
}

/* ============================================
   Simple Contact Form Styles - Mobile Optimized
   ============================================ */

.simple-contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.simple-contact-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.simple-contact-form label {
  font-size: 14px;
  font-weight: 600;
  color: #2c3e50;
}

.simple-contact-form input[type="text"],
.simple-contact-form input[type="tel"],
.simple-contact-form input[type="email"],
.simple-contact-form textarea {
  padding: 14px 16px;
  border: 2px solid #e0e0e0;
  border-radius: 10px;
  font-size: 16px; /* 16px prevents iOS zoom on focus */
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  font-family: inherit;
  width: 100%;
  box-sizing: border-box;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: #fafbfc;
}

.simple-contact-form input[type="text"]:focus,
.simple-contact-form input[type="tel"]:focus,
.simple-contact-form input[type="email"]:focus,
.simple-contact-form textarea:focus {
  outline: none;
  border-color: #5780a8;
  box-shadow: 0 0 0 3px rgba(87, 128, 168, 0.15);
  background: #ffffff;
}

.simple-contact-form textarea {
  resize: vertical;
  min-height: 120px;
}

.simple-contact-form .privacy-agreement .checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  font-weight: 400;
  color: #34495e;
  cursor: pointer;
  line-height: 1.5;
}

.simple-contact-form .privacy-agreement input[type="checkbox"] {
  margin-top: 3px;
  cursor: pointer;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.simple-contact-form .privacy-agreement a {
  color: #5780a8;
  text-decoration: underline;
}

.simple-contact-form .privacy-agreement a:hover {
  color: #3a5f7d;
}

.form-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 32px;
  background: linear-gradient(135deg, #5780a8 0%, #3a5f7d 100%);
  color: white;
  border: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 5px 20px rgba(87, 128, 168, 0.3);
  align-self: flex-start;
  width: auto;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(87, 128, 168, 0.4);
}

.form-submit-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(87, 128, 168, 0.3);
}

.form-submit-btn svg {
  transition: transform 0.3s ease;
}

.form-submit-btn:hover svg {
  transform: translateX(5px);
}

.form-note {
  font-size: 12px;
  color: #999;
  margin: 0;
}

/* ============================================
   Contact Section - Mobile Optimization
   ============================================ */

.contact-section {
  padding: 60px 15px !important;
}

.contact-wrapper {
  max-width: 100% !important;
  padding: 0 5px !important;
}

.contact-header {
  margin-bottom: 35px !important;
}

.contact-header .section-heading {
  font-size: 28px !important;
  margin-bottom: 10px !important;
}

.contact-header .section-subtitle {
  font-size: 16px !important;
}

.contact-form-container {
  border-radius: 16px !important;
  box-shadow: 0 5px 25px rgba(87, 128, 168, 0.1) !important;
}

.contact-features {
  padding: 25px 20px !important;
  gap: 18px !important;
}

.contact-feature {
  font-size: 14px !important;
  gap: 10px !important;
}

.contact-feature svg {
  width: 20px !important;
  height: 20px !important;
  flex-shrink: 0 !important;
}

/* ============================================
   Responsive - Tablet (768px and below)
   ============================================ */

@media (max-width: 768px) {
  .contact-section {
    padding: 50px 15px !important;
  }

  .contact-header .section-heading {
    font-size: 24px !important;
  }

  .contact-header .section-subtitle {
    font-size: 14px !important;
  }

  .contact-form-container {
    grid-template-columns: 1fr !important;
  }

  .contact-features {
    padding: 25px 20px !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px !important;
  }

  .contact-feature {
    flex: 0 0 calc(50% - 6px) !important;
    font-size: 13px !important;
    padding: 12px !important;
    background: rgba(255, 255, 255, 0.1) !important;
    border-radius: 8px !important;
  }

  .contact-form {
    padding: 25px 20px !important;
  }

  .simple-contact-form input[type="text"],
  .simple-contact-form input[type="tel"],
  .simple-contact-form input[type="email"],
  .simple-contact-form textarea {
    padding: 14px 14px;
    font-size: 16px;
  }

  .form-submit-btn {
    width: 100%;
    align-self: stretch;
    padding: 16px 24px;
  }

  .simple-contact-form .privacy-agreement .checkbox-label {
    font-size: 12px;
    gap: 10px;
  }
}

/* ============================================
   Responsive - Mobile (480px and below)
   ============================================ */

@media (max-width: 480px) {
  .contact-section {
    padding: 40px 10px !important;
  }

  .contact-wrapper {
    padding: 0 !important;
  }

  .contact-header {
    margin-bottom: 25px !important;
  }

  .contact-header .section-heading {
    font-size: 22px !important;
    line-height: 1.3 !important;
  }

  .contact-header .section-subtitle {
    font-size: 13px !important;
  }

  .contact-form-container {
    border-radius: 12px !important;
    box-shadow: 0 3px 15px rgba(87, 128, 168, 0.08) !important;
  }

  .contact-features {
    padding: 20px 15px !important;
    gap: 10px !important;
  }

  .contact-feature {
    flex: 0 0 100% !important;
    font-size: 13px !important;
    padding: 10px 12px !important;
  }

  .contact-form {
    padding: 20px 15px !important;
  }

  .simple-contact-form {
    gap: 15px;
  }

  .simple-contact-form .form-group {
    gap: 5px;
  }

  .simple-contact-form label {
    font-size: 13px;
  }

  .simple-contact-form input[type="text"],
  .simple-contact-form input[type="tel"],
  .simple-contact-form input[type="email"],
  .simple-contact-form textarea {
    padding: 13px 14px;
    font-size: 16px; /* Keep 16px to prevent iOS zoom */
    border-radius: 8px;
  }

  .simple-contact-form textarea {
    min-height: 100px;
  }

  .simple-contact-form .privacy-agreement .checkbox-label {
    font-size: 11px;
    gap: 8px;
    line-height: 1.4;
  }

  .simple-contact-form .privacy-agreement input[type="checkbox"] {
    width: 16px;
    height: 16px;
  }

  .form-submit-btn {
    padding: 15px 20px;
    font-size: 15px;
    border-radius: 10px;
  }

  .form-note {
    font-size: 11px;
    text-align: center;
  }
}

/* ============================================
   Responsive - Very Small Screens (360px)
   ============================================ */

@media (max-width: 360px) {
  .contact-section {
    padding: 30px 8px !important;
  }

  .contact-header .section-heading {
    font-size: 20px !important;
  }

  .contact-form {
    padding: 15px 12px !important;
  }

  .simple-contact-form input[type="text"],
  .simple-contact-form input[type="tel"],
  .simple-contact-form input[type="email"],
  .simple-contact-form textarea {
    padding: 12px 12px;
  }

  .form-submit-btn {
    padding: 14px 18px;
    font-size: 14px;
  }
}

/* ============================================
   Contact Form Overflow Safeguards
   ============================================ */

.contact-form-container,
.contact-features,
.contact-feature,
.contact-form,
.contact-form .nf-after-form,
.contact-form .nf-after-form-content,
.contact-form .nf-form-content,
.contact-form .nf-field-container,
.contact-form .nf-field-element,
.contact-form .submit-container,
.simple-contact-form,
.simple-contact-form .form-group,
.simple-contact-form .privacy-agreement,
.simple-contact-form .privacy-agreement .checkbox-label {
  min-width: 0 !important;
}

.contact-feature span,
.privacy-consent-text,
.simple-contact-form .privacy-agreement span,
.privacy-consent-notice p,
.privacy-consent-notice span {
  min-width: 0 !important;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.contact-form
  input:not([type="submit"]):not([type="button"]):not([type="checkbox"]):not(
    [type="radio"]
  ),
.contact-form textarea,
.contact-form select,
.contact-form .ninja-forms-field,
.contact-form .nf-element,
.simple-contact-form input[type="text"],
.simple-contact-form input[type="tel"],
.simple-contact-form input[type="email"],
.simple-contact-form textarea {
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}
