/* ========================================
   PERUSASETUKSET
======================================== */

:root {
  /* Päävärit */
  --navy: #17352d;
  --navy-light: #23483d;
  --blue: #31594d;

  /* Lämmin tehosteväri */
  --gold: #b49a72;
  --gold-light: #cfb995;

  /* Vaaleat taustat */
  --cream: #f4f2ed;
  --cream-dark: #e9e5de;

  /* Tekstit */
  --white: #ffffff;
  --text: #1d2925;
  --muted: #68736e;

  --border: rgba(23, 53, 45, 0.13);

  --heading-font: "Libre Caslon Display", Georgia, serif;
  --body-font: "DM Sans", Arial, sans-serif;

  --container: 1240px;
}


/* ========================================
   RESET
======================================== */

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

.container {
  width: min(90%, var(--container));
  margin-inline: auto;
}

.section {
  padding: 120px 0;
}


/* ========================================
   TYPOGRAFIA
======================================== */

h1,
h2,
h3 {
  font-family: var(--heading-font);
  font-weight: 400;
  line-height: 1.08;
}

h1 {
  font-size: clamp(3.3rem, 6vw, 6.5rem);
}

h2 {
  font-size: clamp(2.5rem, 4vw, 4.6rem);
}

h3 {
  font-size: 1.8rem;
}

p {
  color: var(--muted);
}

.large-text {
  font-size: 1.25rem;
  color: var(--text);
}

.section-label,
.eyebrow {
  display: inline-block;

  margin-bottom: 24px;

  font-size: 0.76rem;
  font-weight: 700;

  letter-spacing: 0.16em;
  text-transform: uppercase;

  color: var(--gold);
}


/* ========================================
   HEADER
======================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  color: var(--white);

  transition:
    background 0.3s ease,
    box-shadow 0.3s ease;
}

.site-header.scrolled {
  background: rgba(23, 53, 45, 0.97);
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.12);
}

.inner-header {
  background: var(--navy);
}

.nav-container {
  min-height: 95px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}


/* LOGO */

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand-icon {
  color: var(--gold);
  font-size: 2rem;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-text strong {
  font-family: var(--heading-font);
  font-size: 1.65rem;
  letter-spacing: 0.12em;
}

.brand-text small {
  font-size: 0.57rem;
  letter-spacing: 0.26em;
  color: var(--gold-light);
}


/* NAVIGAATIO */

.main-nav {
  display: flex;
  align-items: center;
  gap: 34px;
}

.main-nav > a:not(.nav-cta) {
  position: relative;

  font-size: 0.85rem;
  font-weight: 600;
}

.main-nav > a:not(.nav-cta)::after {
  content: "";

  position: absolute;
  bottom: -8px;
  left: 0;

  width: 0;
  height: 1px;

  background: var(--gold);

  transition: width 0.3s ease;
}

.main-nav > a:hover::after,
.main-nav > a.active::after {
  width: 100%;
}

.nav-cta {
  padding: 13px 25px;

  background: var(--gold);
  color: var(--white);

  font-size: 0.84rem;
  font-weight: 600;

  transition: background 0.25s ease;
}

.nav-cta:hover {
  background: var(--gold-light);
}

.menu-toggle {
  display: none;

  background: transparent;
  border: 0;

  color: var(--white);

  font-size: 1.6rem;

  cursor: pointer;
}


/* ========================================
   ETUSIVU HERO
======================================== */

.hero {
  position: relative;

  min-height: 930px;

  display: flex;
  align-items: center;

  color: var(--white);

  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;

  background-image: url("/assets/images/lakitoimisto-kirstina-hero.png");
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background: linear-gradient(
    90deg,
    rgba(18, 45, 37, 0.97) 0%,
    rgba(18, 45, 37, 0.89) 38%,
    rgba(18, 45, 37, 0.42) 68%,
    rgba(18, 45, 37, 0.14) 100%
  );
}

.hero-container {
  position: relative;
  z-index: 2;

  padding-top: 80px;
}

.hero-content {
  max-width: 750px;
}

.hero h1 {
  margin-bottom: 32px;
  color: var(--white);
}

.hero-text {
  max-width: 620px;

  margin-bottom: 42px;

  color: rgba(255, 255, 255, 0.8);

  font-size: 1.15rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}


/* ========================================
   PAINIKKEET
======================================== */

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;

  gap: 13px;

  padding: 17px 27px;

  border: 1px solid transparent;

  font-size: 0.9rem;
  font-weight: 600;

  transition: all 0.3s ease;
}

.btn-primary {
  background: var(--gold);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
}

.btn-secondary {
  border-color: rgba(255, 255, 255, 0.45);
  color: var(--white);
}

.btn-secondary:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-light {
  background: var(--cream);
  color: var(--navy);
}


/* ========================================
   HERO ALAPALKKI
======================================== */

.hero-bottom {
  position: absolute;
  bottom: 0;
  left: 0;

  width: 100%;
  z-index: 3;

  background: rgba(18, 45, 37, 0.90);

  border-top: 1px solid rgba(255, 255, 255, 0.12);

  backdrop-filter: blur(8px);
}

.hero-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.hero-feature {
  display: flex;
  align-items: center;

  gap: 18px;

  padding: 30px;

  border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-feature:last-child {
  border-right: 0;
}

.hero-feature > i {
  color: var(--gold);
  font-size: 1.7rem;
}

.hero-feature div {
  display: flex;
  flex-direction: column;
}

.hero-feature strong {
  font-size: 0.9rem;
}

.hero-feature span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
}


/* ========================================
   INTRO
======================================== */

.intro {
  background: var(--cream);
}

.intro-grid {
  display: grid;

  grid-template-columns: 0.9fr 1.1fr;

  gap: 120px;
}

.intro h2 {
  max-width: 520px;
  color: var(--navy);
}

.intro-content {
  max-width: 590px;
}

.intro-content p {
  margin-bottom: 24px;
}

.text-link {
  display: inline-flex;
  align-items: center;

  gap: 12px;

  margin-top: 20px;
  padding-bottom: 5px;

  color: var(--navy);

  font-weight: 700;

  border-bottom: 1px solid var(--gold);
}

.text-link i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.text-link:hover i {
  transform: translateX(5px);
}

/* ========================================
   LAKIMIEHEN ESITTELY / KOULUTUS
======================================== */

.lawyer-title {
  margin-top: 20px;

  color: var(--gold);

  font-size: 0.9rem;
  font-weight: 600;
  line-height: 1.5;
}


/* KOULUTUS */

.lawyer-education {
  margin-top: 30px;
  padding-top: 25px;

  border-top: 1px solid var(--border);
}

.education-label {
  display: block;

  margin-bottom: 15px;

  color: var(--gold);

  font-size: 0.72rem;
  font-weight: 700;

  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lawyer-education ul {
  display: flex;
  flex-wrap: wrap;

  gap: 10px 28px;

  margin: 0;
  padding: 0;

  list-style: none;
}

.lawyer-education li {
  position: relative;

  padding-left: 16px;

  color: var(--navy);

  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
}

.lawyer-education li::before {
  content: "";

  position: absolute;
  top: 0.65em;
  left: 0;

  width: 5px;
  height: 5px;

  background: var(--gold);

  border-radius: 50%;
}


/* MOBIILI */

@media (max-width: 700px) {

  .lawyer-education ul {
    flex-direction: column;

    gap: 8px;
  }

}

/* ========================================
   ETUSIVUN PALVELUT
======================================== */

.services {
  background: var(--white);
}

.section-heading {
  display: grid;

  grid-template-columns: 1.4fr 0.6fr;

  gap: 100px;

  align-items: end;

  margin-bottom: 70px;
}

.section-heading h2 {
  max-width: 750px;
  color: var(--navy);
}

.section-heading > p {
  max-width: 380px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  position: relative;

  min-height: 420px;

  padding: 45px 40px;

  border-top: 1px solid var(--border);
  border-right: 1px solid var(--border);

  display: flex;
  flex-direction: column;

  transition:
    background 0.3s ease,
    transform 0.3s ease;
}

.service-card:nth-child(3n) {
  border-right: 0;
}

.service-card:hover {
  background: var(--cream);
  transform: translateY(-4px);
}

.service-number {
  position: absolute;

  top: 25px;
  right: 30px;

  color: #c3c7ca;

  font-size: 0.72rem;
}

.service-icon {
  margin: 35px 0;

  color: var(--gold);

  font-size: 2rem;
}

.service-card h3 {
  margin-bottom: 18px;
  color: var(--navy);
}

.service-card p {
  margin-bottom: 30px;
  font-size: 0.94rem;
}

.service-card > a:not(.btn) {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  margin-top: auto;

  color: var(--navy);

  font-size: 0.85rem;
  font-weight: 700;
}

.service-card-highlight {
  background: var(--navy);
  color: var(--white);

  justify-content: center;
}

.service-card-highlight:hover {
  background: var(--navy-light);
}

.service-card-highlight h3 {
  color: var(--white);
  font-size: 2.5rem;
}

.service-card-highlight p {
  color: rgba(255, 255, 255, 0.7);
}




/* ========================================
   MEISTÄ
======================================== */

.about {
  background: var(--cream);
}

.about-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;

  align-items: center;
}

.about-image {
  width: 100%;
  height: 650px;

  overflow: hidden;
}

.about-photo {
  width: 100%;
  height: 100%;

  object-fit: cover;

  display: block;

  transition: transform 0.5s ease;
}

.about-image:hover .about-photo {
  transform: scale(1.03);
}

.about-content h2 {
  margin-bottom: 32px;
  color: var(--navy);
}

.about-content p {
  margin-bottom: 20px;
}

.about-values {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  margin: 45px 0;

  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.about-values div {
  padding: 25px 0;

  display: flex;
  flex-direction: column;

  gap: 5px;
}

.about-values strong {
  color: var(--gold);
  font-size: 0.75rem;
}

.about-values span {
  color: var(--navy);
  font-weight: 600;
}


/* ========================================
   PROSESSI
======================================== */

.process {
  background: var(--white);
}

.process-heading {
  max-width: 760px;

  margin: 0 auto 75px;

  text-align: center;
}

.process-heading h2 {
  color: var(--navy);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid var(--border);
}

.process-item {
  padding: 40px 35px;

  border-right: 1px solid var(--border);
}

.process-item:last-child {
  border-right: 0;
}

.process-item > span {
  display: inline-block;

  margin-bottom: 60px;

  color: var(--gold);

  font-size: 0.75rem;
}

.process-item h3 {
  margin-bottom: 15px;
  color: var(--navy);
}

.process-item p {
  font-size: 0.9rem;
}


/* ========================================
   ETUSIVUN CTA
======================================== */

.contact-cta {
  padding: 110px 0;

  background: var(--navy);

  color: var(--white);
}

.contact-cta-grid {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 100px;

  align-items: center;
}

.contact-cta h2 {
  margin-bottom: 25px;
}

.contact-cta p {
  max-width: 530px;

  color: rgba(255, 255, 255, 0.65);
}

.light-label {
  color: var(--gold-light);
}

.contact-options {
  display: flex;
  flex-direction: column;
}

.contact-option {
  display: grid;

  grid-template-columns: auto 1fr auto;

  gap: 20px;

  align-items: center;

  padding: 28px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-option:first-child {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.contact-option > i:first-child {
  color: var(--gold);
  font-size: 1.25rem;
}

.contact-option > i:last-child {
  transition: transform 0.25s ease;
}

.contact-option:hover > i:last-child {
  transform: translateX(6px);
}

.contact-option div {
  display: flex;
  flex-direction: column;
}

.contact-option small {
  color: rgba(255, 255, 255, 0.55);
}

.contact-option strong {
  font-size: 1.05rem;
}


/* ========================================
   FOOTER
======================================== */

.site-footer {
  padding-top: 80px;

  background: #10271f;
  color: var(--white);
}


/* PÄÄGRID */

.footer-grid {
  display: grid;

  grid-template-columns:
    1.25fr
    0.7fr
    1.3fr
    1.15fr;

  gap: 70px;

  padding-bottom: 65px;
}


/* BRÄNDI */

.footer-brand p {
  max-width: 300px;

  margin-top: 22px;

  color: rgba(255, 255, 255, 0.62);

  font-size: 0.85rem;
}


/* FOOTERIN OTSIKOT */

.footer-grid h4 {
  margin-bottom: 14px;

  color: var(--gold-light);

  font-size: 0.78rem;
  font-weight: 700;

  letter-spacing: 0.1em;
  text-transform: uppercase;
}


/* TAVALLISET SARAKKEET */

.footer-column {
  display: flex;
  flex-direction: column;
  align-items: flex-start;

  gap: 10px;
}

.footer-column p {
  color: rgba(255, 255, 255, 0.62);

  font-size: 0.85rem;
  line-height: 1.7;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.62);

  font-size: 0.85rem;

  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--white);
}


/* PALVELUT */

.footer-services {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-service-links {
  display: grid;

  grid-template-columns: repeat(2, minmax(0, 1fr));

  column-gap: 35px;
  row-gap: 10px;

  width: 100%;
}

.footer-service-links a {
  color: rgba(255, 255, 255, 0.62);

  font-size: 0.85rem;
  line-height: 1.5;

  transition: color 0.2s ease;
}

.footer-service-links a:hover {
  color: var(--white);
}


/* FOOTER ALAPALKKI */

.footer-bottom {
  min-height: 80px;

  display: flex;
  justify-content: space-between;
  align-items: center;

  border-top: 1px solid rgba(255, 255, 255, 0.1);

  color: rgba(255, 255, 255, 0.45);

  font-size: 0.75rem;
}

.footer-bottom div {
  display: flex;

  gap: 25px;
}

.footer-bottom a {
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: var(--white);
}


/* ========================================
   FOOTER RESPONSIVE
======================================== */

@media (max-width: 1050px) {

  .footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 50px 70px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

}


@media (max-width: 700px) {

  .site-footer {
    padding-top: 60px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;

    gap: 45px 30px;

    padding-bottom: 50px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-services {
    grid-column: 1 / -1;
  }

  .footer-service-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));

    column-gap: 25px;
  }

  .footer-bottom {
    flex-direction: column;
    justify-content: center;

    gap: 10px;

    padding: 20px 0;

    text-align: center;
  }

}


@media (max-width: 480px) {

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-brand,
  .footer-services {
    grid-column: auto;
  }

  .footer-service-links {
    grid-template-columns: 1fr;
  }

  .footer-bottom div {
    flex-direction: column;

    gap: 6px;
  }

}

/* ========================================
   ALASIVUN HERO
======================================== */

.subpage-hero {
  position: relative;

  padding: 250px 0 110px;

  background-image:
    linear-gradient(
      90deg,
      rgba(23, 53, 45, 0.94) 0%,
      rgba(23, 53, 45, 0.82) 42%,
      rgba(23, 53, 45, 0.35) 72%,
      rgba(23, 53, 45, 0.15) 100%
    ),
    url("/assets/images/lakitoimisto-kirstina-hero.png");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: var(--white);
}

.subpage-hero-content {
  position: relative;
  z-index: 2;

  max-width: 950px;
}

.subpage-hero h1 {
  max-width: 900px;

  margin-bottom: 30px;

  color: var(--white);

  font-size: clamp(3rem, 5vw, 5.6rem);
}

.subpage-hero p {
  max-width: 650px;

  color: rgba(255, 255, 255, 0.78);

  font-size: 1.15rem;
}


/* ========================================
   PALVELUT-SIVU
======================================== */

.service-detail-section {
  background: var(--white);
}

.service-detail-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  border-top: 1px solid var(--border);
}

.service-detail-card {
  position: relative;

  padding: 65px 55px;

  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.service-detail-card:nth-child(even) {
  border-right: 0;
}

.service-detail-number {
  position: absolute;

  top: 35px;
  right: 40px;

  color: #b8bec3;

  font-size: 0.75rem;
}

.service-detail-card > i {
  margin-bottom: 40px;

  color: var(--gold);

  font-size: 2rem;
}

.service-detail-card h2 {
  margin-bottom: 25px;

  color: var(--navy);

  font-size: 2.4rem;
}

.service-detail-card p {
  margin-bottom: 30px;
}

.service-detail-card ul {
  list-style: none;
}

.service-detail-card li {
  position: relative;

  padding: 9px 0 9px 20px;

  color: var(--muted);

  font-size: 0.92rem;

  border-bottom: 1px solid rgba(7, 29, 49, 0.07);
}

.service-detail-card li::before {
  content: "";

  position: absolute;

  left: 0;
  top: 50%;

  width: 5px;
  height: 5px;

  background: var(--gold);

  transform: translateY(-50%);
}


/* PALVELUT CTA */

.service-page-cta {
  padding: 100px 0;

  background: var(--navy);

  color: var(--white);
}

.service-page-cta-inner {
  display: flex;

  justify-content: space-between;
  align-items: center;

  gap: 60px;
}

.service-page-cta h2 {
  max-width: 750px;

  margin-bottom: 20px;

  font-size: clamp(2.4rem, 4vw, 4rem);
}

.service-page-cta p {
  max-width: 600px;

  color: rgba(255, 255, 255, 0.65);
}

/* ========================================
   PALVELUSIVUN PIKAVALIKKO
======================================== */

.service-jump-nav {
  padding: 45px 0;
  background: var(--cream);

  border-bottom: 1px solid var(--border);
}

.service-jump-nav .section-label {
  margin-bottom: 20px;
}

.service-jump-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-jump-links a {
  display: inline-flex;
  align-items: center;

  padding: 12px 18px;

  border: 1px solid var(--border);

  background: var(--white);
  color: var(--navy);

  font-size: 0.85rem;
  font-weight: 600;

  transition:
    background 0.25s ease,
    color 0.25s ease,
    border-color 0.25s ease;
}

.service-jump-links a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}


/* ========================================
   YHTEYSTIEDOT-SIVU
======================================== */

.lawyer-contact {
  background: var(--white);
}

.lawyer-contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  gap: 100px;

  align-items: center;
}


/* LAKIMIEHEN KUVA */

.lawyer-photo-wrapper {
  position: relative;

  width: 100%;
  height: 680px;

  overflow: hidden;

  background: var(--cream);
}

.lawyer-photo {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center top;

  display: block;

  transition: transform 0.5s ease;
}

.lawyer-photo-wrapper:hover .lawyer-photo {
  transform: scale(1.02);
}

.lawyer-photo-wrapper::after {
  content: "";

  position: absolute;

  left: 0;
  bottom: 0;

  width: 90px;
  height: 5px;

  background: var(--gold);
}


/* YHTEYSTIETOJEN SISÄLTÖ */

.lawyer-contact-content h2 {
  max-width: 650px;

  margin-bottom: 30px;

  color: var(--navy);
}

.lawyer-contact-content > p {
  max-width: 620px;

  margin-bottom: 20px;
}

.lawyer-contact-content .large-text {
  font-size: 1.2rem;
}


/* YHTEYSTIETOLISTA */

.lawyer-contact-list {
  margin-top: 50px;

  border-top: 1px solid var(--border);
}

.lawyer-contact-item {
  display: grid;

  grid-template-columns: 55px 1fr auto;

  align-items: center;

  gap: 20px;

  min-height: 95px;

  padding: 20px 0;

  border-bottom: 1px solid var(--border);
}

.lawyer-contact-icon {
  width: 48px;
  height: 48px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: var(--cream);

  color: var(--gold);

  font-size: 1.05rem;
}

.lawyer-contact-item > div:nth-child(2) {
  display: flex;
  flex-direction: column;
}

.lawyer-contact-item small {
  margin-bottom: 2px;

  color: var(--muted);

  font-size: 0.7rem;
  font-weight: 600;

  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lawyer-contact-item strong {
  color: var(--navy);

  font-size: 1rem;
}

.lawyer-contact-item span {
  margin-top: 3px;

  color: var(--muted);

  font-size: 0.82rem;
}

.lawyer-contact-item > i {
  color: var(--gold);

  font-size: 0.8rem;

  transition: transform 0.25s ease;
}

a.lawyer-contact-item:hover > i {
  transform: translateX(6px);
}


/* ========================================
   YHTEYSTIEDOT ESITTELY
======================================== */

.lawyer-intro {
  padding: 110px 0;

  background: var(--navy);

  color: var(--white);
}

.lawyer-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 100px;
}

.lawyer-intro h2 {
  max-width: 650px;

  color: var(--white);

  font-size: clamp(2.6rem, 4vw, 4.4rem);
}

.lawyer-intro-grid > div:last-child {
  padding-top: 45px;
}

.lawyer-intro p {
  max-width: 570px;

  margin-bottom: 22px;

  color: rgba(255, 255, 255, 0.7);
}


/* ========================================
   YHTEYSTIEDOT CTA
======================================== */

.simple-contact-cta {
  padding: 100px 0;

  background: var(--cream);
}

.simple-contact-cta-inner {
  display: flex;

  align-items: center;
  justify-content: space-between;

  gap: 70px;
}

.simple-contact-cta h2 {
  max-width: 700px;

  margin-bottom: 20px;

  color: var(--navy);

  font-size: clamp(2.5rem, 4vw, 4.3rem);
}

.simple-contact-cta p {
  max-width: 570px;
}

.simple-contact-buttons {
  display: flex;
  flex-direction: column;

  gap: 12px;

  min-width: 250px;
}

.contact-email-btn {
  border: 1px solid var(--navy);

  color: var(--navy);

  background: transparent;
}

.contact-email-btn:hover {
  background: var(--navy);

  color: var(--white);
}


/* ========================================
   TABLETTI
   alle 1050px
======================================== */

@media (max-width: 1050px) {

  .menu-toggle {
    display: block;
  }

  .main-nav {
    position: absolute;

    top: 95px;
    left: 0;

    width: 100%;

    display: none;
    flex-direction: column;
    align-items: stretch;

    gap: 0;

    padding: 20px 5% 30px;

    background: var(--navy);
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    padding: 15px 0;
  }

  .nav-cta {
    margin-top: 15px;
    text-align: center;
  }

  .intro-grid,
  .section-heading,
  .about-grid,
  .contact-cta-grid {
    grid-template-columns: 1fr;

    gap: 50px;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(3n) {
    border-right: 1px solid var(--border);
  }

  .service-card:nth-child(2n) {
    border-right: 0;
  }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

}


/* ========================================
   PALVELUT RESPONSIVE
======================================== */

@media (max-width: 800px) {

  .subpage-hero {
    padding: 150px 0 80px;
  }

  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-detail-card {
    padding: 45px 30px;

    border-right: 0;
  }

  .service-page-cta-inner {
    flex-direction: column;

    align-items: flex-start;
  }

}

@media (max-width: 700px) {

  .service-jump-nav {
    padding: 35px 0;
  }

  .service-jump-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .service-jump-links a {
    justify-content: center;
    text-align: center;
  }

}


/* ========================================
   YHTEYSTIEDOT RESPONSIVE
======================================== */

@media (max-width: 900px) {

  .lawyer-contact-grid {
    grid-template-columns: 1fr;

    gap: 60px;
  }

  .lawyer-photo-wrapper {
    max-width: 650px;

    height: 600px;
  }

  .lawyer-intro-grid {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .lawyer-intro-grid > div:last-child {
    padding-top: 0;
  }

  .simple-contact-cta-inner {
    flex-direction: column;

    align-items: flex-start;
  }

  .simple-contact-buttons {
    width: 100%;

    flex-direction: row;
  }

}

/* ========================================
   TIETOSUOJASELOSTE
======================================== */

.privacy-section {
  background: var(--white);
}

.privacy-content {
  max-width: 900px;

  margin: 0 auto;
}


/* YKSITTÄINEN KOHTA */

.privacy-block {
  display: grid;

  grid-template-columns: 55px 1fr;

  gap: 25px;

  padding: 35px 0;

  border-bottom: 1px solid var(--border);
}


/* NUMERO */

.privacy-number {
  padding-top: 5px;

  color: var(--gold);

  font-size: 0.75rem;
  font-weight: 700;

  letter-spacing: 0.08em;
}


/* OTSIKOT */

.privacy-block h2 {
  margin-bottom: 14px;

  color: var(--navy);

  font-size: clamp(1.3rem, 2vw, 1.7rem);
}


/* TEKSTIT */

.privacy-block p {
  max-width: 760px;

  margin-bottom: 14px;

  color: var(--text-light);

  line-height: 1.8;
}

.privacy-block p:last-child {
  margin-bottom: 0;
}


/* LISTA */

.privacy-block ul {
  margin: 15px 0 0;
  padding: 0;

  list-style: none;
}

.privacy-block li {
  position: relative;

  margin-bottom: 9px;
  padding-left: 20px;

  color: var(--text-light);

  line-height: 1.7;
}

.privacy-block li::before {
  content: "";

  position: absolute;
  top: 0.7em;
  left: 0;

  width: 5px;
  height: 5px;

  background: var(--gold);

  border-radius: 50%;
}


/* LINKIT */

.privacy-block a {
  color: var(--navy);

  font-weight: 600;

  transition: color 0.2s ease;
}

.privacy-block a:hover {
  color: var(--gold);
}


/* YHTEYDENOTTO */

.privacy-contact {
  margin-top: 60px;
  padding: 40px;

  background: var(--cream);

  border-left: 3px solid var(--gold);
}

.privacy-contact h2 {
  margin: 10px 0 15px;

  color: var(--navy);

  font-size: 1.6rem;
}

.privacy-contact a {
  display: inline-flex;
  align-items: center;

  gap: 10px;

  color: var(--navy);

  font-weight: 600;

  transition: color 0.2s ease;
}

.privacy-contact a:hover {
  color: var(--gold);
}


/* ========================================
   TIETOSUOJA - MOBIILI
======================================== */

@media (max-width: 700px) {

  .privacy-block {
    grid-template-columns: 1fr;

    gap: 8px;

    padding: 28px 0;
  }

  .privacy-number {
    padding-top: 0;
  }

  .privacy-contact {
    margin-top: 40px;
    padding: 28px 24px;
  }

}


/* ========================================
   MOBIILI
   alle 700px
======================================== */

@media (max-width: 700px) {

  .section {
    padding: 80px 0;
  }


  /* HEADER */

  .nav-container {
    min-height: 78px;
  }

  .main-nav {
    top: 78px;
  }

  .brand-text strong {
    font-size: 1.3rem;
  }


  /* ETUSIVU HERO */

  .hero {
    min-height: 100svh;

    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .hero-bg {
    background-position: 62% center;
  }

.hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(18, 45, 37, 0.25) 0%,
    rgba(18, 45, 37, 0.65) 38%,
    rgba(18, 45, 37, 0.96) 78%,
    rgba(18, 45, 37, 1) 100%
  );
}

  .hero .container {
    width: 100%;

    padding-left: 24px;
    padding-right: 24px;
  }

  .hero-container {
    padding-top: 150px;
    padding-bottom: 45px;

    margin: 0;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
  }

  .eyebrow {
    margin-bottom: 16px;

    font-size: 0.68rem;

    letter-spacing: 0.14em;
  }

  .hero h1 {
    max-width: 100%;

    margin-bottom: 24px;

    font-size: clamp(2.7rem, 11vw, 4rem);

    line-height: 1.02;
  }

  .hero-text {
    max-width: 100%;

    margin-bottom: 30px;

    font-size: 1rem;

    line-height: 1.65;
  }

  .hero-buttons {
    width: 100%;

    display: flex;
    flex-direction: column;

    gap: 12px;
  }

  .hero-buttons .btn {
    width: 100%;
    min-height: 54px;
  }

  .hero-bottom {
    position: relative;

    width: 100%;

    margin-top: 0;

    background: var(--navy);
  }

  .hero-features {
    grid-template-columns: 1fr;
  }

  .hero-feature {
    padding: 20px 24px;

    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .hero-feature:last-child {
    border-bottom: 0;
  }


  /* ETUSIVUN PALVELUT */

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 330px;

    padding: 30px 18px;
  }

  .service-card:nth-child(odd) {
    border-right: 1px solid var(--border);
  }

  .service-card:nth-child(even) {
    border-right: 0;
  }

  .service-icon {
    margin: 25px 0;

    font-size: 1.55rem;
  }

  .service-number {
    top: 18px;
    right: 18px;
  }

  .service-card h3 {
    font-size: 1.35rem;
  }

  .service-card p {
    font-size: 0.82rem;
    line-height: 1.55;
  }

  .service-card > a:not(.btn) {
    font-size: 0.78rem;
  }

  .service-card-highlight h3 {
    font-size: 1.8rem;
  }


  /* MEISTÄ */

  .about-image {
    height: 450px;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-values div {
    padding: 20px 5px;
  }


  /* PROSESSI */

  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-item {
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .process-item > span {
    margin-bottom: 30px;
  }


  /* FOOTER */

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;

    justify-content: center;

    gap: 10px;

    padding: 20px 0;

    text-align: center;
  }

}


/* ========================================
   YHTEYSTIEDOT PIENI MOBIILI
======================================== */

@media (max-width: 600px) {

  .lawyer-photo-wrapper {
    height: 500px;
  }

  .lawyer-contact-item {
    grid-template-columns: 48px 1fr auto;

    gap: 15px;
  }

  .lawyer-contact-icon {
    width: 42px;
    height: 42px;
  }

  .lawyer-intro {
    padding: 80px 0;
  }

  .simple-contact-cta {
    padding: 80px 0;
  }

  .simple-contact-buttons {
    flex-direction: column;
  }

  .simple-contact-buttons .btn {
    width: 100%;
  }

}


/* ========================================
   PIENET PUHELIMET
   alle 480px
======================================== */

@media (max-width: 480px) {

  .hero .container {
    width: 100%;

    padding-left: 20px;
    padding-right: 20px;
  }

  .hero h1 {
    font-size: clamp(2.45rem, 12vw, 3.3rem);
  }

  h2 {
    font-size: 2.5rem;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-card {
    min-height: 300px;

    padding: 26px 14px;
  }

  .service-card h3 {
    font-size: 1.2rem;
  }

  .service-card p {
    font-size: 0.78rem;
  }

  .service-icon {
    margin: 22px 0;

    font-size: 1.4rem;
  }

  .service-card-highlight h3 {
    font-size: 1.55rem;
  }

  .about-image {
    height: 380px;
  }

  .about-values {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-values span {
    font-size: 0.82rem;
  }

  .subpage-hero h1 {
    font-size: 2.8rem;
  }

  .service-detail-card {
    padding: 40px 22px;
  }

  .service-detail-card h2 {
    font-size: 2rem;
  }


}


/* ========================================
   ERITTÄIN PIENET PUHELIMET
======================================== */

@media (max-width: 420px) {

  .lawyer-photo-wrapper {
    height: 430px;
  }

}