/* =========================================
   FIXUS MYYRMANNI – YHTEINEN TYYLITIEDOSTO
   (aiemmin jokaisen sivun sisällä kopioina)
========================================= */

/* --- GENEL AYARLAR --- */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Helvetica Neue', Arial, sans-serif; background-color: #ffffff; color: #333; line-height: 1.6; overflow-x: hidden; }
a { text-decoration: none; color: inherit; }
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* --- HEADER --- */
.site-header { background-color: #ffffff; border-bottom: 1px solid #eaeaea; position: sticky; top: 0; z-index: 999; }
.header-inner { display: flex; justify-content: space-between; align-items: center; height: 90px; position: relative; }
.logo img { height: 65px; display: block; }

.header-nav { display: flex; gap: 30px; align-items: center; height: 100%; }
.header-nav > a { font-weight: 600; font-size: 16px; color: #111; text-transform: uppercase; transition: color 0.3s; display: flex; align-items: center; height: 100%; }
.header-nav > a:hover { color: #f7c600; }
.header-nav .nav-varaa { display: none; }

.header-actions { display: flex; align-items: center; gap: 12px; }
.header-actions .btn-call,
.header-actions .btn-book {
    padding: 12px 22px; border-radius: 30px;
    font-weight: 700; font-size: 15px; transition: 0.3s; text-transform: uppercase; white-space: nowrap;
}
.header-actions .btn-call { background-color: #111; color: #fff; }
.header-actions .btn-call:hover { background-color: #f7c600; color: #111; }
.header-actions .btn-book { background-color: #f7c600; color: #111; }
.header-actions .btn-book:hover { background-color: #111; color: #fff; }

.mobile-menu-btn { display: none; font-size: 28px; cursor: pointer; color: #111; background: none; border: none; }

/* --- DROPDOWN --- */
.dropdown { position: relative; display: flex; align-items: center; height: 100%; }
.dropdown > a {
    font-weight: 600; font-size: 16px; color: #111; text-transform: uppercase;
    transition: color 0.3s; cursor: pointer; height: 100%; display: flex; align-items: center;
}
.dropdown:hover > a { color: #f7c600; }
.dropdown-content {
    display: none; position: absolute; background-color: #fff;
    min-width: 260px; box-shadow: 0px 15px 30px rgba(0,0,0,0.1);
    z-index: 1000; border-radius: 8px; overflow: hidden;
    top: 100%; left: 0; border: 1px solid #eaeaea; margin-top: -1px;
}
.dropdown-category {
    background-color: #003580; color: #fff; padding: 10px 20px;
    font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: 0.5px;
}
.dropdown-content a {
    color: #333; padding: 12px 20px; display: block; font-size: 15px; font-weight: 600; text-transform: none;
    border-bottom: 1px solid #f1f1f1; transition: background-color 0.2s, color 0.2s, padding-left 0.2s;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a:hover, .dropdown-content a.current { background-color: #f8f9fa; color: #f7c600; padding-left: 25px; }
.dropdown:hover .dropdown-content, .dropdown-content:hover { display: block; }

/* --- HERO --- */
.hero {
    position: relative; padding: 100px 0;
    background: linear-gradient(rgba(15, 15, 15, 0.8), rgba(15, 15, 15, 0.9)), url('../img/background.png') center/cover no-repeat;
    background-color: #1a1a1a; color: #fff;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.hero-content h1 { font-size: 50px; font-weight: 900; line-height: 1.1; margin-bottom: 25px; color: #f7c600; }
.hero-content p { font-size: 18px; color: #e0e0e0; margin-bottom: 30px; max-width: 500px; line-height: 1.7; }
.hero-logo img { height: 50px; margin-bottom: 30px; }

/* Etusivun hero */
.etusivu .hero { background: linear-gradient(rgba(15, 15, 15, 0.7), rgba(15, 15, 15, 0.8)), url('../img/background.png') center/cover no-repeat; }
.etusivu .hero-content h1 { font-size: 58px; color: #fff; }
.etusivu .hero-content p { font-size: 20px; }

/* --- LOMAKEKORTTI (VÄLILEHDET) --- */
.hero-form-card {
    background-color: #fff; padding: 40px; border-radius: 12px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.3); color: #111;
}
.hero-form-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 6px; color: #333; text-align: center; line-height: 1.4; }
.hero-form-card .form-subtitle { display: block; font-size: 20px; font-weight: 800; color: #003580; text-align: center; margin-bottom: 25px; }

.tab-buttons { display: flex; flex-direction: column; gap: 8px; margin-bottom: 25px; }
.tab-btn {
    background-color: #f1f1f1; border: 2px solid transparent; padding: 14px;
    border-radius: 6px; font-weight: 700; font-size: 15px; cursor: pointer;
    transition: 0.3s; color: #555; text-transform: uppercase; text-align: center; font-family: inherit;
}
.tab-btn:hover { background-color: #e5e5e5; }
.tab-btn.active { background-color: #fff; border-color: #f7c600; color: #111; box-shadow: 0 4px 15px rgba(0,0,0,0.05); }

.tab-content { display: none; }
.tab-content.active-content { display: block; animation: fadeIn 0.4s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.tab-intro { font-size: 14px; color: #555; margin-bottom: 18px; text-align: center; }
.varaa-edut { list-style: none; margin-top: 20px; display: grid; gap: 8px; }
.varaa-edut li { position: relative; padding-left: 26px; font-size: 14px; font-weight: 600; color: #333; }
.varaa-edut li::before { content: '✔'; position: absolute; left: 0; color: #f7c600; font-size: 16px; }

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

.calc-form b { display: block; font-size: 13px; margin-bottom: 5px; color: #333; font-weight: 700; }
.calc-form input, .calc-form select, .calc-form textarea {
    width: 100%; padding: 12px; border: 1px solid #ccc; border-radius: 6px;
    font-size: 14px; font-weight: 600; background: #fafafa; outline: none; font-family: inherit; color: #111;
}
.calc-form textarea { resize: vertical; min-height: 80px; }
.calc-form input:focus, .calc-form select:focus, .calc-form textarea:focus { border-color: #f7c600; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.btn-submit {
    display: block; width: 100%; background-color: #f7c600; color: #111; text-align: center;
    padding: 16px; border: none; border-radius: 6px;
    font-size: 18px; font-weight: 800; cursor: pointer; margin-top: 10px;
    transition: 0.3s; text-transform: uppercase; font-family: inherit;
}
.btn-submit:hover { background-color: #e5b600; }
.btn-submit:disabled { opacity: 0.6; cursor: wait; }

.formMessage { margin-top: 15px; font-size: 14px; font-weight: bold; text-align: center; }
.formMessage.ok { color: #15803d; }
.formMessage.virhe { color: #dc2626; }
.formMessage.odota { color: #0056b3; }

/* --- PALVELUSIVUJEN SISÄLTÖ --- */
.service-details { padding: 80px 0; background-color: #fcfcfc; }
.details-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; align-items: start; }
.details-content h2 { font-size: 32px; font-weight: 800; color: #003580; margin-bottom: 20px; }
.details-content p { font-size: 16px; color: #444; line-height: 1.8; margin-bottom: 20px; }
.check-list { list-style: none; margin-bottom: 30px; }
.check-list li { position: relative; padding-left: 30px; font-size: 16px; color: #333; margin-bottom: 12px; font-weight: 600; }
.check-list li::before { content: '✔'; position: absolute; left: 0; top: 0; color: #f7c600; font-size: 18px; }
.info-box { background: #fff; padding: 30px; border-radius: 8px; border-top: 5px solid #f7c600; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.info-box h4 { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 15px; }
.info-box p { font-size: 15px; color: #555; margin-bottom: 15px; }

/* --- ETUSIVU: MEISTÄ --- */
.about-fixus { padding: 90px 0; background-color: #003580; color: #fff; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.about-text h2 { color: #f7c600; font-size: 42px; font-weight: 900; margin-bottom: 15px; line-height: 1.1; }
.about-text h3 { font-size: 24px; font-weight: 700; margin-bottom: 25px; }
.about-text p { font-size: 18px; line-height: 1.7; color: #e0e0e0; margin-bottom: 15px; }
.about-text ul { list-style: none; margin-top: 20px; margin-bottom: 20px; font-size: 18px; color: #e0e0e0; }
.about-text li { margin-bottom: 10px; }
.about-image img { width: 100%; border-radius: 12px; border: 5px solid #f7c600; box-shadow: 0 15px 40px rgba(0,0,0,0.2); }

/* --- ETUSIVU: KORJAAMOPALVELUT --- */
.detailed-services { padding: 90px 0; background-color: #f8f9fa; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-header h2 { font-size: 42px; font-weight: 900; color: #003580; }
.section-header .divider { width: 80px; height: 4px; background-color: #f7c600; margin: 20px auto; }

.ds-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.ds-card { background: #fff; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.04); overflow: hidden; display: flex; flex-direction: column; }
.ds-card-img { width: 100%; height: 200px; background-size: cover; background-position: center; }
.ds-card-content { padding: 25px; flex: 1; border-top: 4px solid #003580; }
.ds-card h3 { font-size: 22px; font-weight: 800; color: #111; margin-bottom: 12px; }
.ds-card p { font-size: 15px; color: #555; line-height: 1.6; margin-bottom: 10px; }

/* --- ETUSIVU: LISÄPALVELUT (RISTIKKÄINEN GRID) --- */
.services-grid-section { padding: 0; display: flex; flex-wrap: wrap; }
.sg-item { width: 25%; height: 380px; display: flex; flex-direction: column; justify-content: center; padding: 40px; }
.sg-text { background: linear-gradient(135deg, #1a1a1a, #333); color: #fff; position: relative; }
.sg-text h3 { font-size: 26px; font-weight: 800; margin-bottom: 15px; color: #f7c600; line-height: 1.2; }
.sg-text p { font-size: 15px; color: #ccc; margin-bottom: 25px; line-height: 1.6; }
.sg-text .icon { position: absolute; top: 30px; right: 30px; font-size: 40px; opacity: 0.15; }
.sg-image { background-size: cover; background-position: center; }
.sg-text.yellow-bg { background: #f7c600; color: #111; }
.sg-text.yellow-bg h3 { color: #111; }
.sg-text.yellow-bg p { color: #333; }
.ds-badge { display: inline-block; background-color: #111; color: #f7c600; padding: 5px 12px; border-radius: 20px; font-size: 13px; font-weight: 700; margin-top: 10px; }
.yellow-bg .ds-badge { background-color: #fff; color: #111; }

/* --- ETUSIVU: TARJOUKSET --- */
.tarjoukset-section { padding: 90px 0; background-color: #fcfcfc; border-top: 1px solid #eaeaea; }
.tarjoukset-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.tarjoukset-card { width: 100%; border-radius: 12px; overflow: hidden; box-shadow: 0 10px 25px rgba(0,0,0,0.1); transition: transform 0.3s ease; }
.tarjoukset-card:hover { transform: translateY(-5px); box-shadow: 0 15px 35px rgba(0,0,0,0.15); }
.tarjoukset-card img { width: 100%; display: block; object-fit: cover; }
.contact-cards-img { max-width: 800px; width: 100%; margin: 0 auto; display: block; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.15); }

/* --- KARTTA --- */
.map-section { padding: 0; line-height: 0; }
.map-section iframe { width: 100%; height: 400px; border: none; }

/* --- FOOTER --- */
.site-footer { background-color: #111; color: #fff; padding: 80px 0 40px 0; }
.footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 50px; margin-bottom: 50px; }
.footer-col img { height: 50px; margin-bottom: 25px; }
.footer-col h4 { font-size: 20px; margin-bottom: 20px; color: #f7c600; }
.footer-col p { color: #aaa; margin-bottom: 15px; font-size: 15px; }
.footer-col a:hover { color: #f7c600; }
.footer-col .footer-book { color: #fff; font-weight: 700; }
.footer-bottom { text-align: center; border-top: 1px solid #333; padding-top: 30px; color: #777; font-size: 14px; }

/* =========================================
   MOBIILI
========================================= */
@media (max-width: 1100px) {
    .header-nav { gap: 22px; }
    .header-nav > a, .dropdown > a { font-size: 15px; }
}

@media (max-width: 1024px) {
    .hero-grid, .about-grid { grid-template-columns: 1fr; }
    .hero-content { text-align: center; }
    .hero-content p { margin: 0 auto 30px auto; }
    .details-grid { grid-template-columns: 1fr; }
    .ds-grid { grid-template-columns: repeat(2, 1fr); }
    .sg-item { width: 50%; height: 350px; }
    .tarjoukset-grid { grid-template-columns: repeat(2, 1fr); }

    /* Valikko hampurilaisen taakse jo tabletilla, koska varausnappi vie tilaa */
    .mobile-menu-btn { display: block; }
    .header-nav {
        display: none; flex-direction: column; align-items: flex-start;
        position: absolute; top: 90px; left: 0; width: 100%; height: auto;
        background: #ffffff; box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        padding: 20px; border-top: 1px solid #eaeaea; z-index: 1000; gap: 18px;
        max-height: calc(100vh - 90px); overflow-y: auto;
    }
    .header-nav.active-nav { display: flex; }
    .header-nav > a { height: auto; }
    .header-nav .nav-varaa { display: flex; background: #f7c600; padding: 10px 18px; border-radius: 30px; }
    .dropdown { flex-direction: column; align-items: flex-start; height: auto; width: 100%; }
    .dropdown > a { height: auto; }
    .dropdown:hover .dropdown-content { display: none; }
    .dropdown-content {
        position: static; box-shadow: none; border: none; margin-top: 10px;
        padding-left: 15px; border-left: 2px solid #f7c600; border-radius: 0; width: 100%;
    }
    .dropdown.active-dropdown .dropdown-content { display: block; }
    .header-actions .btn-book { display: none; }
}

@media (max-width: 768px) {
    .header-inner { height: 75px; }
    .logo img { height: 50px; }
    .header-nav { top: 75px; max-height: calc(100vh - 75px); }
    .header-actions .btn-call { font-size: 13px; padding: 10px 16px; }

    .hero { padding: 60px 0; }
    .hero-content h1, .etusivu .hero-content h1 { font-size: 36px; }
    .hero-form-card { padding: 25px; }
    .form-row { grid-template-columns: 1fr; }

    .ds-grid { grid-template-columns: 1fr; }
    .sg-item { width: 100%; height: auto; min-height: 300px; }
    .about-text h2 { font-size: 34px; }
    .section-header h2 { font-size: 32px; }
    .tarjoukset-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
}

/* =========================================
   ETUSIVU 2026 – KELTAINEN / MUSTA / SININEN
   (vain etusivu, fx- -luokat)
========================================= */
:root {
    --fx-yellow: #f7c600;
    --fx-yellow-dark: #e0b300;
    --fx-black: #0d0d0d;
    --fx-ink: #161616;
    --fx-blue: #3356a1;
    --fx-blue-dark: #1e3b78;
    --fx-grey: #f4f5f7;
}

.fx-btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 15px 28px; border-radius: 40px; font-weight: 800; font-size: 16px;
    text-transform: uppercase; letter-spacing: .3px; transition: transform .2s, background-color .2s, color .2s, box-shadow .2s;
}
.fx-btn-yellow { background: var(--fx-yellow); color: var(--fx-black); box-shadow: 0 10px 25px rgba(247,198,0,.35); }
.fx-btn-yellow:hover { background: #fff; transform: translateY(-2px); }
.fx-btn-ghost { border: 2px solid rgba(255,255,255,.6); color: #fff; }
.fx-btn-ghost:hover { border-color: var(--fx-yellow); color: var(--fx-yellow); }

.fx-kicker {
    display: inline-block; font-size: 13px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
    color: var(--fx-blue); margin-bottom: 10px;
}
.fx-kicker::before { content: ''; display: inline-block; width: 26px; height: 3px; background: var(--fx-yellow); vertical-align: middle; margin-right: 10px; }

/* --- HERO --- */
.fx-hero {
    position: relative; overflow: hidden; color: #fff; padding: 90px 0 110px;
    background:
        radial-gradient(ellipse at 15% 20%, rgba(51,86,161,.45), transparent 55%),
        linear-gradient(100deg, rgba(10,10,10,.96) 0%, rgba(10,10,10,.82) 50%, rgba(10,10,10,.55) 100%),
        url('../img/hero_bg.jpg') center/cover no-repeat;
    background-color: var(--fx-black);
}
.fx-hero-stripe {
    position: absolute; right: -120px; bottom: -60px; width: 520px; height: 120px;
    background: repeating-linear-gradient(-45deg, var(--fx-yellow) 0 28px, var(--fx-black) 28px 56px);
    transform: rotate(-8deg); opacity: .9; pointer-events: none;
}
.fx-hero::after {
    content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 6px;
    background: linear-gradient(90deg, var(--fx-yellow) 0 60%, var(--fx-blue) 60% 100%);
}
.fx-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.fx-hero-logo img { height: 64px; margin-bottom: 26px; filter: drop-shadow(0 6px 18px rgba(0,0,0,.5)); }
.fx-eyebrow {
    display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.15); padding: 7px 14px; border-radius: 30px;
    font-size: 14px; font-weight: 600; color: #e8e8e8; margin-bottom: 22px;
}
.fx-eyebrow i { color: var(--fx-yellow); }
.fx-hero h1 { font-size: 60px; font-weight: 900; line-height: 1.05; margin-bottom: 22px; letter-spacing: -1px; }
.fx-hero h1 span { color: var(--fx-yellow); display: block; }
.fx-hero-content > p { font-size: 19px; color: #d6d6d6; line-height: 1.7; max-width: 540px; margin-bottom: 32px; }
.fx-hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 34px; }
.fx-hero-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.fx-hero-chips li {
    display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700;
    padding: 8px 14px; border-radius: 8px; background: rgba(51,86,161,.35); border-left: 3px solid var(--fx-yellow);
}
.fx-hero-chips i { color: var(--fx-yellow); }
.fx-hero-form .hero-form-card { border-top: 6px solid var(--fx-yellow); box-shadow: 0 30px 60px rgba(0,0,0,.45); }
.fx-hero-form .hero-form-card .form-subtitle { color: var(--fx-blue); }
.fx-hero-form .tab-btn.active { border-color: var(--fx-yellow); background: #fffbea; }

/* --- LUOTTAMUSPALKKI --- */
.fx-strip { background: var(--fx-yellow); color: var(--fx-black); padding: 26px 0; }
.fx-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fx-strip-item { display: flex; align-items: center; gap: 14px; }
.fx-strip-item > i {
    flex: 0 0 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
    background: var(--fx-black); color: var(--fx-yellow); font-size: 20px;
}
.fx-strip-item strong { display: block; font-size: 16px; font-weight: 900; line-height: 1.2; }
.fx-strip-item span { font-size: 13px; font-weight: 600; color: #3a3a3a; }

/* --- MEISTÄ --- */
.fx-about {
    padding: 100px 0; color: #fff; position: relative; overflow: hidden;
    background: linear-gradient(135deg, var(--fx-blue) 0%, var(--fx-blue-dark) 100%);
}
.fx-about::before {
    content: ''; position: absolute; top: -140px; right: -140px; width: 420px; height: 420px; border-radius: 50%;
    border: 60px solid rgba(247,198,0,.12);
}
.fx-about-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 70px; align-items: center; }
.fx-about .fx-kicker { color: var(--fx-yellow); }
.fx-about h2 { font-size: 46px; font-weight: 900; line-height: 1.05; margin-bottom: 12px; }
.fx-about h3 { font-size: 22px; font-weight: 700; color: var(--fx-yellow); margin-bottom: 24px; }
.fx-about p { font-size: 17px; color: #e4e9f5; line-height: 1.75; margin-bottom: 15px; }
.fx-about-list { list-style: none; margin-top: 26px; display: grid; gap: 12px; }
.fx-about-list li {
    display: flex; gap: 14px; align-items: flex-start; background: rgba(0,0,0,.18);
    padding: 14px 16px; border-radius: 10px; font-size: 16px; color: #eef1f8;
}
.fx-about-list i { color: var(--fx-black); background: var(--fx-yellow); width: 34px; height: 34px; flex: 0 0 34px; border-radius: 8px; display: grid; place-items: center; font-size: 15px; }
.fx-about-image { position: relative; }
.fx-about-image::before {
    content: ''; position: absolute; inset: 24px -24px -24px 24px; border: 4px solid var(--fx-yellow); border-radius: 16px;
}
.fx-about-image img { position: relative; width: 100%; display: block; border-radius: 16px; box-shadow: 0 25px 50px rgba(0,0,0,.35); }
.fx-about-badge {
    position: absolute; left: -26px; bottom: 30px; background: var(--fx-black); color: #fff;
    display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 12px;
    box-shadow: 0 15px 30px rgba(0,0,0,.35); border-left: 5px solid var(--fx-yellow);
}
.fx-about-badge strong { font-size: 44px; font-weight: 900; color: var(--fx-yellow); line-height: 1; }
.fx-about-badge span { font-size: 13px; font-weight: 700; text-transform: uppercase; line-height: 1.3; }

/* --- OSIOIDEN OTSIKOT --- */
.fx-section-head { text-align: center; margin-bottom: 56px; }
.fx-section-head h2 { font-size: 44px; font-weight: 900; color: var(--fx-black); line-height: 1.1; }
.fx-divider { display: flex; justify-content: center; gap: 6px; margin-top: 18px; }
.fx-divider span { height: 5px; border-radius: 3px; }
.fx-divider span:first-child { width: 60px; background: var(--fx-yellow); }
.fx-divider span:last-child { width: 24px; background: var(--fx-blue); }
.fx-section-head-dark h2 { color: #fff; }
.fx-section-head-dark .fx-kicker { color: var(--fx-yellow); }

/* --- KORJAAMOPALVELUT --- */
.fx-services { padding: 100px 0; background: var(--fx-grey); }
.fx-card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.fx-card {
    background: #fff; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
    box-shadow: 0 10px 30px rgba(13,13,13,.06); transition: transform .3s, box-shadow .3s;
    border-bottom: 4px solid var(--fx-blue);
}
.fx-card:hover { transform: translateY(-6px); box-shadow: 0 22px 45px rgba(13,13,13,.14); border-bottom-color: var(--fx-yellow); }
.fx-card-img { position: relative; height: 210px; overflow: hidden; background: #ddd; }
.fx-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.fx-card:hover .fx-card-img img { transform: scale(1.07); }
.fx-card-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(13,13,13,.45)); }
.fx-card-num {
    position: absolute; top: 14px; left: 14px; z-index: 1; background: var(--fx-black); color: var(--fx-yellow);
    font-weight: 900; font-size: 14px; padding: 5px 10px; border-radius: 6px; letter-spacing: 1px;
}
.fx-card-body { position: relative; padding: 38px 26px 26px; flex: 1; display: flex; flex-direction: column; }
.fx-card-icon {
    position: absolute; top: -28px; right: 24px; width: 56px; height: 56px; border-radius: 50%;
    background: var(--fx-yellow); color: var(--fx-black); display: grid; place-items: center; font-size: 22px;
    box-shadow: 0 8px 20px rgba(247,198,0,.45); border: 4px solid #fff;
}
.fx-card h3 { font-size: 21px; font-weight: 800; color: var(--fx-black); margin-bottom: 12px; }
.fx-card p { font-size: 15px; color: #555; line-height: 1.65; margin-bottom: 18px; flex: 1; }
.fx-card-link { font-weight: 800; font-size: 14px; text-transform: uppercase; color: var(--fx-blue); letter-spacing: .4px; }
.fx-card-link i { margin-left: 6px; transition: transform .2s; }
.fx-card-link:hover { color: var(--fx-black); }
.fx-card-link:hover i { transform: translateX(4px); }

/* --- LISÄPALVELUT (MOSAIIKKI) --- */
.fx-mosaic { display: flex; flex-wrap: wrap; }
.fx-tile { width: 25%; min-height: 400px; position: relative; overflow: hidden; }
.fx-tile:not(.fx-tile-img) { padding: 44px 40px; display: flex; flex-direction: column; justify-content: center; }
.fx-tile-img { background-size: cover; background-position: center; background-color: #ccc; }
.fx-tile h3 { font-size: 27px; font-weight: 900; line-height: 1.15; margin-bottom: 16px; }
.fx-tile p { font-size: 15px; line-height: 1.65; margin-bottom: 14px; }
.fx-tile-icon { position: absolute; top: 26px; right: 28px; font-size: 64px; opacity: .12; }
.fx-tile-yellow { background: var(--fx-yellow); color: var(--fx-black); }
.fx-tile-yellow p { color: #2b2b2b; }
.fx-tile-dark { background: linear-gradient(145deg, var(--fx-black), #262626); color: #fff; }
.fx-tile-dark h3 { color: var(--fx-yellow); }
.fx-tile-dark p { color: #c9c9c9; }
.fx-tile-blue { background: linear-gradient(145deg, var(--fx-blue), var(--fx-blue-dark)); color: #fff; }
.fx-tile-blue h3 { color: var(--fx-yellow); }
.fx-tile-blue p { color: #dfe6f5; }
.fx-tile-link { margin-top: 6px; font-weight: 800; text-transform: uppercase; font-size: 14px; color: var(--fx-yellow); }
.fx-tile-link i { margin-left: 6px; }
.fx-tile-link:hover { color: #fff; }
.fx-badge { align-self: flex-start; background: var(--fx-black); color: var(--fx-yellow); padding: 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 800; text-transform: uppercase; }

/* --- TARJOUKSET --- */
.fx-offers {
    padding: 100px 0; background: var(--fx-black); position: relative;
    background-image: radial-gradient(circle at 85% 10%, rgba(51,86,161,.35), transparent 45%),
                      radial-gradient(circle at 10% 90%, rgba(247,198,0,.12), transparent 40%);
}
.fx-offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.fx-offer {
    display: block; border-radius: 14px; overflow: hidden; background: #222;
    box-shadow: 0 12px 30px rgba(0,0,0,.5); transition: transform .3s, box-shadow .3s; outline: 3px solid transparent;
}
.fx-offer img { width: 100%; display: block; }
.fx-offer:hover { transform: translateY(-6px) rotate(-.5deg); outline-color: var(--fx-yellow); box-shadow: 0 20px 45px rgba(247,198,0,.25); }
.fx-offers-cta { text-align: center; margin-top: 50px; }

/* --- YHTEYSTIEDOT --- */
.fx-contact { padding: 90px 0; background: #fff; }
.fx-contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: center; }
.fx-contact h2 { font-size: 38px; font-weight: 900; color: var(--fx-black); margin-bottom: 26px; line-height: 1.1; }
.fx-contact-list { list-style: none; display: grid; gap: 14px; margin-bottom: 32px; }
.fx-contact-list li { display: flex; gap: 14px; align-items: flex-start; font-size: 16px; color: #333; }
.fx-contact-list i { width: 38px; height: 38px; flex: 0 0 38px; border-radius: 10px; background: var(--fx-blue); color: var(--fx-yellow); display: grid; place-items: center; }
.fx-contact-list span { padding-top: 7px; }
.fx-contact-list a { font-weight: 700; color: var(--fx-blue); }
.fx-contact-list a:hover { color: var(--fx-black); }
.fx-contact-img img { width: 100%; display: block; border-radius: 14px; box-shadow: 0 20px 45px rgba(13,13,13,.15); }

/* --- ETUSIVU: MOBIILI --- */
@media (max-width: 1024px) {
    .fx-hero-grid, .fx-about-grid, .fx-contact-grid { grid-template-columns: 1fr; }
    .fx-hero-content { text-align: center; }
    .fx-hero-content > p { margin-left: auto; margin-right: auto; }
    .fx-hero-cta, .fx-hero-chips { justify-content: center; }
    .fx-strip-grid { grid-template-columns: repeat(2, 1fr); }
    .fx-card-grid, .fx-offer-grid { grid-template-columns: repeat(2, 1fr); }
    .fx-tile { width: 50%; }
    .fx-about-image { max-width: 520px; margin: 0 auto; }
}
@media (max-width: 768px) {
    .fx-hero { padding: 56px 0 80px; }
    .fx-hero h1 { font-size: 38px; }
    .fx-hero-content > p { font-size: 17px; }
    .fx-hero-logo img { height: 52px; }
    .fx-hero-stripe { width: 300px; height: 70px; right: -80px; bottom: -30px; }
    .fx-btn { padding: 13px 22px; font-size: 15px; }
    .fx-strip-grid { grid-template-columns: 1fr; gap: 14px; }
    .fx-about, .fx-services, .fx-offers, .fx-contact { padding: 70px 0; }
    .fx-about h2, .fx-section-head h2 { font-size: 34px; }
    .fx-contact h2 { font-size: 30px; }
    .fx-card-grid, .fx-offer-grid { grid-template-columns: 1fr; }
    .fx-tile { width: 100%; min-height: 300px; }
    .fx-tile:not(.fx-tile-img) { padding: 36px 26px; }
    .fx-about-image::before { inset: 14px -10px -14px 14px; }
    .fx-about-badge { left: 10px; bottom: 16px; padding: 12px 16px; }
    .fx-about-badge strong { font-size: 34px; }
    .fx-offer-grid { max-width: 420px; margin: 0 auto; }
}
