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

/* =====================
   SAAVUTETTAVUUS – YLEISET
   ===================== */

/* Ruudunlukijoille näkyvä, visuaalisesti piilotettu teksti */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Ohita navigaatio -linkki näppäimistökäyttäjille */
.skip-link {
    position: absolute;
    top: -100%;
    left: 0;
    z-index: 9999;
    padding: 12px 20px;
    background: #2C2416;
    color: #F5F0E8;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    border-radius: 0 0 6px 0;
    transition: top 0.2s;
}
.skip-link:focus {
    top: 0;
}

/* Globaali fokustyyli – näppäimistönavigaatio */
:focus-visible {
    outline: 3px solid #7A8C5E;
    outline-offset: 3px;
    border-radius: 3px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    background-color: #F5F0E8;
    color: #2C2416;
}
.container {
    width: 90%;
    max-width: 1100px;
    margin: auto;
}

/* =====================
   HEADER
   ===================== */
header {
    position: relative;
    background: #2C2416;
    color: #F5F0E8;
    padding: 1rem 0;
}
header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    height: 50px;
    width: auto;
}
a:has(> .logo) {
    display: flex;
    align-items: center;
    text-decoration: none;
    outline: none;
}
nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}
nav ul li a {
    color: #F5F0E8;
    text-decoration: none;
    transition: color 0.2s;
}
nav ul li a:hover,
nav ul li a.nav-active {
    color: #7A8C5E;
}

/* =====================
   HERO (etusivu)
   ===================== */
.hero {
    position: relative;
    color: #F5F0E8;
    padding: 140px 0;
    text-align: center;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url('images/hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(3px);
    transform: scale(1.05);
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(44,36,22,0.55);
    z-index: 0;
}
.hero .container {
    position: relative;
    z-index: 1;
}
.hero h1,
.hero h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 8px;
}

/* =====================
   PAGE HERO (alasivut)
   ===================== */
.page-hero {
    background: #2C2416;
    color: #F5F0E8;
    padding: 100px 0 70px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23F5F0E8' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.page-hero h1 {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    color: #F5F0E8;
}
.page-hero p {
    font-size: 1.15rem;
    opacity: 0.85;
    max-width: 520px;
    margin: 0 auto;
    color: #F5F0E8;
}

/* =====================
   LEIVÄNMURU
   ===================== */
.breadcrumb {
    background: #F5F0E8;
    padding: 14px 0;
    font-size: 0.9rem;
    color: #8A7355;
    border-bottom: 1px solid #8A7355;
}
.breadcrumb a {
    color: #8A7355;
    text-decoration: none;
    font-weight: 600;
}
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb span { margin: 0 8px; opacity: 0.5; }

/* =====================
   BUTTON
   ===================== */
.btn {
    display: inline-block;
    margin-top: 28px;
    padding: 14px 32px;
    background: #7A8C5E;
    color: #F5F0E8;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 600;
    transition: background 0.2s;
}
.btn:hover {
    background: #8A7355;
}
.btn:focus-visible {
    outline: 3px solid #F5F0E8;
    outline-offset: 3px;
    background: #8A7355;
}

/* =====================
   SECTIONS
   ===================== */
.section {
    padding: 80px 0;
}
.light {
    background: #EDE8DF;
}
.section h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2C2416;
    margin-bottom: 12px;
    padding-bottom: 12px;
    border-bottom: 3px solid #8A7355;
    display: inline-block;
}
.section > .container > h2 {
    margin-bottom: 40px;
}
.section h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2C2416;
    margin-bottom: 8px;
}
.section p {
    font-size: 1.1rem;
    color: #2C2416;
    margin-bottom: 16px;
}

/* =====================
   FORM
   ===================== */
form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #8A7355;
    border-radius: 5px;
    background: #F5F0E8;
    color: #2C2416;
}
form input:focus,
form textarea:focus {
    outline: none;
    border-color: #7A8C5E;
}
button {
    padding: 10px 20px;
    border: none;
    background: #8A7355;
    color: #F5F0E8;
    cursor: pointer;
    border-radius: 5px;
    transition: background 0.2s;
}
button:hover {
    background: #7A8C5E;
}

/* =====================
   FOOTER
   ===================== */
footer {
    background: #2C2416;
    color: #F5F0E8;
    text-align: center;
    padding: 20px 0;
}

/* =====================
   CTA-BANNERI
   ===================== */
.cta-banneri {
    background: #8A7355;
    padding: 70px 0;
    text-align: center;
}
.cta-banneri h2 {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 700;
    color: #F5F0E8;
    border: none;
    display: block;
    padding: 0;
    margin-bottom: 14px;
}
.cta-banneri p {
    font-size: 1.05rem;
    color: #F5F0E8;
    opacity: 0.9;
    max-width: 500px;
    margin: 0 auto 0;
    line-height: 1.7;
}
.cta-banneri .btn {
    background: #2C2416;
    color: #F5F0E8;
    margin-top: 28px;
}
.cta-banneri .btn:hover {
    background: #7A8C5E;
}

/* =====================
   KORTIT (yhteiset)
   ===================== */
.kortti,
.palvelu-kortti,
.palaute-kortti {
    background: #F5F0E8;
    border: 1px solid #8A7355;
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
    padding: 30px 20px;
    display: flex;
    flex-direction: column;
}
/* Kontrasti AA: #5C4A2A / #F5F0E8 ≈ 6.1:1 ✓ */
.kortti p,
.palvelu-kortti p,
.palaute-kortti p {
    color: #5C4A2A;
}
.kortti:hover,
.palvelu-kortti:hover,
.palaute-kortti:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(44,36,22,0.12);
}

/* =====================
   GRID-ASETTELUT (etusivu)
   ===================== */
.korttirivi, .palvelut-grid, .palaute-rivi, .palvelu-tieto {
    display: grid;
    gap: 24px;
    margin: 40px 0;
}
.korttirivi { grid-template-columns: repeat(4, 1fr); }
.palvelut-grid { grid-template-columns: repeat(3, 1fr); }
.palaute-rivi { grid-template-columns: repeat(3, 1fr); }
.palvelu-tieto { grid-template-columns: repeat(3, 1fr); }

/* Korttikohtaiset erot */
.kortti {
    text-align: center;
}
.kortti-ikoni {
    font-size: 2.5rem;
    margin-bottom: 15px;
    display: block;
}

.palvelu-ikoni {
  width: 100%;
}
.palvelu-kortti h3 {
    border-bottom: 2px solid #8A7355;
    padding-bottom: 8px;
    margin-bottom: 15px;
}
.palaute-kortti {
    justify-content: space-between;
}

/* =====================
   ASIAKASPALAUTTEET
   ===================== */
.tahdet {
    font-size: 1.1rem;
    margin-bottom: 15px;
}
.palaute-teksti {
    font-size: 1.1rem;
    color: #2C2416;
    line-height: 1.7;
    flex-grow: 1;
    margin-bottom: 24px;
}
.palaute-asiakas {
    display: flex;
    align-items: center;
    gap: 12px;
}
.asiakas-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #7A8C5E;
    color: #F5F0E8;
    font-weight: 700;
    font-size: 1.15rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.palaute-asiakas strong {
    display: block;
    font-size: 0.95rem;
    color: #2C2416;
}
.palaute-asiakas span {
    font-size: 1.1rem;
    color: #8A7355;
}

/* =====================
   SOME-LINKIT
   ===================== */
.some-linkit {
    margin-top: 40px;
    text-align: center;
}
.some-linkit h3 {
    margin-bottom: 15px;
}
.some-rivi {
    display: flex;
    justify-content: center;
    gap: 15px;
}
.some-nappi {
    display: inline-block;
    padding: 10px 20px;
    background: #8A7355;
    color: #F5F0E8;
    text-decoration: none;
    border-radius: 25px;
    font-size: 0.9rem;
    transition: background 0.2s;
}
.some-nappi:hover {
    background: #7A8C5E;
}

/* =====================
   LÄHETETTY-KUITTAUS
   ===================== */
.lahetetty-viesti {
    display: none;
    margin-top: 20px;
    padding: 15px 20px;
    background: #f0f4eb;
    border: 1px solid #7A8C5E;
    border-radius: 8px;
    color: #7A8C5E;
    font-weight: 600;
    font-size: 1rem;
}

/* =====================
   MOBIILINAVIGAATIO
   ===================== */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    padding: 6px;
    background: none;
    border: none;
    color: #F5F0E8;
}
.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: #F5F0E8;
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.hamburger.auki span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.auki span:nth-child(2) { opacity: 0; }
.hamburger.auki span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* =====================
   PALVELUT-SIVU: DETAIL
   ===================== */
.palvelu-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.palvelu-detail--kaannetty {
    direction: rtl;
}
.palvelu-detail--kaannetty > * {
    direction: ltr;
}
.palvelu-detail-otsikko {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}
.palvelu-detail-otsikko h2 {
    border-bottom: 3px solid #8A7355;
    padding-bottom: 10px;
    margin-bottom: 0;
    font-size: 1.8rem;
}
.palvelu-nro {
    font-size: 2.8rem;
    font-weight: 700;
    color: #8A7355;
    opacity: 0.35;
    line-height: 1;
    flex-shrink: 0;
    margin-top: -6px;
}
.palvelu-detail-sisalto p {
    color: #2C2416;
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 16px;
}
.palvelu-lista {
    list-style: none;
    margin-top: 8px;
}
.palvelu-lista li {
    padding: 8px 0 8px 24px;
    position: relative;
    color: #2C2416;
    font-size: 1rem;
    border-bottom: 1px solid rgba(138,115,85,0.2);
}
.palvelu-lista li:last-child {
    border-bottom: none;
}
.palvelu-lista li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #7A8C5E;
    font-weight: 700;
}
.ikoni-iso {
  	width: 100%;
    border-radius: 16px;
    box-shadow: 0 12px 40px rgba(44,36,22,0.18);
}

/* =====================
   PALVELUT-SIVU: PROSESSI
   ===================== */
.prosessi-rivi {
    display: flex;
    align-items: flex-start;
    gap: 0;
    margin-top: 48px;
    flex-wrap: wrap;
}
.prosessi-askel {
    flex: 1;
    min-width: 140px;
    text-align: center;
    padding: 0 12px;
}
.prosessi-numero {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #8A7355;
    color: #F5F0E8;
    font-size: 1.4rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.prosessi-askel h3 {
    font-size: 1rem;
    color: #2C2416;
    margin-bottom: 8px;
}
.prosessi-askel p {
    font-size: 0.9rem;
    color: #5C4A2A;
    line-height: 1.55;
    margin-bottom: 0;
}
.prosessi-nuoli {
    font-size: 2rem;
    color: #8A7355;
    opacity: 0.4;
    padding-top: 10px;
    flex-shrink: 0;
    align-self: flex-start;
}

/* =====================
   PALVELUT-SIVU: UKK
   ===================== */
.ukk-lista {
    margin-top: 36px;
    max-width: 780px;
}
.ukk-item {
    border: 1px solid #8A7355;
    border-radius: 10px;
    margin-bottom: 12px;
    background: #F5F0E8;
    overflow: hidden;
    transition: box-shadow 0.2s;
}
.ukk-item:hover {
    box-shadow: 0 4px 16px rgba(44,36,22,0.10);
}
.ukk-item summary {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 1.05rem;
    color: #2C2416;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.ukk-item summary::-webkit-details-marker { display: none; }
.ukk-item summary::after {
    content: '+';
    font-size: 1.4rem;
    font-weight: 400;
    color: #8A7355;
    flex-shrink: 0;
    transition: transform 0.25s;
}
.ukk-item[open] summary::after {
    transform: rotate(45deg);
}
.ukk-item p {
    padding: 0 24px 20px;
    font-size: 1rem;
    color: #5C4A2A;
    line-height: 1.7;
    margin: 0;
}

/* =====================
   PALVELUT-SIVU: LUE LISÄÄ -LINKKI
   ===================== */
.palvelu-lue-lisaa {
    display: inline-block;
    margin-top: 20px;
    font-size: 0.95rem;
    font-weight: 700;
    color: #8A7355;
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: color 0.2s, border-color 0.2s;
    padding-bottom: 2px;
}
.palvelu-lue-lisaa:hover {
    color: #2C2416;
    border-bottom-color: #8A7355;
}
.palvelu-lue-lisaa::after {
    content: ' →';
}

/* =====================
   YRITYS-SIVU: TARINA
   ===================== */
.tarina-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-top: 20px;
}
.tarina-kuva {
  	width: 100%;
    border-radius: 12px;
    box-shadow: 0 12px 40px rgba(44,36,22,0.2);
}

/* =====================
   YRITYS-SIVU: ARVOT
   ===================== */
.arvot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin: 36px 0;
}

/* =====================
   YRITYS-SIVU: TIIMI
   ===================== */
.tiimi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin: 36px 0;
}
.tiimi-kortti {
    text-align: center;
}
.tiimi-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #7A8C5E;
    color: #F5F0E8;
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
}
.tiimi-rooli {
    color: #5C4A2A;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}
.tiimi-bio {
    color: #5C4A2A;
    font-size: 0.97rem;
    line-height: 1.65;
    margin-bottom: 0;
}

/* =====================
   YRITYS-SIVU: AIKAJANA
   ===================== */
.aikajana {
    position: relative;
    margin-top: 40px;
    padding-left: 36px;
}
.aikajana::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: #8A7355;
    border-radius: 2px;
}
.aikajana-item {
    position: relative;
    margin-bottom: 36px;
    padding-left: 16px;
}
.aikajana-item::before {
    content: '';
    position: absolute;
    left: -32px;
    top: 6px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #7A8C5E;
    border: 3px solid #EDE8DF;
    box-shadow: 0 0 0 3px #8A7355;
}
.aikajana-vuosi {
    font-size: 0.82rem;
    font-weight: 700;
    color: #7A8C5E;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
}
.aikajana-item h3 {
    font-size: 1.05rem;
    color: #2C2416;
    font-weight: 700;
    margin-bottom: 6px;
}
.aikajana-item p {
    color: #5C4A2A;
    font-size: 0.97rem;
    line-height: 1.65;
    max-width: 100%;
    margin-bottom: 0;
}

/* =====================
   YRITYS-SIVU: NUMEROT
   ===================== */
.numerot-section {
    background: #2C2416;
    padding: 70px 0;
}
.numerot-section h2 {
    text-align: center;
    color: #F5F0E8 !important;
    border-bottom-color: #8A7355;
    margin-bottom: 40px !important;
}
.numerot-rivi {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 24px;
}
.numero-kortti {
    text-align: center;
    padding: 32px 20px;
    background: rgba(245,240,232,0.07);
    border-radius: 12px;
    border: 1px solid rgba(138,115,85,0.4);
}
.numero-luku {
    font-size: 2.8rem;
    font-weight: 700;
    color: #7A8C5E;
    line-height: 1;
    margin-bottom: 8px;
}
.numero-label {
    font-size: 0.92rem;
    color: #F5F0E8;
    opacity: 0.75;
    line-height: 1.4;
}

/* =====================
   YHTEYS-OSIO: ETUSIVU-VARIANTTI
   ===================== */

/* Kortit vaakarivinä etusivulla (4 vierekkäin) */
.yhteys-kortit--rivi {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

/* Alaosa: linkki + some vierekkäin */
.yhteys-alaosa {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
    padding-top: 28px;
    border-top: 1px solid rgba(138,115,85,0.3);
}
.yhteys-lisatiedot {
    font-size: 1rem;
    color: #8A7355;
    margin: 0;
}
.yhteys-lisatiedot a {
    color: #2C2416;
    font-weight: 700;
    text-decoration: none;
    transition: color 0.2s;
}
.yhteys-lisatiedot a:hover {
    color: #7A8C5E;
}

/* Some-linkit kompakti versio (ei top-marginia) */
.some-linkit--kompakti {
    margin-top: 0;
    text-align: right;
}
.some-linkit--kompakti h3 {
    margin-bottom: 10px;
    font-size: 1rem;
}

/* =====================
   YHTEYS-SIVU: GRID
   ===================== */
.yhteys-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: flex-start;
}
.yhteys-info h2,
.yhteys-lomake-alue h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #2C2416;
    padding-bottom: 12px;
    border-bottom: 3px solid #8A7355;
    display: inline-block;
    margin-bottom: 32px;
}
.yhteys-lomake-alue > p {
    color: #8A7355;
    margin-bottom: 28px;
    font-size: 1.05rem;
}

/* =====================
   YHTEYS-SIVU: TIETOKORTIT
   ===================== */
.yhteys-kortit {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 32px;
}
.yhteys-kortti {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 18px 20px;
    background: #F5F0E8;
    border: 1px solid #8A7355;
    border-radius: 10px;
    transition: transform 0.2s, box-shadow 0.2s;
}
.yhteys-kortti:hover {
    transform: translateX(4px);
    box-shadow: 0 4px 16px rgba(44,36,22,0.10);
}
.yhteys-ikoni {
    font-size: 1.6rem;
    flex-shrink: 0;
    margin-top: 2px;
}
.yhteys-kortti h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: #8A7355;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: 4px;
}
.yhteys-kortti p {
    font-size: 1rem;
    color: #2C2416;
    margin: 0;
    line-height: 1.5;
}
.yhteys-kortti a {
    color: #2C2416;
    text-decoration: none;
    font-weight: 600;
}
.yhteys-kortti a:hover {
    color: #7A8C5E;
}

/* =====================
   YHTEYS-SIVU: KARTTA
   ===================== */
.kartta-alue {
    margin-bottom: 32px;
}
.kartta-placeholder {
    background: linear-gradient(145deg, #8A7355 0%, #2C2416 100%);
    border-radius: 12px;
    padding: 48px 24px;
    text-align: center;
    color: #F5F0E8;
}
.kartta-ikoni {
    font-size: 3rem;
    display: block;
    margin-bottom: 12px;
}
.kartta-placeholder p {
    font-size: 1rem;
    color: rgba(245,240,232,0.8);
    margin-bottom: 0;
}
.kartta-btn {
    margin-top: 20px;
    background: rgba(245,240,232,0.15);
    border: 1px solid rgba(245,240,232,0.4);
    color: #F5F0E8;
    padding: 10px 24px;
    font-size: 0.95rem;
}
.kartta-btn:hover {
    background: rgba(245,240,232,0.25);
}

/* =====================
   YHTEYS-SIVU: LOMAKE
   ===================== */
.yhteys-form {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.form-rivi {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.form-kentta {
    display: flex;
    flex-direction: column;
    margin-bottom: 18px;
}
.form-kentta label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #2C2416;
    margin-bottom: 6px;
}
.yhteys-form input,
.yhteys-form textarea,
.yhteys-form select {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #8A7355;
    border-radius: 8px;
    background: #F5F0E8;
    color: #2C2416;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
    appearance: none;
    -webkit-appearance: none;
    margin-bottom: 0;
}
.yhteys-form input:focus,
.yhteys-form textarea:focus,
.yhteys-form select:focus {
    outline: none;
    border-color: #7A8C5E;
    box-shadow: 0 0 0 3px rgba(122,140,94,0.15);
}
.yhteys-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238A7355' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
    cursor: pointer;
}
.btn-laheta {
    padding: 14px 32px;
    background: #8A7355;
    color: #F5F0E8;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, transform 0.15s;
    font-family: 'Inter', sans-serif;
    margin-top: 6px;
    align-self: flex-start;
}
.btn-laheta:hover {
    background: #7A8C5E;
    transform: translateY(-2px);
}

/* =====================
   YHTEYS-SIVU: PIKAVASTAUKSET
   ===================== */
.pikavastaukset {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 40px;
}
.pikakortti {
    background: #F5F0E8;
    border: 1px solid #8A7355;
    border-radius: 12px;
    padding: 28px 20px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}
.pikakortti:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(44,36,22,0.12);
}
.pikakortti-ikoni {
    font-size: 2.2rem;
    margin-bottom: 14px;
    display: block;
}
.pikakortti h3 {
    font-size: 1rem;
    font-weight: 700;
    color: #2C2416;
    margin-bottom: 10px;
}
.pikakortti p {
    font-size: 0.95rem;
    color: #5C4A2A;
    line-height: 1.6;
    margin: 0;
}

/* =====================
   RESPONSIIVISUUS
   ===================== */
@media (max-width: 900px) {
    .palvelut-grid, .korttirivi, .palvelu-tieto { grid-template-columns: repeat(2, 1fr); }
    .prosessi-rivi { gap: 8px; }
    .prosessi-nuoli { display: none; }
    .pikavastaukset { grid-template-columns: repeat(2, 1fr); }
    .yhteys-kortit--rivi { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .palaute-rivi { grid-template-columns: 1fr; }
    .tarina-grid { grid-template-columns: 1fr; gap: 30px; }
    .palvelu-detail,
    .palvelu-detail--kaannetty {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    /* Kuva aina tekstin yläpuolelle mobiilissa */
    .palvelu-detail .palvelu-detail-kuva {
        order: -1;
    }
    .palvelu-detail--kaannetty .palvelu-detail-sisalto {
        order: 1;
    }
    .ikoni-iso {  }
    .yhteys-grid { grid-template-columns: 1fr; gap: 48px; }
    .form-rivi { grid-template-columns: 1fr; }
    .hamburger { display: flex; }
    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: #2C2416;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.35s ease, padding 0.35s ease;
        z-index: 100;
    }
    nav.auki {
        max-height: 300px;
        padding: 10px 0 20px;
    }
    nav ul {
        flex-direction: column;
        gap: 0;
        width: 90%;
        margin: auto;
    }
    nav ul li a {
        display: block;
        padding: 12px 0;
        font-size: 1.05rem;
        border-bottom: 1px solid rgba(245,240,232,0.1);
    }
    nav ul li:last-child a { border-bottom: none; }
}
@media (max-width: 480px) {
    .korttirivi, .palvelut-grid, .palvelu-tieto { grid-template-columns: 1fr; }
    .prosessi-askel { min-width: 100%; }
    .pikavastaukset { grid-template-columns: 1fr; }
    .yhteys-kortit--rivi { grid-template-columns: 1fr; }
    .some-linkit--kompakti { text-align: left; }
}