/* ============================================
   Victoria Lineva - Premium Psychologist Website
   Design System & Complete Styles
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --forest-deep: #0f2519;
  --forest: #1a3a2a;
  --forest-light: #2a5a42;
  --gold: #C4956A;
  --gold-light: #d4a87e;
  --cream: #FAF7F2;
  --white: #FAFAF8;
  --text: #e8e4df;
  --text-muted: #a09b94;
  --text-dim: #6b6660;
  --nav-height: 80px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

html.lenis, html.lenis body {
  height: auto;
}

.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}

.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  color: var(--text);
  background: var(--forest-deep);
  overflow-x: hidden;
}

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

img {
  max-width: 100%;
  display: block;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

h1, h2, h3, h4 {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  line-height: 1.15;
}

/* --- Scroll Progress Bar --- */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0%;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  z-index: 10000;
  transition: none;
}

/* --- Film Grain Overlay --- */
.grain-overlay {
  position: fixed;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  pointer-events: none;
  z-index: 9998;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='1'/%3E%3C/svg%3E");
  animation: grainShift 0.5s steps(1) infinite;
}

@keyframes grainShift {
  0% { transform: translate(0, 0); }
  20% { transform: translate(-5%, -5%); }
  40% { transform: translate(3%, -8%); }
  60% { transform: translate(-8%, 2%); }
  80% { transform: translate(5%, 5%); }
  100% { transform: translate(0, 0); }
}

/* --- Custom Cursor (desktop only) --- */
@media (pointer: fine) {
  .cursor-dot {
    position: fixed;
    width: 8px;
    height: 8px;
    background: var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s var(--ease-out), height 0.3s var(--ease-out), background 0.3s;
    mix-blend-mode: difference;
  }

  .cursor-ring {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--gold);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.4s var(--ease-out), height 0.4s var(--ease-out), border-color 0.3s, opacity 0.3s;
    opacity: 0.5;
  }

  .cursor-hover .cursor-dot {
    width: 16px;
    height: 16px;
  }

  .cursor-hover .cursor-ring {
    width: 60px;
    height: 60px;
    opacity: 0.3;
  }

  body { cursor: none !important; }
  a, button, [data-cursor-hover] { cursor: none !important; }
}

@media (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 0 clamp(24px, 4vw, 60px);
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background 0.4s, backdrop-filter 0.4s, box-shadow 0.4s;
}

.nav.scrolled {
  background: rgba(15, 37, 25, 0.8);
  backdrop-filter: blur(20px) saturate(1.2);
  -webkit-backdrop-filter: blur(20px) saturate(1.2);
  box-shadow: 0 1px 0 rgba(196, 149, 106, 0.1);
}

.nav-logo {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 1.35rem;
  color: var(--cream);
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-muted);
  position: relative;
  transition: color 0.3s;
  padding: 4px 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--gold);
  transition: width 0.4s var(--ease-out);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--cream);
}

.nav-links a.active::after,
.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--forest-deep);
  background: var(--gold);
  padding: 10px 24px;
  border-radius: 100px;
  transition: background 0.3s, transform 0.3s;
}

.nav-cta:hover {
  background: var(--gold-light);
  transform: translateY(-1px);
}

.nav-cta::after { display: none !important; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  width: 28px;
  padding: 4px 0;
  position: relative;
  z-index: 1002;
}

.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--cream);
  transition: transform 0.4s var(--ease-out), opacity 0.3s;
  transform-origin: center;
}

.hamburger.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav {
  position: fixed;
  inset: 0;
  background: rgba(15, 37, 25, 0.97);
  backdrop-filter: blur(30px);
  z-index: 1001;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s var(--ease-out), visibility 0.5s;
}

.mobile-nav.open {
  opacity: 1;
  visibility: visible;
}

.mobile-nav a {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 2rem;
  color: var(--cream);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s, transform 0.4s var(--ease-out), color 0.3s;
}

.mobile-nav.open a {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.open a:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav.open a:nth-child(2) { transition-delay: 0.15s; }
.mobile-nav.open a:nth-child(3) { transition-delay: 0.2s; }
.mobile-nav.open a:nth-child(4) { transition-delay: 0.25s; }
.mobile-nav.open a:nth-child(5) { transition-delay: 0.3s; }

.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--gold);
}

/* --- Page Transition Overlay --- */
.page-transition-overlay {
  position: fixed;
  inset: 0;
  z-index: 9000;
  background: linear-gradient(135deg, var(--gold) 0%, var(--forest) 100%);
  transform: scaleX(0);
  transform-origin: left center;
  pointer-events: none;
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 60px);
}

.container--narrow {
  max-width: 900px;
}

/* --- Section Spacing --- */
.section {
  padding: clamp(80px, 12vw, 160px) 0;
  position: relative;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 16px 36px;
  border-radius: 100px;
  transition: all 0.4s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.btn--primary {
  background: var(--gold);
  color: var(--forest-deep);
}

.btn--primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(196, 149, 106, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--cream);
  border: 1.5px solid rgba(196, 149, 106, 0.4);
}

.btn--outline:hover {
  border-color: var(--gold);
  background: rgba(196, 149, 106, 0.08);
  transform: translateY(-2px);
}

.btn--large {
  padding: 20px 48px;
  font-size: 0.95rem;
}

.btn-arrow {
  display: inline-block;
  transition: transform 0.3s var(--ease-out);
}

.btn:hover .btn-arrow {
  transform: translateX(4px);
}

/* --- Three.js Canvas --- */
#three-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* ============================================
   HOME PAGE
   ============================================ */

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 1;
  overflow: hidden;
}

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

.hero-title {
  font-size: clamp(3rem, 8vw, 7.5rem);
  color: var(--cream);
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-title .line-inner {
  display: block;
  transform: translateY(110%);
}

.hero-subtitle {
  font-size: clamp(0.85rem, 1.5vw, 1.05rem);
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  opacity: 0;
}

.hero-tagline {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.1rem, 2.5vw, 1.6rem);
  color: var(--text-muted);
  margin-bottom: 48px;
  opacity: 0;
}

.hero-cta {
  opacity: 0;
  transform: translateY(20px);
}

.scroll-hint {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: scrollHintFade 2s ease-in-out 2s forwards;
}

.scroll-hint span {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.scroll-hint-arrow {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollArrow 2s ease-in-out infinite;
}

@keyframes scrollArrow {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.3; transform: scaleY(0.5); transform-origin: top; }
}

@keyframes scrollHintFade {
  to { opacity: 1; }
}

/* Marquee */
.marquee-section {
  padding: 40px 0;
  overflow: hidden;
  border-top: 1px solid rgba(196, 149, 106, 0.1);
  border-bottom: 1px solid rgba(196, 149, 106, 0.1);
  position: relative;
  z-index: 1;
}

.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeScroll 30s linear infinite;
}

.marquee-item {
  flex-shrink: 0;
  padding: 0 40px;
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(1.2rem, 2vw, 1.8rem);
  color: var(--text-dim);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 40px;
}

.marquee-item::after {
  content: '';
  display: block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.5;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Intro Section */
.intro-section {
  position: relative;
  z-index: 1;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.intro-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 3/4;
}

.intro-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
  transition: transform 1s var(--ease-out);
}

.intro-image-wrap.revealed img {
  transform: scale(1);
}

.intro-image-clip {
  position: absolute;
  inset: 0;
  background: var(--forest-deep);
  transform-origin: right center;
}

.intro-text h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--cream);
  margin-bottom: 24px;
}

.intro-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-muted);
  margin-bottom: 36px;
}

.intro-text .word {
  display: inline-block;
  opacity: 0.15;
  transition: opacity 0.1s;
}

/* Bento Grid */
.bento-section {
  position: relative;
  z-index: 1;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--cream);
  margin-bottom: clamp(40px, 6vw, 80px);
  text-align: center;
}

.section-title span {
  color: var(--gold);
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
}

.bento-card {
  background: rgba(42, 90, 66, 0.15);
  border: 1px solid rgba(196, 149, 106, 0.08);
  border-radius: 16px;
  padding: clamp(28px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  transition: transform 0.5s var(--ease-out), border-color 0.5s, box-shadow 0.5s;
  opacity: 0;
  transform: translateY(40px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.bento-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(196, 149, 106, 0.08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
}

.bento-card:hover::before {
  opacity: 1;
}

.bento-card:hover {
  border-color: rgba(196, 149, 106, 0.25);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.bento-card:nth-child(1) {
  grid-row: span 2;
}

.bento-card-icon {
  font-size: 2rem;
  margin-bottom: 20px;
}

.bento-card h3 {
  font-size: clamp(1.2rem, 2vw, 1.5rem);
  color: var(--cream);
  margin-bottom: 10px;
}

.bento-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
}

.bento-card .card-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 4rem;
  color: rgba(196, 149, 106, 0.1);
  position: absolute;
  top: 20px;
  right: 24px;
}

/* Stats */
.stats-section {
  position: relative;
  z-index: 1;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  padding: 40px 20px;
}

.stat-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}

.stat-label {
  font-size: 0.9rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* Home CTA */
.cta-section {
  position: relative;
  z-index: 1;
  text-align: center;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  color: var(--cream);
  margin-bottom: 16px;
}

.cta-section p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.page-hero {
  position: relative;
  height: 70vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.page-hero-image {
  position: absolute;
  inset: 0;
}

.page-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15, 37, 25, 0.5) 0%, rgba(15, 37, 25, 0.85) 100%);
}

.page-hero-title {
  position: relative;
  z-index: 2;
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--cream);
  letter-spacing: -0.02em;
}

/* Bio Section */
.bio-section {
  position: relative;
  z-index: 1;
}

.bio-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.bio-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 3/4;
  transition: transform 0.6s var(--ease-out);
}

.bio-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bio-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  color: var(--cream);
  margin-bottom: 24px;
}

.bio-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Philosophy Quote */
.philosophy-section {
  position: relative;
  z-index: 1;
  text-align: center;
}

.philosophy-quote {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: clamp(1.6rem, 3.5vw, 3rem);
  color: var(--cream);
  line-height: 1.4;
  max-width: 900px;
  margin: 0 auto;
}

.philosophy-quote .char {
  display: inline-block;
  opacity: 0.1;
}

.quote-mark {
  display: block;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.4;
  margin-bottom: 24px;
  line-height: 1;
}

/* Credentials */
.credentials-section {
  position: relative;
  z-index: 1;
}

.credentials-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  color: var(--cream);
  text-align: center;
  margin-bottom: 40px;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.badge {
  padding: 12px 28px;
  border: 1px solid rgba(196, 149, 106, 0.3);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--gold-light);
  background: rgba(196, 149, 106, 0.06);
  transition: all 0.3s var(--ease-out);
}

.badge:hover {
  background: rgba(196, 149, 106, 0.15);
  border-color: var(--gold);
  transform: translateY(-2px);
}

/* Approach */
.approach-section {
  position: relative;
  z-index: 1;
}

.approach-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.approach-block {
  opacity: 0;
  transform: translateY(30px);
}

.approach-block h3 {
  font-size: 1.3rem;
  color: var(--gold);
  margin-bottom: 16px;
}

.approach-block p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Photo Gallery */
.gallery-section {
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 16px;
}

.gallery-item {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  aspect-ratio: 1;
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
  grid-row: span 2;
  aspect-ratio: auto;
}

.gallery-item:nth-child(4) {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease-out);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item-overlay {
  position: absolute;
  inset: 0;
  background: rgba(15, 37, 25, 1);
  transform-origin: left center;
}

/* ============================================
   SERVICES PAGE
   ============================================ */

.services-hero {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 60px;
  text-align: center;
}

.services-hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
  color: var(--cream);
  margin-bottom: 16px;
}

.services-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 550px;
  margin: 0 auto;
}

/* Service Block */
.service-block {
  position: relative;
  z-index: 1;
  padding: clamp(60px, 10vw, 120px) 0;
  border-top: 1px solid rgba(196, 149, 106, 0.08);
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 100px);
  align-items: center;
}

.service-block:nth-child(even) .service-grid {
  direction: rtl;
}

.service-block:nth-child(even) .service-grid > * {
  direction: ltr;
}

.service-image-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  aspect-ratio: 4/3;
}

.service-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.1);
  transition: transform 1.2s var(--ease-out);
}

.service-image-wrap.revealed img {
  transform: scale(1);
}

.service-image-clip {
  position: absolute;
  inset: 0;
  background: var(--forest-deep);
  transform-origin: left center;
}

.service-text .service-number {
  font-family: 'DM Serif Display', Georgia, serif;
  font-size: 1rem;
  color: var(--gold);
  letter-spacing: 0.1em;
  margin-bottom: 16px;
  opacity: 0.6;
}

.service-text h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  color: var(--cream);
  margin-bottom: 20px;
}

.service-text p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.service-meta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(196, 149, 106, 0.08);
  border: 1px solid rgba(196, 149, 106, 0.15);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  margin-top: 8px;
}

.services-cta {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: clamp(80px, 12vw, 160px) 0;
}

.services-cta h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--cream);
  margin-bottom: 16px;
}

.services-cta p {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-hero {
  position: relative;
  z-index: 1;
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 40px;
  text-align: center;
}

.contact-hero h1 {
  font-size: clamp(3rem, 7vw, 5.5rem);
  color: var(--cream);
  margin-bottom: 16px;
}

.contact-hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto;
}

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

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(40px, 6vw, 80px);
  align-items: start;
}

.contact-info h3 {
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 24px;
}

.contact-info p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-muted);
  margin-bottom: 32px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(196, 149, 106, 0.1);
  border: 1px solid rgba(196, 149, 106, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.contact-detail-text {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.contact-detail-text strong {
  display: block;
  color: var(--cream);
  font-weight: 500;
  margin-bottom: 2px;
}

/* Contact CTA buttons */
.contact-cta-area {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-btn {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px 32px;
  border-radius: 16px;
  transition: all 0.4s var(--ease-out);
  text-align: left;
  width: 100%;
}

.contact-btn--telegram {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--forest-deep);
}

.contact-btn--telegram:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 50px rgba(196, 149, 106, 0.3);
}

.contact-btn--max {
  background: rgba(42, 90, 66, 0.2);
  border: 1.5px solid rgba(196, 149, 106, 0.25);
  color: var(--cream);
}

.contact-btn--max:hover {
  border-color: var(--gold);
  background: rgba(42, 90, 66, 0.35);
  transform: translateY(-3px);
}

.contact-btn-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-btn--telegram .contact-btn-icon {
  background: rgba(15, 37, 25, 0.15);
}

.contact-btn--max .contact-btn-icon {
  background: rgba(196, 149, 106, 0.1);
}

.contact-btn-text {
  flex: 1;
}

.contact-btn-text strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-btn-text span {
  font-size: 0.85rem;
  opacity: 0.7;
}

.contact-btn-arrow {
  font-size: 1.2rem;
  transition: transform 0.3s var(--ease-out);
}

.contact-btn:hover .contact-btn-arrow {
  transform: translateX(4px);
}

/* Animated gradient orb */
.contact-orb {
  position: fixed;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(196, 149, 106, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
  animation: orbFloat 8s ease-in-out infinite;
}

.contact-orb--1 {
  top: 20%;
  right: -10%;
}

.contact-orb--2 {
  bottom: 10%;
  left: -15%;
  animation-delay: -4s;
  background: radial-gradient(circle, rgba(42, 90, 66, 0.2) 0%, transparent 70%);
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -20px) scale(1.05); }
  66% { transform: translate(-20px, 15px) scale(0.95); }
}

/* Map placeholder */
.map-placeholder {
  width: 100%;
  height: 240px;
  border-radius: 16px;
  background: rgba(42, 90, 66, 0.15);
  border: 1px solid rgba(196, 149, 106, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
  border-top: 1px solid rgba(196, 149, 106, 0.08);
  padding: 60px 0 40px;
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  margin-bottom: 48px;
}

.footer-brand {
  font-family: 'DM Serif Display', Georgia, serif;
  font-style: italic;
  font-size: 1.5rem;
  color: var(--cream);
  margin-bottom: 16px;
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text-dim);
  max-width: 360px;
}

.footer-col h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.footer-col a {
  display: block;
  font-size: 0.9rem;
  color: var(--text-dim);
  margin-bottom: 12px;
  transition: color 0.3s;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid rgba(196, 149, 106, 0.06);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-dim);
}

.footer-bottom-links {
  display: flex;
  gap: 24px;
}

.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: color 0.3s;
}

.footer-bottom-links a:hover {
  color: var(--gold);
}

/* ============================================
   PAGE TRANSITION STATES
   ============================================ */

.barba-leave-active {
  position: absolute;
  width: 100%;
}

[data-barba="container"] {
  will-change: opacity, transform;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bento-card:nth-child(1) {
    grid-row: span 1;
    grid-column: span 2;
  }

  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
    grid-row: span 1;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

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

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2.4rem, 10vw, 4rem);
  }

  .intro-grid,
  .bio-grid,
  .service-grid,
  .contact-grid,
  .approach-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .service-block:nth-child(even) .service-grid {
    direction: ltr;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .stat-item {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(196, 149, 106, 0.06);
  }

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

  .bento-card:nth-child(1) {
    grid-column: span 1;
  }

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

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .gallery-item:nth-child(4) {
    grid-column: span 1;
  }

  .page-hero {
    height: 50vh;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  #three-canvas {
    display: none;
  }
}

@media (max-width: 480px) {
  .cta-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn--large {
    padding: 16px 36px;
    font-size: 0.85rem;
  }

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

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }
}

/* --- Utility --- */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Prevent FOUC during page transitions */
.is-transitioning {
  pointer-events: none;
}
