/* kgona.com (W-24) — written fresh from the measured look of the original Basix site
   (notes: content/sources/live-site-2026-11-21.md). Desktop values measured at 1366/1920, phone at 390. */

:root {
  --kg-red: #f3283a;
  --kg-ink: #222;
  --kg-text: #888;
  --kg-head: 'Montserrat', Arial, sans-serif;
  --kg-body: 'Metropolis', 'Montserrat', Arial, sans-serif;
}
body { --side: max(calc((100% - 1236px) / 2), calc(7.66% + 24px)); }

/* ---------- base ---------- */
body.kg-home, body.kg-inner {
  background: #fff; color: var(--kg-text);
  font-family: var(--kg-body); font-size: 15px; line-height: 27px; font-weight: 400;
}
body.kg-home h1, body.kg-home h2, body.kg-home h3, body.kg-home h4, body.kg-home h5,
body.kg-inner h1, body.kg-inner h2, body.kg-inner h3, body.kg-inner h4, body.kg-inner h5 {
  font-family: var(--kg-head); color: var(--kg-ink); margin: 0;
}
body .entry-content h2, body .kg-footer h2 { font-size: 34.5px; line-height: 1.3; font-weight: 500; letter-spacing: -0.02em; }
body .entry-content h3 { font-size: 16.875px; line-height: 1.4; font-weight: 600; letter-spacing: 0; }
body .entry-content strong { font-weight: 600; }
body .entry-content p { margin: 0 0 45px; }
body .entry-content a { color: var(--kg-red); }
.kg-accent { color: var(--kg-red); }

/* Astra frame → full width, no title, no paddings */
.kg-home #content > .ast-container, .kg-inner #content > .ast-container { max-width: none; padding: 0; display: block; }
.kg-home #primary, .kg-inner #primary { margin: 0 !important; padding: 0 !important; width: 100%; }
.kg-home .site-main > article, .kg-inner .site-main > article { margin: 0; padding: 0; }
.kg-home .entry-header, .kg-inner .entry-header { display: none; }
.kg-home .entry-content, .kg-inner .entry-content { margin: 0; }
.entry-content[ast-blocks-layout] > *, .entry-content > * { max-width: none !important; margin-left: 0 !important; margin-right: 0 !important; margin-top: 0; margin-bottom: 0; }
.kg-home .ast-separate-container, .kg-inner .ast-separate-container { background: #fff; }
.kg-wrap { padding-left: var(--side) !important; padding-right: var(--side) !important; box-sizing: border-box; }
.wp-block-image { margin: 0; }
.wp-block-image img { display: block; height: auto; max-width: 100%; }
.kg-icon svg { display: block; }

/* ---------- header ---------- */
.kg-inner #page { padding-top: 74px; }
.kg-header { position: absolute; top: 0; left: 0; right: 0; z-index: 900; padding: 15px 0; transition: background .3s, padding .3s; }
.kg-inner .kg-header { position: fixed; background: #fff; }
.kg-header-in { display: flex; align-items: center; height: 74px; padding: 0 var(--side); box-sizing: border-box; transition: height .3s; }
.kg-logo { display: block; margin-right: 25px; line-height: 0; }
.kg-logo img { width: 99px; height: auto; }
.kg-logo .kg-logo-dark { display: none; }
.kg-solid .kg-logo-light, .kg-scrolled .kg-logo-light { display: none; }
.kg-solid .kg-logo-dark, .kg-scrolled .kg-logo-dark { display: block; }
.kg-nav { flex: 1; }
.kg-menu { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; }
.kg-menu li { margin: 0; padding: 0 15px; }
.kg-menu a { font-family: var(--kg-head); font-size: 13.5px; line-height: 1; font-weight: 500; color: rgba(255,255,255,.6); text-decoration: none; transition: color .2s; }
.kg-menu a:hover, .kg-menu .current-menu-item > a { color: #fff; }
.kg-solid .kg-menu a, .kg-scrolled .kg-menu a { color: rgba(34,34,34,.6); }
.kg-solid .kg-menu a:hover, .kg-solid .kg-menu .current-menu-item > a,
.kg-scrolled .kg-menu a:hover, .kg-scrolled .kg-menu .current-menu-item > a { color: var(--kg-ink); }
.kg-search-btn { background: none; border: 0; padding: 0 17px 0 0; color: rgba(255,255,255,.75); cursor: pointer; line-height: 0; }
.kg-solid .kg-search-btn, .kg-scrolled .kg-search-btn { color: #888; }
.kg-search-btn:hover, .kg-search-btn:focus { background: none; color: var(--kg-red); }
.kg-cta { display: inline-block; height: 37px; line-height: 33.75px; padding: 0 20px; box-sizing: border-box; border: 1.6px solid var(--kg-red); border-radius: 34px; font-family: var(--kg-head); font-size: 13.5px; font-weight: 600; color: #fff; text-decoration: none; white-space: nowrap; }
.kg-cta:hover { background: var(--kg-red); color: #fff; }
.kg-solid .kg-cta, .kg-scrolled .kg-cta { color: #333; }
.kg-solid .kg-cta:hover, .kg-scrolled .kg-cta:hover { color: #fff; }
.kg-header.kg-scrolled { position: fixed; background: #fff; padding: 0; }
.kg-header.kg-scrolled .kg-header-in { height: 64px; }
.kg-header.kg-scrolled .kg-logo img { width: 85px; }
.kg-burger { display: none; }
.kg-search { position: absolute; left: 0; right: 0; top: 100%; background: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.08); padding: 18px var(--side); }
.kg-search form { display: flex; align-items: center; gap: 12px; }
.kg-search input[type=search] { flex: 1; border: 0; border-bottom: 1px solid #ddd; background: none; font-family: var(--kg-head); font-size: 20px; padding: 8px 0; color: var(--kg-ink); outline: none; }
.kg-search-close { background: none; border: 0; color: #888; cursor: pointer; padding: 4px; line-height: 0; }
.kg-search-close:hover, .kg-search-close:focus { background: none; color: var(--kg-red); }
.kg-mobilenav { display: none; }

/* ---------- hero slider ---------- */
.kg-hero { position: relative; height: 100vh; min-height: 500px; overflow: hidden; background: linear-gradient(-155deg, #3f3f3f 0%, #111 100%); color: #fff; }
.kg-slide { position: absolute !important; inset: 0; opacity: 0; transition: opacity .6s ease; pointer-events: none; }
.kg-slide.is-active { opacity: 1; pointer-events: auto; z-index: 1; }
.kg-slide .kg-bg { position: absolute; inset: 0; }
.kg-slide .kg-bg img, .kg-title-photo .kg-bg img { width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.kg-layers { position: absolute; z-index: 2; }
.kg-layers > * { margin: 0 !important; opacity: 0; transform: translateY(100%); }
.kg-slide.is-active .kg-layers > * { animation: kg-rise .8s cubic-bezier(.77,0,.175,1) forwards; }
.kg-slide.is-active .kg-l1 { animation-delay: .6s; }
.kg-slide.is-active .kg-l2 { animation-delay: .7s; }
.kg-slide.is-active .kg-l3 { animation-delay: .8s; }
@keyframes kg-rise { to { opacity: 1; transform: translateY(0); } }
.kg-slide.is-active .kg-pre { animation-name: kg-rise-60; }
@keyframes kg-rise-60 { to { opacity: .6; transform: translateY(0); } }
.kg-pre { font-family: var(--kg-head); font-size: min(17px, 1.133vw); line-height: 1.765; font-weight: 300; color: #fff; text-align: center; }
.kg-slide-title { font-family: var(--kg-head); font-size: min(50px, 3.333vw); line-height: 1.2; font-weight: 300; color: #fff; }
.kg-slide-title strong { font-weight: 600; }
.kg-slide-1 .kg-layers { left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(560px, 37.33vw); text-align: center; }
.kg-slide-1 .kg-slide-title { text-align: center; margin-top: 10px !important; }
.kg-slide-1 .kg-l3 { justify-content: center; margin-top: 32px !important; }
.kg-slide-2 .kg-layers { right: max(calc((100% - 1500px) / 2 + 60px), 4vw); bottom: 21%; width: min(604px, 40.27vw); text-align: right; }
.kg-slide-2 .kg-slide-title { text-align: right; }
.kg-slide-2 .kg-l2 { justify-content: flex-end; margin-top: 32px !important; }
.kg-hero .wp-block-button__link { font-family: var(--kg-head); font-size: min(17px, 1.133vw); font-weight: 600; line-height: 26px; padding: 14px 34px; border-radius: 40px; transition: background .2s, color .2s; }
.kg-btn-fill .wp-block-button__link { background: var(--kg-red); color: #fff; border: 1px solid var(--kg-red); }
.kg-btn-line .wp-block-button__link { background: transparent; color: #fff; border: 1px solid #fff; }
.kg-hero .wp-block-button__link:hover { background: #fff; color: #000; border-color: #fff; }
.kg-bullets { position: absolute; z-index: 3; left: 0; right: 0; bottom: 60px; display: flex; justify-content: center; gap: 5px; }
.kg-bullets button { width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 1.6px solid rgba(255,255,255,.6); background: transparent; cursor: pointer; }
.kg-bullets button.is-active, .kg-bullets button:hover { background: #fff; }
.kg-timer { position: absolute; z-index: 3; left: 0; bottom: 0; height: 6px; width: 0; background: rgba(255,255,255,.3); }
.kg-timer.run { animation: kg-timer 4s linear forwards; }
@keyframes kg-timer { to { width: 100%; } }

/* ---------- intro rows (intro + oil) ---------- */
.kg-intro { display: grid; grid-template-columns: 1fr 1fr; padding-top: 90px !important; padding-bottom: 90px !important; padding-inline: calc(var(--side) + 41.75px) !important; }
.kg-intro .kg-intro-title { padding: 3px 54px 0 24px; text-align: right; }
.kg-intro .kg-intro-text { position: relative; margin: 30px 0 0 !important; padding: 0 24px 0 54px; }
.kg-intro .kg-intro-text::before { content: ""; position: absolute; left: 0; top: -25px; width: 2px; height: 44px; background: var(--kg-red); }
.kg-oil { padding-top: 0 !important; }

/* ---------- why work with us ---------- */
.kg-why { background: #f3f3f3; padding: 112px var(--side) 64px; text-align: center; }
.kg-why .kg-why-title { font-weight: 400; margin-bottom: 45px; }
.kg-why-row { display: grid; grid-template-columns: repeat(4, 1fr); padding: 0 calc(109.6px - 24px); }
.kg-feature { padding: 0 24px; }
.kg-feature .kg-icon { color: var(--kg-red); display: flex; justify-content: center; }
.kg-feature .kg-icon svg { width: 42px; height: 42px; stroke-width: 1.5; }
.kg-feature h3 { margin-top: 31px !important; text-align: center; }

/* ---------- split row (photo | red) ---------- */
.kg-split { display: grid; grid-template-columns: 1fr 1fr; }
.kg-split-photo { position: relative; }
.kg-split-photo img { position: absolute; inset: 0; width: 100%; height: 100% !important; max-width: none !important; object-fit: cover; }
.kg-split-red { background: var(--kg-red); padding: 150px var(--side) 105px 60px; color: rgba(255,255,255,.9); }
.kg-split-red h2 { color: #fff !important; }
.kg-split-red h2 strong { font-weight: 600; }
.kg-split-red .kg-lead { font-size: 18px; line-height: 32.4px; color: rgba(255,255,255,.85); margin: 29px 0 46px !important; }
.kg-sub-row { display: grid; grid-template-columns: 1fr 1fr; margin: 0 -24px; }
.kg-sub { padding: 0 24px; }
.kg-sub .kg-icon { color: #fff; }
.kg-sub .kg-icon svg { width: 48px; height: 48px; stroke-width: 1.5; }
.kg-sub h3 { color: #fff !important; margin-top: 23px !important; }
.kg-sub p { color: rgba(255,255,255,.9); margin: 13px 0 0 !important; }

/* ---------- gallery ---------- */
.kg-gallery-section { padding-top: 84px !important; padding-bottom: 44px !important; }
.kg-gallery-section .kg-gallery-title { line-height: 48.3px; margin-bottom: 28px; }
.kg-gallery { overflow: hidden; border-radius: 4px; background: #f3f3f3; }
.kg-gallery-track { display: flex; transition: transform .6s ease; }
.kg-gallery-track > figure { flex: 0 0 100%; margin: 0 !important; }
.kg-gallery-track img { width: 100%; border-radius: 3px; }

/* ---------- partners strip ---------- */
.kg-partners { background: #212121; padding: 90px var(--side) 75px; }
.kg-partners .kg-partners-title { display: flex; align-items: center; gap: 0; font-family: var(--kg-head); font-size: 11px; line-height: 11px; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; color: var(--kg-red) !important; margin: 20px 0 36px; white-space: nowrap; }
.kg-partners-title::before, .kg-partners-title::after { content: ""; flex: 1; border-top: 1.6px solid rgba(255,255,255,.15); }
.kg-partners-title::before { margin-right: 0; }
.kg-logos { position: relative; padding: 3px 0; }
.kg-logos-row { display: flex; justify-content: space-between; align-items: center; overflow: hidden; height: 100px; }
.kg-logos-row > figure { flex: 0 0 20%; display: flex; justify-content: center; margin: 0 !important; }
.kg-logos-row img { max-width: 200px; max-height: 87px; width: auto; height: auto; }
.kg-logos-prev, .kg-logos-next { position: absolute; top: 50%; margin-top: -13px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 2px; background: transparent; color: #fff; font-size: 22px; line-height: 22px; cursor: pointer; }
.kg-logos-prev { left: -30px; } .kg-logos-next { right: -30px; }
.kg-logos-prev:hover, .kg-logos-next:hover { color: var(--kg-red); background: transparent; }

/* ---------- CTA ---------- */
.kg-cta-section { padding-top: 50px !important; padding-bottom: 48px !important; text-align: center; }
.kg-cta-section .kg-eyebrow { font-family: var(--kg-body) !important; font-size: 15px; line-height: 24px; font-weight: 700; color: var(--kg-red) !important; }
.kg-cta-section h2 strong { font-weight: 600; }
.kg-cta-buttons { justify-content: center; margin-top: 45px !important; }
.kg-btn-glow .wp-block-button__link, .kg-btn { display: inline-block; font-family: var(--kg-head); font-size: 16px; line-height: 51.2px; font-weight: 600; padding: 0 40px; border-radius: 34px; background: var(--kg-red); color: #fff !important; border: 0; box-shadow: 0 0 50px rgba(243,40,58,.45); transition: box-shadow .3s; cursor: pointer; }
.kg-btn-glow .wp-block-button__link:hover, .kg-btn:hover { background: var(--kg-red); box-shadow: 0 0 50px rgba(243,40,58,.75); }

/* ---------- inner pages ---------- */
.kg-title { position: relative; background: #fff; padding: 105px var(--side); text-align: center; overflow: hidden; }
.kg-title h1 { position: relative; z-index: 1; font-size: 45px !important; line-height: 54px !important; font-weight: 300 !important; letter-spacing: -0.02em; }
.kg-title-photo { padding: 24vh var(--side); }
.kg-title-photo .kg-bg { position: absolute; inset: 0; }
.kg-title-photo h1 { color: #fff !important; }
.kg-body h2 { margin-bottom: 46px !important; }
.kg-body ul { margin: 0 0 33px; padding: 0 0 0 15px; list-style: disc; color: var(--kg-text); }
.kg-body li { margin: 0 0 4.5px; line-height: 27px; }
.kg-body > *:last-child { margin-bottom: 45px !important; }
.kg-partner-list h2 { margin-bottom: 5px !important; }
.kg-partner-list .wp-block-image { margin: 0 !important; }
.kg-partner-list .wp-block-image img { width: auto; }

/* ---------- contact form ---------- */
.kg-form-section { padding: 0 var(--side) 76px; }
.kg-contactform { width: 524px; max-width: 100%; margin: 0 auto; }
.kg-contactform form { display: flex; flex-direction: column; gap: 15px; margin: 0; }
.kg-contactform input[type=text], .kg-contactform input[type=email], .kg-contactform textarea {
  width: 100%; height: 48px; box-sizing: border-box; padding: 16.5px 15px; border: 0; border-radius: 4px;
  background: rgba(0,0,0,.06); font-family: var(--kg-body); font-size: 15px; font-weight: 500; line-height: normal; color: var(--kg-ink); box-shadow: none; outline: none;
}
.kg-contactform textarea { height: 150px; line-height: 25.5px; resize: vertical; }
.kg-contactform ::placeholder { color: #999; opacity: 1; }
.kg-contactform .kg-btn { width: 100%; margin-top: 11px; }
.kg-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.kg-form-msg { padding: 12px 15px; border-radius: 4px; margin: 0 0 15px !important; }
.kg-ok { background: #e9f7ef; color: #1e7a45; } .kg-err { background: #fdecee; color: #b0182a; }

/* ---------- footer ---------- */
.kg-footer { background: #111; font-family: var(--kg-body); }
.kg-footer-top { display: grid; grid-template-columns: 1fr 1fr; padding-top: 112px !important; padding-bottom: 64px !important; }
.kg-footer-logo { padding-right: 24px; line-height: 0; }
.kg-footer-logo img { width: 262px; height: auto; }
.kg-footer-links { padding-left: 24px; max-width: 143px; }
.kg-footer h3 { font-family: var(--kg-head); font-size: 16.5px !important; line-height: 23.1px; font-weight: 600; color: #fff !important; margin: 0 0 24.75px !important; }
.kg-footer ul { margin: 0; padding: 0 0 0 23px; list-style: disc; color: rgba(255,255,255,.85); }
.kg-footer li { margin: 0 0 4.5px; font-size: 15px; line-height: 27px; }
.kg-footer li a { color: #fff; text-decoration: none; }
.kg-footer li a:hover { color: var(--kg-red); }
.kg-footer-bottom { padding-top: 15px !important; padding-bottom: 75px !important; }
.kg-footer-bottom p { margin: 0; text-align: center; font-size: 12px; line-height: 21.6px; color: rgba(255,255,255,.2); }
.site-footer, .ast-small-footer, .ast-footer-overlay { display: none; }

/* ---------- tablet + phone ---------- */
@media (max-width: 991px) {
  .kg-nav, .kg-cta { display: none; }
  .kg-footer-logo { display: none; }
  .kg-footer-top { grid-template-columns: 1fr; }
  .kg-footer-links { padding-left: 0; max-width: none; }
}
@media (max-width: 767px) {
  body { --side: 20px; }
  body .entry-content h2 { font-size: 27.2px; line-height: 35.36px; }
  body .entry-content h3 { font-size: 17.25px; line-height: 24.15px; }
  .kg-inner #page { padding-top: 74px; }
  .kg-header, .kg-inner .kg-header, .kg-header.kg-scrolled { padding: 0; }
  .kg-header-in, .kg-header.kg-scrolled .kg-header-in { height: 64px; padding: 0 20px; }
  .kg-burger { display: block; position: relative; width: 30px; height: 64px; margin-right: 10px; padding: 0; border: 0; background: none; cursor: pointer; }
  .kg-burger span, .kg-burger span::before, .kg-burger span::after { position: absolute; left: 0; width: 20px; height: 2px; background: #fff; content: ""; transition: transform .25s, top .25s, background .25s; }
  .kg-burger span { top: 31px; } .kg-burger span::before { top: -6px; } .kg-burger span::after { top: 6px; }
  .kg-solid .kg-burger span, .kg-solid .kg-burger span::before, .kg-solid .kg-burger span::after,
  .kg-scrolled .kg-burger span, .kg-scrolled .kg-burger span::before, .kg-scrolled .kg-burger span::after { background: var(--kg-ink); }
  .kg-burger:hover, .kg-burger:focus { background: none; }
  .kg-logo { margin-right: auto; }
  .kg-logo img, .kg-header.kg-scrolled .kg-logo img { width: 76px; }
  .kg-search-btn { padding: 0; }
  .kg-mobilenav { display: flex; align-items: center; justify-content: center; position: fixed; inset: 0; z-index: 800; background: #fff; transform: translateX(-100%); transition: transform .35s ease; }
  .kg-menu-open .kg-mobilenav { transform: none; }
  .kg-menu-open .kg-header { background: transparent; position: fixed; }
  .kg-menu-open .kg-logo-light { display: none; } .kg-menu-open .kg-logo-dark { display: block; }
  .kg-menu-open .kg-burger span { background: transparent !important; }
  .kg-menu-open .kg-burger span::before { top: 0; transform: rotate(45deg); background: var(--kg-red) !important; }
  .kg-menu-open .kg-burger span::after { top: 0; transform: rotate(-45deg); background: var(--kg-red) !important; }
  .kg-menu-open .kg-search-btn { color: #888; }
  .kg-mmenu { list-style: none; margin: 0; padding: 45px 0; width: 350px; max-width: 100%; text-align: center; }
  .kg-mmenu a { display: block; padding: 18px 0; font-family: var(--kg-head); font-size: 15px; line-height: 21px; color: #aaa; text-decoration: none; }
  .kg-mmenu a:hover, .kg-mmenu .current-menu-item > a { color: var(--kg-ink); }

  .kg-hero { height: 100svh; }
  .kg-pre { font-size: 14px; font-weight: 400; }
  .kg-slide-title { font-size: 26.6px; line-height: 36px; font-weight: 300; }
  .kg-slide-1 .kg-layers { width: 310px; }
  .kg-slide-2 .kg-layers { right: 20px; left: 20px; width: auto; bottom: 22%; }
  .kg-hero .wp-block-button__link { font-size: 15px; line-height: 20px; padding: 13px 30px; }
  .kg-bullets button { width: 8px; height: 8px; }

  .kg-intro { grid-template-columns: 1fr; padding-inline: 20px !important; }
  .kg-intro .kg-intro-title { padding: 0; text-align: left; }
  .kg-intro .kg-intro-text { margin: 45px 0 0 !important; padding: 0; }
  .kg-intro .kg-intro-text::before { display: none; }
  .kg-why-row { grid-template-columns: 1fr; padding: 0; row-gap: 45px; }
  .kg-feature { padding: 0; }
  .kg-split { grid-template-columns: 1fr; }
  .kg-split-photo { height: 439px; }
  .kg-split-red { padding: 150px 20px 105px; }
  .kg-sub-row { grid-template-columns: 1fr; margin: 0; row-gap: 45px; }
  .kg-sub { padding: 0; }
  .kg-gallery-section .kg-gallery-title { line-height: 38px; }
  .kg-logos-row > figure { flex: 0 0 100%; }
  .kg-logos-prev { left: -14px; } .kg-logos-next { right: -14px; }
  .kg-title { padding: 45px 20px; }
  .kg-title-photo { padding: 24vh 20px; }
  .kg-footer-bottom p { text-align: left; }
}

/* Astra adds default padding to top-level groups (.entry-content > .wp-block-group, 0,2,0).
   Zero it and restate our section paddings at the same specificity. */
body { --wp--custom--ast-default-block-top-padding: 0; --wp--custom--ast-default-block-right-padding: 0;
  --wp--custom--ast-default-block-bottom-padding: 0; --wp--custom--ast-default-block-left-padding: 0; }
.entry-content > .kg-why { padding: 112px var(--side) 64px; }
.entry-content > .kg-partners { padding: 90px var(--side) 75px; }
.entry-content > .kg-title { padding: 105px var(--side); }
.entry-content > .kg-title-photo { padding: 24vh var(--side); }
.entry-content > .kg-form-section { padding: 0 var(--side) 76px; }
@media (max-width: 767px) {
  .entry-content > .kg-title { padding: 45px 20px; }
  .entry-content > .kg-title-photo { padding: 24vh 20px; }
}
/* Products: white gap between the photo title and the text (estimate from the reference height) */
.entry-content > .kg-title-photo + .kg-body { padding-top: 80px; }
@media (max-width: 767px) { .entry-content > .kg-title-photo + .kg-body { padding-top: 45px; } }
/* WordPress flow layout adds margin-block-start: 24px to every block after the first */
.kg-hero > .kg-slide, .kg-slide > .kg-bg, .kg-title-photo > .kg-bg { margin: 0 !important; }
