/* ==============================================================================
   ELÄINKUVAUS.FI – PÄÄTYYLITIEDOSTO
   Sisältää 3 erilaista visuaalista teemaa ja responsiivisen arkkitehtuurin
   ============================================================================== */

/* ITSE ISÄNNÖIDYT FONTIT (Ei ulkoisia Google Fonts -yhteyksiä) */
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/playfair-display-latin-ext-0.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/playfair-display-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/playfair-display-latin-1.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-ext-2.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-3.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-3.woff2) format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-3.woff2) format('woff2');
}
@font-face {
  font-family: 'Plus Jakarta Sans';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/plus-jakarta-sans-latin-3.woff2) format('woff2');
}

/* ==============================================================================
   1. TEEMAMUUTTUJAT
   ============================================================================== */

/* VAIHTOEHTO 1: LÄMMIN LUONTO & TARINA (Oletus) */
:root,
[data-theme="warm-editorial"] {
  --bg-page: #fcf8f2;
  --bg-surface: #ffffff;
  --bg-contrast: #f4ede2;
  --bg-card: #ffffff;
  --text-main: #2b221a;
  --text-muted: #5c4e43;
  --text-light: #5c4e43;
  --border-subtle: #ebdccd;
  --border-focus: #913f1e;

  --color-primary: #913f1e;        /* Syvempi terrakotta / kupari */
  --color-primary-dark: #733015;
  --color-primary-text: #ffffff;
  --color-accent: #2d4a3e;         /* Syvä metsänvihreä */
  --color-accent-light: #e6ede9;
  --color-gold: #c28e2b;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(43, 34, 26, 0.05);
  --shadow-md: 0 8px 24px rgba(43, 34, 26, 0.08);
  --shadow-lg: 0 16px 40px rgba(43, 34, 26, 0.12);

  --hero-overlay-start: rgba(252, 248, 242, 0.88);
  --hero-overlay-end: rgba(252, 248, 242, 0.65);
}

/* VAIHTOEHTO 2: MODERNI STUDIO & GALLERIA (NOIR / LUXURY) */
[data-theme="noir-studio"] {
  --bg-page: #0f1115;
  --bg-surface: #181b22;
  --bg-contrast: #13151b;
  --bg-card: #1c2029;
  --text-main: #f5f6f8;
  --text-muted: #a3abb8;
  --text-light: #6e7787;
  --border-subtle: #292e3a;
  --border-focus: #d4af37;

  --color-primary: #d4af37;        /* Puhdas kulta */
  --color-primary-dark: #b89326;
  --color-primary-text: #0f1115;
  --color-accent: #38bdf8;
  --color-accent-light: rgba(56, 189, 248, 0.12);
  --color-gold: #d4af37;

  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.6);

  --hero-overlay-start: rgba(15, 17, 21, 0.94);
  --hero-overlay-end: rgba(15, 17, 21, 0.78);
}

/* VAIHTOEHTO 3: RAIKAS POHJOLA & TOIMINTA (NORDIC FRESH) */
[data-theme="nordic-joy"] {
  --bg-page: #f4f8f6;
  --bg-surface: #ffffff;
  --bg-contrast: #e8f1ec;
  --bg-card: #ffffff;
  --text-main: #142821;
  --text-muted: #4e635a;
  --text-light: #7c9188;
  --border-subtle: #d2e3dc;
  --border-focus: #18654c;

  --color-primary: #18654c;        /* Raikas pohjoismainen metsänvihreä */
  --color-primary-dark: #114a37;
  --color-primary-text: #ffffff;
  --color-accent: #e27a24;         /* Eloisa ilon oranssi / meripihka */
  --color-accent-light: #fbeee2;
  --color-gold: #e27a24;

  --font-heading: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;

  --shadow-sm: 0 2px 8px rgba(20, 40, 33, 0.05);
  --shadow-md: 0 8px 24px rgba(20, 40, 33, 0.08);
  --shadow-lg: 0 16px 40px rgba(20, 40, 33, 0.12);

  --hero-overlay-start: rgba(244, 248, 246, 0.90);
  --hero-overlay-end: rgba(244, 248, 246, 0.70);
}

/* ==============================================================================
   2. YLEISET POHJATYYLIT JA RESET
   ============================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.25s ease, color 0.25s ease;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

button, input, select, textarea {
  font: inherit;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

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

/* ==============================================================================
   3. TEEMANVAIHTOPALKKI (PROTOTYYPPIKYTKIN)
   ============================================================================== */
.theme-bar {
  background-color: #11141a;
  color: #f1f3f7;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  z-index: 1000;
  font-size: 0.85rem;
}

.theme-bar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.theme-bar-info {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.theme-bar-badge {
  background: rgba(255, 255, 255, 0.15);
  padding: 0.2rem 0.55rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #ffde59;
}

.theme-bar-text {
  color: #c0c6d1;
}

.theme-options {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.theme-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #e5e9f0;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.8rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.theme-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
}

.theme-btn.active {
  background: #ffffff;
  color: #11141a;
  border-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.theme-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  display: inline-block;
}

.dot-warm { background: #b4532a; }
.dot-noir { background: #d4af37; }
.dot-nordic { background: #19634e; }

/* ==============================================================================
   4. YLÄPALKKI & NAVIGAATIO
   ============================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  transition: background-color 0.25s ease, border-color 0.25s ease;
  backdrop-filter: blur(12px);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

[data-theme="noir-studio"] .brand-icon {
  filter: invert(1) brightness(1.2);
}

.brand-text {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-main);
}

.brand-text em {
  font-style: italic;
  color: var(--color-primary);
  font-weight: 700;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-muted);
  position: relative;
  padding: 0.25rem 0;
}

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

.nav-btn {
  background-color: var(--color-primary);
  color: var(--color-primary-text) !important;
  padding: 0.55rem 1.25rem !important;
  border-radius: var(--radius-full);
  font-weight: 700;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

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

.header-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-weight: 700;
  color: var(--color-primary);
  font-size: 0.95rem;
}

.header-phone:hover {
  opacity: 0.85;
}

.mobile-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.mobile-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-main);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* ==============================================================================
   5. HERO-PÄÄOSIO
   ============================================================================== */
.hero-section {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  overflow: hidden;
  background-color: var(--bg-page);
}

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

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--hero-overlay-start) 40%, var(--hero-overlay-end) 100%);
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.badge-pulse {
  width: 8px;
  height: 8px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(180, 83, 42, 0.25);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-lead {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 540px;
}

.hero-pricing-pill {
  display: inline-flex;
  align-items: baseline;
  gap: 0.55rem;
  background-color: var(--bg-surface);
  border: 2px solid var(--color-primary);
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-sm);
}

.pill-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.pill-price {
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

.pill-tax {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-features {
  display: flex;
  gap: 1.75rem;
  flex-wrap: wrap;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.h-feat-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-muted);
}

.h-feat-icon {
  font-size: 1.1rem;
}

.hero-visual-card {
  position: relative;
}

.visual-card-inner {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-surface);
}

.card-featured-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.visual-card-inner:hover .card-featured-img {
  transform: scale(1.03);
}

.card-tag {
  position: absolute;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  background: rgba(17, 20, 26, 0.85);
  backdrop-filter: blur(10px);
  color: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.card-tag strong {
  display: block;
  font-size: 1rem;
  color: #ffffff;
}

.card-tag span {
  font-size: 0.85rem;
  color: #c0c6d1;
}

/* ==============================================================================
   6. NOPEA STATS-PALKKI
   ============================================================================== */
.stats-bar {
  background-color: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  padding: 1.75rem 0;
  box-shadow: var(--shadow-sm);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.stat-box {
  padding: 0.5rem;
}

.stat-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.2;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==============================================================================
   7. SEKTIOIDEN YLEISTYYLIT & NAPIT
   ============================================================================== */
.section {
  padding: 5.5rem 0;
}

.bg-contrast {
  background-color: var(--bg-contrast);
}

.section-head {
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 0.6rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.6rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.25s ease;
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-primary-text);
  box-shadow: var(--shadow-sm);
}

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

.btn-secondary {
  background-color: var(--bg-surface);
  color: var(--text-main);
  border-color: var(--border-subtle);
}

.btn-secondary:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border-color: var(--color-primary);
}

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

.full-width {
  width: 100%;
}

/* ==============================================================================
   8. KUVAGALLERIA & LIGHTBOX
   ============================================================================== */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 2.75rem;
  flex-wrap: wrap;
}

.filter-btn {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.filter-btn.active {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: var(--color-primary-text);
  box-shadow: var(--shadow-sm);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.gallery-item {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.gallery-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  aspect-ratio: 1/1;
  box-shadow: var(--shadow-sm);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

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

.gallery-info {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 20, 26, 0.92) 0%, rgba(17, 20, 26, 0.3) 60%, transparent 100%);
  color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-info {
  opacity: 1;
}

.item-cat {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #ffde59;
  margin-bottom: 0.25rem;
}

.item-title {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.btn-zoom {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  align-self: flex-start;
  backdrop-filter: blur(5px);
  transition: background 0.2s ease;
}

.btn-zoom:hover {
  background: #ffffff;
  color: #11141a;
}

.insta-cta-box {
  margin-top: 3.5rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
}

.insta-cta-text {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.insta-cta-text svg {
  color: var(--color-primary);
  flex-shrink: 0;
}

.insta-cta-text strong {
  display: block;
  font-size: 1.1rem;
  color: var(--text-main);
}

.insta-cta-text p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.insta-cta-text a {
  color: var(--color-primary);
  font-weight: 700;
  text-decoration: underline;
}

/* ==============================================================================
   9. HINNASTO & PALVELUT
   ============================================================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  align-items: stretch;
}

.price-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.price-card.popular {
  border: 2px solid var(--color-primary);
  box-shadow: var(--shadow-md);
}

.price-badge {
  position: absolute;
  top: -12px;
  right: 2rem;
  background-color: var(--color-primary);
  color: var(--color-primary-text);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.85rem;
  border-radius: var(--radius-full);
}

.price-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1.5rem;
  margin-bottom: 1.5rem;
}

.price-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.price-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  min-height: 40px;
}

.price-value {
  margin-top: 1.25rem;
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.price-value .currency {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
}

.price-value .amount {
  font-size: 3.2rem;
  font-weight: 800;
  line-height: 1;
  color: var(--color-primary);
}

.price-value .period {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  margin-left: 0.25rem;
}

.price-value .custom-rate {
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1.2;
}

.price-body {
  flex-grow: 1;
  margin-bottom: 2rem;
}

.price-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.price-perks {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.price-perks li {
  font-size: 0.9rem;
  color: var(--text-main);
  position: relative;
  padding-left: 1.5rem;
}

.price-perks li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-primary);
  font-weight: 800;
}

.price-footer {
  margin-top: auto;
}

/* ==============================================================================
   10. HINTALASKURI (MATKAKULUT)
   ============================================================================== */
.calc-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: center;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 3.5rem;
  box-shadow: var(--shadow-sm);
}

.calc-intro h2 {
  margin-bottom: 1.25rem;
}

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

.calc-loc-info {
  display: flex;
  gap: 1rem;
  background-color: var(--bg-contrast);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--color-primary);
}

.loc-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.calc-loc-info strong {
  display: block;
  color: var(--text-main);
  margin-bottom: 0.2rem;
}

.calc-loc-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.calc-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.calc-header {
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

.calc-header h3 {
  font-size: 1.3rem;
  color: var(--text-main);
}

.calc-header span {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
  text-transform: uppercase;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-group label {
  display: block;
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  background-color: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  transition: border-color 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
}

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

.stepper-btn {
  background-color: var(--bg-contrast);
  border: 1px solid var(--border-subtle);
  color: var(--text-main);
  width: 46px;
  height: 46px;
  border-radius: var(--radius-sm);
  font-size: 1.3rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.stepper-btn:hover {
  background-color: var(--border-subtle);
}

.field-hint {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 0.35rem;
}

.calc-breakdown {
  background-color: var(--bg-contrast);
  padding: 1.25rem;
  border-radius: var(--radius-sm);
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.breakdown-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.breakdown-row span:last-child {
  font-weight: 700;
  color: var(--text-main);
}

.breakdown-total {
  border-top: 1px solid var(--border-subtle);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.total-label {
  font-size: 1.05rem;
  color: var(--text-main);
}

.tax-note {
  display: block;
  font-size: 0.75rem;
  color: var(--text-light);
}

.total-sum {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-primary);
  line-height: 1;
}

/* ==============================================================================
   11. KUVAAJAN ESITTELY
   ============================================================================== */
.about-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 4rem;
  align-items: center;
}

.about-image-wrap {
  position: relative;
}

.about-img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  border: 3px solid var(--bg-surface);
}

.about-stamp {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: var(--shadow-md);
}

.stamp-icon {
  font-size: 1.5rem;
}

.about-stamp span {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-primary);
}

.about-text .lead-text {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  line-height: 1.5;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.about-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-subtle);
}

.a-point strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 0.35rem;
}

.a-point p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

/* ==============================================================================
   12. UKK-HAITARIPALKKI (FAQ)
   ============================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.75rem;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
}

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

.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

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

.faq-arrow {
  color: var(--color-primary);
  font-size: 1.2rem;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  padding-top: 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==============================================================================
   13. YHTEYDENOTTO- JA VARAUSLOMAKE
   ============================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.25fr;
  gap: 4rem;
}

.contact-lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.c-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2.25rem;
}

.c-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background-color: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 1.1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.c-card:not(.static):hover {
  border-color: var(--color-primary);
  transform: translateX(4px);
}

.c-icon {
  font-size: 1.4rem;
}

.c-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-light);
}

.c-val {
  font-size: 1.05rem;
  color: var(--text-main);
}

.c-instagram-box {
  background-color: var(--bg-contrast);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  text-align: center;
}

.c-instagram-box p {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text-muted);
}

.form-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.form-card h3 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  margin-bottom: 0.4rem;
  color: var(--text-main);
}

.form-card > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2rem;
}

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

.form-status {
  padding: 1rem 1.25rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.9rem;
}

.form-status.success {
  background-color: #e6f4ea;
  color: #137333;
  border: 1px solid #ceead6;
}

.form-status.error {
  background-color: #fce8e6;
  color: #c5221f;
  border: 1px solid #fad2cf;
}

.form-terms {
  display: block;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  margin-top: 1rem;
}

/* ==============================================================================
   14. ALAPALKKI (FOOTER)
   ============================================================================== */
.site-footer {
  background-color: #11141a;
  color: #e5e9f0;
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-container {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 3.5rem;
  margin-bottom: 4rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-icon {
  width: 36px;
  height: 36px;
  filter: invert(1) brightness(1.2);
}

.footer-logo-text {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-logo-text em {
  font-style: italic;
  color: #ffde59;
}

.footer-desc {
  font-size: 0.9rem;
  color: #9ba3b0;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 340px;
}

.footer-socials a {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffde59;
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-heading {
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: #9ba3b0;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: #ffffff;
}

.footer-contact-line {
  font-size: 0.9rem;
  color: #9ba3b0;
  margin-bottom: 0.5rem;
}

.footer-contact-line strong {
  color: #ffffff;
}

.footer-contact-line a {
  color: #ffde59;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 2rem;
  font-size: 0.8rem;
  color: #9ca3af;
}

.footer-bottom-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==============================================================================
   15. LIGHTBOX MODAL
   ============================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.lightbox.active {
  display: flex;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(10, 12, 16, 0.92);
  backdrop-filter: blur(8px);
}

.lightbox-content {
  position: relative;
  z-index: 2;
  max-width: 90vw;
  max-height: 90vh;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: #ffffff;
  color: #000000;
}

/* ==============================================================================
   16. RESPONSIIVISUUS (MEDIA QUERIES)
   ============================================================================== */
@media (max-width: 1024px) {
  .hero-container,
  .calc-panel,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin: 0 auto;
  }

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

@media (max-width: 768px) {
  .hero-title {
    font-size: 2.3rem;
  }

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

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

  .calc-panel {
    padding: 2rem 1.5rem;
  }

  .form-card {
    padding: 1.75rem;
  }

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

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

  .mobile-toggle {
    display: block;
  }

  .main-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background-color: var(--bg-surface);
    border-bottom: 1px solid var(--border-subtle);
    padding: 2rem;
    display: none;
    box-shadow: var(--shadow-lg);
  }

  .main-nav.active {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.25rem;
  }

  .header-phone {
    display: none;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
  }

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

/* Honeypot-kenttien moderni häivitys (näkymätön käyttäjille, botit lankeavat) */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  top: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

