/* Klarwin Magyarország Kft. — Main Stylesheet
 *
 * Public design system follows the Klarwin group reference build: teal nav
 * band, Mozilla Headline/Text, square corners, 12-column grid, colour-bar
 * compositions. The ADMIN section further down is deliberately untouched and
 * still runs on Poppins and 4px radii, so the legacy --color-* / --font-main /
 * --radius / --shadow tokens are kept as aliases rather than removed.
 */

:root {
  /* Brand */
  --klw-teal: #00afa5;
  --klw-teal-dark: #008f87;
  --klw-teal-light: #7dd8d2;
  --klw-orange: #ff8a00;
  --klw-black: #000000;
  --klw-gray: #666666;
  --klw-light: #f5f5f5;
  --klw-white: #ffffff;

  /* Type */
  --font-head: 'Mozilla Headline', Arial, Helvetica, sans-serif;
  --font-body: 'Mozilla Text', Arial, Helvetica, sans-serif;

  /* 12-column grid */
  --grid-max: 1280px;
  --grid-pad: 24px;
  --grid-gap: 20px;

  /* Motion & depth */
  --ease: cubic-bezier(0.33, 1, 0.68, 1);
  --shadow-card: 0 4px 20px rgba(0, 0, 0, 0.15);
  --section-padding: 80px;
  --section-padding-mobile: 48px;

  /* Legacy tokens, read only by the ADMIN section below. Pinned to their
     pre-redesign literal values on purpose: the admin UI is out of scope for
     this redesign and must render pixel-identically. Public CSS uses --klw-*. */
  --color-teal: #01afa9;
  --color-teal-dark: #018f8a;
  --color-dark: #383838;
  --color-gray: #808285;
  --color-light: #f1f1f1;
  --color-white: #ffffff;
  --font-main: 'Poppins', Arial, sans-serif;
  --container-width: var(--grid-max);
  --radius: 4px;
  --shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  --transition: 0.2s ease;
}

/* ===================== RESET & BASE ===================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  scroll-padding-top: 120px;   /* sticky header must not cover anchor targets */
}
body {
  font-family: var(--font-body);
  color: var(--klw-black);
  background: var(--klw-white);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;          /* colour bars intentionally bleed past the grid */
}
/* Admin keeps its original Poppins / 14px rhythm */
body.admin-body {
  font-family: var(--font-main);
  font-size: 14px;
  line-height: 26px;
  font-weight: 300;
}
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.15;
}
/* The admin keeps its original element defaults. Scoped with :where() so these
   carry the same specificity as the bare element selectors they replace —
   otherwise they'd start winning against rules like `.admin-table th`. */
:where(body.admin-body) :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--font-main);
  font-weight: 600;
  line-height: 1.25;
}
:where(body.admin-body) :is(p, li, td, th, label, input, textarea, select, button) {
  font-weight: 300;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
sup { font-size: 0.55em; vertical-align: super; line-height: 0; }

/* ===================== GRID ===================== */
.grid-container {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  column-gap: var(--grid-gap);
  width: 100%;
  max-width: var(--grid-max);
  margin-inline: auto;
  padding-inline: var(--grid-pad);
}

/* Mobile first: every column spans the full width, desktop spans below */
.col-full, .col-1-3, .col-1-6, .col-1-8, .col-4-6, .col-5-12,
.col-7-9, .col-7-12, .col-10-12, .col-solution, .col-solution-wide {
  grid-column: 1 / -1;
}

@media (min-width: 768px) {
  :root { --grid-pad: 32px; }
  .col-solution { grid-column: span 6; }
}

@media (min-width: 1024px) {
  :root { --grid-pad: 40px; --grid-gap: 24px; }
  .col-1-3   { grid-column: 1 / 4; }
  .col-1-6   { grid-column: 1 / 7; }
  .col-1-8   { grid-column: 1 / 9; }
  .col-4-6   { grid-column: 4 / 7; }
  .col-5-12  { grid-column: 5 / 13; }
  .col-7-9   { grid-column: 7 / 10; }
  .col-7-12  { grid-column: 7 / 13; }
  .col-10-12 { grid-column: 10 / 13; }
  .col-solution      { grid-column: span 4; }
  .col-solution-wide { grid-column: span 8; }
}

/* Stretch a grid child past the container to the viewport edge. Desktop only —
   the mobile compositions keep the bars inside the page gutters. Relies on
   body { overflow-x: hidden } to clip the overshoot. */
@media (min-width: 1024px) {
  .bleed-right { margin-right: calc((100vw - 100%) / -2); }
}

/* ===================== UTILITIES ===================== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding-inline: var(--grid-pad);
}
.section { padding: var(--section-padding) 0; }
.section-light { background: var(--klw-light); }
.eyebrow {
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--klw-teal);
}
.section-heading {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  color: var(--klw-black);
}
.section-title {
  font-size: clamp(1.75rem, 2.6vw, 2.25rem);
  margin-bottom: 1rem;
  color: var(--klw-black);
}
.section-subtitle {
  color: var(--klw-gray);
  margin-bottom: 2.5rem;
  font-size: 1.05rem;
}
.text-teal { color: var(--klw-teal); }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }

/* ===================== BUTTONS ===================== */
.btn-outline-teal,
.btn-teal,
.btn-outline-white,
.btn-solid-white {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.95rem 2rem;
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.btn-outline-teal {
  border: 2px solid var(--klw-teal);
  color: var(--klw-teal);
}
.btn-outline-teal:hover { background: var(--klw-teal); color: var(--klw-white); }
.btn-teal {
  background: var(--klw-teal);
  color: var(--klw-white);
  border: 2px solid var(--klw-teal);
}
.btn-teal:hover { background: var(--klw-teal-dark); border-color: var(--klw-teal-dark); }
.btn-outline-white {
  border: 2px solid var(--klw-white);
  color: var(--klw-white);
  padding: 0.55rem 1.25rem;
}
.btn-outline-white:hover { background: var(--klw-white); color: var(--klw-teal); }
.btn-solid-white {
  background: var(--klw-white);
  color: var(--klw-black);
  border: 2px solid var(--klw-white);
}
.btn-solid-white:hover { background: rgba(255, 255, 255, 0.88); }

/* Inline text CTA — "TOVÁBB →" */
.btn-link-teal {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--klw-teal);
  transition: color 0.2s ease;
}
.btn-link-teal:hover { color: var(--klw-teal-dark); }

/* ===================== FLASH ===================== */
.flash {
  padding: 0.9rem 1.2rem;
  margin: 1.5rem auto;
  max-width: var(--grid-max);
  font-size: 0.9375rem;
  border-radius: 0;
}
.flash-notice { background: #d4edda; color: #155724; border: 1px solid #c3e6cb; }
.flash-alert  { background: #f8d7da; color: #721c24; border: 1px solid #f5c6cb; }

/* ===================== HEADER ===================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 110;
  background: var(--klw-white);
}

/* Top utility strip: language switcher */
.header-utility {
  padding: 0.5rem 0;
  font-size: 0.8125rem;
}
.header-utility .grid-container { align-items: center; }
.header-utility-inner {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.75rem;
}
.lang-item {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--klw-gray);
  transition: color 0.2s ease;
}
.lang-item:hover { color: var(--klw-teal); }
.lang-item.active { color: var(--klw-black); }
.lang-sep { color: rgba(0, 0, 0, 0.2); font-size: 0.75rem; }

/* Teal navigation band, inset inside the grid container */
.nav-band {
  background: var(--klw-teal);
  padding-inline: 1rem;
  position: relative;
  z-index: 50;
}
.nav-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}
.logo { display: flex; align-items: center; flex-shrink: 0; line-height: 0; }
.logo img { height: 44px; width: auto; }

.main-nav { display: none; }
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-item { position: relative; display: flex; align-items: center; }
.nav-item > a {
  display: block;
  padding: 0.25rem 0.6rem;
  font-size: 0.9375rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  transition: color 0.2s ease;
}
.nav-item > a:hover,
.nav-item.active > a { color: var(--klw-white); }
.nav-sep { color: rgba(255, 255, 255, 0.45); font-size: 0.8125rem; user-select: none; }

/* Dropdown — white panel, teal hover */
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 260px;
  background: var(--klw-white);
  box-shadow: var(--shadow-card);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  z-index: 10;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; }
.dropdown li a {
  display: block;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
  color: var(--klw-black);
  transition: background 0.2s ease, color 0.2s ease;
}
.dropdown li a:hover { background: var(--klw-light); color: var(--klw-teal); }

.header-cta { display: none; flex-shrink: 0; }
/* The nav panel carries its own copy of the CTA, shown only while it is open */
.header-cta-mobile { display: none; }

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 6px 2px;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--klw-white);
  transform-origin: center;
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav panel */
.main-nav.open {
  display: block;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--klw-teal);
  padding: 0.5rem 0 1.25rem;
  box-shadow: var(--shadow-card);
  max-height: calc(100vh - 100%);
  overflow-y: auto;
}
.main-nav.open .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
.main-nav.open .nav-item { display: block; }
.main-nav.open .nav-item > a {
  padding: 0.85rem 1rem;
  font-size: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}
.main-nav.open .nav-sep { display: none; }
.main-nav.open .dropdown {
  position: static;
  opacity: 1;
  visibility: visible;
  box-shadow: none;
  background: transparent;
  padding: 0;
  min-width: 0;
}
.main-nav.open .dropdown li a {
  padding: 0.7rem 1rem 0.7rem 2rem;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.main-nav.open .dropdown li a:hover { background: rgba(0, 0, 0, 0.08); color: var(--klw-white); }
.main-nav.open .header-cta-mobile { display: block; padding: 1.25rem 1rem 0; }

@media (min-width: 1024px) {
  .main-nav { display: block; }
  .hamburger { display: none; }
  .header-cta { display: block; }
  .logo img { height: 53px; }
  .main-nav.open .header-cta-mobile,
  .header-cta-mobile { display: none; }
}

/* ===================== HOME: HERO ===================== */
.home-hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: max(22vh, 280px);
  overflow: hidden;
}
.home-hero-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.home-hero-overlay { position: absolute; inset: 0; }
.home-hero-overlay--teal  { background: rgba(0, 175, 165, 0.25); }
.home-hero-overlay--black { background: rgba(0, 0, 0, 0.20); }
.home-hero-content { position: relative; z-index: 10; width: 100%; }
.home-hero-content .grid-container { padding-bottom: 2.5rem; }
.home-hero-title {
  font-size: clamp(2.25rem, 6.6vw, 6rem);
  line-height: 1.05;
  color: var(--klw-white);
}
@media (min-width: 768px) {
  .home-hero { min-height: max(50vh, 500px); }
  .home-hero-content .grid-container { padding-bottom: 4rem; }
}
@media (min-width: 1024px) {
  .home-hero { min-height: max(55vh, 600px); }
  .home-hero-content .grid-container { padding-bottom: 6rem; }
}

/* ===================== HOME: INTRO + COLOUR BARS ===================== */
/* No background on the section itself — only the left panel is white, so the
   hero video stays visible in the strip the panel overlaps. */
.home-intro { position: relative; z-index: 10; }
.home-intro-panel { background: var(--klw-white); padding: 3rem 0 2rem; }
.home-intro-title {
  font-size: clamp(1.5rem, 3.4vw, 3rem);
  line-height: 1.2;
  color: var(--klw-teal);
  margin-bottom: 1.5rem;
}
.home-intro-text p {
  color: var(--klw-gray);
  margin-bottom: 1.25rem;
  line-height: 1.75;
}
.home-intro-text p:last-child { margin-bottom: 0; }
.home-intro-cta { margin-top: 1.5rem; }

.bars { display: flex; flex-direction: column; gap: 10px; }
.bar-teal       { background: var(--klw-teal); }
.bar-teal-light { background: var(--klw-teal-light); }
.bar-orange     { background: var(--klw-orange); }
.bar-black      { background: var(--klw-black); }

/* Mobile bar stack + overlapping product shot */
.home-intro-bars { padding-inline: var(--grid-pad); }
.home-intro-bars .bar-teal       { height: 24px; }
.home-intro-bars .bar-teal-light { height: 31px; }
.home-intro-bars .bar-orange     { height: 96px; }
.home-intro-bars .bar-black      { height: 24px; }
.home-intro-image {
  padding-inline: var(--grid-pad);
  margin-top: -16px;
  position: relative;
  z-index: 10;
  overflow: hidden;    /* clips the parallax overhang inside the page gutter */
}
.home-intro-image-inner { will-change: transform; }

@media (min-width: 1024px) {
  .home-intro { margin-top: -3rem; }
  .home-intro-panel {
    position: relative;
    padding: 7rem 3rem 5rem 0;
  }
  /* Extend the white panel to the left viewport edge */
  .home-intro-panel::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    right: 100%;
    width: 50vw;
    background: var(--klw-white);
  }
  .home-intro-bars {
    padding-inline: 0;
    padding-top: 11rem;
    position: relative;
  }
  .home-intro-bars .bar-teal       { height: 56px; }
  .home-intro-bars .bar-teal-light { height: 56px; }
  .home-intro-bars .bar-orange     { height: 208px; }
  .home-intro-bars .bar-black      { height: 56px; }
  .home-intro-image {
    position: absolute;
    right: 0;
    left: auto;
    bottom: -6rem;
    /* Reference sizing: 70% of the column plus half the gap to the viewport
       edge, anchored to the column's right edge and extending leftwards. */
    width: calc((100% + ((min(100vw, 1536px) - 100%) / 2)) * 0.7);
    padding-inline: 0;
    margin-top: 0;
    z-index: 20;
    pointer-events: none;
    /* The parallax overhang is meant to run past the grid to the viewport edge,
       where body { overflow-x: hidden } clips it. */
    overflow: visible;
  }
}

/* ===================== HOME: SOLUTIONS ===================== */
.home-solutions {
  position: relative;
  background: rgba(125, 216, 210, 0.2);
  padding: 6rem 0 4rem;
  overflow: hidden;
}
.home-solutions-bg {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  pointer-events: none;
}
.home-solutions-bg img { width: 100%; height: 100%; object-fit: cover; }
.home-solutions-inner { position: relative; z-index: 10; }
.home-solutions-head {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.solutions-grid { row-gap: 1rem; }

.solution-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem;
  min-height: 200px;
  background: var(--klw-white);
  padding: 1.5rem;
  transition: box-shadow 0.25s ease;
}
.solution-card:hover { box-shadow: var(--shadow-card); }
.solution-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.solution-card-title {
  font-size: clamp(1.375rem, 2vw, 1.875rem);
  line-height: 1.15;
  color: var(--klw-black);
}
.solution-card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  padding: 6px;
  background: var(--klw-teal);
  color: var(--klw-white);
}
.solution-card-icon svg { width: 28px; height: 28px; }
.solution-card-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}
.solution-card-desc { font-size: 0.9375rem; color: var(--klw-gray); line-height: 1.6; }
.solution-card-arrow {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}
.solution-card:hover .solution-card-arrow { transform: translate(4px, 4px); }

.solutions-note {
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 1.5rem;
  padding: 1.5rem;
}
.solutions-note-lead {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.125rem;
  line-height: 1.35;
  color: var(--klw-black);
}
.solutions-note-body { font-size: 0.875rem; color: var(--klw-gray); line-height: 1.6; }
@media (min-width: 1024px) {
  .solutions-note { grid-template-columns: 1fr 1fr; }
}

/* ===================== HOME: CTA BAND ===================== */
.home-cta { background: var(--klw-teal); padding: 2.5rem 0; }
.home-cta-body { display: flex; flex-direction: column; gap: 1rem; color: var(--klw-white); }
.home-cta-title { font-size: clamp(1.5rem, 2.6vw, 2.25rem); line-height: 1.35; }
.home-cta-text { color: rgba(255, 255, 255, 0.92); }
.home-cta-body .btn-solid-white { align-self: flex-start; margin-top: 0.5rem; }

@media (min-width: 1024px) {
  /* Desktop: teal panel, colour bars behind it, engineers cut out on top */
  .home-cta { background: transparent; padding: 3rem 0 8rem; }
  .home-cta .grid-container { align-items: stretch; }
  .home-cta-bars {
    grid-row-start: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(50px);
    position: relative;
    z-index: 0;
  }
  .home-cta-bars .bar-teal-light { flex: 15; }
  .home-cta-bars .bar-teal       { flex: 22; }
  .home-cta-bars .bar-orange     { flex: 42; }
  .home-cta-bars .bar-black      { flex: 12; }
  .home-cta-panel {
    grid-row-start: 1;
    background: var(--klw-teal);
    position: relative;
    z-index: 10;
    transform: translateY(-20px);
  }
  .home-cta-photo {
    grid-row-start: 1;
    position: relative;
    z-index: 20;
    transform: translateY(50px);
    pointer-events: none;
  }
  .home-cta-photo img {
    position: absolute;
    bottom: 0;
    right: 60px;
    height: 530px;
    width: auto;
    max-width: none;
  }
  .home-cta-body {
    grid-row-start: 1;
    position: relative;
    z-index: 30;
    justify-content: center;
    min-height: 400px;
    padding: 3rem;
    transform: translateY(-20px);
  }
  .home-cta-body .btn-solid-white { margin-top: 1.5rem; }
}

/* ===================== HOME: NEWS ===================== */
.home-news { padding: var(--section-padding) 0; }
.home-news-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2.5rem;
  flex-wrap: wrap;
}

/* ===================== PAGE HEADER ===================== */
.page-hero {
  position: relative;
  background: var(--klw-teal);
  overflow: hidden;
}
.page-hero .grid-container { position: relative; z-index: 2; padding-block: 3.5rem; }
.page-hero-title { font-size: clamp(1.875rem, 4vw, 3rem); color: var(--klw-white); }
.page-hero .post-badge { margin-bottom: 0.85rem; }
.page-hero-sub { color: rgba(255, 255, 255, 0.9); margin-top: 0.75rem; max-width: 60ch; }
.page-hero--image { background-size: cover; background-position: center; }
.page-hero--image .grid-container { padding-block: 5rem; }
.page-hero--image::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.72) 0%, rgba(0, 0, 0, 0.45) 55%, rgba(0, 175, 165, 0.35) 100%);
}
/* Thin brand rule under every page header */
.page-hero::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  z-index: 3;
  background: linear-gradient(90deg,
    var(--klw-teal) 0 25%,
    var(--klw-teal-light) 25% 50%,
    var(--klw-orange) 50% 85%,
    var(--klw-black) 85% 100%);
}

/* ===================== PROSE ===================== */
.page-body { background: var(--klw-white); }
.prose {
  max-width: 820px;
  margin: 0 auto;
  padding: 3.5rem 0 4.5rem;
  line-height: 1.85;
  color: #333;
}
.prose h2 { font-family: var(--font-head); font-size: 1.625rem; margin: 2.5rem 0 0.75rem; color: var(--klw-black); }
.prose h3 { font-family: var(--font-head); font-size: 1.25rem; margin: 2rem 0 0.5rem; color: var(--klw-black); }
.prose h4 { font-family: var(--font-head); font-size: 1.0625rem; margin: 1.5rem 0 0.4rem; color: var(--klw-black); }
.prose p  { margin-bottom: 1.25rem; }
.prose ul, .prose ol { margin: 0 0 1.25rem 1.75rem; }
.prose ul { list-style: disc; }
.prose ol { list-style: decimal; }
.prose li { margin-bottom: 0.4rem; }
.prose a  { color: var(--klw-teal); text-decoration: underline; }
.prose strong, .prose b { color: var(--klw-black); font-weight: 700; }
.prose blockquote {
  border-left: 4px solid var(--klw-teal);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  color: var(--klw-gray);
}
.prose table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.prose th, .prose td { border: 1px solid #ddd; padding: 0.6rem 0.8rem; text-align: left; }
.prose th { background: var(--klw-light); }
/* CKEditor output */
.prose figure { margin: 1.5rem 0; }
.prose figure img { margin-inline: auto; }
.prose figcaption { font-size: 0.875rem; color: var(--klw-gray); padding-top: 0.5rem; text-align: center; }
.prose .image { margin: 1.5rem 0; }
.prose .image-style-side { float: right; max-width: 50%; margin: 0.5rem 0 1.25rem 1.5rem; }
@media (max-width: 640px) {
  .prose .image-style-side { float: none; max-width: 100%; margin: 1.5rem 0; }
}

/* ===================== BLOG / POSTS ===================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.post-card {
  display: flex;
  flex-direction: column;
  background: var(--klw-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s var(--ease);
}
.post-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.post-card-image { aspect-ratio: 3 / 2; overflow: hidden; background: var(--klw-light); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.post-card:hover .post-card-image img { transform: scale(1.04); }
.post-card-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.post-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--klw-teal);
  color: var(--klw-white);
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  margin-bottom: 0.85rem;
}
.post-card-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.1875rem;
  line-height: 1.3;
  margin-bottom: 0.65rem;
  color: var(--klw-black);
}
.post-card-excerpt { font-size: 0.9375rem; color: var(--klw-gray); line-height: 1.6; flex: 1; }
.post-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  font-size: 0.8125rem;
  color: var(--klw-gray);
}
.post-card-footer a {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--klw-teal);
}
.post-card-footer a:hover { color: var(--klw-teal-dark); }

/* Post detail */
.post-detail { padding: var(--section-padding) 0; }
.post-detail-image { overflow: hidden; margin-bottom: 2rem; text-align: center; }
.post-detail-image img { max-height: 380px; width: auto; max-width: 100%; display: inline-block; }
.post-detail-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin-bottom: 2rem;
  background: var(--klw-black);
}
.post-detail-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.post-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.8125rem;
  color: var(--klw-gray);
  margin-bottom: 1.5rem;
}

/* Load more */
.load-more-wrapper { text-align: center; margin-top: 3rem; }

/* ===================== GALLERY ===================== */
.galleries-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.gallery-card {
  background: var(--klw-white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s var(--ease);
}
.gallery-card:hover { box-shadow: var(--shadow-card); transform: translateY(-3px); }
.gallery-card-thumb { aspect-ratio: 3 / 2; overflow: hidden; background: var(--klw-light); }
.gallery-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-card-body { padding: 1.25rem 1.5rem; }
.gallery-card-title { font-family: var(--font-head); font-weight: 700; margin-bottom: 0.25rem; }
.gallery-card-desc { font-size: 0.875rem; color: var(--klw-gray); }
.gallery-card-cta { margin-top: 0.85rem; }
.gallery-card-placeholder {
  height: 100%;
  background: linear-gradient(135deg, var(--klw-light) 0 50%, rgba(125, 216, 210, 0.35) 50% 100%);
}

.gallery-images-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-image-item { aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; background: var(--klw-light); }
.gallery-image-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.gallery-image-item:hover img { transform: scale(1.05); }

/* Lightbox */
.lightbox-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 300;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.lightbox-overlay.open { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 80vh; object-fit: contain; }
.lightbox-caption { color: var(--klw-white); margin-top: 1rem; font-size: 0.9rem; opacity: 0.8; }
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  color: var(--klw-white);
  font-size: 2.25rem;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s ease;
}
.lightbox-close:hover { opacity: 1; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--klw-white);
  font-size: 2.5rem;
  line-height: 1;
  padding: 0.5rem 1rem;
  opacity: 0.6;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.lightbox-nav:hover { opacity: 1; background: rgba(255, 255, 255, 0.15); }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* ===================== MOTION ===================== */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.65s var(--ease) var(--reveal-delay, 0s),
    transform 0.65s var(--ease) var(--reveal-delay, 0s);
  will-change: opacity, transform;
}
.reveal.is-revealed { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .post-card, .gallery-card, .solution-card, .solution-card-arrow,
  .post-card-image img, .gallery-image-item img { transition: none; }
}

/* ===================== FOOTER ===================== */
.site-footer { background: var(--klw-teal); color: var(--klw-white); }
.site-footer .grid-container { padding-block: 3rem; row-gap: 2.5rem; }
.footer-logo img { width: 190px; height: auto; margin-bottom: 1.5rem; }
.footer-tagline {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--klw-black);
}
.footer-col-title {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--klw-black);
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--klw-black);
}
.footer-link {
  display: block;
  padding: 0.55rem 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  border-bottom: 1px solid var(--klw-black);
  transition: color 0.2s ease;
}
.footer-link:hover { color: var(--klw-white); }
.footer-company { display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem 0; font-size: 0.875rem; color: rgba(255, 255, 255, 0.9); }
.footer-company a:hover { color: var(--klw-white); text-decoration: underline; }
.footer-social { display: flex; gap: 0.5rem; margin-top: 1.5rem; }
.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.7);
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--klw-white); }
.footer-social svg { width: 20px; height: 20px; }
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 3rem;
  padding-top: 1.5rem;
}
.footer-bottom p,
.footer-bottom button {
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--klw-black);
}
.footer-bottom button { transition: color 0.2s ease; }
.footer-bottom button:hover { color: var(--klw-white); }

@media (min-width: 640px) {
  .footer-bottom { flex-direction: row; align-items: center; justify-content: space-between; }
}
@media (min-width: 1024px) {
  .site-footer .grid-container { padding-block: 5rem; row-gap: 0; }
  .footer-col-offset { margin-top: 180px; }
  .footer-social { justify-content: flex-end; margin-top: 2rem; }
}

/* ===================== ADMIN ===================== */
.admin-body {
  background: #f4f5f7;
  font-family: var(--font-main);
  color: var(--color-dark);
}
.admin-wrapper {
  display: flex;
  min-height: 100vh;
}
.admin-sidebar {
  width: 240px;
  background: var(--color-dark);
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}
.admin-brand {
  padding: 1.25rem 1.25rem 1rem;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.admin-brand-link {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--color-white);
}
.admin-brand-link img {
  height: 28px;
  width: auto;
  filter: brightness(0) invert(1);
  flex-shrink: 0;
}
.admin-brand-label {
  font-size: 0.8rem;
  opacity: 0.6;
  font-weight: 400;
}
.admin-nav { flex: 1; padding: 1rem 0; }
.admin-nav ul { list-style: none; }
.admin-nav li { margin: 0; }
.admin-nav-link {
  display: block;
  padding: 0.65rem 1.25rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  transition: all var(--transition);
  border-left: 3px solid transparent;
}
.admin-nav-link:hover,
.admin-nav-link.active {
  color: var(--color-white);
  background: rgba(1,175,169,0.12);
  border-left-color: var(--color-teal);
}
.admin-sidebar-footer {
  padding: 1rem 1.25rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.85rem;
}
.admin-user-name {
  display: block;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}
.btn-logout {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
  font-family: inherit;
  transition: color var(--transition);
}
.btn-logout:hover { color: var(--color-white); }
.admin-content {
  flex: 1;
  padding: 2rem;
  max-width: calc(100vw - 240px);
  overflow-x: auto;
}

/* Admin page header */
.admin-page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}
.admin-page-header h1 {
  font-size: 1.5rem;
  font-weight: 600;
}

/* Admin cards */
.admin-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.stat-card {
  background: var(--color-white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-card .stat-number {
  font-size: 2rem;
  font-weight: 600;
  color: var(--color-teal);
}
.stat-card .stat-label {
  font-size: 0.85rem;
  color: var(--color-gray);
  margin-top: 0.25rem;
}

/* Admin table */
.admin-table-wrapper {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.admin-table {
  width: 100%;
  border-collapse: collapse;
}
.admin-table th {
  background: #f8f9fa;
  padding: 0.75rem 1rem;
  text-align: left;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray);
  border-bottom: 1px solid #e9ecef;
}
.admin-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #f0f0f0;
  font-size: 0.875rem;
  vertical-align: middle;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: rgba(1,175,169,0.03); }
.admin-table .actions { white-space: nowrap; }
.admin-table .actions a,
.admin-table .actions button {
  font-size: 0.8rem;
  color: var(--color-teal);
  margin-right: 0.5rem;
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}
.admin-table .actions .delete-btn { color: #dc3545; }
.admin-table .actions a:hover { text-decoration: underline; }

/* Status badge */
.status-badge {
  display: inline-block;
  padding: 0.2rem 0.5rem;
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}
.status-badge.published { background: #d4edda; color: #155724; }
.status-badge.draft     { background: #fff3cd; color: #856404; }

/* Admin form */
.admin-form-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}
.form-tabs {
  display: flex;
  border-bottom: 2px solid #e9ecef;
  margin-bottom: 1.5rem;
}
.form-tab {
  padding: 0.65rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-gray);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: color var(--transition), border-color var(--transition);
}
.form-tab.active { color: var(--color-teal); border-bottom-color: var(--color-teal); }
.form-tab-content { display: none; }
.form-tab-content.active { display: block; }
.form-group {
  margin-bottom: 1.25rem;
}
.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--color-dark);
}
.form-control {
  display: block;
  width: 100%;
  padding: 0.6rem 0.85rem;
  border: 1px solid #ced4da;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-family: inherit;
  color: var(--color-dark);
  background: var(--color-white);
  transition: border-color var(--transition), box-shadow var(--transition);
}
.form-control:focus {
  outline: none;
  border-color: var(--color-teal);
  box-shadow: 0 0 0 3px rgba(1,175,169,0.15);
}
textarea.form-control { min-height: 120px; resize: vertical; }
select.form-control { appearance: none; }
.form-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-check input[type="checkbox"] { width: 16px; height: 16px; accent-color: var(--color-teal); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}
.form-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #f0f0f0;
  margin-top: 1.5rem;
}
.btn-primary {
  padding: 0.6rem 1.5rem;
  background: var(--color-teal);
  color: var(--color-white);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-primary:hover { background: var(--color-teal-dark); }
.btn-secondary {
  padding: 0.6rem 1.25rem;
  background: var(--color-white);
  color: var(--color-dark);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: 1px solid #ced4da;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-secondary:hover { background: var(--color-light); }
.btn-danger {
  padding: 0.6rem 1.25rem;
  background: #dc3545;
  color: var(--color-white);
  border-radius: var(--radius);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: background var(--transition);
}
.btn-danger:hover { background: #c82333; }

/* Errors */
.field_with_errors input,
.field_with_errors textarea,
.field_with_errors select { border-color: #dc3545; }
.error-messages {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
}
.error-messages ul { margin: 0.4rem 0 0 1rem; list-style: disc; }

/* Gallery image upload */
.gallery-upload-area {
  border: 2px dashed #ced4da;
  border-radius: var(--radius);
  padding: 2rem;
  text-align: center;
  color: var(--color-gray);
  font-size: 0.875rem;
  transition: border-color var(--transition);
  cursor: pointer;
}
.gallery-upload-area:hover { border-color: var(--color-teal); }
.gallery-images-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 0.75rem;
  margin-top: 1rem;
}
.gallery-image-thumb {
  aspect-ratio: 1;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: grab;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}
.gallery-image-thumb:hover { border-color: var(--color-teal); }
.gallery-image-thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery-image-delete {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(220,53,69,0.85);
  color: white;
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  font-size: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}
.gallery-image-thumb:hover .gallery-image-delete { opacity: 1; }

/* Menu item tree */
.menu-tree {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
}
.menu-item-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 0.75rem;
  border-radius: var(--radius);
  cursor: grab;
  transition: background var(--transition);
}
.menu-item-row:hover { background: var(--color-light); }
.menu-item-handle { color: var(--color-gray); cursor: grab; }
.menu-item-label { flex: 1; font-size: 0.9rem; }
.menu-item-children {
  padding-left: 2rem;
}
.menu-item-group {
  display: block;
}
.menu-subtree {
  padding-left: 1.5rem;
  border-left: 2px solid var(--color-light);
  margin: 0.25rem 0 0.5rem 0.75rem;
}

/* Admin login */
.admin-login-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-light);
}
.admin-login-card {
  background: var(--color-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2.5rem;
  width: 100%;
  max-width: 400px;
}
.admin-login-card h1 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}
.admin-login-card p.subtitle {
  color: var(--color-gray);
  font-size: 0.875rem;
  margin-bottom: 2rem;
}
.login-logo {
  margin-bottom: 1.5rem;
  line-height: 0;
}
.login-logo img {
  height: 44px;
  width: auto;
}
.login-brand {
  color: var(--color-teal);
  font-weight: 600;
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 1024px) {
  .posts-grid,
  .galleries-grid,
  .gallery-images-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --section-padding: var(--section-padding-mobile); }
  .posts-grid,
  .galleries-grid,
  .gallery-images-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admin-wrapper { flex-direction: column; }
  .admin-sidebar { width: 100%; height: auto; position: static; }
  .admin-content { max-width: 100%; }
}

/* ===================== CONTACT PAGE ===================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-section-title {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--klw-black);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--klw-teal);
  display: inline-block;
}
.contact-staff { margin-bottom: 2rem; }
.staff-card {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.09);
}
.staff-card:last-child { border-bottom: none; }
.staff-name { font-family: var(--font-head); font-weight: 700; color: var(--klw-black); font-size: 1rem; }
.staff-role { color: var(--klw-teal); font-size: 0.875rem; margin: 0.2rem 0 0.4rem; }
.staff-contact { font-size: 0.875rem; line-height: 1.7; color: var(--klw-gray); }
.staff-contact a { color: var(--klw-gray); }
.staff-contact a:hover { color: var(--klw-teal); }
.contact-social {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.1rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--klw-black);
  color: var(--klw-white);
  transition: background 0.2s ease;
}
.social-link:hover { background: var(--klw-teal); }
.social-link svg { width: 18px; height: 18px; }
.contact-company {
  margin-bottom: 1.5rem;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--klw-gray);
}
.contact-company p { margin: 0; }
.contact-associations {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.assoc-badge {
  display: inline-block;
  padding: 0.45rem 1rem;
  border: 2px solid var(--klw-teal);
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--klw-teal);
  letter-spacing: 0.06em;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.assoc-badge:hover {
  background-color: var(--klw-teal);
  color: var(--klw-white);
}

.contact-form .form-group { margin-bottom: 1.1rem; }
.contact-form label {
  display: block;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  margin-bottom: 0.4rem;
  color: var(--klw-black);
}
.contact-form .form-control {
  width: 100%;
  padding: 0.75rem 0.9rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  color: var(--klw-black);
  background: var(--klw-white);
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 0;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.contact-form .form-control:focus {
  outline: none;
  border-color: var(--klw-teal);
  box-shadow: 0 0 0 3px rgba(0, 175, 165, 0.15);
}
.contact-form textarea.form-control { min-height: 150px; resize: vertical; }
.contact-form .form-actions { margin-top: 1.5rem; }
.contact-form input[type="submit"] {
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
/* Honeypot anti-spam field — visually removed but still in the DOM for bots to take the bait. */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }

@media (max-width: 1024px) {
  .contact-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ===================== COOKIE BANNER ===================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--klw-teal);
  color: var(--klw-white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.18);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
  max-height: 70vh;
  overflow-y: auto;
}
.cookie-banner--visible { transform: translateY(0); }
.cookie-banner-inner {
  max-width: var(--grid-max);
  margin: 0 auto;
  padding: 1.75rem var(--grid-pad);
  display: flex;
  gap: 2rem;
  align-items: flex-end;
}
.cookie-banner-content { flex: 1; }
.cookie-banner-title {
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--klw-white);
  margin-bottom: 0.75rem;
}
.cookie-banner-text p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 0.5rem;
}
.cookie-banner-text p:last-child { margin-bottom: 0; }
.cookie-banner-text a { color: var(--klw-white); text-decoration: underline; }
.cookie-banner-actions {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  flex-shrink: 0;
  min-width: 200px;
}
.cookie-btn {
  padding: 0.75rem 1.25rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid var(--klw-white);
  border-radius: 0;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
  text-align: center;
}
.cookie-btn--accept {
  background: var(--klw-white);
  color: var(--klw-teal);
}
.cookie-btn--accept:hover { background: rgba(255, 255, 255, 0.88); }
.cookie-btn--decline {
  background: transparent;
  color: var(--klw-white);
}
.cookie-btn--decline:hover {
  background: var(--klw-white);
  color: var(--klw-teal);
}
@media (max-width: 700px) {
  .cookie-banner-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
  }
  .cookie-banner-actions { flex-direction: row; min-width: 0; }
  .cookie-btn { flex: 1; }
}
