/* ═══════════════════════════════════════════════
   Frachtbud Teema – main.css
   ═══════════════════════════════════════════════ */

:root {
  --cyan: #00BFFF;
  --cyan-dark: #0099cc;
  --dark: #111113;
  --dark-2: #1a1a1e;
  --dark-3: #222228;
  --gray: #4F4F4F;
  --nav-h: 100px;
  --nav-h-sticky: 70px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Alegreya Sans', sans-serif;
  background: var(--dark);
  color: #fff;
  font-size: 19px;
  line-height: 1.1875;
  overflow-x: hidden;
}

/* WordPress admin-palkki kompensaatio */
.admin-bar #nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar #nav { top: 46px; }
}

/* ── NOISE TEXTURE ── */
body::before {
  content: '';
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* ══════════════════════════════════════
   NAV
   ══════════════════════════════════════ */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 2rem;
  height: var(--nav-h);
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(0,191,255,0.15);
  transition: height 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

#nav.is-scrolled {
  height: var(--nav-h-sticky);
  background: rgba(0,0,0,0.82);
  border-bottom-color: rgba(0,191,255,0.28);
}

.nav-logo {
  font-family: 'Alegreya Sans SC', sans-serif;
  font-weight: 300;
  font-size: 1.6rem;
  letter-spacing: 0.08em;
  color: #fff;
  text-decoration: none;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}
.nav-logo-img {
  display: block;
  height: 40px;
  width: auto;
}

.nav-right {
  display: flex;
  align-items: center;
  margin-left: auto;
}

.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: 50px;
  height: 38px;
  padding: 0 0.9rem;
  border-radius: 2px;
  border: 1px solid rgba(0,191,255,0.45);
  background: rgba(0,191,255,0.24);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.nav-cta-btn:hover {
  background: rgba(0,191,255,0.2);
  border-color: rgba(0,191,255,0.75);
  transform: translateY(-1px);
}

.nav-cta-btn:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.nav-brand {
  display: flex;
  align-items: center;
  min-width: 0;
}

.nav-brand .custom-logo-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
}

.nav-brand .custom-logo {
  display: block;
  height: 54px;
  width: auto;
  max-width: min(240px, 42vw);
  object-fit: contain;
}

@media (max-width: 768px) {
  .nav-right {
    margin-left: 0;
  }

  .nav-brand .custom-logo {
    height: 44px;
    max-width: min(190px, 50vw);
  }

  .nav-cta-btn {
    display: none;
  }
}

/* ── Desktop-navigaatio ── */
.nav-desktop { display: none; }

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 2.2rem;
  align-items: center;
  margin: 0; padding: 0;
}
.nav-desktop ul li a {
  font-size: 1rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  padding-bottom: 3px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.nav-desktop ul li a:hover,
.nav-desktop ul li.current-menu-item > a,
.nav-desktop ul li.current_page_item > a {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
}
.nav-desktop ul li.current-menu-item > a:focus-visible,
.nav-desktop ul li a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

@media (min-width: 769px) {
  .nav-desktop { display: flex; align-items: center; }
  #menu-btn    { display: none !important; }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 74px;
    --nav-h-sticky: 64px;
  }
}

/* ── Hamburger ── */
#menu-btn {
  width: 48px; height: 48px;
  background: var(--cyan);
  border: none; cursor: pointer;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px; border-radius: 2px;
  transition: background 0.2s ease, transform 0.15s ease;
}
#menu-btn:hover  { background: var(--cyan-dark); transform: scale(1.05); }
#menu-btn:active { transform: scale(0.97); }
#menu-btn:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
#menu-btn span {
  display: block; width: 22px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
#menu-btn.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
#menu-btn.open span:nth-child(2) { opacity: 0; }
#menu-btn.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Overlay-valikko ── */
#overlay-menu {
  position: fixed; inset: 0; z-index: 99;
  background: rgba(0,0,0,0.96);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s ease;
}
#overlay-menu.open { opacity: 1; pointer-events: all; }
#overlay-menu nav a {
  display: block; padding: 0.7rem 0;
  font-size: 1.4rem; font-weight: 300;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: rgba(255,255,255,0.7); text-decoration: none;
  text-align: center;
  transition: color 0.2s ease, transform 0.2s ease;
}
#overlay-menu nav a:hover { color: var(--cyan); transform: translateX(6px); }
#overlay-menu nav a:focus-visible { outline: 2px solid var(--cyan); outline-offset: 4px; }
#overlay-menu .social-row {
  display: flex; gap: 1.2rem; margin-top: 2.5rem;
}
#overlay-menu .social-row a {
  font-size: 1.2rem; padding: 0;
  color: rgba(255,255,255,0.4);
}
#overlay-menu .social-row a:hover { color: var(--cyan); transform: none; }

/* ══════════════════════════════════════
   PAGE HERO (sisäsivut)
   ══════════════════════════════════════ */
.page-hero {
  position: relative;
  height: 44vh; min-height: 280px;
  background: var(--dark-2);
  display: flex; align-items: flex-end;
  padding-bottom: 4rem;
  overflow: hidden;
  padding-top: var(--nav-h);
}
.page-hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 20% 60%, rgba(0,191,255,0.09) 0%, transparent 60%),
    linear-gradient(to bottom, var(--dark) 0%, var(--dark-2) 100%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(0,191,255,0.25), transparent);
}
.page-hero-content {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto; width: 100%;
  padding: 0 2rem;
}
.page-hero h1 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.1;
}
.page-hero h1 span { color: var(--cyan); }

.page-hero.page-hero-image {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
}

.page-hero.page-hero-image::before {
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.6) 100%),
    radial-gradient(ellipse at 20% 60%, rgba(0,191,255,0.1) 0%, transparent 60%);
}

.page-hero-caption {
  margin-top: 0.9rem;
  max-width: 680px;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(255,255,255,0.78);
}

/* ══════════════════════════════════════
   SUUNNITTELU – HERO SLIDER + OSIOT
   ══════════════════════════════════════ */
#suunnittelu-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
}

.suunnittelu-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.suunnittelu-slide.active {
  opacity: 1;
}

.suunnittelu-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.62) 100%),
    radial-gradient(ellipse at 24% 65%, rgba(0,191,255,0.12) 0%, transparent 65%);
}

.suunnittelu-slide-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  width: min(92%, 980px);
  text-align: center;
}

.suunnittelu-slide-content h1 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(2.1rem, 5.3vw, 3.8rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.08;
}

.suunnittelu-slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.suunnittelu-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.suunnittelu-dot.active {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: scale(1.08);
}

.suunnittelu-section {
  padding: 5.8rem 2rem;
  background: var(--dark-2);
}

.suunnittelu-section:nth-of-type(even) {
  background: var(--dark-3);
}

.suunnittelu-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.suunnittelu-section--reverse .suunnittelu-section-content {
  order: 2;
}

.suunnittelu-section--reverse .suunnittelu-section-img-wrap {
  order: 1;
}

.suunnittelu-section-content h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.suunnittelu-rich p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.68);
  margin-bottom: 1rem;
}

.suunnittelu-rich h3 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #fff;
  margin: 1.3rem 0 0.7rem;
}

.suunnittelu-rich ul {
  margin: 0.35rem 0 1rem 1.2rem;
}

.suunnittelu-rich li {
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.suunnittelu-rich a,
.constructions-rich a,
.steel-extra-rich a {
  color: #9de8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.suunnittelu-rich a:hover,
.constructions-rich a:hover,
.steel-extra-rich a:hover {
  color: #ffffff;
  text-decoration-color: #9de8ff;
}

.suunnittelu-rich a:focus-visible,
.constructions-rich a:focus-visible,
.steel-extra-rich a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.suunnittelu-section-img-wrap {
  position: relative;
}

.suunnittelu-section-img-wrap img {
  width: 100%;
  border-radius: 3px;
  box-shadow: -12px 12px 40px rgba(0,0,0,0.5);
  filter: brightness(0.82) saturate(0.74);
}

.suunnittelu-section-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 3px;
  z-index: -1;
}

@media (max-width: 900px) {
  #suunnittelu-hero {
    height: 66vh;
    min-height: 420px;
  }

  .suunnittelu-section-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .suunnittelu-section--reverse .suunnittelu-section-content,
  .suunnittelu-section--reverse .suunnittelu-section-img-wrap {
    order: initial;
  }
}

/* ══════════════════════════════════════
   SANDWICH – HERO SLIDER + OSIOT
   ══════════════════════════════════════ */
#sandwich-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 520px;
  overflow: hidden;
}

.sandwich-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.sandwich-slide.active {
  opacity: 1;
}

.sandwich-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0.62) 100%),
    radial-gradient(ellipse at 24% 65%, rgba(0,191,255,0.12) 0%, transparent 65%);
}

.sandwich-slide-content {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18%;
  transform: translateX(-50%);
  width: min(92%, 980px);
  text-align: center;
}

.sandwich-slide-content h1 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(2.1rem, 5.3vw, 3.8rem);
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1.08;
}

.sandwich-slider-dots {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 2rem;
  transform: translateX(-50%);
  display: flex;
  gap: 0.6rem;
}

.sandwich-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.45);
  background: rgba(255,255,255,0.28);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.sandwich-dot.active {
  background: var(--cyan);
  border-color: var(--cyan);
  transform: scale(1.08);
}

.sandwich-section {
  padding: 5.8rem 2rem;
  background: var(--dark-2);
}

.sandwich-section:nth-of-type(even) {
  background: var(--dark-3);
}

.sandwich-section-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.sandwich-section--reverse .sandwich-section-content {
  order: 2;
}

.sandwich-section--reverse .sandwich-section-img-wrap {
  order: 1;
}

.sandwich-section-content h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.sandwich-rich p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.68);
  margin-bottom: 1rem;
}

.sandwich-rich h3 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #fff;
  margin: 1.3rem 0 0.7rem;
}

.sandwich-rich ul {
  margin: 0.35rem 0 1rem 1.2rem;
}

.sandwich-rich li {
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.sandwich-rich a {
  color: #9de8ff;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.sandwich-rich a:hover {
  color: #ffffff;
  text-decoration-color: #9de8ff;
}

.sandwich-rich a:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 2px;
}

.sandwich-section-img-wrap {
  position: relative;
}

.sandwich-section-img-wrap img {
  width: 100%;
  border-radius: 3px;
  box-shadow: -12px 12px 40px rgba(0,0,0,0.5);
  filter: brightness(0.82) saturate(0.74);
}

.sandwich-section-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 3px;
  z-index: -1;
}

@media (max-width: 900px) {
  #sandwich-hero {
    height: 66vh;
    min-height: 420px;
  }

  .sandwich-section-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .sandwich-section--reverse .sandwich-section-content,
  .sandwich-section--reverse .sandwich-section-img-wrap {
    order: initial;
  }
}

/* ══════════════════════════════════════
   HERO SLIDER (etusivu)
   ══════════════════════════════════════ */
#hero {
  position: relative; width: 100%; height: 100vh;
  overflow: hidden;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1s ease;
}
.slide.active { opacity: 1; }
.slide::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.42);
}
.slide-content {
  position: absolute; z-index: 2;
  bottom: 18%; left: 50%; transform: translateX(-50%);
  text-align: center; width: 90%; max-width: 820px;
}
.slide-content h1 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300; font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em; color: #fff;
  text-shadow: 0 2px 24px rgba(0,0,0,0.6);
}
.slide-content h1 span { color: var(--cyan); }
.slide-content p {
  margin-top: 1rem; font-size: 1.4rem; font-weight: 300;
  color: rgba(255,255,255,0.8);
}

/* Slider-pisteet */
.slider-dots {
  position: absolute; bottom: 2rem; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; gap: 10px;
}
.dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: rgba(255,255,255,0.35);
  cursor: pointer; border: none;
  transition: background 0.3s ease, transform 0.3s ease;
}
.dot.active { background: var(--cyan); transform: scale(1.3); }
.dot:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* Vieritysvihjaus */
.scroll-hint {
  position: absolute; bottom: 5rem; left: 50%;
  transform: translateX(-50%); z-index: 10;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: rgba(255,255,255,0.4);
}
.scroll-hint::after {
  content: '';
  display: block; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(0,191,255,0.6), transparent);
  animation: scrollPulse 1.8s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%,100% { opacity: 0.4; transform: scaleY(1); }
  50%      { opacity: 1;   transform: scaleY(1.1); }
}

/* ══════════════════════════════════════
   SECTIONS (yhteiset)
   ══════════════════════════════════════ */
section { position: relative; z-index: 1; }

.section-tag {
  display: inline-block;
  font-size: 1rem; letter-spacing: 0.25em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 1.2rem;
}
.section-tag::before { content: '— '; color: var(--cyan); }

.cta-btn {
  display: inline-block;
  margin-top: 1.8rem;
  padding: 0.75rem 2.4rem;
  background: var(--cyan);
  color: #000; font-size: 0.85rem;
  font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; text-decoration: none;
  border-radius: 2px;
  box-shadow: 0 4px 24px rgba(0,191,255,0.3), 0 1px 4px rgba(0,0,0,0.4);
  transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
}
.cta-btn:hover {
  background: var(--cyan-dark);
  box-shadow: 0 6px 32px rgba(0,191,255,0.45), 0 2px 8px rgba(0,0,0,0.5);
  transform: translateY(-2px);
}
.cta-btn:active  { transform: translateY(0); }
.cta-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ══════════════════════════════════════
   ABOUT / ETUSIVU
   ══════════════════════════════════════ */
#about {
  background: var(--dark-2);
  padding: 6rem 2rem;
}
.about-inner { max-width: 900px; margin: 0 auto; }
#about h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em; color: #fff;
  margin-bottom: 2rem;
}
#about p {
  font-size: 1.05rem; line-height: 1.75;
  color: rgba(255,255,255,0.65);
  margin-bottom: 1.2rem;
}
#about p strong { color: rgba(255,255,255,0.9); font-weight: 400; }

/* ══════════════════════════════════════
   PALVELUKORTIT
   ══════════════════════════════════════ */
#services {
  padding: 6rem 2rem;
  background: var(--dark);
}
.services-header { text-align: center; margin-bottom: 4rem; }
.services-header h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em; color: #fff;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem; max-width: 1200px; margin: 0 auto;
}
.service-card {
  position: relative; overflow: hidden;
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 3px;
  transition: transform 0.3s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.3s ease;
  cursor: default;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0,0,0,0.5), 0 0 0 1px rgba(0,191,255,0.2);
}
.service-img {
  width: 100%; height: 220px;
  object-fit: cover; display: block;
  filter: brightness(0.75) saturate(0.8);
}
.service-img-wrap { position: relative; }
.service-img-wrap::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
}
.service-body { padding: 1.6rem 1.8rem 2rem; }
.service-icon {
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,191,255,0.12);
  border: 1px solid rgba(0,191,255,0.3);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.1rem;
  transition: background 0.3s ease, transform 0.5s cubic-bezier(0.34,1.56,0.64,1);
}
.service-card:hover .service-icon {
  background: rgba(0,191,255,0.22);
  transform: rotate(20deg) scale(1.1);
}
.service-icon i { font-size: 1.1rem; color: var(--cyan); }
.service-body h3 {
  font-size: 1.2rem; font-weight: 300;
  letter-spacing: 0.04em; text-transform: uppercase;
  color: var(--cyan); margin-bottom: 0.8rem;
}
.service-body p {
  font-size: 0.92rem; line-height: 1.7;
  color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════════
   VÄLIOSIO
   ══════════════════════════════════════ */
.divider-section {
  position: relative; height: 420px; overflow: hidden;
}
.divider-section img {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(0.45) saturate(0.6);
}
.divider-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 60% 50%, rgba(0,191,255,0.08) 0%, transparent 70%),
    linear-gradient(to right, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.3) 100%);
  display: flex; align-items: center;
  padding: 2rem 4rem;
}
.divider-text { max-width: 600px; }
.divider-text h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300; font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: -0.03em; color: #fff; margin-bottom: 1rem;
}
.divider-text p {
  font-size: 1rem; color: rgba(255,255,255,0.65); line-height: 1.75;
}
.divider-text .cta-btn { margin-top: 2rem; }

/* ══════════════════════════════════════
   TERÄSRAKENTEET
   ══════════════════════════════════════ */
#steel {
  padding: 6rem 2rem;
  background: var(--dark-3);
}
.steel-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
@media (max-width: 768px) { .steel-inner { grid-template-columns: 1fr; gap: 2.5rem; } }
.steel-content h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300; font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em; color: #fff; margin-bottom: 1.6rem;
}
.steel-content p {
  font-size: 0.95rem; line-height: 1.8;
  color: rgba(255,255,255,0.6); margin-bottom: 1rem;
}
.steel-features { list-style: none; margin: 1.5rem 0 2rem; }
.steel-features li {
  display: flex; align-items: flex-start; gap: 0.8rem;
  padding: 0.5rem 0; font-size: 0.9rem;
  color: rgba(255,255,255,0.65);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}
.steel-features li i { color: var(--cyan); margin-top: 3px; flex-shrink: 0; }
.steel-img-wrap { position: relative; }
.steel-img-wrap img {
  width: 100%; border-radius: 3px;
  box-shadow: -12px 12px 40px rgba(0,0,0,0.5);
  filter: brightness(0.8) saturate(0.7);
}
.steel-img-wrap::before {
  content: '';
  position: absolute; inset: -12px 12px 12px -12px;
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 3px; z-index: -1;
}

#steel-extra {
  padding: 6rem 2rem;
  background: var(--dark-2);
}

.steel-extra-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .steel-extra-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.steel-extra-content h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 1.2rem;
}

.steel-extra-rich p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.66);
  margin-bottom: 1rem;
}

.steel-extra-rich h3 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1.15rem, 2vw, 1.4rem);
  color: #fff;
  margin: 1.3rem 0 0.7rem;
}

.steel-extra-rich ul {
  margin: 0.35rem 0 1rem 1.2rem;
}

.steel-extra-rich li {
  color: rgba(255,255,255,0.72);
  margin-bottom: 0.4rem;
  line-height: 1.7;
}

.steel-extra-img-wrap {
  position: relative;
}

.steel-extra-img-wrap img {
  width: 100%;
  border-radius: 3px;
  box-shadow: -12px 12px 40px rgba(0,0,0,0.5);
  filter: brightness(0.82) saturate(0.74);
}

.steel-extra-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 3px;
  z-index: -1;
}

/* ══════════════════════════════════════
   REFERENSSIT / GALLERIA
   ══════════════════════════════════════ */
#realizacje {
  padding: 6rem 2rem;
  background: var(--dark-2);
}
.realizacje-header { text-align: center; margin-bottom: 3.5rem; }
.realizacje-header h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300; font-size: clamp(1.8rem, 4vw, 2.8rem);
  letter-spacing: -0.03em; color: #fff;
}
.realizacje-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.4rem; max-width: 1200px; margin: 0 auto;
}
.real-item {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
}
.real-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.25,0.46,0.45,0.94), filter 0.5s ease;
  filter: brightness(0.7) saturate(0.6);
}
.real-item:hover img { transform: scale(1.06); filter: brightness(0.85) saturate(0.8); }
.real-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.5) 0%, transparent 50%);
  transition: opacity 0.3s ease;
}
.real-item:hover::after { opacity: 0.7; }

/* ══════════════════════════════════════
   RAKENTEET
   ══════════════════════════════════════ */
#constructions {
  padding: 6rem 2rem;
  background: var(--dark-2);
}

.constructions-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .constructions-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.constructions-content h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #fff;

.constructions-rich {
  color: rgba(255,255,255,0.7);
}

.constructions-rich h3 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: #fff;
  margin: 1.5rem 0 0.8rem;
}

.constructions-rich p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.66);
  margin-bottom: 1rem;
}

.constructions-rich ul {
  margin: 0.3rem 0 1.1rem 1.25rem;
}

.constructions-rich li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}
  margin-bottom: 1.5rem;
}

.constructions-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1rem;
}

.constructions-content .cta-btn {
  margin-top: 1.2rem;
}

.constructions-img-wrap {
  position: relative;
}

.constructions-img-wrap img {
  width: 100%;
  border-radius: 3px;
  box-shadow: -12px 12px 40px rgba(0,0,0,0.5);
  filter: brightness(0.82) saturate(0.72);
}

.constructions-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 3px;
  z-index: -1;
}

#rakenteet-references {
  padding: 4.5rem 2rem 6rem;
  background: var(--dark-3);
}

.rakenteet-references-header {
  text-align: center;
  margin-bottom: 2.2rem;
}

.rakenteet-references-header h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1.6rem, 3.2vw, 2.3rem);
  letter-spacing: -0.03em;
  color: #fff;
}

.rakenteet-references-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.5rem;
}

.rakenteet-reference-item {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: 2px;
  cursor: pointer;
}

.rakenteet-reference-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.72) saturate(0.72);
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), filter 0.3s ease;
}

.rakenteet-reference-item:hover img {
  transform: scale(1.15);
  filter: brightness(0.95) saturate(1);
}

.rakenteet-references-empty {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  color: rgba(255,255,255,0.62);
}

/* ══════════════════════════════════════
   REFERENSSIT LIGHTBOX
   ══════════════════════════════════════ */
.ref-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.93);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.ref-lightbox.open {
  opacity: 1;
  pointer-events: all;
}

.ref-lb-img-wrap {
  max-width: min(92vw, 1300px);
  max-height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ref-lb-img-wrap img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  border-radius: 2px;
  box-shadow: 0 24px 80px rgba(0,0,0,0.8);
  transition: opacity 0.2s ease;
}

.ref-lb-img-wrap img.loading {
  opacity: 0;
}

.ref-lb-close {
  position: absolute;
  top: 1.2rem;
  right: 1.4rem;
  width: 46px;
  height: 46px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.ref-lb-close:hover {
  background: rgba(0,191,255,0.2);
  border-color: rgba(0,191,255,0.5);
  transform: scale(1.1);
}

.ref-lb-close:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.ref-lb-prev,
.ref-lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 50%;
  color: #fff;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.ref-lb-prev { left: 1.2rem; }
.ref-lb-next { right: 1.2rem; }

.ref-lb-prev:hover,
.ref-lb-next:hover {
  background: rgba(0,191,255,0.2);
  border-color: rgba(0,191,255,0.5);
}

.ref-lb-prev:hover { transform: translateY(-50%) translateX(-2px); }
.ref-lb-next:hover { transform: translateY(-50%) translateX(2px); }

.ref-lb-prev:focus-visible,
.ref-lb-next:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.ref-lb-counter {
  position: absolute;
  bottom: 1.4rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.45);
  text-transform: uppercase;
}

@media (max-width: 599px) {
  .ref-lb-prev { left: 0.4rem; }
  .ref-lb-next { right: 0.4rem; }
  .ref-lb-prev,
  .ref-lb-next {
    width: 42px;
    height: 42px;
    font-size: 1.6rem;
  }
}

/* ══════════════════════════════════════
   YHTEYSTIEDOT
   ══════════════════════════════════════ */
#kontakt {
  padding: 6rem 2rem;
  background: var(--dark);
  position: relative; overflow: hidden;
}
#kontakt::before {
  content: '';
  position: absolute; top: -200px; right: -200px;
  width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,191,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.contact-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; gap: 5rem;
  align-items: start;
}
@media (max-width: 768px) { .contact-inner { grid-template-columns: 1fr; gap: 3rem; } }
.contact-info h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300; font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  letter-spacing: -0.03em; color: #fff; margin-bottom: 2.5rem;
}
.contact-row {
  display: flex; align-items: flex-start; gap: 1.2rem;
  padding: 1.1rem 0; border-bottom: 1px solid rgba(255,255,255,0.06);
}
.contact-row .icon-wrap {
  width: 38px; height: 38px; flex-shrink: 0;
  background: rgba(0,191,255,0.1);
  border: 1px solid rgba(0,191,255,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.contact-row .icon-wrap i { color: var(--cyan); font-size: 0.85rem; }
.contact-row .info-text span {
  display: block; font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.3);
  margin-bottom: 0.2rem;
}
.contact-row .info-text a,
.contact-row .info-text p {
  font-size: 0.97rem; color: rgba(255,255,255,0.75);
  text-decoration: none; line-height: 1.5;
  transition: color 0.2s ease;
}
.contact-row .info-text a:hover { color: var(--cyan); }

/* Lomake */
.contact-form h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300; font-size: 1.3rem !important;
  color: #fff; margin-bottom: 2rem;
}
.form-notice {
  padding: 0.9rem 1.2rem;
  border-radius: 2px;
  font-size: 0.88rem;
  margin-bottom: 1.4rem;
  line-height: 1.5;
}
.form-notice.success {
  background: rgba(0,191,255,0.1);
  border: 1px solid rgba(0,191,255,0.3);
  color: rgba(255,255,255,0.8);
}
.form-notice.error {
  background: rgba(255,60,60,0.1);
  border: 1px solid rgba(255,60,60,0.3);
  color: rgba(255,255,255,0.8);
}
.form-group { margin-bottom: 1.2rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block; font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: rgba(255,255,255,0.4);
  margin-bottom: 0.4rem;
}
input, textarea {
  width: 100%; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 2px; padding: 0.75rem 1rem;
  color: #fff; font-family: 'Alegreya Sans', sans-serif;
  font-size: 0.95rem; outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}
input:focus, textarea:focus {
  border-color: rgba(0,191,255,0.5);
  background: rgba(0,191,255,0.04);
}
textarea { resize: vertical; min-height: 130px; }
.checkbox-row {
  display: flex; align-items: flex-start; gap: 0.8rem;
  margin: 1.2rem 0;
}
.checkbox-row input[type="checkbox"] {
  width: 16px; height: 16px; flex-shrink: 0; margin-top: 2px;
  accent-color: var(--cyan);
}
.checkbox-row label {
  font-size: 0.78rem; text-transform: none; letter-spacing: 0;
  color: rgba(255,255,255,0.4); line-height: 1.5; margin: 0;
}
.submit-btn {
  width: 100%; padding: 0.85rem;
  background: var(--cyan); border: none; border-radius: 2px;
  color: #000; font-family: 'Alegreya Sans', sans-serif;
  font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(0,191,255,0.25);
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}
.submit-btn:hover {
  background: var(--cyan-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0,191,255,0.35);
}
.submit-btn:active { transform: translateY(0); }
.submit-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ══════════════════════════════════════
   FOOTER
   ══════════════════════════════════════ */
footer {
  background:
    linear-gradient(
      90deg,
      #07080b 0%,
      #1a1c21 16%,
      #4f5054 34%,
      #303238 52%,
      #121317 72%,
      #05060a 100%
    );
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 4rem 2rem 2rem;
}

.footer-slider {
  width: 100%;
  margin: 0 auto;
  overflow: hidden;
  border: none;
  border-radius: 0;
  background: transparent;
  min-height: 150px;
  position: relative;
}
.footer-slider-track {
  position: relative;
  width: 100%;
  height: 150px;
}
.footer-slide-image {
  width: 320px;
  height: 150px;
  object-fit: cover;
  opacity: 0.92;
  filter: none;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  animation: footerSlideIn 3s ease-out 1 forwards;
}
@keyframes footerSlideIn {
  0% {
    left: -280px;
    transform: none;
  }
  100% {
    left: 50%;
    transform: translateX(-50%);
  }
}

.footer-col-slider {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 3rem; margin-bottom: 3rem;
}
@media (max-width: 768px) { .footer-grid { grid-template-columns: 1fr; gap: 2rem; } }
.footer-col {
  padding-left: 0.7rem;
}
.footer-col h4 {
  font-size: 1.2rem; letter-spacing: 0.25em;
  text-transform: uppercase; color: var(--cyan);
  margin-bottom: 1.2rem; padding-bottom: 0.7rem;
  border-bottom: 1px solid rgba(0,191,255,0.2);
}
.footer-col p, .footer-col a {
  font-size: 1.15rem; color: rgba(255,255,255,255);
  line-height: 1.9; text-decoration: none; display: block;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--cyan); }

.footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.footer-contact-icon {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 8px 22px rgba(0,191,255,0.25);
  transition: transform 0.3s ease;
}

.footer-contact-icon i {
  font-size: 0.95rem;
}

.footer-contact-row:hover .footer-contact-icon,
.footer-contact-row:focus-within .footer-contact-icon {
  animation: footerIconSpin 0.7s ease;
}

@keyframes footerIconSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.footer-contact-text p,
.footer-contact-text a {
  display: block;
  margin: 0;
  line-height: 1.55;
}

.footer-contact-text a + a,
.footer-contact-text p + p {
  margin-top: 0.2rem;
}

.footer-social { display: flex; gap: 0.8rem; margin-top: 1rem; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.4); font-size: 0.9rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.social-btn img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  display: block;
}
.social-btn:hover {
  background: rgba(0,191,255,0.15);
  border-color: rgba(0,191,255,0.4);
  color: var(--cyan); transform: translateY(-2px);
}
.social-btn:active  { transform: translateY(0); }
.social-btn:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.footer-bottom {
  max-width: 1100px; margin: 0 auto;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p, .footer-bottom a {
  font-size: 0.78rem; color: rgba(255,255,255,255); text-decoration: none;
}
.footer-bottom a:hover { color: var(--cyan); }

/* ══════════════════════════════════════
   EVÄSTEVAROITUS
   ══════════════════════════════════════ */
#cookie {
  position: fixed; bottom: 1.5rem; left: 50%;
  transform: translateX(-50%);
  z-index: 200; width: min(92vw, 680px);
  background: var(--dark-3);
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 4px;
  padding: 1.4rem 1.8rem;
  box-shadow: 0 8px 40px rgba(0,0,0,0.6);
  display: flex; gap: 1.5rem; align-items: center;
  opacity: 1; transition: opacity 0.4s ease, transform 0.4s ease;
}
#cookie.hidden {
  opacity: 0; pointer-events: none;
  transform: translateX(-50%) translateY(20px);
}
#cookie p {
  font-size: 0.82rem; color: rgba(255,255,255,0.5); flex: 1; line-height: 1.6;
}
#cookie p a { color: var(--cyan); text-decoration: underline; }
.cookie-btns { display: flex; gap: 0.7rem; flex-shrink: 0; }
.btn-accept {
  padding: 0.5rem 1.3rem;
  background: var(--cyan); border: none; border-radius: 2px;
  color: #000; font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}
.btn-accept:hover  { background: var(--cyan-dark); transform: translateY(-1px); }
.btn-accept:active { transform: translateY(0); }
.btn-accept:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
.btn-reject {
  padding: 0.5rem 1.1rem;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 2px; color: rgba(255,255,255,0.4);
  font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s ease, color 0.2s ease;
}
.btn-reject:hover { border-color: rgba(255,255,255,0.5); color: rgba(255,255,255,0.7); }
.btn-reject:focus-visible { outline: 2px solid rgba(255,255,255,0.4); outline-offset: 3px; }

/* ══════════════════════════════════════
   TAKAISIN YLÖS
   ══════════════════════════════════════ */
#back-top {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 50;
  width: 44px; height: 44px;
  background: rgba(0,191,255,0.15);
  border: 1px solid rgba(0,191,255,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--cyan); font-size: 0.9rem; text-decoration: none;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s ease, transform 0.2s ease, background 0.2s ease;
}
#back-top.visible { opacity: 1; pointer-events: all; }
#back-top:hover  { background: rgba(0,191,255,0.28); transform: translateY(-3px); }
#back-top:active { transform: translateY(0); }
#back-top:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

/* ══════════════════════════════════════
   RESPONSIIVISUUS
   ══════════════════════════════════════ */
@media (max-width: 599px) {
  #cookie { flex-direction: column; }
  .cookie-btns { width: 100%; }
  .btn-accept, .btn-reject { flex: 1; text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .divider-overlay { padding: 2rem; }
  .footer-slider { margin-bottom: 1.4rem; }
  .footer-slider-track {
    animation: none;
    transform: none;
    width: 100%;
  }
  .footer-slider-track .footer-slide-image:not(:first-child) {
    display: none;
  }
  .footer-slide-image { width: 300px; height: 92px; }
  .footer-slider-track .footer-slide-image:first-child {
    width: 100%;
    height: auto;
    max-height: 130px;
    position: static;
    left: auto;
    top: auto;
    transform: none;
    object-fit: contain;
    animation: none;
  }
  .footer-col { padding-left: 0.2rem; }
  .footer-contact-icon {
    width: 46px;
    height: 46px;
  }
}

/* ══════════════════════════════════════
   TIETOSUOJAKÄYTÄNTÖ
   ══════════════════════════════════════ */
#policy {
  padding: 6rem 2rem;
  background: var(--dark-2);
}

.policy-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .policy-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

.policy-content h2 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 300;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  letter-spacing: -0.03em;
  color: #fff;

.policy-rich {
  color: rgba(255,255,255,0.7);
}

.policy-rich h3 {
  font-family: 'Alegreya Sans', sans-serif;
  font-weight: 400;
  font-size: clamp(1.2rem, 2.2vw, 1.45rem);
  color: #fff;
  margin: 1.5rem 0 0.8rem;
}

.policy-rich p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.66);
  margin-bottom: 1rem;
}

.policy-rich ul {
  margin: 0.3rem 0 1.1rem 1.25rem;
}

.policy-rich li {
  margin-bottom: 0.45rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.72);
}
  margin-bottom: 1.5rem;
}

.policy-content p {
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.62);
  margin-bottom: 1rem;
}

.policy-content .cta-btn {
  margin-top: 1.2rem;
}

.policy-img-wrap {
  position: relative;
}

.policy-img-wrap img {
  width: 100%;
  border-radius: 3px;
  box-shadow: -12px 12px 40px rgba(0,0,0,0.5);
  filter: brightness(0.82) saturate(0.72);
}

.policy-img-wrap::before {
  content: '';
  position: absolute;
  inset: -12px 12px 12px -12px;
  border: 1px solid rgba(0,191,255,0.2);
  border-radius: 3px;
  z-index: -1;
}
