/*
 * Skārdnieks — new homepage sections. Built from Figma "Skardnieks" (desktop 1920 / mobile 390).
 * Requires chrome.css (tokens, fonts, buttons, header, footer).
 */
.sk-home { margin: 0; font: 400 16px/1.5 var(--sk-font); color: var(--sk-text); background: var(--sk-white); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
.sk-home *, .sk-home *::before, .sk-home *::after { box-sizing: border-box; }
:where(.sk-home) img { max-width: 100%; height: auto; display: block; }
:where(.sk-home) a { color: inherit; text-decoration: none; }
:where(.sk-home) :is(h1, h2, h3, p, dl, dd, figure) { margin: 0; }
:where(.sk-home) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
:where(.sk-home) button { font: inherit; color: inherit; }
.sk-home :focus-visible { outline: 2px solid var(--sk-yellow); outline-offset: 2px; }
.sk-home [hidden] { display: none !important; }
.sk-section { padding-block: var(--sk-section); }
.sk-eyebrow { margin-bottom: 14px !important; font-size: 12px; font-weight: 700; line-height: 16px; letter-spacing: 2px; text-transform: uppercase; color: var(--sk-red); }
.sk-dark .sk-eyebrow { color: var(--sk-yellow); }
.sk-title { font-size: 48px; font-weight: 700; line-height: 56px; letter-spacing: 0; text-transform: uppercase; }
.sk-head { margin-bottom: 64px; }
.sk-head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.sk-head--split .sk-head__main { max-width: 640px; }
.sk-head__text { width: 524px; max-width: 100%; flex-shrink: 0; color: #54595f; font-size: 16px; line-height: 24px; }
.sk-head--center { text-align: center; }
.sk-head-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.sk-head-row .sk-head { margin-bottom: 0; }
.sk-dark { background: var(--sk-ink); color: #fff; }
.sk-beige { background: var(--sk-beige); }
.sk-hero { position: relative; color: #fff; background: #111; isolation: isolate; min-height: 809px; }
.sk-hero__bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; opacity: .75; }
.sk-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 50%; }
/* Figma: photo at 75% opacity on #111, no gradient */
.sk-hero__grid { display: grid; grid-template-columns: minmax(0, 720px) 524px; justify-content: space-between; align-items: start; gap: 36px; padding-block: 64px 88px; }
.sk-hero__title { font-size: 56px; font-weight: 700; line-height: 64px; letter-spacing: 0; text-transform: uppercase; }
.sk-hero__text { margin-top: 16px; font-size: 16px; line-height: 24px; max-width: 720px; font-weight: 400; }
.sk-hero__content { padding-top: 72px; }
.sk-hero__stats { display: flex; gap: 48px; margin-top: 24px; }
.sk-hero__stats dt { font-size: 32px; font-weight: 700; line-height: 40px; color: var(--sk-yellow); }
.sk-hero__stats dd { margin-top: 4px; font-size: 14px; line-height: 20px; color: #ddd; font-weight: 400; }
.sk-hero__btn { margin-top: 32px; border-width: 1.5px; padding: 14px 24px; min-height: 48px; line-height: 20px; }
.sk-hero__benefits { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(33, 33, 33, .5); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.sk-hero__benefits ul { display: flex; gap: 24px; align-items: center; padding-block: 16px; }
.sk-hero__benefits li { flex: 1 1 0; display: flex; align-items: center; gap: 10px; font-size: 14px; line-height: 20px; color: #ddd; }
.sk-hero__benefits .sk-icon { color: var(--sk-yellow); }
.sk-diamond { flex-shrink: 0; width: 6px; height: 6px; background: var(--sk-yellow); transform: rotate(45deg); }
.sk-hero__check { display: none; }
.sk-quote { background: #fff; color: var(--sk-text); padding: 32px 40px; box-shadow: 0 0 6px rgba(17, 17, 17, .24); scroll-margin-top: calc(var(--sk-header-h) + 16px); }
.sk-quote__title { font-size: 32px; font-weight: 700; line-height: 40px; text-transform: uppercase; }
.sk-quote__text { margin-top: 8px; font-size: 16px; line-height: 24px; color: var(--sk-text); }
.sk-quote__text strong { color: var(--sk-red); font-weight: 700; }
/* Quote form (Contact Form 7 markup) */
.sk-form { margin-top: 20px; }
.sk-cf7 { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.sk-cf7 .hidden-fields-container { display: none; }
.sk-form .screen-reader-response { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.sk-form__hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.sk-field { position: relative; }
.sk-field .wpcf7-form-control-wrap { display: block; }
.sk-field input[type="text"], .sk-field input[type="tel"], .sk-field input[type="email"], .sk-field textarea { display: block; width: 100%; height: 54px; padding: 25px 12px 7px; border: 1px solid #ddd; border-radius: 0; background: #fff; font: 400 14px/20px var(--sk-font); color: var(--sk-text); box-shadow: none; transition: border-color .15s; }
.sk-field textarea { height: 88px; padding-top: 30px; resize: vertical; }
.sk-field > label { position: absolute; left: 13px; top: 17px; font-size: 14px; line-height: 20px; color: #54595f; pointer-events: none; transition: top .15s, font-size .15s, line-height .15s, color .15s; }
.sk-field input:focus, .sk-field textarea:focus { outline: none; border-color: var(--sk-yellow); }
.sk-field:focus-within > label, .sk-field.is-filled > label { top: 8px; font-size: 12px; line-height: 16px; color: var(--sk-text); }
.sk-req { color: var(--sk-red); }
.sk-field--file input[type="file"] { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer; }
.sk-field--file .wpcf7-form-control-wrap { position: static; }
.sk-field > label.sk-file { position: static; pointer-events: auto; font-size: 14px; }
.sk-file { display: flex; align-items: center; gap: 8px; min-height: 54px; padding: 16px 12px; border: 1px dashed #ddd; background: rgba(255, 255, 255, .3); color: #54595f; line-height: 20px; }
.sk-file__icon, .sk-lock { flex-shrink: 0; width: 20px; height: 20px; background: currentColor; -webkit-mask: url("../img/icon-paperclip.svg") center / contain no-repeat; mask: url("../img/icon-paperclip.svg") center / contain no-repeat; }
.sk-lock { -webkit-mask-image: url("../img/icon-lock.svg"); mask-image: url("../img/icon-lock.svg"); }
.sk-field--file:focus-within .sk-file, .sk-field--file:hover .sk-file { border-color: var(--sk-yellow); }
.sk-field--file.has-files .sk-file { color: var(--sk-text); border-style: solid; }
.sk-field .wpcf7-not-valid { border-color: var(--sk-red) !important; }
.sk-field .wpcf7-not-valid-tip { display: block; margin-top: 4px; color: var(--sk-red); font-size: 12px; }
.sk-cf7 .wpcf7-submit { width: 100%; }
.sk-cf7 .wpcf7-submit:disabled { opacity: .6; cursor: progress; }
.sk-cf7 .wpcf7-spinner { display: none; }
.sk-cf7.submitting .wpcf7-submit { opacity: .7; cursor: progress; }
.sk-form__privacy { display: flex; align-items: center; justify-content: center; gap: 8px; font-size: 14px; line-height: 20px; color: #54595f; }
.sk-cf7 .wpcf7-response-output { margin: 0; padding: 12px; font-size: 14px; text-align: center; border: 0; }
.sk-cf7.init .wpcf7-response-output, .sk-cf7.resetting .wpcf7-response-output, .sk-cf7.submitting .wpcf7-response-output { display: none; }
.sk-cf7.sent .wpcf7-response-output { background: #eaf6ee; color: #1e7a3c; font-weight: 700; }
.sk-cf7.invalid .wpcf7-response-output, .sk-cf7.unaccepted .wpcf7-response-output, .sk-cf7.failed .wpcf7-response-output, .sk-cf7.aborted .wpcf7-response-output, .sk-cf7.spam .wpcf7-response-output { color: var(--sk-red); background: #fdecec; }
.sk-products { padding-block: 32px 61px; }
.sk-brands { display: grid; gap: 24px; }
.sk-brands__title { text-align: center; font-size: 14px; line-height: 20px; font-weight: 700; text-transform: uppercase; color: #333; }
.sk-brands__list { display: flex; align-items: center; padding-block: 12px; }
.sk-brands__list > li { flex: 1 1 0; display: flex; align-items: center; justify-content: center; min-height: 52px; }
.sk-brands__text { font-size: 24px; line-height: 32px; font-weight: 700; text-transform: uppercase; color: #54595f; white-space: nowrap; }
.sk-brands__list img { height: 32px; width: auto; max-width: none; }
.sk-brands__list img[src$="brand-ruukki.svg"] { height: 24px; }
.sk-prod { margin-top: 28px; }
.sk-prod__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.sk-prod__title { font-size: 14px; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--sk-muted); }
.sk-prod__link-mob { display: none; }
.sk-prod__grid { display: grid; grid-template-columns: repeat(9, 1fr); gap: 40px 16px; }
.sk-prod__item { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.sk-prod__img { display: flex; align-items: center; justify-content: center; width: 100%; max-width: 128px; aspect-ratio: 1; border-radius: 50%; overflow: hidden; background: var(--sk-beige); border: 2px solid transparent; transition: border-color .15s, transform .2s; }
.sk-prod__img img { width: 100%; height: 100%; object-fit: cover; }
.sk-prod__item:hover .sk-prod__img { border-color: var(--sk-yellow); }
.sk-prod__name { font-size: 14px; font-weight: 700; line-height: 1.4; }
.sk-prod__item--all .sk-prod__img { background: var(--sk-yellow); color: var(--sk-ink); }
.sk-prod__item--all:hover .sk-prod__img { transform: translateX(4px); }
/* Risinājumi (Figma 162:302): 4-col grid 524/92/92/524 → rows 740+524, 632+632, 524+740 */
.sk-solutions__grid { display: grid; grid-template-columns: 524fr 92fr 92fr 524fr; gap: 16px; }
.sk-tile { position: relative; display: flex; align-items: flex-end; min-height: 357px; overflow: hidden; background: var(--sk-ink); color: #fff; }
.sk-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sk-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0, 0, 0, .85) 0%, rgba(0, 0, 0, .25) 50%, rgba(0, 0, 0, 0) 100%); }
a.sk-tile:hover > img { transform: scale(1.04); }
.sk-tile__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.sk-tile__title { font-size: 20px; font-weight: 700; line-height: 28px; text-transform: uppercase; }
.sk-tile__text { font-size: 14px; line-height: 20px; color: #ddd; }
.sk-tile__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 14px; line-height: 20px; font-weight: 700; color: var(--sk-yellow); text-transform: uppercase; }
.sk-tile--1 { grid-column: span 3; }
.sk-tile--1 > img { object-position: 50% 30%; } /* keep the roof in view */
.sk-tile--2 { grid-column: span 1; }
.sk-tile--3, .sk-tile--4 { grid-column: span 2; min-height: 283px; }
.sk-tile--card { grid-column: span 1; }
.sk-tile--5 { grid-column: span 3; }
.sk-tile--6, .sk-tile--7, .sk-tile--8 { grid-column: span 2; min-height: 283px; }
.sk-tile--card { flex-direction: column; align-items: flex-start; justify-content: flex-start; padding: 26px 24px; background: var(--sk-yellow); color: var(--sk-ink); }
.sk-tile--card::after { display: none; }
.sk-tile__card-title { font-size: 32px; font-weight: 700; line-height: 40px; text-transform: uppercase; }
.sk-tile__card-sub { margin-top: 12px !important; font-size: 14px; line-height: 20px; font-weight: 700; }
.sk-checklist { display: grid; gap: 8px; margin-top: 8px; font-size: 14px; line-height: 20px; }
.sk-checklist li { display: flex; align-items: center; gap: 8px; }
.sk-tile--card .sk-checklist { margin-top: 24px; } /* space between the card title and the list */
@media (max-width: 767px) { .sk-tile--card .sk-checklist { margin-top: 16px; } }
.sk-about { padding-block: 112px; }
.sk-about__grid { display: grid; grid-template-columns: minmax(0, 524px) minmax(0, 524px); justify-content: space-between; gap: 64px; align-items: center; }
.sk-about .sk-head { margin-bottom: 24px; }
.sk-about__text { max-width: 524px; font-size: 16px; line-height: 24px; color: #ddd; }
.sk-stats { display: grid; grid-template-columns: repeat(2, 200px); gap: 16px; margin-top: 64px; }
.sk-stats dt { display: flex; align-items: center; min-height: 40px; font-size: 32px; font-weight: 700; line-height: 40px; color: var(--sk-yellow); white-space: nowrap; }
.sk-stats__logo { height: 32px !important; width: auto !important; max-width: none; filter: brightness(0) invert(1); }
.sk-stats dd { margin-top: 4px; font-size: 14px; line-height: 20px; color: #fff; }
.sk-stats__logo-text { display: none; }
.sk-about__media img { width: 100%; height: 560px; object-fit: cover; }
.sk-why__grid { display: grid; grid-template-columns: repeat(6, 1fr); border-top: 1px solid #ddd; border-left: 1px solid #ddd; }
.sk-why__grid > li { grid-column: span 2; border-right: 1px solid #ddd; border-bottom: 1px solid #ddd; }
.sk-why__grid > li:nth-child(n+4) { grid-column: span 3; }
.sk-why__item { display: flex; flex-direction: column; gap: 6px; height: 100%; padding: 32px; transition: background-color .15s; }
a.sk-why__item:hover { background: var(--sk-beige); }
.sk-why__title { display: flex; justify-content: space-between; align-items: center; gap: 16px; font-size: 20px; font-weight: 700; line-height: 28px; text-transform: uppercase; }
.sk-why__title .sk-icon { color: var(--sk-yellow); flex-shrink: 0; align-self: flex-start; margin-top: 4px; }
.sk-why__text { font-size: 14px; line-height: 20px; color: #333; }
.sk-portfolio__grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 308px; gap: 16px; }
.sk-project { position: relative; display: flex; align-items: flex-end; overflow: hidden; background: var(--sk-ink); color: #fff; }
.sk-project--big { grid-row: span 2; }
.sk-portfolio__grid--even { grid-auto-rows: 360px; }
.sk-project > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.sk-project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(17, 17, 17, 0) 30%, rgba(17, 17, 17, .88) 100%); }
a.sk-project:hover > img { transform: scale(1.04); }
.sk-project__body { position: relative; z-index: 1; display: flex; flex-direction: column; gap: 6px; padding: 24px; }
.sk-project__tag { font-size: 12px; font-weight: 700; color: var(--sk-yellow); }
.sk-project__title { font-size: 20px; font-weight: 700; text-transform: uppercase; }
.sk-project__text { font-size: 14px; color: rgba(255, 255, 255, .9); }
.sk-project__materials { font-size: 12px; color: rgba(255, 255, 255, .9); }
.sk-project__quote { margin-top: 12px; padding: 10px 16px; border: 1px solid rgba(255, 255, 255, .3); font-size: 12px; color: var(--sk-yellow); }
.sk-process__grid { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--sk-line); }
.sk-step { display: flex; flex-direction: column; padding: 24px; border-right: 1px solid var(--sk-line); }
.sk-step:last-child { border-right: 0; }
.sk-step__top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 20px; }
.sk-step__num { font-size: 32px; font-weight: 700; line-height: 1; color: var(--sk-line); }
.sk-step__icon { color: var(--sk-yellow); }
.sk-step__title { font-size: 20px; font-weight: 700; line-height: 1.4; text-transform: uppercase; }
.sk-step__text { margin-top: 12px; font-size: 14px; color: var(--sk-muted); }
.sk-process__dots { justify-content: center; margin-top: 20px; }
.sk-process__dots button { background: var(--sk-line); }
.sk-process__cta { display: flex; justify-content: center; align-items: center; gap: 24px; margin-top: 64px; }
.sk-process__cta p { font-size: 14px; color: var(--sk-muted); }
.sk-slider-nav { display: flex; gap: 12px; }
.sk-roundbtn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; }
.sk-roundbtn:hover { border-color: var(--sk-yellow); color: var(--sk-yellow); }
.sk-reviews__layout { display: grid; grid-template-columns: 304px 1fr; gap: 16px; align-items: stretch; }
.sk-gcard { display: flex; flex-direction: column; padding: 24px 32px; background: #fff; color: var(--sk-ink); }
.sk-gcard__brand { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; }
.sk-gcard__score { display: flex; align-items: center; gap: 12px; margin-top: 16px; padding-bottom: 16px; border-bottom: 1px solid var(--sk-line); }
.sk-gcard__score strong { font-size: 56px; font-weight: 700; line-height: 1; }
.sk-gcard__score > span { display: flex; flex-direction: column; gap: 4px; }
.sk-gcard__score small { font-size: 14px; color: var(--sk-muted); }
.sk-gcard__more { display: grid; gap: 16px; margin-top: 16px; text-align: center; }
.sk-gcard__more p { text-align: left; font-size: 14px; color: var(--sk-muted); }
.sk-gcard__more .sk-link { justify-content: center; }
.sk-gcard__mob-link { display: none; }
.sk-gcard__g, .sk-gcard__src { display: none; }
.sk-stars { display: inline-flex; gap: 2px; color: #555; }
.sk-stars .is-on { color: var(--sk-yellow); }
.sk-reviews__track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(calc((100% - 32px) / 3), 1fr); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.sk-reviews__track::-webkit-scrollbar { display: none; }
.sk-review { scroll-snap-align: start; display: flex; flex-direction: column; gap: 14px; padding: 24px 32px; background: var(--sk-ink-2); border: 1px solid var(--sk-line-dark); }
.sk-review__head { display: flex; align-items: center; gap: 12px; }
.sk-review__avatar { display: inline-flex; align-items: center; justify-content: center; width: 40px; height: 40px; border-radius: 50%; color: #fff; font-weight: 700; flex-shrink: 0; }
.sk-review__author { display: block; font-weight: 700; }
.sk-review__when { display: block; font-size: 12px; color: #9a9da1; }
.sk-review__g { margin-left: auto; }
.sk-review__text { font-size: 16px; color: #ddd; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.sk-review__text.is-open { -webkit-line-clamp: unset; }
.sk-review__more { align-self: flex-start; margin-top: auto; padding: 0; border: 0; background: none; color: var(--sk-yellow); font-size: 14px; font-weight: 700; cursor: pointer; }
.sk-reviews__foot { display: flex; justify-content: space-between; align-items: center; margin-top: 32px; }
.sk-reviews__powered { margin-left: auto; display: flex; align-items: center; gap: 6px; font-size: 12px; color: #9a9da1; }
.sk-dots { display: flex; gap: 6px; }
.sk-dots button { width: 8px; height: 8px; padding: 0; border: 0; border-radius: 4px; background: #555; cursor: pointer; transition: width .2s, background-color .2s; }
.sk-dots button[aria-current="true"] { width: 24px; background: var(--sk-yellow); }
.sk-admin-note { padding-block: 16px; background: #fff8e1; font-size: 14px; }
.sk-faq__list { max-width: 848px; margin-inline: auto; }
.sk-faq__item { border-bottom: 1px solid #ddd; }
.sk-faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 16px; line-height: 24px; font-weight: 700; cursor: pointer; list-style: none; }
.sk-faq__item summary::-webkit-details-marker { display: none; }
.sk-faq__item summary:hover { color: var(--sk-red); }
.sk-faq__icon { display: inline-flex; flex-shrink: 0; transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
.sk-faq__v { transform-origin: 12px 12px; transition: transform .35s cubic-bezier(.4, 0, .2, 1); }
.sk-faq__item[open] .sk-faq__icon { transform: rotate(180deg); }
.sk-faq__item[open] .sk-faq__v { transform: scaleY(0); }
.sk-faq__item.is-closing .sk-faq__icon { transform: none; }
.sk-faq__item.is-closing .sk-faq__v { transform: none; }
.sk-faq__item { overflow: hidden; }
.sk-faq__a { transition: opacity .35s ease; }
.sk-faq__item.is-closing .sk-faq__a { opacity: 0; }
.sk-faq__a { margin-top: -4px; padding: 0 36px 20px 0; font-size: 16px; line-height: 24px; color: #54595f; }
.sk-faq__more { margin-top: 64px !important; text-align: center; }
.sk-stores { background: var(--sk-stone); }
.sk-stores .sk-head { margin-bottom: 56px; }
.sk-stores .sk-head__text { width: 420px; color: #6b6b6b; }
.sk-stores__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.sk-store { display: flex; flex-direction: column; gap: 20px; padding: 32px; background: #fff; border-top: 4px solid var(--sk-yellow); }
.sk-store__city { font-size: 24px; font-weight: 700; line-height: 32px; text-transform: uppercase; }
.sk-store__sub { margin-top: 6px !important; font-size: 14px; line-height: 20px; color: #6b6b6b; }
.sk-store__info { display: grid; gap: 12px; font-size: 16px; line-height: 24px; }
.sk-store__info li { display: flex; gap: 10px; }
.sk-store__info .sk-icon { margin-top: 3px; width: 18px; height: 18px; }
.sk-store__map { margin-top: auto; font-size: 14px; line-height: 20px; }
/* Band and image share one grid cell, so the section is always as tall as the taller of the two:
   the roof is never cut and there is no empty strip when the image is small. */
.sk-cta { position: relative; isolation: isolate; display: grid; background: var(--sk-beige); overflow: hidden; }
.sk-cta > * { grid-area: 1 / 1; }
.sk-cta__band { position: relative; align-self: end; padding-block: 91px 59px; }
.sk-cta__band::before { content: ""; position: absolute; inset: 0; z-index: 0; background: var(--sk-yellow); }
.sk-cta__band > .sk-container { position: relative; z-index: 2; }
.sk-cta .sk-cta__grid { display: flex; justify-content: space-between; align-items: center; gap: 40px; padding-right: calc(var(--sk-container) - 1031px + var(--sk-gutter)); }
.sk-cta__title { font-size: 32px; font-weight: 700; line-height: 40px; text-transform: uppercase; max-width: 524px; }
.sk-cta__content { max-width: 524px; }
.sk-cta__text { margin-top: 12px; font-size: 16px; line-height: 24px; color: #54595f; max-width: 524px; }
.sk-cta__buttons { display: flex; gap: 12px; }
/* House = right 46% of the image; width keeps it clear of the buttons (grass may pass under them). */
.sk-cta__img { position: relative; z-index: 1; align-self: end; justify-self: end; width: min(1168px, calc(108vw - 885px)); pointer-events: none; }
.sk-cta__img img { display: block; width: 100%; height: auto; }
@media (max-width: 1279px) {
    .sk-hero__grid { grid-template-columns: 1fr 460px; gap: 40px; }
    .sk-hero__title { font-size: 46px; }
    .sk-prod__grid { grid-template-columns: repeat(6, 1fr); }
    .sk-brands__list { padding-inline: 0; }
    .sk-cta .sk-cta__grid { flex-direction: column; align-items: flex-start; padding-right: var(--sk-gutter); }
    .sk-cta__img { width: min(620px, 48%); }
}

@media (max-width: 1023px) {
    /* Photo only behind the intro + benefits strip (not stretched down behind the form) */
    .sk-hero { display: grid; grid-template-columns: 100%; }
    .sk-hero__bg { position: relative; inset: auto; grid-row: 1 / 3; grid-column: 1; }
    .sk-hero__bg img { position: absolute; inset: 0; object-position: 72% 40%; }
    .sk-hero__grid { display: contents; }
    .sk-hero__content { grid-row: 1; grid-column: 1; width: 100%; max-width: calc(var(--sk-container) + 2 * var(--sk-gutter)); margin-inline: auto; padding: 64px var(--sk-gutter) 48px; }
    .sk-hero { min-height: 0; }
    .sk-hero__benefits { grid-row: 2; grid-column: 1; position: relative; }
    .sk-hero .sk-quote { grid-row: 3; grid-column: 1; padding: 48px max(var(--sk-gutter), calc((100% - 720px) / 2)) 24px; box-shadow: none; }
    .sk-hero__benefits ul { flex-wrap: wrap; justify-content: flex-start; padding-block: 14px; }
    .sk-hero__benefits li { flex: 1 1 45%; }
    .sk-head--split { flex-direction: column; align-items: flex-start; gap: 20px; }
    .sk-solutions__grid { grid-template-columns: 1fr 1fr; }
    .sk-tile { grid-column: span 1 !important; min-height: 300px !important; }
    .sk-about__grid { grid-template-columns: 1fr; gap: 48px; }
    .sk-why__grid { grid-template-columns: 1fr 1fr; }
    .sk-why__grid > li, .sk-why__grid > li:nth-child(n+4) { grid-column: span 1; }
    .sk-process__grid { grid-template-columns: repeat(3, 1fr); }
    .sk-step:nth-child(3n) { border-right: 0; }
    .sk-step:nth-child(n+4) { border-top: 1px solid var(--sk-line); }
    .sk-reviews__layout { grid-template-columns: 1fr; }
    .sk-reviews__track { grid-auto-columns: minmax(calc((100% - 16px) / 2), 1fr); }
    .sk-stores__grid { grid-template-columns: 1fr 1fr; }
    .sk-cta__band { padding-block: 56px; }
    .sk-cta__img { display: none; }
    .sk-cta { background: var(--sk-yellow); }
}

@media (max-width: 767px) {
    .sk-title { font-size: 28px; line-height: 36px; }
    .sk-head, .sk-head-row { margin-bottom: 32px; }
    .sk-head-row .sk-head { margin-bottom: 0; }
    /* Figma mobile hero 191:282: photo only behind the intro, whole picture squeezed into the frame */
    .sk-hero__bg { grid-row: 1; opacity: 1; }
    .sk-hero__bg img { width: 104%; max-width: none; object-fit: fill; object-position: 0 0; }
    .sk-hero__content { padding-block: 40px 32px; }
    .sk-hero .sk-quote { padding: 24px var(--sk-gutter); }
    .sk-hero__title { font-size: min(40px, calc((100vw - 32px) / 9.6)); line-height: 1.2; } /* "BEZ PĀRMAKSAS." stays on one line, incl. Firefox Android font metrics */
    .sk-hero__text { margin-top: 20px; font-size: 16px; color: rgba(255, 255, 255, .85); }
    .sk-hero__stats { gap: 12px; margin-top: 20px; }
    .sk-hero__stats > div { flex: 1 1 0; min-width: 0; }
    .sk-hero__stats dt { font-size: 24px; line-height: 32px; }
    .sk-hero__stats dd { font-size: 12px; line-height: 16px; margin-top: 2px; color: rgba(255, 255, 255, .8); }
    .sk-hero__btn { display: flex; width: 100%; margin-top: 20px; padding-block: 16px; }
    .sk-hero__benefits ul { gap: 10px 5px; }
    .sk-hero__benefits li { flex: 1 1 40%; font-size: 12px; gap: 8px; }
    .sk-hero__benefits .sk-diamond { display: none; }
    .sk-hero__benefits .sk-hero__check { display: block; width:14px}
    .sk-quote__title { font-size: 24px; }
    .sk-quote__text { font-size: 14px; }
    .sk-products { padding-block: 24px 0; }
    /* Figma mobile "Mēs pārstāvam" 191:343 */
    .sk-products { padding-top: 32px; }
    .sk-brands { gap: 16px; }
    .sk-brands__title { letter-spacing: 2px; font-size: 12px; line-height: 16px; color: #616166; }
    .sk-brands__list { flex-wrap: wrap; justify-content: center; gap: 16px 24px; padding: 0; }
    .sk-brands__list > li { flex: 0 0 auto; min-height: 26px; }
    .sk-brands__text { font-size: 18px; line-height: 26px; color: #333; }
    .sk-brands__list img { height: 30px; margin-block: -2px; } /* uploaded PNG logos have built-in whitespace */
    .sk-brands__list img[src$="brand-ruukki.svg"] { height: 18px; }
    .sk-prod { margin: 32px calc(-1 * var(--sk-gutter)) 0; padding: 40px var(--sk-gutter) 48px; background: var(--sk-stone); }
    .sk-prod__title { font-size: 20px; color: var(--sk-ink); }
    .sk-prod__link-desk { display: none; }
    .sk-prod__link-mob { display: inline; }
    .sk-prod__head .sk-link--underline { border: 0; padding: 0; text-transform: none; font-size: 14px; }
    .sk-prod__grid { grid-template-columns: repeat(3, 1fr); gap: 24px 12px; }
    .sk-prod__img { max-width: 96px; }
    .sk-prod__name { font-size: 12px; font-weight: 700; }
    .sk-solutions { padding-top: 64px; }
    .sk-solutions__grid { grid-template-columns: 1fr; gap: 12px; }
    .sk-tile { min-height: 200px !important; }
    .sk-tile--card { order: 99; padding: 24px 20px; }
    .sk-tile__body { padding: 20px; gap: 6px; }
    .sk-tile__title { font-size: 18px; }
    .sk-tile__card-title { font-size: 20px; }
    /* Figma mobile "Par mums" 192:284 */
    .sk-about { padding-block: 56px; }
    .sk-about__grid { gap: 24px; }
    .sk-about .sk-head { margin-bottom: 24px; }
    .sk-about__text { font-size: 16px; color: rgba(255, 255, 255, .8); }
    .sk-stats { grid-template-columns: 1fr 1fr; gap: 20px 16px; margin-top: 24px; }
    .sk-stats dt { font-size: 24px; line-height: 32px; min-height: 32px; white-space: normal; text-transform: none; }
    .sk-stats dd { color: rgba(255, 255, 255, .75); }
    .sk-stats__logo { display: none !important; }
    .sk-stats__logo-text { display: inline; text-transform: uppercase; }
    .sk-about__media img { height: 300px; aspect-ratio: auto; }
    .sk-why__grid { grid-template-columns: 1fr; }
    .sk-why__item { padding: 24px; }
    .sk-why__title { font-size: 18px; }
    .sk-portfolio__grid, .sk-process__grid { display: grid; grid-auto-flow: column; grid-template-columns: none; grid-template-rows: none; grid-auto-rows: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-inline: calc(-1 * var(--sk-gutter)); padding-inline: var(--sk-gutter); scroll-padding-inline: var(--sk-gutter); border: 0; gap: 12px; }
    .sk-portfolio__grid::-webkit-scrollbar, .sk-process__grid::-webkit-scrollbar { display: none; }
    .sk-portfolio__grid { grid-auto-columns: 82%; }
    .sk-project { scroll-snap-align: start; min-height: 360px; grid-row: auto !important; }
    .sk-project__text, .sk-project__materials, .sk-project__quote { display: none; }
    .sk-project__tag { letter-spacing: .15em; text-transform: uppercase; }
    .sk-portfolio__more { display: block !important; margin-top: 24px; }
    .sk-process__grid { grid-auto-columns: 72%; }
    .sk-step { scroll-snap-align: start; border: 1px solid var(--sk-line) !important; padding: 24px; }
    .sk-step__num { font-size: 40px; }
    .sk-step__title { font-size: 18px; }
    .sk-process__cta { flex-direction: column; gap: 16px; margin-top: 32px; }
    .sk-process__cta .sk-btn { width: 100%; }
    /* Figma mobile "Rating summary" 193:218: [G] 4,9 ★★★★★ / Google vērtējums · N atsauksmes / Skatīt → */
    .sk-gcard { flex-direction: row; flex-wrap: nowrap; align-items: center; gap: 12px; padding: 16px; }
    .sk-gcard__brand { display: none; }
    .sk-gcard__g { display: block; flex-shrink: 0; }
    .sk-gcard__score { flex: 1; min-width: 0; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 2px 10px; margin: 0; padding: 0; border: 0; }
    .sk-gcard__score strong { font-size: 18px; line-height: 26px; }
    .sk-gcard__score > span { display: contents; }
    .sk-gcard__score .sk-stars, .sk-gcard__score .sk-stars .is-on { color: var(--sk-ink); }
    .sk-gcard__score .sk-stars svg { width: 16px; height: 16px; }
    .sk-gcard__score small { grid-column: 1 / -1; font-size: 12px; line-height: 16px; color: #616166; }
    .sk-gcard__src { display: inline; }
    .sk-gcard__more { display: none; }
    .sk-gcard__mob-link { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
    .sk-reviews__track { grid-auto-columns: 100%; }
    .sk-review { padding: 20px; }
    .sk-reviews__foot { justify-content: center; margin-top: 20px; }
    .sk-faq__item summary { padding: 18px 0; align-items: flex-start; }
    .sk-faq__a { padding-right: 0; font-size: 14px; }
    .sk-faq__inner .sk-head--center { text-align: left; }
    .sk-faq__more { display: none; }
    .sk-stores__grid { grid-template-columns: 1fr; }
    .sk-stores .sk-head { margin-bottom: 24px; }
    .sk-stores__grid { gap: 24px; }
    .sk-store { display: grid; grid-template-columns: 1fr auto; gap: 10px 12px; padding: 20px; border-top: 0; border-left: 4px solid var(--sk-yellow); }
    .sk-store__head { grid-column: 1; }
    .sk-store__sub { display: none; }
    .sk-store__city { font-size: 18px; line-height: 26px; }
    .sk-store__info { grid-column: 1 / -1; gap: 10px; font-size: 14px; line-height: 20px; }
    .sk-store__info .sk-icon { margin-top: 2px; width: 16px; height: 16px; }
    .sk-store__map { grid-column: 2; grid-row: 1; align-self: center; margin: 0; font-size: 12px; line-height: 16px; }
    .sk-cta__band { padding-block: 40px; }
    /* Figma mobile CTA 193:376 */
    .sk-cta .sk-cta__grid { gap: 16px; align-items: stretch; }
    .sk-cta__title { font-size: 24px; line-height: 32px; }
    .sk-cta__text { margin-top: 16px; color: rgba(17, 17, 17, .85); }
    .sk-cta__buttons { flex-direction: column; gap: 8px; }
    .sk-cta__buttons .sk-btn { width: 100%; padding-block: 16px; }
    .sk-process .sk-head--center { text-align: left; }
}

@media (prefers-reduced-motion: reduce) {
    .sk-home *, .sk-home *::before, .sk-home *::after { transition: none !important; scroll-behavior: auto !important; }
}


@media (max-width: 359px) {
    .sk-cf7 .wpcf7-submit { white-space: normal; padding-inline: 12px; }
}
/* CF7 inputs carry size="40" (≈315px intrinsic width); let the form shrink on narrow phones */
.sk-quote, .sk-form, .sk-form .wpcf7, .sk-cf7, .sk-field, .sk-field input, .sk-field textarea { min-width: 0; }

/* Mobile: FAQ and "Mūsu veikali" share the same light background — avoid a double 56px gap between them */
@media (max-width: 767px) {
    .sk-faq + .sk-stores { padding-top: 0; }
}
