/* Soderamne corporate: base, header, footer, shared parts. Hand-written. */

:root {
    --fog: #f3f5f7;
    --paper: #ffffff;
    --band: #e8edf1;
    --line: #d7dee5;
    --line-2: #b8c3ce;
    --ink: #1d2733;
    --ink-2: #2b3a4b;
    --text: #3b4652;
    --muted: #5d6873;
    --cran: #9b2453;
    --cran-soft: #f5e8ee;
    --bad: #a3262a;
    --focus: rgba(155, 36, 83, .2);
    --serif: "Spectral", Georgia, "Times New Roman", serif;
    --sans: "Be Vietnam Pro", "Segoe UI", Arial, sans-serif;
    --wrap: 1200px;
    --gutter: clamp(20px, 4vw, 48px);
    --radius: 10px;
    --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body.sd-body {
    margin: 0;
    background: var(--fog);
    color: var(--text);
    font: 400 17px/1.7 var(--sans);
    -webkit-font-smoothing: antialiased;
}

:where(.sd-body) img { display: block; max-width: 100%; height: auto; }
:where(.sd-body) a { color: var(--cran); text-decoration-thickness: 1px; text-underline-offset: 3px; }
:where(.sd-body) a:hover { color: var(--ink); }
.sd-body :focus-visible { outline: 2px solid var(--cran); outline-offset: 3px; }
:where(.sd-body) :where(h1, h2, h3, h4) { margin: 0; color: var(--ink); }
:where(.sd-body) p { margin: 0; }

main { display: block; overflow-x: clip; }

.sd-skip {
    position: absolute; left: 12px; top: -60px; z-index: 50;
    padding: 10px 16px; background: var(--ink); color: #fff !important; border-radius: 6px;
}
.sd-skip:focus { top: 12px; }

.sd-wrap { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding: 0 var(--gutter); }
.sd-wrap--read { max-width: calc(820px + 2 * var(--gutter)); }

/* Type ------------------------------------------------------------------- */
.sd-eyebrow {
    display: flex; align-items: center; gap: 12px;
    margin: 0 0 18px;
    color: var(--muted);
    font: 500 14px/1.3 var(--sans);
    letter-spacing: .02em;
}
.sd-eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--cran); }

.sd-h2 {
    font: 500 clamp(30px, 3.4vw, 44px)/1.14 var(--serif);
    letter-spacing: -.01em;
    max-width: 22ch;
}
.sd-text { margin-top: 18px; max-width: 60ch; }

.sd-link {
    display: inline-flex; align-items: center; gap: 10px;
    color: var(--ink) !important; font-weight: 500; text-decoration: none;
    padding-bottom: 4px;
    background: linear-gradient(var(--cran), var(--cran)) 0 100% / 100% 1px no-repeat;
    transition: background-size .3s var(--ease);
}
.sd-link::after { content: "\2192"; color: var(--cran); transition: transform .3s var(--ease); }
.sd-link:hover { background-size: 100% 2px; }
.sd-link:hover::after { transform: translateX(4px); }

.sd-btn {
    display: inline-flex; align-items: center; justify-content: center;
    min-height: 48px; padding: 12px 22px;
    background: var(--ink); color: #fff !important; border: 1px solid var(--ink); border-radius: 6px;
    font: 500 15.5px/1.2 var(--sans); text-decoration: none; cursor: pointer;
    transition: box-shadow .2s, background-color .2s;
}
.sd-btn:hover { background: var(--ink-2); box-shadow: inset 0 -3px 0 var(--cran); }
.sd-btn--quiet { background: transparent; color: var(--ink) !important; border-color: var(--line-2); }
.sd-btn--quiet:hover { background: var(--band); box-shadow: none; }

/* Header ----------------------------------------------------------------- */
.sd-header {
    position: relative; z-index: 20;
    background: var(--paper);
    border-top: 3px solid var(--cran);
    border-bottom: 1px solid var(--line);
}
.sd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; min-height: 84px; }
.sd-header__logo { flex: 0 0 auto; display: block; }
.sd-logo { width: auto; height: 42px; }

.sd-nav { display: flex; align-items: center; gap: 28px; }
.sd-nav__list { display: flex; flex-wrap: wrap; gap: 4px 30px; margin: 0; padding: 0; list-style: none; }
.sd-nav__list a {
    position: relative; display: inline-block; padding: 8px 0;
    color: var(--text) !important; font-size: 15.5px; font-weight: 500; text-decoration: none;
}
.sd-nav__list a::after {
    content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
    background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease);
}
.sd-nav__list a:hover { color: var(--ink) !important; }
.sd-nav__list a:hover::after { transform: scaleX(1); }
.sd-nav__list .current-menu-item > a,
.sd-nav__list a[aria-current],
.sd-nav__list a.is-active { color: var(--ink) !important; }
.sd-nav__list .current-menu-item > a::after,
.sd-nav__list a[aria-current]::after,
.sd-nav__list a.is-active::after { transform: scaleX(1); background: var(--cran); }
.sd-nav__mail { padding-left: 22px; border-left: 1px solid var(--line); font-size: 14px; color: var(--ink) !important; text-decoration: none; white-space: nowrap; }
.sd-nav__mail:hover, .sd-nav__mail:focus-visible { color: var(--cran) !important; text-decoration: underline; text-underline-offset: 4px; }
.sd-nav__mail-label { color: var(--muted); margin-right: 4px; }
.sd-nav__langs { display: flex; gap: 10px; padding-left: 22px; border-left: 1px solid var(--line); font-size: 14px; }
.sd-nav__langs a { color: var(--muted) !important; text-decoration: none; }
.sd-nav__langs a[aria-current] { color: var(--ink) !important; font-weight: 600; }

.sd-menu-btn {
    display: none; align-items: center; gap: 10px;
    min-height: 44px; padding: 8px 14px;
    background: none; border: 1px solid var(--line-2); border-radius: 6px;
    color: var(--ink); font: 500 15px/1 var(--sans); cursor: pointer;
}
.sd-menu-btn__icon { position: relative; width: 16px; height: 10px; border-top: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transition: transform .25s var(--ease); }
.sd-menu-btn[aria-expanded="true"] .sd-menu-btn__icon { transform: rotate(90deg); }

@media (max-width: 900px) {
    .sd-header__inner { min-height: 0; flex-wrap: wrap; gap: 0 16px; }
    .sd-header__logo, .sd-menu-btn { margin: 13px 0; }
    .sd-logo { height: 34px; }
    .sd-menu-btn { display: inline-flex; }
    .sd-nav { display: none; flex: 0 0 calc(100% + 2 * var(--gutter)); flex-direction: column; align-items: stretch; gap: 0; margin: 0 calc(-1 * var(--gutter)); padding: 0 0 12px; border-top: 1px solid var(--line); }
    .sd-nav.is-open { display: flex; }
    .sd-header .sd-nav__list { flex-direction: column; gap: 0; }
    .sd-header .sd-nav__list li { border-bottom: 1px solid var(--line); }
    .sd-header .sd-nav__list a { display: block; padding: 15px var(--gutter); font-size: 17px; }
    .sd-header .sd-nav__list a::after { left: var(--gutter); right: auto; width: 24px; bottom: 10px; }
    .sd-nav__langs { border-left: 0; padding: 14px var(--gutter) 0; }
    .sd-nav__mail { border-left: 0; padding: 14px var(--gutter) 0; white-space: normal; }
}

/* Sections --------------------------------------------------------------- */
.sd-section { padding: clamp(72px, 9vw, 120px) 0; }
.sd-head { margin-bottom: clamp(36px, 5vw, 56px); }
.sd-head__lead { margin-top: 16px; max-width: 58ch; color: var(--text); }

.sd-photo { margin: 0; overflow: hidden; border-radius: var(--radius); background: var(--band); }
.sd-photo img { width: 100%; height: 100%; object-fit: cover; }

.sd-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(24px, 3vw, 40px); }
.sd-card__title { font: 500 24px/1.25 var(--serif); }

.sd-policies { margin: 0; padding: 0; list-style: none; }

/* Page head + legal ------------------------------------------------------ */
.sd-pagehead { padding: clamp(56px, 7vw, 96px) 0 clamp(32px, 4vw, 48px); border-bottom: 1px solid var(--line); background: var(--paper); }
.sd-pagehead__title { font: 500 clamp(36px, 4.6vw, 58px)/1.08 var(--serif); letter-spacing: -.015em; max-width: 20ch; }
.sd-pagehead__meta { margin-top: 14px; color: var(--muted); }

.sd-legal__grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: clamp(32px, 6vw, 88px); padding-top: clamp(40px, 6vw, 72px); padding-bottom: clamp(72px, 9vw, 112px); align-items: start; }
.sd-legal__aside { position: sticky; top: 24px; padding: 24px; background: var(--paper); border: 1px solid var(--line); border-top: 3px solid var(--cran); border-radius: var(--radius); }
.sd-legal__aside-title { margin-bottom: 10px; font: 500 20px/1.3 var(--serif); }
.sd-legal__aside .sd-policies li { border-top: 1px solid var(--line); }
.sd-legal__aside .sd-policies a { display: block; padding: 11px 0; color: var(--ink); text-decoration: none; font-size: 15.5px; }
.sd-legal__aside .sd-policies a:hover { color: var(--cran); }

.sd-prose { min-width: 0; color: var(--text); overflow-wrap: anywhere; }
.sd-prose h1, .sd-prose h2, .sd-prose h3, .sd-prose h4 { margin: 1.8em 0 .6em; font-family: var(--serif); font-weight: 500; line-height: 1.25; color: var(--ink) !important; }
.sd-prose h1 { font-size: 34px; } .sd-prose h2 { font-size: 28px; } .sd-prose h3 { font-size: 22px; } .sd-prose h4 { font-size: 19px; }
.sd-prose > :first-child, .sd-prose > div > :first-child { margin-top: 0; }
.sd-prose p, .sd-prose ul, .sd-prose ol, .sd-prose table { margin: 0 0 1.1em; }
.sd-prose li { margin-bottom: .4em; }
.sd-prose * { color: inherit; background-color: transparent; font-family: inherit; }
.sd-prose h1 *, .sd-prose h2 *, .sd-prose h3 *, .sd-prose h4 * { font-family: var(--serif); }
.sd-prose a { color: var(--cran) !important; }
.sd-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; }
.sd-prose th, .sd-prose td { padding: 10px 12px; border: 1px solid var(--line); text-align: left; vertical-align: top; }

@media (max-width: 900px) {
    .sd-legal__grid { grid-template-columns: minmax(0, 1fr); }
    .sd-legal__aside { position: static; }
}

/* 404 -------------------------------------------------------------------- */
.sd-notfound { padding: clamp(72px, 10vw, 140px) 0; }
.sd-notfound__card {
    max-width: 620px; margin: 0 auto; padding: clamp(36px, 5vw, 56px);
    text-align: center; background: var(--paper);
    border: 1px solid var(--line); border-top: 3px solid var(--cran); border-radius: var(--radius);
}
.sd-notfound__mark { width: 72px; height: 72px; margin: 0 auto 22px; border-radius: 16px; }
.sd-notfound .sd-eyebrow { justify-content: center; }
.sd-notfound .sd-eyebrow::after { content: ""; width: 28px; height: 1px; background: var(--cran); }
.sd-notfound__title { font: 500 clamp(30px, 4vw, 42px)/1.15 var(--serif); }
.sd-notfound .sd-text { margin: 16px auto 0; }
.sd-notfound__links { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 16px 28px; margin-top: 30px; }

/* Footer ----------------------------------------------------------------- */
.sd-footer { background: var(--ink); color: #c9d2dc; padding: clamp(56px, 7vw, 88px) 0 0; font-size: 15.5px; }
.sd-footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1.25fr 1.25fr; gap: 40px clamp(28px, 4vw, 56px); padding-bottom: clamp(44px, 6vw, 64px); }
.sd-plaque { display: inline-block; padding: 14px 20px; background: #fff; border-radius: 14px; }
.sd-plaque .sd-logo { height: 38px; }
.sd-footer__line { margin-top: 20px; max-width: 30ch; color: #c9d2dc; }
.sd-footer__head { margin-bottom: 16px; color: #fff !important; font: 500 19px/1.3 var(--serif); }
.sd-footer__head::after { content: ""; display: block; width: 24px; height: 2px; margin-top: 10px; background: #d9799f; }
.sd-footer ul { margin: 0; padding: 0; list-style: none; }
.sd-footer li { margin: 0 0 9px; }
.sd-footer a { color: #e3e8ee !important; text-decoration: none; }
.sd-footer a:hover { color: #fff !important; text-decoration: underline; text-decoration-color: #d9799f; }
.sd-footer .sd-nav__list { display: block; }
.sd-footer .sd-nav__list a { padding: 0; font-size: 15.5px; font-weight: 400; }
.sd-footer .sd-nav__list a::after { display: none; }
.sd-footer__address { font-style: normal; color: #c9d2dc; margin-bottom: 12px; }
.sd-footer__base { padding: 22px 0 26px; border-top: 1px solid rgba(255, 255, 255, .14); color: #b3bec9; font-size: 14px; }

@media (max-width: 980px) { .sd-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .sd-footer__grid { grid-template-columns: minmax(0, 1fr); } }

/* Cookie notice ---------------------------------------------------------- */
.sd-cookie {
    position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
    display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px;
    max-width: 880px; margin: 0 auto; padding: 18px 22px;
    background: var(--paper); border: 1px solid var(--line); border-left: 3px solid var(--cran); border-radius: var(--radius);
    box-shadow: 0 12px 32px rgba(29, 39, 51, .14);
    font-size: 15px;
}
.sd-cookie[hidden] { display: none; }
.sd-cookie p { flex: 1 1 320px; }
.sd-cookie__actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sd-cookie .sd-btn { min-height: 42px; padding: 9px 16px; font-size: 14.5px; }

/* Motion ----------------------------------------------------------------- */
.sd-js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.sd-js [data-reveal].is-in { opacity: 1; transform: none; }
.sd-js [data-reveal="settle"] { transform: none; }
.sd-js [data-reveal="settle"] img,
.sd-js .sd-concept[data-reveal] .sd-photo img { transform: scale(1.06); transition: transform 1.4s var(--ease); }
.sd-js [data-reveal="settle"].is-in img,
.sd-js .sd-concept[data-reveal].is-in .sd-photo img { transform: none; }
.sd-js [data-reveal="stagger"] { opacity: 1; transform: none; }
.sd-js [data-reveal="stagger"] > * { opacity: 0; transform: translateY(16px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.sd-js [data-reveal="stagger"].is-in > * { opacity: 1; transform: none; }
.sd-js [data-reveal="stagger"].is-in > :nth-child(2) { transition-delay: .09s; }
.sd-js [data-reveal="stagger"].is-in > :nth-child(3) { transition-delay: .18s; }
.sd-js [data-reveal="stagger"].is-in > :nth-child(4) { transition-delay: .27s; }
.sd-js [data-reveal="stagger"].is-in > :nth-child(5) { transition-delay: .36s; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .sd-js [data-reveal], .sd-js [data-reveal] > *, .sd-js [data-reveal] img { opacity: 1 !important; transform: none !important; transition: none !important; }
    .sd-link, .sd-link::after, .sd-nav__list a::after { transition: none; }
}
/* Soderamne corporate: front-page sections. */

/* Hero: typographic headline, then a strip of three graded photographs. */
.sd-hero { padding: clamp(64px, 9vw, 120px) 0 0; background: var(--paper); border-bottom: 1px solid var(--line); }
.sd-hero__title {
    max-width: 24ch;
    font: 400 clamp(40px, 6.2vw, 84px)/1.04 var(--serif);
    letter-spacing: -.022em;
    color: var(--ink);
}
.sd-hero__foot {
    display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 24px 64px; align-items: end;
    margin-top: clamp(28px, 4vw, 48px); padding-top: 28px; border-top: 1px solid var(--line);
}
.sd-hero__lead { max-width: 54ch; font-size: 18.5px; }
.sd-hero__links { display: flex; flex-wrap: wrap; gap: 14px 34px; justify-content: flex-end; }

.sd-strip {
    display: grid; grid-template-columns: 1.65fr 1.2fr 1fr; gap: clamp(12px, 1.6vw, 20px);
    margin-top: clamp(44px, 6vw, 72px);
    transform: translateY(1px);
}
.sd-strip__item { margin: 0; height: clamp(180px, 20vw, 280px); overflow: hidden; border-radius: var(--radius) var(--radius) 0 0; background: var(--band); }
.sd-strip__item img { width: 100%; height: 100%; object-fit: cover; }
.sd-strip__item--2 { height: clamp(150px, 16vw, 230px); align-self: end; }
.sd-strip__item--3 { height: clamp(200px, 23vw, 320px); align-self: end; }
.sd-strip { align-items: end; }
.sd-js .sd-strip > .sd-strip__item img { transform: scale(1.08); transition: transform 1.4s var(--ease); }
.sd-js .sd-strip.is-in > .sd-strip__item img { transform: none; }

@media (max-width: 760px) {
    .sd-hero__foot { grid-template-columns: minmax(0, 1fr); }
    .sd-hero__links { justify-content: flex-start; }
    .sd-strip { grid-template-columns: 1.4fr 1fr; }
    .sd-strip__item--1 { grid-column: 1 / -1; height: 200px; }
    .sd-strip__item--2, .sd-strip__item--3 { height: 150px; }
    .sd-strip__item--2 { border-radius: var(--radius) var(--radius) 0 0; }
}

/* About: text + photo | "At a glance". */
.sd-about__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(36px, 6vw, 96px); align-items: start; }
.sd-about__photo { margin-top: clamp(36px, 4vw, 52px); aspect-ratio: 4 / 3; max-width: 640px; }
.sd-glance { padding: clamp(26px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.sd-glance__title { padding-bottom: 14px; margin-bottom: 4px; border-bottom: 2px solid var(--ink); font: 500 24px/1.25 var(--serif); }
.sd-glance__list { margin: 0; }
.sd-glance__list > div { padding: 16px 0; border-bottom: 1px solid var(--line); }
.sd-glance__list > div:last-child { border-bottom: 0; padding-bottom: 0; }
.sd-glance__list dt { color: var(--cran); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; }
.sd-glance__list dd { margin: 4px 0 0; color: var(--ink); font-size: 16.5px; line-height: 1.55; }

@media (max-width: 900px) { .sd-about__grid { grid-template-columns: minmax(0, 1fr); } }

/* What we provide: one wide concept card. */
.sd-provide { background: var(--band); }
.sd-concepts { display: grid; gap: 28px; }
.sd-concept {
    display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
    background: var(--paper); border: 1px solid var(--line); border-radius: 14px; overflow: hidden;
}
.sd-concept--plain { grid-template-columns: minmax(0, 1fr); }
.sd-concept__photo { border-radius: 0; min-height: 100%; }
.sd-concept__photo img { min-height: 360px; }
.sd-concept__body { padding: clamp(28px, 4vw, 52px); }
.sd-concept__label { display: flex; align-items: baseline; gap: 10px; color: var(--muted); font-size: 14px; font-weight: 500; }
.sd-concept__label span { color: var(--cran); font: 500 22px/1 var(--serif); }
.sd-concept__name { margin-top: 10px; font: 500 clamp(30px, 3.2vw, 40px)/1.12 var(--serif); }
.sd-concept__summary { margin-top: 14px; max-width: 56ch; }
.sd-concept__points-title { margin: 28px 0 12px; font: 600 14px/1.3 var(--sans); letter-spacing: .04em; color: var(--ink); }
.sd-concept__points { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 28px; margin: 0; padding: 0; list-style: none; }
.sd-concept__points li { position: relative; padding: 11px 0 11px 22px; border-top: 1px solid var(--line); font-size: 15.5px; line-height: 1.5; color: var(--text); }
.sd-concept__points li::before { content: ""; position: absolute; left: 0; top: 19px; width: 10px; height: 2px; background: var(--cran); }

@media (max-width: 980px) {
    .sd-concept { grid-template-columns: minmax(0, 1fr); }
    .sd-concept__photo img { min-height: 0; aspect-ratio: 3 / 2; }
}
@media (max-width: 600px) { .sd-concept__points { grid-template-columns: minmax(0, 1fr); } }

/* How we work: 2x2 grid with serif numerals. */
.sd-commit { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line-2); }
.sd-commit__item { display: grid; grid-template-columns: 76px minmax(0, 1fr); gap: 20px; padding: clamp(28px, 3.5vw, 44px) clamp(0px, 3vw, 44px) clamp(28px, 3.5vw, 44px) 0; border-bottom: 1px solid var(--line-2); }
.sd-commit__item:nth-child(even) { padding-left: clamp(24px, 3.5vw, 48px); padding-right: 0; border-left: 1px solid var(--line-2); }
.sd-commit__num { color: var(--cran); font: 400 54px/.9 var(--serif); font-variant-numeric: lining-nums; }
.sd-commit__title { font: 500 24px/1.25 var(--serif); }
.sd-commit__text { margin-top: 10px; max-width: 46ch; }

@media (max-width: 760px) {
    .sd-commit { grid-template-columns: minmax(0, 1fr); }
    .sd-commit__item, .sd-commit__item:nth-child(even) { grid-template-columns: 52px minmax(0, 1fr); gap: 14px; padding: 26px 0; border-left: 0; }
    .sd-commit__num { font-size: 40px; }
}

/* Company details. */
.sd-company { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.sd-company__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.sd-details { background: var(--fog); border-top: 3px solid var(--cran); }
.sd-details__list { margin: 18px 0 0; }
.sd-details__row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 6px 24px; padding: 15px 0; border-top: 1px solid var(--line); }
.sd-details__row dt { color: var(--muted); font-size: 15px; }
.sd-details__row dd { margin: 0; color: var(--ink); font-weight: 500; overflow-wrap: anywhere; }
.sd-company__policies .sd-text { margin-top: 8px; }
.sd-company__policies .sd-policies { margin-top: 18px; border-top: 1px solid var(--line); }
.sd-company__policies .sd-policies li { border-bottom: 1px solid var(--line); }
.sd-company__policies .sd-policies a { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; color: var(--ink) !important; text-decoration: none; font-weight: 500; }
.sd-company__policies .sd-policies a::after { content: "\2192"; color: var(--cran); transition: transform .25s var(--ease); }
.sd-company__policies .sd-policies a:hover::after { transform: translateX(4px); }

@media (max-width: 900px) { .sd-company__grid { grid-template-columns: minmax(0, 1fr); } }
@media (max-width: 560px) { .sd-details__row { grid-template-columns: minmax(0, 1fr); } }

/* Contact. */
.sd-contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.sd-contact__grid--solo { grid-template-columns: minmax(0, 680px); }
.sd-contact__place { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sd-map { aspect-ratio: 16 / 10; background: var(--band); }
.sd-map iframe { display: block; width: 100%; height: 100%; border: 0; }
.sd-contact__card { padding: 24px 26px 26px; }
.sd-contact__label { color: var(--cran); font-size: 13.5px; font-weight: 600; letter-spacing: .04em; }
.sd-contact__address { margin-top: 6px; color: var(--text); }
.sd-contact__address strong { color: var(--ink); font-weight: 600; }
.sd-contact__channels { margin: 16px 0 0; padding: 0; list-style: none; }
.sd-contact__channels li { display: flex; flex-wrap: wrap; gap: 4px 16px; padding: 10px 0; border-top: 1px solid var(--line); }
.sd-contact__channels span { min-width: 64px; color: var(--muted); }
.sd-contact__form { padding: clamp(24px, 3vw, 36px); background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.sd-contact__form .sd-card__title { margin-bottom: 20px; }
.sd-main--contact .sd-contact { padding-top: clamp(56px, 7vw, 88px); }

@media (max-width: 900px) { .sd-contact__grid { grid-template-columns: minmax(0, 1fr); } }
/* --- Contact form ([webshop_contact_form], CF7-style markup) ---------- */
.sd-form .wpcf7,
.sd-form .contact-form-container { max-width: none; margin: 0; padding: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
.sd-form .wpcf7 form.contact-form,
.sd-form .wpcf7 form.unsubscribe-form { max-width: none; margin: 0; padding: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; font-family: inherit; }
.sd-form .hidden-fields-container { display: none; border: 0; margin: 0; padding: 0; }
.sd-form form p { margin: 0 0 16px; }
.sd-form br { display: none; }
.sd-form .cf7-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 16px; }
.sd-form .cf7-col { min-width: 0; }

.sd-form .wpcf7 form.contact-form label,
.sd-form .wpcf7 form.unsubscribe-form label {
    display: block;
    color: var(--ink) !important;
    font-size: 14px; font-weight: 500; letter-spacing: 0; text-transform: none;
}
.sd-form .wpcf7-form-control-wrap { display: block; margin-top: 7px; }

.sd-form .wpcf7 form.contact-form input[type="text"],
.sd-form .wpcf7 form.contact-form input[type="email"],
.sd-form .wpcf7 form.contact-form input[type="tel"],
.sd-form .wpcf7 form.contact-form input[type="number"],
.sd-form .wpcf7 form.contact-form input[type="url"],
.sd-form .wpcf7 form.contact-form textarea,
.sd-form .wpcf7 form.contact-form select,
.sd-form .wpcf7 form.unsubscribe-form input[type="text"],
.sd-form .wpcf7 form.unsubscribe-form input[type="email"],
.sd-form .wpcf7 form.unsubscribe-form textarea,
.sd-form .wpcf7 form.unsubscribe-form select {
    width: 100%;
    min-height: 48px;
    margin: 0 !important;
    padding: 11px 14px;
    background: #fff !important;
    border: 1px solid var(--line-2) !important;
    border-radius: 6px !important;
    box-shadow: none !important;
    color: var(--ink) !important;
    font: 400 16px/1.45 var(--sans);
    letter-spacing: 0; text-transform: none;
}
.sd-form .wpcf7 form.contact-form textarea { min-height: 140px; height: 150px; resize: vertical; }
.sd-form .wpcf7 form.contact-form input::placeholder,
.sd-form .wpcf7 form.contact-form textarea::placeholder { color: var(--muted) !important; opacity: 1; }
.sd-form .wpcf7 form.contact-form input:focus,
.sd-form .wpcf7 form.contact-form textarea:focus,
.sd-form .wpcf7 form.contact-form select:focus { border-color: var(--cran) !important; box-shadow: 0 0 0 3px var(--focus) !important; outline: none; }
.sd-form .wpcf7 form.contact-form input:disabled,
.sd-form .wpcf7 form.contact-form textarea:disabled { background: var(--band) !important; color: var(--muted) !important; }

/* Autofill stays legible on the white field. */
.sd-form input:-webkit-autofill,
.sd-form input:-webkit-autofill:hover,
.sd-form input:-webkit-autofill:focus,
.sd-form input:-webkit-autofill:active,
.sd-form textarea:-webkit-autofill,
.sd-form textarea:-webkit-autofill:hover,
.sd-form textarea:-webkit-autofill:focus,
.sd-form select:-webkit-autofill,
.sd-form select:-webkit-autofill:hover,
.sd-form select:-webkit-autofill:focus {
    -webkit-text-fill-color: var(--ink) !important;
    -webkit-box-shadow: 0 0 0 1000px #fff inset !important;
    box-shadow: 0 0 0 1000px #fff inset !important;
    caret-color: var(--ink);
    transition: background-color 9999s ease-out 0s;
}

/* Captcha row. */
.sd-form .captcha-cf7-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin: 0 0 18px; }
.sd-form .captcha-cf7-wrap > p { flex: 0 0 100%; margin: 0; }
.sd-form .captcha-cf7-wrap > p:empty { display: none; }
.sd-form .captcha-cf7-wrap .main-cf7-captcha { flex: 1 1 160px; }
.sd-form .captcha-cf7-wrap .main-cf7-captcha .wpcf7-form-control-wrap { margin-top: 0; }
.sd-form .captcha-image-container { display: flex !important; flex-direction: row !important; flex-wrap: nowrap; align-items: center; flex: 0 0 auto; gap: 8px; margin: 0; }
.sd-form .captcha-image-container img#captcha-image { width: auto; height: 48px; border: 1px solid var(--line-2) !important; border-radius: 6px; background: #fff; }
.sd-form a#reload_captcha {
    display: inline-flex !important; align-items: center; justify-content: center;
    width: 48px !important; height: 48px !important;
    background: var(--fog) !important; border: 1px solid var(--line-2) !important; border-radius: 6px !important;
    color: var(--ink) !important; text-decoration: none;
}
.sd-form a#reload_captcha:hover { background: var(--band) !important; }
.sd-form a#reload_captcha img.emoji { width: 18px; height: 18px; }

/* Submit. */
.sd-form .wpcf7 form.contact-form input[type="submit"],
.sd-form .wpcf7 form.unsubscribe-form input[type="submit"] {
    display: block; width: 100%; min-height: 52px; margin: 4px 0 0;
    padding: 12px 24px;
    background: var(--ink) !important; border: 1px solid var(--ink) !important; border-radius: 6px !important;
    color: #fff !important;
    font: 500 16px/1.2 var(--sans); letter-spacing: 0; text-transform: none;
    cursor: pointer;
}
.sd-form .wpcf7 form.contact-form input[type="submit"]:hover { background: var(--ink-2) !important; border-color: var(--ink-2) !important; box-shadow: inset 0 -3px 0 var(--cran) !important; }
.sd-form .wpcf7-spinner { display: none; }

/* Messages. */
.sd-form .wpcf7 form.contact-form .wpcf7-not-valid-tip { color: var(--bad) !important; font-size: 13.5px; text-transform: none; letter-spacing: 0; }
.sd-form .wpcf7 form.contact-form .wpcf7-response-output { margin: 14px 0 0 !important; padding: 12px 14px !important; border: 1px solid var(--line-2) !important; border-radius: 6px; background: var(--fog) !important; color: var(--ink) !important; font-size: 15px; }
.sd-form .wpcf7 form.contact-form .wpcf7-response-output:empty { display: none; }
.sd-form .wpcf7 form.contact-form.sent .wpcf7-response-output { border-color: var(--ink) !important; background: var(--band) !important; }
.sd-form .wpcf7 form.contact-form.invalid .wpcf7-response-output,
.sd-form .wpcf7 form.contact-form.failed .wpcf7-response-output { border-color: var(--bad) !important; color: var(--bad) !important; }

@media (max-width: 600px) {
    .sd-form .cf7-row { grid-template-columns: minmax(0, 1fr); }
}
