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

:root {
  --red:        #c0001d;
  --red-dark:   #8a0015;
  --red-light:  #e8002a;
  --white:      #ffffff;
  --off-white:  #f8f0f2;
  --dark:       #1a0006;
  --dark-2:     #2d0010;
  --muted:      #c49aa6;
  --border:     rgba(192, 0, 29, 0.25);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--dark);
  color: var(--white);
  font-size: 16px;
  line-height: 1.7;
}

/* ── NAVIGATION ──────────────────────────────────── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(26, 0, 6, 0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
  letter-spacing: 0.02em;
}

.nav-logo span { color: var(--red-light); }

.nav-links {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.4rem 0.75rem;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.03em;
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(192, 0, 29, 0.18);
}

.nav-cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.4rem 1.1rem !important;
}

.nav-cta:hover { background: var(--red-light) !important; }

.nav-phone-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.35rem 0.9rem 0.35rem 0.4rem;
  border-radius: 6px;
  letter-spacing: 0.03em;
  transition: background 0.2s;
  flex-shrink: 0;
}

.nav-phone-btn:hover { background: var(--red-light); }

.nav-phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 26px;
  background: #1a6b1a;
  color: var(--white);
  border-radius: 5px;
  flex-shrink: 0;
  animation: phone-ring 2.5s ease-in-out infinite;
}

/* ── HERO ────────────────────────────────────────── */
#tervetuloa {
  background: linear-gradient(160deg, var(--dark-2) 0%, var(--dark) 60%);
  padding: 7rem 1.5rem 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

#tervetuloa::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(192,0,29,0.18) 0%, transparent 70%);
  pointer-events: none;
}

.hero-badge {
  display: inline-block;
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 0.3rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.75rem;
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  max-width: 720px;
  margin: 0 auto 1.25rem;
}

.hero-title em {
  font-style: italic;
  color: var(--red-light);
}

.hero-lead {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto 2.5rem;
  font-weight: 300;
}

.hero-features {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-feature {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
}

.hero-feature::before {
  content: '✦';
  color: var(--red);
  font-size: 0.7rem;
}

.btn {
  display: inline-block;
  text-decoration: none;
  font-weight: 500;
  border-radius: 6px;
  transition: transform 0.15s, box-shadow 0.15s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: var(--red);
  color: var(--white);
  padding: 0.85rem 2.25rem;
  font-size: 1rem;
  box-shadow: 0 4px 20px rgba(192,0,29,0.4);
}

.btn-primary:hover {
  background: var(--red-light);
  box-shadow: 0 6px 28px rgba(192,0,29,0.55);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--muted);
  padding: 0.85rem 2.25rem;
  font-size: 1rem;
  margin-left: 1rem;
}

.btn-ghost:hover { border-color: var(--red); color: var(--white); }

/* ── SECTIONS ────────────────────────────────────── */
section { padding: 5rem 1.5rem; }

.container {
  max-width: 1100px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-intro {
  color: var(--muted);
  max-width: 640px;
  margin-bottom: 3rem;
  font-weight: 300;
  font-size: 1.05rem;
}

/* ── PALVELUSTA ──────────────────────────────────── */
#palvelusta {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: var(--red);
  background: rgba(192,0,29,0.06);
}

.feature-icon {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

.feature-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ── TWO-COLUMN blocks ───────────────────────────── */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 720px) {
  .two-col { grid-template-columns: 1fr; gap: 2.5rem; }
}

.prose p {
  color: var(--muted);
  margin-bottom: 1rem;
  font-weight: 300;
}

.prose p:last-child { margin-bottom: 0; }

/* check list */
.check-list {
  list-style: none;
  margin-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.check-list li::before {
  content: '✓';
  color: var(--red-light);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

/* highlight box */
.highlight-box {
  background: rgba(192,0,29,0.08);
  border: 1px solid var(--border);
  border-left: 3px solid var(--red);
  border-radius: 8px;
  padding: 1.75rem 2rem;
}

.highlight-box p {
  color: var(--off-white);
  font-size: 1.05rem;
  line-height: 1.75;
}

/* ── REVIEWS ─────────────────────────────────────── */
#kokemukset {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.review-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.5rem;
}

.review-card blockquote {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1rem;
  color: var(--off-white);
  margin-bottom: 1rem;
  line-height: 1.65;
}

.review-card blockquote::before { content: '\201C'; color: var(--red); font-size: 1.4em; line-height: 0; vertical-align: -0.4em; margin-right: 0.15em; }
.review-card blockquote::after  { content: '\201D'; color: var(--red); font-size: 1.4em; line-height: 0; vertical-align: -0.4em; margin-left: 0.15em; }

.review-meta {
  font-size: 0.8rem;
  color: var(--muted);
}

.review-meta strong { color: var(--off-white); }

.reviews-summary {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
  font-style: italic;
}

/* ── PRICING ─────────────────────────────────────── */
#hinnat { background: var(--dark); }

.pricing-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.pricing-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem;
  text-align: center;
}

.pricing-card .price {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  color: var(--red-light);
  font-weight: 700;
  margin: 0.5rem 0 0.25rem;
}

.pricing-card .price-label {
  font-size: 0.8rem;
  color: var(--muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pricing-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 1rem;
  line-height: 1.6;
}

.pricing-note {
  margin-top: 2rem;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

/* ── FAQ ─────────────────────────────────────────── */
#faq {
  background: var(--dark-2);
  border-top: 1px solid var(--border);
}

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

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

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

.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1.25rem 0;
  cursor: pointer;
  font-weight: 500;
  font-size: 1rem;
  color: var(--off-white);
  background: none;
  border: none;
  text-align: left;
  font-family: inherit;
  transition: color 0.2s;
  user-select: none;
}

.faq-q:hover { color: var(--white); }

.faq-q::after {
  content: '+';
  color: var(--red);
  font-size: 1.4rem;
  flex-shrink: 0;
  margin-left: 1rem;
  transition: transform 0.2s;
  font-weight: 300;
}

.faq-q[aria-expanded="true"] { color: var(--white); }

.faq-q[aria-expanded="true"]::after {
  transform: rotate(45deg);
}

.faq-answer {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.75;
  padding-bottom: 1.25rem;
}

.faq-answer ul {
  margin: 0.75rem 0 0.75rem 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.faq-answer li {
  display: flex;
  gap: 0.6rem;
}

.faq-answer li::before {
  content: '–';
  color: var(--red);
  flex-shrink: 0;
}

/* ── FOOTER ──────────────────────────────────────── */
footer {
  background: var(--dark);
  border-top: 1px solid var(--border);
  padding: 2.5rem 1.5rem;
  text-align: center;
}

footer p {
  color: var(--muted);
  font-size: 0.8rem;
}

footer a { color: var(--muted); text-decoration: none; }
footer a:hover { color: var(--red-light); }

/* ── DIVIDER ─────────────────────────────────────── */
.divider {
  width: 48px;
  height: 2px;
  background: var(--red);
  margin: 1.25rem 0 2rem;
}

/* ── IMAGES ──────────────────────────────────────── */
.hero-image {
  margin-top: 3.5rem;
  border-radius: 16px;
  overflow: hidden;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid var(--border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.anon-image {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.anon-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

@media (max-width: 720px) {
  .hero-image img,
  .anon-image img {
    height: 260px;
  }
}

/* ── HAMBURGER ──────────────────────────────────── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 6px;
  background: none;
  border: 1px solid var(--border);
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: transform 0.25s, opacity 0.25s, background 0.2s;
  transform-origin: center;
}

.nav-hamburger:hover span { background: var(--white); }

.nav-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.is-open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE NAV ──────────────────────────────── */
@media (max-width: 660px) {
  .nav-hamburger { display: flex; }
  .nav-phone-btn { display: none; }

  .nav-links {
    display: none;
    flex-direction: column;
    gap: 0;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(26, 0, 6, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 0.5rem 0 1rem;
  }

  .nav-links.nav-open { display: flex; }

  .nav-links li { width: 100%; }

  .nav-links a {
    display: block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    border-radius: 0;
  }

  .nav-cta {
    margin: 0.5rem 1.5rem 0 !important;
    border-radius: 6px !important;
    text-align: center;
  }
}

/* ── MOBILE CALL BAR ─────────────────────────────── */
.mobile-callbar {
  display: none;
}

@keyframes phone-ring {
  0%   { transform: rotate(0deg); }
  10%  { transform: rotate(15deg); }
  20%  { transform: rotate(-12deg); }
  30%  { transform: rotate(10deg); }
  40%  { transform: rotate(-8deg); }
  50%  { transform: rotate(6deg); }
  60%  { transform: rotate(0deg); }
  100% { transform: rotate(0deg); }
}

@media (max-width: 660px) {
  .mobile-callbar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: var(--red);
    color: var(--white);
    padding: 0.75rem 1.5rem;
    box-shadow: 0 -4px 20px rgba(192, 0, 29, 0.5);
    cursor: pointer;
    text-decoration: none;
  }

  .mobile-callbar-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 8px;
    background: #1a6b1a;
    animation: phone-ring 2s ease-in-out infinite;
    transform-origin: center;
  }

  .mobile-callbar-text {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    color: var(--white);
  }

  /* push footer up so content isn't hidden behind the bar */
  footer {
    padding-bottom: 5rem;
  }
}
