/**
 * Julkisten sivujen CSS
 */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background: #f5f5f5;
}

/* Header */
body.contact-public .site-header {
    background: #2196F3;
    color: white;
    padding: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

body.contact-public .site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

body.contact-public .logo {
    font-size: 24px;
    font-weight: 600;
}

body.contact-public .site-header nav {
    display: flex;
    gap: 20px;
}

body.contact-public .site-header nav a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background 0.2s;
}

body.contact-public .site-header nav a:hover,
body.contact-public .site-header nav a.active {
    background: rgba(255, 255, 255, 0.2);
}

/* Main container */
body.contact-public .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Contact page */
.contact-page {
    max-width: 800px;
    margin: 0 auto;
}

.intro {
    text-align: center;
    margin-bottom: 40px;
}

.intro h2 {
    font-size: 32px;
    margin-bottom: 10px;
    color: #2196F3;
}

.intro p {
    font-size: 18px;
    color: #666;
}

/* Contact form */
.contact-form {
    background: white;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.form-section {
    display: block;
    margin-bottom: 30px;
    padding: 25px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-section.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.form-section h3 {
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #2196F3;
    color: #2196F3;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 16px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.form-group textarea {
    resize: vertical;
}

.form-group small {
    display: block;
    margin-top: 5px;
    color: #666;
    font-size: 14px;
}

.error {
    display: block;
    color: #f44336;
    font-size: 14px;
    margin-top: 5px;
}

/* Info box */
.info-box {
    background: #e3f2fd;
    border-left: 4px solid #2196F3;
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
}

.info-box p {
    margin: 0;
    color: #1976D2;
}

/* Autocomplete */
.autocomplete-wrapper {
    position: relative;
}

.suggestions-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border: 1px solid #ddd;
    border-top: none;
    border-radius: 0 0 4px 4px;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    z-index: 10;
}

.suggestion-item {
    padding: 12px;
    cursor: pointer;
    transition: background 0.2s;
}

.suggestion-item:hover {
    background: #f5f5f5;
}

.suggestion-item.no-results {
    cursor: default;
    color: #999;
}

/* Selected pests */
.selected-pests {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
    min-height: 50px;
}

.no-pests {
    color: #999;
    font-style: italic;
}

.pest-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #e3f2fd;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 14px;
    color: #1976D2;
}

.remove-pest {
    background: none;
    border: none;
    color: #1976D2;
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background 0.2s;
}

.remove-pest:hover {
    background: rgba(33, 150, 243, 0.2);
}

/* Upload placeholder */
.upload-placeholder {
    border: 2px dashed #ddd;
    padding: 40px;
    text-align: center;
    border-radius: 4px;
    background: #fafafa;
}

.upload-placeholder p {
    margin: 0;
    color: #666;
    font-size: 18px;
}

.upload-placeholder small {
    color: #999;
}

/* Form actions */
.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    display: inline-block;
    transition: all 0.2s;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-primary {
    background: #2196F3;
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background: #1976D2;
}

.btn-secondary {
    background: #757575;
    color: white;
}

.btn-secondary:hover:not(:disabled) {
    background: #616161;
}

.btn-success {
    background: #4CAF50;
    color: white;
}

.btn-success:hover:not(:disabled) {
    background: #45a049;
}

/* Success message */
.success-message {
    background: white;
    padding: 60px 40px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    text-align: center;
}

.success-icon {
    font-size: 64px;
    margin-bottom: 20px;
}

.success-message h3 {
    font-size: 28px;
    margin-bottom: 15px;
    color: #4CAF50;
}

.success-message p {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

/* Footer */
body.contact-public .site-footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: 60px;
}

body.contact-public .site-footer p {
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    body.contact-public .site-header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    body.contact-public .site-header nav {
        width: 100%;
        justify-content: center;
    }
    
    .contact-form {
        padding: 30px 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .upload-previews {
        grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    }
}

@media (max-width: 480px) {
    .intro h2 {
        font-size: 24px;
    }
    
    .intro p {
        font-size: 16px;
    }
    
    .contact-form {
        padding: 20px 15px;
    }
    
    .upload-area {
        padding: 20px;
    }
    
    .upload-icon {
        font-size: 36px;
    }
    
    .upload-text {
        font-size: 14px;
    }
    
    .upload-previews {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   UPLOAD AREA
   ============================================ */

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    background: #fafafa;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.upload-area.dragover {
    border-color: #28a745;
    background: #f0fff4;
    border-style: solid;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.upload-text {
    margin: 0;
    color: #666;
    font-size: 16px;
}

.upload-browse {
    color: #007bff;
    text-decoration: underline;
    cursor: pointer;
}

.upload-browse:hover {
    color: #0056b3;
}

.upload-info {
    margin-top: 10px;
    text-align: center;
}

.upload-info small {
    color: #666;
    font-size: 14px;
}

/* Esikatselut */
.upload-previews {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.preview-item {
    position: relative;
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    background: #fff;
}

.preview-image {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
}

.preview-name {
    padding: 5px;
    font-size: 12px;
    color: #666;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    background: #f8f9fa;
}

.preview-remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(220, 53, 69, 0.9);
    color: white;
    border: none;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    font-size: 16px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}

.preview-remove:hover {
    background: rgba(200, 35, 51, 1);
}

.preview-size {
    position: absolute;
    bottom: 5px;
    left: 5px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 2px 6px;
    border-radius: 3px;
    font-size: 11px;
}

.upload-error {
    margin-top: 10px;
    padding: 10px;
    background: #f8d7da;
    border: 1px solid #f5c6cb;
    border-radius: 4px;
    color: #721c24;
    font-size: 14px;
}

/* Static public content pages */
body.public-content { font-family: "Manrope", sans-serif; font-weight: 400; }
body.public-content h1, body.public-content h2, body.public-content h3, body.public-content h4, body.public-content h5, body.public-content h6 { font-family: "Manrope", sans-serif; font-weight: 700; }
body.public-content button, body.public-content .fp-btn { font-family: "Manrope", sans-serif; font-weight: 500; }
.fp-page { background: linear-gradient(180deg, #f4f6f7 0%, #ffffff 18%, #f4f6f7 100%); color: #263238; }
.fp-shell { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.site-header { background: radial-gradient(circle at 82% 12%, rgba(255,255,255,.08), transparent 34%), #0F4C5C; color: #e6eef0; box-shadow: 0 1px 0 rgba(255,255,255,.06), 0 4px 16px rgba(0,0,0,.25); position: sticky; top: 0; z-index: 100; }
.site-header .container { max-width: 1700px; margin: 0 auto; padding: 0 30px; min-height: 60px; display: flex; align-items: center; gap: 8px; }
.site-header .logo { margin: 0 24px 0 0; font-size: 16px; font-weight: 700; letter-spacing: -0.3px; color: #ffffff; white-space: nowrap; display: flex; align-items: center; gap: 8px; }
.site-header .logo::before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #E69F00; box-shadow: 0 0 0 3px rgba(230,159,0,.25); flex-shrink: 0; }
.fp-nav-overlay { position: fixed; inset: 60px 0 0; background: rgba(6, 39, 47, .46); opacity: 0; transition: opacity .18s cubic-bezier(.4,0,.2,1); z-index: 90; }
.fp-nav-overlay.is-visible { opacity: 1; }
.fp-menu-toggle { display: none; align-items: center; gap: 9px; padding: 9px 12px; margin-left: auto; background: rgba(255,255,255,.07); color: #ffffff; border: 1px solid rgba(255,255,255,.28); border-radius: 8px; cursor: pointer; }
.fp-menu-toggle-icon { position: relative; display: block; width: 20px; height: 14px; flex-shrink: 0; }
.fp-menu-toggle-bar { position: absolute; left: 0; display: block; width: 20px; height: 2px; background: currentColor; border-radius: 999px; transition: top .18s cubic-bezier(.4,0,.2,1), transform .18s cubic-bezier(.4,0,.2,1), opacity .18s cubic-bezier(.4,0,.2,1); transform-origin: center; }
.fp-menu-toggle-bar:nth-child(1) { top: 0; }
.fp-menu-toggle-bar:nth-child(2) { top: 6px; }
.fp-menu-toggle-bar:nth-child(3) { top: 12px; }
.fp-menu-toggle-label { font-size: 14px; font-weight: 700; }
.fp-menu-toggle.is-open .fp-menu-toggle-bar:nth-child(1) { top: 6px; transform: rotate(45deg); }
.fp-menu-toggle.is-open .fp-menu-toggle-bar:nth-child(2) { opacity: 0; }
.fp-menu-toggle.is-open .fp-menu-toggle-bar:nth-child(3) { top: 6px; transform: rotate(-45deg); }
.fp-main-nav { display: flex; flex-wrap: wrap; gap: 2px; align-items: center; justify-content: flex-end; flex: 1; }
.fp-nav-item { position: relative; display: inline-flex; align-items: center; }
.fp-nav-item-row { display: flex; align-items: center; }
.fp-nav-item::before { content: ''; position: absolute; top: 100%; left: 0; right: 0; height: 10px; background: transparent; display: none; z-index: 999; }
.fp-nav-item:hover::before,
.fp-nav-item:focus-within::before { display: block; }
.fp-nav-link { display: block; padding: 8px 14px; min-height: auto; text-decoration: none; color: #e6eef0; border-radius: 6px; font-size: 13.5px; font-weight: 500; background: transparent; border-bottom: none; transition: background .18s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1); white-space: nowrap; }
.fp-nav-link:hover { background: #176477; color: #ffffff; }
.fp-nav-link.is-active { background: #0a3e4b; color: #E69F00; }
.fp-nav-mobile-toggle { display: none; width: 36px; height: 36px; margin-left: 2px; background: transparent; color: #e6eef0; border: none; border-radius: 6px; cursor: pointer; position: relative; }
.fp-nav-mobile-toggle::before { content: ''; position: absolute; top: 50%; left: 50%; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translate(-50%, -60%) rotate(45deg); }
.fp-nav-item-has-children:hover .fp-nav-link-has-children,
.fp-nav-item-has-children:focus-within .fp-nav-link-has-children { background: #176477; color: #ffffff; }
.fp-nav-item-has-children.is-active .fp-nav-link-has-children { background: #0a3e4b; color: #E69F00; }
.fp-nav-dropdown { display: none; position: absolute; top: calc(100% + 10px); left: 0; min-width: 220px; padding: 6px; list-style: none; border-radius: 10px; background: #ffffff; border: 1px solid #dce3e5; box-shadow: 0 10px 24px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06); animation: dropdownIn .14s cubic-bezier(.4,0,.2,1); z-index: 1000; }
.fp-nav-item-has-children:hover .fp-nav-dropdown,
.fp-nav-item-has-children:focus-within .fp-nav-dropdown,
.fp-nav-dropdown:hover { display: grid; gap: 0; }
.fp-nav-dropdown .fp-nav-dropdown-link { display: block; padding: 9px 12px; border-radius: 6px; text-decoration: none; color: #000000 !important; -webkit-text-fill-color: #000000; opacity: 1; font-size: 13.5px; font-weight: 500; background: transparent !important; transition: background .18s cubic-bezier(.4,0,.2,1), color .18s cubic-bezier(.4,0,.2,1); }
.fp-nav-dropdown .fp-nav-dropdown-link:visited { color: #000000 !important; -webkit-text-fill-color: #000000; }
.fp-nav-dropdown .fp-nav-dropdown-link:hover,
.fp-nav-dropdown .fp-nav-dropdown-link:focus { background: #f2f4f5 !important; color: #0F4C5C !important; -webkit-text-fill-color: #0F4C5C; }
.fp-nav-dropdown .fp-nav-dropdown-link.is-active { background: #fff4d6 !important; color: #0F4C5C !important; -webkit-text-fill-color: #0F4C5C; }
@keyframes dropdownIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.fp-hero { padding: 72px 0 56px; background: radial-gradient(circle at 82% 12%, rgba(255,255,255,.08), transparent 34%), #0F4C5C; color: #f7faf8; }
.fp-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr); gap: 32px; align-items: center; }
.fp-copy { max-width: 680px; }
.fp-eyebrow { display: inline-flex; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.18); font-size: 14px; margin-bottom: 18px; }
.fp-hero-title { font-size: clamp(40px, 5vw, 66px); line-height: 1.02; margin: 0 0 18px; letter-spacing: -0.03em; }
.fp-richtext p { margin: 0 0 14px; }
.fp-richtext ul, .fp-richtext ol { margin: 0 0 14px 20px; }
.fp-richtext a { color: inherit; }
.fp-button-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }
.fp-btn { display: inline-flex; align-items: center; justify-content: center; padding: 14px 22px; border-radius: 999px; text-decoration: none; font-weight: 500; }
.fp-btn-primary { background: #E69F00; color: #172b31; }
.fp-btn-secondary { background: transparent; color: #f7faf8; border: 1px solid rgba(255,255,255,.35); }
.fp-visual { min-width: 0; }
.fp-visual .fp-media-block { display: block; margin: 0; }
.fp-hero-image, .fp-about-image, .fp-group-image, .fp-card-image { width: 100%; display: block; border-radius: 24px; object-fit: cover; box-shadow: 0 20px 50px rgba(0,0,0,.18); }
.fp-hero-image { height: auto; min-height: 0; object-position: center; background: rgba(255,255,255,.12); }
.fp-section { padding: 56px 0; }
.fp-section-head { margin-bottom: 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.fp-section-head h2 { font-size: clamp(28px, 4vw, 42px); line-height: 1.08; margin: 0; color: #0F4C5C; }
.fp-section-link { color: #0F4C5C; font-weight: 700; text-decoration: none; }
.fp-about-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr); gap: 28px; align-items: start; }
.fp-about-side { display: grid; gap: 18px; }
.fp-highlight-grid { display: grid; gap: 16px; }
.fp-highlight-card { background: #fff; border: 1px solid #dce3e5; border-radius: 18px; padding: 18px; box-shadow: 0 12px 24px rgba(33, 46, 39, .06); }
.fp-highlight-card h3 { margin: 0 0 10px; color: #0F4C5C; }
.fp-catalog-group { background: #fff; border: 1px solid #dce3e5; border-radius: 28px; padding: 24px; box-shadow: 0 18px 35px rgba(25, 44, 36, .06); margin-bottom: 24px; }
.fp-catalog-group-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, .6fr); gap: 24px; align-items: center; margin-bottom: 20px; }
.fp-catalog-group h3 { margin: 0 0 8px; font-size: 30px; color: #0F4C5C; }
.fp-catalog-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.fp-catalog-card { background: #f4f6f7; border: 1px solid #dce3e5; border-radius: 20px; padding: 18px; }
.fp-catalog-card h4 { margin: 0 0 10px; color: #0F4C5C; font-size: 22px; }
.fp-location-page .fp-catalog-card,
.fp-service-area-section .fp-catalog-card { display: flex; flex-direction: column; }
.fp-location-page .fp-catalog-card h3,
.fp-service-area-section .fp-catalog-card h3 { margin: 0 0 10px; color: #0F4C5C; font-size: 22px; }
.fp-location-page .fp-catalog-card .fp-section-link,
.fp-service-area-section .fp-catalog-card .fp-section-link { margin-top: auto; padding-top: 8px; }
.fp-location-process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.fp-location-process .fp-highlight-card > span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; margin-bottom: 12px; border-radius: 50%; background: #E69F00; color: #172b31; font-weight: 700; }
.fp-location-page .fp-highlight-card h2,
.fp-location-page .fp-info-card h2 { margin: 0 0 10px; color: #0F4C5C; font-size: 24px; line-height: 1.2; }
.fp-service-area-section .fp-section-head p { max-width: 760px; margin: 10px 0 0; color: #59696e; }
.fp-card-image { max-height: 190px; margin-bottom: 14px; }
.fp-card-summary { color: #34454a; }
.fp-card-details { margin-top: 12px; }
.fp-card-details summary { cursor: pointer; font-weight: 700; color: #9a6900; }
.fp-subcatalog { margin-top: 16px; padding-top: 16px; border-top: 1px dashed #d4dde0; }
.fp-cta-band { padding: 60px 0 72px; background: #f4f6f7; border-top: 1px solid #dce3e5; text-align: center; }
.fp-media-caption { font-size: 14px; color: #59696e; margin-top: 8px; }
@media (max-width: 920px) { .fp-hero-grid, .fp-about-grid, .fp-catalog-group-head { grid-template-columns: 1fr; } .fp-section-head { display: grid; } .fp-visual { width: 100%; max-width: 720px; margin: 0 auto; } }
body.fp-nav-open { overflow: hidden; }
@media (max-width: 768px) { .site-header .container { padding: 12px 16px; flex-wrap: wrap; align-items: stretch; } .site-header .logo { margin-right: 0; } .fp-menu-toggle { display: inline-flex; margin-left: auto; } .fp-main-nav { width: 100%; justify-content: flex-start; gap: 2px; display: none; position: relative; z-index: 100; } .fp-main-nav.show { display: flex; } .fp-nav-item { width: 100%; display: block; } .fp-nav-item::before { display: none !important; } .fp-nav-item-row { width: 100%; } .fp-nav-link { width: 100%; } .fp-nav-link-has-children::after { display: none; } .fp-nav-mobile-toggle { display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; } .fp-nav-item-has-children:hover .fp-nav-dropdown, .fp-nav-item-has-children:focus-within .fp-nav-dropdown, .fp-nav-dropdown:hover { display: none; } .fp-nav-item-has-children.is-open .fp-nav-dropdown { display: grid; } .fp-nav-item-has-children.is-open .fp-nav-mobile-toggle::before { transform: translate(-50%, -40%) rotate(-135deg); } .fp-nav-dropdown { position: static; min-width: 0; margin-top: 6px; } }
@media (min-width: 769px) { .fp-nav-overlay { display: none !important; } }
@media (max-width: 640px) { .fp-shell { padding: 0 18px; } .fp-hero { padding-top: 56px; } .fp-btn { width: 100%; } .fp-hero-image { border-radius: 18px; } }

/* Contact page: shared public-site theme */
body.contact-public { background:#f4f6f7; color:#263238; font-family:"Manrope",sans-serif; font-weight:400; }
body.contact-public h1, body.contact-public h2, body.contact-public h3 { font-family:"Manrope",sans-serif; font-weight:700; }
body.contact-public .site-header { background:#0F4C5C; color:#fff; padding:0; box-shadow:0 1px 0 rgba(255,255,255,.08),0 4px 16px rgba(0,0,0,.18); }
body.contact-public .site-header .container { max-width:1440px; min-height:60px; padding:0 24px; }
body.contact-public .logo { margin:0 24px 0 0; font-size:16px; font-weight:700; }
body.contact-public .site-header nav { gap:4px; }
body.contact-public .site-header nav a { padding:9px 14px; border-radius:6px; color:#e6eef0; font-size:13.5px; font-weight:500; }
body.contact-public .site-header nav a:hover { background:#176477; color:#fff; }
body.contact-public .site-header nav a.active { background:#0a3e4b; color:#E69F00; }
body.contact-public > main.container { padding-top:56px; padding-bottom:20px; }
body.contact-public .intro { margin-bottom:30px; }
body.contact-public .intro h2 { color:#0F4C5C; font-size:clamp(30px,4vw,42px); line-height:1.12; }
body.contact-public .intro p { color:#59696e; font-size:17px; }
body.contact-public .contact-form { background:#fff; padding:28px; border:1px solid #dce3e5; border-radius:22px; box-shadow:0 18px 45px rgba(15,76,92,.08); }
body.contact-public .form-section { background:#fff; border:1px solid #dce3e5; border-radius:16px; box-shadow:none; }
body.contact-public .form-section h3 { color:#0F4C5C; border-bottom:2px solid #E69F00; }
body.contact-public .form-group label { color:#263238; }
body.contact-public .form-group input, body.contact-public .form-group select, body.contact-public .form-group textarea { background:#fff; border-color:#cbd6d9; border-radius:8px; color:#263238; }
body.contact-public .form-group input:focus, body.contact-public .form-group select:focus, body.contact-public .form-group textarea:focus { border-color:#0F4C5C; box-shadow:0 0 0 3px rgba(15,76,92,.13); }
body.contact-public .form-group small, body.contact-public .help-text { color:#59696e; }
body.contact-public .info-box { background:#fff4d6; border-left-color:#E69F00; border-radius:8px; }
body.contact-public .info-box p { color:#664700; }
body.contact-public .request-type-card { background:#f8fafb; border-color:#dce3e5; }
body.contact-public .request-type-card.is-active { background:#fff8e8; border-color:#E69F00; box-shadow:0 10px 26px rgba(230,159,0,.12); }
body.contact-public .request-type-title { color:#0F4C5C; }
body.contact-public .request-type-description { color:#59696e; }
body.contact-public .autocomplete-results { border-color:#cbd6d9; border-radius:0 0 8px 8px; }
body.contact-public .autocomplete-item:hover { background:#f4f6f7; }
body.contact-public .autocomplete-item .category { background:#fff4d6; color:#765100; }
body.contact-public #selected-pest { background:#f4f6f7 !important; border:1px solid #dce3e5; }
body.contact-public .captcha-box { background:#f4f6f7; border-color:#dce3e5; }
body.contact-public .captcha-option { border-color:#cbd6d9; }
body.contact-public .captcha-option:hover, body.contact-public .captcha-option:has(input:checked) { background:#fff8e8; border-color:#E69F00; box-shadow:0 0 0 2px rgba(230,159,0,.12); }
body.contact-public .captcha-option span { color:#263238; }
body.contact-public .checkbox-label a { color:#0F4C5C; font-weight:700; }
body.contact-public .registry-approval-label {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    width: 100%;
    min-height: 52px;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    line-height: 1.55;
    touch-action: manipulation;
    -webkit-tap-highlight-color: rgba(15,76,92,.12);
}
body.contact-public .registry-approval-label input[type="checkbox"] {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 44px;
    height: 44px;
    margin: 0;
    opacity: 0;
    cursor: pointer;
    pointer-events: auto;
}
body.contact-public .registry-approval-control {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    margin: 4px;
    color: #fff;
    border: 2px solid #263238;
    border-radius: 5px;
    background: #fff;
    font-family: Arial, sans-serif;
    font-size: 20px;
    font-weight: 700;
    line-height: 1;
}
body.contact-public .registry-approval-label input[type="checkbox"]:checked + .registry-approval-control {
    color: #fff;
    border-color: #0F4C5C;
    background: #0F4C5C;
}
body.contact-public .registry-approval-mark { visibility: hidden; }
body.contact-public .registry-approval-label input[type="checkbox"]:checked + .registry-approval-control .registry-approval-mark { visibility: visible; }
body.contact-public .registry-approval-label input[type="checkbox"]:focus-visible + .registry-approval-control {
    outline: 3px solid rgba(230,159,0,.45);
    outline-offset: 2px;
}
body.contact-public .contact-form.was-validated .registry-approval-label input[type="checkbox"]:invalid + .registry-approval-control {
    border-color: #a12622;
}
body.contact-public .registry-approval-text { min-width: 0; }
body.contact-public .registry-approval-label:hover,
body.contact-public .registry-approval-label:focus-within {
    background: #f4f8f7;
}
@media (max-width: 768px) {
    body.contact-public .registry-approval-label {
        padding: 12px 8px;
    }
    body.contact-public .registry-approval-control {
        flex-basis: 40px;
        width: 40px;
        height: 40px;
        margin: 2px;
    }
}
body.contact-public .upload-area { background:#f8fafb; border-color:#cbd6d9; }
body.contact-public .upload-area:hover, body.contact-public .upload-area.dragover { background:#fff8e8; border-color:#E69F00; }
body.contact-public .upload-browse { color:#0F4C5C; font-weight:700; }
body.contact-public .preview-item { border-color:#dce3e5; }
body.contact-public .preview-name { background:#f4f6f7; color:#59696e; }
body.contact-public .form-actions { border-top-color:#dce3e5; }
body.contact-public .btn { border-radius:999px; font-family:"Manrope",sans-serif; font-weight:500; }
body.contact-public .btn-primary, body.contact-public .btn-success { background:#E69F00; color:#172b31; }
body.contact-public .btn-primary:hover:not(:disabled), body.contact-public .btn-success:hover:not(:disabled) { background:#cc8d00; }
body.contact-public .btn-secondary { background:#0F4C5C; color:#fff; }
body.contact-public .btn-secondary:hover:not(:disabled) { background:#176477; }
body.contact-public .success-message { border:1px solid #dce3e5; border-radius:22px; box-shadow:0 18px 45px rgba(15,76,92,.08); }
body.contact-public .success-message h3 { color:#0F4C5C; }
body.contact-public .success-message p { color:#59696e; }
body.contact-public .site-footer { background:#0F4C5C; color:#fff; }
body.contact-public .site-footer .container { padding:0 20px; }
@media (max-width:768px) { body.contact-public .site-header .container { padding:12px 16px; } body.contact-public .site-header nav { gap:4px; } body.contact-public .contact-form { padding:18px; } body.contact-public .form-section { padding:20px 16px; } }

/* Kolmivaiheinen tarjouspyyntö */
.form-progress {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 0 4px 22px;
}
.form-progress span {
    height: 4px;
    border-radius: 999px;
    background: #dce3e5;
    transition: background-color .16s ease;
}
.form-progress span.is-active { background: #E69F00; }
.wizard-navigation,
.wizard-choice-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.wizard-step-intro p { color: #59696e; margin: 0; }
.step-form-ready .form-section { animation: wizardFade .16s ease-out; }
@keyframes wizardFade {
    from { opacity: .45; transform: translateY(4px); }
    to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 600px) {
    body.contact-public > main.container { padding: 24px 12px 16px; }
    body.contact-public .intro { margin-bottom: 18px; }
    body.contact-public .intro h2 { font-size: 27px; }
    body.contact-public .intro p { font-size: 15px; }
    body.contact-public .contact-form { padding: 14px; border-radius: 16px; }
    body.contact-public .form-section { margin-bottom: 14px; padding: 18px 14px; }
    body.contact-public .form-section h3 { font-size: 21px; margin-bottom: 16px; }
    body.contact-public .form-group { margin-bottom: 16px; }
    body.contact-public .form-group input,
    body.contact-public .form-group select,
    body.contact-public .form-group textarea { min-height: 48px; padding: 12px 13px; }
    .wizard-navigation,
    .wizard-choice-actions { display: grid; grid-template-columns: 1fr; }
    .wizard-navigation .btn,
    .wizard-choice-actions .btn,
    .form-actions .btn { width: 100%; min-height: 50px; text-align: center; }
    .wizard-navigation .btn-secondary { order: 2; }
    .wizard-choice-actions .btn-secondary { order: 3; }
}

/* Asiakaslähtöiset julkisen sivuston nostot */
.fp-section-head-stacked { align-items: end; }
.fp-section-head-stacked p { margin: 10px 0 0; max-width: 720px; color: #59696e; }
.fp-service-grid { display: flex; flex-wrap: wrap; gap: 18px; }
.fp-service-card {
    position: relative;
    display: flex;
    flex: 1 1 calc(25% - 14px);
    min-width: 0;
    min-height: 230px;
    flex-direction: column;
    padding: 24px;
    overflow: hidden;
    color: #263238;
    text-decoration: none;
    background: #ffffff;
    border: 1px solid #dce3e5;
    border-radius: 20px;
    box-shadow: 0 12px 28px rgba(15,76,92,.07);
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.fp-service-card:hover,
.fp-service-card:focus-visible { transform: translateY(-3px); border-color: #E69F00; box-shadow: 0 18px 34px rgba(15,76,92,.12); outline: none; }
.fp-service-card h3 { margin: 16px 0 8px; color: #0F4C5C; font-size: 22px; line-height: 1.2; overflow-wrap: break-word; hyphens: auto; }
.fp-service-card p { margin: 0 0 18px; color: #59696e; }
.fp-service-icon { display: block; width: clamp(90px, 6vw, 120px); height: clamp(90px, 6vw, 120px); flex: 0 0 auto; object-fit: contain; object-position: center; transition: transform 180ms ease; }
.fp-promise-icon { content: ''; display: block; width: 100%; height: 100%; background: currentColor; -webkit-mask: var(--fp-icon) center / contain no-repeat; mask: var(--fp-icon) center / contain no-repeat; }
.fp-icon-vehicle { --fp-icon: url('../icons/service-unmarked-vehicle.svg'); }
.fp-promise-icon { width: 36px; height: 36px; margin-bottom: 14px; color: #0F4C5C; }
.fp-service-card:hover .fp-service-icon,
.fp-service-card:focus-visible .fp-service-icon { transform: translateY(-2px) scale(1.02); }
.fp-service-icon-contrast { display: inline-flex; width: clamp(90px, 6vw, 120px); height: clamp(90px, 6vw, 120px); align-items: center; justify-content: center; overflow: hidden; border-radius: 50%; background: #ffffff; }
.fp-service-icon-contrast .fp-service-icon { width: 100%; height: 100%; }
.fp-service-icon-contrast img { clip-path: inset(12% 0 0); }
.fp-privacy-promise .fp-richtext p + p { margin-top: 8px; }
.fp-card-link { margin-top: auto; color: #0F4C5C; font-weight: 700; }
.fp-card-link::after { content: ' →'; color: #E69F00; }
.fp-service-card-help { background: linear-gradient(145deg, #0F4C5C, #176477); border-color: transparent; color: #fff; }
.fp-service-card-help h3, .fp-service-card-help p, .fp-service-card-help .fp-card-link { color: #fff; }
.fp-process-section { border-top: 1px solid #dce3e5; border-bottom: 1px solid #dce3e5; }
.fp-process-grid { display: flex; flex-wrap: wrap; gap: 20px; }
.fp-process-grid article { flex: 1 1 calc(33.333% - 14px); padding: 22px 22px 20px; background: #fff; border: 1px solid #dce3e5; border-radius: 18px; }
.fp-process-grid article > span { display: inline-flex; width: 34px; height: 34px; align-items: center; justify-content: center; border-radius: 50%; background: #E69F00; color: #172b31; font-weight: 700; }
.fp-process-grid h3 { margin: 14px 0 8px; color: #0F4C5C; }
.fp-process-grid p, .fp-process-note { color: #59696e; }
.fp-process-note { margin: 18px 0 0; font-weight: 500; }
.fp-phone-note { margin: 12px 0 0; max-width: 560px; color: #dbe8eb; font-size: 14px; }
.fp-footer-contact { margin-top: 8px; }
.fp-footer-contact a { color: #fff; text-underline-offset: 3px; }
.contact-public-phone { display: grid; justify-items: center; gap: 5px; margin-top: 14px; }
.contact-public-phone a { color: #0F4C5C; font-weight: 700; text-underline-offset: 3px; }
.contact-public-phone small { color: #59696e; }
.contact-footer-phone { color: #fff; text-underline-offset: 3px; }
.fp-cta-band .fp-phone-note { margin-left: auto; margin-right: auto; color: #59696e; }
@media (min-width: 769px) {
    .site-header .logo { margin-right: clamp(18px, 1.4vw, 30px); font-size: clamp(17px, 1vw, 21px); }
    .fp-main-nav { gap: clamp(20px, 1.4vw, 34px); }
    .fp-nav-link { padding: 12px 0; font-size: clamp(16px, .9vw, 20px); }
}
@media (max-width: 920px) {
    .fp-service-card { flex-basis: calc(50% - 9px); }
    .fp-process-grid article { flex-basis: calc(50% - 10px); }
    .fp-location-process { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
    .fp-hero { padding: 38px 0 34px; }
    .fp-hero-title { font-size: clamp(34px, 10.5vw, 46px); line-height: 1.04; }
    .fp-hero .fp-richtext p { font-size: 16px; }
    .fp-hero-grid { gap: 26px; }
    .fp-service-card, .fp-process-grid article { flex-basis: 100%; }
    .fp-service-card { min-height: 0; padding: 20px; }
    .fp-service-icon,
    .fp-service-icon-contrast { width: 72px; height: 72px; }
    .fp-section { padding: 40px 0; }
    .fp-section-head-stacked { display: grid; grid-template-columns: 1fr; align-items: start; }
    .fp-phone-link { width: 100%; }
    .fp-location-process { grid-template-columns: 1fr; }
}

/* Third-level public navigation */
.fp-nav-subitem { position: relative; display: block; }
.fp-nav-subitem-row { display: flex; align-items: center; }
.fp-nav-subitem-row .fp-nav-dropdown-link { flex: 1; }
.fp-nav-subitem .fp-nav-mobile-toggle { color: #0F4C5C; }
.fp-nav-subitem::after { content: ''; display: none; position: absolute; top: 0; bottom: 0; left: 100%; width: 10px; }
.fp-nav-subitem:hover::after,
.fp-nav-subitem:focus-within::after { display: block; }
.fp-nav-submenu { display: none; position: absolute; top: -6px; left: calc(100% + 8px); min-width: 240px; padding: 6px; border: 1px solid #dce3e5; border-radius: 10px; background: #ffffff; box-shadow: 0 10px 24px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06); z-index: 1001; }
.fp-nav-subitem:hover > .fp-nav-submenu,
.fp-nav-subitem:focus-within > .fp-nav-submenu,
.fp-nav-submenu:hover { display: grid; gap: 0; }

@media (max-width: 768px) {
  .fp-nav-subitem::after { display: none !important; }
  .fp-nav-subitem:hover > .fp-nav-submenu,
  .fp-nav-subitem:focus-within > .fp-nav-submenu,
  .fp-nav-submenu:hover { display: none; }
  .fp-nav-subitem.is-open > .fp-nav-submenu { display: grid; gap: 0; }
  .fp-nav-submenu { position: static; min-width: 0; margin: 4px 0 4px 14px; padding: 4px; border-left: 2px solid #dce3e5; border-top: 0; border-right: 0; border-bottom: 0; border-radius: 0; box-shadow: none; }
  .fp-nav-subitem-row { width: 100%; }
}
.fp-highlight-card .fp-richtext a { color: #0F4C5C; text-decoration: underline; text-decoration-color: rgba(230,159,0,.75); text-underline-offset: 3px; }
.fp-highlight-card .fp-richtext a:hover,
.fp-highlight-card .fp-richtext a:focus { color: #176477; text-decoration-color: #E69F00; }
.fp-species-links a { color: #0F4C5C; font-weight: 500; text-decoration: underline; text-decoration-color: rgba(230,159,0,.75); text-underline-offset: 3px; }
.fp-species-links a:hover,
.fp-species-links a:focus { color: #176477; text-decoration-color: #E69F00; }
