/* ==========================================================
   Soft Return — merged stylesheet
   Base aesthetic: warm cream + Georgia serif (index page)
   ========================================================== */

/* ---------- Design tokens ---------- */
:root {
  --bg: #fdfaf4;           /* cream background */
  --ink: #4a4036;          /* warm dark brown text */
  --muted: #6b5f52;        /* soft warm brown */
  --card: #ffffff;
  --accent: #6b5f52;
  --accent-dark: #4a4036;
  --border: #e7dfd2;
  --white: #ffffff;
  --error: #8d3520;
  --success: #1f5637;
  --error-bg: #fef2f0;
  --success-bg: #e8f5e8;
}

/* ---------- Base & typography ---------- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 1.15rem;   /* scales the whole rem-based type system ~15% */
}

body {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
}

/* Forms stay sans-serif for legibility at small sizes */
input,
textarea,
select {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

a {
  color: var(--accent-dark);
  transition: color 0.2s ease;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  line-height: 1.15;
  margin: 0.8rem 0 1.5rem;
  color: var(--ink);
  font-weight: normal;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.2;
  margin-top: 0;
  color: var(--ink);
  font-weight: normal;
}

.lead {
  font-size: 1.35rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 700px;
  font-weight: 400;
  margin: 0 auto 2.5rem;
  text-align: center;
}

.lead.italic {
  font-style: italic;
}

.lead strong {
  color: var(--ink);
  font-weight: normal;
  font-style: normal;
}

.box-text {
  text-align: justify;
}

.box-text li {
  font-size: 1.1rem;
  line-height: 1.9;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 400;
}

/* ---------- Global transitions ---------- */
button,
.button,
.submit-btn {
  transition: all 0.3s ease;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem clamp(1.5rem, 5vw, 5rem);
  background: rgba(253, 250, 244, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(231, 223, 210, 0.6);
}

.brand {
  font-weight: normal;
  text-decoration: none;
  color: var(--ink);
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.brand img {
  width: 2.4rem;
  height: auto;
  display: block;
}

nav {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* .nav-inner is the desktop flex wrapper for links + language selector */
.nav-inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

nav a {
  text-decoration: none;
  font-weight: normal;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color 0.2s ease;
  border-bottom: 1px solid transparent;
  padding-bottom: 0.2rem;
}

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

nav a.active-nav:not(.button) {
  font-weight: normal;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 0.2rem;
}

/* ---------- Hamburger toggle (hidden on desktop) ---------- */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* Animated X when open */
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Language selector */
.language-select {
  margin-left: 1rem;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--muted);
  border-radius: 4px;
  padding: 0.3rem 0.6rem;
  font: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.language-select:hover {
  border-color: var(--accent);
}

.language-select:focus {
  outline: none;
  border-color: var(--ink);
  box-shadow: 0 0 0 3px rgba(107, 95, 82, 0.12);
}

.lang-page {
  display: none;
}

.lang-page.active {
  display: block;
}

/* ---------- Layout ---------- */
main {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

main.wide {
  width: 100%;
  max-width: none;
}

footer {
  width: min(1100px, calc(100% - 2rem));
  margin: 3rem auto 2rem;
  color: var(--muted);
  border-top: 1px solid var(--border);
  padding: 2rem 0 3rem;
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================================
   Hero — index.html full-screen image hero
   ========================================================== */
.hero {
  position: relative;
  min-height: 88vh;
  min-height: 88svh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  max-width: none;
  text-align: left;
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22vh;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}

.hero.image-hero {
  background-image: url("media/images/zen-feather.jpg");
}

.hero-text {
  position: relative;
  z-index: 1;
  max-width: 34rem;
  margin-left: clamp(1.5rem, 8vw, 6rem);
  padding: 2rem 2rem 2rem 0;
}

.hero-text .eyebrow {
  font-size: 0.95rem;
  letter-spacing: 0.16em;
  color: var(--muted);
  margin-bottom: 1rem;
}

.hero-text h1 {
  font-size: clamp(2.4rem, 5.8vw, 3.9rem);
  font-weight: normal;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-text .lead {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  color: var(--muted);
  margin: 0 0 2rem;
  text-align: left;
}

.hero-text .lead.box-text {
  text-align: justify;
}

/* Centered-text hero variant */
.hero.centered {
  min-height: auto;
  display: block;
  padding: 8rem 1.5rem 5rem;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  background: linear-gradient(180deg, #f3ece1 0%, var(--bg) 100%);
  border-radius: 0 0 2rem 2rem;
}

.hero.centered::after {
  display: none;
}

.hero.centered .eyebrow {
  color: var(--muted);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.hero.centered h1 {
  font-size: clamp(2.2rem, 6vw, 3.8rem);
  margin: 0.8rem auto 1.5rem;
}

.hero.centered .lead {
  font-style: italic;
  margin-bottom: 2rem;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: var(--ink);
  text-decoration: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 1.0;
}

.scroll-cue svg {
  animation: drift 2.2s ease-in-out infinite;
}

@keyframes drift {
  0%, 100% { transform: translateY(0); opacity: 0.6; }
  50%      { transform: translateY(8px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue svg { animation: none; }
}

/* ---------- Buttons ---------- */
.actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  justify-content: center;
}

.button {
  display: inline-block;
  padding: 0.8rem 2rem;
  border-radius: 999px;
  background-color: var(--accent);
  color: var(--bg);
  text-decoration: none;
  font-weight: normal;
  border: none;
  cursor: pointer;
  font-family: inherit;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(74, 64, 54, 0.12);
}

.button:hover {
  background-color: var(--accent-dark);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(74, 64, 54, 0.16);
}

/* Legacy secondary button (kept for compatibility if used elsewhere) */
.button.secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--ink);
}

.button.secondary:hover {
  background: rgba(107, 95, 82, 0.06);
  border-color: var(--accent-dark);
}

.button.small {
  padding: 0.45rem 1.1rem;
  font-size: 0.95rem;
}

.nav-contact-button {
  margin-left: 0.4rem;
}

.nav-contact-button:hover {
  text-decoration: none;
}

/* ==========================================================
   Services section — index.html
   ========================================================== */
.services {
  max-width: 54rem;
  margin: 0 auto;
  padding: 3rem 1.5rem; 
  scroll-margin-top: 5rem;
}

.services h2.section-title {
  font-weight: normal;
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.3;
}

.services .section-subtitle {
  text-align: center;
  color: var(--muted);
  font-size: 1.4rem;
  font-style: italic;
  max-width: 44rem;
  margin: -2rem auto 3rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.5rem, 4vw, 2.5rem);
}

.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: clamp(1.6rem, 4vw, 2.4rem);
  box-shadow: 0 6px 22px rgba(74, 64, 54, 0.05);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card .eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  color: var(--muted);
  margin-bottom: 0.6rem;
}

.service-card .eyebrow::before {
  content: "";
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  margin-bottom: 1rem;
}

.service-card h3 {
  font-weight: normal;
  font-size: clamp(1.45rem, 2.7vw, 1.85rem);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.service-card p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
  flex-grow: 1;
  line-height: 1.8;
}

.service-card .button {
  padding: 0.6rem 1.7rem;
  font-size: 0.95rem;
  align-self: flex-start;
}

/* ==========================================================
   Therapy page — quiet reading flow
   ========================================================== */
.flow-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 1.5rem 0;
}

.flow-section h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: normal;
  margin-bottom: 1.4rem;
}

.flow-section p {
  color: var(--muted);
  font-size: 1.3rem;
  line-height: 1.9;
  margin-bottom: 1.2rem;
}

.flow-section p:last-child {
  margin-bottom: 0;
}

.flow-divider {
  width: 3rem;
  height: 1px;
  background: var(--border);
  margin: 3.5rem auto 0;
}

.pull-quote {
  max-width: 640px;
  margin: 4rem auto;
  padding: 0 1.5rem;
  text-align: center;
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 1.75rem);
  line-height: 1.6;
  color: var(--ink);
}

.pull-quote::before {
  content: "—";
  display: block;
  color: var(--muted);
  margin-bottom: 1rem;
  font-style: normal;
}

/* ==========================================================
   Cards & blocks — inner pages
   ========================================================== */
.cards,
.two-cards {
  display: grid;
  gap: 2rem;
  margin: 4rem 0;
}

.cards {
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

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

.cards article,
.language-block,
.notice,
.block,
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(74, 64, 54, 0.05);
}

.cards article,
.language-block,
.notice,
.block {
  padding: 2.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cards article:hover,
.language-block:hover,
.block:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(74, 64, 54, 0.08);
}

.language-block,
.notice {
  margin: 1.5rem 0;
}

.notice {
  background: var(--error-bg);
  border: 1px solid var(--error);
  margin: 2rem auto;
  max-width: 800px;
  text-align: center;
}

.notice h2 {
  color: var(--error);
  font-size: 1.4rem;
  font-weight: normal;
}

.notice.warm {
  --warm-alert: #a65a3a;
  background: #faf1ea;
  border: 1px solid #e5c9b8;
  max-width: 720px;
}

.notice.warm h2 {
  color: var(--warm-alert);
}

.cards article h2,
.notice h2 {
  font-size: clamp(1.3rem, 3vw, 1.8rem);
  line-height: 1.2;
  margin-bottom: 1rem;
  font-weight: normal;
}

.cards article p,
.language-block p,
.notice p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 1.08rem;
}

.block {
  max-width: 820px;
  margin: 1.5rem auto 2.5rem;
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.block p,
.block ul,
.block li {
  color: var(--muted);
  line-height: 1.9;
  font-size: 1.3rem;
  margin-bottom: 1.2rem;
  text-align: justify;
}

.block ul {
  padding-left: 1.5em;
  margin-top: 0.5rem;
}

.block li {
  margin-bottom: 0.8rem;
}

.block h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: normal;
  margin-top: 0;
  margin-bottom: 1.2rem;
}

.block strong {
  color: var(--ink);
  font-weight: normal;
}

h2[dir="auto"] {
  font-weight: normal;
}

/* ==========================================================
   Contact
   ========================================================== */
.contact-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: 1fr;
  margin: 3rem 0;
}

.contact-methods {
  display: grid;
  gap: 1rem;
}

.contact-method {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 1.5rem;
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(74, 64, 54, 0.04);
}

.contact-method:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(74, 64, 54, 0.07);
}

.method-icon {
  flex: 0 0 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--bg);
  line-height: 1;
}

.method-info b {
  display: block;
  font-size: 1rem;
  color: var(--ink);
  margin-bottom: 0.25rem;
  font-weight: normal;
}

.method-info span {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  word-break: break-word;
}

.contact-band {
  text-align: center;
  padding: clamp(3rem, 8vw, 5rem) 1.5rem;
  border-top: 1px solid var(--border);
}

.contact-band h2 {
  font-weight: normal;
  font-size: clamp(1.55rem, 3.2vw, 2.1rem);
  margin-bottom: 1rem;
}

.contact-band p {
  font-size: 1.1rem;
  color: var(--muted);
  margin-bottom: 1.6rem;
}

/* ==========================================================
   Forms
   ========================================================== */
.contact-form-container {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 2.5rem;
  box-shadow: 0 6px 22px rgba(74, 64, 54, 0.05);
}

.form-row {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  margin-bottom: 1.5rem;
}

.form-row.two-columns {
  grid-template-columns: 1fr 1fr;
}

.form-group label {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 1rem 1.4rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  background: var(--white);
  color: var(--ink);
  transition: all 0.2s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(107, 95, 82, 0.12);
}

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

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

.human-check-label {
  display: flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  cursor: pointer;
  font-size: 0.9rem;
  color: var(--ink);
  margin-top: 8px;
}

.human-check-label input {
  margin: 0;
  flex-shrink: 0;
}

.legal {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.85rem;
  color: var(--muted);
  margin: 1.5rem 0;
}

.legal input {
  margin-top: 0.25rem;
  flex: 0 0 auto;
}

.legal a {
  color: var(--ink);
  text-decoration: underline;
}

.legal a:hover {
  color: var(--accent-dark);
}

.submit-btn {
  background: var(--accent);
  color: var(--bg);
  border: 0;
  border-radius: 999px;
  padding: 1rem 2.5rem;
  font-size: 1rem;
  font-weight: normal;
  cursor: pointer;
  font-family: inherit;
  width: 100%;
  margin-top: 1.5rem;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.submit-btn:hover:not(:disabled) {
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 64, 54, 0.16);
}

.submit-btn:disabled {
  opacity: 0.6;
  cursor: progress;
}

.form-notice {
  margin-top: 1rem;
  padding: 0.875rem 1rem;
  border-radius: 8px;
  font-size: 0.9rem;
  display: none;
}

.form-notice.success {
  display: block;
  background: var(--success-bg);
  color: var(--success);
  border: 1px solid #bcd9c8;
}

.form-notice.error {
  display: block;
  background: var(--error-bg);
  color: var(--error);
  border: 1px solid #eec9bf;
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- Spinner ---------- */
.spinner {
  display: none;
  width: 20px;
  height: 20px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  border-top-color: var(--bg);
  animation: spin 1s ease-in-out infinite;
  margin-right: 0.5rem;
}

.button-loading .spinner {
  display: inline-block;
}

.button-loading .button-text {
  display: inline;
}

.loading-text {
  display: none;
}

/* ==========================================================
   Page-specific blocks
   ========================================================== */
.steps-list {
  padding-left: 1.5em;
  margin-top: 1.5rem;
}

.steps-list li {
  margin-bottom: 1.5rem;
  padding-left: 0.5em;
  border-left: 2px solid var(--border);
  line-height: 1.8;
  color: var(--muted);
}

.step-title {
  display: block;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.3rem;
  font-size: 1.1rem;
}

/* Video block */
.video-block {
  max-width: 800px;
  margin: 3rem auto;
  text-align: center;
}

.video-block h2 {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: normal;
  margin-bottom: 1.5rem;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 0 auto 1.5rem;
  border-radius: 14px;
  box-shadow: 0 8px 28px rgba(74, 64, 54, 0.1);
  background: #000;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 14px;
  border: none;
}

.video-caption {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto;
}

.video-wrap {
  position: relative;
}

video::cue {
  font-family: Georgia, serif;
  color: #fdfaf4;
  background: rgba(74, 64, 54, 0.75);
}

.custom-captions {
  position: absolute;
  bottom: 12%;
  left: 50%;
  transform: translateX(-50%);
  width: min(90%, 560px);
  text-align: center;
  pointer-events: none;
  font-family: Georgia, serif;
  font-size: 1.05em;
  line-height: 1.45;
  color: #fdfaf4;
  background: rgba(74, 64, 54, 0.78);
  padding: 0.4em 0.9em;
  border-radius: 10px;
}

.custom-captions:empty {
  display: none;
}

/* ==========================================================
   Mobile
   ========================================================== */
@media (max-width: 640px) {

  /* --- Collapsible hamburger navigation --- */
  .site-header {
    padding: 0.8rem 1.25rem;
  }

  nav {
    flex: 1;
    justify-content: flex-end;   /* pushes toggle to the right */
    align-items: center;
    gap: 0.75rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-inner {
    display: none;                 /* collapsed by default */
    position: absolute;
    top: 100%;                     /* hangs just below the header */
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.9rem;
    padding: 1.25rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 10px 24px rgba(74, 64, 54, 0.08);
    z-index: 11;
  }

  .site-header.nav-open .nav-inner {
    display: flex;
  }

  nav a { font-size: 1.05rem; }

  .nav-contact-button { margin: 0.5rem 0 0; }
  .language-select { margin: 0.5rem 0 0; width: 100%; }

  /* --- Page-level mobile styles (unchanged) --- */
  .hero {
    min-height: 100svh;
    align-items: flex-end;
    background-position: 75% 60%;
    padding: 2rem 0 2rem;
  }

  .hero-text {
    margin-inline: auto;
    padding-bottom: 5.5rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    text-align: center;
  }
  
  .hero-text .eyebrow {
    text-align: center;
  }

  .hero.centered {
    padding: 4rem 0 3rem;
  }

  .hero.centered.has-image {
    padding-top: 0;
    background-size: cover;
    background-position: center 30%;
  }

  .hero.centered.has-image::before {
    content: "";
    display: block;
    height: clamp(16rem, 35vh, 22rem);
    margin: 0 -1.5rem 3rem;
    background: linear-gradient(to bottom, rgba(74,64,54,0.08), transparent 60%);
  }

  .scroll-cue {
    bottom: 1.75rem;
  }

  .cards,
  .two-cards,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .form-row.two-columns {
    grid-template-columns: 1fr;
  }

  .block {
    padding: 1.5rem;
    margin: 1rem auto 1.5rem;
  }

  .video-container {
    padding-bottom: 75%;
  }

  .custom-captions {
    font-size: 0.9em;
    width: 88%;
    padding: 0.35em 0.7em;
    bottom: 8%;
  }
}

@media (min-width: 620px) {
  .form-row.two-columns {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
    align-items: start;
  }
}

/* ==========================================================
   RETREAT PAGE HERO STYLES
   ========================================================== */
.hero.image-hero-retreat {
  background-image: url("media/images/the-castle-of-alanya.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 50vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero.image-hero-retreat::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(253, 250, 244, 0.35);
  pointer-events: none;
  z-index: 1;
}

.hero.image-hero-retreat .hero-text {
  position: relative;
  z-index: 2;
  background: rgba(253, 250, 244, 0.01);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  border-radius: 14px;
  padding: 2.5rem 2.5rem;
  box-shadow: 0 10px 30px rgba(74, 64, 54, 0.15);
  max-width: 34rem;
  margin-left: clamp(1.5rem, 8vw, 6rem);
}

.hero.image-hero-retreat .hero-text h1,
.hero.image-hero-retreat .hero-text p,
.hero.image-hero-retreat .hero-text .eyebrow {
  color: var(--ink); 
}

/* ==========================================================
   EVENTS & ANNOUNCEMENT STYLES
   ========================================================== */

/* Center grid if only one event card exists */
.services-grid:has(> :only-child) {
  grid-template-columns: min(100%, 500px);
  justify-content: center;
}

/* Retreat Announcement Button - Distinct Style */
.button-retreat {
  background-color: #faf1ea;
  color: #a65a3a;
  border: 1px solid #e5c9b8;
  position: relative; /* Essential for badge positioning */
  padding-right: 3rem;
  font-weight: 600;
  box-shadow: none;
}

.button-retreat:hover {
  background-color: #a65a3a;
  color: #fdfaf4;
  border-color: #a65a3a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(166, 90, 58, 0.25);
  animation: none;
}

/* Soft Glow Animation for the Badge */
@keyframes badge-glow {
  0%, 100% {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transform: scale(1);
  }
  50% {
    box-shadow: 0 4px 12px rgba(166, 90, 58, 0.35); /* Terracotta glow */
    transform: scale(1.05);
  }
}

.button-retreat .retreat-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background: #a65a3a;
  color: #fff;
  font-size: 0.7rem;
  font-weight: bold;
  font-family: "Inter", -apple-system, sans-serif;
  letter-spacing: 0.08em;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  animation: badge-glow 3.5s ease-in-out infinite;
  will-change: transform, box-shadow;
}

/* Pause animation when hovering the button */
.button-retreat:hover .retreat-badge {
  animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
  .button-retreat, 
  .button-retreat .retreat-badge {
    animation: none;
  }
}

/* Events hub — tighter hero-to-content spacing */
.hero.centered.compact {
  padding-bottom: 2.5rem;     /* was 5rem */
}

.hero.centered.compact .lead {
  margin-bottom: 1rem;        /* was 2rem */
}

#our-events-bs, #our-events-en, #our-events-es {
  padding-top: 1.5rem;        /* was 3rem */
}