/* pintaremonttiopas.fi – yhteinen base */
@import url('https://fonts.googleapis.com/css2?family=Fraunces:ital,wght@0,400;0,700;0,900;1,400;1,700&family=DM+Sans:wght@300;400;500;600&display=swap');

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

:root {
  --cream:  #F5F0E8;
  --ink:    #1A1208;
  --orange: #E8510A;
  --teal:   #006D6B;
  --yellow: #F2C12E;
  --blue:   #1B4FD8;
  --pink:   #D63F6E;
  --sand:   #E8DCCA;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  color: var(--ink);
  overflow-x: hidden;
  line-height: 1.7;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Buttons */
.btn-primary {
  background: var(--orange); color: white;
  padding: 15px 30px; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  display: inline-flex; align-items: center; gap: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 4px 4px 0px var(--ink);
}
.btn-primary:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0px var(--ink); }

.btn-secondary {
  background: transparent; color: var(--ink);
  padding: 15px 30px; border-radius: 100px;
  text-decoration: none; font-weight: 600; font-size: 0.95rem;
  border: 2px solid var(--ink);
  transition: background 0.2s, color 0.2s;
}
.btn-secondary:hover { background: var(--ink); color: var(--cream); }

/* Section helpers */
.section { padding: 90px 48px; }
.section-eyebrow {
  font-size: 0.73rem; font-weight: 600;
  letter-spacing: 2px; text-transform: uppercase;
  color: var(--orange); margin-bottom: 10px;
}
.section-title {
  font-family: 'Fraunces', serif;
  font-size: clamp(1.9rem, 3.2vw, 3rem);
  font-weight: 900; letter-spacing: -1.5px; line-height: 1.05;
}
.section-title em { font-style: italic; color: var(--orange); }
.section-header {
  display: flex; align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 48px; gap: 20px;
}
.see-all {
  text-decoration: none; color: var(--ink); font-weight: 600;
  font-size: 0.88rem; border-bottom: 2px solid var(--ink);
  padding-bottom: 2px; transition: color 0.2s, border-color 0.2s;
  white-space: nowrap; margin-bottom: 4px;
}
.see-all:hover { color: var(--orange); border-color: var(--orange); }

/* Marquee */
.marquee-wrap {
  background: var(--orange); padding: 13px 0; overflow: hidden;
  border-top: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
}
.marquee-track {
  display: flex; animation: marquee 22s linear infinite; white-space: nowrap;
}
.marquee-track span { font-family: 'Fraunces', serif; font-size: 0.95rem; font-weight: 700; color: white; padding: 0 24px; }
.marquee-track .dot { color: var(--yellow); padding: 0; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }
@keyframes fadeIn  { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 900px) { .section { padding: 64px 28px; } }
@media (max-width: 640px) {
  .section { padding: 52px 20px; }
  .section-header { flex-direction: column; align-items: flex-start; gap: 12px; }
}
