/* ============================================
   Pauli Siuruainen — Ghost Theme
   Integratiivinen psykoterapia Helsinki
   ============================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600&family=Inter:wght@200;300;400;500;600&family=Material+Symbols+Outlined:wght,FILL@100..700,0..1&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Brand Colors */
  --color-primary: #2D3D2F;
  --color-nav: #173838;
  --color-bg: #E8E3DC;
  --color-bg-light: #f8f3ec;
  --color-bg-nav: rgba(245, 241, 235, 0.9);
  --color-bg-card: #FAF8F5;
  --color-bg-footer: #2D3D2F;
  --color-text: #3A3530;
  --color-accent: #C4A87C;
  --color-accent-dark: #6B5A42;
  --color-secondary-bg: #DDD5CA;
  --color-white: #ffffff;
  --color-border: rgba(196, 168, 124, 0.1);

  /* Typography */
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-size-base: 16px;
  --line-height: 1.8;

  /* Spacing */
  --max-width: 700px;
  --max-width-wide: 1280px;
  --max-width-medium: 1024px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 8rem;

  /* Border Radius */
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.5rem;

  /* Shadows */
  --shadow-sm: 0 2px 10px rgba(58, 53, 48, 0.04);
  --shadow-md: 0 4px 20px rgba(58, 53, 48, 0.06);
  --shadow-lg: 0 8px 30px rgba(58, 53, 48, 0.1);
  --shadow-xl: 0 12px 40px rgba(58, 53, 48, 0.12);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-size: var(--font-size-base);
  font-weight: 300;
  line-height: var(--line-height);
  color: var(--color-text);
  background-color: var(--color-bg);
}

::selection {
  background-color: rgba(196, 168, 124, 0.3);
}

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

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

/* Material Symbols */
.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 200, 'GRAD' 0, 'opsz' 24;
  display: inline-block;
  vertical-align: middle;
}

/* --- Typography --- */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--color-primary);
}

h1 { font-size: 2.25rem; overflow-wrap: break-word; word-break: break-word; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

@media (min-width: 768px) {
  h1 { font-size: 4.5rem; }
  h2 { font-size: 2.5rem; }
  h3 { font-size: 1.875rem; }
}

.font-serif {
  font-family: var(--font-heading);
}

/* ============================================
   NAVIGATION
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: var(--color-bg-nav);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-border);
}

.site-nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 1.5rem 2rem;
}

.site-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-nav);
  letter-spacing: -0.025em;
}

.site-logo img {
  max-height: 2rem;
  width: auto;
}

.nav-links {
  display: none;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 768px) {
  .nav-links { display: flex; }
}

.nav-link {
  font-size: 0.875rem;
  color: rgba(23, 56, 56, 0.7);
  transition: color 0.2s;
}

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

.nav-link.active {
  color: var(--color-nav);
  font-weight: 500;
}

.nav-cta {
  background: var(--color-nav);
  color: var(--color-white);
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: opacity 0.2s;
}

.nav-cta:hover {
  opacity: 0.8;
}

.mobile-menu-toggle {
  display: block;
  background: none;
  border: none;
  color: var(--color-nav);
  cursor: pointer;
}

@media (min-width: 768px) {
  .mobile-menu-toggle { display: none; }
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
  background: var(--color-bg-footer);
  padding: 5rem 2rem 2.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: var(--max-width-wide);
  margin: 0 auto 4rem;
}

@media (min-width: 768px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

.footer-brand-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.9);
  display: block;
  margin-bottom: 0.75rem;
}

.footer-motto {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  max-width: 20rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 3rem;
}

.footer-nav a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(196, 168, 124, 0.3);
  transition: color 0.2s;
}

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

.footer-contact p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-contact a {
  transition: color 0.2s;
}

.footer-contact a:hover {
  color: var(--color-white);
}

.footer-social {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.footer-social a {
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.footer-social a:hover {
  color: var(--color-white);
}

.footer-social svg {
  width: 1.25rem;
  height: 1.25rem;
}

.footer-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  max-width: var(--max-width-wide);
  margin: 0 auto 1.5rem;
}

.footer-copyright {
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  max-width: var(--max-width-wide);
  margin: 0 auto;
}

/* ============================================
   BUTTONS & LINKS
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--color-nav);
  color: var(--color-white);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  opacity: 0.9;
}

.btn-primary:active {
  transform: scale(0.95);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: rgba(255, 255, 255, 0.4);
  color: var(--color-primary);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 2px solid rgba(45, 61, 47, 0.4);
  transition: all 0.2s;
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(45, 61, 47, 0.05);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: var(--color-primary);
  padding: 1rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid var(--color-accent);
  transition: all 0.2s;
}

.btn-outline:hover {
  background: rgba(196, 168, 124, 0.1);
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: gap 0.2s;
}

.arrow-link:hover {
  gap: 1rem;
}

.arrow-link .material-symbols-outlined {
  font-size: 0.875rem;
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--color-bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 2px solid rgba(45, 61, 47, 0.25);
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
}

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

.card-number {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  color: var(--color-accent);
  display: block;
  margin-bottom: 1.5rem;
}

.card-static {
  background: var(--color-bg-light);
  padding: 2.5rem;
  border-left: 1px solid var(--color-accent);
  border-radius: var(--radius-lg);
  transition: background 0.2s;
}

.card-static:hover {
  background: var(--color-white);
}

/* ============================================
   IMAGES
   ============================================ */
.img-rounded {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.img-shadow {
  box-shadow: var(--shadow-lg);
}

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

.warm-atmosphere {
  filter: sepia(15%) saturate(80%) brightness(105%);
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-narrow {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.container-medium {
  max-width: var(--max-width-medium);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 8rem 0;
}

.section-light {
  background: rgba(255, 255, 255, 0.4);
}

.section-warm {
  background: var(--color-bg-light);
}

.section-accent {
  background: var(--color-secondary-bg);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-2 { grid-template-columns: 1fr 1fr; }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 { grid-template-columns: 1fr 1fr 1fr; }
}

.grid-12 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 1024px) {
  .grid-12 { grid-template-columns: repeat(12, 1fr); }
  .col-5 { grid-column: span 5; }
  .col-7 { grid-column: span 7; }
}

.text-center { text-align: center; }
.text-left { text-align: left; }

.items-center { align-items: center; }
.items-start { align-items: start; }

.flex-wrap-center {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.hidden-mobile { display: none; }
@media (min-width: 1024px) {
  .hidden-mobile { display: block; }
}

/* ============================================
   HOME PAGE — Hero
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 8rem 0 6rem;
  overflow: hidden;
  background: var(--color-bg);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  filter: brightness(1.1) saturate(0.9);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(232, 227, 220, 0.3) 0%,
    rgba(232, 227, 220, 0.4) 60%,
    rgba(232, 227, 220, 0.85) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: var(--max-width-wide);
  margin: 0 auto;
  padding: 0 2rem 0 4rem;
  width: 100%;
}

@media (min-width: 768px) {
  .hero-content { padding: 0 3rem 0 6rem; }
}

@media (min-width: 1024px) {
  .hero-content { padding: 0 4rem 0 8rem; }
}

.hero-label {
  display: block;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.4em;
  font-weight: 600;
  color: rgba(45, 61, 47, 0.9);
  margin-bottom: 0.25rem;
}

@media (min-width: 768px) {
  .hero-label { font-size: 1.125rem; }
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .hero h1 { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
  .hero h1 { font-size: 6rem; }
}

.hero-quote {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.4;
  padding-left: 2rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  border-left: 3px solid #B5A898;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .hero-quote { font-size: 1.875rem; }
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
}

/* ============================================
   HOME PAGE — Sections
   ============================================ */
.quote-divider {
  width: 100%;
  background: var(--color-secondary-bg);
  padding: 8rem 1.5rem;
}

.quote-divider h3 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 600;
  font-style: italic;
  color: var(--color-primary);
  line-height: 1.5;
  max-width: 56rem;
  margin: 0 auto;
  text-align: center;
}

@media (min-width: 768px) {
  .quote-divider h3 { font-size: 2.25rem; }
}

.approach-item {
  border-left: 2px solid var(--color-accent);
  padding-left: 2rem;
}

.approach-item h5 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
}

.approach-item p {
  font-size: 0.875rem;
  line-height: 1.7;
  font-weight: 300;
}

.list-dash li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.list-dash li .dash {
  width: 2rem;
  height: 1px;
  background: var(--color-accent);
  flex-shrink: 0;
  margin-top: 1rem;
}

.list-dash li span {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--color-primary);
}

/* ============================================
   BLOG LISTING (Kirjoituksia)
   ============================================ */
.post-card {
  display: block;
  background: var(--color-bg-card);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 3px solid rgba(45, 61, 47, 0.25);
  box-shadow: var(--shadow-md);
  transition: all 0.3s;
  margin-bottom: 1.5rem;
}

.post-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.post-card-tag {
  display: inline-block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-bottom: 1rem;
}

.post-card h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.post-card-date {
  font-size: 0.75rem;
  color: rgba(58, 53, 48, 0.5);
  margin-bottom: 1rem;
}

.post-card-excerpt {
  font-size: 0.875rem;
  color: rgba(58, 53, 48, 0.7);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.post-card-readmore {
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

/* Tag filter buttons */
.tag-filter {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid rgba(196, 168, 124, 0.2);
  background: var(--color-white);
  color: var(--color-primary);
  transition: all 0.2s;
}

.tag-filter:hover,
.tag-filter.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

/* Load more button */
.load-more {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--color-primary);
  color: var(--color-white);
  padding: 0.75rem 2rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
}

.load-more:hover {
  opacity: 0.85;
}

/* ============================================
   SINGLE POST (Artikkeli)
   ============================================ */
.post-header {
  max-width: 48rem;
  margin: 0 auto;
  padding: 0 1.5rem;
  text-align: center;
  margin-bottom: 4rem;
}

.post-tag-label {
  display: block;
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--color-accent-dark);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.post-header h1 {
  margin-bottom: 2rem;
}

.post-meta {
  font-size: 0.875rem;
  font-weight: 300;
  letter-spacing: 0.05em;
  color: rgba(58, 53, 48, 0.7);
}

.post-separator {
  height: 1px;
  width: 6rem;
  background: var(--color-accent);
  margin: 1rem auto 0;
}

/* Post content */
.post-content {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.post-content p {
  font-weight: 300;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.post-content h2 {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.post-content blockquote {
  border-left: 3px solid #B5A898;
  padding-left: 2rem;
  margin: 2.5rem 0;
}

.post-content blockquote p {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 1.25rem;
  color: rgba(58, 53, 48, 0.8);
  line-height: 1.6;
}

.post-content ul {
  list-style: disc;
  padding-left: 1.25rem;
  margin-bottom: 2rem;
}

.post-content ul li {
  font-weight: 300;
  color: rgba(58, 53, 48, 0.9);
  margin-bottom: 1rem;
}

.post-content img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-bottom: 3rem;
}

/* Ghost Koenig editor width classes */
.post-content .kg-width-wide {
  max-width: var(--max-width-medium);
  margin-left: calc(50% - var(--max-width-medium) / 2);
  margin-right: calc(50% - var(--max-width-medium) / 2);
}

.post-content .kg-width-full {
  max-width: none;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.post-content .kg-width-wide img,
.post-content .kg-width-full img {
  width: 100%;
}

.post-feature-image {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  margin-bottom: 3rem;
}

.post-feature-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: 0;
  box-shadow: none;
  margin-bottom: 0;
}

/* Post tags */
.post-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(196, 168, 124, 0.3);
}

.post-tag {
  padding: 0.25rem 1rem;
  border: 1px solid var(--color-accent-dark);
  font-size: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent-dark);
  font-weight: 600;
  border-radius: var(--radius-md);
}

/* Related posts */
.related-posts h3 {
  margin-bottom: 3rem;
}

/* CTA section */
.cta-box {
  background: rgba(250, 248, 245, 0.5);
  padding: 5rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(193, 200, 199, 0.2);
  text-align: center;
}

.cta-box h3 {
  font-style: italic;
  margin-bottom: 1.5rem;
}

.cta-box p {
  font-weight: 300;
  margin-bottom: 2.5rem;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.cta-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2.5rem;
}

/* ============================================
   PAGE — Psykoterapia
   ============================================ */
.page-hero {
  padding-top: 10rem;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .page-hero-grid { grid-template-columns: 1fr 1fr; }
}

.page-hero-image {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
}

.credential-box {
  background: var(--color-bg-card);
  padding: 3rem;
  border-radius: var(--radius-lg);
  border-left: 1px solid var(--color-accent);
  box-shadow: var(--shadow-md);
}

.credential-box h3 {
  margin-bottom: 2rem;
}

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

.credential-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.credential-list .material-symbols-outlined {
  color: var(--color-accent);
  padding-top: 0.25rem;
}

/* Kela section */
.kela-section {
  width: 100%;
  background: var(--color-secondary-bg);
  padding: 6rem 1.5rem;
  text-align: center;
}

.kela-section h2 {
  margin-bottom: 3rem;
}

.kela-section .kela-text {
  max-width: 48rem;
  margin: 0 auto;
}

.kela-section .kela-text p {
  font-weight: 300;
  font-size: 1.125rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

/* Location section */
.location-box {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.location-box-grid {
  display: grid;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .location-box-grid { grid-template-columns: 1fr 1fr; }
}

.location-info {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 1024px) {
  .location-info { padding: 5rem; }
}

.location-image {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (min-width: 1024px) {
  .location-image { padding: 3rem; }
}

.location-image img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

/* ============================================
   PAGE — Minusta
   ============================================ */
.about-section {
  padding: 5rem 0;
}

.about-section.section-warm {
  background: var(--color-bg-light);
}

/* ============================================
   PAGE — UKK (FAQ)
   ============================================ */
.faq-item {
  border-bottom: 1px solid rgba(196, 168, 124, 0.15);
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.5rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  line-height: 1.4;
}

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

.faq-icon {
  font-size: 1.25rem;
  color: var(--color-accent);
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.3s;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.open .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding-bottom: 1.5rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(58, 53, 48, 0.8);
}

.faq-answer p {
  padding: 0 0.5rem;
  font-weight: 300;
  line-height: 1.7;
  color: rgba(58, 53, 48, 0.8);
  margin-bottom: 1rem;
}

.faq-answer p:last-child {
  margin-bottom: 1.5rem;
}

/* ============================================
   PAGE — Yhteys (Contact)
   ============================================ */
.contact-email {
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-color: rgba(45, 61, 47, 0.3);
}

@media (min-width: 768px) {
  .contact-email { font-size: 2rem; }
}

.contact-address {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(58, 53, 48, 0.5);
  margin-top: 1rem;
}

.contact-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .contact-steps { grid-template-columns: 1fr 1fr 1fr; }
}

.contact-step-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: rgba(196, 168, 124, 0.4);
  margin-bottom: 1rem;
}

/* ============================================
   PAGE — Tietosuoja (Privacy)
   ============================================ */
.privacy-section {
  margin-bottom: 3rem;
}

.privacy-section h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.privacy-section p,
.privacy-section li {
  font-weight: 300;
  line-height: 1.7;
  color: rgba(58, 53, 48, 0.8);
}

.privacy-section ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
}

.privacy-section li {
  margin-bottom: 0.5rem;
}

.privacy-box {
  background: var(--color-bg-light);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  border-left: 2px solid var(--color-accent);
}

.privacy-highlight {
  background: var(--color-bg-light);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.privacy-content {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.privacy-content section h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.privacy-content section p {
  font-weight: 300;
  line-height: 1.7;
  color: rgba(58, 53, 48, 0.8);
}

.privacy-list {
  list-style: disc;
  padding-left: 1.5rem;
  margin-top: 0.5rem;
  color: rgba(58, 53, 48, 0.8);
  font-weight: 300;
  line-height: 2;
}

.text-link {
  color: var(--color-primary);
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 4px;
  text-decoration-color: rgba(196, 168, 124, 0.5);
  transition: text-decoration-color 0.2s;
}

.text-link:hover {
  text-decoration-color: var(--color-primary);
}

.quote-card {
  background: rgba(250, 248, 245, 0.5);
  padding: 4rem 2rem;
  border-radius: var(--radius-xl);
  border: 1px solid rgba(196, 168, 124, 0.1);
  text-align: center;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 4rem;
}

.pagination a {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  font-size: 0.875rem;
  font-weight: 500;
  transition: all 0.2s;
}

/* ============================================
   ERROR PAGE
   ============================================ */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.error-code {
  font-family: var(--font-heading);
  font-size: 8rem;
  font-weight: 300;
  color: rgba(45, 61, 47, 0.15);
  line-height: 1;
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

/* Skip to content */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  padding: 0.5rem 1rem;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-sm);
  z-index: 100;
}

.skip-link:focus {
  top: 1rem;
}

/* ============================================
   MOBILE MENU
   ============================================ */
@media (max-width: 767px) {
  .nav-links.mobile-open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-bg-nav);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 1.5rem 2rem 2rem;
    border-bottom: 1px solid var(--color-border);
    gap: 1.25rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-links.mobile-open .nav-cta {
    text-align: center;
    margin-top: 0.5rem;
  }
}

/* ============================================
   AUTHOR BIO (Articles)
   ============================================ */
.author-box {
  margin-top: 5rem;
  padding-top: 3rem;
  border-top: 1px solid rgba(196, 168, 124, 0.2);
}

.author-box-inner {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.author-photo {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
}

.author-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.author-name {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.author-title {
  font-size: 0.8125rem;
  color: rgba(58, 53, 48, 0.6);
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.author-bio {
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: rgba(58, 53, 48, 0.8);
  margin-bottom: 1rem;
}

.author-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.author-tags span {
  font-size: 0.6875rem;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(196, 168, 124, 0.3);
  border-radius: var(--radius-md);
  color: var(--color-accent-dark);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

@media (max-width: 640px) {
  .author-box-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .author-tags {
    justify-content: center;
  }
}

/* ============================================
   NEWSLETTER
   ============================================ */
.newsletter-box {
  margin-top: 4rem;
  padding: 3rem;
  background: var(--color-bg-card);
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(196, 168, 124, 0.1);
}

.newsletter-box h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.newsletter-box > p {
  font-weight: 300;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: rgba(58, 53, 48, 0.7);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

.newsletter-form {
  max-width: 28rem;
  margin: 0 auto;
}

.newsletter-input-group {
  display: flex;
  gap: 0.75rem;
}

.newsletter-input {
  flex: 1;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(196, 168, 124, 0.3);
  border-radius: var(--radius-md);
  font-family: var(--font-body);
  font-size: 0.875rem;
  background: var(--color-white);
  color: var(--color-text);
  outline: none;
  transition: border-color 0.2s;
}

.newsletter-input:focus {
  border-color: var(--color-accent);
}

.newsletter-input::placeholder {
  color: rgba(58, 53, 48, 0.4);
}

.newsletter-btn {
  white-space: nowrap;
  padding: 0.75rem 1.5rem;
}

.newsletter-status {
  margin-top: 0.75rem;
  font-size: 0.8125rem;
}

.newsletter-success {
  color: var(--color-primary);
}

.newsletter-error {
  color: #a04040;
}

@media (max-width: 480px) {
  .newsletter-input-group {
    flex-direction: column;
  }
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.testimonial-card {
  background: var(--color-white);
  padding: 2.5rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border-left: 3px solid rgba(196, 168, 124, 0.4);
}

.testimonial-quote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  font-style: italic;
  line-height: 1.6;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.testimonial-author {
  font-size: 0.8125rem;
  color: rgba(58, 53, 48, 0.5);
  font-weight: 400;
}

/* ============================================
   INFO TABLE (Minusta background)
   ============================================ */
.info-table {
  border-top: 1px solid rgba(196, 168, 124, 0.2);
}

.info-row {
  display: flex;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(196, 168, 124, 0.15);
  gap: 2rem;
}

.info-label {
  font-size: 0.8125rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(58, 53, 48, 0.5);
  min-width: 7rem;
  flex-shrink: 0;
}

.info-value {
  font-weight: 300;
  color: var(--color-text);
}

@media (max-width: 640px) {
  .info-row {
    flex-direction: column;
    gap: 0.25rem;
  }
}

/* ============================================
   FOOTER CREDENTIALS
   ============================================ */
.footer-credentials {
  margin-top: 1rem;
}

.footer-credentials p {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 300;
  line-height: 1.6;
}

.footer-credentials a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: rgba(196, 168, 124, 0.3);
  transition: color 0.2s;
}

.footer-credentials a:hover {
  color: rgba(255, 255, 255, 0.8);
}
