/* ========================================================================
   psikholog-family.ru — Main Stylesheet
   MODX 2.8 | No preprocessors
   ======================================================================== */

/* --- Reset & Base --- */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 1.125rem;
  line-height: 1.7;
  color: #2D3436;
  background-color: #F5F0E8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #D4A574;
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

input, textarea, select {
  font-family: inherit;
  font-size: inherit;
}

/* --- Typography --- */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-weight: 600;
  line-height: 1.3;
  color: #2D3436;
}

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

h3 {
  font-size: 1.5rem;
}

p + p {
  margin-top: 1em;
}

@media (min-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }
}

/* --- Utility Classes --- */

.container {
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

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

  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Sections --- */

.section-cream {
  background-color: #F5F0E8;
  padding: 60px 0;
}

.section-white {
  background-color: #FFFFFF;
  padding: 60px 0;
}

@media (min-width: 768px) {
  .section-cream,
  .section-white {
    padding: 80px 0;
  }
}

.section-title {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.75rem;
  font-weight: 600;
  text-align: center;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: #636e72;
  max-width: 640px;
  margin: 0 auto 48px;
  font-size: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
}

/* --- Animations --- */

.animate-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Site Header / Navigation --- */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.site-header.scrolled {
  background-color: #FFFFFF;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

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

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #2D3436;
  z-index: 1001;
}

.site-logo img {
  height: 40px;
  width: auto;
}

.site-header:not(.scrolled) .site-logo {
  color: #FFFFFF;
}

.site-nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.site-nav a {
  font-size: 0.9375rem;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.3s ease;
}

.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: #D4A574;
  transition: width 0.3s ease;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  width: 100%;
}

.site-header:not(.scrolled) .site-nav a {
  color: #FFFFFF;
}

.site-header:not(.scrolled) .site-nav a:hover {
  color: #D4A574;
}

.header-cta {
  display: none;
}

.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: #2D3436;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header:not(.scrolled) .hamburger span {
  background-color: #FFFFFF;
}

.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

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

.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
  .site-nav {
    display: flex;
  }

  .header-cta {
    display: inline-flex;
  }

  .hamburger {
    display: none;
  }
}

/* --- Mobile Menu --- */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  height: 100dvh;
  background-color: #FFFFFF;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.35s ease;
  padding: 96px 32px 40px;
  overflow-y: auto;
  box-shadow: -4px 0 24px rgba(0, 0, 0, 0.1);
}

.mobile-menu.open {
  transform: translateX(0);
}

.mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.mobile-menu-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-menu nav a {
  display: block;
  padding: 16px 0;
  font-size: 1.125rem;
  font-weight: 500;
  border-bottom: 1px solid #eee;
  transition: color 0.3s ease, padding-left 0.3s ease;
}

.mobile-menu nav a:hover {
  color: #D4A574;
  padding-left: 8px;
}

.mobile-menu .mobile-menu-cta {
  margin-top: 32px;
}

.mobile-menu .mobile-menu-cta .btn-primary {
  width: 100%;
  text-align: center;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #2D3436;
  transition: color 0.3s ease;
}

.mobile-menu-close:hover {
  color: #D4A574;
}

/* --- Hero Section --- */

.hero {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-bg::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(45, 52, 54, 0.55) 0%,
    rgba(45, 52, 54, 0.45) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 100px 20px 60px;
}

.hero-content h1 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-content .hero-subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .hero-content h1 {
    font-size: 3rem;
  }

  .hero-content .hero-subtitle {
    font-size: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-content h1 {
    font-size: 3.5rem;
  }
}

/* --- Buttons --- */

.btn-primary,
.btn-secondary,
.btn-whatsapp,
.btn-telegram {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.9375rem;
  border-radius: 50px;
  padding: 14px 32px;
  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
  cursor: pointer;
  text-decoration: none;
  border: 2px solid transparent;
  line-height: 1.3;
}

.btn-primary {
  background-color: #D4A574;
  color: #FFFFFF;
  border-color: #D4A574;
}

.btn-primary:hover {
  background-color: #c4915e;
  border-color: #c4915e;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background-color: transparent;
  color: #D4A574;
  border-color: #D4A574;
}

.btn-secondary:hover {
  background-color: #D4A574;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.35);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background-color: #25D366;
  color: #FFFFFF;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1eba59;
  border-color: #1eba59;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.btn-telegram {
  background-color: #0088cc;
  color: #FFFFFF;
  border-color: #0088cc;
}

.btn-telegram:hover {
  background-color: #0077b3;
  border-color: #0077b3;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 136, 204, 0.35);
  transform: translateY(-1px);
}

.btn-primary.btn-lg,
.btn-secondary.btn-lg {
  padding: 16px 40px;
  font-size: 1rem;
}

.btn-primary.btn-sm,
.btn-secondary.btn-sm {
  padding: 10px 24px;
  font-size: 0.875rem;
}

/* --- Cards (Base) --- */

.card {
  background-color: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.card-content {
  padding: 24px;
}

.card-content h3 {
  margin-bottom: 12px;
  font-size: 1.25rem;
}

.card-content p {
  color: #636e72;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* --- Service Card --- */

.service-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.service-card-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #F5F0E8;
  border-radius: 50%;
}

.service-card-icon img {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.service-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.service-card p {
  font-size: 0.9375rem;
  color: #636e72;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-card-link {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #D4A574;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.service-card-link:hover {
  color: #c4915e;
  gap: 10px;
}

.service-card-link::after {
  content: '\2192';
}

/* --- Article Card --- */

.article-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.article-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.article-card-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.article-card:hover .article-card-image img {
  transform: scale(1.05);
}

.article-card-content {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-card-date {
  font-size: 0.8125rem;
  color: #B2C9AD;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}

.article-card-content h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
}

.article-card-content h3 a {
  transition: color 0.3s ease;
}

.article-card-content h3 a:hover {
  color: #D4A574;
}

.article-card-excerpt {
  font-size: 0.9375rem;
  color: #636e72;
  line-height: 1.6;
  flex: 1;
}

/* --- CTA Block --- */

.cta-block {
  background-color: #B2C9AD;
  padding: 60px 0;
  text-align: center;
}

.cta-block h2 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.cta-block p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 560px;
  margin: 0 auto 32px;
  font-size: 1.0625rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .cta-block {
    padding: 80px 0;
  }

  .cta-buttons {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
  }
}

/* --- About Section --- */

.about-section {
  padding: 60px 0;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.about-photo {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.about-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.about-text h2 {
  margin-bottom: 16px;
}

.about-text p {
  color: #636e72;
  margin-bottom: 12px;
  font-size: 1rem;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.about-credentials {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #e0ddd6;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.about-credential {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.about-credential-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #B2C9AD;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 768px) {
  .about-section {
    padding: 80px 0;
  }

  .about-grid {
    grid-template-columns: 5fr 7fr;
    gap: 60px;
  }
}

/* --- Testimonial Card --- */

.testimonial-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  position: relative;
}

.testimonial-card::before {
  content: '\201C';
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 4rem;
  line-height: 1;
  color: #B2C9AD;
  position: absolute;
  top: 20px;
  left: 28px;
  opacity: 0.5;
}

.testimonial-card-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #636e72;
  font-style: italic;
  margin-bottom: 20px;
  padding-top: 24px;
}

.testimonial-card-author {
  font-weight: 600;
  font-size: 0.9375rem;
  color: #2D3436;
}

.testimonial-card-meta {
  font-size: 0.8125rem;
  color: #b2bec3;
  margin-top: 4px;
}

/* --- Breadcrumbs --- */

.breadcrumbs {
  padding: 16px 0;
  font-size: 0.8125rem;
  color: #b2bec3;
}

.breadcrumbs a {
  color: #636e72;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #D4A574;
}

.breadcrumbs span.separator {
  margin: 0 8px;
  color: #ddd;
}

.breadcrumbs span.separator::before {
  content: '/';
}

.breadcrumbs span.current {
  color: #2D3436;
}

/* --- Service Landing Page --- */

.service-page {
  padding-top: 72px;
}

.service-page-hero {
  background-color: #B2C9AD;
  padding: 60px 0;
  text-align: center;
}

.service-page-hero h1 {
  color: #FFFFFF;
  margin-bottom: 16px;
}

.service-page-hero p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 640px;
  margin: 0 auto;
  font-size: 1.0625rem;
}

.service-problem {
  padding: 60px 0;
}

.service-problem h2 {
  margin-bottom: 20px;
}

.service-problem p {
  color: #636e72;
  max-width: 720px;
}

.service-problem ul {
  margin-top: 20px;
  max-width: 720px;
}

.service-problem ul li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  color: #636e72;
}

.service-problem ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: #B2C9AD;
}

.service-steps {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.service-steps h2 {
  text-align: center;
  margin-bottom: 48px;
}

.service-step {
  display: flex;
  gap: 24px;
  margin-bottom: 40px;
  align-items: flex-start;
}

.service-step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #D4A574;
  color: #FFFFFF;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.service-step-content h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

.service-step-content p {
  color: #636e72;
  font-size: 0.9375rem;
}

@media (min-width: 768px) {
  .service-page-hero {
    padding: 80px 0;
  }

  .service-problem,
  .service-steps {
    padding: 80px 0;
  }
}

/* --- Blog Grid --- */

.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

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

@media (min-width: 1024px) {
  .blog-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- Article Content --- */

.article-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 40px 20px 80px;
}

.article-content h1 {
  margin-bottom: 16px;
}

.article-content .article-meta {
  font-size: 0.875rem;
  color: #b2bec3;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e0ddd6;
}

.article-content h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.article-content h3 {
  margin-top: 36px;
  margin-bottom: 12px;
}

.article-content p {
  margin-bottom: 20px;
  color: #2D3436;
}

.article-content a {
  color: #D4A574;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s ease;
}

.article-content a:hover {
  color: #c4915e;
}

.article-content blockquote {
  margin: 32px 0;
  padding: 24px 28px;
  border-left: 4px solid #B2C9AD;
  background-color: #F5F0E8;
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: #636e72;
}

.article-content blockquote p {
  color: #636e72;
  margin-bottom: 0;
}

.article-content blockquote p + p {
  margin-top: 12px;
}

.article-content ul,
.article-content ol {
  margin: 20px 0;
  padding-left: 0;
}

.article-content ul li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 10px;
}

.article-content ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 11px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #B2C9AD;
}

.article-content ol {
  counter-reset: article-ol;
}

.article-content ol li {
  counter-increment: article-ol;
  position: relative;
  padding-left: 32px;
  margin-bottom: 10px;
}

.article-content ol li::before {
  content: counter(article-ol) '.';
  position: absolute;
  left: 0;
  font-weight: 600;
  color: #D4A574;
}

.article-content img {
  border-radius: 12px;
  margin: 32px 0;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

.article-content figure {
  margin: 32px 0;
}

.article-content figure img {
  margin: 0 0 12px 0;
}

.article-content figcaption {
  font-size: 0.8125rem;
  color: #b2bec3;
  text-align: center;
  font-style: italic;
}

/* --- Pricing Section --- */

.pricing-section {
  padding: 60px 0;
}

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 48px;
}

.pricing-card {
  background-color: #FFFFFF;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.1);
}

.pricing-card.featured {
  border: 2px solid #D4A574;
  position: relative;
}

.pricing-card.featured::before {
  content: attr(data-label);
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #D4A574;
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 16px;
  border-radius: 50px;
  white-space: nowrap;
}

.pricing-card-name {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.pricing-card-duration {
  font-size: 0.875rem;
  color: #b2bec3;
  margin-bottom: 20px;
}

.pricing-card-price {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2D3436;
  margin-bottom: 4px;
}

.pricing-card-price span {
  font-size: 1rem;
  font-weight: 400;
  color: #b2bec3;
}

.pricing-card-description {
  font-size: 0.9375rem;
  color: #636e72;
  margin-bottom: 24px;
  flex: 1;
}

.pricing-card .btn-primary,
.pricing-card .btn-secondary {
  width: 100%;
}

@media (min-width: 768px) {
  .pricing-section {
    padding: 80px 0;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* --- FAQ Section --- */

.faq-section {
  padding: 60px 0;
}

.faq-list {
  max-width: 800px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid #e0ddd6;
}

.faq-item:first-child {
  border-top: 1px solid #e0ddd6;
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  transition: color 0.3s ease;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #D4A574;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: #D4A574;
}

.faq-item-answer {
  padding: 0 0 20px;
  font-size: 0.9375rem;
  color: #636e72;
  line-height: 1.7;
}

.faq-toggle {
  border-bottom: 1px solid #e0ddd6;
}

.faq-toggle:first-child {
  border-top: 1px solid #e0ddd6;
}

.faq-toggle-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.3s ease;
  width: 100%;
  text-align: left;
}

.faq-toggle-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: #D4A574;
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-toggle.active .faq-toggle-question::after {
  transform: rotate(45deg);
}

.faq-toggle-question:hover {
  color: #D4A574;
}

.faq-toggle-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

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

.faq-toggle-answer p {
  font-size: 0.9375rem;
  color: #636e72;
  line-height: 1.7;
}

@media (min-width: 768px) {
  .faq-section {
    padding: 80px 0;
  }
}

/* --- Footer --- */

.site-footer {
  background-color: #2D3436;
  color: rgba(255, 255, 255, 0.7);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  padding-bottom: 48px;
}

.footer-col h4 {
  font-family: 'Cormorant Garamond', 'Georgia', serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 20px;
}

.footer-col p {
  font-size: 0.9375rem;
  line-height: 1.7;
  margin-bottom: 8px;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: #D4A574;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  font-size: 0.9375rem;
}

.footer-social {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s ease;
}

.footer-social a:hover {
  background-color: #D4A574;
}

.footer-social img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.footer-contacts a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  font-size: 0.9375rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.8125rem;
}

@media (min-width: 768px) {
  .site-footer {
    padding: 80px 0 0;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    padding-bottom: 60px;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 4fr 3fr 3fr;
  }
}

/* --- Forms --- */

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

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: #2D3436;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #e0ddd6;
  border-radius: 12px;
  background-color: #FFFFFF;
  color: #2D3436;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #B2C9AD;
  box-shadow: 0 0 0 3px rgba(178, 201, 173, 0.2);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #b2bec3;
}

/* --- Contact Section --- */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
}

.contact-info-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #F5F0E8;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-text h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-info-text p {
  font-size: 0.9375rem;
  color: #636e72;
}

@media (min-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    gap: 60px;
  }
}

/* --- Page Header (inner pages) --- */

.page-header {
  padding-top: 72px;
  background-color: #B2C9AD;
  text-align: center;
  padding-bottom: 48px;
}

.page-header .container {
  padding-top: 40px;
}

.page-header h1 {
  color: #FFFFFF;
  margin-bottom: 12px;
}

.page-header p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 600px;
  margin: 0 auto;
}

.page-header .breadcrumbs {
  margin-bottom: 20px;
}

.page-header .breadcrumbs,
.page-header .breadcrumbs a {
  color: rgba(255, 255, 255, 0.6);
}

.page-header .breadcrumbs a:hover {
  color: #FFFFFF;
}

.page-header .breadcrumbs span.current {
  color: rgba(255, 255, 255, 0.9);
}

@media (min-width: 768px) {
  .page-header {
    padding-bottom: 60px;
  }

  .page-header .container {
    padding-top: 56px;
  }
}

/* --- Pagination --- */

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 48px;
}

.pagination a,
.pagination span {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.pagination a:hover {
  background-color: #F5F0E8;
  color: #D4A574;
}

.pagination span.current {
  background-color: #D4A574;
  color: #FFFFFF;
}

.pagination a.prev,
.pagination a.next {
  width: auto;
  padding: 0 16px;
  border-radius: 50px;
  font-size: 0.875rem;
}

/* --- Tags / Categories --- */

.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background-color: #F5F0E8;
  color: #B2C9AD;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tag:hover {
  background-color: #B2C9AD;
  color: #FFFFFF;
}

/* --- Badge --- */

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  background-color: #B2C9AD;
  color: #FFFFFF;
}

/* --- Divider --- */

.divider {
  width: 60px;
  height: 3px;
  background-color: #D4A574;
  border: none;
  border-radius: 2px;
  margin: 20px auto;
}

/* --- Back to top --- */

.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: #D4A574;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 16px rgba(212, 165, 116, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: 900;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.back-to-top:hover {
  transform: translateY(-2px);
  background-color: #c4915e;
  color: #FFFFFF;
}

/* --- Spacing offset for fixed header --- */

.page-body {
  padding-top: 72px;
}

/* --- Map embed --- */

.map-wrapper {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.map-wrapper iframe {
  width: 100%;
  height: 320px;
  border: 0;
  display: block;
}

@media (min-width: 768px) {
  .map-wrapper iframe {
    height: 400px;
  }
}

/* --- Gallery grid --- */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.gallery-grid img {
  border-radius: 12px;
  width: 100%;
  height: 200px;
  object-fit: cover;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-grid img:hover {
  transform: scale(1.03);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }

  .gallery-grid img {
    height: 240px;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* --- Cookie banner --- */

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2D3436;
  color: rgba(255, 255, 255, 0.85);
  padding: 16px 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  align-items: center;
  font-size: 0.875rem;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner p {
  margin: 0;
  text-align: center;
}

.cookie-banner a {
  color: #D4A574;
  text-decoration: underline;
}

@media (min-width: 768px) {
  .cookie-banner {
    flex-direction: row;
    justify-content: center;
    padding: 16px 32px;
  }

  .cookie-banner p {
    text-align: left;
  }
}

/* --- Loader / Skeleton --- */

.skeleton {
  background: linear-gradient(
    90deg,
    #e8e4dc 25%,
    #f0ece4 50%,
    #e8e4dc 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 8px;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* --- Wide container --- */

@media (min-width: 1200px) {
  .container-wide {
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* --- Print --- */

@media print {
  .site-header,
  .site-footer,
  .mobile-menu,
  .mobile-menu-overlay,
  .back-to-top,
  .cookie-banner,
  .cta-block,
  .btn-whatsapp,
  .btn-telegram {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }

  .hero {
    min-height: auto;
    padding: 40px 0;
  }

  .hero-bg::after {
    display: none;
  }

  .article-content {
    max-width: 100%;
    padding: 0;
  }

  a {
    color: #000;
    text-decoration: underline;
  }
}
