/*
 * Finland Global Styles
 * Centralized CSS for all Finland pages
 * Version: 1.0
 * Date: 2025-11-18
 */

/* ============================================
   CSS VARIABLES - FINLAND COLOR PALETTE
   ============================================ */
:root {
    /* Brand Colors */
    --finland-yellow: #dbb15f;
    --finland-yellow-hover: #c99d3d;
    --finland-blue: #5B8CDB;
    --finland-blue-light: rgba(91, 140, 219, 0.12);
    --finland-blue-lighter: rgba(91, 140, 219, 0.06);

    /* Background Colors */
    --finland-bg-white: #ffffff;
    --finland-bg-light-blue: #E9EDF5;
    --finland-bg-hero: #E8F2F7;

    /* Text Colors */
    --finland-text-primary: #1a1a1a;
    --finland-text-secondary: #666666;
    --finland-text-muted: #999999;

    /* Border Colors */
    --finland-border-light: #E8F2F7;
    --finland-border-gray: #e0e0e0;

    /* Shadow Values */
    --finland-shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --finland-shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --finland-shadow-lg: 0 8px 30px rgba(0, 0, 0, 0.12);
    --finland-shadow-yellow: 0 4px 12px rgba(219, 177, 95, 0.25);
    --finland-shadow-blue: 0 8px 24px rgba(91, 140, 219, 0.12);
}

/* ============================================
   GLOBAL STYLES
   ============================================ */
html, body {
    overflow-x: hidden !important;
    width: 100%;
    position: relative;
}

body {
    background-color: var(--finland-bg-light-blue) !important;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* ============================================
   SECTION BACKGROUNDS
   ============================================ */
.bg-light-blue {
    background-color: var(--finland-bg-light-blue) !important;
}

.bg-white {
    background: var(--finland-bg-white) !important;
}

section {
    background: var(--finland-bg-light-blue);
}

section.bg-white {
    background: var(--finland-bg-white) !important;
}

/* ============================================
   BUTTONS - STANDARDIZED
   ============================================ */
.finland-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    text-align: center;
}

.finland-btn-primary {
    background: var(--finland-yellow);
    color: #ffffff !important;
    border: 2px solid var(--finland-yellow);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.finland-btn-primary:hover {
    background: var(--finland-yellow-hover);
    border-color: var(--finland-yellow-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 184, 73, 0.4);
    color: #ffffff !important;
    text-decoration: none;
}

.finland-btn-outline {
    background: transparent;
    border: 2px solid var(--finland-yellow);
    color: var(--finland-yellow) !important;
}

.finland-btn-outline:hover {
    background: var(--finland-yellow);
    border-color: var(--finland-yellow);
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(240, 184, 73, 0.3);
    text-decoration: none;
}

.finland-btn-outline-white {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
}

.finland-btn-outline-white:hover {
    background: #ffffff;
    color: var(--finland-text-primary) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
    text-decoration: none;
}

/* ============================================
   CARDS
   ============================================ */
.finland-card {
    background: var(--finland-bg-white);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--finland-border-light);
    transition: all 0.3s ease;
    box-shadow: var(--finland-shadow-sm);
}

.finland-card:hover {
    border-color: var(--finland-blue);
    box-shadow: var(--finland-shadow-blue);
    transform: translateY(-5px);
}

/* ============================================
   BADGES & ICONS
   ============================================ */
.finland-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--finland-yellow);
    border-radius: 16px;
    color: white;
    font-size: 1.75rem;
    font-weight: 700;
    box-shadow: var(--finland-shadow-yellow);
}

.finland-icon {
    width: 60px;
    height: 60px;
    background: var(--finland-yellow);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.finland-icon-blue {
    background: var(--finland-blue);
}

/* ============================================
   CHECK ICONS & LIST ITEMS
   ============================================ */
.finland-check-icon {
    color: var(--finland-yellow);
    font-size: 1.25rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

/* ============================================
   SECTION SPACING
   ============================================ */
.finland-section {
    padding: 80px 0;
}

.finland-section-sm {
    padding: 60px 0;
}

.finland-section-lg {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .finland-section {
        padding: 60px 0;
    }

    .finland-section-sm {
        padding: 40px 0;
    }

    .finland-section-lg {
        padding: 80px 0;
    }
}

@media (max-width: 576px) {
    .finland-section {
        padding: 40px 0;
    }

    .finland-section-sm {
        padding: 30px 0;
    }

    .finland-section-lg {
        padding: 60px 0;
    }
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.finland-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--finland-text-primary);
    line-height: 1.2;
}

.finland-subtitle {
    font-size: 18px;
    color: var(--finland-text-secondary);
    line-height: 1.6;
}

@media (max-width: 768px) {
    .finland-title {
        font-size: 32px;
    }

    .finland-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .finland-title {
        font-size: 28px;
    }
}

/* ============================================
   SCREENSHOT CARDS
   ============================================ */
.finland-screenshot-card {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--finland-shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--finland-border-light);
    background: var(--finland-bg-white);
}

.finland-screenshot-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--finland-shadow-lg);
}

.finland-screenshot-card img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   FEATURE CARDS
   ============================================ */
.finland-feature-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid var(--finland-border-light);
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: var(--finland-shadow-sm);
    text-align: center;
}

.finland-feature-card:hover {
    border-color: var(--finland-blue);
    box-shadow: var(--finland-shadow-blue);
    transform: translateY(-5px);
}

/* ============================================
   HERO SECTIONS
   ============================================ */
.finland-hero {
    background: var(--finland-bg-hero);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.finland-hero-white {
    background: var(--finland-bg-white);
}

/* Hero title overflow protection */
.finland-hero h1,
.finland-hero .display-3 {
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

/* Allow full text display for hero-section */
.hero-section h1,
.hero-section .display-3 {
    display: block;
    overflow: visible;
    word-break: break-word;
}

.finland-hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.finland-hero-wave svg {
    position: relative;
    display: block;
    width: calc(100% + 1.3px);
    height: 80px;
}

/* ============================================
   CTA SECTIONS (CENTRALIZED FOR ALL FINLAND PAGES)
   ============================================ */
.finland-cta-section {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('/finland-photos/finland-cta-bg.png') center center / cover no-repeat;
    padding: 80px 0;
    text-align: center;
}

.finland-cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.2;
}

.finland-cta-white {
    color: white;
}

.finland-cta-highlight {
    color: #dbb15f;
}

.finland-cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.finland-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.finland-cta-btn {
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    display: inline-block;
    cursor: pointer;
}

.finland-cta-btn-primary {
    background: #dbb15f;
    color: #ffffff !important;
    border: 2px solid #dbb15f;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.finland-cta-btn-primary:hover {
    background: #c99d3d;
    border-color: #c99d3d;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(219, 177, 95, 0.4);
    color: #ffffff !important;
}

.finland-cta-btn-outline {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff !important;
}

.finland-cta-btn-outline:hover {
    background: #ffffff;
    color: #1C1C1B !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* CTA Responsive Design */
@media (max-width: 768px) {
    .finland-cta-section {
        padding: 60px 20px;
    }

    .finland-cta-title {
        font-size: 28px;
    }

    .finland-cta-description {
        font-size: 16px;
    }

    .finland-cta-buttons {
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .finland-cta-btn {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .finland-cta-section {
        padding: 50px 16px;
    }

    .finland-cta-title {
        font-size: 24px;
    }

    .finland-cta-description {
        font-size: 15px;
    }
}

/* ============================================
   PRICING PAGE STYLES
   ============================================ */
/* Hero Section */
.finland-pricing-hero {
    background: var(--finland-bg-hero);
    padding: 80px 0 60px;
    text-align: center;
}

.finland-pricing-hero h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.finland-pricing-hero p {
    font-size: 18px;
    color: var(--finland-text-secondary);
    margin-bottom: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Pricing Cards Container */
.finland-pricing-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: -40px;
    padding: 0 24px;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

/* Individual Card */
.finland-pricing-card {
    background: var(--finland-bg-white);
    border-radius: 16px;
    box-shadow: var(--finland-shadow-sm);
    overflow: hidden;
    transition: all 0.3s ease;
    display: grid;
    grid-template-rows: auto 1fr auto;
    position: relative;
}

.finland-pricing-card:hover {
    box-shadow: var(--finland-shadow-lg);
    transform: translateY(-8px);
}

.finland-pricing-card.popular {
    border: 2px solid var(--finland-yellow);
}

.finland-pricing-card.custom {
    background: var(--finland-bg-white);
}

/* Remove border from Custom card recommendation */
.finland-pricing-card.custom .finland-pricing-card-recommendation {
    border-top: none;
    padding-top: 0;
}

/* Card Header */
.finland-pricing-card-header {
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid var(--finland-border-gray);
}

.finland-pricing-card-name {
    font-size: 24px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 8px;
}

.finland-pricing-card-price {
    font-size: 36px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 4px;
    line-height: 1;
}

.finland-pricing-card-period {
    font-size: 14px;
    color: var(--finland-text-muted);
    margin-bottom: 8px;
}

.finland-pricing-card-annual {
    font-size: 14px;
    font-weight: 600;
    color: var(--finland-text-primary);
    margin-bottom: 16px;
}

.finland-pricing-card-description {
    font-size: 13px;
    color: var(--finland-text-primary);
    line-height: 1.5;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.finland-pricing-card-price-small {
    font-size: 24px !important;
}

.finland-pricing-card-subtitle {
    font-size: 12px;
    color: var(--finland-text-secondary);
    line-height: 1.4;
    min-height: 40px;
    /* Text overflow protection with line-clamp */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 72px;
    word-break: break-word;
}

/* Card Body - defined below with flex properties */

.finland-pricing-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.finland-pricing-features-list li {
    display: flex;
    align-items: flex-start;
    padding: 10px 0;
    font-size: 14px;
    color: var(--finland-text-secondary);
    line-height: 1.5;
}

.finland-pricing-features-list li::before {
    content: '✓';
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #10b981;
    color: white;
    border-radius: 50%;
    margin-right: 12px;
    flex-shrink: 0;
    font-size: 12px;
    font-weight: 700;
}

/* Recommendation text */
.finland-pricing-card-recommendation {
    padding-top: 16px;
    font-size: 13px;
    font-weight: 600;
    color: var(--finland-text-primary);
    line-height: 1.5;
    text-align: center;
    min-height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card Body - flex to push recommendation down */
.finland-pricing-card-body {
    padding: 24px;
    display: grid;
    grid-template-rows: 1fr auto;
    align-content: start;
}

/* Card Footer */
.finland-pricing-card-footer {
    padding: 24px;
    border-top: 1px solid var(--finland-border-gray);
}

.finland-pricing-btn {
    display: block;
    width: 100%;
    padding: 14px 24px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
    line-height: 1.5;
}

.finland-pricing-btn-primary {
    background: var(--finland-yellow);
    color: #ffffff !important;
    border: 2px solid var(--finland-yellow);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.finland-pricing-btn-primary:hover {
    background: var(--finland-yellow-hover);
    border-color: var(--finland-yellow-hover);
    transform: translateY(-2px);
    box-shadow: var(--finland-shadow-yellow);
    color: #ffffff !important;
    text-decoration: none;
}

.finland-pricing-btn-outline {
    background: transparent;
    border: 2px solid var(--finland-yellow);
    color: var(--finland-yellow) !important;
}

.finland-pricing-btn-outline:hover {
    background: var(--finland-yellow);
    border-color: var(--finland-yellow);
    color: #ffffff !important;
    text-decoration: none;
    transform: translateY(-2px);
    box-shadow: var(--finland-shadow-yellow);
}

/* Implementation Section */
.finland-pricing-implementation {
    background: var(--finland-bg-light-blue);
    padding: 60px 0;
}

.finland-pricing-section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    color: var(--finland-text-primary);
    margin-bottom: 48px;
}

.finland-pricing-implementation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    align-items: stretch;
}

.finland-pricing-implementation-card {
    background: var(--finland-bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--finland-shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
}

.finland-pricing-implementation-card:hover {
    box-shadow: var(--finland-shadow-lg);
    transform: translateY(-4px);
}

.finland-pricing-implementation-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.finland-pricing-implementation-price {
    font-size: 32px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 8px;
    text-align: center;
}

.finland-pricing-implementation-vat {
    font-size: 14px;
    color: var(--finland-text-muted);
    margin-bottom: 20px;
    text-align: center;
}

.finland-pricing-implementation-description {
    font-size: 14px;
    color: var(--finland-text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
    text-align: center;
}

/* Implementation Cards - Two Separate Cards */
.finland-pricing-implementation-card {
    background: var(--finland-bg-white);
    border-radius: 16px;
    padding: 40px;
    box-shadow: var(--finland-shadow-sm);
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.finland-pricing-implementation-card:hover {
    box-shadow: var(--finland-shadow-lg);
    transform: translateY(-4px);
}

.finland-pricing-implementation-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 12px;
    text-align: center;
}

.finland-pricing-implementation-card .finland-pricing-btn {
    margin-top: 20px;
}

/* Security Section Two-Column Layout */
.finland-pricing-security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.finland-pricing-security-left h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 16px;
    color: var(--finland-text-primary);
}

.finland-pricing-security-right {
    background: #f5f8fa;
    padding: 24px;
    border-radius: 12px;
    border-left: 4px solid var(--finland-yellow);
}

.finland-pricing-security-quote {
    font-style: italic;
    color: var(--finland-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.finland-pricing-security-result {
    font-weight: 600;
    color: var(--finland-text-primary);
}

.finland-pricing-security-result strong {
    color: var(--finland-yellow);
}

@media (max-width: 768px) {
    .finland-pricing-implementation-inner {
        grid-template-columns: 1fr;
    }

    .finland-pricing-implementation-left {
        border-right: none;
        border-bottom: 1px solid var(--finland-border-gray);
    }

    .finland-pricing-security-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 576px) {
    .finland-pricing-implementation-left,
    .finland-pricing-implementation-right {
        padding: 24px;
    }
}

/* Security Section */
.finland-pricing-security {
    background: var(--finland-bg-white);
    padding: 60px 0;
}

.finland-pricing-security-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
}

.finland-pricing-security h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 32px;
}

.finland-pricing-security-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.finland-pricing-security-list li {
    display: flex;
    align-items: flex-start;
    padding: 12px 0;
    font-size: 16px;
    color: var(--finland-text-secondary);
    line-height: 1.6;
}

.finland-pricing-security-list li::before {
    content: '•';
    color: var(--finland-yellow);
    font-size: 24px;
    margin-right: 12px;
    line-height: 1;
}

/* Pricing Responsive Design */
@media (max-width: 1200px) {
    .finland-pricing-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .finland-pricing-hero h1 {
        font-size: 32px;
    }

    .finland-pricing-hero p {
        font-size: 16px;
    }

    .finland-pricing-cards {
        grid-template-columns: 1fr;
        margin-top: 40px;
    }

    .finland-pricing-implementation-grid {
        grid-template-columns: 1fr;
    }

    .finland-pricing-section-title {
        font-size: 28px;
    }
}

@media (max-width: 576px) {
    .finland-pricing-hero {
        padding: 60px 0 40px;
    }

    .finland-pricing-hero h1 {
        font-size: 28px;
    }

    .finland-pricing-card-header {
        padding: 24px 16px 16px;
    }

    .finland-pricing-card-body {
        padding: 16px;
    }

    .finland-pricing-card-footer {
        padding: 16px;
    }

    .finland-pricing-implementation-card {
        padding: 24px;
    }
}

/* ============================================
   CONTACT PAGE STYLES
   ============================================ */
/* Hero Section */
.finland-contact-hero {
    background: var(--finland-bg-hero);
    padding: 80px 0;
}

.finland-contact-hero-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.finland-contact-hero-left {
    padding-right: 40px;
}

.finland-contact-hero-title {
    font-size: 42px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 24px;
    line-height: 1.2;
}

.finland-contact-hero-text {
    font-size: 16px;
    color: var(--finland-text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.finland-contact-hero-info {
    font-size: 14px;
    color: var(--finland-text-secondary);
    line-height: 1.5;
    margin-bottom: 24px;
}

.finland-contact-hero-email {
    font-size: 16px;
    color: var(--finland-text-primary);
    font-weight: 600;
}

.finland-contact-hero-email a {
    color: var(--finland-text-primary);
    text-decoration: none;
}

.finland-contact-hero-email a:hover {
    color: var(--finland-yellow);
}

/* Contact Form Card */
.finland-contact-form-card {
    background: var(--finland-bg-white);
    border-radius: 16px;
    box-shadow: var(--finland-shadow-sm);
    padding: 40px;
}

.finland-contact-form-notice {
    background: var(--finland-bg-hero);
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    text-align: center;
}

.finland-contact-form-notice p {
    font-size: 14px;
    color: var(--finland-text-secondary);
    margin: 0;
    line-height: 1.5;
}

.finland-contact-form-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--finland-text-primary);
    margin-bottom: 24px;
    text-align: center;
}

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

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

.finland-contact-form-label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: var(--finland-text-primary);
    margin-bottom: 8px;
}

.finland-contact-form-input,
.finland-contact-form-select,
.finland-contact-form-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--finland-border-gray);
    border-radius: 6px;
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.finland-contact-form-input:focus,
.finland-contact-form-select:focus,
.finland-contact-form-textarea:focus {
    outline: none;
    border-color: var(--finland-yellow);
}

.finland-contact-form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%23666666' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 40px;
}

.finland-contact-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.finland-contact-form-button {
    width: 100%;
    padding: 14px 24px;
    background: var(--finland-yellow);
    color: #ffffff !important;
    border: 2px solid var(--finland-yellow);
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
}

.finland-contact-form-button:hover {
    background: var(--finland-yellow-hover);
    border-color: var(--finland-yellow-hover);
    transform: translateY(-2px);
    box-shadow: var(--finland-shadow-yellow);
    color: #ffffff !important;
}

/* FAQ Section */
.finland-contact-faq {
    background: var(--finland-bg-white);
    padding: 80px 0;
}

.finland-contact-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.finland-contact-faq-title {
    font-size: 32px;
    font-weight: 700;
    color: var(--finland-text-primary);
    margin-bottom: 16px;
    text-align: center;
}

.finland-contact-faq-subtitle {
    font-size: 16px;
    color: var(--finland-text-secondary);
    margin-bottom: 48px;
    text-align: center;
}

.finland-contact-faq-item {
    background: var(--finland-bg-white);
    border: 1px solid var(--finland-border-gray);
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
}

.finland-contact-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--finland-text-primary);
    transition: background-color 0.3s ease;
    user-select: none;
}

.finland-contact-faq-question:hover {
    background-color: #f9f9f9;
}

.finland-contact-faq-question.active {
    background-color: var(--finland-bg-light-blue);
}

.finland-contact-faq-icon {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.finland-contact-faq-question.active .finland-contact-faq-icon {
    transform: rotate(180deg);
}

.finland-contact-faq-answer {
    display: none;
    padding: 0 24px 20px;
    color: var(--finland-text-secondary);
    line-height: 1.6;
}

.finland-contact-faq-question.active + .finland-contact-faq-answer {
    display: block;
}

/* Contact Responsive Design */
@media (max-width: 992px) {
    .finland-contact-hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .finland-contact-hero-left {
        padding-right: 0;
    }

    .finland-contact-hero-title {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .finland-contact-hero {
        padding: 60px 0;
    }

    .finland-contact-hero-title {
        font-size: 32px;
    }

    .finland-contact-form-card {
        padding: 24px;
    }

    .finland-contact-faq {
        padding: 60px 0;
    }

    .finland-contact-faq-title {
        font-size: 28px;
    }

    /* Fix contact page notice background - white on mobile */
    .finland-contact-form-notice {
        background: #ffffff !important;
    }
}

/* Improved breakpoint for contact form grid - was 768px, now 576px */
@media (max-width: 576px) {
    .finland-contact-form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .finland-contact-hero {
        padding: 40px 0;
    }

    .finland-contact-hero-title {
        font-size: 28px;
    }

    .finland-contact-form-card {
        padding: 20px;
    }

    .finland-contact-faq-title {
        font-size: 24px;
    }

    .finland-contact-faq-question {
        padding: 16px 20px;
        font-size: 15px;
    }

    /* Fix contact page notice background - white on mobile */
    .finland-contact-form-notice {
        background: #ffffff !important;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.finland-text-yellow {
    color: var(--finland-yellow);
}

.finland-text-blue {
    color: var(--finland-blue);
}

.finland-bg-yellow {
    background: var(--finland-yellow);
}

.finland-bg-blue {
    background: var(--finland-blue);
}

.finland-bg-blue-light {
    background: var(--finland-blue-light);
}

.finland-border-light {
    border-color: var(--finland-border-light) !important;
}

/* ============================================
   RESPONSIVE UTILITIES
   ============================================ */
@media (max-width: 768px) {
    .finland-btn {
        width: 100%;
        max-width: 300px;
    }

    .finland-cta-title {
        font-size: 28px;
    }

    .finland-cta-description {
        font-size: 16px;
    }

    .finland-hero {
        padding: 60px 0;
    }
}

@media (max-width: 576px) {
    .finland-btn {
        padding: 12px 24px;
        font-size: 14px;
    }

    .finland-badge {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }

    .finland-icon {
        width: 50px;
        height: 50px;
    }

    .finland-hero {
        padding: 40px 0;
    }
}

/* ============================================
   TERMS OF SERVICE - MOBILE TYPOGRAPHY FIX
   ============================================ */
/* Fix for sections 9 & 10 ALL CAPS text appearing larger on mobile */
@media (max-width: 768px) {
    .chat-card h2:has(+ h3:contains("9.2")),
    .chat-card h2:has(+ p) {
        font-size: 24px !important;
    }

    /* Target paragraphs in sections 9.2 and 10 with ALL CAPS text */
    .chat-card p {
        font-size: 14px !important;
        line-height: 1.6 !important;
        letter-spacing: 0 !important;
    }
}
