/*
Theme Name: ArvoTech
Author: ArvoTech
Description: Custom theme for ArvoTech Oy
Version: 0.3
Text Domain: arvotech
*/

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: #0d0d0d;
    color: #f5f5f5;
    line-height: 1.6;
}

a {
    color: inherit;
}

.site-header {
    min-height: 80px;
    padding: 0 6%;
    display: flex;
    align-items: center;
    gap: 45px;
    background: #111;
    border-bottom: 1px solid #292929;
    position: sticky;
    top: 0;
    z-index: 100;
}

.site-logo {
    color: #f5c518;
    font-size: 24px;
    font-weight: 800;
    text-decoration: none;
    white-space: nowrap;
}

.site-header nav {
    margin-left: auto;
}

.site-header nav ul {
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.site-header nav a {
    text-decoration: none;
    font-weight: 600;
    color: #fff;
}

.site-header nav a:hover {
    color: #f5c518;
}

.languages {
    display: none;
}

main {
    width: 100%;
}

.hero {
    min-height: 600px;
    padding: 110px 8%;
    display: flex;
    align-items: center;
    background:
        linear-gradient(110deg, #080808 10%, #151515 70%, #211c08);
}

.hero-content {
    max-width: 850px;
}

.eyebrow {
    color: #f5c518;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero h1 {
    margin: 15px 0 20px;
    max-width: 850px;
    font-size: clamp(44px, 6vw, 82px);
    line-height: 1.02;
    letter-spacing: -2px;
}

.hero-text {
    max-width: 650px;
    color: #bdbdbd;
    font-size: 21px;
}

.hero-actions {
    display: flex;
    gap: 15px;
    margin-top: 35px;
}

.btn {
    display: inline-block;
    padding: 15px 25px;
    text-decoration: none;
    font-weight: 800;
    border: 2px solid #f5c518;
}

.btn-primary {
    background: #f5c518;
    color: #111;
}

.btn-secondary {
    color: #f5c518;
}

.services,
.jobs-preview {
    padding: 80px 8%;
}

.services {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    background: #151515;
}

.services > div {
    padding: 40px;
    border: 1px solid #303030;
    background: #101010;
}

.services h2,
.jobs-preview > h2 {
    margin-top: 0;
    font-size: 34px;
}

.services h2::before,
.jobs-preview > h2::before {
    content: "";
    display: block;
    width: 45px;
    height: 5px;
    margin-bottom: 18px;
    background: #f5c518;
}

.jobs-preview {
    background: #0d0d0d;
}

.arvotech-job {
    max-width: 900px;
    margin: 25px 0;
    padding: 30px;
    background: #171717;
    border-left: 5px solid #f5c518;
}

.arvotech-job h2 {
    margin-top: 0;
    font-size: 28px;
}

.site-footer {
    padding: 35px 8%;
    background: #080808;
    border-top: 1px solid #272727;
    color: #888;
}

@media (max-width: 800px) {

    .site-header {
        padding: 20px;
        flex-wrap: wrap;
        gap: 15px;
    }

    .site-header nav {
        width: 100%;
        margin: 0;
    }

    .site-header nav ul {
        gap: 18px;
        flex-wrap: wrap;
    }

    .hero {
        min-height: 500px;
        padding: 70px 25px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    .services {
        grid-template-columns: 1fr;
        padding: 50px 25px;
    }

    .jobs-preview {
        padding: 50px 25px;
    }
}

:root {
    --arvo-yellow: #FEBE20;
    --arvo-black: #0a0a0a;
    --arvo-dark: #121212;
    --arvo-card: #181818;
    --arvo-text: #f5f5f5;
    --arvo-muted: #b8b8b8;
}

.site-logo {
    color: var(--arvo-yellow);
}

.site-header nav a:hover {
    color: var(--arvo-yellow);
}

.eyebrow,
.section-label,
.service-number {
    color: var(--arvo-yellow);
}

.btn {
    border-color: var(--arvo-yellow);
}

.btn-primary {
    background: var(--arvo-yellow);
    color: #111;
}

.btn-primary:hover {
    background: #ffd24f;
}

.btn-secondary {
    color: var(--arvo-yellow);
}

.btn-secondary:hover {
    background: var(--arvo-yellow);
    color: #111;
}

.about-section,
.company-section,
.worker-section,
.final-cta {
    padding: 90px 8%;
}

.section-inner,
.company-content,
.worker-content,
.final-cta > div {
    max-width: 1000px;
}

.about-section {
    background: #101010;
}

.about-section h2,
.company-section h2,
.worker-section h2,
.final-cta h2 {
    font-size: clamp(34px, 4vw, 58px);
    margin: 10px 0 25px;
    line-height: 1.1;
}

.about-section p,
.company-section p,
.worker-section p {
    max-width: 800px;
    font-size: 19px;
    color: var(--arvo-muted);
}

.section-label {
    text-transform: uppercase;
    font-weight: 800;
    letter-spacing: 2px;
    font-size: 14px;
}

.services {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    position: relative;
    padding: 40px;
    background: var(--arvo-card);
    border: 1px solid #2c2c2c;
    min-height: 280px;
    transition: transform .25s ease, border-color .25s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: var(--arvo-yellow);
}

.service-number {
    display: block;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 30px;
}

.service-card h2 {
    font-size: 28px;
}

.company-section {
    background: var(--arvo-yellow);
    color: #111;
}

.company-section .section-label {
    color: #111;
}

.company-section p {
    color: #222;
}

.worker-section {
    background: #0c0c0c;
}

.jobs-preview {
    border-top: 1px solid #242424;
}

.arvotech-job {
    transition: transform .25s ease, background .25s ease;
    border-left-color: var(--arvo-yellow);
}

.arvotech-job:hover {
    transform: translateX(6px);
    background: #1d1d1d;
}

.final-cta {
    background:
        linear-gradient(120deg, #111 0%, #171717 65%, #2a2100 100%);
    border-top: 1px solid #2a2a2a;
}

.final-cta h2 {
    max-width: 850px;
}

@media (max-width: 900px) {
    .services {
        grid-template-columns: 1fr;
    }

    .about-section,
    .company-section,
    .worker-section,
    .final-cta {
        padding: 60px 25px;
    }
}

/* Header logo */
.custom-logo-link {
    display: flex;
    align-items: center;
}

.custom-logo {
    width: auto;
    height: 55px;
    max-width: 260px;
    object-fit: contain;
}

.site-header {
    min-height: 75px;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 800px) {
    .custom-logo {
        height: 45px;
        max-width: 210px;
    }
}

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.95) 0%,
            rgba(8,8,8,0.82) 38%,
            rgba(8,8,8,0.35) 70%,
            rgba(8,8,8,0.20) 100%
        ),
        url("https://arvotechoy.fi/wp-content/uploads/2026/09/photo_2025-01-16_19-18-31.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.95) 0%,
            rgba(8,8,8,0.82) 38%,
            rgba(8,8,8,0.35) 70%,
            rgba(8,8,8,0.20) 100%
        ),
        url("https://arvotechoy.fi/wp-content/uploads/2026/09/photo_2025-01-16_19-18-31.jpg");

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.95) 0%,
            rgba(8,8,8,0.78) 38%,
            rgba(8,8,8,0.28) 68%,
            rgba(8,8,8,0.12) 100%
        ),
        url("https://arvotechoy.fi/wp-content/uploads/2026/09/photo_2025-01-16_19-18-37.jpg");

    background-size: cover;
    background-position: center right;
}

.hero {
    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.92) 0%,
            rgba(8,8,8,0.78) 35%,
            rgba(8,8,8,0.38) 68%,
            rgba(8,8,8,0.18) 100%
        ),
        url("https://arvotechoy.fi/wp-content/uploads/2026/09/%D0%98%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-ChatGPT-25-%D1%81%D0%B5%D0%BD%D1%82.-2026-%D0%B3.-22_20_15-4.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.company-section {
    background:
        linear-gradient(
            90deg,
            rgba(254,190,32,1) 0%,
            rgba(254,190,32,0.98) 48%,
            rgba(254,190,32,0.88) 58%,
            rgba(254,190,32,0.18) 100%
        ),
        url("https://arvotechoy.fi/wp-content/uploads/2026/09/%D0%98%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-ChatGPT-25-%D1%81%D0%B5%D0%BD%D1%82.-2026-%D0%B3.-22_20_13-1.png");

    background-size: cover;
    background-position: right center;
    background-repeat: no-repeat;
    min-height: 520px;
    display: flex;
    align-items: center;
}

.company-content {
    max-width: 620px;
}

@media (max-width: 900px) {
    .company-section {
        background:
            linear-gradient(
                180deg,
                rgba(254,190,32,0.96) 0%,
                rgba(254,190,32,0.92) 45%,
                rgba(254,190,32,0.35) 100%
            ),
            url("https://arvotechoy.fi/wp-content/uploads/2026/09/%D0%98%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-ChatGPT-25-%D1%81%D0%B5%D0%BD%D1%82.-2026-%D0%B3.-22_20_13-1.png");

        background-size: cover;
        background-position: center;
        min-height: auto;
    }
}

.worker-section {
    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.15) 0%,
            rgba(8,8,8,0.35) 42%,
            rgba(8,8,8,0.92) 62%,
            rgba(8,8,8,0.98) 100%
        ),
        url("https://arvotechoy.fi/wp-content/uploads/2026/09/photo_2025-01-16_19-18-33.jpg");

    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
    min-height: 520px;

    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.worker-content {
    max-width: 620px;
    margin-left: auto;
}

@media (max-width: 900px) {
    .worker-section {
        background:
            linear-gradient(
                180deg,
                rgba(8,8,8,0.35) 0%,
                rgba(8,8,8,0.82) 45%,
                rgba(8,8,8,0.98) 100%
            ),
            url("https://arvotechoy.fi/wp-content/uploads/2026/09/photo_2025-01-16_19-18-33.jpg");

        background-size: cover;
        background-position: center;
        min-height: auto;
    }

    .worker-content {
        margin-left: 0;
    }
}

.worker-section {
    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.12) 0%,
            rgba(8,8,8,0.30) 40%,
            rgba(8,8,8,0.90) 62%,
            rgba(8,8,8,0.98) 100%
        ),
        url("https://arvotechoy.fi/wp-content/uploads/2026/09/%D0%98%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-ChatGPT-25-%D1%81%D0%B5%D0%BD%D1%82.-2026-%D0%B3.-22_20_14-2.png");

    background-size: cover;
    background-position: left center;
    background-repeat: no-repeat;
}

.worker-section {
    background-position: left 32%;
}


.hero {
    background:
        linear-gradient(
            90deg,
            rgba(8,8,8,0.92) 0%,
            rgba(8,8,8,0.78) 35%,
            rgba(8,8,8,0.38) 68%,
            rgba(8,8,8,0.18) 100%
        ),
        url("https://arvotechoy.fi/wp-content/uploads/2026/09/%D0%98%D0%B7%D0%BE%D0%B1%D1%80%D0%B0%D0%B6%D0%B5%D0%BD%D0%B8%D0%B5-ChatGPT-25-%D1%81%D0%B5%D0%BD%D1%82.-2026-%D0%B3.-22_20_15-4.png");

    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.worker-section {
    background-position: left 24%;
}


.worker-section {
    background-position: left 18%;
}


.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition:
        opacity .7s ease,
        transform .7s ease;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-content {
    animation: heroIntro .9s ease forwards;
}

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

@media (prefers-reduced-motion: reduce) {
    .reveal,
    .hero-content {
        opacity: 1;
        transform: none;
        animation: none;
        transition: none;
    }
}

/* Standard content pages */
.page main {
    width: min(900px, calc(100% - 40px));
    margin: 0 auto;
    padding: 80px 0 100px;
}

.page main > h1 {
    font-size: clamp(42px, 6vw, 68px);
    margin: 0 0 40px;
}

/* Application form */
.page main form {
    padding: 45px;
    background: #151515;
    border: 1px solid #303030;
    border-top: 5px solid #FEBE20;
}

.page main form p {
    margin: 0 0 24px;
}

.page main form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 700;
    color: #f5f5f5;
}

.page main form input[type="text"],
.page main form input[type="email"],
.page main form textarea,
.page main form select {
    width: 100%;
    padding: 15px 16px;
    background: #0d0d0d;
    color: #fff;
    border: 1px solid #3b3b3b;
    font: inherit;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease;
}

.page main form textarea {
    min-height: 130px;
    resize: vertical;
}

.page main form input:focus,
.page main form textarea:focus,
.page main form select:focus {
    border-color: #FEBE20;
    box-shadow: 0 0 0 2px rgba(254,190,32,.15);
}

.page main form input[type="checkbox"] {
    accent-color: #FEBE20;
    margin-right: 9px;
}

.page main form button {
    padding: 16px 28px;
    background: #FEBE20;
    color: #111;
    border: 0;
    font-weight: 800;
    font-size: 16px;
    cursor: pointer;
    transition: transform .2s ease, background .2s ease;
}

.page main form button:hover {
    transform: translateY(-2px);
    background: #ffd04d;
}

@media (max-width: 700px) {
    .page main {
        padding: 55px 0 70px;
    }

    .page main form {
        padding: 25px;
    }
}

/* Jobs page */
.page .arvotech-job {
    max-width: none;
    margin: 0 0 24px;
    padding: 32px 36px;
    background: #151515;
    border: 1px solid #2d2d2d;
    border-left: 5px solid #FEBE20;
    transition:
        transform .25s ease,
        border-color .25s ease,
        background .25s ease;
}

.page .arvotech-job:hover {
    transform: translateY(-4px);
    border-color: #FEBE20;
    background: #191919;
}

.page .arvotech-job h2 {
    margin: 0 0 20px;
    font-size: 30px;
    color: #fff;
}

.page .arvotech-job p {
    color: #c5c5c5;
}

.page .arvotech-job strong {
    color: #FEBE20;
}

@media (max-width: 700px) {
    .page .arvotech-job {
        padding: 24px;
    }

    .page .arvotech-job h2 {
        font-size: 25px;
    }
}

.job-card {
    display: grid;
    grid-template-columns: 320px 1fr;
    padding: 0 !important;
    overflow: hidden;
    border-left: none !important;
}

.job-image {
    min-height: 100%;
    background-size: cover;
    background-position: center;
}

.job-content {
    padding: 36px;
}

.job-content h2 {
    margin-top: 0;
}

.job-apply-btn {
    display: inline-block;
    margin-top: 18px;
    padding: 14px 24px;
    background: #FEBE20;
    color: #111;
    text-decoration: none;
    font-weight: 800;
    transition: transform .2s ease, background .2s ease;
}

.job-apply-btn:hover {
    transform: translateY(-2px);
    background: #ffd04d;
}

@media (max-width: 800px) {
    .job-card {
        grid-template-columns: 1fr;
    }

    .job-image {
        min-height: 240px;
    }

    .job-content {
        padding: 25px;
    }
}

/* Vacancy card — final layout */
.job-card {
    position: relative;
    display: block;
    min-height: 390px;
    padding: 0 !important;
    overflow: hidden;

    transform: none !important;
    transition: none !important;
}

.page .job-card:hover {
    transform: none !important;
    background: #151515;
}

/* Image on the right */
.job-image {
    position: absolute;
    top: 0;
    right: 0;

    width: 55%;
    height: 100%;
    min-height: 100%;

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Dark gradient over image */
.job-image::after {
    content: "";
    position: absolute;
    inset: 0;

    background: linear-gradient(
        90deg,
        #151515 0%,
        rgba(21,21,21,0.92) 12%,
        rgba(21,21,21,0.58) 38%,
        rgba(21,21,21,0.15) 75%,
        rgba(21,21,21,0.05) 100%
    );
}

/* Text on the left */
.job-content {
    position: relative;
    z-index: 2;

    width: 60%;
    padding: 42px;
}

/* No movement on button */
.job-apply-btn {
    transition: background .2s ease;
}

.job-apply-btn:hover {
    transform: none;
}

@media (max-width: 800px) {

    .job-card {
        min-height: auto;
        padding-top: 230px !important;
    }

    .job-image {
        width: 100%;
        height: 230px;
    }

    .job-image::after {
        background: linear-gradient(
            180deg,
            rgba(21,21,21,0.05) 0%,
            #151515 100%
        );
    }

    .job-content {
        width: 100%;
        padding: 28px;
    }
}

.page .job-card {
    border: 1px solid #FEBE20 !important;
    border-left: 1px solid #FEBE20 !important;
}

.page .job-card:hover {
    border: 1px solid #FEBE20 !important;
}

.page .job-card {
    border: 1px solid transparent !important;
    border-left: 1px solid transparent !important;
}

.page .job-card:hover {
    border: 1px solid #FEBE20 !important;
    border-left: 1px solid #FEBE20 !important;
}

/* No border on vacancy card */
.page .job-card,
.page .job-card:hover {
    border: none !important;
    border-left: none !important;
}

/* Button animation only */
.job-apply-btn {
    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}

.job-apply-btn:hover {
    transform: translateY(-3px);
    background: #ffd04d;
    box-shadow: 0 8px 24px rgba(254,190,32,.25);
}

/* Single vacancy */

.single-job {
    background: #0d0d0d;
}

.single-job-hero {
    min-height: 520px;
    padding: 90px 8%;
    display: flex;
    align-items: flex-end;
    background-size: cover;
    background-position: center;
}

.single-job-hero-content {
    width: 100%;
    max-width: 1100px;
}

.job-back {
    display: inline-block;
    margin-bottom: 28px;
    color: #FEBE20;
    text-decoration: none;
    font-weight: 700;
}

.single-job-hero h1 {
    max-width: 900px;
    margin: 0 0 35px;
    font-size: clamp(46px, 7vw, 80px);
    line-height: 1;
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.job-meta span {
    min-width: 150px;
    padding: 16px 20px;
    background: rgba(10,10,10,.78);
    border: 1px solid rgba(255,255,255,.14);
}

.job-meta strong {
    display: block;
    margin-bottom: 3px;
    color: #FEBE20;
    font-size: 13px;
    text-transform: uppercase;
}

.single-job-body {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 30px 110px;

    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 70px;
}

.single-job-description {
    font-size: 18px;
    color: #d0d0d0;
    line-height: 1.8;
}

.single-job-description h2,
.single-job-description h3 {
    color: #fff;
}

.job-requirements {
    margin-top: 50px;
    padding-top: 35px;
    border-top: 1px solid #303030;
}

.job-apply-box {
    align-self: start;
    position: sticky;
    top: 110px;

    padding: 30px;
    background: #171717;
    border-top: 5px solid #FEBE20;
}

.job-apply-box h2 {
    margin-top: 0;
    font-size: 28px;
}

@media (max-width: 850px) {

    .single-job-hero {
        min-height: 430px;
        padding: 60px 25px;
    }

    .single-job-body {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 55px 25px 80px;
    }

    .job-apply-box {
        position: static;
    }
}

/* Restore full-width homepage */
body.home main {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
}


/* Custom CV upload */

.arvo-file-upload {
    display:flex;
    align-items:center;
    gap:16px;
    margin-top:10px;
    margin-bottom:8px;
}

.arvo-file-upload input[type="file"] {
    position:absolute;
    width:1px;
    height:1px;
    opacity:0;
    overflow:hidden;
    pointer-events:none;
}

.arvo-file-button {
    border:2px solid #FEBE20;
    background:#FEBE20;
    color:#0a0a0a;
    padding:12px 22px;
    font-weight:700;
    cursor:pointer;
    transition:transform .2s ease, background .2s ease;
}

.arvo-file-button:hover {
    transform:translateY(-2px);
    background:#ffd04d;
}

.arvo-file-name {
    color:#d0d0d0;
    font-size:14px;
}

@media(max-width:600px) {
    .arvo-file-upload {
        align-items:flex-start;
        flex-direction:column;
        gap:10px;
    }
}


/* Homepage hero redesign */

body.home .hero {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    min-height: 650px;
    padding-left: 8%;
    padding-right: 8%;
}

body.home .hero-content {
    width: 100%;
    max-width: 900px;
}

body.home .hero-content > p:not(.eyebrow) {
    max-width: 780px;
    font-size: 20px;
    line-height: 1.6;
}


/* ===== CONTACT PAGE ===== */

.contact-page {
    background:#0a0a0a;
    color:#fff;
}

.contact-container {
    width:min(1200px, calc(100% - 60px));
    margin:0 auto;
}

.contact-hero {
    padding:120px 0 90px;
    background:
        linear-gradient(110deg, #0a0a0a 0%, #111 70%, #1a1a1a 100%);
    border-bottom:1px solid #292929;
}

.contact-hero h1 {
    margin:12px 0 25px;
    font-size:clamp(55px, 8vw, 100px);
    line-height:.95;
}

.contact-intro {
    max-width:700px;
    font-size:21px;
    line-height:1.6;
    color:#bdbdbd;
}

.contact-info {
    padding:80px 0 120px;
}

.contact-grid {
    display:grid;
    grid-template-columns:repeat(3, 1fr);
    gap:20px;
}

.contact-card {
    position:relative;
    min-height:240px;
    padding:35px;
    background:#151515;
    border-top:4px solid #FEBE20;
}

.contact-number {
    display:block;
    margin-bottom:45px;
    color:#FEBE20;
    font-size:14px;
    font-weight:800;
    letter-spacing:2px;
}

.contact-card h2 {
    margin:0 0 15px;
    font-size:27px;
}

.contact-card a,
.contact-card p {
    margin:0;
    color:#d3d3d3;
    font-size:18px;
    text-decoration:none;
}

.contact-card a:hover {
    color:#FEBE20;
}

.company-details {
    margin-top:70px;
    padding:50px;
    background:#FEBE20;
    color:#0a0a0a;
}

.company-details .section-label {
    color:#0a0a0a;
}

.company-details h2 {
    margin:8px 0 40px;
    font-size:42px;
}

.company-detail-row {
    display:flex;
    justify-content:space-between;
    gap:30px;
    padding:18px 0;
    border-top:1px solid rgba(0,0,0,.25);
}

.company-detail-row span {
    font-weight:600;
}

.company-detail-row strong {
    text-align:right;
}

@media(max-width:800px) {

    .contact-container {
        width:min(100% - 40px, 1200px);
    }

    .contact-hero {
        padding:80px 0 60px;
    }

    .contact-grid {
        grid-template-columns:1fr;
    }

    .contact-card {
        min-height:auto;
    }

    .company-details {
        padding:30px;
    }

    .company-detail-row {
        flex-direction:column;
        gap:5px;
    }

    .company-detail-row strong {
        text-align:left;
    }
}


/* ===== CONTACT PAGE REDESIGN ===== */

body.page-template-page-yhteystiedot main.contact-page {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}

.contact-hero {
    position:relative;
    overflow:hidden;
    min-height:520px;
    display:flex;
    align-items:center;
    padding:100px 0;
    background:none !important;
}

.contact-hero::before {
    content:"";
    position:absolute;
    inset:-35px;

    background:
        url("/wp-content/uploads/2026/09/Изображение-ChatGPT-25-сент.-2026-г.-22_20_15-4.png")
        center center / cover no-repeat;

    animation:arvoContactZoom 18s ease-in-out infinite alternate;
}

.contact-hero::after {
    content:"";
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            90deg,
            rgba(6,6,6,.96) 0%,
            rgba(6,6,6,.82) 42%,
            rgba(6,6,6,.42) 72%,
            rgba(6,6,6,.20) 100%
        );
}

.contact-hero-inner {
    position:relative;
    z-index:2;
}

.contact-hero h1 {
    font-size:clamp(60px,8vw,105px);
    max-width:900px;
}

.contact-intro {
    max-width:720px;
    font-size:22px;
}

.contact-grid {
    grid-template-columns:repeat(4,1fr);
}

.contact-card {
    transition:transform .25s ease, background .25s ease;
}

.contact-card:hover {
    transform:translateY(-5px);
    background:#1b1b1b;
}

@keyframes arvoContactZoom {
    from {
        transform:scale(1);
    }

    to {
        transform:scale(1.06);
    }
}

@media(max-width:1000px) {

    .contact-grid {
        grid-template-columns:repeat(2,1fr);
    }

}

@media(max-width:600px) {

    .contact-grid {
        grid-template-columns:1fr;
    }

    .contact-hero {
        min-height:430px;
        padding:70px 0;
    }
}


/* Single contact block */

.contact-single-block {
    max-width:900px;
    margin:0 auto;
    background:#151515;
    border-top:4px solid #FEBE20;
    padding:20px 45px;
}

.contact-single-row {
    padding:28px 0;
    border-bottom:1px solid #2c2c2c;
}

.contact-single-row:last-child {
    border-bottom:none;
}

.contact-single-row h2 {
    margin:0 0 8px;
    font-size:24px;
    color:#fff;
}

.contact-single-row a,
.contact-single-row p {
    margin:0;
    color:#cfcfcf;
    font-size:18px;
    text-decoration:none;
}

.contact-single-row a:hover {
    color:#FEBE20;
}

@media(max-width:600px) {

    .contact-single-block {
        padding:15px 25px;
    }

    .contact-single-row {
        padding:22px 0;
    }

}


/* ===== FOOTER ===== */

.site-footer {
    background:#070707;
    color:#bdbdbd;
    border-top:1px solid #292929;
}

.footer-inner {
    width:min(1200px, calc(100% - 60px));
    margin:0 auto;
    padding:75px 0 60px;

    display:grid;
    grid-template-columns:1.7fr 1fr 1.3fr;
    gap:70px;
}

.footer-logo {
    margin-bottom:25px;
}

.footer-logo .custom-logo {
    height:48px;
    width:auto;
    max-width:250px;
}

.footer-brand p {
    max-width:420px;
    margin:0;
    font-size:16px;
    line-height:1.7;
    color:#999;
}

.footer-column {
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    gap:11px;
}

.footer-column h3 {
    margin:0 0 12px;
    color:#FEBE20;
    font-size:14px;
    text-transform:uppercase;
    letter-spacing:1.5px;
}

.footer-column a,
.footer-column span {
    color:#c5c5c5;
    text-decoration:none;
    font-size:15px;
}

.footer-column a:hover {
    color:#FEBE20;
}

.footer-bottom {
    width:min(1200px, calc(100% - 60px));
    margin:0 auto;
    padding:22px 0 28px;

    border-top:1px solid #242424;

    display:flex;
    justify-content:space-between;
    gap:20px;

    font-size:13px;
    color:#777;
}

@media(max-width:800px) {

    .footer-inner {
        grid-template-columns:1fr;
        gap:45px;
        padding:55px 0 45px;
    }

    .footer-bottom {
        flex-direction:column;
        gap:5px;
    }
}


/* ===== PRIVACY PAGE ===== */

.privacy-page {
    background:#0a0a0a;
    color:#fff;
    padding:100px 0 120px;
}

.privacy-container {
    width:min(900px, calc(100% - 50px));
    margin:0 auto;
}

.privacy-container h1 {
    margin:10px 0 25px;
    font-size:clamp(48px,7vw,82px);
    line-height:1;
}

.privacy-lead {
    max-width:750px;
    margin-bottom:70px;
    color:#bbb;
    font-size:20px;
    line-height:1.7;
}

.privacy-container section {
    padding:32px 0;
    border-top:1px solid #292929;
}

.privacy-container section h2 {
    margin:0 0 18px;
    color:#FEBE20;
    font-size:25px;
}

.privacy-container section p,
.privacy-container section li {
    color:#c8c8c8;
    font-size:17px;
    line-height:1.75;
}

.privacy-container a {
    color:#FEBE20;
    text-decoration:none;
}

.privacy-container a:hover {
    text-decoration:underline;
}


/* Mobile contact title fix */
@media (max-width:600px) {

    .contact-hero h1 {
        font-size:clamp(36px, 11vw, 46px) !important;
        line-height:1;
        letter-spacing:-1px;
        white-space:nowrap;
    }

}


/* Definitive mobile contact title fix */
@media (max-width:600px) {

    .contact-hero h1 {
        font-size:9vw !important;
        line-height:1.05 !important;
        letter-spacing:-1px !important;
        white-space:normal !important;
        max-width:100% !important;
        overflow-wrap:normal !important;
    }

}

/* ===== TERÄSRAKENTEET ===== */

body.page-template-page-terasrakenteet main.steel-page {
    width:100% !important;
    max-width:none !important;
    margin:0 !important;
    padding:0 !important;
}

.steel-page {
    background:#0a0a0a;
    color:#fff;
}

.steel-container {
    width:min(1200px, calc(100% - 60px));
    margin:0 auto;
}

.steel-hero {
    min-height:650px;
    display:flex;
    align-items:center;
    padding:100px 0;
    background:
        linear-gradient(110deg, #080808 0%, #111 60%, #181818 100%);
}

.steel-hero-content {
    max-width:1200px;
}

.steel-hero h1 {
    max-width:950px;
    margin:15px 0 30px;
    font-size:clamp(55px, 7vw, 100px);
    line-height:.95;
}

.steel-lead {
    max-width:780px;
    margin-bottom:35px;
    color:#c5c5c5;
    font-size:20px;
    line-height:1.7;
}

.steel-section {
    padding:100px 0;
    background:#101010;
}

.steel-section-dark {
    background:#080808;
}

.steel-two-column {
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:80px;
    align-items:center;
}

.steel-section h2,
.steel-services h2,
.steel-cta h2 {
    margin:10px 0 25px;
    font-size:clamp(38px,5vw,64px);
    line-height:1.05;
}

.steel-section p,
.steel-section li {
    color:#c5c5c5;
    font-size:18px;
    line-height:1.7;
}

.steel-section ul {
    padding-left:22px;
}

.steel-section li {
    margin:8px 0;
}

.steel-image-slot {
    min-height:430px;
    background:
        linear-gradient(135deg,#181818,#0d0d0d);
    border-top:4px solid #FEBE20;
    background-size:cover;
    background-position:center;
}

.steel-services {
    padding:100px 0;
    background:#111;
}

.steel-service-grid {
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:20px;
    margin-top:45px;
}

.steel-service-card {
    min-height:300px;
    padding:35px;
    background:#181818;
    border-top:4px solid #FEBE20;
}

.steel-service-card span {
    color:#FEBE20;
    font-weight:800;
    letter-spacing:2px;
}

.steel-service-card h3 {
    margin:50px 0 15px;
    font-size:27px;
}

.steel-service-card p {
    color:#aaa;
    line-height:1.7;
}

.steel-cta {
    padding:110px 0;
    background:#FEBE20;
    color:#090909;
}

.steel-cta .section-label {
    color:#090909;
}

.steel-cta p {
    margin-bottom:30px;
    font-size:19px;
}

.steel-cta .job-apply-btn {
    background:#090909;
    color:#fff;
}

@media(max-width:800px) {

    .steel-container {
        width:min(100% - 40px,1200px);
    }

    .steel-hero {
        min-height:520px;
        padding:70px 0;
    }

    .steel-two-column,
    .steel-service-grid {
        grid-template-columns:1fr;
    }

    .steel-two-column {
        gap:40px;
    }

    .steel-image-slot {
        min-height:300px;
    }

    .steel-section,
    .steel-services,
    .steel-cta {
        padding:70px 0;
    }
}


/* ===== TERÄSRAKENTEET IMAGES ===== */

.steel-hero {
    background:
        linear-gradient(
            90deg,
            rgba(7,7,7,.96) 0%,
            rgba(7,7,7,.84) 38%,
            rgba(7,7,7,.48) 67%,
            rgba(7,7,7,.18) 100%
        ),
        url("/wp-content/uploads/2026/09/arvotech-welding.png")
        center center / cover no-repeat !important;
}

.steel-image-1 {
    background:
        url("/wp-content/uploads/2026/09/arvotech-installation.png")
        center center / cover no-repeat !important;
}

.steel-image-2 {
    background:
        url("/wp-content/uploads/2026/09/arvotech-components.png")
        center center / cover no-repeat !important;
}


/* ===== TERÄSRAKENTEET IMAGE GRADIENT FIX ===== */

.steel-image-slot {
    position: relative;
    overflow: hidden;
    min-height: 430px;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Загальне м'яке затемнення */
.steel-image-slot::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(0,0,0,0.10) 0%,
        rgba(0,0,0,0.22) 100%
    );
    pointer-events: none;
}

/* Картинка справа -> затемнення вліво до тексту */
.steel-image-1::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        270deg,
        rgba(7,7,7,0.00) 0%,
        rgba(7,7,7,0.18) 18%,
        rgba(7,7,7,0.45) 40%,
        rgba(7,7,7,0.78) 68%,
        rgba(7,7,7,0.96) 100%
    );
    pointer-events: none;
}

/* Картинка зліва -> затемнення вправо до тексту */
.steel-image-2::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(7,7,7,0.00) 0%,
        rgba(7,7,7,0.18) 18%,
        rgba(7,7,7,0.45) 40%,
        rgba(7,7,7,0.78) 68%,
        rgba(7,7,7,0.96) 100%
    );
    pointer-events: none;
}

/* Трохи красивіше вирівнювання блоку */
.steel-split {
    align-items: center;
}

/* На мобільному — без жорсткого бокового переходу */
@media (max-width: 900px) {

    .steel-image-slot {
        min-height: 320px;
    }

    .steel-image-1::after,
    .steel-image-2::after {
        background: linear-gradient(
            180deg,
            rgba(7,7,7,0.10) 0%,
            rgba(7,7,7,0.35) 45%,
            rgba(7,7,7,0.82) 100%
        );
    }
}


/* ===== FULL BACKGROUND STEEL SECTIONS ===== */

.steel-section-installation,
.steel-section-components {
    position:relative;
    overflow:hidden;
    min-height:560px;
    display:flex;
    align-items:center;
}

/* remove old separate image blocks */
.steel-section-installation .steel-image-1,
.steel-section-components .steel-image-2 {
    display:none;
}

/* background image layer */
.steel-section-installation::before,
.steel-section-components::before {
    content:"";
    position:absolute;
    inset:0;
    background-size:cover;
    background-repeat:no-repeat;
    z-index:0;
}

/* TERÄSRAKENTEET — photo on right */
.steel-section-installation::before {
    background-image:
        url("/wp-content/uploads/2026/09/arvotech-installation.png");
    background-position:center right;
}

/* dark left -> photo right */
.steel-section-installation::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(8,8,8,.98) 0%,
        rgba(8,8,8,.96) 30%,
        rgba(8,8,8,.82) 48%,
        rgba(8,8,8,.48) 68%,
        rgba(8,8,8,.16) 100%
    );
    z-index:1;
}

/* COMPONENTS — photo on left */
.steel-section-components::before {
    background-image:
        url("/wp-content/uploads/2026/09/arvotech-components.png");
    background-position:center left;
}

/* photo left -> dark right */
.steel-section-components::after {
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        90deg,
        rgba(8,8,8,.14) 0%,
        rgba(8,8,8,.42) 30%,
        rgba(8,8,8,.80) 52%,
        rgba(8,8,8,.96) 70%,
        rgba(8,8,8,.99) 100%
    );
    z-index:1;
}

/* content above image */
.steel-section-installation .steel-container,
.steel-section-components .steel-container {
    position:relative;
    z-index:2;
    display:block;
}

/* left text block */
.steel-section-installation .steel-container > div:first-child {
    max-width:600px;
}

/* right text block */
.steel-section-components .steel-container > div:last-child {
    max-width:600px;
    margin-left:auto;
}

/* remove yellow top line from old image slots */
.steel-section-installation .steel-image-slot,
.steel-section-components .steel-image-slot {
    border:none;
}

/* mobile */
@media(max-width:800px) {

    .steel-section-installation,
    .steel-section-components {
        min-height:auto;
        padding:70px 0;
    }

    .steel-section-installation::after,
    .steel-section-components::after {
        background:linear-gradient(
            180deg,
            rgba(8,8,8,.72) 0%,
            rgba(8,8,8,.88) 55%,
            rgba(8,8,8,.98) 100%
        );
    }

    .steel-section-installation .steel-container > div:first-child,
    .steel-section-components .steel-container > div:last-child {
        max-width:100%;
        margin-left:0;
    }
}


/* ===== STEEL SECTION SEPARATORS ===== */

.steel-section-installation,
.steel-section-components {
    margin-top:28px;
    margin-bottom:28px;
    border-top:1px solid rgba(254,190,32,.14);
    border-bottom:1px solid rgba(254,190,32,.10);
}

@media(max-width:800px) {
    .steel-section-installation,
    .steel-section-components {
        margin-top:18px;
        margin-bottom:18px;
    }
}


/* Mobile Teräsrakenteet title */
@media (max-width:800px) {

    .steel-hero h1 {
        font-size:clamp(34px, 9vw, 46px) !important;
        line-height:1.02 !important;
        letter-spacing:-1px;
        max-width:100%;
        overflow-wrap:normal;
    }

}

/* ===== MOBILE HAMBURGER MENU ===== */

.mobile-menu-toggle {
    display:none;
}

@media (max-width:800px) {

    .site-header {
        position:relative;
        display:flex;
        align-items:center;
        justify-content:space-between;
        flex-wrap:wrap;
        padding-left:20px;
        padding-right:20px;
    }

    .site-branding {
        position:relative;
        z-index:1002;
    }

    .mobile-menu-toggle {
        display:flex;
        width:44px;
        height:44px;
        padding:8px;
        border:0;
        background:transparent;
        cursor:pointer;

        flex-direction:column;
        justify-content:center;
        gap:6px;

        position:relative;
        z-index:1002;
    }

    .mobile-menu-toggle span {
        display:block;
        width:28px;
        height:3px;
        background:#FEBE20;
        transition:transform .25s ease, opacity .25s ease;
    }

    .primary-navigation {
        display:none;
        width:100%;
        padding:20px 0 12px;
    }

    .primary-navigation.is-open {
        display:block;
    }

    .primary-navigation ul {
        display:flex !important;
        flex-direction:column;
        align-items:stretch;
        gap:0 !important;
        width:100%;
        margin:0;
        padding:0;
    }

    .primary-navigation li {
        display:block;
        width:100%;
        margin:0 !important;
        border-top:1px solid #292929;
    }

    .primary-navigation a {
        display:block;
        width:100%;
        padding:16px 4px;
        color:#fff;
        text-decoration:none;
    }

    .primary-navigation a:hover {
        color:#FEBE20;
    }

    .mobile-menu-toggle.is-open span:nth-child(1) {
        transform:translateY(9px) rotate(45deg);
    }

    .mobile-menu-toggle.is-open span:nth-child(2) {
        opacity:0;
    }

    .mobile-menu-toggle.is-open span:nth-child(3) {
        transform:translateY(-9px) rotate(-45deg);
    }
}


/* ===== URAKOINTI JA ALIURAKOINTI ===== */

.steel-contracting {
    padding:110px 0;
    background:#0c0c0c;
    border-top:1px solid #252525;
    border-bottom:1px solid #252525;
}

.steel-contracting-grid {
    display:grid;
    grid-template-columns:1.2fr 1fr;
    gap:90px;
    align-items:center;
}

.steel-contracting-main h2 {
    margin:10px 0 28px;
    font-size:clamp(42px,5vw,68px);
    line-height:1.02;
}

.steel-contracting-main p {
    max-width:680px;
    color:#bdbdbd;
    font-size:18px;
    line-height:1.75;
}

.steel-contracting-main .job-apply-btn {
    display:inline-block;
    margin-top:20px;
}

.steel-contracting-list {
    border-top:4px solid #FEBE20;
    background:#151515;
    padding:10px 35px;
}

.steel-contracting-list > div {
    display:grid;
    grid-template-columns:55px 1fr;
    gap:18px;
    align-items:center;
    padding:24px 0;
    border-bottom:1px solid #303030;
}

.steel-contracting-list > div:last-child {
    border-bottom:none;
}

.steel-contracting-list span {
    color:#FEBE20;
    font-weight:800;
    letter-spacing:1px;
}

.steel-contracting-list strong {
    color:#fff;
    font-size:18px;
    line-height:1.4;
}

@media(max-width:800px) {

    .steel-contracting {
        padding:70px 0;
    }

    .steel-contracting-grid {
        grid-template-columns:1fr;
        gap:45px;
    }

    .steel-contracting-list {
        padding:5px 25px;
    }

}


/* ===== HOME: URAKOINTI JA ALIURAKOINTI ===== */

.home-contracting {
    padding:100px 0;
    background:#0b0b0b;
    border-top:1px solid #242424;
    border-bottom:1px solid #242424;
}

.home-contracting-inner {
    width:min(1200px, calc(100% - 60px));
    margin:0 auto;

    display:grid;
    grid-template-columns:minmax(0, 1.25fr) minmax(340px, .85fr);
    gap:80px;
    align-items:center;
}

.home-contracting-copy h2 {
    max-width:760px;
    margin:10px 0 28px;

    font-size:clamp(42px, 5vw, 68px);
    line-height:1.03;
    color:#fff;
}

.home-contracting-copy > p:not(.section-label) {
    max-width:700px;
    margin:0 0 15px;

    color:#bdbdbd;
    font-size:18px;
    line-height:1.75;
}

.home-contracting-buttons {
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    gap:28px;
    margin-top:32px;
}

.home-contracting-link {
    color:#FEBE20;
    font-weight:700;
    text-decoration:none;
    transition:transform .2s ease, color .2s ease;
}

.home-contracting-link:hover {
    color:#ffd04d;
    transform:translateX(3px);
}

.home-contracting-services {
    padding:10px 35px;

    background:#151515;
    border-top:4px solid #FEBE20;
}

.home-contracting-services > div {
    display:grid;
    grid-template-columns:55px 1fr;
    gap:18px;
    align-items:center;

    padding:25px 0;
    border-bottom:1px solid #303030;
}

.home-contracting-services > div:last-child {
    border-bottom:none;
}

.home-contracting-services span {
    color:#FEBE20;
    font-size:15px;
    font-weight:800;
    letter-spacing:1px;
}

.home-contracting-services strong {
    color:#fff;
    font-size:18px;
    line-height:1.4;
}


/* Mobile */

@media(max-width:800px) {

    .home-contracting {
        padding:70px 0;
    }

    .home-contracting-inner {
        width:min(100% - 40px, 1200px);
        grid-template-columns:1fr;
        gap:45px;
    }

    .home-contracting-copy h2 {
        font-size:clamp(34px, 9vw, 46px);
    }

    .home-contracting-buttons {
        align-items:flex-start;
        flex-direction:column;
        gap:20px;
    }

    .home-contracting-services {
        padding:5px 24px;
    }

}


/* ===== FOUR HOME SERVICE CARDS ===== */

.services {
    grid-template-columns:repeat(4, minmax(0, 1fr)) !important;
}

.service-link {
    display:inline-block;
    margin-top:20px;
    color:#FEBE20;
    font-weight:700;
    text-decoration:none;
}

.service-link:hover {
    color:#ffd04d;
}

@media(max-width:1100px) {
    .services {
        grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    }
}

@media(max-width:650px) {
    .services {
        grid-template-columns:1fr !important;
    }
}


/* Equal hero buttons */
.hero .btn {
    width:220px;
    height:60px;
    padding:0 20px;

    display:inline-flex;
    align-items:center;
    justify-content:center;

    box-sizing:border-box;
    text-align:center;
}

@media(max-width:700px) {
    .hero .btn {
        width:100%;
        max-width:280px;
    }
}

