/*
Theme Name: DMC Finland — Nordic Expertise
Theme URI: https://dmc-finland.eu/
Author: IBG Travel
Author URI: https://ibgtravel.eu/
Description: A multilingual, lead-generation WordPress theme for DMC Finland by IBG Travel.
Version: 1.1.0
Requires at least: 6.5
Requires PHP: 8.1
Text Domain: dmc-finland
*/

:root {
    --ink: #10212c;
    --navy: #0b2235;
    --navy-2: #12334a;
    --snow: #f7f8f5;
    --paper: #ffffff;
    --mist: #e8edf0;
    --line: rgba(16, 33, 44, 0.16);
    --muted: #5e6b73;
    --amber: #d9a441;
    --amber-light: #f0ca7a;
    --success: #1b6b50;
    --error: #a83a36;
    --display: "Iowan Old Style", "Baskerville", "Times New Roman", serif;
    --sans: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --shell: min(1240px, calc(100vw - 64px));
    --radius: 2px;
    --shadow: 0 24px 70px rgba(4, 25, 39, 0.15);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--ink);
    background: var(--snow);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2 {
    font-family: var(--display);
    font-weight: 500;
    letter-spacing: -0.035em;
    line-height: 0.98;
}
h1 { font-size: clamp(3.7rem, 7vw, 7.5rem); }
h2 { font-size: clamp(3rem, 5.6vw, 5.8rem); }
h3 { line-height: 1.2; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(92px, 11vw, 168px) 0; }
.screen-reader-text {
    position: absolute !important;
    width: 1px; height: 1px;
    padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0, 0, 0, 0);
    white-space: nowrap; border: 0;
}
.skip-link { position: fixed; top: -100px; left: 20px; z-index: 9999; background: var(--paper); padding: 12px 18px; }
.skip-link:focus { top: 16px; }
:focus-visible { outline: 3px solid var(--amber-light); outline-offset: 4px; }

.eyebrow {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 25px;
    color: var(--muted);
    font-size: 0.72rem;
    font-weight: 750;
    letter-spacing: 0.16em;
    line-height: 1.3;
    text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--amber); }
.eyebrow.light { color: rgba(255,255,255,.7); }
.section-heading {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, .7fr);
    align-items: end;
    gap: 64px;
    margin-bottom: 76px;
}
.section-heading h2 { max-width: 800px; margin-bottom: 0; }
.section-heading > p { margin-bottom: 7px; color: var(--muted); font-size: 1.03rem; }
.section-heading.light { color: white; }
.section-heading.light h2 { max-width: 850px; }
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 54px;
    padding: 14px 24px;
    border: 1px solid var(--amber);
    border-radius: var(--radius);
    color: #132536;
    background: var(--amber);
    font-size: .77rem;
    font-weight: 800;
    letter-spacing: .07em;
    line-height: 1.25;
    text-transform: uppercase;
    cursor: pointer;
    transition: background .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}
.button:hover { background: var(--amber-light); border-color: var(--amber-light); transform: translateY(-2px); }
.button-small { min-height: 44px; padding: 11px 16px; font-size: .68rem; }
.button-ghost { color: white; background: transparent; border-color: rgba(255,255,255,.55); }
.button-ghost:hover { color: var(--ink); background: white; border-color: white; }
.arrow-link {
    display: inline-flex;
    align-items: center;
    gap: 18px;
    padding-bottom: 7px;
    border-bottom: 1px solid rgba(255,255,255,.38);
    color: white;
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}
.arrow-link span { color: var(--amber); font-size: 1.3rem; transition: transform .2s ease; }
.arrow-link:hover span { transform: translateX(5px); }

/* Header */
.site-header {
    position: fixed;
    inset: 0 0 auto;
    z-index: 1000;
    color: white;
    border-bottom: 1px solid rgba(255,255,255,.15);
    transition: color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.site-header.is-scrolled { color: var(--ink); background: rgba(247,248,245,.96); box-shadow: 0 8px 40px rgba(4,25,39,.08); backdrop-filter: blur(16px); }
.page:not(.home) .site-header { color: var(--ink); background: rgba(247,248,245,.97); box-shadow: 0 8px 40px rgba(4,25,39,.06); }
.header-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 82px; gap: 28px; }
.brand { display: flex; align-items: center; gap: 15px; min-width: 230px; }
.brand-logo { width: 80px; height: 48px; object-fit: cover; object-position: left center; border-radius: 1px; }
.brand-name { display: flex; flex-direction: column; font-size: .72rem; letter-spacing: .15em; line-height: 1.25; text-transform: uppercase; }
.brand-name strong { font-family: var(--display); font-size: 1.22rem; letter-spacing: .02em; }
.site-nav { display: flex; justify-content: center; gap: clamp(18px, 2vw, 34px); }
.site-nav a { position: relative; font-size: .7rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -8px; height: 1px; background: var(--amber); transition: right .2s; }
.site-nav a:hover::after { right: 0; }
.header-actions { display: flex; align-items: center; gap: 14px; }
.language-switcher { position: relative; }
.language-switcher > button { display: flex; align-items: center; gap: 7px; border: 0; background: none; font-size: .7rem; font-weight: 800; cursor: pointer; }
.language-menu {
    position: absolute;
    top: calc(100% + 17px);
    right: 0;
    display: grid;
    min-width: 150px;
    padding: 8px;
    color: var(--ink);
    background: white;
    box-shadow: var(--shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-5px);
    transition: opacity .2s, visibility .2s, transform .2s;
}
.language-switcher.is-open .language-menu { opacity: 1; visibility: visible; transform: translateY(0); }
.language-menu a { padding: 9px 11px; font-size: .78rem; }
.language-menu a:hover, .language-menu a[aria-current] { background: var(--mist); }
.menu-toggle { display: none; width: 42px; height: 42px; padding: 11px 8px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 1px; margin: 5px 0; background: currentColor; }

/* Hero */
.hero { position: relative; min-height: 820px; height: 100svh; max-height: 1050px; color: white; background: var(--navy); overflow: hidden; }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 51% center; animation: heroScale 18s ease-out both; }
@keyframes heroScale { from { transform: scale(1.05); } to { transform: scale(1); } }
.hero-shade { background: linear-gradient(90deg, rgba(4,20,32,.86) 0%, rgba(4,20,32,.64) 45%, rgba(4,20,32,.2) 73%, rgba(4,20,32,.48) 100%), linear-gradient(0deg, rgba(4,20,32,.5), transparent 48%); }
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr auto; align-items: end; height: 100%; padding: 165px 0 116px; }
.hero-copy { max-width: 950px; }
.hero-copy h1 { max-width: 900px; margin-bottom: 31px; text-wrap: balance; }
.hero-lead { max-width: 720px; margin-bottom: 40px; color: rgba(255,255,255,.84); font-size: clamp(1.05rem, 1.4vw, 1.32rem); line-height: 1.6; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-mark {
    display: grid;
    justify-items: center;
    width: 160px;
    height: 160px;
    padding: 29px 20px;
    border: 1px solid rgba(255,255,255,.42);
    border-radius: 50%;
    text-align: center;
    transform: rotate(5deg);
}
.hero-mark-year { align-self: end; font-family: var(--display); font-size: 2.2rem; line-height: 1; }
.hero-mark span:last-child { font-size: .62rem; font-weight: 700; letter-spacing: .1em; line-height: 1.3; text-transform: uppercase; }
.scroll-cue { position: absolute; z-index: 3; right: 28px; bottom: 110px; display: flex; align-items: center; gap: 12px; font-size: .61rem; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; writing-mode: vertical-rl; }
.scroll-cue span { display: block; width: 1px; height: 55px; background: rgba(255,255,255,.55); }

/* Trust */
.trust-strip { color: white; background: var(--navy); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-grid > div { display: flex; gap: 18px; min-height: 116px; padding: 30px 28px; border-right: 1px solid rgba(255,255,255,.12); }
.trust-grid > div:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.trust-grid span { color: var(--amber); font-family: var(--display); font-size: 1.1rem; }
.trust-grid p { margin: 2px 0 0; color: rgba(255,255,255,.75); font-size: .75rem; font-weight: 650; letter-spacing: .04em; line-height: 1.45; text-transform: uppercase; }

/* Audience */
.audience { background: var(--snow); }
.audience-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.audience-item { min-height: 300px; padding: 28px 28px 42px; border-right: 1px solid var(--line); }
.audience-item:first-child { border-left: 1px solid var(--line); }
.audience-item > span { color: var(--amber); font-family: var(--display); }
.audience-item h3 { margin-top: 92px; margin-bottom: 18px; font-family: var(--display); font-size: 1.65rem; font-weight: 500; }
.audience-item p { margin: 0; color: var(--muted); font-size: .91rem; }

/* Services */
.services { color: white; background: var(--navy); }
.services-layout { display: grid; grid-template-columns: .68fr 1.32fr; gap: clamp(50px, 8vw, 130px); }
.services-intro { position: sticky; top: 130px; align-self: start; }
.services-intro h2 { margin-bottom: 34px; font-size: clamp(3.3rem, 5vw, 5.4rem); }
.services-intro > p:not(.eyebrow) { max-width: 470px; margin-bottom: 39px; color: rgba(255,255,255,.7); font-size: 1.02rem; }
.services-grid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid rgba(255,255,255,.15); }
.service-item { min-height: 305px; padding: 35px 32px; border-right: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.service-item:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.15); }
.service-icon { width: 40px; height: 40px; margin-bottom: 62px; color: var(--amber); }
.service-icon svg { width: 100%; height: 100%; }
.service-item h3 { margin-bottom: 16px; font-family: var(--display); font-size: 1.55rem; font-weight: 500; }
.service-item p { margin: 0; color: rgba(255,255,255,.63); font-size: .89rem; }

/* Regions */
.regions { background: var(--paper); }
.region-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(50px, 8vw, 130px); }
.region-photo { position: sticky; top: 120px; align-self: start; height: min(700px, 72vh); overflow: hidden; }
.region-photo img { width: 100%; height: 100%; object-fit: cover; }
.region-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5,28,44,.45), transparent 50%); }
.region-photo > div { position: absolute; z-index: 2; inset: 24px; display: flex; justify-content: space-between; align-items: end; color: white; font-size: .65rem; letter-spacing: .12em; }
.route-list { position: relative; }
.route-list::before { content: ""; position: absolute; top: 24px; bottom: 36px; left: 8px; width: 1px; background: var(--line); transform-origin: top; }
.route-list::after { content: ""; position: absolute; top: 24px; left: 8px; width: 1px; height: var(--route-progress, 0%); max-height: calc(100% - 60px); background: var(--amber); transition: height .1s linear; }
.route-stop { position: relative; display: grid; grid-template-columns: 42px minmax(0, 1fr); gap: 20px; padding: 0 0 38px 54px; }
.route-stop:not(:last-child) { margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.route-dot { position: absolute; z-index: 2; top: 18px; left: 3px; width: 11px; height: 11px; border: 2px solid var(--amber); border-radius: 50%; background: white; }
.route-number { padding-top: 8px; color: var(--amber); font-family: var(--display); }
.route-tag { margin-bottom: 8px; color: var(--muted); font-size: .66rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.route-stop h3 { margin-bottom: 13px; font-family: var(--display); font-size: clamp(1.65rem, 2.5vw, 2.35rem); font-weight: 500; }
.route-stop > div:last-child > p:last-child { max-width: 600px; margin: 0; color: var(--muted); font-size: .93rem; }

/* Seasons */
.seasons { position: relative; min-height: 900px; padding: 0; color: white; background: var(--navy); overflow: hidden; }
.season-media { position: absolute; inset: 0; }
.season-media img { width: 100%; height: 100%; object-fit: cover; }
.season-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,25,39,.9), rgba(5,25,39,.42) 58%, rgba(5,25,39,.7)); }
.seasons-inner { position: relative; z-index: 2; display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; min-height: 900px; padding-block: 140px; }
.seasons-heading { align-self: center; }
.seasons-heading h2 { max-width: 650px; }
.season-list { align-self: end; border-top: 1px solid rgba(255,255,255,.25); }
.season-item { display: grid; grid-template-columns: 110px 1fr 1.25fr; gap: 20px; align-items: center; padding: 25px 0; border-bottom: 1px solid rgba(255,255,255,.25); }
.season-item > p { margin: 0; color: var(--amber-light); font-size: .64rem; font-weight: 750; letter-spacing: .1em; }
.season-item h3 { margin: 0; font-family: var(--display); font-size: 1.48rem; font-weight: 500; }
.season-item span { color: rgba(255,255,255,.7); font-size: .85rem; }

/* Why */
.why { background: var(--snow); }
.why-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: clamp(60px, 10vw, 155px); align-items: center; }
.why-photo { position: relative; }
.why-photo img { width: 100%; aspect-ratio: .86; object-fit: cover; }
.experience-stamp { position: absolute; right: -60px; bottom: 55px; display: flex; align-items: center; gap: 13px; width: 170px; height: 170px; padding: 25px; border-radius: 50%; color: var(--ink); background: var(--amber); transform: rotate(-7deg); }
.experience-stamp strong { font-family: var(--display); font-size: 2.6rem; font-weight: 500; line-height: 1; }
.experience-stamp span { font-size: .6rem; font-weight: 750; letter-spacing: .08em; line-height: 1.35; text-transform: uppercase; }
.why-copy h2 { margin-bottom: 35px; }
.why-lead { margin-bottom: 38px; color: var(--muted); font-size: 1.08rem; }
.why-copy ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 34px; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.why-copy li { display: flex; gap: 12px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 650; }
.why-copy li span { color: var(--amber); }

/* Process */
.process { color: white; background: var(--navy-2); }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(255,255,255,.15); border-bottom: 1px solid rgba(255,255,255,.15); }
.process-step { position: relative; min-height: 310px; padding: 28px 28px 40px; border-right: 1px solid rgba(255,255,255,.15); }
.process-step:first-child { border-left: 1px solid rgba(255,255,255,.15); }
.process-step > span { color: var(--amber); font-family: var(--display); }
.process-step:not(:last-child)::after { content: "→"; position: absolute; z-index: 2; top: 50px; right: -13px; color: var(--amber); background: var(--navy-2); }
.process-step h3 { margin-top: 100px; margin-bottom: 15px; font-family: var(--display); font-size: 1.55rem; font-weight: 500; }
.process-step p { margin: 0; color: rgba(255,255,255,.62); font-size: .87rem; }

/* Reviews */
.reviews { background: var(--paper); }
.reviews-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 80px; align-items: center; }
.reviews-copy h2 { margin-bottom: 38px; }
.google-lockup { display: flex; align-items: center; gap: 14px; }
.google-lockup span { display: grid; place-items: center; width: 40px; height: 40px; border: 1px solid var(--line); border-radius: 50%; color: #4285f4; font-size: 1.2rem; font-weight: 800; }
.google-lockup strong { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; }
.reviews-widget { min-height: 320px; }
.trustindex-widget { min-height: 260px; color: var(--ink); }
.widget-placeholder { display: grid; place-items: center; min-height: 320px; padding: 50px; border: 1px solid var(--line); text-align: center; background: var(--snow); }
.stars { color: var(--amber); font-size: 1.5rem; letter-spacing: .12em; }
.widget-placeholder p { max-width: 450px; margin: 20px 0; color: var(--muted); }
.widget-placeholder a { border-bottom: 1px solid var(--ink); font-size: .75rem; font-weight: 750; text-transform: uppercase; }

/* Contact/forms */
.contact { color: white; background: var(--navy); }
.contact-grid { display: grid; grid-template-columns: .65fr 1.35fr; gap: clamp(60px, 10vw, 150px); }
.contact-copy { position: sticky; top: 130px; align-self: start; }
.contact-copy h2 { margin-bottom: 30px; }
.contact-copy > p:not(.eyebrow) { max-width: 500px; color: rgba(255,255,255,.68); }
.contact-direct { display: grid; gap: 12px; margin-top: 38px; }
.contact-direct a { display: flex; justify-content: space-between; max-width: 360px; padding-bottom: 9px; border-bottom: 1px solid rgba(255,255,255,.25); font-size: .83rem; }
.contact-direct span { color: var(--amber); }
.form-panel { color: var(--ink); background: var(--snow); }
.form-tabs { display: grid; grid-template-columns: 1fr 1fr; border-bottom: 1px solid var(--line); }
.form-tabs button { min-height: 75px; padding: 18px; border: 0; border-right: 1px solid var(--line); background: transparent; font-size: .73rem; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; }
.form-tabs button:last-child { border-right: 0; }
.form-tabs button[aria-selected="true"] { color: var(--navy); background: var(--amber); }
.lead-form { padding: clamp(28px, 5vw, 58px); }
.lead-form.is-hidden { display: none; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 20px; }
.form-grid label { display: grid; gap: 7px; }
.form-grid label > span { color: var(--muted); font-size: .67rem; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.form-wide { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    border: 0;
    border-bottom: 1px solid #aeb8bd;
    border-radius: 0;
    color: var(--ink);
    background: transparent;
    outline: 0;
}
.form-grid textarea { resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { border-bottom-color: var(--amber); box-shadow: 0 1px 0 var(--amber); }
.check { display: flex; align-items: flex-start; gap: 11px; margin: 26px 0; color: var(--muted); font-size: .75rem; }
.check input { width: 17px; height: 17px; margin-top: 3px; accent-color: var(--amber); }
.form-submit { width: 100%; justify-content: space-between; }
.form-submit span { font-size: 1.3rem; }
.form-notice { margin: 30px 42px 0; padding: 14px 18px; border-left: 3px solid; font-size: .85rem; }
.form-notice.success { color: var(--success); background: rgba(27,107,80,.08); }
.form-notice.error { color: var(--error); background: rgba(168,58,54,.08); }
.honeypot { position: absolute; left: -9999px; }

/* FAQ */
.faq { background: var(--snow); }
.faq-grid { display: grid; grid-template-columns: .7fr 1.3fr; gap: 100px; }
.faq-heading { position: sticky; top: 130px; align-self: start; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { display: flex; justify-content: space-between; gap: 30px; padding: 24px 0; font-family: var(--display); font-size: 1.3rem; cursor: pointer; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary span { color: var(--amber); font-family: var(--sans); font-weight: 300; transition: transform .2s; }
.faq-list details[open] summary span { transform: rotate(45deg); }
.faq-list details p { max-width: 760px; padding: 0 60px 24px 0; color: var(--muted); }

/* Footer */
.site-footer { padding: 85px 0 0; color: white; background: #071824; }
.footer-grid { display: grid; grid-template-columns: 1.8fr 1fr .8fr .9fr; gap: 70px; padding-bottom: 70px; }
.footer-grid > div:not(.footer-brand) { display: grid; align-content: start; gap: 10px; }
.footer-grid h2 { margin-bottom: 16px; font-family: var(--sans); font-size: .68rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.footer-grid a:not(.brand) { color: rgba(255,255,255,.66); font-size: .78rem; }
.footer-grid a:hover { color: var(--amber-light); }
.footer-brand .brand { margin-bottom: 23px; }
.footer-brand p { max-width: 390px; color: rgba(255,255,255,.62); font-size: .85rem; }
.parent-link { display: inline-flex; gap: 8px; margin-top: 6px; border-bottom: 1px solid rgba(255,255,255,.25); }
.footer-bottom { display: flex; justify-content: space-between; padding: 24px 0; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.45); font-size: .65rem; letter-spacing: .08em; text-transform: uppercase; }
.mobile-actions { display: none; }
.cookie-banner { position: fixed; z-index: 2000; right: 22px; bottom: 22px; width: min(440px, calc(100vw - 44px)); padding: 23px; color: white; background: #071824; box-shadow: var(--shadow); }
.cookie-banner p { margin-bottom: 17px; color: rgba(255,255,255,.77); font-size: .8rem; }
.cookie-banner > div { display: flex; align-items: center; gap: 18px; }
.text-button { padding: 7px 0; border: 0; border-bottom: 1px solid rgba(255,255,255,.35); color: white; background: none; font-size: .7rem; cursor: pointer; }

/* Content pages */
.content-page { min-height: 70vh; padding-top: 160px; }
.content-page article { max-width: 850px; }
.content-page h1 { font-size: clamp(3rem, 6vw, 6rem); }
.content-page h2 { margin-top: 1.5em; font-size: 2.2rem; }

/* Reveal enhancement */
.js .reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.7,.2,1); }
.js .reveal.is-visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .js .reveal { opacity: 1; transform: none; }
}

@media (max-width: 1100px) {
    :root { --shell: min(100% - 44px, 980px); }
    .site-nav { display: none; }
    .header-inner { grid-template-columns: auto 1fr auto; }
    .menu-toggle { display: block; justify-self: end; }
    .site-nav.is-open { position: fixed; inset: 82px 0 0; display: grid; align-content: start; gap: 0; padding: 32px 24px; color: var(--ink); background: var(--snow); }
    .site-nav.is-open a { padding: 19px 5px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: 1.6rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
    .header-actions .button { display: none; }
    .hero-mark { display: none; }
    .trust-grid { grid-template-columns: 1fr 1fr; }
    .trust-grid > div:nth-child(3) { border-left: 1px solid rgba(255,255,255,.12); }
    .trust-grid > div { border-bottom: 1px solid rgba(255,255,255,.12); }
    .audience-grid, .process-grid { grid-template-columns: 1fr 1fr; }
    .audience-item:nth-child(3), .process-step:nth-child(3) { border-left: 1px solid var(--line); }
    .process-step:nth-child(3) { border-left-color: rgba(255,255,255,.15); }
    .services-layout, .contact-grid { grid-template-columns: 1fr; }
    .services-intro, .contact-copy { position: static; }
    .services-intro { max-width: 700px; }
    .region-layout { grid-template-columns: .8fr 1.2fr; gap: 50px; }
    .seasons-inner { grid-template-columns: 1fr; align-content: center; }
    .season-list { align-self: auto; }
    .why-grid { gap: 80px; }
    .experience-stamp { right: -35px; }
    .reviews-grid, .faq-grid { gap: 55px; }
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr; }
    .footer-grid > div:last-child { grid-column: 2 / 3; }
}

@media (max-width: 760px) {
    :root { --shell: calc(100% - 34px); }
    body { padding-bottom: 60px; }
    h1 { font-size: clamp(3.2rem, 15vw, 5.4rem); }
    h2 { font-size: clamp(2.7rem, 12vw, 4.2rem); }
    .section { padding: 88px 0; }
    .header-inner { min-height: 70px; gap: 8px; }
    .brand { min-width: 0; gap: 10px; }
    .brand-logo { width: 58px; height: 38px; }
    .brand-name { font-size: .58rem; }
    .brand-name strong { font-size: 1rem; }
    .site-nav.is-open { top: 70px; }
    .language-switcher > button { padding: 9px 5px; }
    .language-menu { position: fixed; top: 70px; right: 0; left: 0; padding: 16px; }
    .hero { min-height: 720px; max-height: none; height: 100svh; }
    .hero-media img { object-position: 61% center; }
    .hero-shade { background: linear-gradient(90deg, rgba(4,20,32,.88), rgba(4,20,32,.35)), linear-gradient(0deg, rgba(4,20,32,.68), transparent 55%); }
    .hero-inner { display: block; padding: 142px 0 92px; }
    .hero-copy { min-width: 0; max-width: 100%; }
    .hero-copy h1 { max-width: 100%; margin-bottom: 24px; font-size: clamp(3rem, 13.5vw, 4.6rem); text-wrap: wrap; overflow-wrap: normal; }
    .hero-lead { font-size: 1rem; }
    .hero-cta { display: grid; }
    .hero-cta .button { width: 100%; }
    .scroll-cue { display: none; }
    .trust-grid { grid-template-columns: 1fr; }
    .trust-grid > div, .trust-grid > div:nth-child(3) { min-height: 88px; padding: 22px 16px; border-left: 1px solid rgba(255,255,255,.12); }
    .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 50px; }
    .audience-grid, .services-grid, .process-grid { grid-template-columns: 1fr; }
    .audience-item, .audience-item:nth-child(3), .service-item, .service-item:nth-child(odd), .process-step, .process-step:nth-child(3) { border-left: 1px solid var(--line); }
    .service-item, .service-item:nth-child(odd), .process-step, .process-step:nth-child(3) { border-left-color: rgba(255,255,255,.15); }
    .audience-item { min-height: 240px; }
    .audience-item h3 { margin-top: 55px; }
    .services-intro { margin-bottom: 15px; }
    .service-item { min-height: 270px; }
    .service-icon { margin-bottom: 42px; }
    .region-layout { grid-template-columns: 1fr; }
    .region-photo { position: relative; top: auto; height: 440px; }
    .route-stop { grid-template-columns: 28px minmax(0,1fr); padding-left: 34px; gap: 12px; }
    .seasons, .seasons-inner { min-height: 980px; }
    .seasons-inner { gap: 55px; padding-block: 95px; }
    .season-item { grid-template-columns: 85px 1fr; }
    .season-item span { grid-column: 2; }
    .why-grid { grid-template-columns: 1fr; gap: 70px; }
    .why-photo { padding-right: 0; }
    .experience-stamp { right: 8px; bottom: -40px; flex-direction: column; justify-content: center; gap: 4px; width: 140px; height: 140px; padding: 18px; text-align: center; transform: none; }
    .experience-stamp span { white-space: normal; }
    .why-copy ul { grid-template-columns: 1fr; }
    .process-step { min-height: 260px; }
    .process-step h3 { margin-top: 62px; }
    .process-step:not(:last-child)::after { top: auto; right: 30px; bottom: -13px; transform: rotate(90deg); }
    .reviews-grid, .faq-grid { grid-template-columns: 1fr; gap: 45px; }
    .reviews-widget, .widget-placeholder { min-height: 260px; }
    .widget-placeholder { padding: 30px 20px; }
    .contact-grid { gap: 50px; }
    .form-tabs button { min-height: 70px; padding: 12px 8px; font-size: .61rem; }
    .lead-form { padding: 28px 18px; }
    .form-grid { grid-template-columns: 1fr; }
    .form-wide { grid-column: auto; }
    .form-notice { margin: 22px 18px 0; }
    .faq-heading { position: static; }
    .faq-list summary { font-size: 1.18rem; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 45px 25px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-grid > div:last-child { grid-column: auto; }
    .footer-bottom { gap: 20px; flex-direction: column; }
    .mobile-actions { position: fixed; z-index: 1500; right: 0; bottom: 0; left: 0; display: grid; grid-template-columns: 1.35fr .8fr 1fr; height: 60px; color: white; background: #071824; box-shadow: 0 -5px 24px rgba(0,0,0,.18); }
    .mobile-actions a { display: grid; place-items: center; align-content: center; gap: 1px; border-right: 1px solid rgba(255,255,255,.13); font-size: .6rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
    .mobile-actions a:first-child { color: var(--ink); background: var(--amber); }
    .mobile-actions span { font-size: .9rem; }
    .cookie-banner { bottom: 74px; }
}

@media (max-width: 420px) {
    .brand-name { display: none; }
    .footer-brand .brand-name { display: flex; }
    .hero-copy h1 { font-size: 3.45rem; }
    .hero-lead { line-height: 1.48; }
}

/*
 * Avada / Fusion compatibility layer.
 *
 * Some hosting installations keep Avada-generated global typography loaded
 * after the active theme stylesheet. These higher-specificity declarations
 * preserve the DMC Finland design and accessible contrast in that environment.
 */
body.dmc-finland {
    color: var(--ink) !important;
    font-family: var(--sans) !important;
    font-size: 17px;
    font-weight: 400;
}

body.dmc-finland h1,
body.dmc-finland h2,
body.dmc-finland h3 {
    font-family: var(--display) !important;
    font-weight: 500 !important;
}

body.dmc-finland .site-header:not(.is-scrolled) {
    color: #ffffff !important;
}

body.dmc-finland .site-header.is-scrolled {
    color: var(--ink) !important;
}

body.dmc-finland .site-header a,
body.dmc-finland .site-header button,
body.dmc-finland .brand-name {
    color: inherit !important;
}

body.dmc-finland .site-header:not(.is-scrolled) .brand-name,
body.dmc-finland .site-header:not(.is-scrolled) .site-nav a,
body.dmc-finland .site-header:not(.is-scrolled) .site-nav a:link,
body.dmc-finland .site-header:not(.is-scrolled) .site-nav a:visited,
body.dmc-finland .site-header:not(.is-scrolled) .language-switcher > button,
body.dmc-finland .site-header:not(.is-scrolled) .menu-toggle {
    color: #ffffff !important;
}

body.dmc-finland .site-header.is-scrolled .brand-name,
body.dmc-finland .site-header.is-scrolled .site-nav a,
body.dmc-finland .site-header.is-scrolled .site-nav a:link,
body.dmc-finland .site-header.is-scrolled .site-nav a:visited,
body.dmc-finland .site-header.is-scrolled .language-switcher > button,
body.dmc-finland .site-header.is-scrolled .menu-toggle {
    color: var(--ink) !important;
}

body.dmc-finland .header-inner {
    min-height: 92px;
}

body.dmc-finland .brand-logo {
    width: 92px;
    height: 54px;
}

body.dmc-finland .brand-name {
    font-family: var(--sans) !important;
    font-size: 13px !important;
    font-weight: 650 !important;
    line-height: 1.3 !important;
}

body.dmc-finland .brand-name strong {
    font-family: var(--display) !important;
    font-size: 21px !important;
    font-weight: 600 !important;
    line-height: 1.05 !important;
}

body.dmc-finland .site-nav a {
    color: inherit !important;
    font-family: var(--sans) !important;
    font-size: 14px !important;
    font-weight: 750 !important;
    line-height: 1.25 !important;
    letter-spacing: .07em !important;
}

body.dmc-finland .language-switcher > button {
    font-size: 13px !important;
}

body.dmc-finland .header-actions .button {
    color: var(--ink) !important;
    font-family: var(--sans) !important;
    font-size: 13px !important;
}

body.admin-bar.dmc-finland .site-header {
    top: 32px;
}

body.dmc-finland .hero h1 {
    color: #ffffff !important;
    font-family: var(--display) !important;
    font-size: clamp(4rem, 6vw, 7rem) !important;
    font-weight: 500 !important;
    line-height: .98 !important;
    letter-spacing: -.035em !important;
    text-transform: none !important;
}

body.dmc-finland .hero-lead {
    color: rgba(255,255,255,.92) !important;
    font-family: var(--sans) !important;
    font-size: clamp(1.12rem, 1.35vw, 1.35rem) !important;
    font-weight: 400 !important;
    line-height: 1.62 !important;
}

body.dmc-finland .eyebrow {
    font-family: var(--sans) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

body.dmc-finland .services h2,
body.dmc-finland .services h3,
body.dmc-finland .seasons h2,
body.dmc-finland .seasons h3,
body.dmc-finland .process h2,
body.dmc-finland .process h3,
body.dmc-finland .contact h2,
body.dmc-finland .contact h3 {
    color: #ffffff !important;
    text-transform: none !important;
}

body.dmc-finland .services h2,
body.dmc-finland .seasons h2,
body.dmc-finland .process h2,
body.dmc-finland .contact h2 {
    line-height: 1 !important;
    letter-spacing: -.035em !important;
}

body.dmc-finland .service-item h3,
body.dmc-finland .season-item h3,
body.dmc-finland .process-step h3 {
    font-size: 27px !important;
    line-height: 1.2 !important;
    text-transform: none !important;
}

body.dmc-finland .service-item p,
body.dmc-finland .season-item span,
body.dmc-finland .process-step p,
body.dmc-finland .services-intro > p:not(.eyebrow) {
    color: rgba(255,255,255,.78) !important;
    font-family: var(--sans) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
}

body.dmc-finland .route-tag {
    font-family: var(--sans) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.35 !important;
}

body.dmc-finland .route-stop h3 {
    color: var(--ink) !important;
    font-size: clamp(1.8rem, 2.5vw, 2.55rem) !important;
    line-height: 1.15 !important;
}

body.dmc-finland .route-stop > div:last-child > p:last-child,
body.dmc-finland .section-heading > p,
body.dmc-finland .audience-item p,
body.dmc-finland .why-lead,
body.dmc-finland .faq-list details p {
    font-family: var(--sans) !important;
    font-size: 16px !important;
    font-weight: 400 !important;
    line-height: 1.65 !important;
}

body.dmc-finland .audience-item h3 {
    color: var(--ink) !important;
    font-size: 28px !important;
}

body.dmc-finland .why-copy h2,
body.dmc-finland .reviews-copy h2,
body.dmc-finland .faq-heading h2,
body.dmc-finland .regions h2,
body.dmc-finland .audience h2 {
    color: var(--ink) !important;
}

body.dmc-finland .why-copy li {
    font-family: var(--sans) !important;
    font-size: 15px !important;
    line-height: 1.5 !important;
}

body.dmc-finland .button,
body.dmc-finland .arrow-link,
body.dmc-finland .form-tabs button,
body.dmc-finland .form-submit {
    font-family: var(--sans) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
}

body.dmc-finland .button,
body.dmc-finland .form-submit,
body.dmc-finland .form-tabs button[aria-selected="true"] {
    color: var(--ink) !important;
    background-color: var(--amber) !important;
    border-color: var(--amber) !important;
}

body.dmc-finland .button-ghost {
    color: #ffffff !important;
    background-color: transparent !important;
    border-color: rgba(255,255,255,.6) !important;
}

body.dmc-finland .arrow-link {
    color: #ffffff !important;
}

body.dmc-finland .audience,
body.dmc-finland .regions,
body.dmc-finland .why,
body.dmc-finland .reviews,
body.dmc-finland .faq {
    color: var(--ink) !important;
}

body.dmc-finland .services,
body.dmc-finland .seasons,
body.dmc-finland .process,
body.dmc-finland .contact,
body.dmc-finland .site-footer {
    color: #ffffff !important;
}

body.dmc-finland .site-footer h2 {
    color: #ffffff !important;
    font-family: var(--sans) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1.3 !important;
}

body.dmc-finland .footer-grid a:not(.brand),
body.dmc-finland .footer-brand p {
    color: rgba(255,255,255,.74) !important;
    font-family: var(--sans) !important;
    font-size: 14px !important;
    line-height: 1.55 !important;
}

@media (max-width: 1100px) {
    body.dmc-finland .header-inner {
        min-height: 78px;
    }

    body.dmc-finland .brand-logo {
        width: 76px;
        height: 46px;
    }

    body.dmc-finland .site-nav.is-open {
        top: 78px;
    }

    body.admin-bar.dmc-finland .site-nav.is-open {
        top: 110px;
    }

    body.dmc-finland .site-nav.is-open a {
        color: var(--ink) !important;
        font-family: var(--display) !important;
        font-size: 26px !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
    }
}

/* Keep the transparent home-page header legible when Avada/Fusion global
   link and visited-link rules are present on the same WordPress installation. */
html body.dmc-finland.home .site-header:not(.is-scrolled) .brand .brand-name,
html body.dmc-finland.home .site-header:not(.is-scrolled) .site-nav > a,
html body.dmc-finland.home .site-header:not(.is-scrolled) .site-nav > a:link,
html body.dmc-finland.home .site-header:not(.is-scrolled) .site-nav > a:visited,
html body.dmc-finland.home .site-header:not(.is-scrolled) .language-switcher > button,
html body.dmc-finland.home .site-header:not(.is-scrolled) .menu-toggle {
    color: #ffffff !important;
}

html body.dmc-finland .site-header .header-actions > .button,
html body.dmc-finland .site-header .header-actions > .button:link,
html body.dmc-finland .site-header .header-actions > .button:visited {
    color: var(--ink) !important;
    background: var(--amber) !important;
    border-color: var(--amber) !important;
}

html body.dmc-finland .site-header.is-scrolled .brand .brand-name,
html body.dmc-finland .site-header.is-scrolled .site-nav > a,
html body.dmc-finland .site-header.is-scrolled .site-nav > a:link,
html body.dmc-finland .site-header.is-scrolled .site-nav > a:visited,
html body.dmc-finland .site-header.is-scrolled .language-switcher > button,
html body.dmc-finland .site-header.is-scrolled .menu-toggle {
    color: var(--ink) !important;
}

@media (max-width: 782px) {
    body.admin-bar.dmc-finland .site-header {
        top: 46px;
    }

    body.admin-bar.dmc-finland .site-nav.is-open {
        top: 124px;
    }
}

@media (max-width: 760px) {
    body.dmc-finland {
        font-size: 16px;
    }

    body.dmc-finland .hero h1 {
        font-size: clamp(3rem, 13.5vw, 4.6rem) !important;
        line-height: 1 !important;
    }

    body.dmc-finland .hero-lead {
        font-size: 17px !important;
        line-height: 1.55 !important;
    }

    body.dmc-finland .service-item h3,
    body.dmc-finland .season-item h3,
    body.dmc-finland .process-step h3,
    body.dmc-finland .audience-item h3 {
        font-size: 24px !important;
    }

    body.dmc-finland .service-item p,
    body.dmc-finland .season-item span,
    body.dmc-finland .process-step p,
    body.dmc-finland .route-stop > div:last-child > p:last-child,
    body.dmc-finland .section-heading > p,
    body.dmc-finland .audience-item p,
    body.dmc-finland .why-lead,
    body.dmc-finland .faq-list details p {
        font-size: 15px !important;
    }
}
