/* ─── RESET & BASE ─── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f0ebe2;
  --cream-dark: #e8e0d4;
  --sand: #d4c9b5;
  --sand-light: #e2d9c8;
  --green: #2e3d2f;
  --green-mid: #3d5240;
  --pink: #c9a0a0;
  --pink-bg: #e8c4c4;
  --text: #2a2218;
  --text-muted: #6b5f52;
  --white: #ffffff;
  --radius: 16px;
  --floral: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200' viewBox='0 0 200 200'%3E%3Cg fill='none' stroke='%232e3d2f' stroke-width='1.4' stroke-linecap='round' opacity='0.07'%3E%3Cg transform='translate(50 50)'%3E%3Cpath d='M0 0 C-6 -14 -6 -26 0 -36 C6 -26 6 -14 0 0 Z'/%3E%3Cpath d='M0 0 C12 -8 24 -8 33 -2 C23 4 12 4 0 0 Z'/%3E%3Cpath d='M0 0 C-12 -8 -24 -8 -33 -2 C-23 4 -12 4 0 0 Z'/%3E%3Cpath d='M0 0 C6 12 6 24 0 33 C-6 24 -6 12 0 0 Z'/%3E%3Ccircle cx='0' cy='0' r='3.5' fill='%23c9a0a0' stroke='none'/%3E%3C/g%3E%3Cg transform='translate(150 150) rotate(45)'%3E%3Cpath d='M0 0 C-5 -12 -5 -22 0 -30 C5 -22 5 -12 0 0 Z'/%3E%3Cpath d='M0 0 C10 -7 20 -7 28 -2 C19 3 10 3 0 0 Z'/%3E%3Cpath d='M0 0 C-10 -7 -20 -7 -28 -2 C-19 3 -10 3 0 0 Z'/%3E%3Ccircle cx='0' cy='0' r='3' fill='%23c9a0a0' stroke='none'/%3E%3C/g%3E%3Cpath d='M120 40 q14 10 10 30 q-3 14 -16 22' /%3E%3Cpath d='M40 130 q-12 12 -8 30' /%3E%3C/g%3E%3C/svg%3E");
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--cream);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
}

body.wa-modal-open {
  position: fixed;
  left: 0;
  right: 0;
  width: 100%;
  overflow: hidden;
}


h1, h2, h3 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 500;
  line-height: 1.15;
}

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

.container {
  max-width: 1520px;
  margin: 0 auto;
  padding: 0 clamp(28px, 5vw, 72px);
}

/* ─── BUTTONS ─── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s, transform 0.15s;
}
.btn:hover { opacity: 0.85; transform: translateY(-1px); }

.btn-dark {
  background: var(--green);
  color: var(--white);
  border: none;
}

.btn-outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--text);
}

.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border: none;
  padding: 14px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  margin-top: 20px;
  transition: opacity 0.2s;
}
.btn-whatsapp:hover { opacity: 0.88; }

/* ─── LABELS ─── */
.label {
  display: inline-block;
  background: var(--pink-bg);
  color: #7a4a4a;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 12px;
}
.section-label.light { color: rgba(255,255,255,0.6); }

.section-sub {
  color: var(--text-muted);
  font-size: 15px;
  margin-top: 8px;
  margin-bottom: 40px;
}

/* ─── NAV ─── */
.nav-wrapper {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 16px clamp(24px, 4.5vw, 56px);
  display: flex;
  justify-content: center;
}

.nav {
  background: rgba(46, 61, 47, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 50px;
  padding: 8px clamp(28px, 3.5vw, 48px);
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  max-width: 1520px;
  width: 100%;
  justify-content: space-between;
  box-shadow: 0 4px 28px rgba(0,0,0,0.16);
  overflow: visible;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.nav-logo-mark {
  height: 46px;
  width: auto;
  display: block;
  margin-right: 6px;
  transition: opacity 0.2s;
  opacity: 0.95;
}
.logo:hover .nav-logo-mark { opacity: 1; }

.nav-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.95);
  transition: opacity 0.2s;
}
.logo:hover .nav-wordmark { opacity: 0.85; }
.nav-wordmark .o { color: var(--pink-bg); }


.nav-links {
  display: flex;
  list-style: none;
  gap: clamp(20px, 2.5vw, 36px);
}
.nav-links a {
  font-size: 15px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }

.nav-cta-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-soita {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: opacity 0.2s, border-color 0.2s;
}
.nav-soita:hover { opacity: 0.85; border-color: rgba(255,255,255,0.5); }

.nav-cta {
  background: #d4a0a0;
  color: var(--white);
  padding: 12px 26px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Inter', sans-serif;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.nav-cta:hover { opacity: 0.85; }

/* Hampurilaispainike (vain mobiilissa) */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  flex-shrink: 0;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  margin: 0 auto;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
.hero {
  background: var(--cream);
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: clamp(108px, 12vh, 132px) clamp(28px, 5vw, 72px) clamp(48px, 6vh, 72px);
  box-sizing: border-box;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
  gap: clamp(40px, 5vw, 88px);
  align-items: center;
  width: 100%;
  max-width: 1520px;
  margin: 0 auto;
  min-height: auto;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  gap: clamp(26px, 3vh, 42px);
  padding: clamp(12px, 2vh, 24px) 0;
  max-width: 560px;
}

.hero-media {
  position: relative;
  width: 100%;
  height: min(84vh, 880px);
  min-height: 520px;
  align-self: center;
  border-radius: 36px;
  overflow: hidden;
  background: linear-gradient(145deg, #e8d4d0 0%, #c9a0a0 45%, #9a8070 100%);
  box-shadow:
    0 32px 80px rgba(42, 34, 24, 0.14),
    0 12px 32px rgba(42, 34, 24, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  display: block;
  filter: contrast(1.04) saturate(1.06);
}

/* Logo-overlay kuvan päällä – vain mobiilissa */
.hero-media-logo { display: none; }

.hero-logo-wrap {
  position: relative;
  display: block;
  width: 100%;
  max-width: min(490px, 100%); /* 👈 HERO-LOGON KOKO (desktop) – muuta tätä */
  margin-bottom: clamp(4px, 1vh, 12px);
  animation: heroLogoIn 1.1s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-logo-wrap::before {
  content: "";
  position: absolute;
  inset: -8% -3%;
  background: radial-gradient(ellipse at center,
    rgba(255,248,240,0.55) 0%,
    rgba(255,248,240,0.18) 50%,
    transparent 72%);
  filter: blur(22px);
  z-index: 0;
  pointer-events: none;
}

.hero-logo {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
}

@keyframes heroLogoIn {
  from { opacity: 0; transform: scale(0.92) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}

.hero-tagline {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(38px, 4.6vw, 62px);
  font-weight: 500;
  color: var(--text);
  font-style: italic;
  letter-spacing: 0.015em;
  line-height: 1.18;
  max-width: 16ch;
  margin-top: clamp(4px, 0.5vh, 8px);
}

.hero-subtitle {
  font-size: clamp(13px, 1.2vw, 16px);
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: clamp(-8px, -0.5vh, 0);
  opacity: 0.92;
}

.hero-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-start;
  margin-top: clamp(12px, 2vh, 24px);
}

.hero-btns .btn {
  padding: 19px 42px;
  font-size: 17px;
  letter-spacing: 0.02em;
}

.btn-light {
  background: var(--white);
  color: var(--text);
  border: none;
}

.btn-outline-light {
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border: 1.5px solid rgba(232,196,196,0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* ─── HOIDOT ─── */
.hoidot {
  background: var(--floral), var(--cream);
  background-size: 340px 340px, auto;
  padding: 100px 24px;
}

.hoidot h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 8px;
}

.hoito-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 8px;
}

.hoito-card {
  background: var(--green);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 16px 40px rgba(42, 34, 24, 0.14),
    0 4px 12px rgba(42, 34, 24, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hoito-card-img {
  height: 150px;
  background-size: cover;
  background-position: center;
  background-color: var(--green-mid);
}

.hoito-card-body {
  padding: 24px 26px 28px;
}
.hoito-card:hover {
  transform: translateY(-6px);
  box-shadow:
    0 26px 56px rgba(42, 34, 24, 0.20),
    0 8px 20px rgba(42, 34, 24, 0.10);
}

.hoito-card h3 {
  font-size: 21px;
  margin-bottom: 10px;
  color: var(--white);
}

.hoito-card p {
  color: rgba(255,255,255,0.74);
  font-size: 14px;
  line-height: 1.65;
}

/* ─── PALVELUT ─── */
.palvelut {
  background: var(--floral), var(--cream-dark);
  background-size: 340px 340px, auto;
  padding: 100px 24px;
}

.palvelut h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 8px;
}

.price-card {
  background: var(--green);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 36px 40px;
  margin-bottom: 20px;
}

.price-card h3 {
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--white);
}

.price-desc {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  margin-bottom: 28px;
}

.price-rows { display: flex; flex-direction: column; gap: 0; }

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(255,255,255,0.14);
  font-size: 15px;
  color: rgba(255,255,255,0.92);
}
.price-row:first-child { border-top: none; }

/* ─── ARVOSTELUT ─── */
.arvostelut {
  background: var(--floral), var(--cream);
  background-size: 340px 340px, auto;
  padding: 100px 24px;
}
.arvostelut h2 { font-size: clamp(36px, 4vw, 52px); margin-bottom: 8px; }

.arvostelu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 8px;
}

.arvostelu-card {
  background: var(--green);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 30px 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  text-align: left;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.arvostelu-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 36px rgba(0,0,0,0.22);
}

.arvostelu-stars {
  color: #e0a96d;
  font-size: 18px;
  letter-spacing: 3px;
}

.arvostelu-text {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
  color: rgba(255,255,255,0.92);
}

.arvostelu-name {
  margin-top: auto;
  font-weight: 500;
  color: var(--white);
}

.arvostelu-meta {
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  margin-top: -8px;
}

/* ─── ANNE ─── */
.anne-section {
  background: var(--floral), var(--cream);
  background-size: 340px 340px, auto;
  padding: 100px 24px;
}

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

.anne-circle {
  width: min(360px, 100%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--sand-light);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
}

.anne-circle img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.anne-content h2 {
  font-size: clamp(34px, 3.5vw, 48px);
  margin-bottom: 20px;
}

.anne-content p {
  color: var(--text-muted);
  font-size: 15px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.anne-welcome {
  color: var(--text) !important;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px !important;
  font-weight: 500;
  margin-top: 8px;
}

.anne-note {
  font-size: 14px !important;
  padding: 14px 18px;
  background: var(--cream-dark);
  border-radius: var(--radius);
  border-left: 3px solid var(--pink);
  margin-top: 4px;
}

.anne-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.anne-tags span {
  border: 1px solid var(--sand);
  border-radius: 50px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-muted);
}

/* ─── TUNNELMABANNERI ─── */
.tunnelma {
  position: relative;
  height: 56vh;
  min-height: 360px;
  overflow: hidden;
}

.tunnelma-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.08) brightness(0.9);
}

.tunnelma-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.35), rgba(0,0,0,0.45));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.tunnelma-quote {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-size: clamp(24px, 4vw, 44px);
  color: var(--white);
  text-align: center;
  max-width: 800px;
  line-height: 1.3;
  text-shadow: 0 2px 20px rgba(0,0,0,0.5);
}

/* ─── FAQ ─── */
.faq {
  background: var(--floral), var(--cream);
  background-size: 340px 340px, auto;
  padding: 100px 24px;
}

.faq h2 {
  font-size: clamp(36px, 4vw, 52px);
  margin-bottom: 8px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 720px;
}

.faq-item {
  background: rgba(255,255,255,0.6);
  border: 1px solid var(--sand);
  border-radius: var(--radius);
  padding: 4px 24px;
  transition: background 0.2s;
}
.faq-item[open] { background: var(--white); }

.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-family: 'Cormorant Garamond', serif;
  font-size: 21px;
  font-weight: 500;
  color: var(--green);
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-size: 24px;
  color: var(--pink);
  transition: transform 0.25s ease;
  line-height: 1;
}
.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  padding: 0 0 20px;
  margin: 0;
}

/* ─── YHTEYSTIEDOT ─── */
.yhteystiedot {
  background: var(--green);
  padding: 100px 24px;
  color: var(--white);
}

.yhteystiedot h2 {
  font-size: clamp(34px, 3.8vw, 50px);
  color: var(--white);
  margin-bottom: 48px;
}

.contact-soita-rivi {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.contact-soita-nappi {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #d4a0a0;
  color: var(--white);
  border-radius: 50px;
  font-size: 17px;
  font-weight: 500;
  transition: opacity 0.2s, transform 0.15s;
}
.contact-soita-nappi:hover { opacity: 0.88; transform: translateY(-1px); }

.contact-soita-tai {
  font-size: 14px;
  color: rgba(255,255,255,0.5);
}

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

.contact-info { display: flex; flex-direction: column; gap: 32px; }

.contact-item { display: flex; flex-direction: column; gap: 4px; }

.contact-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  margin-bottom: 2px;
}

.contact-info a, .contact-info span {
  font-size: 16px;
  color: rgba(255,255,255,0.85);
  border-bottom: 1px solid rgba(255,255,255,0.15);
  padding-bottom: 12px;
}

.contact-booking {
  background: rgba(255,255,255,0.08);
  border-radius: var(--radius);
  padding: 32px;
}

.contact-booking h3 {
  font-size: 24px;
  color: var(--pink-bg);
  margin-bottom: 12px;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 6px;
}
.form-row { display: flex; gap: 12px; }
.form-row input { flex: 1; min-width: 0; }

.contact-select {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='white' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  transition: border-color 0.2s, background 0.2s;
}
.contact-select:focus {
  outline: none;
  border-color: var(--pink-bg);
  background-color: rgba(255,255,255,0.13);
}
.contact-select option {
  background: var(--green);
  color: var(--white);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  font-family: inherit;
  font-size: 15px;
  transition: border-color 0.2s, background 0.2s;
}
.contact-form input::placeholder,
.contact-form textarea::placeholder { color: rgba(255,255,255,0.5); }
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--pink-bg);
  background: rgba(255,255,255,0.13);
}
.contact-form textarea { resize: vertical; }

.btn-submit {
  align-self: flex-start;
  padding: 12px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.form-note { font-size: 13px !important; color: rgba(255,255,255,0.85) !important; }

.contact-or {
  font-size: 13px !important;
  color: rgba(255,255,255,0.55) !important;
  margin: 6px 0 14px;
}

/* ─── FOOTER ─── */
.footer {
  background: var(--green);
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 32px 24px 40px;
  color: rgba(255,255,255,0.5);
}

.footer-logo {
  display: inline-block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  color: rgba(255,255,255,0.9);
  margin-bottom: 14px;
}
.footer-logo .o { color: var(--pink-bg); }

.footer-sub {
  font-size: 13px;
}
.footer-sub a { color: rgba(255,255,255,0.4); text-decoration: underline; }

/* ─── WHATSAPP FLOAT ─── */
.whatsapp-float-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-float-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.55);
}

/* WhatsApp Modal */
.whatsapp-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 300;
}

.whatsapp-modal.open {
  display: flex;
  align-items: center;
  justify-content: center;
}

.whatsapp-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.whatsapp-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  max-width: 420px;
  width: 90%;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  animation: modalSlideUp 0.3s ease;
  font-family: 'Inter', sans-serif;
  color: var(--text);
}

.whatsapp-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 50%;
  font-size: 24px;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}
.whatsapp-modal-close:hover {
  background: rgba(0, 0, 0, 0.14);
}

.whatsapp-modal-content h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 24px;
}

.wa-form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 16px;
}

.wa-form-group label {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.wa-form-group input,
.wa-form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  transition: border-color 0.2s;
}

.wa-form-group input:focus,
.wa-form-group textarea:focus {
  outline: none;
  border-color: var(--pink);
}

.wa-form-group select {
  padding: 12px 14px;
  border: 1.5px solid var(--sand);
  border-radius: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%232a2218' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.wa-form-group select:focus {
  outline: none;
  border-color: var(--pink);
}

.wa-form-group textarea {
  resize: vertical;
}

.wa-yhteenveto {
  background: var(--cream-dark);
  border-radius: 12px;
  padding: 16px;
  margin-top: 18px;
  border: 1px solid var(--sand-light);
}

.wa-yhteenveto-rivi {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
}

.wa-yhteenveto-rivi span:first-child {
  font-weight: 500;
}

.wa-yhteenveto-rivi span:last-child {
  color: var(--text);
}

.wa-yhteenveto-total {
  border-top: 1.5px solid var(--sand);
  padding-top: 10px;
  margin-top: 10px;
  font-size: 16px;
  font-weight: 600;
}

.wa-yhteenveto-total span {
  color: var(--text) !important;
}

.wa-lahetys-valinta {
  margin-top: 20px;
}

.wa-lahetys-otsikko {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.wa-lahetys-napit {
  display: flex;
  gap: 10px;
}

.wa-lahetys-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 16px;
  border-radius: 12px;
  border: none;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.15s, opacity 0.15s;
}
.wa-lahetys-btn:hover { opacity: 0.88; transform: translateY(-1px); }

.wa-lahetys-whatsapp {
  background: #25d366;
  color: #fff;
}

.wa-lahetys-sposti {
  background: var(--green);
  color: #fff;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .varaa-float { bottom: 18px; right: 18px; }
  .varaa-btn { padding: 12px 18px; font-size: 14px; }
  .whatsapp-modal {
    z-index: 900;
    overflow: hidden;
  }
  .whatsapp-modal.open {
    align-items: flex-start;
    justify-content: center;
    padding: calc(env(safe-area-inset-top) + 92px) 16px max(16px, env(safe-area-inset-bottom));
  }
  .whatsapp-modal-content {
    width: 100%;
    max-height: calc(100dvh - env(safe-area-inset-top) - env(safe-area-inset-bottom) - 108px);
    margin: 0;
    padding: 24px 18px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .wa-lahetys-napit { flex-direction: column; }
}

/* WhatsApp-alapalkki (vain mobiilissa) */
.whatsapp-bar {
  display: none;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: calc(16px + env(safe-area-inset-bottom));
  z-index: 200;
  align-items: center;
  gap: 4px;
  padding: 4px 4px 4px 6px;
  border-radius: 50px;
  background: #25d366;
  box-shadow: 0 6px 22px rgba(37,211,102,0.45);
}
.whatsapp-bar-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
}
.whatsapp-bar-close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}
.whatsapp-bar.closed { display: none !important; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ─── RESPONSIVE ─── */
@media (max-width: 768px) {
  .nav-wrapper {
    position: fixed;
    top: max(8px, env(safe-area-inset-top));
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 12px 16px;
  }
  .nav { gap: 8px; padding: 8px 10px 8px 16px; }
  .nav-toggle { display: flex; }
  .nav-soita { display: none; }
  .nav-cta { padding: 10px 16px; font-size: 14px; }

  .nav-links {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 4px;
    background: rgba(46, 61, 47, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 22px;
    padding: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,0.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  }
  .nav-links.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
  }
  .nav-links a:hover { background: rgba(255,255,255,0.08); }

  .nav { max-width: 100%; }

  .hero {
    min-height: auto;
    padding: calc(env(safe-area-inset-top) + 92px) 16px 36px;
    align-items: stretch;
  }
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 22px;
    min-height: auto;
  }

  /* Kuva heti navbarin alle, logo overlayna kuvan alaosassa */
  .hero-media {
    order: 1;
    height: 52vh;
    min-height: 320px;
    max-height: 460px;
    border-radius: 24px;
    box-shadow:
      0 18px 44px rgba(42, 34, 24, 0.14),
      0 6px 18px rgba(42, 34, 24, 0.06);
  }

  .hero-media-logo {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 104px 22px 22px;
    background: linear-gradient(to top,
      rgba(240, 235, 226, 0.98) 0%,
      rgba(240, 235, 226, 0.95) 48%,
      rgba(240, 235, 226, 0.7) 74%,
      rgba(240, 235, 226, 0) 100%);
    backdrop-filter: blur(1.5px);
    -webkit-backdrop-filter: blur(1.5px);
    pointer-events: none;
  }
  .hero-mobile-logo {
    width: min(220px, 60vw); /* 👈 HERO-LOGON KOKO (mobiili, kuvan päällä) – muuta tätä */
    height: auto;
    display: block;
  }

  /* Teksti + napit kuvan alle, tiiviisti */
  .hero-text {
    align-items: center;
    text-align: center;
    order: 2;
    max-width: none;
    gap: 12px;
    padding: 0;
  }
  .hero-logo-wrap { display: none; }      /* iso logo on nyt kuvan päällä */

  .hero-tagline {
    max-width: none;
    font-size: clamp(24px, 6.5vw, 32px);
    margin-top: 4px;
  }
  .hero-subtitle { margin-top: 0; }

  .hero-btns {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    max-width: 320px;
    gap: 10px;
    margin-top: 8px;
  }
  .hero-btns .btn {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
  }

  .anne-section { padding: 56px 20px; }
  .anne-grid { grid-template-columns: 1fr; gap: 32px; }
  .anne-content { order: 1; }
  .anne-image { order: 2; }
  .anne-circle { width: 240px; margin: 0 auto; }

  .hoito-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .hoito-card-img { height: 100px; }
  .hoito-card-body { padding: 16px 16px 18px; }
  .hoito-card h3 {
    font-size: 16px;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
  .hoido-grid { grid-template-columns: 1fr; }

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

  .tunnelma { height: 44vh; min-height: 300px; }

  .whatsapp-bar { display: none; }
  .whatsapp-float { display: flex; bottom: 18px; right: 18px; }
  .whatsapp-btn { width: 50px; height: 50px; }
  .whatsapp-btn svg { width: 24px; height: 24px; }
  .whatsapp-bubble { display: none; }
}

/* Scroll-animaatiot */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Valinnainen: eri suunnat */
.reveal-left {
  transform: translateX(-40px);
}
.reveal-left.visible {
  transform: translateX(0);
}

/* Jos käyttäjä ei halua animaatioita */
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
