/*
  style_gottman_conversion_modern.css
  Refactor pass:
  - removed all declarations;
  - moved responsive overrides to a mobile-first modernization layer;
  - added clamp() typography;
  - consolidated design tokens in :root;
  - added a11y/touch-target improvements.
*/

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/inter/inter-v19-latin-regular.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/playfair-display/playfair-display-v39-latin-700.woff2") format("woff2");
  font-display: swap;
}

@font-face {
  font-family: "Inter Fallback";
  src: local("Arial");
  ascent-override: 90.28%;
  descent-override: 22.45%;
  line-gap-override: 0%;
  size-adjust: 107.45%;
}

@font-face {
  font-family: "Playfair Display Fallback";
  src: local("Times New Roman");
  ascent-override: 100%;
  descent-override: 34%;
  size-adjust: 94.5%;
}

:root {
  --primary: #e11d48;
  --primary-light: #fecdd3;
  --primary-dark: #be123c;
  --secondary: #0f172a;
  --accent: #7e22ce;
  --text: #1e293b;
  --text-light: #64748b;
  --bg: #f8fafc;
  --white: #ffffff;
  --border-radius: 16px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --mobile-safe-area: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  --navbar-height: 80px;
  --glass-bg: rgba(255, 255, 255, 0.85);
  --glass-border: rgba(255, 255, 255, 0.2);
  --light: #fff1f2;
  --dark: #1f2937;
  --gray: #9ca3af;
  --light-bg: #fdf2f8;
  --card-bg: #ffffff;
  --rose-50: #fff1f2;
  --rose-100: #ffe4e6;
  --rose-600: #e11d48;
  --indigo-50: #eef2ff;
  --indigo-600: #4f46e5;
  --pink-600: #db2777;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-600: #4b5563;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1);
  --shadow-xl: 0 20px 25px rgba(0,0,0,0.1);
  --rounded-md: 0.375rem;
  --rounded-lg: 0.5rem;
  --rounded-xl: 0.75rem;
  --rounded-2xl: 1rem;
  --rounded-3xl: 1.5rem;
  --rounded-full: 9999px;
}

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

body {
  font-family: "Inter", "Inter Fallback", sans-serif;
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--navbar-height);
}

h1, h2, h3, h4 {
  font-family: "Playfair Display", "Playfair Display Fallback", serif;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
}

.container {
  width: 100%;
}

.section {
  padding: 80px 0;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition);
  gap: 8px;
  align-items: center;
  justify-content: center;
}

.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.2);
}

.btn i {
  margin-right: 8px;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--navbar-height);
  background: var(--glass-bg);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 2rem;
  max-width: 1280px;
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--secondary);
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: translateY(-2px);
}

.logo-icon {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: var(--white);
  border-radius: 50%;
  margin-right: 12px;
  box-shadow: 0 4px 12px rgba(225, 29, 72, 0.25);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  position: relative;
  color: var(--secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link:focus {
  color: var(--primary);
  outline: none;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
  border-radius: 1px;
}

.nav-link:hover::after, .nav-link:focus::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--secondary);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  z-index: 1001;
}

.mobile-menu-btn:hover {
  transform: scale(1.1);
}

.mobile-menu-btn.active .fas {
  color: var(--primary);
}

.nav-links.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: var(--navbar-height);
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem 0;
  animation: slideDown 0.4s ease forwards;
  z-index: 999;
}

@keyframes slideDown { from { opacity: 0; transform: translateY(-10px); } to { opacity: 1; transform: translateY(0); } }

.language-switcher-desktop, .language-switcher-mobile {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.95rem;
}

.lang-link {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

.lang-link:hover:not(.active) {
  color: var(--primary);
}

.separator {
  color: var(--text-light);
}

.hero {
  padding: 5rem 0;
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.6) 0%, white 50%, rgba(252, 231, 243, 0.6) 100%);
  position: relative;
  overflow: hidden;
}

.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.2;
  width: 25vw;
  height: 25vw;
  max-width: 300px;
  max-height: 300px;
  z-index: -1;
}

.hero::before {
  top: 20%;
  left: 10%;
  background-color: #fbcfe8;
  mix-blend-mode: multiply;
}

.hero::after {
  bottom: 20%;
  right: 10%;
  background-color: #fecaca;
  mix-blend-mode: multiply;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 3rem;
}

@media (min-width: 1024px) {
  .hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    text-align: left;
  }

  .animate-fade-in {
    align-self: center;
  }

  .hero-image {
    justify-self: center;
  }
}

.hero-badge {
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-title {
  display: inline-block;
  background-color: var(--primary-light);
  color: var(--primary-dark);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
  font-family: "Inter", "Inter Fallback", sans-serif;
  line-height: 1.6;
}

.hero-subtitle {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1.3;
  margin-bottom: 1.5rem;
  margin-top: -1rem;
  font-family: "Playfair Display", "Playfair Display Fallback", serif;
}

.hero-badge {
  display: none;
}

.hero-title .icon {
  margin-right: 8px;
}

.hero-description {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  max-width: 36rem;
  margin-left: auto;
  margin-right: auto;
  color: var(--text);
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

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

.stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-image {
  max-width: 100%;
  margin: 0 auto;
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 8px solid white;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
}

.trust-badges {
  background-color: #f8fafc;
  padding: 2rem 0;
  text-align: center;
}

.badges-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  justify-items: center;
}

.badge-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  max-width: 150px;
}

.trust-badges .badge-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 0.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary);
  font-size: 1.5rem;
}

.trust-badges .badge-text {
  font-size: 0.875rem;
  font-weight: 500;
  text-align: center;
  color: var(--text);
  line-height: 1.4;
}

.about-section {
  padding: 5rem 0;
  background-color: white;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.divider {
  width: 6rem;
  height: 0.25rem;
  background-color: var(--primary);
  margin: 0 auto 1.5rem;
}

.section-header p {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 48rem;
  margin: 0 auto;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
}

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

.profile-card {
  background-color: white;
  border-radius: 1.5rem;
  border: 1px solid #e5e7eb;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  transition: box-shadow 0.3s ease;
  margin-bottom: 2rem;
}

.profile-card:hover {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.profile-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.profile-avatar {
  width: 5rem;
  height: 5rem;
  background: linear-gradient(to right, #e11d48, #ec4899);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  font-weight: 600;
  margin-right: 1.5rem;
}

.profile-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.profile-info p {
  color: var(--primary);
  font-weight: 500;
}

.profile-description p {
  margin-bottom: 1rem;
  line-height: 1.6;
  color: var(--text);
}

.profile-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.profile-footer a {
  display: flex;
  align-items: center;
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
  transition: color 0.3s ease;
}

.profile-footer a:hover {
  color: var(--primary-dark);
}

.profile-footer i {
  margin-right: 0.5rem;
}

.education-section h4 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
}

.education-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

@media (min-width: 640px) {
  .education-list {
    grid-template-columns: 1fr 1fr;
  }
}

.education-item {
  background-color: white;
  border-radius: 0.75rem;
  border: 1px solid #e5e7eb;
  padding: 1.25rem;
  display: flex;
  align-items: flex-start;
  transition: box-shadow 0.3s ease;
}

.education-item:hover {
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.education-item i {
  width: 1.5rem;
  height: 1.5rem;
  color: #2563eb;
  margin-right: 0.75rem;
  flex-shrink: 0;
}

.education-item h5 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.education-item p {
  color: #64748b;
  font-size: 0.875rem;
}

.modern-diplomas {
  background: linear-gradient(180deg, #ffffff 0%, var(--gray-50) 100%);
  border-radius: 1.5rem;
  padding: 2rem 1rem;
  box-shadow: 0 10px 40px rgba(0,0,0,0.03);
  border: 1px solid rgba(225, 29, 72, 0.05);
  overflow: hidden;
  position: relative;
}

.modern-diplomas .diplomas-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  padding: 0 1rem;
}

.header-text-group h4 {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
  display: flex;
  align-items: center;
}

.header-text-group h4 i {
  color: var(--primary);
  margin-right: 10px;
  font-size: 1.2rem;
}

.diplomas-subtitle {
  font-family: "Inter", sans-serif;
}

.modern-diplomas .diplomas-controls button {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  color: var(--secondary);
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-diplomas .diplomas-controls button:hover {
  background: var(--primary);
  color: white;
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 15px rgba(225, 29, 72, 0.2);
}

.diplomas-gallery-wrapper {
  position: relative;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.diploma-carousel {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  padding: 20px 50vw 40px 10vw;
  -webkit-overflow-scrolling: touch;
  align-items: center;
}

.diploma-carousel::-webkit-scrollbar {
  display: none;
}

.diploma-card {
  scroll-snap-align: center;
  min-width: 260px;
  max-width: 280px;
  flex-shrink: 0;
  background: white;
  border-radius: 20px;
  padding: 12px;
  transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  cursor: pointer;
  transform: scale(0.85);
  opacity: 0.6;
  filter: grayscale(30%);
}

.diploma-card.is-active {
  transform: scale(1.05);
  opacity: 1;
  filter: grayscale(0%);
  box-shadow: 0 20px 40px rgba(225, 29, 72, 0.15);
  border: 1px solid rgba(225, 29, 72, 0.1);
  z-index: 2;
}

.diploma-image-wrapper {
  width: 100%;
  height: 190px;
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.diploma-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 5px;
  transition: transform 0.5s ease;
}

.diploma-card.is-active:hover .diploma-image-wrapper img {
  transform: scale(1.03);
}

.diploma-overlay {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
}

.diploma-overlay i {
  color: white;
  font-size: 2rem;
  transform: scale(0.5);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.diploma-card.is-active:hover .diploma-overlay {
  opacity: 1;
}

.diploma-card.is-active:hover .diploma-overlay i {
  transform: scale(1);
}

.diploma-info {
  padding: 15px 5px 5px;
}

.diploma-caption {
  margin-bottom: 4px;
}

.diploma-subcaption {
  font-weight: 500;
}

.diplomas-navigation {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 1rem;
}

.diploma-indicator {
  width: 8px;
  height: 8px;
  border-radius: 4px;
  background-color: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.diploma-indicator.active {
  width: 24px;
  background-color: var(--primary);
}

.diploma-lightbox {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.lightbox-backdrop {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-backdrop-filter: blur(10px);
}

.lightbox-close {
  font-size: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: var(--primary);
  transform: rotate(90deg);
}

.lightbox-content {
  transform: scale(0.9);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.diploma-lightbox.active .lightbox-content {
  transform: scale(1);
}

.lightbox-content img {
  box-shadow: 0 25px 50px rgba(0,0,0,0.5);
}

@media (min-width: 1024px) {
  .diploma-carousel {
    padding: 20px calc(50% - 140px);
  }
}

.benefit-item {
  margin-bottom: 2rem;
}

.benefit-icon {
  background-color: rgba(225, 29, 72, 0.1);
  margin-right: 16px;
}

.benefit-icon i {
  width: 24px;
  height: 24px;
  stroke-width: 1.5;
}

.benefit-item h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.benefit-item p {
  color: var(--text-light);
  font-size: 1rem;
}

.benefit-item:hover .benefit-icon {
  background-color: rgba(225, 29, 72, 0.15);
}

.gottman-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--rose-50) 0%, var(--indigo-50) 100%);
  position: relative;
  overflow: hidden;
  border-radius: var(--rounded-3xl);
  margin: 2rem 0;
}

.gottman-section::before {
  content: "";
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(225, 29, 72, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.gottman-section::after {
  content: "";
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: rgba(126, 34, 206, 0.05);
  border-radius: 50%;
  z-index: 0;
}

.section-title {
  position: relative;
  z-index: 2;
}

.section-title h2 {
  font-family: "Playfair Display", serif;
  color: var(--secondary);
}

.section-title .divider {
  width: 60px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.7;
}

.gottman-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

@media (min-width: 992px) {
  .gottman-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.benefits-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit-item {
  background: var(--white);
  border-radius: var(--rounded-2xl);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  border-left: 4px solid var(--primary);
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--accent);
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--primary-light) 0%, var(--primary) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.benefit-item:hover .benefit-icon {
  transform: scale(1.1);
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
}

.benefit-icon i {
  color: var(--white);
  font-size: 1.5rem;
}

.benefit-text h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.benefit-text p {
  color: var(--text-light);
  line-height: 1.6;
}

.gottman-explanation {
  background: var(--white);
  border-radius: var(--rounded-2xl);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.gottman-explanation::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, rgba(225, 29, 72, 0.03) 0%, rgba(79, 70, 229, 0.03) 100%);
  z-index: 0;
}

.explanation-card {
  position: relative;
  z-index: 2;
}

.explanation-card h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  color: var(--secondary);
  margin-bottom: 1rem;
  text-align: center;
}

.explanation-card > p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  text-align: center;
  font-size: 1.125rem;
}

.principles-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.principle-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: var(--gray-50);
  padding: 1.25rem;
  border-radius: var(--rounded-xl);
  transition: var(--transition);
}

.principle-item:hover {
  background: var(--gray-100);
  transform: translateX(5px);
}

.principle-number {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  flex-shrink: 0;
}

.principle-content h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--secondary);
}

.principle-content p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.6;
}

.testimonial-card {
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: "\"";
  position: absolute;
  top: -20px;
  right: 20px;
  font-size: 120px;
  font-family: "Playfair Display", serif;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
}

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

.check-action {
  margin-top: 3rem;
  position: relative;
  z-index: 2;
}

.test-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: var(--shadow-md);
  gap: 0.75rem;
}

.test-button i {
  font-size: 1.25rem;
}

@keyframes scaleIn { from { opacity: 0; transform: scale(0.95); } to { opacity: 1; transform: scale(1); } }

.animate-fade-in {
  animation: fadeIn 0.8s ease forwards;
}

.animate-scale-in {
  animation: scaleIn 0.8s ease forwards;
}

.health-check-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #fff1f2 0%, #fdf2f8 100%);
}

.check-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 40px;
}

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

.check-card {
  display: block;
  border-radius: 20px;
  padding: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  text-decoration: none;
}

.check-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.blue-card {
  background-color: #dbeafe;
}

.amber-card {
  background-color: #fef3c7;
}

.check-card h3 {
  font-size: 1.5rem;
  margin-bottom: 15px;
}

.blue-card h3 {
  color: #1d4ed8;
}

.amber-card h3 {
  color: #b45309;
}

.check-card p {
  margin-bottom: 20px;
  color: #334155;
}

.card-link {
  display: inline-flex;
  align-items: center;
  font-weight: 500;
}

.blue-card .card-link {
  color: #1d4ed8;
}

.amber-card .card-link {
  color: #b45309;
}

.card-link i {
  width: 16px;
  height: 16px;
  margin-left: 5px;
}

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

.test-button {
  background: linear-gradient(to right, #e11d48, #ec4899);
  color: white;
  border: none;
  border-radius: 50px;
  padding: 15px 40px;
  font-size: 1.125rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.test-button:hover {
  background: linear-gradient(to right, #be123c, #db2777);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(225, 29, 72, 0.2);
}

.services-section {
  padding: 100px 0;
  background: linear-gradient(135deg, #fdf2f8 0%, #f0f9ff 100%);
  position: relative;
  overflow: hidden;
}

.services-section::before {
  content: "";
  position: absolute;
  top: -100px;
  right: -100px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(225, 29, 72, 0.05);
  z-index: 0;
}

.services-section::after {
  content: "";
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: rgba(79, 70, 229, 0.05);
  z-index: 0;
}

.services-section .section-header {
  text-align: center;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.services-section .section-header h2 {
  font-size: 2.8rem;
  margin-bottom: 20px;
}

.services-section .divider {
  width: 80px;
  height: 4px;
  background: linear-gradient(to right, var(--primary), var(--accent));
  margin: 0 auto 25px;
  border-radius: 2px;
}

.services-section .section-header p {
  font-size: 1.2rem;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.services-grid {
  position: relative;
  z-index: 2;
}

@media (min-width: 1200px) {
  .services-grid {
    gap: 60px;
  }
}

.service-card {
  background: var(--white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
  position: relative;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  background: linear-gradient(to right, var(--primary), var(--accent));
}

.service-header {
  padding: 35px 35px 25px;
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--white);
}

.service-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  transform: scale(1.05) rotate(5deg);
}

.rose-icon {
  background: linear-gradient(135deg, #ffe4e6, #fecdd3);
}

.indigo-icon {
  background: linear-gradient(135deg, #e0e7ff, #c7d2fe);
}

.service-icon i {
  font-size: 2.2rem;
}

.rose-icon i {
  color: var(--primary);
}

.indigo-icon i {
  color: var(--indigo-600);
}

.service-title-container h3 {
  font-size: 1.8rem;
  margin-bottom: 5px;
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.service-price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-light);
}

.service-features {
  flex-grow: 1;
}

.service-features ul {
  list-style: none;
}

.service-features li {
  display: flex;
  align-items: flex-start;
  margin-bottom: 15px;
  color: var(--text);
}

.service-features li i {
  color: var(--primary);
  margin-right: 12px;
  margin-top: 4px;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.service-notice {
  padding: 20px 35px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin: 0 20px 30px;
  border-radius: 16px;
}

.rose-notice {
  background: linear-gradient(135deg, #fff1f2, #ffe4e6);
}

.indigo-notice {
  background: linear-gradient(135deg, #eef2ff, #e0e7ff);
}

.service-notice i {
  font-size: 1.3rem;
  flex-shrink: 0;
  margin-top: 2px;
}

.rose-notice i {
  color: var(--primary);
}

.indigo-notice i {
  color: var(--indigo-600);
}

.service-notice p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.rose-notice p {
  color: var(--primary-dark);
}

.indigo-notice p {
  color: #3730a3;
}

.service-button-container {
  padding: 0 35px 35px;
}

.service-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 18px 25px;
  background: linear-gradient(to right, var(--primary), var(--primary-dark));
  color: white;
  border: none;
  border-radius: 14px;
  font-size: 1.1rem;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
}

.service-button:hover {
  background: linear-gradient(to right, var(--primary-dark), #9f1239);
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(225, 29, 72, 0.4);
}

.therapy-process {
  background: linear-gradient(135deg, var(--rose-50) 0%, var(--indigo-50) 100%);
  padding: 6rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 4rem;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.title-divider {
  width: 6rem;
  height: 0.25rem;
  background: var(--rose-600);
  margin: 0 auto 1.5rem;
}

.section-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  max-width: 48rem;
  margin: 0 auto;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.step-card {
  background: var(--white);
  border-radius: var(--rounded-3xl);
  padding: 2rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  color: var(--rose-600);
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.step-description {
  color: var(--gray-600);
}

.testimonials-section {
  background: var(--white);
  padding: 6rem 0;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--rounded-2xl);
  padding: 1.5rem;
  height: 100%;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}

.testimonial-card:hover {
  box-shadow: var(--shadow-xl);
}

.testimonial-text {
  color: var(--gray-600);
  margin-bottom: 1rem;
  font-style: italic;
  line-height: 1.6;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.author-avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: var(--rose-100);
  border-radius: var(--rounded-full);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: var(--rose-600);
}

.author-info {
  font-size: 0.875rem;
}

.author-name {
  font-weight: 500;
  color: var(--gray-900);
}

.feedback-btn {
  display: inline-block;
  margin-top: 2rem;
  padding: 0.75rem 1.5rem;
  background: var(--rose-600);
  color: white;
  border-radius: var(--rounded-full);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: var(--shadow-md);
}

.feedback-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: #d31640;
}

.cta-section {
  background: linear-gradient(90deg, var(--rose-600) 0%, var(--pink-600) 100%);
  color: white;
  padding: 4rem 0;
  text-align: center;
}

.cta-title {
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.cta-description {
  font-size: 1.25rem;
  max-width: 48rem;
  margin: 0 auto 2.5rem;
  opacity: 0.9;
}

.cta-btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background: transparent;
  color: white;
  border: 2px solid white;
  border-radius: var(--rounded-full);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.cta-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.contact-section {
  background: var(--white);
  padding: 6rem 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.contact-icon {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--rose-100);
  border-radius: var(--rounded-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--rose-600);
}

.contact-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.social-links {
  margin-top: 1rem;
}

.contact-form {
  background: var(--gray-50);
  border-radius: var(--rounded-3xl);
  padding: 2rem;
  height: 100%;
}

.form-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.form-description {
  color: var(--gray-600);
  margin-bottom: 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--gray-700);
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: var(--rounded-lg);
  font-size: 1rem;
  transition: var(--transition);
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--rose-600);
  box-shadow: 0 0 0 3px rgba(225, 29, 72, 0.1);
}

.form-select {
  appearance: none;
  background-color: white;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1rem;
}

.form-textarea {
  min-height: 6rem;
  resize: vertical;
}

.messenger-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: var(--rose-600);
  color: white;
  border-radius: var(--rounded-lg);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.whatsapp-btn:hover {
  background: #d31640;
  transform: translateY(-2px);
}

.telegram-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  background: white;
  color: var(--rose-600);
  border: 1px solid var(--rose-600);
  border-radius: var(--rounded-lg);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.telegram-btn:hover {
  background: var(--rose-50);
  transform: translateY(-2px);
}

.faq-section {
  background-color: var(--light);
  padding: 80px 0;
}

.faq-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-card {
  background: var(--card-bg);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border: 1px solid rgba(252, 231, 243, 0.8);
  animation: fadeIn 0.5s ease-out forwards;
  opacity: 0;
}

@keyframes fadeIn { to { opacity: 1; transform: translateY(0); } }

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  text-align: left;
  background: none;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: rgba(255, 241, 242, 0.5);
}

.faq-question span {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  flex: 1;
  text-align: left;
}

.faq-icon {
  width: 24px;
  height: 24px;
  color: var(--primary);
  transition: transform 0.3s ease;
  margin-left: 15px;
  flex-shrink: 0;
}

.faq-icon.rotate {
  transform: rotate(180deg);
}

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

.faq-answer.open {
  padding: 0 20px 20px;
  max-height: 1000px;
}

.faq-answer p {
  padding: 10px 0;
  line-height: 1.7;
  color: #334155;
}

.faq-cta {
  text-align: center;
  margin-top: 40px;
}

.faq-cta p {
  color: #4b5563;
  font-weight: 500;
  font-size: 1rem;
}

.map-container {
  height: 400px;
  background-color: #f0f0f0;
  border-radius: 12px;
  overflow: hidden;
}

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

.footer {
  padding: 60px 0 20px;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #c53a9d, #667eea);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin-bottom: 40px;
}

.footer-card {
  display: flex;
  flex-direction: column;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-logo i {
  color: #c53a9d;
  font-size: 2rem;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.footer-logo:hover i {
  transform: scale(1.2);
}

.footer-card p {
  line-height: 1.6;
  margin-bottom: 25px;
  color: #cbd5e0;
  flex-grow: 1;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, #c53a9d, #667eea);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 0;
}

.social-link:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.social-link:hover::before {
  opacity: 1;
}

.social-link i {
  position: relative;
  z-index: 1;
}

.footer-title {
  font-size: 1.25rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
  font-weight: 600;
}

.footer-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #c53a9d, #667eea);
  border-radius: 3px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #cbd5e0;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
}

.footer-links a::before {
  content: "•";
  color: #c53a9d;
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.footer-links a:hover {
  color: #fff;
  transform: translateX(5px);
}

.footer-links a:hover::before {
  transform: scale(1.5);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  color: #cbd5e0;
  transition: color 0.3s ease;
}

.footer-contact-item:hover {
  color: #fff;
}

.footer-contact-item i {
  margin-right: 15px;
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #a0aec0;
  font-size: 0.9rem;
}

@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-10px); } 100% { transform: translateY(0px); } }

.footer-logo i {
  animation: float 4s ease-in-out infinite;
}

.decoration-1 {
  color: #c53a9d;
}

.decoration-2 {
  color: #667eea;
}

.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
  font-size: inherit;
}

.nav-icon {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

.btn-icon {
  font-size: 1rem;
  margin-right: 0.3rem;
}

.stat-icon {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.body-modal-open {
  overflow: hidden;
}

.test-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--mobile-safe-area);
  z-index: 1000;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.test-modal.active {
  visibility: visible;
  opacity: 1;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(106, 27, 221, 0.4), rgba(249, 115, 22, 0.3));
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.4s ease;
}

.modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--border-radius);
  box-shadow: var(--shadow);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  animation: slideUp 0.4s ease forwards;
}

@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

.close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: white;
  border: 2px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
  color: #94a3b8;
  z-index: 11;
}

.close-btn:hover {
  background: #fef2f2;
  border-color: var(--secondary);
  color: var(--secondary);
  transform: rotate(90deg);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.close-btn i {
  width: 20px;
  height: 20px;
}

.test-question h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 1.5rem;
  text-align: center;
  line-height: 1.4;
}

.test-options {
  display: grid;
  gap: 12px;
  grid-template-columns: 1fr;
  max-width: 100%;
  margin-top: 1rem;
}

.test-option {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px 20px;
  font-size: 1rem;
  color: var(--text);
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  word-break: break-word;
  white-space: normal;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.test-option:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(109, 40, 217, 0.15);
}

.test-option:active {
  transform: scale(0.98);
}

.test-option.selected {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary-dark);
  font-weight: 600;
}

.test-results {
  padding: 2rem 1rem;
  text-align: center;
}

.test-results h3 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.2rem;
}

.test-results p {
  font-size: 1.1rem;
  color: var(--text-light);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.test-results p strong {
  color: var(--text);
  font-weight: 600;
}

.test-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.test-actions .btn {
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  display: block;
}

.btn-primary {
  background: var(--primary);
  color: white;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--primary-light);
  color: var(--primary-dark);
}

.language-switcher-desktop {
  margin-left: 20px;
}

.language-switcher-mobile {
  display: none;
  margin-left: auto;
  margin-right: 15px;
}

.lang-link.active {
  font-weight: bold;
  color: #000;
  text-decoration: none;
  pointer-events: none;
}

.blog-article-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #f9fafb 0%, #f3f4f6 100%);
}

.loading-spinner {
  text-align: center;
  padding: 2rem;
  color: #6b7280;
}

.fa-spinner {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.contact-section .social-links .social-link {
  color: var(--primary);
  background-color: var(--rose-50);
  font-size: 1.5rem;
}

.contact-section .social-links .social-link:hover {
  color: var(--white);
  background-color: var(--primary);
}

.nav-links .nav-link .nav-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  font-size: 1.1em;
  opacity: 1;
  width: auto;
}

#faq .section-title p {
  color: var(--text, #1e293b);
}

.progressive-image {
  filter: blur(10px);
  transition: filter 0.3s ease-in-out;
}

.progressive-image.loaded {
  filter: blur(0);
}

.articles-section .love-insight-root {
  font-family: "Inter", sans-serif;
  line-height: 1.8;
  color: #333;
  background: linear-gradient(135deg, #6a11cb 0%, #2575fc 50%, #e74c3c 100%);
  padding: 40px 0;
  overflow-x: hidden;
}

.articles-section .section-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: white;
  text-shadow: 0 2px 8px rgba(0,0,0,0.3);
  margin-bottom: 10px;
}

.articles-section .section-header p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.9);
  margin-top: 10px;
  font-weight: 500;
}

.articles-section .container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.article-card {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  flex: 1 1 100%;
  transition: opacity 0.8s ease, transform 0.8s ease;
}

@media (min-width: 768px) {
  .article-card {
    flex: 1 1 calc(50% - 20px);
    max-width: calc(50% - 20px);
  }
}

@media (min-width: 1024px) {
  .article-card {
    flex: 1 1 calc(33.333% - 20px);
    max-width: calc(33.333% - 20px);
  }
}

.article-header {
  text-align: center;
  padding: 32px 20px;
  background: linear-gradient(135deg, #d81b60 0%, #c2185b 100%);
  color: white;
}

.article-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.75rem;
  font-weight: 800;
  text-shadow: 0 2px 6px rgba(0,0,0,0.3);
  color: white;
}

.article-header p {
  font-size: 1rem;
  opacity: 0.9;
  margin-top: 8px;
}

.article-content {
  padding: 28px 20px;
  flex-grow: 1;
}

.article-content h3 {
  font-family: "Playfair Display", serif;
  font-size: 1.45rem;
  color: #2c3e50;
  margin: 22px 0 14px;
}

.article-content h3 i {
  color: #d81b60;
  font-size: 1.1em;
  margin-right: 10px;
}

.article-content ul {
  list-style: none;
  padding-left: 20px;
  margin: 14px 0;
}

.article-content li {
  margin-bottom: 10px;
  position: relative;
}

.article-content li::before {
  content: "•";
  color: #e74c3c;
  font-weight: bold;
  position: absolute;
  left: -20px;
}

.quote {
  font-style: italic;
  background: #f9f9f9;
  padding: 16px;
  border-left: 4px solid #e74c3c;
  border-radius: 0 10px 10px 0;
  margin: 20px 0;
}

.article-content .highlight {
  background: #fff8e1;
  padding: 16px;
  border-radius: 10px;
  border-left: 4px solid #f39c12;
  margin: 20px 0;
  font-weight: 500;
  color: #d35400;
  font-size: 1.02rem;
  line-height: 1.7;
}

.article-content .personal {
  background: #e8f5e9;
  padding: 16px;
  border-radius: 10px;
  font-style: italic;
  color: #27ae60;
  border-left: 4px solid #2ecc71;
  margin: 20px 0;
  font-size: 1.02rem;
  line-height: 1.7;
}

.article-content .cta-box {
  text-align: center;
  padding: 20px 16px;
  background: #f0f7ff;
  border-radius: 12px;
  margin: 22px 0;
  border: 1px solid #d0ebff;
  font-weight: 500;
  color: #27ae60;
  font-size: 1.05rem;
  line-height: 1.6;
}

.read-more-btn {
  display: block;
  width: auto;
  padding: 16px 30px;
  background: #d81b60;
  color: white;
  text-align: center;
  font-weight: 600;
  font-size: 1.1rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  margin: 22px auto 0;
  transition: background 0.3s ease, transform 0.2s ease;
}

.read-more-btn:hover {
  background: #c2185b;
  transform: translateY(-2px);
}

.more-content {
  display: none;
}

#load-more-articles i {
  margin-right: 8px;
}

.footer {
  color: white;
  background: #1a1a1a;
}

.footer-grid, .footer-bottom, .footer-info {
  position: relative;
  z-index: 2;
}

.footer a {
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: #00d1b2;
}

.footer-decoration {
  position: absolute;
  color: white;
  opacity: 0.05;
  z-index: 1;
  user-select: none;
}

.decoration-1 {
  top: 10%;
  right: 5%;
  font-size: 5rem;
}

.decoration-2 {
  bottom: 5%;
  left: 10%;
  font-size: 4rem;
}

.decoration-3 {
  top: 50%;
  left: 45%;
  font-size: 6rem;
}

.footer-contact-item .contact-link {
  color: white;
}

.footer-contact-item i {
  color: #00d1b2;
}

.footer-bottom a {
  color: #aaa;
}

.footer-bottom a:hover {
  color: white;
}

.footer .footer-title {
  color: #FFFFFF;
}

.service-price .price-old {
  text-decoration: line-through;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 400;
  margin-left: 8px;
}

.dark-icon {
  background: linear-gradient(135deg, #4b5563, #1f2937);
}

.dark-icon i {
  color: var(--white);
}

.warning-notice i {
  vertical-align: middle;
}

.service-features li strong {
  color: var(--secondary);
}

.service-icon .fa-laptop-medical {
  font-size: 2rem;
}

.services-grid-4 {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

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

.service-card {
  display: flex;
  flex-direction: column;
}

.service-features {
  padding: 0;
}

.service-body .warning-notice {
  margin-top: 25px;
  margin-left: 0;
  margin-right: 0;
  margin-bottom: 0;
}

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

.services-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
}

.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
}

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

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

.problem-card {
  background-color: white;
  border-radius: var(--rounded-2xl, 1rem);
  padding: 30px;
  text-align: center;
  box-shadow: var(--shadow-md, 0 4px 6px rgba(0,0,0,0.1));
  transition: all 0.3s ease;
  border-top: 4px solid var(--primary-light, #fecdd3);
}

.problem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl, 0 20px 25px rgba(0,0,0,0.1));
  border-top-color: var(--primary, #e11d48);
}

.problem-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: linear-gradient(135deg, var(--primary-light, #fecdd3), var(--primary, #e11d48));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 5px 15px rgba(225, 29, 72, 0.3);
}

.problem-title {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--secondary, #0f172a);
  margin-bottom: 10px;
}

.problem-description {
  font-size: 0.95rem;
  color: var(--text-light, #64748b);
  line-height: 1.6;
}

.infidelity-content::before {
  transform: rotate(-15deg);
}

.infidelity-icon {
  position: relative;
  z-index: 2;
}

.infidelity-content h2 {
  margin-bottom: 25px;
  position: relative;
  z-index: 2;
}

.infidelity-content p {
  position: relative;
  z-index: 2;
}

.btn-infidelity {
  position: relative;
  z-index: 2;
  font-size: 1.1rem;
}

.hero-modern {
  padding: 48px 0 36px;
  background: radial-gradient(circle at 20% 15%, rgba(225, 29, 72, 0.12), transparent 32%), radial-gradient(circle at 90% 5%, rgba(126, 34, 206, 0.10), transparent 30%), linear-gradient(180deg, #fff7f8 0%, #ffffff 72%);
  overflow: hidden;
}

.hero-modern .hero-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  align-items: center;
}

.hero-modern .hero-copy {
  order: 2;
  text-align: left;
}

.hero-modern .hero-image {
  order: 1;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
}

.hero-kicker, .section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  padding: 7px 13px;
  margin-bottom: 14px;
  border-radius: 999px;
  background: rgba(225, 29, 72, 0.10);
  color: var(--primary-dark);
  font-family: "Inter", "Inter Fallback", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.hero-modern .hero-title {
  display: block;
  max-width: 760px;
  margin: 0 0 12px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  color: var(--secondary);
  font-family: "Playfair Display", "Playfair Display Fallback", serif;
  font-size: clamp(2rem, 8vw, 4.25rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.hero-modern .hero-subtitle {
  margin: 0 0 16px;
  color: var(--primary);
  font-family: "Inter", "Inter Fallback", sans-serif;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.3;
}

.hero-modern .hero-description {
  max-width: 620px;
  margin: 0 0 18px;
  color: #334155;
  font-family: "Inter", "Inter Fallback", sans-serif;
  font-size: 1.02rem;
  line-height: 1.72;
}

.hero-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  max-width: 620px;
  margin: 0 0 22px;
  padding: 14px 15px;
  border: 1px solid rgba(225, 29, 72, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.06);
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-highlight i {
  margin-top: 3px;
  color: var(--primary);
  flex-shrink: 0;
}

.hero-modern .hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.hero-modern .stat-item {
  min-height: 88px;
  padding: 14px 8px;
  border-radius: 18px;
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
  text-align: center;
}

.hero-modern .stat-value {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 1.38rem;
  font-weight: 900;
  line-height: 1;
}

.hero-modern .stat-label {
  display: block;
  color: #64748b;
  font-size: 0.76rem;
  font-weight: 700;
  line-height: 1.25;
}

.hero-modern .hero-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
}

.hero-modern .btn {
  width: 100%;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 0.98rem;
  font-weight: 800;
}

.hero-modern .btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  box-shadow: 0 14px 28px rgba(225, 29, 72, 0.24);
}

.hero-modern .btn-outline {
  background: #ffffff;
  color: var(--primary);
  border: 1.5px solid rgba(225, 29, 72, 0.35);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.04);
}

.hero-photo-card {
  position: relative;
  width: min(420px, 82vw);
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  padding: 8px;
  border-radius: 50%;
  overflow: visible;
  background: linear-gradient(145deg, #ffffff, #ffe4e6);
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

.hero-modern .hero-photo-card img, .hero-modern .hero-photo-card .progressive-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.hero-photo-badge {
  position: absolute;
  left: 50%;
  bottom: -14px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 9px 14px;
  border-radius: 999px;
  background: #ffffff;
  color: var(--primary-dark);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}

.hero-photo-badge i {
  color: var(--primary);
}

.bridge-modern {
  padding: 28px 0 18px;
  background: #ffffff;
}

.bridge-card {
  padding: 24px 20px;
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(255, 241, 242, 0.92), rgba(238, 242, 255, 0.88));
  border: 1px solid rgba(225, 29, 72, 0.10);
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}

.bridge-card h2 {
  margin: 0 0 14px;
  color: var(--secondary);
  font-size: clamp(1.65rem, 6vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.bridge-card p {
  max-width: 760px;
  margin: 0 0 12px;
  color: #475569;
  font-size: 1rem;
  line-height: 1.72;
}

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

.trust-modern {
  padding: 28px 0;
  background: #ffffff;
}

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

.trust-modern .badge-item {
  max-width: none;
  min-height: 120px;
  padding: 18px 12px;
  border-radius: 22px;
  background: #ffffff;
  border: 1px solid #eef2f7;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.045);
}

.trust-modern .badge-icon {
  width: 42px;
  height: 42px;
  margin-bottom: 10px;
  border-radius: 15px;
  background: rgba(225, 29, 72, 0.10);
  color: var(--primary);
  font-size: 1.1rem;
}

.trust-modern .badge-text {
  max-width: 140px;
  margin: 0 auto;
  color: #334155;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1.28;
}

.why-modern {
  padding: 28px 0 60px;
  background: linear-gradient(180deg, #ffffff 0%, #fff7f8 100%);
}

.why-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  padding: 24px 20px;
  border-radius: 30px;
  background: #0f172a;
  color: #ffffff;
  box-shadow: 0 22px 60px rgba(15, 23, 42, 0.18);
}

.why-card .section-eyebrow {
  background: rgba(255, 255, 255, 0.10);
  color: #fecdd3;
}

.why-content h2 {
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(1.7rem, 6vw, 2.6rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.why-content p {
  margin: 0;
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.7;
}

.why-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.why-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  color: #f8fafc;
  font-size: 0.96rem;
  font-weight: 700;
  line-height: 1.45;
}

.why-list i {
  width: 24px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 1px;
  border-radius: 50%;
  background: #22c55e;
  color: #ffffff;
  font-size: 0.75rem;
  flex-shrink: 0;
}

.services-grid, .services-grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  position: relative;
  z-index: 2;
  align-items: stretch;
}

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

@media (min-width: 992px) {
  .services-grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: none;
    margin-left: 0;
    margin-right: 0;
  }
}

.services-grid-3 > .service-card {
  width: 100%;
  min-width: 0;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card.recommended {
  transform: scale(1.03);
  border: 2px solid var(--primary);
  box-shadow: 0 20px 50px rgba(225, 29, 72, 0.2);
}

.service-card.recommended:hover {
  transform: scale(1.05) translateY(-5px);
}

.service-badge {
  position: absolute;
  top: 15px;
  right: -10px;
  background: linear-gradient(45deg, var(--accent), #f59e0b);
  color: white;
  padding: 5px 15px;
  border-radius: 50px;
  font-weight: bold;
  font-size: 0.8rem;
  transform: rotate(10deg);
  z-index: 3;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  border: 2px solid white;
}

.service-body {
  flex-grow: 1;
  padding: 25px;
}

.service-body h4 {
  font-family: "Inter", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
  margin-top: 25px;
  margin-bottom: 15px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e5e7eb;
}

.service-body h4:first-of-type {
  margin-top: 0;
}

.service-body .service-features {
  padding: 0;
  margin: 0;
  list-style: none;
}

.format-benefits {
  list-style: none;
  padding: 0;
  margin: 0;
}

.format-benefits li {
  color: var(--text);
  margin-bottom: 10px;
  font-size: 0.95rem;
  display: flex;
  align-items: flex-start;
}

.format-benefits li .icon {
  color: #10b981;
  margin-right: 10px;
  margin-top: 4px;
}

.service-button {
  margin: 25px;
  margin-top: auto;
}

.warning-notice {
  background: #fffbeb;
  border-left: 4px solid #f59e0b;
  margin: 25px 0 0 0;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
}

.warning-notice p {
  color: #b45309;
  font-size: 0.9rem;
  line-height: 1.5;
}

.warning-notice i {
  color: #f59e0b;
  font-size: 1.3rem;
  margin-right: 10px;
}

.info-notice {
  background: #eef2ff;
  border-left: 4px solid var(--indigo-600);
  margin: 25px 0 0 0;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
}

.info-notice p {
  color: #3730a3;
  font-size: 0.9rem;
  line-height: 1.5;
}

.info-notice i {
  color: var(--indigo-600);
  font-size: 1.3rem;
  margin-right: 10px;
}

.text-red-600 {
  color: #dc2626;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 6px;
}

.diploma-image-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #f8fafc;
}

.diploma-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: rgba(15, 23, 42, 0.42);
  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.diploma-card:hover .diploma-overlay, .diploma-card.is-active .diploma-overlay {
  opacity: 1;
}

.diploma-info {
  padding-top: 0.75rem;
  text-align: center;
}

.diploma-caption {
  color: var(--secondary);
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.25;
}

.diploma-subcaption {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 0.78rem;
  line-height: 1.3;
}

.diplomas-subtitle {
  margin-top: 4px;
  color: var(--text-light);
  font-size: 0.86rem;
}

.modern-diplomas .diplomas-navigation, .diplomas-navigation {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
  padding: 0;
  min-height: 20px;
}

.modern-diplomas .diploma-indicator, .diploma-indicator {
  appearance: none;
  -webkit-appearance: none;
  display: block;
  width: 9px;
  height: 9px;
  min-width: 9px;
  min-height: 9px;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: #cbd5e1;
  cursor: pointer;
  opacity: 1;
  box-shadow: none;
  transform: none;
  transition: width 0.25s ease, background-color 0.25s ease, transform 0.25s ease;
}

.modern-diplomas .diploma-indicator.active, .diploma-indicator.active {
  width: 22px;
  background: var(--primary, #e11d48);
  border-radius: 999px;
}

.modern-diplomas .diploma-indicator:focus, .diploma-indicator:focus {
  outline: none;
}

.modern-diplomas .diploma-indicator:focus-visible, .diploma-indicator:focus-visible {
  outline: 2px solid rgba(225, 29, 72, 0.35);
  outline-offset: 4px;
}

.diploma-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.diploma-lightbox.active {
  visibility: visible;
  opacity: 1;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.74);
  backdrop-filter: blur(8px);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: #ffffff;
  color: var(--primary);
  cursor: pointer;
  z-index: 2;
}

.lightbox-content {
  position: relative;
  z-index: 1;
  max-width: min(92vw, 980px);
  max-height: 88vh;
}

.lightbox-content img {
  display: block;
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 18px;
  background: #ffffff;
}

@media (min-width: 768px) {
  .hero-modern {
    padding: 70px 0 52px;
  }

  .hero-modern .hero-buttons {
    grid-template-columns: auto auto;
    justify-content: flex-start;
  }

  .hero-modern .btn {
    width: auto;
    min-width: 220px;
  }

  .trust-modern .badges-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .bridge-card, .why-card {
    padding: 36px;
  }
}

@media (min-width: 1024px) {
  .hero-modern {
    padding: 92px 0 70px;
  }

  .hero-modern .hero-content {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, 0.88fr);
    gap: 68px;
  }

  .hero-modern .hero-copy {
    order: 1;
  }

  .hero-modern .hero-image {
    order: 2;
    max-width: 420px;
  }

  .hero-modern .hero-description {
    font-size: 1.08rem;
  }

  .hero-modern .hero-stats {
    max-width: 580px;
  }

  .why-card {
    grid-template-columns: 0.95fr 1.05fr;
    align-items: center;
  }
}

.infidelity-banner {
  position: relative;
  isolation: isolate;
  padding: 96px 0;
  margin: 0;
  background: radial-gradient(circle at 12% 16%, rgba(225, 29, 72, 0.22), transparent 30%), radial-gradient(circle at 88% 18%, rgba(126, 34, 206, 0.16), transparent 32%), linear-gradient(135deg, #fff1f2 0%, #fce7f3 48%, #eef2ff 100%);
  overflow: hidden;
}

.infidelity-banner::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 50%;
  width: min(1120px, calc(100% - 32px));
  height: calc(100% - 76px);
  transform: translateX(-50%);
  border-radius: 36px;
  background: rgba(255, 255, 255, 0.28);
  border: 1px solid rgba(225, 29, 72, 0.12);
  z-index: -2;
}

.infidelity-banner::after {
  content: "";
  position: absolute;
  right: max(24px, calc((100vw - 1180px) / 2));
  top: 92px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(225, 29, 72, 0.12), rgba(126, 34, 206, 0.08));
  filter: blur(2px);
  z-index: -1;
}

.infidelity-banner .container {
  position: relative;
  z-index: 1;
}

.infidelity-content {
  position: relative;
  max-width: 980px;
  margin: 0 auto;
  padding: 64px 46px 48px;
  text-align: center;
  border-radius: 34px;
  background: linear-gradient(#ffffff, #ffffff) padding-box, linear-gradient(135deg, rgba(225, 29, 72, 0.42), rgba(126, 34, 206, 0.26)) border-box;
  border: 2px solid transparent;
  box-shadow: 0 34px 80px rgba(225, 29, 72, 0.18), 0 18px 42px rgba(15, 23, 42, 0.10);
  overflow: hidden;
}

.infidelity-content::before {
  content: "";
  position: absolute;
  right: 34px;
  top: 28px;
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free";
  font-weight: 900;
  font-size: 8.8rem;
  line-height: 1;
  color: rgba(225, 29, 72, 0.065);
  pointer-events: none;
}

.infidelity-content::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 8px;
  background: linear-gradient(90deg, var(--primary, #e11d48), var(--accent, #7e22ce));
}

.infidelity-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary, #e11d48), var(--accent, #7e22ce));
  color: #ffffff;
  font-size: 1.7rem;
  box-shadow: 0 18px 38px rgba(225, 29, 72, 0.32);
}

.infidelity-content h2 {
  max-width: 780px;
  margin: 0 auto 20px;
  color: var(--secondary, #0f172a);
  font-size: clamp(1.85rem, 4.4vw, 3rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
}

.infidelity-content p {
  max-width: 780px;
  margin: 0 auto 16px;
  color: #334155;
  font-size: 1.04rem;
  line-height: 1.75;
}

.infidelity-content strong {
  color: var(--primary-dark, #be123c);
  font-weight: 900;
}

.infidelity-content em {
  color: #0f172a;
  font-style: italic;
  font-weight: 700;
}

.btn-infidelity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
  min-height: 56px;
  padding: 16px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--primary, #e11d48), var(--primary-dark, #be123c));
  color: #ffffff;
  font-weight: 900;
  box-shadow: 0 18px 38px rgba(225, 29, 72, 0.30);
}

.btn-infidelity:hover {
  transform: translateY(-3px);
  box-shadow: 0 24px 52px rgba(225, 29, 72, 0.38);
}

.conversion-proof-section,.already-tried-section,.mobile-accordion-section,.compact-process-section {
  padding: 54px 0;
  background: #fff;
}

.conversion-proof-section {
  background: linear-gradient(180deg,#fff 0%,#fff7f8 100%);
}

.conversion-head {
  max-width: 840px;
  margin: 0 auto 28px;
  text-align: center;
}

.conversion-head.compact {
  max-width: 720px;
}

.conversion-head h2 {
  font-size: clamp(1.75rem,6vw,3rem);
  line-height: 1.13;
  letter-spacing: -.035em;
  margin: 0 0 14px;
}

.conversion-head p {
  color: #475569;
  font-size: 1.02rem;
  line-height: 1.72;
  margin: 0 auto;
}

.conversion-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 24px;
}

.conversion-steps article,.already-tried-card,.fit-list details,.process-timeline li,.quick-cta-card {
  border: 1px solid #eef2f7;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(15,23,42,.06);
}

.conversion-steps article {
  padding: 22px;
}

.conversion-steps span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--primary);
  font-weight: 900;
  font-size: 1.45rem;
}

.conversion-steps h3 {
  margin-bottom: 10px;
  font-size: 1.25rem;
}

.conversion-steps p {
  color: #475569;
  line-height: 1.65;
  margin: 0;
}

.quick-cta-card {
  margin-top: 18px;
  padding: 20px;
  display: grid;
  gap: 16px;
  align-items: center;
  background: #0f172a;
  color: #fff;
}

.quick-cta-card p {
  margin: 0;
  color: #f8fafc;
  line-height: 1.6;
}

.quick-cta-card .btn {
  width: 100%;
}

.quick-test-cta {
  text-align: center;
  margin-top: 16px;
}

.quick-test-cta .btn {
  width: 100%;
  max-width: 520px;
  background: #fff;
}

.already-tried-section {
  background: #fff7f8;
}

.already-tried-card {
  padding: 24px 20px;
}

.already-tried-card h2 {
  font-size: clamp(1.75rem,6vw,2.7rem);
  margin-bottom: 12px;
}

.already-tried-card>p {
  color: #475569;
  line-height: 1.72;
  max-width: 820px;
}

.before-after-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  margin-top: 20px;
}

.before-after-grid>div {
  padding: 18px;
  border-radius: 20px;
  background: #f8fafc;
}

.before-after-grid .strong-side {
  background: linear-gradient(135deg,#fff,#fff1f2);
  border: 1px solid rgba(225,29,72,.18);
}

.before-after-grid h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.before-after-grid ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #475569;
}

.before-after-grid li {
  margin-bottom: 8px;
}

.fit-list {
  display: grid;
  gap: 12px;
  max-width: 840px;
  margin: 0 auto;
}

.fit-list details {
  padding: 0;
  overflow: hidden;
}

.fit-list summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 20px;
  font-weight: 900;
  color: var(--secondary);
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.fit-list summary::-webkit-details-marker {
  display: none;
}

.fit-list summary::after {
  content: "+";
  color: var(--primary);
  font-size: 1.4rem;
  line-height: 1;
}

.fit-list details[open] summary::after {
  content: "−";
}

.fit-list details p {
  padding: 0 20px 18px;
  margin: 0;
  color: #475569;
  line-height: 1.65;
}

.compact-process-section {
  background: linear-gradient(180deg,#fff 0%,#f8fafc 100%);
}

.process-timeline {
  display: grid;
  gap: 12px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  max-width: 880px;
}

.process-timeline li {
  padding: 18px 20px;
}

.process-timeline strong {
  display: block;
  color: var(--secondary);
  margin-bottom: 6px;
}

.process-timeline span {
  color: #64748b;
  line-height: 1.55;
}

.inline-cta {
  text-align: center;
  margin-top: 22px;
}

.inline-cta .btn {
  width: 100%;
  max-width: 430px;
}

.insurance-notice {
  background: #ecfdf5;
  border-left: 4px solid #10b981;
  margin: 25px 0 0 0;
  padding: 15px;
  border-radius: 8px;
  display: flex;
  align-items: flex-start;
}

.insurance-notice p {
  color: #065f46;
  font-size: .9rem;
  line-height: 1.5;
  margin: 0;
}

.insurance-notice i {
  color: #10b981;
  font-size: 1.3rem;
  margin-right: 10px;
  margin-top: 2px;
  flex-shrink: 0;
}

.mobile-sticky-cta {
  display: none;
}

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

  .quick-cta-card {
    grid-template-columns: 1fr auto;
    padding: 24px 28px;
  }

  .quick-cta-card .btn {
    width: auto;
  }

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

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

  .hero-modern .hero-buttons {
    grid-template-columns: repeat(3,minmax(0,1fr));
  }
}

/* ==========================================================
   MODERNIZATION LAYER: no, mobile-first, clamp(), DS tokens, a11y
   ========================================================== */
:root {
  --color-primary: #e11d48;
  --color-primary-50: #fff1f2;
  --color-primary-100: #ffe4e6;
  --color-primary-200: #fecdd3;
  --color-primary-700: #be123c;
  --color-secondary: #0f172a;
  --color-accent: #7e22ce;
  --color-text: #1e293b;
  --color-muted: #64748b;
  --color-surface: #ffffff;
  --color-surface-soft: #f8fafc;
  --color-border: #e2e8f0;
  --color-success: #10b981;
  --color-warning: #f59e0b;
  --radius-sm: .5rem;
  --radius-md: .75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;
  --radius-2xl: 2rem;
  --radius-pill: 9999px;
  --shadow-soft: 0 10px 24px rgba(15, 23, 42, .06);
  --shadow-card: 0 16px 40px rgba(15, 23, 42, .08);
  --shadow-strong: 0 24px 60px rgba(15, 23, 42, .16);
  --space-section: clamp(3rem, 7vw, 6rem);
  --space-container: clamp(1rem, 4vw, 2rem);
  --navbar-height: 80px;

  /* Backward-compatible aliases used by the existing HTML/CSS */
  --primary: var(--color-primary);
  --primary-light: var(--color-primary-200);
  --primary-dark: var(--color-primary-700);
  --secondary: var(--color-secondary);
  --accent: var(--color-accent);
  --text: var(--color-text);
  --text-light: var(--color-muted);
  --bg: var(--color-surface-soft);
  --white: var(--color-surface);
  --border-radius: var(--radius-lg);
  --rounded-lg: var(--radius-sm);
  --rounded-xl: var(--radius-md);
  --rounded-2xl: var(--radius-lg);
  --rounded-3xl: var(--radius-xl);
  --rounded-full: var(--radius-pill);
  --shadow: var(--shadow-card);
  --shadow-md: var(--shadow-soft);
  --shadow-lg: var(--shadow-card);
  --shadow-xl: var(--shadow-strong);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--color-text);
  background: var(--color-surface-soft);
  font-family: "Inter", "Inter Fallback", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
  padding-top: var(--navbar-height);
}

img, svg, video, canvas {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button, input, select, textarea {
  font: inherit;
}

button, a, input, select, textarea, summary {
  touch-action: manipulation;
}

button, .btn, .service-button, .test-button, .cta-btn, .feedback-btn,
.whatsapp-btn, .telegram-btn, .read-more-btn, .mobile-menu-btn,
.faq-question, .fit-list summary, .diploma-indicator, .lightbox-close,
.close-btn, .social-link {
  min-width: 44px;
  min-height: 44px;
}

:focus-visible {
  outline: 3px solid rgba(225, 29, 72, .42);
  outline-offset: 3px;
  border-radius: .35rem;
}

h1, h2, h3, h4 {
  color: var(--color-secondary);
  font-family: "Playfair Display", "Playfair Display Fallback", Georgia, serif;
  line-height: 1.12;
  text-wrap: balance;
}

h1, .hero-title, .hero-modern .hero-title {
  font-size: clamp(2rem, 9vw, 4.25rem);
}

h2, .section-title h2, .section-header h2, .conversion-head h2,
.bridge-card h2, .why-content h2, .infidelity-content h2 {
  font-size: clamp(1.75rem, 6vw, 3rem);
}

h3, .service-title-container h3, .profile-info h3, .article-content h3 {
  font-size: clamp(1.25rem, 4vw, 1.8rem);
}

p, li {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: var(--space-container);
}

.section, .about-section, .gottman-section, .health-check-section,
.services-section, .therapy-process, .testimonials-section, .contact-section,
.faq-section, .conversion-proof-section, .already-tried-section,
.mobile-accordion-section, .compact-process-section {
  padding-block: var(--space-section);
}

.btn, .service-button, .test-button, .cta-btn, .feedback-btn,
.whatsapp-btn, .telegram-btn, .read-more-btn, .btn-infidelity {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .625rem;
  border-radius: var(--radius-pill);
  text-decoration: none;
  cursor: pointer;
}

/* Mobile-first navigation */
.navbar {
  z-index: 1000;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  min-height: var(--navbar-height);
  padding-inline: var(--space-container);
}

.logo {
  flex: 1 1 auto;
  min-width: 0;
}

.logo span {
  display: inline-block;
  max-width: 160px;
  white-space: normal;
  line-height: 1.1;
}

.language-switcher-desktop {
  display: none;
}

.language-switcher-mobile {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  margin-left: auto;
}

.mobile-menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(225, 29, 72, .18);
  border-radius: 14px;
  background: var(--color-surface);
  color: var(--color-primary);
  box-shadow: var(--shadow-soft);
}

.nav-links {
  display: none;
  position: fixed;
  top: var(--navbar-height);
  left: .75rem;
  right: .75rem;
  max-height: calc(100vh - var(--navbar-height) - 1.5rem);
  overflow-y: auto;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
  padding: .75rem;
  margin: 0;
  list-style: none;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  box-shadow: var(--shadow-strong);
}

.nav-links.active, .nav-links.is-open {
  display: flex;
}

.nav-links li {
  width: 100%;
}

.nav-links .nav-link {
  display: flex;
  align-items: center;
  width: 100%;
  min-height: 48px;
  padding: .875rem;
  border-radius: 14px;
  font-weight: 700;
  color: var(--color-secondary);
  text-decoration: none;
}

.nav-links .nav-link:hover,
.nav-links .nav-link:focus-visible {
  background: rgba(225, 29, 72, .08);
  color: var(--color-primary);
}

.nav-links .nav-link::after {
  display: none;
}

/* Mobile-first grids */
.hero-content, .about-grid, .gottman-grid, .check-grid,
.services-grid, .services-grid-3, .services-grid-4, .steps-grid,
.testimonials-grid, .contact-grid, .footer-grid, .problems-grid,
.conversion-steps, .before-after-grid, .process-timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(1rem, 4vw, 2rem);
}

.hero-modern .hero-content {
  grid-template-columns: 1fr;
}

.hero-modern .hero-copy {
  order: 2;
  text-align: left;
}

.hero-modern .hero-image {
  order: 1;
  max-width: min(280px, 82vw);
  margin-inline: auto;
}

.hero-modern .hero-buttons, .hero-buttons {
  display: grid;
  grid-template-columns: 1fr;
  gap: .75rem;
}

.hero-modern .btn, .hero-buttons .btn, .quick-cta-card .btn,
.inline-cta .btn, .quick-test-cta .btn {
  width: 100%;
}

.hero-modern .hero-stats {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .5rem;
}

.hero-modern .stat-item {
  min-height: 78px;
  padding: .75rem .375rem;
}

.hero-modern .stat-value {
  font-size: clamp(1.15rem, 4.5vw, 1.4rem);
}

.hero-modern .stat-label {
  font-size: clamp(.68rem, 2.5vw, .78rem);
}

.card, .profile-card, .service-card, .testimonial-card, .problem-card,
.bridge-card, .why-card, .already-tried-card, .quick-cta-card,
.conversion-steps article, .fit-list details, .process-timeline li {
  border-radius: var(--radius-xl);
}

.service-card, .testimonial-card, .problem-card, .profile-card,
.conversion-steps article, .already-tried-card, .fit-list details,
.process-timeline li, .quick-cta-card {
  box-shadow: var(--shadow-soft);
}

.service-card:hover, .testimonial-card:hover, .problem-card:hover,
.profile-card:hover {
  box-shadow: var(--shadow-card);
}

.form-input, .form-select, .form-textarea {
  min-height: 48px;
  color: var(--color-text);
  background: var(--color-surface);
}

.form-textarea {
  min-height: 7rem;
}

.faq-question {
  min-height: 56px;
}

/* Tablet and desktop enhancements */
@media (min-width: 640px) {
  .education-list, .check-grid, .before-after-grid, .process-timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-modern .hero-buttons, .hero-buttons {
    grid-template-columns: repeat(2, minmax(0, auto));
    justify-content: flex-start;
  }

  .hero-modern .btn, .hero-buttons .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .badges-grid, .trust-modern .badges-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .services-grid, .services-grid-4, .testimonials-grid, .contact-grid,
  .footer-grid, .problems-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .quick-cta-card {
    grid-template-columns: 1fr auto;
  }

  .quick-cta-card .btn {
    width: auto;
  }
}

@media (min-width: 901px) {
  .language-switcher-desktop {
    display: flex;
  }

  .language-switcher-mobile, .mobile-menu-btn {
    display: none;
  }

  .logo {
    flex: 0 0 auto;
  }

  .logo span {
    max-width: none;
    white-space: nowrap;
  }

  .nav-links {
    position: static;
    display: flex;
    flex-direction: row;
    align-items: center;
    width: auto;
    max-height: none;
    overflow: visible;
    gap: 2rem;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .nav-links li {
    width: auto;
  }

  .nav-links .nav-link {
    width: auto;
    min-height: 44px;
    padding: .5rem 0;
    border-radius: 0;
    font-weight: 500;
  }

  .nav-links .nav-link:hover,
  .nav-links .nav-link:focus-visible {
    background: transparent;
  }
}

@media (min-width: 992px) {
  .hero-content, .hero-modern .hero-content, .about-grid, .gottman-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-modern .hero-copy {
    order: 1;
  }

  .hero-modern .hero-image {
    order: 2;
    max-width: 420px;
  }

  .services-grid-3, .problems-grid, .testimonials-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid, .footer-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why-card {
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms;
    animation-iteration-count: 1;
    scroll-behavior: auto;
    transition-duration: .01ms;
  }
}

/* ==========================================================
   STAGE 2 COMPONENT REFACTOR v2 — safe component layer
   Scope: buttons, common cards, grids, footer, forms, FAQ.
   Important: unique visual sections are intentionally excluded:
   .why-card, .infidelity-content, .hero-photo-card, .quick-cta-card.
   ========================================================== */
:root {
  --btn-height: 3rem;
  --btn-height-lg: 3.5rem;
  --btn-pad-x: 1.35rem;
  --card-pad: clamp(1.15rem, 3vw, 2rem);
  --grid-gap: clamp(1rem, 3vw, 2rem);
  --hover-y: -4px;
  --focus-ring: 0 0 0 4px rgba(225, 29, 72, .18);
  --hover-shadow-primary: 0 18px 38px rgba(225, 29, 72, .26);
  --hover-shadow-neutral: 0 20px 44px rgba(15, 23, 42, .12);
}

/* ---------- Buttons: unified and touch-friendly ---------- */
.btn,
.service-button,
.test-button,
.cta-btn,
.feedback-btn,
.whatsapp-btn,
.telegram-btn,
.read-more-btn,
.btn-infidelity,
.mobile-sticky-cta a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  min-height: var(--btn-height);
  padding: .85rem var(--btn-pad-x);
  border: 1px solid transparent;
  border-radius: var(--radius-pill, 9999px);
  font: inherit;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transform: translateZ(0);
  transition:
    transform .22s ease,
    box-shadow .22s ease,
    background-color .22s ease,
    color .22s ease,
    border-color .22s ease,
    filter .22s ease;
}

.btn-primary,
.service-button,
.test-button,
.feedback-btn,
.read-more-btn,
.btn-infidelity {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  box-shadow: 0 12px 26px rgba(225, 29, 72, .22);
}

.btn-outline,
.cta-btn,
.telegram-btn {
  background: var(--white);
  color: var(--primary);
  border-color: rgba(225, 29, 72, .34);
  box-shadow: var(--shadow-soft, 0 10px 24px rgba(15, 23, 42, .06));
}

.whatsapp-btn,
.mobile-sticky-cta a {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  box-shadow: 0 12px 26px rgba(18, 140, 126, .24);
}

@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover,
  .service-button:hover,
  .test-button:hover,
  .feedback-btn:hover,
  .read-more-btn:hover,
  .btn-infidelity:hover {
    transform: translateY(-3px);
    box-shadow: var(--hover-shadow-primary);
    filter: saturate(1.05);
  }

  .btn-outline:hover,
  .cta-btn:hover,
  .telegram-btn:hover {
    transform: translateY(-3px);
    background: var(--rose-50, #fff1f2);
    color: var(--primary-dark);
    border-color: rgba(225, 29, 72, .52);
    box-shadow: var(--hover-shadow-neutral);
  }

  .whatsapp-btn:hover,
  .mobile-sticky-cta a:hover {
    transform: translateY(-3px);
    box-shadow: 0 18px 38px rgba(18, 140, 126, .32);
    filter: saturate(1.08);
  }
}

.btn:active,
.service-button:active,
.test-button:active,
.cta-btn:active,
.feedback-btn:active,
.whatsapp-btn:active,
.telegram-btn:active,
.read-more-btn:active,
.btn-infidelity:active,
.mobile-sticky-cta a:active {
  transform: translateY(0) scale(.985);
}

.btn:focus-visible,
.service-button:focus-visible,
.test-button:focus-visible,
.cta-btn:focus-visible,
.feedback-btn:focus-visible,
.whatsapp-btn:focus-visible,
.telegram-btn:focus-visible,
.read-more-btn:focus-visible,
.btn-infidelity:focus-visible,
.mobile-sticky-cta a:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring), var(--shadow-soft, 0 10px 24px rgba(15, 23, 42, .06));
}

.hero-buttons .btn,
.quick-test-cta .btn,
.inline-cta .btn,
.quick-cta-card .btn,
.service-button {
  width: 100%;
}

/* ---------- Common cards only — unique hero/why/infidelity blocks are excluded ---------- */
.profile-card,
.service-card,
.testimonial-card,
.problem-card,
.faq-card,
.article-card,
.education-item,
.check-card,
.conversion-steps article,
.fit-list details,
.process-timeline li,
.already-tried-card {
  border: 1px solid rgba(226, 232, 240, .9);
  border-radius: var(--radius-xl, 1.5rem);
  background: var(--white);
  box-shadow: var(--shadow-soft, 0 10px 24px rgba(15, 23, 42, .06));
  transform: translateZ(0);
  transition:
    transform .26s ease,
    box-shadow .26s ease,
    border-color .26s ease,
    background-color .26s ease;
}

.profile-card,
.service-card,
.testimonial-card,
.problem-card,
.faq-card,
.article-card,
.education-item,
.check-card {
  overflow: hidden;
}

@media (hover: hover) and (pointer: fine) {
  .profile-card:hover,
  .service-card:hover,
  .testimonial-card:hover,
  .problem-card:hover,
  .article-card:hover,
  .education-item:hover,
  .check-card:hover,
  .conversion-steps article:hover,
  .fit-list details:hover,
  .process-timeline li:hover,
  .already-tried-card:hover {
    transform: translateY(var(--hover-y));
    box-shadow: var(--hover-shadow-neutral);
    border-color: rgba(225, 29, 72, .18);
  }
}

.service-card {
  position: relative;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  transition: opacity .26s ease, height .26s ease;
}

@media (hover: hover) and (pointer: fine) {
  .service-card:hover::before {
    height: 8px;
    opacity: .95;
  }

  .service-card:hover .service-icon,
  .problem-card:hover .problem-icon,
  .trust-modern .badge-item:hover .badge-icon {
    transform: translateY(-2px) scale(1.04);
  }
}

.service-card.recommended {
  border-color: rgba(225, 29, 72, .55);
  box-shadow: 0 20px 50px rgba(225, 29, 72, .16);
}

@media (hover: hover) and (pointer: fine) {
  .service-card.recommended:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 62px rgba(225, 29, 72, .22);
  }
}

.service-icon,
.problem-icon,
.trust-modern .badge-icon {
  transition: transform .26s ease, box-shadow .26s ease, background-color .26s ease;
}

.service-header,
.service-body,
.article-content,
.profile-card,
.testimonial-card,
.problem-card,
.already-tried-card,
.faq-question,
.faq-answer.open {
  padding: var(--card-pad);
}

/* Restore unique sections explicitly so component reset can never override them. */
.why-card {
  background: #0f172a;
  color: #ffffff;
  border-color: rgba(15, 23, 42, .08);
  box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
}

.why-card:hover {
  transform: none;
  box-shadow: 0 22px 60px rgba(15, 23, 42, .18);
  border-color: rgba(15, 23, 42, .08);
}

.why-card .section-eyebrow {
  background: rgba(255, 255, 255, .10);
  color: #fecdd3;
}

.why-content h2 {
  color: #ffffff;
}

.why-content p {
  color: #cbd5e1;
}

.why-list li {
  background: rgba(255, 255, 255, .07);
  color: #f8fafc;
  border: 1px solid rgba(255, 255, 255, .08);
}

.why-list i {
  background: #22c55e;
  color: #ffffff;
}

.hero-photo-card {
  background: linear-gradient(145deg, #ffffff, #ffe4e6);
  box-shadow: 0 22px 55px rgba(15, 23, 42, .14);
}

.infidelity-content {
  background:
    linear-gradient(#ffffff, #ffffff) padding-box,
    linear-gradient(135deg, rgba(225, 29, 72, .42), rgba(126, 34, 206, .26)) border-box;
}

/* ---------- Grids ---------- */
.about-grid,
.gottman-grid,
.check-grid,
.services-grid,
.services-grid-3,
.services-grid-4,
.steps-grid,
.testimonials-grid,
.contact-grid,
.footer-grid,
.problems-grid,
.conversion-steps,
.before-after-grid,
.process-timeline,
.badges-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--grid-gap);
}

@media (min-width: 640px) {
  .check-grid,
  .before-after-grid,
  .process-timeline,
  .education-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-buttons .btn,
  .quick-cta-card .btn,
  .inline-cta .btn,
  .quick-test-cta .btn {
    width: auto;
  }
}

@media (min-width: 768px) {
  .services-grid,
  .services-grid-4,
  .testimonials-grid,
  .contact-grid,
  .footer-grid,
  .problems-grid,
  .badges-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .conversion-steps {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 992px) {
  .about-grid,
  .gottman-grid,
  .contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .services-grid-3,
  .testimonials-grid,
  .problems-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .steps-grid,
  .footer-grid,
  .badges-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .why-card {
    grid-template-columns: .95fr 1.05fr;
    align-items: center;
  }
}

/* ---------- Footer ---------- */
.footer {
  background: linear-gradient(135deg, #111827 0%, #0f172a 100%);
  color: #e5e7eb;
  padding-block: clamp(2.5rem, 7vw, 4.5rem) 1.5rem;
}

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

.footer-title,
.footer-logo {
  color: #fff;
}

.footer-title::after {
  background: linear-gradient(90deg, var(--primary), var(--accent));
}

.footer-links,
.footer-contact {
  display: grid;
  gap: .75rem;
}

.footer-links a,
.footer-contact-item {
  min-height: 44px;
  align-items: center;
}

.footer-links a {
  transition: color .22s ease, transform .22s ease;
}

@media (hover: hover) and (pointer: fine) {
  .footer a:hover,
  .footer a:focus-visible {
    color: #fff;
  }

  .footer-links a:hover {
    transform: translateX(4px);
  }

  .social-link:hover {
    transform: translateY(-4px) scale(1.03);
  }
}

.footer-bottom {
  margin-top: 2rem;
  color: #cbd5e1;
}

/* ---------- Forms ---------- */
.form-group {
  display: grid;
  gap: .5rem;
}

.form-label {
  color: var(--secondary);
  font-weight: 700;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  min-height: 48px;
  padding: .85rem 1rem;
  border: 1px solid var(--color-border, #e2e8f0);
  border-radius: var(--radius-md, .75rem);
  background: #fff;
  color: var(--text);
  transition: border-color .22s ease, box-shadow .22s ease, background-color .22s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(225, 29, 72, .55);
  box-shadow: var(--focus-ring);
}

.form-textarea {
  min-height: 7.5rem;
}

.messenger-buttons {
  display: grid;
  gap: .75rem;
}

/* ---------- FAQ ---------- */
.faq-container {
  display: grid;
  gap: 1rem;
}

.faq-card {
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 60px;
  background: #fff;
  border: 0;
  color: var(--secondary);
  text-align: left;
  transition: background-color .22s ease, color .22s ease;
}

.faq-question:hover,
.faq-question:focus-visible {
  background: var(--rose-50, #fff1f2);
}

.faq-answer {
  padding-inline: var(--card-pad);
}

.faq-answer.open {
  padding-top: 0;
}

.faq-icon {
  flex: 0 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  .btn,
  .service-button,
  .test-button,
  .cta-btn,
  .feedback-btn,
  .whatsapp-btn,
  .telegram-btn,
  .read-more-btn,
  .btn-infidelity,
  .profile-card,
  .service-card,
  .testimonial-card,
  .problem-card,
  .faq-card,
  .article-card,
  .education-item,
  .check-card,
  .footer-links a,
  .social-link {
    transition: none;
  }
}

