/*
Theme Name: CEETEC
Theme URI: https://www.ceetec.dk/
Author: CEETEC ApS
Author URI: https://www.ceetec.dk/
Description: Custom WordPress block theme for CEETEC. Nordic industrial design for products, solutions, cases, dealers and the Demo Center.
Version: 0.6.0
Requires at least: 6.6
Tested up to: 7.0
Requires PHP: 8.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ceetec
Domain Path: /languages
Tags: full-site-editing, block-patterns, wide-blocks, custom-colors, featured-images
*/

:root {
  --ceetec-charcoal: #2A2A2A;
  --ceetec-charcoal-soft: #3A3A3A;
  --ceetec-green: #123524;
  --ceetec-green-2: #1A4933;
  --ceetec-brass: #D08D57;
  --ceetec-off-white: #F8F7F4;
  --ceetec-surface: #ffffff;
  --ceetec-line: #DED8D0;
  --ceetec-muted: #68645F;
  --ceetec-muted-warm: #77716A;
  --ceetec-radius-sm: 10px;
  --ceetec-radius-md: 16px;
  --ceetec-radius-lg: 22px;
  --ceetec-shadow: 0 22px 56px rgba(42, 42, 42, 0.10);
  --ceetec-shadow-soft: 0 10px 28px rgba(42, 42, 42, 0.06);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ceetec-off-white);
  color: var(--ceetec-charcoal);
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1rem;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body.ceetec {
  background-image:
    radial-gradient(circle at top left, rgba(18,53,36,0.06), transparent 30rem),
    radial-gradient(circle at 80% 8%, rgba(208,141,87,0.055), transparent 22rem);
}

h1, h2, h3, h4, h5, h6, .wp-block-heading, .wp-block-post-title {
  margin-top: 0;
  color: var(--ceetec-charcoal);
  font-family: Sora, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 720;
  letter-spacing: -0.025em;
  line-height: 1.08;
  text-wrap: balance;
}

h1, .has-title-font-size, .has-hero-font-size { letter-spacing: -0.035em; }
p, li { text-wrap: pretty; }
p { margin-top: 0; }
a { color: inherit; text-decoration-thickness: 0.075em; text-underline-offset: 0.18em; }
a:hover { color: var(--ceetec-green); }
img { max-width: 100%; height: auto; }

.has-small-font-size { font-size: 0.82rem !important; }
.has-medium-font-size { font-size: 0.96rem !important; }
.has-large-font-size { font-size: clamp(1.08rem, 1.25vw, 1.18rem) !important; }
.has-x-large-font-size { font-size: clamp(1.55rem, 2.3vw, 2.1rem) !important; }
.has-title-font-size { font-size: clamp(1.95rem, 3.4vw, 3rem) !important; }
.has-hero-font-size { font-size: clamp(2.4rem, 4.5vw, 4.1rem) !important; }

.wp-site-blocks { overflow-x: hidden; }
.wp-block-group.alignfull, .wp-block-cover.alignfull { margin-left: 0 !important; margin-right: 0 !important; }
.wp-block-post-content > :where(p, ul, ol, blockquote):not(.alignwide):not(.alignfull) { max-width: 70ch; }
.wp-block-post-content > p { line-height: 1.72; }
.wp-block-post-content > * + * { margin-block-start: 1.25rem; }

.wp-block-button__link, .wp-element-button {
  border-radius: 10px;
  padding: 0.78rem 1.08rem;
  font-size: 0.9rem;
  font-weight: 720;
  letter-spacing: -0.005em;
  line-height: 1.1;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, border-color 160ms ease;
  box-shadow: none;
}
.wp-block-button__link:hover, .wp-element-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(18,53,36,0.14);
}
.is-style-outline .wp-block-button__link {
  border-color: rgba(42, 42, 42, 0.18);
  color: var(--ceetec-charcoal);
  background: rgba(255,255,255,0.9);
}
.is-style-outline .wp-block-button__link:hover { border-color: var(--ceetec-green); }
.ceetec-dark-band .is-style-outline .wp-block-button__link {
  color: #fff;
  border-color: rgba(255,255,255,.3);
  background: rgba(255,255,255,.06);
}

.ceetec-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(222,216,208,0.75);
  box-shadow: 0 8px 24px rgba(42,42,42,0.035);
}
.admin-bar .ceetec-site-header { top: 32px; }
.ceetec-site-header > .wp-block-group { gap: clamp(1rem, 2vw, 2rem); }
.ceetec-brand { flex: 0 0 auto; }
.ceetec-brand img { display: block; width: 156px; height: auto; }
.ceetec-main-nav { margin-left: auto; }
.ceetec-main-nav .wp-block-navigation__container { gap: clamp(.7rem, 1.15vw, 1.15rem); }
.ceetec-main-nav a { font-weight: 680; font-size: 0.86rem; letter-spacing: -0.01em; white-space: nowrap; }
.ceetec-main-nav .wp-block-navigation-item__content:hover { color: var(--ceetec-green); }

.ceetec-container { max-width: 1120px; margin-left: auto; margin-right: auto; }
.ceetec-section { padding: clamp(3.5rem, 5.8vw, 5.75rem) clamp(1.15rem, 3.5vw, 2.5rem); }
.ceetec-section-tight { padding: clamp(2.5rem, 4.4vw, 4.25rem) clamp(1.15rem, 3.5vw, 2.5rem); }
.ceetec-section > .has-text-align-center,
.ceetec-section-tight > .has-text-align-center { max-width: 720px; margin-left: auto; margin-right: auto; }
.ceetec-section .wp-block-heading + p,
.ceetec-section-tight .wp-block-heading + p { max-width: 68ch; }
.ceetec-section .wp-block-columns,
.ceetec-section-tight .wp-block-columns { row-gap: 1.5rem; }

.ceetec-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin-bottom: .7rem;
  color: var(--ceetec-green);
  font-size: .72rem;
  font-weight: 760;
  letter-spacing: .095em;
  line-height: 1.2;
  text-transform: uppercase;
}
.ceetec-eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--ceetec-brass);
  border-radius: 999px;
}

.ceetec-hero { min-height: clamp(500px, 64vh, 620px); }
.ceetec-hero .wp-block-cover__background {
  background: linear-gradient(90deg, rgba(42,42,42,.94) 0%, rgba(18,53,36,.82) 48%, rgba(18,53,36,.22) 100%) !important;
  opacity: 1 !important;
}
.ceetec-hero h1 {
  max-width: 660px;
  margin-bottom: 1rem;
  color: #fff;
  font-size: clamp(2.4rem, 4.5vw, 4.1rem) !important;
  line-height: 1.015;
}
.ceetec-hero p:not(.ceetec-eyebrow) {
  max-width: 570px;
  margin-bottom: 0;
  color: rgba(255,255,255,.8);
  font-size: clamp(0.98rem, 1.25vw, 1.1rem);
  line-height: 1.62;
}
.ceetec-hero .wp-block-buttons { margin-top: 1.65rem !important; }
.ceetec-hero-panel {
  padding: 1.1rem;
  color: #fff;
  background: rgba(255,255,255,0.09);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 18px;
  backdrop-filter: blur(14px);
}

.ceetec-trustbar {
  position: relative;
  z-index: 7;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: clamp(2.6rem, 4.5vw, 4rem);
}
.ceetec-trustbar .wp-block-columns {
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(222,216,208,0.9);
  border-radius: 18px;
  box-shadow: var(--ceetec-shadow-soft);
}
.ceetec-trustbar .wp-block-column {
  padding: 1rem 1.15rem;
  border-right: 1px solid rgba(222,216,208,.72);
}
.ceetec-trustbar .wp-block-column:last-child { border-right: 0; }
.ceetec-trustbar h3 { margin-bottom: .3rem; line-height: 1.18; }
.ceetec-trustbar p { margin-bottom: 0; color: var(--ceetec-muted); line-height: 1.45; }
.ceetec-icon-badge {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .5rem;
  color: var(--ceetec-green);
  background: rgba(18,53,36,.075);
  border-radius: 10px;
  font-size: .82rem;
  font-weight: 840;
}


/* Compact industry selector: a real routing CTA rather than a large content section. */
.ceetec-solution-selector-wrap {
  position: relative;
  z-index: 9;
  margin-top: -42px;
  padding: 0 clamp(1rem, 4vw, 3rem);
  scroll-margin-top: 96px;
}
.ceetec-solution-selector {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(190px, .82fr) minmax(0, 2.15fr) minmax(170px, .76fr);
  gap: .72rem;
  align-items: stretch;
  padding: .72rem;
  background: rgba(255,255,255,.98);
  border: 1px solid rgba(222,216,208,.96);
  border-radius: 18px;
  box-shadow: 0 20px 54px rgba(42,42,42,.14);
  backdrop-filter: blur(16px);
}
.ceetec-solution-selector__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .7rem .82rem;
}
.ceetec-solution-selector__intro .ceetec-mini-label {
  margin-bottom: .28rem;
  color: var(--ceetec-brass);
}
.ceetec-solution-selector__intro h2 {
  margin: 0 0 .28rem;
  font-size: clamp(1.12rem, 1.7vw, 1.42rem);
  line-height: 1.08;
}
.ceetec-solution-selector__intro p {
  margin: 0;
  color: var(--ceetec-muted);
  font-size: .82rem;
  line-height: 1.42;
}
.ceetec-solution-selector__choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .68rem;
}
.ceetec-industry-choice {
  min-width: 0;
  min-height: 94px;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 24px;
  align-items: center;
  gap: .72rem;
  padding: .82rem .9rem;
  color: var(--ceetec-charcoal);
  background: linear-gradient(135deg, #ffffff 0%, #F8F7F4 100%);
  border: 1px solid rgba(222,216,208,.96);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.ceetec-industry-choice:hover,
.ceetec-industry-choice:focus-visible {
  color: var(--ceetec-charcoal);
  background: #fff;
  border-color: rgba(18,53,36,.36);
  box-shadow: 0 12px 28px rgba(18,53,36,.11);
  transform: translateY(-1px);
  outline: none;
}
.ceetec-industry-choice__index {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ceetec-green);
  background: rgba(18,53,36,.075);
  border-radius: 10px;
  font-family: Sora, Inter, sans-serif;
  font-size: .72rem;
  font-weight: 820;
}
.ceetec-industry-choice__copy {
  min-width: 0;
}
.ceetec-industry-choice__copy strong {
  display: block;
  margin-bottom: .2rem;
  font-family: Sora, Inter, sans-serif;
  font-size: .98rem;
  line-height: 1.15;
}
.ceetec-industry-choice__copy small {
  display: block;
  overflow: hidden;
  color: var(--ceetec-muted);
  font-size: .76rem;
  line-height: 1.42;
  text-overflow: ellipsis;
}
.ceetec-industry-choice__arrow {
  color: var(--ceetec-green);
  font-size: 1.15rem;
  font-weight: 720;
  transition: transform 160ms ease;
}
.ceetec-industry-choice:hover .ceetec-industry-choice__arrow,
.ceetec-industry-choice:focus-visible .ceetec-industry-choice__arrow {
  transform: translateX(3px);
}
.ceetec-selector-advice {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: .82rem .9rem;
  color: #fff;
  background: linear-gradient(135deg, var(--ceetec-charcoal) 0%, var(--ceetec-charcoal-soft) 100%);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.ceetec-selector-advice:hover,
.ceetec-selector-advice:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, var(--ceetec-green) 0%, var(--ceetec-green-2) 100%);
  box-shadow: 0 12px 28px rgba(18,53,36,.22);
  transform: translateY(-1px);
  outline: none;
}
.ceetec-selector-advice span {
  margin-bottom: .16rem;
  color: rgba(255,255,255,.64);
  font-size: .7rem;
  font-weight: 720;
  letter-spacing: .075em;
  text-transform: uppercase;
}
.ceetec-selector-advice strong {
  display: block;
  margin-bottom: .3rem;
  font-family: Sora, Inter, sans-serif;
  font-size: .94rem;
  line-height: 1.18;
}
.ceetec-selector-advice small {
  color: rgba(255,255,255,.78);
  font-size: .76rem;
  line-height: 1.35;
}

.ceetec-card {
  overflow: hidden;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(222,216,208,.92);
  border-radius: var(--ceetec-radius-lg);
  box-shadow: var(--ceetec-shadow-soft);
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}
.ceetec-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18,53,36,.24);
  box-shadow: var(--ceetec-shadow);
}
.ceetec-card .wp-block-image { margin: 0; }
.ceetec-card .wp-block-image img { width: 100%; aspect-ratio: 1.65; object-fit: cover; display: block; }
.ceetec-card-body { padding: clamp(1.05rem, 1.7vw, 1.4rem); }
.ceetec-card h3 { margin: 0 0 .55rem; font-size: clamp(1.18rem, 1.7vw, 1.48rem); line-height: 1.15; }
.ceetec-card p { margin-bottom: .9rem; color: var(--ceetec-muted); font-size: .95rem; line-height: 1.58; }
.ceetec-link-arrow { color: var(--ceetec-brass); font-size: .9rem; font-weight: 760; text-decoration: none; }
.ceetec-link-arrow::after { content: " →"; transition: padding 150ms ease; }
.ceetec-link-arrow:hover::after { padding-left: .15rem; }

.ceetec-product-grid .wp-block-columns { gap: 1rem; }
.ceetec-product-grid .wp-block-column,
.ceetec-products-query .wp-block-post {
  overflow: hidden;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(222,216,208,.95);
  border-radius: 17px;
  box-shadow: 0 8px 24px rgba(42,42,42,.055);
}
.ceetec-product-grid .wp-block-column { padding: .55rem; }
.ceetec-product-grid .wp-block-image { margin: 0; }
.ceetec-product-grid .wp-block-image img { border-radius: 13px; background: #F8F7F4; }
.ceetec-product-grid h3 { margin: .72rem .48rem .25rem; font-size: 1.05rem; line-height: 1.18; }
.ceetec-product-grid p { margin: 0 .48rem .65rem; color: var(--ceetec-muted); font-size: .86rem; line-height: 1.5; }
.ceetec-product-grid .ceetec-link-arrow { display: inline-block; margin: 0 .48rem .78rem; font-size: .84rem; }

.ceetec-dark-band {
  color: #fff;
  background:
    radial-gradient(circle at 80% 10%, rgba(18,53,36,.44), transparent 28rem),
    linear-gradient(135deg, #1E1E1E 0%, #2A2A2A 52%, #1E1E1E 100%);
}
.ceetec-dark-band h1, .ceetec-dark-band h2, .ceetec-dark-band h3 { color: #fff; }
.ceetec-dark-band p { color: rgba(255,255,255,.7); }
.ceetec-dark-band .ceetec-eyebrow { color: #fff; }
.ceetec-dark-band .ceetec-card { background: rgba(255,255,255,.065); border-color: rgba(255,255,255,.13); box-shadow: none; }

.ceetec-timeline { counter-reset: ceetec-step; }
.ceetec-timeline .wp-block-column { position: relative; padding-top: 3rem; }
.ceetec-timeline .wp-block-column::before {
  counter-increment: ceetec-step;
  content: counter(ceetec-step, decimal-leading-zero);
  position: absolute;
  top: 0;
  left: 0;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ceetec-green);
  background: #fff;
  border-radius: 50%;
  font-size: .8rem;
  font-weight: 840;
}
.ceetec-timeline h3 { margin-bottom: .4rem; font-size: 1.05rem; line-height: 1.18; }
.ceetec-timeline p { font-size: .88rem; line-height: 1.55; }

.ceetec-stat {
  padding: 1.15rem;
  background: #fff;
  border: 1px solid rgba(222,216,208,.9);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(42,42,42,.045);
}
.ceetec-stat strong {
  display: block;
  margin-bottom: .15rem;
  font-family: Sora, Inter, sans-serif;
  font-size: clamp(1.75rem, 3vw, 2.8rem);
  letter-spacing: -.045em;
  line-height: 1;
}
.ceetec-stat span { color: var(--ceetec-muted); font-size: .88rem; font-weight: 680; }

.ceetec-spec-table table { width: 100%; overflow: hidden; border-collapse: collapse; border-radius: 14px; }
.ceetec-spec-table td, .ceetec-spec-table th { padding: .82rem .95rem; border-bottom: 1px solid var(--ceetec-line); font-size: .92rem; }
.ceetec-spec-table tr:last-child td { border-bottom: 0; }
.ceetec-spec-table td:first-child { width: 38%; color: var(--ceetec-charcoal); font-weight: 740; }
.ceetec-spec-table td:last-child { color: var(--ceetec-muted); }

.ceetec-single-hero {
  padding-top: clamp(3rem, 5.5vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
  background: linear-gradient(180deg, rgba(255,255,255,.9), rgba(247,249,251,.97));
}
.ceetec-single-hero .wp-block-post-title { max-width: 12ch; }
.ceetec-single-hero .wp-block-post-excerpt { max-width: 52ch; color: var(--ceetec-muted); font-size: 1rem; line-height: 1.62; }
.ceetec-single-hero .wp-block-post-featured-image img {
  background: #fff;
  border: 1px solid rgba(222,216,208,.8);
  border-radius: 22px;
  box-shadow: var(--ceetec-shadow-soft);
}
.ceetec-breadcrumb { margin-bottom: 1.25rem; color: var(--ceetec-muted); font-size: .82rem; font-weight: 680; }

.ceetec-footer { color: #fff; background: #1E1E1E; }
.ceetec-footer h3 { margin-bottom: .75rem; color: #fff; }
.ceetec-footer ul { padding-left: 1.1rem; }
.ceetec-footer li, .ceetec-footer p { font-size: .9rem; line-height: 1.55; }
.ceetec-footer a { color: rgba(255,255,255,.8); text-decoration: none; }
.ceetec-footer a:hover { color: #fff; }
.ceetec-footer-logo img { width: 156px; height: auto; }
.ceetec-footer p { color: rgba(255,255,255,.68); }
.ceetec-footer-bottom { border-top: 1px solid rgba(255,255,255,.12); }

.ceetec-mini-label { color: var(--ceetec-muted); font-size: .76rem; font-weight: 740; text-transform: uppercase; letter-spacing: .085em; }
.ceetec-chip-list { display: flex; flex-wrap: wrap; gap: .45rem; }
.ceetec-chip { padding: .42rem .66rem; color: var(--ceetec-charcoal-soft); background: #fff; border: 1px solid rgba(222,216,208,.95); border-radius: 999px; font-size: .8rem; font-weight: 700; }
.ceetec-greenprint-card { overflow: hidden; border: 1px solid rgba(222,216,208,.9); border-radius: 22px; box-shadow: var(--ceetec-shadow-soft); }

.wp-block-quote { margin: 1.25rem 0; }
.wp-block-quote p { font-size: 1rem; line-height: 1.6; }
.wp-block-query-pagination { gap: .6rem; }
.wp-block-query-pagination a, .wp-block-query-pagination-numbers .page-numbers {
  min-width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid rgba(222,216,208,.95);
  border-radius: 9px;
  font-size: .86rem;
  text-decoration: none;
}
.wp-block-query-pagination .current { color: #fff; background: var(--ceetec-charcoal); border-color: var(--ceetec-charcoal); }

@media (max-width: 1180px) {
  .ceetec-site-header .wp-block-buttons { display: none; }
  .ceetec-brand img { width: 146px; }
}


@media (max-width: 1080px) {
  .ceetec-solution-selector {
    grid-template-columns: minmax(170px, .7fr) minmax(0, 2fr);
  }
  .ceetec-selector-advice {
    grid-column: 1 / -1;
    min-height: 58px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    column-gap: .7rem;
  }
  .ceetec-selector-advice span,
  .ceetec-selector-advice strong,
  .ceetec-selector-advice small { margin: 0; }
  .ceetec-selector-advice small { text-align: right; }
}

@media (max-width: 980px) {
  .ceetec-trustbar { margin-top: 0; }
  .ceetec-trustbar .wp-block-column { border-right: 0; border-bottom: 1px solid rgba(222,216,208,.72); }
  .ceetec-trustbar .wp-block-column:last-child { border-bottom: 0; }
  .ceetec-hero { min-height: 530px; }
  .ceetec-single-hero .wp-block-post-title { max-width: none; }
}

@media (max-width: 782px) {
  .ceetec-solution-selector-wrap { margin-top: -30px; }
  .ceetec-solution-selector { grid-template-columns: 1fr; }
  .ceetec-solution-selector__intro { padding: .5rem .55rem .35rem; }
  .ceetec-solution-selector__intro p { max-width: 56ch; }
  .ceetec-selector-advice { grid-column: auto; }
  .ceetec-section { padding-top: 3.2rem; padding-bottom: 3.2rem; }
  .ceetec-section-tight { padding-top: 2.45rem; padding-bottom: 2.45rem; }
  .ceetec-card .wp-block-image img { aspect-ratio: 1.8; }
  .ceetec-timeline .wp-block-column { padding-top: 2.75rem; }
}

@media (max-width: 640px) {
  .ceetec-solution-selector-wrap { margin-top: -20px; padding-left: .75rem; padding-right: .75rem; scroll-margin-top: 76px; }
  .ceetec-solution-selector { gap: .58rem; padding: .58rem; border-radius: 16px; }
  .ceetec-solution-selector__choices { grid-template-columns: 1fr; gap: .58rem; }
  .ceetec-industry-choice { min-height: 82px; }
  .ceetec-selector-advice { display: flex; min-height: 78px; }
  .ceetec-selector-advice small { text-align: left; }
  .admin-bar .ceetec-site-header { top: 0; }
  .ceetec-site-header { backdrop-filter: blur(12px); }
  .ceetec-section, .ceetec-section-tight { padding-left: 1rem; padding-right: 1rem; }
  .ceetec-brand img { width: 132px; }
  .has-hero-font-size { font-size: clamp(2.05rem, 9.2vw, 2.7rem) !important; }
  .has-title-font-size { font-size: clamp(1.8rem, 7.5vw, 2.35rem) !important; }
  .has-x-large-font-size { font-size: clamp(1.4rem, 5.8vw, 1.85rem) !important; }
  .ceetec-hero { min-height: 500px; }
  .ceetec-hero h1 { max-width: 12ch; font-size: clamp(2.05rem, 9.2vw, 2.7rem) !important; }
  .ceetec-hero p:not(.ceetec-eyebrow) { max-width: 34ch; font-size: .96rem; line-height: 1.55; }
  .ceetec-hero .wp-block-buttons { margin-top: 1.35rem !important; gap: .6rem; }
  .wp-block-button__link, .wp-element-button { padding: .72rem .95rem; font-size: .86rem; }
  .ceetec-card, .ceetec-product-grid .wp-block-column { border-radius: 17px; }
  .ceetec-card h3 { font-size: 1.18rem; }
  .ceetec-spec-table td, .ceetec-spec-table th { padding: .72rem; font-size: .86rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
}

/* ============================================================
   CEETEC 0.6 — Premium Industrial
   Inspired by the approved light editorial direction.
   ============================================================ */
:root {
  --ceetec-deep-green:#0D2A1C;
  --ceetec-green:#123524;
  --ceetec-green-hover:#1B4935;
  --ceetec-off-white:#F8F7F4;
  --ceetec-charcoal:#2A2A2A;
  --ceetec-brass:#D08D57;
  --ceetec-brass-dark:#B97746;
  --ceetec-warm-grey:#817A72;
  --ceetec-line:#DDD7CF;
}
body.ceetec { background:var(--ceetec-off-white); background-image:none; }
.ceetec-site-header {
  position:sticky; top:0; z-index:50;
  background:rgba(248,247,244,.95); border-bottom:1px solid rgba(42,42,42,.08);
  backdrop-filter:blur(18px); box-shadow:none;
}
.ceetec-header-inner { min-height:76px; padding:0 1.25rem; gap:1.5rem; }
.ceetec-brand { display:flex; flex-direction:column; text-decoration:none; gap:1px; }
.ceetec-brand img { width:154px; }
.ceetec-brand span { color:var(--ceetec-brass); font-size:.48rem; letter-spacing:.16em; font-weight:800; padding-left:3px; }
.ceetec-main-nav { margin-left:auto; }
.ceetec-main-nav .wp-block-navigation__container { gap:clamp(.75rem,1.45vw,1.35rem); }
.ceetec-main-nav a { font-size:.72rem; font-weight:760; text-transform:uppercase; letter-spacing:.045em; color:var(--ceetec-charcoal); text-decoration:none; }
.ceetec-main-nav a:hover { color:var(--ceetec-green); }
.ceetec-language { flex:0 0 auto; text-decoration:none; font-size:.72rem; font-weight:800; color:var(--ceetec-charcoal); padding-left:.85rem; border-left:1px solid var(--ceetec-line); }
.ceetec-language span { color:var(--ceetec-brass); margin-left:.25rem; }

.ceetec-premium-hero { padding:clamp(1.4rem,3vw,2.3rem) clamp(1rem,3.5vw,3rem) 0; background:var(--ceetec-off-white); }
.ceetec-premium-hero__inner { max-width:1380px; margin:0 auto; min-height:610px; display:grid; grid-template-columns:minmax(350px,.92fr) minmax(420px,1.08fr); overflow:hidden; background:#F4F2ED; border-radius:26px 26px 0 0; border:1px solid rgba(42,42,42,.07); }
.ceetec-premium-hero__copy { padding:clamp(4rem,7vw,7.2rem) clamp(2rem,5vw,5.2rem); display:flex; flex-direction:column; justify-content:center; position:relative; z-index:2; }
.ceetec-premium-hero__copy:after { content:""; position:absolute; inset:0 -22% 0 auto; width:46%; background:linear-gradient(90deg,#F4F2ED 5%,rgba(244,242,237,0)); pointer-events:none; }
.ceetec-premium-hero h1 { position:relative; z-index:2; color:var(--ceetec-green); font-size:clamp(2.4rem,4.25vw,4.55rem); line-height:1.04; letter-spacing:-.045em; margin:0 0 1.45rem; max-width:720px; }
.ceetec-premium-hero .ceetec-eyebrow { position:relative; z-index:2; }
.ceetec-hero-lead { position:relative; z-index:2; max-width:470px; color:#5F5A54; font-size:1rem; line-height:1.65; margin:0; }
.ceetec-hero-actions { position:relative; z-index:2; margin-top:1.65rem; }
.ceetec-premium-hero__visual { min-height:610px; position:relative; overflow:hidden; background:#EDEBE5; }
.ceetec-premium-hero__visual img { width:100%; height:100%; object-fit:cover; display:block; }
.ceetec-premium-hero__visual:after { content:""; position:absolute; inset:0; background:linear-gradient(90deg,rgba(244,242,237,.55) 0%,transparent 28%); pointer-events:none; }

.ceetec-eyebrow, .ceetec-mini-label { color:var(--ceetec-brass); font-size:.68rem; font-weight:820; letter-spacing:.11em; text-transform:uppercase; }
.ceetec-eyebrow::before { background:var(--ceetec-brass); height:1px; width:24px; }
.ceetec-btn { display:inline-flex; align-items:center; gap:1rem; min-height:46px; padding:.82rem 1.05rem; border-radius:2px; text-decoration:none; text-transform:uppercase; letter-spacing:.045em; font-size:.72rem; font-weight:820; transition:all .18s ease; }
.ceetec-btn span { font-size:1rem; }
.ceetec-btn--green { background:var(--ceetec-green); color:#fff; }
.ceetec-btn--green:hover { color:#fff; background:var(--ceetec-green-hover); transform:translateY(-1px); }
.ceetec-btn--brass { background:var(--ceetec-brass); color:var(--ceetec-charcoal); }
.ceetec-btn--brass:hover { background:var(--ceetec-brass-dark); color:#fff; }
.ceetec-text-link { display:inline-flex; align-items:center; gap:.8rem; text-decoration:none; color:var(--ceetec-green); text-transform:uppercase; letter-spacing:.06em; font-weight:820; font-size:.7rem; }
.ceetec-text-link span { color:var(--ceetec-brass); font-size:1rem; }
.ceetec-text-link:hover { color:var(--ceetec-brass-dark); }

.ceetec-v06-trust { padding:0 clamp(1rem,3.5vw,3rem); background:var(--ceetec-off-white); }
.ceetec-v06-trust__grid { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:repeat(4,1fr); background:#F4F2ED; border:1px solid rgba(42,42,42,.07); border-top:0; }
.ceetec-v06-trust__item { display:grid; grid-template-columns:46px 1fr; gap:.9rem; align-items:start; padding:1.35rem 1.45rem; border-right:1px solid rgba(42,42,42,.10); }
.ceetec-v06-trust__item:last-child { border-right:0; }
.ceetec-v06-trust__item strong { display:block; color:var(--ceetec-charcoal); font-size:.75rem; text-transform:uppercase; letter-spacing:.035em; line-height:1.25; margin-bottom:.25rem; }
.ceetec-v06-trust__item p { margin:0; color:#69635D; font-size:.72rem; line-height:1.48; }
.ceetec-line-icon { width:39px; height:39px; border:1px solid rgba(208,141,87,.7); border-radius:50%; display:flex; align-items:center; justify-content:center; color:var(--ceetec-brass); font-weight:800; font-size:1rem; }

.ceetec-v06-solutions { padding:clamp(4rem,6vw,6.5rem) clamp(1rem,3.5vw,3rem); background:var(--ceetec-off-white); }
.ceetec-v06-solutions__layout { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:minmax(260px,.66fr) minmax(0,2fr); gap:clamp(2rem,4vw,4.5rem); align-items:start; }
.ceetec-v06-solutions__intro { padding-top:.4rem; }
.ceetec-v06-solutions__intro h2, .ceetec-v06-family h2, .ceetec-v06-demo h2, .ceetec-v06-final h2 { color:var(--ceetec-green); font-size:clamp(1.75rem,2.8vw,2.8rem); line-height:1.07; letter-spacing:-.035em; margin-bottom:1rem; }
.ceetec-v06-solutions__intro > p:not(.ceetec-eyebrow), .ceetec-v06-family__copy > p:not(.ceetec-eyebrow), .ceetec-v06-demo__copy > p:not(.ceetec-eyebrow) { color:#625D57; font-size:.94rem; line-height:1.65; max-width:46ch; }
.ceetec-v06-solutions__intro .ceetec-text-link { margin-top:1rem; }
.ceetec-v06-solutions__cards { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:1rem; }
.ceetec-solution-card { display:flex; flex-direction:column; min-width:0; color:inherit; text-decoration:none; background:#fff; border:1px solid rgba(42,42,42,.10); transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease; }
.ceetec-solution-card:hover { color:inherit; transform:translateY(-3px); border-color:rgba(208,141,87,.65); box-shadow:0 16px 32px rgba(42,42,42,.07); }
.ceetec-solution-card figure { margin:0; aspect-ratio:1.08/1; background:#EEEDE9; overflow:hidden; border-bottom:1px solid rgba(42,42,42,.08); }
.ceetec-solution-card figure img { width:100%; height:100%; object-fit:cover; display:block; }
.ceetec-solution-card > div { padding:1rem; display:flex; min-height:165px; flex-direction:column; }
.ceetec-solution-card h3 { color:var(--ceetec-charcoal); font-size:.98rem; margin:0 0 .45rem; }
.ceetec-solution-card p { color:#69635D; font-size:.74rem; line-height:1.5; margin:0; }
.ceetec-solution-card span { margin-top:auto; padding-top:.75rem; color:var(--ceetec-brass); font-size:1rem; }

.ceetec-industry-router { padding:1.15rem clamp(1rem,3.5vw,3rem) clamp(4rem,6vw,6rem); background:var(--ceetec-off-white); scroll-margin-top:96px; }
.ceetec-industry-router__inner { max-width:1380px; margin:0 auto; padding:1.1rem 1.2rem; border-top:1px solid var(--ceetec-line); border-bottom:1px solid var(--ceetec-line); display:grid; grid-template-columns:170px 1fr; gap:1rem; align-items:center; }
.ceetec-industry-router__links { display:grid; grid-template-columns:1fr 1fr .82fr; }
.ceetec-industry-router__links a { min-width:0; padding:.25rem 1.2rem; border-left:1px solid var(--ceetec-line); text-decoration:none; display:grid; grid-template-columns:1fr auto; grid-template-areas:"t a" "s a"; align-items:center; }
.ceetec-industry-router__links strong { grid-area:t; color:var(--ceetec-green); font-size:.86rem; }
.ceetec-industry-router__links span { grid-area:s; color:#77716A; font-size:.7rem; margin-top:.12rem; }
.ceetec-industry-router__links b { grid-area:a; color:var(--ceetec-brass); font-size:1rem; font-weight:600; }
.ceetec-industry-router__links a:hover strong { color:var(--ceetec-brass-dark); }
.ceetec-industry-router__advice { background:rgba(18,53,36,.035); }

.ceetec-v06-family { background:#EEECE7; padding:0 clamp(1rem,3.5vw,3rem); }
.ceetec-v06-family__grid { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:1.05fr .9fr .72fr; min-height:330px; }
.ceetec-v06-family__image, .ceetec-v06-family__map { margin:0; min-height:330px; }
.ceetec-v06-family__image img { width:100%; height:100%; object-fit:cover; display:block; filter:grayscale(1) contrast(.96); }
.ceetec-v06-family__copy { padding:clamp(2.3rem,4vw,4rem); display:flex; flex-direction:column; justify-content:center; }
.ceetec-v06-family__map { display:flex; align-items:center; justify-content:center; padding:2rem; }
.ceetec-v06-family__map img { width:100%; height:auto; opacity:.85; }

.ceetec-v06-stats { padding:0 clamp(1rem,3.5vw,3rem); background:#EEECE7; }
.ceetec-v06-stats__grid { max-width:1380px; margin:0 auto; background:var(--ceetec-green); color:#fff; display:grid; grid-template-columns:repeat(4,1fr); }
.ceetec-v06-stats__grid > div { padding:1.55rem 1rem; text-align:center; display:flex; flex-direction:column; align-items:center; justify-content:center; border-right:1px solid rgba(248,247,244,.16); }
.ceetec-v06-stats__grid > div:last-child { border-right:0; }
.ceetec-v06-stats span { color:var(--ceetec-brass); margin-bottom:.28rem; }
.ceetec-v06-stats strong { font-family:Sora,Inter,sans-serif; font-size:clamp(1.55rem,2.6vw,2.25rem); line-height:1; margin-bottom:.35rem; }
.ceetec-v06-stats small { color:rgba(248,247,244,.78); font-size:.69rem; line-height:1.45; }

.ceetec-v06-demo { padding:clamp(4rem,6vw,6rem) clamp(1rem,3.5vw,3rem); background:var(--ceetec-off-white); }
.ceetec-v06-demo__grid { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:.9fr 1.1fr; border:1px solid rgba(42,42,42,.08); background:#fff; }
.ceetec-v06-demo__copy { padding:clamp(2rem,4.6vw,5rem); display:flex; flex-direction:column; justify-content:center; }
.ceetec-v06-demo__visual { min-height:430px; background:var(--ceetec-deep-green); overflow:hidden; }
.ceetec-v06-demo__visual img { width:100%; height:100%; object-fit:cover; display:block; mix-blend-mode:screen; opacity:.88; }
.ceetec-inline-actions { display:flex; gap:1.2rem; align-items:center; flex-wrap:wrap; margin-top:1.2rem; }

.ceetec-v06-final { padding:0 clamp(1rem,3.5vw,3rem) clamp(2rem,3.5vw,3rem); background:var(--ceetec-off-white); }
.ceetec-v06-final__panel { max-width:1380px; margin:0 auto; display:grid; grid-template-columns:.78fr 1.22fr; min-height:380px; background:var(--ceetec-deep-green); overflow:hidden; }
.ceetec-v06-final__copy { padding:clamp(2.4rem,5vw,5rem); display:flex; flex-direction:column; justify-content:center; position:relative; z-index:2; }
.ceetec-v06-final h2 { color:#fff; max-width:15ch; }
.ceetec-v06-final__copy > p:not(.ceetec-eyebrow) { max-width:46ch; color:rgba(248,247,244,.75); }
.ceetec-v06-final__copy .ceetec-btn { align-self:flex-start; margin-top:1rem; }
.ceetec-v06-final__visual img { width:100%; height:100%; object-fit:cover; display:block; }

.ceetec-footer { background:#0C2418 !important; color:rgba(248,247,244,.72); }
.ceetec-footer h3 { color:#fff; }
.ceetec-footer a { color:rgba(248,247,244,.76); }
.ceetec-footer a:hover { color:var(--ceetec-brass); }
.ceetec-footer-bottom { border-top:1px solid rgba(248,247,244,.12); }

.wp-block-button__link, .wp-element-button { border-radius:2px; text-transform:uppercase; letter-spacing:.035em; font-size:.73rem; font-weight:800; }

@media (max-width: 1100px) {
  .ceetec-main-nav .wp-block-navigation__container { gap:.75rem; }
  .ceetec-main-nav a { font-size:.65rem; }
  .ceetec-premium-hero__inner { grid-template-columns:1fr 1fr; }
  .ceetec-v06-trust__grid { grid-template-columns:repeat(2,1fr); }
  .ceetec-v06-trust__item:nth-child(2) { border-right:0; }
  .ceetec-v06-trust__item:nth-child(-n+2) { border-bottom:1px solid rgba(42,42,42,.10); }
  .ceetec-v06-solutions__cards { grid-template-columns:repeat(2,1fr); }
  .ceetec-v06-family__grid { grid-template-columns:1fr 1fr; }
  .ceetec-v06-family__map { display:none; }
}
@media (max-width: 781px) {
  .ceetec-header-inner { min-height:68px; }
  .ceetec-brand img { width:132px; }
  .ceetec-brand span { font-size:.42rem; }
  .ceetec-language { display:none; }
  .ceetec-premium-hero { padding:.8rem .8rem 0; }
  .ceetec-premium-hero__inner { grid-template-columns:1fr; min-height:0; border-radius:18px 18px 0 0; }
  .ceetec-premium-hero__copy { padding:3.5rem 1.4rem 2.3rem; order:1; }
  .ceetec-premium-hero__copy:after { display:none; }
  .ceetec-premium-hero h1 { font-size:clamp(2.15rem,10vw,3rem); }
  .ceetec-premium-hero__visual { min-height:330px; order:2; }
  .ceetec-premium-hero__visual:after { background:linear-gradient(180deg,rgba(244,242,237,.42),transparent 24%); }
  .ceetec-v06-trust { padding:0 .8rem; }
  .ceetec-v06-trust__grid { grid-template-columns:1fr 1fr; }
  .ceetec-v06-trust__item { grid-template-columns:34px 1fr; padding:1rem; }
  .ceetec-line-icon { width:32px; height:32px; }
  .ceetec-v06-solutions { padding:3.6rem 1rem; }
  .ceetec-v06-solutions__layout { grid-template-columns:1fr; gap:2rem; }
  .ceetec-v06-solutions__cards { grid-template-columns:1fr 1fr; }
  .ceetec-industry-router { padding:0 1rem 3.5rem; }
  .ceetec-industry-router__inner { grid-template-columns:1fr; }
  .ceetec-industry-router__links { grid-template-columns:1fr; }
  .ceetec-industry-router__links a { border-left:0; border-top:1px solid var(--ceetec-line); padding:.85rem 0; }
  .ceetec-v06-family { padding:0 1rem; }
  .ceetec-v06-family__grid { grid-template-columns:1fr; }
  .ceetec-v06-family__image { min-height:270px; }
  .ceetec-v06-family__copy { padding:2.4rem 1.4rem; }
  .ceetec-v06-stats { padding:0 1rem; }
  .ceetec-v06-stats__grid { grid-template-columns:1fr 1fr; }
  .ceetec-v06-stats__grid > div:nth-child(2) { border-right:0; }
  .ceetec-v06-stats__grid > div:nth-child(-n+2) { border-bottom:1px solid rgba(248,247,244,.16); }
  .ceetec-v06-demo { padding:3.5rem 1rem; }
  .ceetec-v06-demo__grid { grid-template-columns:1fr; }
  .ceetec-v06-demo__copy { padding:2.5rem 1.4rem; }
  .ceetec-v06-demo__visual { min-height:300px; }
  .ceetec-v06-final { padding:0 1rem 1rem; }
  .ceetec-v06-final__panel { grid-template-columns:1fr; }
  .ceetec-v06-final__copy { padding:2.8rem 1.4rem; }
  .ceetec-v06-final__visual { min-height:260px; }
}
@media (max-width: 520px) {
  .ceetec-v06-trust__grid, .ceetec-v06-solutions__cards, .ceetec-v06-stats__grid { grid-template-columns:1fr; }
  .ceetec-v06-trust__item, .ceetec-v06-stats__grid > div { border-right:0 !important; border-bottom:1px solid rgba(42,42,42,.10); }
  .ceetec-v06-stats__grid > div { border-bottom-color:rgba(248,247,244,.16); }
  .ceetec-v06-trust__item:last-child, .ceetec-v06-stats__grid > div:last-child { border-bottom:0; }
}
