/*
Theme Name: Untamed Mind
Description: Custom theme for Untamed Mind - Sports Psychology Coaching
Version: 1.0
Author: Nicolas Brown
Text Domain: untamed-mind
*/

/* -- Self-hosted Space Grotesk (DSGVO-konform) -- */
@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/space-grotesk-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: 'Space Grotesk';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('./fonts/space-grotesk-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --sage: #8a9a8e;
  --sage-light: rgba(138, 154, 142, 0.08);
  --sage-mid: rgba(138, 154, 142, 0.15);
  --off-white: #fcf7de;
  --off-black: #355E3B;
  --white: #ffffff;
  --text: #1a1a1a;
  --text-light: #555;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

/* -- Navigation -- */
nav.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, backdrop-filter 0.3s;
}

nav.site-nav.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(138, 154, 142, 0.15);
}

nav.site-nav.nav-solid {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(138, 154, 142, 0.15);
}

nav .nav-logo {
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.05em;
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s;
}

nav.scrolled .nav-logo,
nav.nav-solid .nav-logo {
  color: var(--text);
}

nav .nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

nav .nav-links a {
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.03em;
  transition: color 0.3s;
}

nav.scrolled .nav-links a,
nav.nav-solid .nav-links a {
  color: var(--text-light);
}

nav .nav-links a:hover,
nav .nav-links a.active {
  color: var(--sage);
}

nav .nav-cta {
  padding: 0.55rem 1.5rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: var(--white);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
}

nav.scrolled .nav-cta,
nav.nav-solid .nav-cta {
  border-color: var(--sage);
  color: var(--off-black);
}

nav .nav-cta:hover {
  background: var(--sage);
  color: var(--white);
  border-color: var(--sage);
}

/* -- Burger Menu -- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 110;
  background: none;
  border: none;
  padding: 4px;
}

.burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  transition: all 0.3s;
}

nav.scrolled .burger span,
nav.nav-solid .burger span {
  background: var(--text);
}

.burger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(56, 84, 64, 0.97);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

.mobile-menu.active {
  display: flex;
}

.mobile-menu a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: color 0.3s;
}

.mobile-menu a:hover {
  color: var(--sage);
  filter: brightness(1.4);
}

/* -- Hero -- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.25) 0%,
    rgba(0, 0, 0, 0.1) 40%,
    rgba(0, 0, 0, 0.35) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
  padding: 0 2rem;
}

.hero-logo {
  width: min(500px, 70vw);
  margin-bottom: 2rem;
  filter: drop-shadow(0 2px 20px rgba(0,0,0,0.3));
}

.hero-subtitle {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
}

.hero-slogan {
  font-size: clamp(1.6rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  max-width: 700px;
  margin: 0 auto;
  text-shadow: 0 2px 30px rgba(0,0,0,0.3);
}

.hero-slogan em {
  font-style: italic;
  color: var(--sage);
  filter: brightness(1.4);
}

.hero-scroll {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.hero-scroll span {
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, rgba(255,255,255,0.6), transparent);
  margin: 0 auto;
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.4; transform: scaleY(1); }
  50% { opacity: 1; transform: scaleY(1.2); }
}

/* -- Section base -- */
section {
  padding: 7rem 4rem;
}

.section-divider {
  width: 60px;
  height: 1px;
  background: var(--sage);
  margin: 0 auto;
  opacity: 0.3;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 1.5rem;
}

.section-heading {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  max-width: 600px;
}

.section-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.75;
  color: var(--text-light);
  max-width: 520px;
}

/* -- Services / Flip Cards -- */
.services {
  background: var(--white);
}

.services-header {
  text-align: center;
  margin-bottom: 4rem;
}

.services-header .section-heading {
  margin-left: auto;
  margin-right: auto;
  max-width: none;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.flip-card {
  height: 450px;
  cursor: pointer;
  perspective: 1200px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.flip-card.flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  inset: 0;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 4px;
  overflow: hidden;
}

.flip-card-front {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 2.5rem;
}

.flip-card-front img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.flip-card-overlay,
.flip-card-front h3,
.flip-card-back-title,
.flip-card-back p {
  pointer-events: none;
}

.flip-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
}

.flip-card-front h3 {
  position: relative;
  z-index: 2;
  color: var(--white);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0,0,0,0.4);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}

.flip-card-back {
  background: var(--off-black);
  color: var(--white);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: 2.5rem;
}

.flip-card-back-title {
  display: block;
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
  color: var(--sage);
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.flip-card-back p {
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.8);
}

.flip-card-back p em {
  color: var(--sage);
  font-style: normal;
  font-weight: 600;
}

.flip-card-btn {
  display: inline-block;
  margin-top: auto;
  padding: 0.55rem 2rem;
  background: transparent;
  color: var(--white);
  font-family: inherit;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s;
  pointer-events: auto;
}

.flip-card-btn:hover {
  background: var(--white);
  color: var(--off-black);
  border-color: var(--white);
}

.flip-hint {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--text-light);
  letter-spacing: 0.05em;
  opacity: 0.6;
}

/* -- Intro / Philosophy -- */
.intro {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8rem 4rem;
  background: var(--sage-light);
}

.intro-inner {
  max-width: 680px;
}

.intro .section-text {
  margin: 0 auto;
  max-width: 580px;
}

.sage-line {
  width: 40px;
  height: 2px;
  background: var(--sage);
  margin: 2rem auto 0;
}

/* -- Approach -- */
.approach {
  background: var(--white);
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.approach-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.approach-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.step-num {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--sage);
  min-width: 24px;
  height: 24px;
  border: 1px solid var(--sage);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.approach-step h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.approach-step p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* -- Quote -- */
.quote-section {
  padding: 8rem 4rem;
  text-align: center;
  position: relative;
  background: var(--sage-light);
}

.quote-section blockquote {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  line-height: 1.35;
  max-width: 750px;
  margin: 0 auto;
  color: var(--text);
}

.quote-section blockquote em {
  color: var(--sage);
  font-style: normal;
}

.quote-mark {
  font-size: 4rem;
  color: var(--sage);
  opacity: 0.3;
  line-height: 1;
  margin-bottom: 1rem;
}

/* -- Contact -- */
.contact-section {
  background: var(--off-black);
  color: var(--white);
  padding: 6rem 4rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.contact-info .section-label {
  color: var(--sage);
  filter: brightness(1.3);
}

.contact-info .section-heading {
  color: var(--white);
  max-width: 400px;
}

.contact-info .section-text {
  color: rgba(255, 255, 255, 0.6);
}

.contact-details {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-details a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.contact-details a:hover {
  color: var(--sage);
}

.contact-details svg {
  width: 18px;
  height: 18px;
  stroke: var(--sage);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1.2rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(138, 154, 142, 0.25);
  border-radius: 3px;
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  transition: border-color 0.3s;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--sage);
}

.contact-form textarea {
  height: 140px;
  resize: vertical;
}

.contact-form button {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  background: var(--sage);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  cursor: pointer;
  letter-spacing: 0.03em;
  transition: all 0.3s;
  align-self: flex-start;
}

.contact-form button:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* -- About Page -- */
.page-header {
  padding: 10rem 4rem 5rem;
  text-align: center;
  background: var(--sage-light);
}

.page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 600px;
  margin: 0 auto;
}

.about-content {
  padding: 6rem 4rem;
  max-width: 1100px;
  margin: 0 auto;
}

.about-hero {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 5rem;
  align-items: center;
  margin-bottom: 5rem;
}

.about-image {
  width: 100%;
  border-radius: 4px;
  object-fit: cover;
  aspect-ratio: 3/4;
  filter: grayscale(0.15);
}

.about-intro h2 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  line-height: 1.2;
}

.about-intro p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.2rem;
}

.about-intro p em {
  color: var(--sage);
  font-style: normal;
  font-weight: 600;
}

.about-role {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sage);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.8rem;
}

/* -- Vita -- */
.vita {
  padding: 5rem 4rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.vita-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.vita-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.vita-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
}

.vita-column h3 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--sage);
  margin-bottom: 2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.vita-item {
  display: flex;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
  align-items: flex-start;
}

.vita-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  min-width: 5.5rem;
  padding-top: 0.15rem;
  letter-spacing: 0.03em;
}

.vita-badge {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--sage-light);
  color: var(--sage);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  flex-shrink: 0;
}

.vita-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.vita-item p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-top: 0.2rem;
  line-height: 1.5;
}

/* -- Values -- */
.values {
  padding: 5rem 4rem;
  background: var(--sage-light);
}

.values-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.values-header {
  text-align: center;
  margin-bottom: 4rem;
}

.values-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.value-card {
  text-align: center;
  padding: 2rem;
}

.value-num {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--sage);
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
}

/* -- Partners marquee -- */
.partners {
  padding: 4rem 0 3rem;
  text-align: center;
  overflow: hidden;
}

.partners .section-label {
  margin-bottom: 2rem;
}

.marquee {
  width: 100%;
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 5%, black 95%, transparent);
}

.marquee-track {
  display: inline-flex;
  align-items: center;
  gap: 5rem;
  white-space: nowrap;
  animation: marquee-scroll 20s linear infinite;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  opacity: 0.6;
  transition: opacity 0.3s;
  pointer-events: auto;
}

.marquee-item:hover {
  opacity: 1;
}

.marquee-item img {
  height: 40px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s;
}

.marquee-item:hover img {
  filter: grayscale(0%);
}

.marquee-item span {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--text-light);
  letter-spacing: 0.03em;
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-25%); }
}

.cta-banner {
  background: var(--off-black);
  color: var(--white);
  text-align: center;
  padding: 5rem 4rem;
}

.cta-banner h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 2rem;
  font-size: 1rem;
}

.cta-banner a {
  display: inline-block;
  padding: 0.9rem 2.8rem;
  background: var(--sage);
  color: var(--white);
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  border: none;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.3s;
}

.cta-banner a:hover {
  filter: brightness(1.15);
  transform: translateY(-1px);
}

/* -- Service detail pages -- */
.service-intro {
  padding: 0 4rem 4rem;
  text-align: center;
}

.service-intro-inner {
  max-width: 700px;
  margin: 0 auto;
}

.service-formats {
  padding: 5rem 4rem;
  background: var(--sage-light);
}

.formats-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.formats-intro {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 3rem;
}

.formats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
}

.format-card {
  background: var(--white);
  padding: 2.5rem 2rem;
  border-radius: 4px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.format-icon {
  color: var(--sage);
  margin-bottom: 1.2rem;
}

.format-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.format-card p {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-light);
  white-space: pre-line;
  text-align: left;
}

.service-offerings {
  padding: 5rem 4rem;
}

.offerings-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.offerings-list {
  margin-top: 2.5rem;
  text-align: left;
}

.offering-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 0;
  border-bottom: 1px solid rgba(138, 154, 142, 0.15);
}

.offering-item:first-child {
  border-top: 1px solid rgba(138, 154, 142, 0.15);
}

.offering-title {
  font-size: 1rem;
  font-weight: 500;
}

.offering-price {
  font-size: 0.9rem;
  color: var(--sage);
  font-weight: 600;
}

/* -- Legal pages -- */
.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 4rem 4rem 6rem;
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text-light);
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin: 2.5rem 0 1rem;
}

.legal-content h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text);
  margin: 2rem 0 0.8rem;
}

.legal-content p {
  margin-bottom: 1rem;
}

.legal-content ul, .legal-content ol {
  margin: 0.5rem 0 1rem 1.5rem;
}

.legal-content li {
  margin-bottom: 0.4rem;
}

.legal-content a {
  color: var(--sage);
  text-decoration: underline;
}

@media (max-width: 900px) {
  .legal-content {
    padding: 3rem 2rem 5rem;
  }
}

/* -- Footer -- */
footer.site-footer {
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(138, 154, 142, 0.12);
  font-size: 0.8rem;
  color: var(--text-light);
}

footer.site-footer a {
  color: var(--text-light);
  text-decoration: none;
  transition: color 0.3s;
}

footer.site-footer a:hover {
  color: var(--sage);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

/* -- Responsive -- */
@media (max-width: 900px) {
  nav.site-nav {
    padding: 1.2rem 2rem;
  }

  section {
    padding: 5rem 2rem;
  }

  .intro {
    padding: 6rem 2rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
  }

  .flip-card {
    height: 400px;
  }

  .approach-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .contact-section {
    padding: 5rem 2rem;
  }

  .page-header {
    padding: 8rem 2rem 4rem;
  }

  .about-content {
    padding: 4rem 2rem;
  }

  .about-hero {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-image {
    max-width: 350px;
    margin: 0 auto;
  }

  .vita {
    padding: 4rem 2rem;
  }

  .vita-columns {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .values {
    padding: 4rem 2rem;
  }

  .values-grid {
    grid-template-columns: 1fr;
    max-width: 450px;
    margin: 0 auto;
  }

  .service-intro {
    padding: 0 2rem 3rem;
  }

  .service-formats {
    padding: 4rem 2rem;
  }

  .formats-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .service-offerings {
    padding: 4rem 2rem;
  }

  .cta-banner {
    padding: 4rem 2rem;
  }

  footer.site-footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 2rem;
  }
}

@media (max-width: 600px) {
  nav .nav-links,
  nav .nav-cta {
    display: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    height: auto;
    min-height: 0;
    aspect-ratio: 3/4;
  }

  .hero-bg {
    background-size: cover;
    background-position: center 30%;
  }

  .hero-logo {
    width: 60vw;
    margin-bottom: 1rem;
  }

  .hero-subtitle {
    margin-bottom: 1.5rem;
    font-size: 0.65rem;
  }

  .hero-slogan {
    font-size: 1.5rem;
  }
}
