:root {
  --bg: #fbf7f0;
  --bg-soft: #f5ecdf;
  --bg-warm: #efe1d2;
  --paper: #fffdf9;
  --paper-soft: rgba(255, 253, 249, 0.78);
  --text: #342c25;
  --muted: #7c7065;
  --faint: #a99c90;
  --sage: #9baa8f;
  --sage-dark: #718264;
  --clay: #c7a888;
  --rose: #d8b9aa;
  --line: rgba(52, 44, 37, 0.12);
  --shadow: 0 28px 80px rgba(63, 48, 36, 0.10);
  --shadow-soft: 0 16px 50px rgba(63, 48, 36, 0.08);
  --ease-soft: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-lift: cubic-bezier(0.2, 0.82, 0.2, 1);
  --radius-xl: 34px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: 1180px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

button,
input,
textarea {
  font: inherit;
}

.nav a[hidden],
.signature-row[hidden],
#guides[hidden],
.booking-cta[hidden] {
  display: none !important;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  z-index: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(52, 44, 37, 0.12) 1px, transparent 0);
  background-size: 18px 18px;
  mask-image: linear-gradient(to bottom, black, transparent 70%);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  transition: background 0.25s ease, box-shadow 0.25s ease, backdrop-filter 0.25s ease;
}

.site-header.scrolled {
  background: rgba(251, 247, 240, 0.84);
  backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--line);
}

.header-inner {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    linear-gradient(145deg, rgba(155, 170, 143, 0.95), rgba(199, 168, 136, 0.86));
  color: white;
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(113, 130, 100, 0.24);
}

.brand-text {
  display: grid;
  line-height: 1.05;
}

.brand-text strong {
  font-family: var(--serif);
  font-size: 25px;
  font-weight: 600;
  letter-spacing: 0.01em;
}

.brand-text em {
  font-style: normal;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  align-items: center;
  gap: 26px;
  color: var(--muted);
  font-size: 14px;
}

.nav a {
  position: relative;
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -7px;
  height: 1px;
  background: var(--sage);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

.nav a:hover {
  color: var(--text);
}

.nav a:hover::after {
  transform: scaleX(1);
}

.nav-cta {
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.55);
  color: var(--text);
}

.menu-button {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  background: var(--paper-soft);
  border-radius: 50%;
  cursor: pointer;
  position: relative;
}

.menu-button span {
  position: absolute;
  left: 13px;
  right: 13px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.25s ease, top 0.25s ease;
}

.menu-button span:first-child {
  top: 17px;
}

.menu-button span:last-child {
  top: 27px;
}

.menu-button.active span:first-child {
  top: 22px;
  transform: rotate(45deg);
}

.menu-button.active span:last-child {
  top: 22px;
  transform: rotate(-45deg);
}

.section,
.section-soft {
  position: relative;
  z-index: 1;
}

.section {
  padding: 110px 0;
}

.section-soft {
  padding: 128px 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(216, 185, 170, 0.34), transparent 32%),
    radial-gradient(circle at 8% 60%, rgba(155, 170, 143, 0.22), transparent 30%),
    var(--bg);
}

.section-warm {
  background:
    linear-gradient(180deg, rgba(255,255,255,0.26), rgba(255,255,255,0)),
    var(--bg-soft);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--sage-dark);
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 12px;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  line-height: 1.04;
  color: var(--text);
  margin: 0;
}

h1 {
  font-size: clamp(54px, 7vw, 94px);
  letter-spacing: -0.045em;
  max-width: 760px;
}

h2 {
  font-size: clamp(40px, 5.5vw, 68px);
  letter-spacing: -0.035em;
}

h3 {
  font-size: 30px;
  letter-spacing: -0.02em;
}

.lead {
  margin: 28px 0 0;
  font-size: 19px;
  color: var(--muted);
  max-width: 650px;
}

.hero {
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding-top: 120px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(330px, 0.72fr);
  gap: 76px;
  align-items: center;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 25px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 650;
  cursor: pointer;
  transition: transform 0.32s var(--ease-lift), box-shadow 0.32s var(--ease-soft), background 0.32s ease, border-color 0.32s ease, color 0.32s ease;
  will-change: transform;
}

.button:hover {
  transform: translateY(-3px);
}

.button-primary {
  color: white;
  background: linear-gradient(135deg, var(--sage), var(--sage-dark));
  box-shadow: 0 16px 34px rgba(113, 130, 100, 0.24);
}

.button-primary:hover {
  box-shadow: 0 20px 42px rgba(113, 130, 100, 0.30);
}

.button-ghost {
  background: rgba(255, 253, 249, 0.64);
  border-color: var(--line);
  color: var(--text);
}

.button-ghost:hover {
  background: rgba(255, 253, 249, 0.9);
  border-color: rgba(113, 130, 100, 0.38);
  box-shadow: 0 14px 30px rgba(63, 48, 36, 0.08);
}

.trust-row {
  margin-top: 54px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}

.trust-row div {
  min-width: 130px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.52);
  border-radius: 22px;
  box-shadow: var(--shadow-soft);
}

.trust-row strong {
  display: block;
  font-family: var(--serif);
  font-size: 28px;
  line-height: 1;
}

.trust-row span {
  display: block;
  margin-top: 7px;
  color: var(--muted);
  font-size: 12px;
}

.hero-art {
  position: relative;
  min-height: 640px;
}

.portrait-card {
  position: absolute;
  inset: 0;
  border-radius: 46% 46% var(--radius-xl) var(--radius-xl);
  padding: 18px;
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.52), rgba(255, 253, 249, 0.2));
  border: 1px solid rgba(255, 253, 249, 0.72);
  box-shadow: var(--shadow);
}

.portrait-placeholder {
  width: 100%;
  height: 100%;
  border-radius: 46% 46% 26px 26px;
  display: grid;
  place-items: center;
  align-content: center;
  background:
    linear-gradient(rgba(52, 44, 37, 0.02), rgba(52, 44, 37, 0.04)),
    radial-gradient(circle at 36% 20%, rgba(255, 255, 255, 0.7), transparent 24%),
    linear-gradient(135deg, #e9d8c8, #f6eee4 45%, #bec9b7);
  overflow: hidden;
  position: relative;
}

.portrait-placeholder::after {
  content: "";
  position: absolute;
  width: 82%;
  height: 80%;
  bottom: -12%;
  border-radius: 48% 48% 0 0;
  background:
    radial-gradient(circle at 50% 24%, #f6e7d8 0 17%, transparent 18%),
    linear-gradient(145deg, rgba(155,170,143,0.32), rgba(199,168,136,0.28));
  filter: blur(0.2px);
  opacity: 0.9;
}

.portrait-placeholder span {
  position: relative;
  z-index: 1;
  font-family: var(--serif);
  font-size: 84px;
  color: rgba(52, 44, 37, 0.72);
}

.portrait-placeholder small {
  position: relative;
  z-index: 1;
  color: rgba(52, 44, 37, 0.55);
  font-size: 14px;
}

.floating-note {
  position: absolute;
  max-width: 185px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 253, 249, 0.76);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 253, 249, 0.78);
  box-shadow: var(--shadow-soft);
}

.floating-note span {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(155, 170, 143, 0.22);
  color: var(--sage-dark);
  font-weight: 750;
}

.floating-note p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.35;
}

.note-top {
  top: 102px;
  left: -42px;
}

.note-bottom {
  right: -34px;
  bottom: 118px;
}

.intro-strip {
  position: relative;
  z-index: 2;
  padding: 30px 0;
  background: var(--text);
  color: rgba(255, 253, 249, 0.84);
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 24px;
}

.intro-strip p {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.17;
}

.intro-strip a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1px solid rgba(255, 253, 249, 0.44);
  background: rgba(255, 253, 249, 0.92);
  color: var(--text);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
  font-weight: 820;
  min-width: max-content;
  transition: background 0.34s ease, border-color 0.34s ease, transform 0.34s var(--ease-lift), box-shadow 0.34s var(--ease-soft);
  will-change: transform;
}

.intro-strip a:hover {
  background: white;
  border-color: rgba(155, 170, 143, 0.65);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.22);
  transform: translateY(-2px);
}

.about-grid,
.topics-grid,
.contact-grid,
.faq-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.12fr);
  gap: 76px;
  align-items: center;
}

.about-grid {
  align-items: start;
}

.about-media {
  position: relative;
  margin-top: 126px;
}

.about-media::before {
  content: none;
}

.about-copy p:not(.eyebrow),
.topics-copy p,
.contact-copy p,
.faq-intro p {
  color: var(--muted);
  margin: 22px 0 0;
  font-size: 17px;
}

.soft-photo {
  min-height: 580px;
  border-radius: var(--radius-xl);
  background:
    linear-gradient(to bottom, rgba(52, 44, 37, 0), rgba(52, 44, 37, 0.24)),
    radial-gradient(circle at 36% 26%, rgba(255, 253, 249, 0.88), transparent 20%),
    linear-gradient(135deg, #dac1ae, #f7efe4 48%, #b9c5af);
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}

.soft-photo::before {
  content: "";
  position: absolute;
  width: 330px;
  height: 330px;
  left: 50%;
  top: 18%;
  transform: translateX(-50%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 22%, #f5e3d2 0 22%, transparent 23%),
    linear-gradient(145deg, rgba(155,170,143,0.42), rgba(199,168,136,0.36));
  opacity: 0.9;
}

.soft-photo::after {
  content: "";
  position: absolute;
  width: 86%;
  height: 34%;
  left: 7%;
  bottom: 10%;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.22);
  filter: blur(25px);
}

.photo-caption {
  position: absolute;
  left: 26px;
  right: 26px;
  bottom: 26px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 253, 249, 0.72);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.photo-caption strong {
  display: block;
  font-family: var(--serif);
  font-size: 27px;
}

.photo-caption span {
  color: var(--muted);
  font-size: 14px;
}

.signature-row {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 34px;
}

.signature {
  font-family: var(--serif);
  font-style: italic;
  font-size: 33px;
}

.signature-row .line {
  height: 1px;
  flex: 1;
  background: var(--line);
}

.section-heading {
  max-width: 770px;
  margin: 0 auto 58px;
  text-align: center;
}

.section-heading p:not(.eyebrow) {
  color: var(--muted);
  margin: 20px auto 0;
  font-size: 17px;
  max-width: 690px;
}

.credentials-section {
  padding-block: 88px;
}

#services {
  padding-bottom: 62px;
}

.credentials-layout,
.testimonials-layout {
  position: relative;
  display: grid;
  gap: 34px;
  align-items: center;
  padding: clamp(28px, 4vw, 46px);
  border: 1px solid rgba(155, 170, 143, 0.22);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(145deg, rgba(255, 253, 249, 0.88), rgba(245, 236, 223, 0.74)),
    var(--paper-soft);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.credentials-layout {
  grid-template-columns: 1fr;
  gap: 30px;
}

.credentials-layout::before,
.testimonials-layout::before {
  content: "";
  position: absolute;
  inset: auto -90px -130px auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(155, 170, 143, 0.16);
  pointer-events: none;
}

.credentials-copy,
.testimonials-copy,
.certificate-preview-grid,
.testimonial-grid {
  position: relative;
  z-index: 1;
}

.credentials-copy {
  max-width: 980px;
}

.credentials-copy h2,
.testimonials-copy h2 {
  margin: 0;
  font-size: clamp(38px, 5vw, 66px);
  line-height: 0.96;
}

.credentials-copy p:not(.eyebrow),
.testimonials-copy p {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
}

.credentials-highlights {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
}

.credentials-highlights li {
  position: relative;
  min-height: 48px;
  padding: 12px 16px 12px 46px;
  border: 1px solid rgba(52, 44, 37, 0.09);
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.62);
  color: var(--muted);
}

.credentials-highlights li::before {
  content: "✓";
  position: absolute;
  left: 17px;
  top: 12px;
  color: var(--sage-dark);
  font-weight: 900;
}

.gallery-button {
  margin-top: 28px;
  background: rgba(255, 253, 249, 0.82);
  border-color: rgba(113, 130, 100, 0.24);
}

.certificate-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: stretch;
}

.media-preview-card {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid rgba(155, 170, 143, 0.22);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: 0 18px 44px rgba(63, 48, 36, 0.08);
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.36s var(--ease-lift), box-shadow 0.36s var(--ease-soft), border-color 0.36s ease;
  will-change: transform;
}

.media-preview-card:hover {
  transform: translateY(-6px);
  border-color: rgba(113, 130, 100, 0.42);
  box-shadow: 0 24px 58px rgba(63, 48, 36, 0.13);
}

.media-preview-card img {
  display: block;
  width: 100%;
  height: 100%;
}

.certificate-card {
  aspect-ratio: 16 / 10;
}

.certificate-card img {
  object-fit: contain;
  padding: 14px;
  background: rgba(255, 253, 249, 0.96);
}

.testimonials-section {
  padding-top: 38px;
  background: var(--bg);
}

.testimonials-layout {
  grid-template-columns: 1fr;
  gap: 30px;
}

.testimonials-copy {
  max-width: 760px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.testimonial-card {
  aspect-ratio: 4 / 3;
}

.testimonial-card img {
  object-fit: contain;
  object-position: top center;
  padding: 10px;
  background: rgba(255, 253, 249, 0.96);
}

.gallery-source {
  display: none;
}

.principles-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.principle-card,
.service-card,
.testimonial,
.contact-form,
.accordion,
.timeline-item {
  background: var(--paper-soft);
  border: 1px solid rgba(255, 253, 249, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

.principle-card {
  padding: 28px 24px 30px;
  min-height: 275px;
  transition: transform 0.38s var(--ease-lift), box-shadow 0.38s var(--ease-soft), border-color 0.38s ease, background 0.38s ease;
  will-change: transform;
}

.principle-card:hover,
.service-card:hover,
.testimonial:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow);
}

.card-number,
.service-top span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(155, 170, 143, 0.18);
  color: var(--sage-dark);
  font-weight: 800;
  margin-bottom: 28px;
}

.principle-card h3 {
  font-size: 26px;
}

.principle-card p,
.service-card p,
.testimonial p,
.timeline-item p {
  color: var(--muted);
  margin: 14px 0 0;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.service-card {
  position: relative;
  padding: 32px;
  transition: transform 0.38s var(--ease-lift), box-shadow 0.38s var(--ease-soft), border-color 0.38s ease, background 0.38s ease;
  will-change: transform;
}

.service-card.featured {
  background: var(--paper-soft);
  border-color: rgba(255, 253, 249, 0.82);
}

.service-card:hover {
  border-color: rgba(155, 170, 143, 0.34);
  background:
    linear-gradient(180deg, rgba(155, 170, 143, 0.08), transparent 62%),
    rgba(255, 253, 249, 0.9);
}

.service-card.featured:hover {
  background:
    linear-gradient(180deg, rgba(155, 170, 143, 0.08), transparent 62%),
    rgba(255, 253, 249, 0.9);
}

.badge {
  position: absolute;
  top: -13px;
  right: 28px;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--sage-dark);
  color: white;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.service-top {
  display: grid;
  align-items: start;
}

.service-card ul {
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
}

.service-card li {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.service-card li::before {
  content: "✓";
  color: var(--sage-dark);
  font-weight: 900;
  margin-right: 10px;
}

.service-footer {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.service-footer strong {
  font-family: var(--serif);
  font-size: 29px;
  line-height: 1;
}

.service-footer a {
  color: var(--sage-dark);
  font-weight: 800;
}

.topics-grid {
  grid-template-columns: minmax(0, 0.82fr) minmax(0, 1.18fr);
}

.topic-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.topic-list span {
  padding: 14px 18px;
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.66);
  border: 1px solid rgba(255, 253, 249, 0.82);
  box-shadow: 0 12px 34px rgba(63, 48, 36, 0.06);
  color: var(--text);
  font-weight: 560;
  transition: transform 0.32s var(--ease-lift), box-shadow 0.32s var(--ease-soft), background 0.32s ease, border-color 0.32s ease;
  will-change: transform;
}

.topic-list span:hover {
  transform: translateY(-4px);
  background: rgba(255, 253, 249, 0.88);
  border-color: rgba(155, 170, 143, 0.36);
  box-shadow: 0 16px 38px rgba(63, 48, 36, 0.09);
}

.timeline {
  max-width: 880px;
  margin: 0 auto;
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 22px;
  align-items: start;
  padding: 26px 30px;
}

.timeline-item span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--clay), var(--rose));
  color: white;
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
}

.timeline-item h3 {
  font-size: 28px;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.testimonial {
  padding: 30px;
  transition: transform 0.38s var(--ease-lift), box-shadow 0.38s var(--ease-soft), border-color 0.38s ease;
  will-change: transform;
}

.testimonial p {
  margin: 0 0 26px;
  font-family: var(--serif);
  font-size: 24px;
  line-height: 1.28;
  color: var(--text);
}

.testimonial strong {
  display: block;
}

.testimonial span {
  color: var(--muted);
  font-size: 14px;
}

.faq-grid {
  align-items: start;
}

.accordion {
  padding: 12px;
}

.accordion-item + .accordion-item {
  border-top: 1px solid var(--line);
}

.accordion-item button {
  width: 100%;
  border: 0;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 24px 18px;
  cursor: pointer;
  text-align: left;
  color: var(--text);
  font-family: var(--serif);
  font-size: 27px;
  line-height: 1.05;
  border-radius: 18px;
  transition: background 0.3s ease, color 0.3s ease;
}

.accordion-item button:hover {
  background: rgba(155, 170, 143, 0.08);
}

.accordion-item button span {
  font-family: var(--sans);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(155, 170, 143, 0.18);
  color: var(--sage-dark);
  flex: 0 0 34px;
  transition: transform 0.36s var(--ease-soft), background 0.3s ease;
}

.accordion-item.active button span {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height 0.44s var(--ease-soft), opacity 0.34s ease, transform 0.34s var(--ease-soft);
}

.accordion-item.active .accordion-content {
  opacity: 1;
  transform: translateY(0);
}

.accordion-content p {
  color: var(--muted);
  margin: 0;
  padding: 0 18px 24px;
}

.contact {
  padding-top: 110px;
  padding-bottom: 110px;
}

.contact-grid {
  align-items: start;
}

.contact-links {
  margin-top: 30px;
  display: grid;
  gap: 12px;
}

.contact-links a,
.contact-email-copy {
  color: var(--sage-dark);
  font-weight: 750;
}

.contact-email-copy {
  width: fit-content;
  max-width: 100%;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  padding: 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
}

.contact-email-copy:focus-visible {
  outline: 2px solid rgba(113, 130, 100, 0.45);
  outline-offset: 5px;
  border-radius: 4px;
}

.contact-email-status {
  margin-top: -8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
}

.contact-form {
  padding: 28px;
  display: grid;
  gap: 18px;
}

.form-honeypot {
  display: none !important;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px 18px;
  background: rgba(255, 253, 249, 0.78);
  color: var(--text);
  outline: none;
  text-transform: none;
  letter-spacing: normal;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form textarea {
  min-height: 150px;
  overflow-y: auto;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(113, 130, 100, 0.55);
  box-shadow: 0 0 0 4px rgba(155, 170, 143, 0.14);
}

.contact-form input[aria-invalid="true"],
.contact-form textarea[aria-invalid="true"] {
  border-color: rgba(155, 78, 66, 0.72);
  box-shadow: 0 0 0 4px rgba(155, 78, 66, 0.08);
}

.form-field-error {
  margin-top: -2px;
  color: #9b4e42;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.45;
  letter-spacing: normal;
  text-transform: none;
}

.form-field-error:empty {
  display: none;
}

.booking-cta {
  margin-top: 28px;
  padding: 30px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155, 170, 143, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.9), rgba(245, 236, 223, 0.92)),
    var(--paper-soft);
  box-shadow: 0 18px 52px rgba(63, 48, 36, 0.07);
}

.booking-cta h3 {
  margin: 0 0 8px;
  font-size: 32px;
}

.booking-cta p {
  margin: 0;
  color: var(--muted);
  max-width: 760px;
}

.booking-cta-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid rgba(113, 130, 100, 0.72);
  background:
    linear-gradient(135deg, rgba(155, 170, 143, 0.96), rgba(113, 130, 100, 0.98));
  color: white;
  font-weight: 850;
  white-space: nowrap;
  box-shadow: 0 16px 34px rgba(113, 130, 100, 0.18);
  transition: background 0.34s ease, transform 0.34s var(--ease-lift), box-shadow 0.34s var(--ease-soft);
  will-change: transform;
}

.booking-cta-button:hover {
  background:
    linear-gradient(135deg, rgba(169, 181, 158, 1), rgba(99, 115, 87, 1));
  box-shadow: 0 20px 42px rgba(113, 130, 100, 0.24);
  transform: translateY(-2px);
}

.disclaimer-section {
  padding-top: 22px;
  padding-bottom: 96px;
}

.disclaimer-card {
  max-width: 980px;
  margin-inline: auto;
  padding: 34px 38px;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(155, 170, 143, 0.24);
  background:
    linear-gradient(135deg, rgba(255, 253, 249, 0.92), rgba(245, 236, 223, 0.9)),
    var(--paper-soft);
  box-shadow: 0 18px 52px rgba(63, 48, 36, 0.07);
}

.disclaimer-card h2 {
  margin: 0 0 18px;
  font-size: clamp(32px, 4vw, 46px);
}

.disclaimer-copy {
  display: grid;
  gap: 14px;
}

.disclaimer-copy p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.72;
}

.form-note {
  margin: -4px 0 0;
  color: var(--faint);
  font-size: 13px;
  line-height: 1.5;
  text-transform: none;
  letter-spacing: normal;
}

.form-status {
  margin: -4px 0 0;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.5;
}

.form-status[hidden],
.contact-email-status[hidden],
.submission-overlay[hidden] {
  display: none !important;
}

.form-status.is-success {
  color: var(--sage-dark);
}

.form-status.is-error {
  color: #9b4e42;
}

.contact-form [data-submit-button] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.contact-form [data-submit-button]:disabled {
  cursor: wait;
  opacity: 0.82;
}

body.form-submitting {
  overflow: hidden;
}

.submission-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  padding: 24px;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 253, 249, 0.96), rgba(245, 236, 223, 0.91) 58%, rgba(239, 225, 210, 0.88)),
    rgba(251, 247, 240, 0.94);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.28s ease;
}

.submission-overlay::before {
  content: "";
  position: absolute;
  width: min(70vw, 620px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: rgba(155, 170, 143, 0.1);
  filter: blur(1px);
  transform: scale(0.8);
  transition: transform 3s var(--ease-soft), opacity 0.5s ease;
}

.submission-overlay.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.submission-overlay.is-visible::before {
  transform: scale(1);
}

.submission-feedback {
  position: relative;
  z-index: 1;
  width: min(480px, 100%);
  display: grid;
  justify-items: center;
  gap: 24px;
  padding: 42px 36px;
  border: 1px solid rgba(255, 253, 249, 0.9);
  border-radius: 30px;
  background: rgba(255, 253, 249, 0.68);
  box-shadow: 0 28px 90px rgba(63, 48, 36, 0.12);
  text-align: center;
  transform: translateY(10px) scale(0.97);
  transition: transform 0.5s var(--ease-soft), background 0.5s ease;
}

.submission-overlay.is-visible .submission-feedback {
  transform: translateY(0) scale(1);
}

.submission-symbol {
  position: relative;
  width: 74px;
  height: 74px;
}

.submission-spinner-circle,
.submission-success-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
}

.submission-spinner-circle {
  border: 3px solid rgba(113, 130, 100, 0.18);
  border-top-color: var(--sage-dark);
  border-right-color: rgba(113, 130, 100, 0.55);
  box-shadow: 0 10px 36px rgba(113, 130, 100, 0.12);
  animation: submission-spinner-rotate 0.9s linear infinite;
  transition: opacity 0.35s ease, transform 0.45s var(--ease-soft);
}

.submission-success-circle {
  display: grid;
  place-items: center;
  border: 2px solid rgba(113, 130, 100, 0.62);
  background: rgba(155, 170, 143, 0.2);
  box-shadow: 0 12px 40px rgba(113, 130, 100, 0.18);
  opacity: 0;
  transform: scale(0.55);
  transition: opacity 0.35s ease 0.08s, transform 0.55s var(--ease-soft) 0.08s;
}

.submission-success-circle::after {
  content: "";
  width: 25px;
  height: 13px;
  border: solid var(--sage-dark);
  border-width: 0 0 3px 3px;
  transform: translateY(-3px) rotate(-45deg) scale(0.7);
  opacity: 0;
  transition: transform 0.45s var(--ease-soft) 0.2s, opacity 0.3s ease 0.2s;
}

.submission-overlay.is-success .submission-spinner-circle {
  opacity: 0;
  transform: rotate(180deg) scale(0.5);
}

.submission-overlay.is-success .submission-success-circle {
  opacity: 1;
  transform: scale(1);
}

.submission-overlay.is-success .submission-success-circle::after {
  opacity: 1;
  transform: translateY(-3px) rotate(-45deg) scale(1);
}

.submission-message {
  min-height: 34px;
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(28px, 4vw, 38px);
  font-weight: 700;
  line-height: 1.08;
}

[data-overlay-dots] {
  display: inline-block;
  width: 1.2em;
  text-align: left;
}

.submission-overlay.is-success .submission-feedback {
  background: rgba(255, 253, 249, 0.8);
}

@keyframes submission-spinner-rotate {
  to {
    transform: rotate(360deg);
  }
}

.site-footer {
  position: relative;
  z-index: 1;
  padding: 44px 0;
  background: var(--text);
  color: rgba(255, 253, 249, 0.76);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  align-items: center;
  gap: 30px;
}

.footer-brand .brand-text strong {
  color: white;
}

.footer-brand .brand-text em {
  color: rgba(255, 253, 249, 0.55);
}

.footer-disclaimer {
  margin: 0;
  color: rgba(255, 253, 249, 0.52);
  font-size: 12px;
  line-height: 1.6;
}

.footer-disclaimer-link {
  color: rgba(255, 253, 249, 0.82);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(155, 170, 143, 0.56);
  text-underline-offset: 4px;
}

.footer-disclaimer-link:hover {
  color: white;
}

.copyright {
  margin: 0;
  color: rgba(255, 253, 249, 0.42);
  font-size: 13px;
  min-width: max-content;
}

.reveal {
  opacity: 0;
  transform: translate3d(0, 30px, 0);
  transition:
    opacity 1s var(--ease-soft),
    transform 1s var(--ease-soft);
  transition-delay: var(--reveal-delay, 0ms);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.reveal-delay-1 {
  --reveal-delay: 100ms;
}

.reveal-delay-2 {
  --reveal-delay: 180ms;
}

.reveal-delay-3 {
  --reveal-delay: 260ms;
}

@media (max-width: 1080px) {
  .nav {
    gap: 16px;
  }

  .hero-grid,
  .about-grid,
  .topics-grid,
  .contact-grid,
  .faq-grid {
    gap: 46px;
  }

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

  .service-cards,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .credentials-layout,
  .testimonials-layout {
    grid-template-columns: 1fr;
  }

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

  .credentials-highlights {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    justify-content: center;
  }

  .copyright {
    min-width: 0;
  }
}

@media (max-width: 860px) {
  body.menu-open .site-header.scrolled {
    backdrop-filter: none;
  }

  .menu-button {
    display: block;
    z-index: 61;
  }

  .nav {
    position: fixed;
    inset: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background:
      radial-gradient(circle at 80% 20%, rgba(216, 185, 170, 0.32), transparent 36%),
      var(--bg);
    transform: translateY(-105%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.32s ease, opacity 0.32s ease;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav a {
    font-family: var(--serif);
    font-size: 34px;
    color: var(--text);
  }

  .nav-cta {
    font-family: var(--sans) !important;
    font-size: 16px !important;
    margin-top: 8px;
    padding: 14px 24px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero-grid,
  .about-grid,
  .topics-grid,
  .contact-grid,
  .faq-grid,
  .intro-grid {
    grid-template-columns: 1fr;
  }

  .hero-art {
    min-height: 520px;
    order: -1;
  }

  .portrait-card {
    max-width: 430px;
    margin-inline: auto;
    left: 0;
    right: 0;
  }

  .note-top {
    left: 0;
  }

  .note-bottom {
    right: 0;
  }

  .trust-row div {
    flex: 1 1 145px;
  }

  .soft-photo {
    min-height: 480px;
  }

  .intro-strip a {
    min-width: 0;
    width: fit-content;
  }

  .credentials-copy h2,
  .testimonials-copy h2 {
    font-size: clamp(34px, 10vw, 52px);
  }
}

@media (max-width: 620px) {
  .container {
    width: min(100% - 28px, var(--container));
  }

  .header-inner {
    height: 72px;
  }

  .brand-text strong {
    font-size: 22px;
  }

  .brand-text em {
    font-size: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
  }

  .section,
  .section-soft,
  .contact {
    padding: 78px 0;
  }

  .credentials-section {
    padding-block: 62px;
  }

  .credentials-layout,
  .testimonials-layout {
    padding: 24px;
    border-radius: 24px;
  }

  .certificate-preview-grid {
    grid-template-columns: 1fr;
  }

  .testimonials-layout .testimonial-grid {
    grid-template-columns: none;
    grid-auto-flow: column;
    grid-auto-columns: minmax(178px, 74%);
    overflow-x: auto;
    padding: 2px 2px 10px;
    margin-inline: -2px;
    scroll-snap-type: x mandatory;
  }

  .testimonial-card {
    scroll-snap-align: start;
  }

  .hero {
    padding-top: 94px;
    min-height: auto;
  }

  h1 {
    font-size: clamp(46px, 14vw, 62px);
  }

  h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .lead {
    font-size: 17px;
  }

  .hero-actions {
    display: grid;
  }

  .button {
    width: 100%;
  }

  .hero-art {
    min-height: 460px;
  }

  .floating-note {
    max-width: 164px;
    padding: 14px;
  }

  .floating-note p {
    font-size: 12px;
  }

  .note-top {
    top: 55px;
  }

  .note-bottom {
    bottom: 55px;
  }

  .portrait-placeholder span {
    font-size: 62px;
  }

  .trust-row {
    margin-top: 34px;
  }

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

  .principle-card {
    min-height: auto;
  }

  .timeline-item {
    grid-template-columns: 46px 1fr;
    padding: 22px;
    gap: 16px;
  }

  .timeline-item span {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .accordion-item button {
    font-size: 23px;
    padding: 21px 12px;
  }

  .accordion-content p {
    padding: 0 12px 22px;
  }

  .contact-form {
    padding: 20px;
  }

  .booking-cta {
    grid-template-columns: 1fr;
    padding: 24px;
    gap: 20px;
  }

  .booking-cta h3 {
    font-size: 28px;
  }

  .booking-cta-button {
    width: 100%;
    white-space: normal;
    text-align: center;
  }

  .disclaimer-section {
    padding-top: 0;
    padding-bottom: 72px;
  }

  .disclaimer-card {
    padding: 26px 22px;
  }

  .disclaimer-copy p {
    font-size: 14px;
  }
}


/* ============================================
   LANGUAGE SWITCHER
   ============================================ */
.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 253, 249, 0.62);
  box-shadow: 0 10px 28px rgba(63, 48, 36, 0.05);
}

.language-switcher a {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.language-switcher a.active {
  background: var(--text);
  color: white;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-languages {
  display: flex;
  justify-content: center;
  margin-top: 18px;
}

@media (max-width: 860px) {
  .header-tools .language-switcher {
    display: none;
  }

  .nav .language-switcher {
    display: inline-flex;
    margin-top: 16px;
  }
}

@media (min-width: 861px) {
  .nav .language-switcher {
    display: none;
  }
}


/* === REAL PHOTO FROM OLD TILDA SITE === */
.portrait-image,
.about-photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.portrait-card {
  overflow: hidden;
}

.portrait-card .portrait-image {
  border-radius: 46% 46% 26px 26px;
  object-position: center center;
}

.soft-photo.photo-real {
  min-height: 0;
  aspect-ratio: 3 / 5;
  padding: 0;
  background: var(--paper);
  border: 1px solid rgba(255, 253, 249, 0.86);
  box-shadow: 0 24px 66px rgba(63, 48, 36, 0.11);
  position: relative;
  z-index: 1;
}

.soft-photo.photo-real::before,
.soft-photo.photo-real::after {
  display: none;
}

.soft-photo.photo-real .about-photo-image {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-xl);
  object-position: center center;
  filter: saturate(0.98) contrast(1.01);
}

.soft-photo.photo-real .photo-caption {
  display: none;
}

.soft-photo.photo-real .photo-caption strong {
  font-size: 25px;
}

.soft-photo.photo-real .photo-caption span {
  font-size: 13px;
}

@media (min-width: 861px) {
  .about-grid {
    align-items: stretch;
  }

  .about-media {
    display: block;
    min-height: 0;
  }

  .soft-photo.photo-real {
    position: absolute;
    inset: 0;
    width: 100%;
    height: auto;
    flex: none;
    aspect-ratio: auto;
  }
}

@media (max-width: 860px) {
  .about-media::before {
    inset: 28px 8px -18px 28px;
  }

  .about-media {
    margin-top: 0;
  }

  .soft-photo.photo-real {
    position: relative;
    inset: auto;
    height: auto;
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 620px) {
  .about-media::before {
    inset: 20px 6px -12px 18px;
  }

  .soft-photo.photo-real {
    aspect-ratio: 4 / 5;
    padding: 0;
  }
}

/* === EXTENDED REAL CONTENT SECTIONS === */
.credentials-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.credentials-list li {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255, 253, 249, 0.62);
  border: 1px solid var(--line);
  color: var(--muted);
}

.credentials-list li::before {
  content: "✓";
  color: var(--sage-dark);
  font-weight: 900;
  margin-right: 10px;
}

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

.scope-card {
  padding: 24px;
  border-radius: var(--radius-lg);
  background: var(--paper-soft);
  border: 1px solid rgba(255, 253, 249, 0.82);
  box-shadow: var(--shadow-soft);
  transition: transform 0.38s var(--ease-lift), box-shadow 0.38s var(--ease-soft), border-color 0.38s ease, background 0.38s ease;
  will-change: transform;
}

.scope-card:hover {
  transform: translateY(-6px);
  border-color: rgba(155, 170, 143, 0.3);
  box-shadow: var(--shadow);
}

.scope-card h3 {
  font-size: 27px;
  margin-bottom: 10px;
}

.scope-card p {
  margin: 0;
  color: var(--muted);
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}

.guide-card {
  background: var(--paper-soft);
  border: 1px solid rgba(255, 253, 249, 0.82);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  transition: transform 0.38s var(--ease-lift), box-shadow 0.38s var(--ease-soft), border-color 0.38s ease;
  will-change: transform;
}

.guide-card:hover {
  transform: translateY(-7px);
  border-color: rgba(155, 170, 143, 0.28);
  box-shadow: var(--shadow);
}

.guide-cover {
  min-height: 210px;
  background:
    radial-gradient(circle at 35% 18%, rgba(255,255,255,0.75), transparent 28%),
    linear-gradient(135deg, #d9c1ac, #f8efe5 48%, #bac8b2);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.guide-cover strong {
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.guide-body {
  padding: 26px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.guide-body p {
  color: var(--muted);
  margin: 0;
}

.guide-actions {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.guide-price {
  display: inline-flex;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(155, 170, 143, 0.18);
  color: var(--sage-dark);
  font-weight: 800;
  white-space: nowrap;
}

.guide-action {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 17px;
  border-radius: 999px;
  border: 1px solid var(--sage-dark);
  font: inherit;
  font-weight: 800;
  line-height: 1;
  cursor: pointer;
  transition: background 0.32s ease, color 0.32s ease, transform 0.32s var(--ease-lift), box-shadow 0.32s var(--ease-soft), border-color 0.32s ease;
  will-change: transform;
}

.guide-action-free {
  background: transparent;
  color: var(--sage-dark);
}

.guide-action-paid,
.guide-buy-button {
  background: var(--sage-dark);
  color: white;
  box-shadow: 0 16px 36px rgba(78, 91, 69, 0.18);
}

.guide-action:hover,
.guide-buy-button:hover {
  transform: translateY(-2px);
}

.guide-action-free:hover {
  background: rgba(155, 170, 143, 0.12);
}

.guide-action-paid:hover,
.guide-buy-button:hover {
  background: #6f7d63;
  color: white;
}

body.modal-open {
  overflow: hidden;
}

.media-modal[hidden],
.guide-modal[hidden] {
  display: none;
}

.media-modal,
.guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(42, 36, 30, 0.62);
  backdrop-filter: blur(8px);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.media-modal {
  z-index: 1010;
  padding: clamp(12px, 2vw, 24px);
}

.media-modal.open,
.guide-modal.open {
  opacity: 1;
}

.media-modal-panel,
.guide-modal-panel {
  position: relative;
  width: min(940px, 100%);
  max-height: min(88vh, 900px);
  overflow: auto;
  padding: 34px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(248, 239, 229, 0.98)),
    var(--paper);
  border: 1px solid rgba(255, 253, 249, 0.9);
  box-shadow: 0 34px 90px rgba(42, 36, 30, 0.3);
  transform: translateY(16px) scale(0.98);
  transition: transform 0.22s ease;
}

.media-modal-panel {
  display: flex;
  flex-direction: column;
  width: min(1040px, 100%);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  padding: clamp(20px, 3vw, 30px);
}

.media-modal.open .media-modal-panel,
.guide-modal.open .guide-modal-panel {
  transform: translateY(0) scale(1);
}

.media-modal-close,
.guide-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 253, 249, 0.76);
  color: var(--text);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.34s ease, transform 0.34s var(--ease-lift), box-shadow 0.34s var(--ease-soft);
  will-change: transform;
}

.media-modal-close:hover,
.guide-modal-close:hover {
  background: white;
  transform: translateY(-1px);
}

.media-modal-header,
.guide-modal-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding-right: 52px;
}

.media-modal-header {
  flex: 0 0 auto;
}

.media-modal-header .eyebrow,
.guide-modal-header .eyebrow {
  margin-bottom: 8px;
}

.media-modal-header h2,
.guide-modal-header h2 {
  margin: 0;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 0.95;
}

.media-modal-viewer {
  position: relative;
  display: grid;
  place-items: center;
  flex: 1 1 auto;
  min-height: 0;
  height: min(68vh, 690px);
  max-height: calc(100dvh - 185px);
  margin-top: 26px;
  padding: 22px 76px;
  border: 1px solid rgba(155, 170, 143, 0.2);
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.84), rgba(245, 236, 223, 0.64)),
    rgba(255, 253, 249, 0.78);
  overflow: hidden;
}

.media-modal-viewer img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: min(62vh, calc(100dvh - 285px));
  border-radius: 16px;
  object-fit: contain;
  box-shadow: 0 22px 54px rgba(42, 36, 30, 0.16);
}

.media-modal-nav {
  position: absolute;
  top: 50%;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(52, 44, 37, 0.12);
  border-radius: 50%;
  background: rgba(255, 253, 249, 0.88);
  color: var(--text);
  font-size: 34px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 12px 26px rgba(42, 36, 30, 0.12);
  transform: translateY(-50%);
  transition: background 0.26s ease, transform 0.26s var(--ease-lift), box-shadow 0.26s var(--ease-soft);
}

.media-modal-nav:hover {
  background: white;
  transform: translateY(-50%) scale(1.04);
}

.media-modal-prev {
  left: 18px;
}

.media-modal-next {
  right: 18px;
}

.guide-modal-price {
  display: inline-flex;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(155, 170, 143, 0.18);
  color: var(--sage-dark);
  font-weight: 900;
  white-space: nowrap;
}

.guide-preview-window {
  position: relative;
  margin-top: 28px;
  padding-bottom: 72px;
}

.guide-preview-pages {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.guide-preview-page {
  min-height: 270px;
  padding: 28px;
  border-radius: var(--radius-md);
  background:
    linear-gradient(180deg, rgba(255, 253, 249, 0.96), rgba(255, 253, 249, 0.72)),
    var(--paper-soft);
  border: 1px solid rgba(155, 170, 143, 0.2);
  box-shadow: 0 18px 42px rgba(63, 48, 36, 0.08);
}

.guide-preview-page span {
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  margin-bottom: 28px;
  border-radius: 50%;
  background: rgba(155, 170, 143, 0.18);
  color: var(--sage-dark);
  font-weight: 900;
}

.guide-preview-page p {
  margin: 0;
  color: var(--text);
  font-size: 19px;
  line-height: 1.6;
}

.guide-preview-fade {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 150px;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  background: linear-gradient(180deg, rgba(42, 36, 30, 0), rgba(42, 36, 30, 0.68));
  pointer-events: none;
}

.guide-purchase-box {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  margin-top: -36px;
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 253, 249, 0.94);
  border: 1px solid rgba(255, 253, 249, 0.9);
  box-shadow: 0 18px 50px rgba(42, 36, 30, 0.18);
}

.guide-purchase-box h3 {
  margin: 0 0 8px;
  font-size: 28px;
}

.guide-purchase-box p {
  margin: 0;
  color: var(--muted);
}

.guide-buy-button {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 850;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
}

.old-price {
  color: var(--faint);
  text-decoration: line-through;
  font-size: 18px;
  margin-left: 8px;
  font-family: var(--sans);
}

.iherb-note {
  margin-top: 24px;
  padding: 20px;
  border-radius: var(--radius-lg);
  background: rgba(155, 170, 143, 0.12);
  border: 1px solid rgba(155, 170, 143, 0.22);
  color: var(--muted);
}

.iherb-note strong {
  color: var(--sage-dark);
}

@media (max-width: 900px) {
  .scope-grid,
  .guides-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .guide-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .guide-action {
    width: 100%;
  }

  .guide-modal {
    padding: 12px;
  }

  .media-modal {
    padding: 12px;
  }

  .guide-modal-panel {
    padding: 26px 18px 20px;
  }

  .media-modal-panel {
    max-height: calc(100dvh - 24px);
    padding: 22px 14px 14px;
  }

  .guide-modal-close {
    top: 12px;
    right: 12px;
  }

  .media-modal-close {
    top: 12px;
    right: 12px;
  }

  .guide-modal-header {
    display: block;
    padding-right: 44px;
  }

  .media-modal-header {
    display: block;
    padding-right: 44px;
  }

  .guide-modal-header h2 {
    font-size: 36px;
  }

  .media-modal-header h2 {
    font-size: 36px;
  }

  .media-modal-viewer {
    height: auto;
    max-height: calc(100dvh - 190px);
    margin-top: 20px;
    padding: 18px 12px 74px;
  }

  .media-modal-viewer img {
    max-height: calc(100dvh - 285px);
  }

  .media-modal-nav {
    top: auto;
    bottom: 18px;
    transform: none;
  }

  .media-modal-nav:hover {
    transform: scale(1.04);
  }

  .media-modal-prev {
    left: calc(50% - 58px);
  }

  .media-modal-next {
    right: calc(50% - 58px);
  }

  .guide-modal-price {
    margin-top: 16px;
  }

  .guide-preview-window {
    padding-bottom: 92px;
  }

  .guide-preview-pages {
    grid-template-columns: 1fr;
  }

  .guide-preview-page {
    min-height: 230px;
    padding: 24px;
  }

  .guide-purchase-box {
    grid-template-columns: 1fr;
    margin-top: -54px;
  }

  .guide-buy-button {
    width: 100%;
  }
}


/* === SERVICE CARD FIXES: stable pricing, CTA button, non-breaking old price === */
.service-cards {
  align-items: stretch;
}

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

.service-note {
  margin-top: 18px;
  color: var(--muted);
}

.service-footer {
  margin-top: auto;
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 14px;
}

.price-line {
  display: flex;
  align-items: flex-end;
  gap: 9px;
  flex-wrap: wrap;
}

.price-amount {
  font-family: var(--serif);
  font-size: 36px;
  line-height: 0.95;
  color: var(--text);
  font-weight: 650;
  letter-spacing: -0.02em;
}

.price-currency {
  font-size: 13px;
  line-height: 1.15;
  color: var(--muted);
  font-weight: 800;
  margin-bottom: 3px;
  white-space: nowrap;
  letter-spacing: 0.06em;
}

.old-price {
  color: var(--faint);
  text-decoration: line-through;
  font-size: 16px;
  font-family: var(--sans);
  white-space: nowrap;
  line-height: 1.15;
  margin-left: 2px;
  margin-bottom: 3px;
}

.service-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border: 1px solid rgba(113, 130, 100, 0.72);
  border-radius: 999px;
  color: white;
  background:
    linear-gradient(135deg, rgba(155, 170, 143, 0.96), rgba(113, 130, 100, 0.98));
  box-shadow: 0 16px 34px rgba(113, 130, 100, 0.2);
  font-weight: 850;
  white-space: nowrap;
  transition: background 0.34s ease, transform 0.34s var(--ease-lift), box-shadow 0.34s var(--ease-soft), color 0.34s ease;
  will-change: transform;
}

.service-button:hover {
  background:
    linear-gradient(135deg, rgba(169, 181, 158, 1), rgba(99, 115, 87, 1));
  box-shadow: 0 20px 42px rgba(113, 130, 100, 0.26);
  color: white;
  transform: translateY(-2px);
}

.service-footer a.service-button {
  color: white;
  font-weight: 850;
}

@media (max-width: 620px) {
  .service-footer {
    align-items: flex-start;
  }

  .price-amount {
    font-size: 32px;
  }

  .service-button {
    width: fit-content;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .button:hover,
  .intro-strip a:hover,
  .principle-card:hover,
  .service-card:hover,
  .scope-card:hover,
  .topic-list span:hover,
  .testimonial:hover,
  .media-preview-card:hover,
  .testimonial-card:hover,
  .certificate-card:hover,
  .gallery-button:hover,
  .guide-card:hover,
  .guide-action:hover,
  .guide-buy-button:hover,
  .booking-cta-button:hover,
  .service-button:hover {
    transform: none;
  }
}
