/* ══════════════════════════════════════════════════════════
   Ubornyák Ágnes — Krízisintervenciós Szakpszichológus
   Design System: Adapted from Sobha Realty (design.toon)
   ══════════════════════════════════════════════════════════ */

@font-face {
  font-family: 'Playfair Display Fallback';
  src: local('Georgia');
  size-adjust: 112%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

@font-face {
  font-family: 'Inter Fallback';
  src: local('Arial');
  size-adjust: 107%;
  ascent-override: 90%;
  descent-override: 22%;
  line-gap-override: 0%;
}

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

:root {
  /* Colors from design.toon */
  --primary: #cfaf8f;
  --primary-light: #e0c9ad;
  --primary-dark: #b89670;
  --secondary: #535353;
  --accent: #2c7f9c;
  --bg: #ffffff;
  --bg-warm: #faf9f5;
  --bg-cream: #fffaf5;
  --bg-muted: #efeeee;
  --dark: #2c3527;
  --dark-secondary: #354032;
  --dark-tertiary: #3f4c3a;
  --text-primary: #2c3527;
  --text-body: #303b2d;
  --text-secondary: #4f5d4a;
  --text-muted: #919191;
  --text-inverse: #ffffff;
  --border: #c8c8c8;
  --border-light: #d7d5d5;
  --border-warm: #decdbf;
  --surface-warm: #d5b9a1;

  /* Typography */
  --font-display: 'Times New Roman', Times, Georgia, serif;
  --font-body: 'Inter', 'Inter Fallback', -apple-system, system-ui, sans-serif;

  /* Shadows from design.toon */
  --shadow-sm: rgba(34,42,30,0.18) 1px 1px 4px 0px;
  --shadow-md: rgba(34,42,30,0.14) 5px 9px 22px 0px;
  --shadow-lg: rgba(34,42,30,0.15) 14px 15px 52px 0px;
  --shadow-elevated: rgba(34,42,30,0.12) 0px 40px 80px 0px;

  /* Layout */
  --container: 1100px;
  --section-padding: 96px 24px;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ── SKIP LINK ── */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 9999;
  padding: 12px 24px;
  background: var(--dark);
  color: var(--text-inverse);
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

/* ── CONTAINER ── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── TYPOGRAPHY ── */
h1 { font-size: clamp(2.5rem, 5vw, 4rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

/* ── NAV ── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  transition: box-shadow 0.3s ease;
}

nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--primary);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--primary-dark); }
.nav-links a:hover::after { width: 100%; }

/* Nav dropdown */
.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-top: 12px;
  background: var(--bg);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  padding: 8px 0;
  min-width: 260px;
  box-shadow: var(--shadow-md);
  list-style: none;
  z-index: 110;
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 0;
  right: 0;
  height: 12px;
}

.nav-dropdown:hover .nav-dropdown-menu {
  display: block;
}

.nav-dropdown-menu li a {
  display: block;
  padding: 10px 20px;
  font-size: 11px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown-menu li a::after {
  display: none;
}

.nav-dropdown-menu li a:hover {
  background: var(--bg-cream);
  color: var(--primary-dark);
}

/* Mobile submenu */
.mobile-submenu {
  padding-left: 20px;
  border-left: 2px solid var(--primary-light);
  margin: 4px 0;
}

.mobile-submenu a {
  font-size: 13px !important;
  letter-spacing: 1px !important;
  text-transform: none !important;
  padding: 12px 0 !important;
  color: var(--text-muted) !important;
}

.mobile-submenu a:hover {
  color: var(--primary-dark) !important;
}

.nav-phone {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 0.5px;
}

.nav-phone:hover { color: var(--primary-dark); }

/* Hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 110;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  margin: 5px 0;
  transition: 0.3s;
  transform-origin: center;
}

/* Mobile menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: var(--bg);
  border-bottom: 1px solid var(--border-light);
  padding: 24px;
  z-index: 99;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--text-secondary);
  text-decoration: none;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-bottom: 1px solid var(--border-light);
  opacity: 0;
  transform: translateY(-10px);
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--primary-dark); }

/* ── BUTTONS (pill ghost from design.toon) ── */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 25px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.5s ease;
  cursor: pointer;
  border: none;
}

.btn:active {
  transform: scale(0.97);
  transition-duration: 0.1s;
}

.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* Ghost/outlined — dominant style from design.toon */
.btn-primary {
  background: transparent;
  color: var(--dark);
  border: 1.5px solid var(--dark);
}

.btn-primary:hover {
  background: var(--dark);
  color: var(--text-inverse);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Ghost inverse for dark backgrounds */
.btn-primary-inverse {
  background: transparent;
  color: var(--text-inverse);
  border: 1.5px solid var(--text-inverse);
}

.btn-primary-inverse:hover {
  background: var(--text-inverse);
  color: var(--dark);
}

/* Filled dark */
.btn-filled {
  background: var(--dark);
  color: var(--text-inverse);
  border: 1.5px solid var(--dark);
}

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

/* Warm gold filled */
.btn-warm {
  background: var(--primary);
  color: var(--dark);
  border: 1.5px solid var(--primary);
}

.btn-warm:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* ── SECTIONS ── */
.section { padding: var(--section-padding); }

.section-label {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 400;
  line-height: 1.25;
  color: var(--text-primary);
  margin-bottom: 24px;
  text-wrap: balance;
}

.section-text {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.8;
}

.section-text + .section-text {
  margin-top: 16px;
}

/* ── HERO ── */
.hero {
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 120px 24px 96px;
  background: var(--bg-warm);
  position: relative;
  overflow: hidden;
}

.hero::before {
  display: none;
}

.hero-content {
  max-width: var(--container);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.15;
  color: var(--text-primary);
  margin-bottom: 16px;
  text-wrap: balance;
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--primary-dark);
  margin-bottom: 32px;
}

.hero-text p {
  font-size: 18px;
  color: var(--text-secondary);
  margin-bottom: 40px;
  max-width: 460px;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-photo {
  position: relative;
  display: flex;
  justify-content: center;
}

.hero-photo-img {
  width: 400px;
  height: 500px;
  border-radius: 200px 200px 24px 24px;
  object-fit: cover;
  object-position: center top;
}

/* Decorative elements */
.hero-decoration {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.hero-decoration-1 {
  width: 300px;
  height: 300px;
  top: -80px;
  right: 0;
  background: radial-gradient(circle, rgba(207,175,143,0.1) 0%, transparent 70%);
}

.hero-decoration-2 {
  width: 200px;
  height: 200px;
  bottom: 60px;
  left: 0;
  background: radial-gradient(circle, rgba(44,127,156,0.06) 0%, transparent 70%);
}

/* ── ABOUT ── */
.about { background: var(--bg); }

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

.about-photo-img {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: 16px;
  object-fit: cover;
  object-position: center top;
}

.credentials {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.credential-tag {
  padding: 8px 20px;
  border-radius: 25px;
  background: transparent;
  border: 1px solid var(--border);
  font-size: 13px;
  font-weight: 400;
  color: var(--text-secondary);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── QUALIFICATIONS ── */
.qualifications {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--border-light);
}

.qualifications-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.qualification-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 14px 0;
  position: relative;
}

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

.qualification-year {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  color: var(--primary-dark);
  min-width: 52px;
  line-height: 1.3;
}

.qualification-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.qualification-info strong {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  letter-spacing: 0.2px;
}

.qualification-info span {
  font-size: 13px;
  color: var(--text-muted);
}

.qualification-info em {
  font-style: normal;
  color: var(--primary-dark);
  font-weight: 500;
}

.qualification-current .qualification-year {
  color: var(--accent);
}

/* ── QUOTE ── */
.quote-section {
  background: var(--dark);
  padding: 96px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.quote-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--primary), transparent);
}

.quote-decoration {
  position: absolute;
  pointer-events: none;
  opacity: 0.05;
  font-family: var(--font-display);
  font-size: 200px;
  color: var(--primary);
  line-height: 1;
}

.quote-decoration-left {
  top: 20px;
  left: 0;
}

.quote-decoration-right {
  bottom: 20px;
  right: 0;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 300;
  color: var(--text-inverse);
  max-width: 800px;
  margin: 0 auto 24px;
  line-height: 1.5;
  font-style: italic;
}

.quote-author {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
}

.quote-line {
  width: 60px;
  height: 1px;
  background: var(--primary);
  margin: 24px auto;
}

/* Light quote variant */
.quote-section--light {
  background: var(--bg-warm);
}

.quote-section--light .quote-text {
  color: var(--text-primary);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
}

.quote-section--light .quote-decoration {
  color: var(--dark);
}

.quote-section--light .quote-author {
  color: var(--text-secondary);
}

.quote-section--light::before {
  background: linear-gradient(to right, transparent, var(--border-warm), transparent);
}

.quote-section--light .quote-line {
  background: var(--border-warm);
}

/* ── SERVICES ── */
.services { background: var(--bg-warm); }

.services-header {
  text-align: center;
  margin-bottom: 64px;
}

.services-header .section-text {
  margin: 0 auto;
}

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

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

.services-delivery {
  text-align: center;
  margin-top: 40px;
  padding: 24px 32px;
  background: var(--bg);
  border-radius: 12px;
  border: 1px solid var(--border-light);
}

.services-delivery p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.service-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 40px 32px;
  border: 1px solid var(--border-light);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.service-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary-dark);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin-bottom: 16px;
  color: var(--text-primary);
}

.service-card p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── SPECIALTIES ── */
.specialties { background: var(--bg); }

.specialties-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.specialty-list {
  list-style: none;
  margin-top: 32px;
}

.specialty-list li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.specialty-list li:last-child { border-bottom: none; }

.specialty-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary);
  margin-top: 8px;
  flex-shrink: 0;
}

.specialty-list h4 {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  margin-bottom: 4px;
}

.specialty-list p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── PROCESS (Scroll-Pinned) ── */
.process {
  background: var(--dark);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.process .section-label { color: var(--primary); }
.process .section-title { color: var(--text-inverse); }
.process .section-text { color: rgba(255,255,255,0.7); }

.process-header {
  text-align: center;
  margin-bottom: 64px;
}

.process-header .section-text { margin: 0 auto; }

/* Desktop pinned layout */
.process-pinned {
  display: none;
}

/* Default grid layout (works without JS too) */
.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  position: relative;
}

.step-number {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 300;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1;
}

.step h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-inverse);
}

.step p {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

/* Process progress bar */
.process-progress {
  margin-top: 48px;
  height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 1px;
  overflow: hidden;
}

.process-progress-fill {
  height: 100%;
  width: 100%;
  background: var(--primary);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
}

/* ── YOUTH ── */
.youth {
  background: var(--bg);
  border-top: 1px solid var(--border-light);
}

.youth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.youth-highlight {
  background: var(--bg-cream);
  border-radius: 16px;
  padding: 32px;
  margin-top: 24px;
  border-left: 3px solid var(--primary);
}

.youth-highlight + .youth-highlight {
  margin-top: 16px;
}

.youth-highlight p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ── ADULTS ── */
.adults { background: var(--bg-warm); }

.adults-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.adults-subtitle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.adults-list {
  list-style: none;
}

.adults-list li {
  padding: 12px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.adults-list li:last-child { border-bottom: none; }

/* ── ANXIETY ── */
.anxiety {
  background: var(--dark);
  color: var(--text-inverse);
  position: relative;
  overflow: hidden;
}

.anxiety .section-label { color: var(--primary); }
.anxiety .section-title { color: var(--text-inverse); }
.anxiety .section-text { color: rgba(255,255,255,0.7); max-width: 100%; margin-left: auto; margin-right: auto; }

.anxiety-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.anxiety-subtitle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin: 48px 0 32px;
  color: var(--text-inverse);
}

.anxiety-goals {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.anxiety-goals li {
  padding: 24px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  line-height: 1.6;
  text-align: left;
}

.anxiety-goals .specialty-dot {
  background: var(--primary);
  margin-top: 6px;
}

.anxiety-closing {
  margin-top: 40px;
  padding: 28px 32px;
  background: rgba(207,175,143,0.1);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
}

.anxiety-closing p {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
  line-height: 1.7;
  font-style: italic;
}

/* ── METHODS ── */
.methods { background: var(--bg-warm); }

.methods-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.methods-subtitle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  color: var(--text-primary);
}

.methods-list {
  list-style: none;
}

.methods-list li {
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.methods-list li:last-child { border-bottom: none; }

/* ── SHARED: Section Disclaimer ── */
.section-disclaimer {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-muted);
  border-radius: 12px;
  border-left: 3px solid var(--border);
}

.section-disclaimer p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-disclaimer p + p {
  margin-top: 12px;
}

/* ── Inline Section CTAs ── */
.section-inline-cta {
  text-align: center;
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}
.section-inline-cta p {
  font-size: 16px;
  color: var(--text-secondary);
}
.section-inline-cta a {
  color: var(--primary);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}
.section-inline-cta a:hover {
  color: var(--primary-dark);
}
.section-inline-cta--light p {
  color: rgba(255, 255, 255, 0.7);
}
.section-inline-cta--light a {
  color: var(--accent);
}
.section-inline-cta--light a:hover {
  color: #fff;
}
.section-inline-cta--light {
  border-top-color: rgba(255, 255, 255, 0.12);
}

/* ── Registration Info ── */
.registration-info {
  margin-top: 20px;
}
.registration-info p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ── YOUTH: Expanded ── */
.youth-subtitle {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin: 32px 0 16px;
  color: var(--text-primary);
}

.youth-help-list,
.youth-methods-list {
  list-style: none;
}

.youth-help-list li,
.youth-methods-list li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.youth-help-list li:last-child,
.youth-methods-list li:last-child { border-bottom: none; }

.youth-ages {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.age-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 20px 12px;
  background: var(--bg-cream);
  border-radius: 12px;
  border: 1px solid var(--border-light);
  text-align: center;
}

.age-group-range {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--primary-dark);
  line-height: 1.2;
  margin-bottom: 4px;
}

.age-group-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ── QUOTE: Author sub-line ── */
.quote-author-sub {
  display: block;
  margin-top: 8px;
  font-size: 14px;
  font-style: italic;
  opacity: 0.7;
}

/* ── REFERENCES ── */
.references { background: var(--bg-warm); }

.references-header {
  text-align: center;
  margin-bottom: 64px;
}

.references-header .section-text { margin: 0 auto; }

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

.reference-card {
  background: var(--bg);
  border-radius: 16px;
  padding: 32px;
  border: 1px solid var(--border-light);
  transition: transform 0.4s ease;
}

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

.reference-stars {
  color: var(--primary);
  font-size: 16px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.reference-card blockquote {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 20px;
}

.reference-author {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

/* ── CONTACT ── */
.contact { background: var(--bg-warm); }

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

.contact-info-block {
  margin-bottom: 32px;
}

.contact-info-block h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-info-block p,
.contact-info-block a {
  font-size: 16px;
  color: var(--text-secondary);
  text-decoration: none;
  line-height: 1.7;
}

.contact-info-block a:hover { color: var(--primary-dark); }

.hours-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 8px;
}

.hours-table td {
  padding: 8px 0;
  font-size: 15px;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.hours-table td:first-child {
  font-weight: 400;
  color: var(--text-primary);
  width: 180px;
}

.crisis-note {
  margin-top: 24px;
  padding: 20px 24px;
  background: var(--bg-cream);
  border-radius: 12px;
  border-left: 3px solid var(--primary);
}

.crisis-note p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.crisis-note strong {
  color: var(--primary-dark);
}

/* Contact Form */
.contact-form {
  background: var(--bg-warm);
  border-radius: 16px;
  padding: 40px;
}

.contact-form-heading {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  line-height: 1.3;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.contact-form-intro {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
}

.contact-form h3 {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 24px;
}

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

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.form-label-hint {
  font-weight: 300;
  text-transform: none;
  letter-spacing: 0;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--border);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--text-body);
  background: var(--bg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(207,175,143,0.15);
}

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

.contact-form .btn { width: 100%; text-align: center; }

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

/* ── FOOTER ── */
footer {
  background: var(--dark);
  color: var(--text-inverse);
  padding: 48px 24px;
}

.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
}

.footer-info {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  text-align: center;
}

.footer-info a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-info a:hover { color: var(--text-inverse); }

.footer-legal {
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--dark);
  color: var(--text-inverse);
  padding: 20px 24px;
  display: none;
  border-top: 1px solid rgba(207,175,143,0.3);
}

.cookie-banner.visible {
  display: block;
}

.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 14px;
  color: rgba(255,255,255,0.8);
  flex: 1;
  min-width: 240px;
}

.cookie-text a {
  color: var(--primary);
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 10px 24px;
  border-radius: 25px;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
}

.cookie-btn-accept {
  background: var(--primary);
  color: var(--dark);
}

.cookie-btn-accept:hover {
  background: var(--primary-light);
}

.cookie-btn-decline {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.3);
}

.cookie-btn-decline:hover {
  color: var(--text-inverse);
  border-color: rgba(255,255,255,0.6);
}

/* ── FOCUS STATES ── */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

/* ── ANIMATION CLASSES (initial states for GSAP) ── */
.animate-up {
  opacity: 0;
  transform: translateY(60px);
}

.animate-left {
  opacity: 0;
  transform: translateX(-60px);
}

.animate-right {
  opacity: 0;
  transform: translateX(60px);
}

.animate-fade {
  opacity: 0;
}

.animate-scale {
  opacity: 0;
  transform: scale(0.85);
}

.animate-stagger > * {
  opacity: 0;
  transform: translateY(30px);
}

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

  .animate-up,
  .animate-left,
  .animate-right,
  .animate-fade,
  .animate-scale {
    opacity: 1;
    transform: none;
  }

  .animate-stagger > * {
    opacity: 1;
    transform: none;
  }
}

/* ── RESPONSIVE ── */
@media (max-width: 992px) {
  .hero-content,
  .about-grid,
  .specialties-content,
  .youth-grid,
  .contact-grid,
  .adults-content,
  .methods-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }

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

  .hero-photo { order: -1; }
  .hero-photo-img { width: 300px; height: 380px; }
}

@media (max-width: 768px) {
  :root { --section-padding: 56px 16px; }
  .container { padding: 0 16px; }

  .nav-links { display: none; }
  .nav-phone { display: none; }
  .hamburger { display: block; }

  /* Hero: text first on mobile, tighter spacing */
  .hero { min-height: auto; padding: 96px 20px 48px; }
  .hero-photo { order: 0; }  /* text stays first on mobile */
  .hero-text { text-align: center; }
  .hero-text p { margin-left: auto; margin-right: auto; }
  .hero-subtitle { margin-bottom: 20px; }
  .hero-text h1 { margin-bottom: 12px; }
  .hero-text p { margin-bottom: 28px; font-size: 16px; }
  .hero-buttons { justify-content: center; }

  /* Full-width CTA on mobile for easy thumb tap */
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
    padding: 16px 24px;
    font-size: 13px;
  }

  /* Tap-to-call button styling */
  .mobile-call-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 24px;
    background: var(--accent);
    color: #fff;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 1px;
    text-decoration: none;
    text-transform: uppercase;
    margin-top: 12px;
  }

  .services-grid,
  .services-grid-4,
  .references-grid,
  .for-you-grid,
  .anxiety-goals { grid-template-columns: 1fr; }

  /* Compact service cards on mobile */
  .service-card { padding: 28px 24px; }
  .service-card p { font-size: 15px; }

  /* Compact for-you cards on mobile */
  .for-you-item { padding: 24px 20px; }
  .for-you-header { margin-bottom: 32px; }

  .process-steps { grid-template-columns: 1fr 1fr; gap: 24px; }

  .contact-form { padding: 20px 12px; }

  /* Section titles tighter on mobile */
  .section-title { margin-bottom: 16px; }
  .services-header { margin-bottom: 40px; }

  /* Quote section tighter */
  .quote-section { padding: 64px 20px; }

  .cookie-inner { flex-direction: column; text-align: center; }
  .cookie-buttons { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
  .hero { padding: 88px 16px 40px; }
  .process-steps { grid-template-columns: 1fr; }
  .hero-photo-img { width: 200px; height: 250px; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { text-align: center; }
  .hero-stats { flex-direction: row; gap: 0; justify-content: center; }
  .hero-stat { flex: 1; align-items: center; text-align: center; }
  .hero-stat-divider { width: 1px; height: 32px; }
  .hero-stat-number { font-size: 20px; }
  .hero-stat-label { font-size: 11px; }
}

/* ── HERO STATS ── */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--border-light);
}

.hero-stat {
  display: flex;
  flex-direction: column;
}

.hero-stat-number {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  color: var(--text-primary);
  line-height: 1.2;
}

.hero-stat-label {
  font-size: 13px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 4px;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: var(--border-light);
  flex-shrink: 0;
}

/* ── HERO AVAILABILITY ── */
.hero-availability {
  font-size: 14px;
  color: var(--primary-dark);
  margin-top: 16px;
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ── FOR YOU SECTION ── */
.for-you {
  background: var(--bg);
}

.for-you-header {
  text-align: center;
  margin-bottom: 56px;
}

.for-you-header .section-text {
  margin: 0 auto;
}

.for-you-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.for-you-item {
  background: var(--bg-cream);
  border-radius: 16px;
  padding: 32px 28px;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.for-you-item:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}

.for-you-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--bg-warm);
  margin-bottom: 16px;
  color: var(--primary-dark);
}

.for-you-item p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.for-you-cta {
  text-align: center;
  margin-top: 48px;
}

.for-you-cta p {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-secondary);
  margin-bottom: 24px;
  font-weight: 400;
}

/* ── PROCESS CTA ── */
.process-cta {
  text-align: center;
  margin-top: 56px;
  padding-top: 40px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.process-cta p {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: var(--text-inverse);
  margin-bottom: 24px;
  font-weight: 300;
}

/* ── FAQ ── */
.faq {
  background: var(--bg-muted);
}

.faq-header {
  text-align: center;
  margin-bottom: 48px;
}

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

.faq-item {
  border-bottom: 1px solid var(--border-light);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-light);
}

.faq-question {
  padding: 24px 0;
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 400;
  color: var(--text-primary);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.3s ease;
}

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

.faq-question::after {
  content: '+';
  font-size: 24px;
  font-weight: 300;
  color: var(--primary-dark);
  transition: transform 0.3s ease;
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] .faq-question::after {
  content: '−';
}

.faq-item[open] .faq-question {
  color: var(--primary-dark);
}

.faq-question:hover {
  color: var(--primary-dark);
}

.faq-answer {
  padding: 0 0 24px;
}

.faq-answer p {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ── FORM CONSENT ── */
.form-consent {
  margin-bottom: 20px;
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.6;
}

.consent-label input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  flex-shrink: 0;
  accent-color: var(--primary-dark);
  cursor: pointer;
}

.consent-label a {
  color: var(--primary-dark);
  text-decoration: underline;
}

.consent-label a:hover {
  color: var(--dark);
}

.contact-form .btn[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

/* ── FORM PRIVACY NOTE ── */
.form-privacy {
  font-size: 13px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
}

.form-privacy-icon {
  display: inline-block;
  vertical-align: middle;
  margin-right: 4px;
}

/* ── CONTACT MAP ── */
.contact-map {
  margin-top: 48px;
}

.contact-map h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
  border-radius: 12px;
}

/* ── THANK YOU ── */
.thank-you {
  display: none;
  text-align: center;
  padding: 96px 24px;
  background: var(--bg-warm);
}

.thank-you:target {
  display: block;
}

.thank-you-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--primary-dark);
}

.thank-you .section-title {
  margin-bottom: 16px;
}

.thank-you p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 480px;
  margin: 0 auto 32px;
  line-height: 1.8;
}

/* ── STICKY MOBILE CTA ── */
/* ── WhatsApp Float Button ── */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 91;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .whatsapp-float {
    bottom: 86px;
    right: 16px;
    width: 50px;
    height: 50px;
  }
  .whatsapp-float svg {
    width: 24px;
    height: 24px;
  }
}

.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 90;
  padding: 12px 16px;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-light);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.12);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 18px 24px;
  font-size: 14px;
  letter-spacing: 2px;
}

/* Hide mobile-call-btn on desktop */
.mobile-call-btn { display: none; }

@media (max-width: 768px) {
  .sticky-cta { display: block; }
  /* Add padding to body bottom so content isn't hidden behind sticky CTA */
  body { padding-bottom: 70px; }
  /* Move cookie banner above sticky CTA */
  .cookie-banner { bottom: 70px; }

  /* Fix source-order: base styles defined after earlier breakpoints override them */
  .for-you-grid { grid-template-columns: 1fr; }
  .for-you-item { padding: 24px 20px; }
  .for-you-header { margin-bottom: 32px; }

  /* About section: show text before photo on mobile to avoid two photos in a row */
  .about-grid picture { order: 1; }

  /* Professional mobile footer */
  footer { padding: 40px 16px; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0;
  }
  .footer-logo {
    font-size: 22px;
    letter-spacing: 0.5px;
    margin-bottom: 20px;
  }
  .footer-logo::after {
    content: '';
    display: block;
    width: 40px;
    height: 1px;
    background: var(--primary);
    margin: 20px auto 0;
  }
  .footer-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .footer-info a {
    font-size: 15px;
    color: rgba(255,255,255,0.7);
    letter-spacing: 0.3px;
  }
  .footer-sep { display: none; }
  .footer-legal {
    font-size: 12px;
    color: rgba(255,255,255,0.35);
    letter-spacing: 0.3px;
  }
}

@media (max-width: 480px) {
  /* Fix source-order: hero stat base styles override earlier 480px overrides */
  .hero-stats { gap: 0; }
  .hero-stat { flex: 1; align-items: center; text-align: center; }
  .hero-stat-divider { width: 1px; height: 32px; }
  .hero-stat-number { font-size: 20px; }
  .hero-stat-label { font-size: 11px; }

  /* Age group cards: tighter on small screens */
  .youth-ages { gap: 8px; }
  .age-group { padding: 14px 8px; }
  .age-group-range { font-size: 20px; }
  .age-group-label { font-size: 11px; }

  /* Qualifications: tighter gap */
  .qualification-item { gap: 12px; }
  .qualification-year { font-size: 18px; min-width: 44px; }

  /* Disclaimers: reduce padding */
  .section-disclaimer { padding: 16px 18px; }

  /* Anxiety goal cards: reduce padding */
  .anxiety-goals li { padding: 18px; }
}
