:root {
  --casitek-orange: #f36f21;
  --casitek-orange-dark: #d95313;
  --casitek-ink: #171717;
  --casitek-muted: #737373;
  --casitek-paper: #f7f5f1;
  --casitek-white: #fff;
  --casitek-line: rgba(23, 23, 23, 0.14);
  --casitek-shell: min(1200px, calc(100vw - 80px));
  --casitek-ease: cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: auto;
}

body {
  overflow-x: hidden;
}

#main {
  padding: 0;
}

#casitek-homepage-wrapper {
  width: 100%;
  position: relative;
  background: var(--casitek-paper);
  color: var(--casitek-ink);
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
}

.casitek-shell {
  width: var(--casitek-shell);
  margin-inline: auto;
}

.casitek-panel {
  position: relative;
  width: 100%;
}

/* Header */
#header.casitek-header {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 99999 !important;
  color: var(--casitek-white);
  border-bottom: 1px solid transparent;
  transform: translateZ(0);
  will-change: transform;
}

.admin-bar #header.casitek-header {
  top: 32px !important;
}

.casitek-custom-header.scrolled .casitek-header-inner {
  padding-top: 10px;
  padding-bottom: 10px;
  background: rgba(255, 255, 255, 0.88) !important;
  border-color: rgba(209, 209, 209, 0.9);
  box-shadow: 0 14px 38px rgba(23, 23, 23, 0.12);
}

.casitek-custom-header.scrolled .casitek-logo-link img {
  height: 32px;
}

.casitek-custom-header .header-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.casitek-header-inner {
  width: 100%;
  padding: 15px 48px;
  background: rgba(255, 255, 255, 0.40);
  border-bottom-right-radius: 8px;
  border-bottom-left-radius: 8px;
  border-left: 1px #D1D1D1 solid;
  border-right: 1px #D1D1D1 solid;
  border-bottom: 1px #D1D1D1 solid;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
}

.casitek-logo {
  display: flex;
  align-items: center;
}

.casitek-logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  gap: 10px;
}

.casitek-logo-link img {
  height: 36px;
  width: auto;
  transition: height 0.3s ease;
  display: block;
}

.casitek-logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.casitek-logo-title {
  font-size: 24px;
  font-weight: 800;
  color: #1E1E1E;
  letter-spacing: 1px;
  line-height: 1;
}

.casitek-logo-tagline {
  font-size: 8px;
  font-weight: 700;
  color: #F36F21;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.casitek-nav {
  display: flex;
  align-items: center;
}

.casitek-header-nav {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 32px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.casitek-header-nav > li {
  margin: 0;
}

.casitek-header-nav > li > a {
  color: #1E1E1E;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.casitek-header-nav > li > a:hover,
.casitek-header-nav > li.current-menu-item > a {
  color: #F36F21;
}

.casitek-nav .casitek-header-nav > li.menu-item-has-children {
  position: relative;
}

.casitek-nav .casitek-header-nav > li.menu-item-has-children > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.casitek-nav .casitek-header-nav > li.menu-item-has-children > a::after {
  content: "";
  width: 8px;
  height: 6px;
  flex: 0 0 8px;
  background-color: currentColor;
  -webkit-mask: var(--casitek-header-caret-icon) center / contain no-repeat;
  mask: var(--casitek-header-caret-icon) center / contain no-repeat;
  transition: transform 0.25s ease;
}

.casitek-nav .casitek-header-nav > li.menu-item-has-children:hover > a::after,
.casitek-nav .casitek-header-nav > li.menu-item-has-children:focus-within > a::after {
  transform: rotate(180deg);
}

.casitek-nav .casitek-header-nav .sub-menu {
  position: absolute;
  top: calc(100% + 14px);
  left: 50%;
  z-index: 100000;
  min-width: 190px;
  margin: 0;
  padding: 10px;
  list-style: none;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(209, 209, 209, 0.9);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(23, 23, 23, 0.14);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.casitek-nav .casitek-header-nav .sub-menu::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 14px;
}

.casitek-nav .casitek-header-nav > li:hover > .sub-menu,
.casitek-nav .casitek-header-nav > li:focus-within > .sub-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.casitek-nav .casitek-header-nav .sub-menu li {
  margin: 0;
}

.casitek-nav .casitek-header-nav .sub-menu a {
  display: block;
  padding: 10px 12px;
  color: #1E1E1E;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  text-decoration: none;
  border-radius: 6px;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.casitek-nav .casitek-header-nav .sub-menu a:hover,
.casitek-nav .casitek-header-nav .sub-menu a:focus-visible {
  background: rgba(243, 111, 33, 0.1);
  color: #F36F21;
}

.casitek-header-buttons {
  display: flex;
  align-items: center;
}

.casitek-mobile-nav {
  display: none;
  align-items: center;
}

.casitek-mobile-nav .mobile-menu-toggle {
  padding: 0;
  margin: 0;
  background: transparent !important;
  border: 0;
  color: #1E1E1E !important;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  transition: background-color 0.2s ease;
}

.casitek-mobile-nav .mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.casitek-mobile-nav svg {
  width: 24px;
  height: 24px;
  display: block;
}

.casitek-header.header-dark .casitek-header-inner {
  border-color: rgba(209, 209, 209, 0.9);
  background: rgba(255, 255, 255, 0.88) !important;
}

.casitek-header a,
.casitek-header button {
  pointer-events: auto;
}

.mobile-sidebar .casitek-menu-industry > .sub-menu {
  display: block;
  margin: 0 0 8px 14px;
  padding: 0;
  list-style: none;
}

.mobile-sidebar .casitek-menu-industry > .sub-menu a {
  display: block;
  padding: 7px 0;
  color: #5f5f5f;
  font-size: 12px;
  text-transform: none;
}

/* RESPONSIVE HEADER */
@media (max-width: 991px) {
  .casitek-header-inner {
    padding: 10px 24px;
  }
  
  .casitek-nav {
    display: none;
  }
  
  .casitek-header-buttons {
    display: none;
  }
  
  .casitek-mobile-nav {
    display: flex;
  }

  .casitek-logo-link img {
    height: 30px;
  }
  
  .casitek-logo-title {
    font-size: 20px;
  }
  
  .casitek-logo-tagline {
    font-size: 7px;
    letter-spacing: 1px;
  }
}

@media (max-width: 767px) {
  .admin-bar #header.casitek-header {
    top: 46px !important; /* WP Adminbar height is 46px on mobile */
  }
}

@media (max-width: 480px) {
  .casitek-header-inner {
    padding: 8px 16px;
    border-radius: 0;
    border-left: 0;
    border-right: 0;
  }
  
  .casitek-logo-link {
    gap: 6px;
  }
  
  .casitek-logo-link img {
    height: 26px;
  }
  
  .casitek-logo-tagline {
    display: none;
  }
}

/* Shared CTA */
.casitek-btn {
  --casitek-btn-shift: 55px;
  position: relative;
  display: inline-flex;
  align-items: stretch;
  gap: 7px;
  overflow: hidden;
  padding: 0 !important;
  border: 0;
  background: transparent !important;
  box-shadow: none;
  text-decoration: none;
}

.casitek-btn .text,
.casitek-btn .arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  border-radius: 5px;
  color: var(--casitek-white) !important;
  background: var(--casitek-orange);
}

.casitek-btn .text {
  padding: 0 60px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
}

.casitek-btn .arrow {
  position: relative !important;
  top: auto !important;
  bottom: auto !important;
  left: auto !important;
  right: auto !important;
  margin: 0 !important;
  width: 48px;
  opacity: 1 !important;
  visibility: visible !important;
}

.casitek-btn .arrow svg {
  width: 16px;
  height: 16px;
  display: block;
}

.casitek-btn .arrow-left {
  position: absolute !important;
  inset: 0 auto 0 0 !important;
  transform: translateX(calc(-100% - 7px));
}

.casitek-btn .text,
.casitek-btn .arrow {
  transition:
    transform 0.45s var(--casitek-ease),
    background-color 0.3s ease;
}

.casitek-btn:hover .text,
.casitek-btn:hover .arrow-right,
.casitek-btn:focus-visible .text,
.casitek-btn:focus-visible .arrow-right {
  transform: translateX(var(--casitek-btn-shift));
  background: var(--casitek-orange-dark);
}

.casitek-btn:hover .arrow-left,
.casitek-btn:focus-visible .arrow-left {
  transform: translateX(0);
  background: var(--casitek-orange-dark);
}

.header-button-talk {
  --casitek-btn-shift: 47px;
}

.header-button-talk .text,
.header-button-talk .arrow {
  min-height: 40px;
}

.header-button-talk .text {
  padding-inline: 19px;
  font-size: 11px;
}

.header-button-talk .arrow {
  width: 40px;
}

/* Hero */
.casitek-panel--hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--casitek-white);
  background: #111;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.82) 0%, rgba(5, 5, 5, 0.49) 45%, rgba(5, 5, 5, 0.08) 78%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.42), transparent 55%);
}

.hero-container {
  position: relative;
  z-index: 2;
  padding-top: 90px;
}

.hero-content {
  width: min(730px, 62vw);
}

.hero-rating {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 30px;
}

.avatars {
  display: flex;
}

.avatar {
  width: 34px;
  height: 34px;
  margin-left: -9px;
  border: 2px solid rgba(255, 255, 255, 0.92);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, #e9b996 0 20%, transparent 21%),
    radial-gradient(circle at 50% 108%, #323232 0 48%, transparent 49%), #d8d8d8;
}

.avatar:first-child {
  margin-left: 0;
}

.avatar--two {
  filter: hue-rotate(28deg);
}

.avatar--three {
  filter: hue-rotate(190deg);
}

.avatar--four {
  filter: hue-rotate(315deg);
}

.rating-info {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
}

.rating-score {
  font-weight: 700;
}

.rating-score::before {
  content: '\2605';
  margin-right: 6px;
  color: #ffb447;
}

.rating-copy {
  color: rgba(255, 255, 255, 0.68);
}

.hero-content h1 {
  max-width: 720px;
  margin: 0 0 24px;
  color: inherit;
  font-size: clamp(52px, 5vw, 78px);
  font-weight: 650;
  line-height: 1.03;
  letter-spacing: -0.055em;
}

.hero-content > p {
  max-width: 600px;
  margin: 0 0 36px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 1.35vw, 20px);
  line-height: 1.65;
}

.hero-scroll-cue {
  position: absolute;
  z-index: 3;
  right: 34px;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  writing-mode: vertical-rl;
}

.hero-scroll-cue i {
  display: block;
  width: 1px;
  height: 56px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.28);
}

.hero-scroll-cue i::after {
  content: '';
  display: block;
  width: 100%;
  height: 45%;
  background: var(--casitek-white);
  animation: casitek-scroll-cue 1.8s ease-in-out infinite;
}

@keyframes casitek-scroll-cue {
  from {
    transform: translateY(-120%);
  }
  to {
    transform: translateY(240%);
  }
}

/* Static logo showcase */
.casitek-panel--showcase {
  height: 100svh;
  overflow: hidden;
  background: #fff;
}

.showcase-stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.showcase-logo {
  width: clamp(280px, 42vw, 620px);
  height: auto;
  overflow: visible;
  color: var(--casitek-orange);
}

#showcase-logo-mark {
  transform-box: fill-box;
  transform-origin: center;
}

/* Content panels */
.casitek-panel--content {
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--casitek-paper);
  position: relative;
}

/* Background C SVG Strokes */
.casitek-bg-stroke {
  position: absolute;
  z-index: 0;
  opacity: 1; /* Solid color */
}

.casitek-bg-stroke--industry {
  width: 150vw;
  height: 150vw;
  right: -50vw;
  bottom: -60vw;
  transform: rotate(-10deg);
}

.casitek-bg-stroke--product {
  width: 180vw;
  height: 180vw;
  left: -20vw;
  bottom: -90vw;
  transform: rotate(15deg);
}

.section-shell {
  position: relative;
  z-index: 1;
  padding: 120px 0 72px;
}

.section-heading {
  margin-bottom: 52px;
}

.section-kicker {
  margin: 0 0 14px;
  color: var(--casitek-orange);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-heading h2 {
  margin: 0;
  color: var(--casitek-ink);
  font-size: clamp(50px, 5.2vw, 78px);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.055em;
}

.section-heading h2 small {
  color: #96918a;
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 60px;
}

.section-summary {
  max-width: 410px;
  margin: 0 0 5px;
  color: var(--casitek-muted);
  font-size: 15px;
  line-height: 1.65;
}

/* Industry */
.industry-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--casitek-line);
  border-left: 1px solid var(--casitek-line);
}

.industry-card {
  position: relative;
  min-height: 400px;
  padding: 34px 34px 30px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.34);
  border-right: 1px solid var(--casitek-line);
  border-bottom: 1px solid var(--casitek-line);
}

.industry-card:hover {
  z-index: 2;
  color: var(--casitek-white);
  background: var(--casitek-orange);
}

.card-number {
  position: absolute;
  top: 27px;
  right: 28px;
  color: #a5a19c;
  font-size: 11px;
  font-weight: 800;
}

.card-icon {
  width: 58px;
  height: 58px;
  margin-bottom: 64px;
  display: grid;
  place-items: center;
  color: var(--casitek-orange);
  border: 1px solid currentColor;
  border-radius: 50%;
}

.card-icon svg {
  width: 27px;
  height: 27px;
}

.industry-card h3 {
  margin: 0 0 12px;
  color: inherit;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -0.035em;
}

.card-tags {
  min-height: 38px;
  margin: 0 0 13px;
  color: #8c8780;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}

.card-desc {
  margin: 0 0 24px;
  color: #706c67;
  font-size: 13px;
  line-height: 1.65;
}

.industry-card:hover .card-number,
.industry-card:hover .card-tags,
.industry-card:hover .card-desc,
.industry-card:hover .card-icon {
  color: rgba(255, 255, 255, 0.78);
}

.btn-more,
.btn-more-sm {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  color: var(--casitek-ink) !important;
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
}

.btn-more span,
.btn-more-sm span {
  font-size: 18px;
}

.industry-card:hover .btn-more {
  color: var(--casitek-white) !important;
}

/* Product system */
.casitek-panel--product {
  background: #efede8;
}

.product-diagram-wrapper {
  position: relative;
  height: min(500px, 52vh);
  min-height: 430px;
}

.diagram-lines-svg {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.animated-path {
  fill: none;
  stroke: var(--casitek-orange);
  stroke-width: 1.5;
  vector-effect: non-scaling-stroke;
}

.path-dot {
  fill: var(--casitek-orange);
}

.diagram-grid {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
}

.diagram-card {
  position: absolute;
  width: 240px;
  min-height: 132px;
  padding: 22px 24px;
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.84);
  border: 1px solid rgba(23, 23, 23, 0.1);
}

.diagram-card:hover {
  z-index: 3;
  border-color: var(--casitek-orange);
  box-shadow: 0 18px 45px rgba(43, 37, 31, 0.09);
}

.diagram-card > span {
  color: var(--casitek-orange);
  font-size: 10px;
  font-weight: 800;
}

.diagram-card h3 {
  margin: 8px 0 20px;
  color: var(--casitek-ink);
  font-size: 17px;
  font-weight: 650;
  line-height: 1.25;
}

.btn-more-sm {
  color: var(--casitek-orange) !important;
  font-size: 11px;
}

.diagram-card--1 {
  top: 9%;
  left: 0;
}

.diagram-card--2 {
  top: 9%;
  left: 50%;
  transform: translateX(-50%);
}

.diagram-card--3 {
  top: 9%;
  right: 0;
}

.diagram-card--4 {
  bottom: 2%;
  left: 23%;
}

.diagram-card--5 {
  right: 23%;
  bottom: 2%;
}

/* Footer */
.casitek-footer {
  position: relative;
  z-index: 4;
  min-height: 360px;
  padding: 80px 0;
  color: var(--casitek-white);
  background: #1e1e1e;
  font-family: 'Plus Jakarta Sans', 'Inter', Arial, sans-serif;
}

.casitek-footer__inner {
  width: min(1200px, calc(100vw - 48px));
  margin-inline: auto;
}

.footer-grid {
  min-height: 200px;
  display: grid;
  grid-template-columns: 324px 134px 220px 162px;
  gap: 120px;
  align-items: start;
}

.footer-logo {
  width: 200px;
  height: 40px;
  margin-bottom: 20px;
}

.footer-logo a,
.footer-logo img {
  display: block;
  width: 200px;
  height: 40px;
}

.footer-desc {
  width: 313px;
  max-width: 100%;
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.57);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
}

.footer-col h4 {
  margin: 0 0 20px;
  color: var(--casitek-white);
  font-family: 'Bricolage Grotesque', 'Plus Jakarta Sans', sans-serif;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.3;
}

.footer-col ul {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  list-style: none;
}

.footer-col li {
  margin: 0;
  line-height: 1.3;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.57);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.3;
  text-decoration: none;
}

.casitek-footer .social-icons {
  width: fit-content;
  display: flex;
  gap: 13px;
}

.social-icon {
  width: 40px;
  height: 40px;
  display: grid;
  flex: 0 0 40px;
  place-items: center;
  color: var(--casitek-white) !important;
  background: var(--casitek-orange);
  border-radius: 50%;
}

.social-icon svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1100px) {
  .casitek-footer {
    padding-block: 64px;
  }

  .casitek-footer__inner {
    width: calc(100vw - 80px);
  }

  .footer-grid {
    min-height: 0;
    grid-template-columns: minmax(260px, 1.35fr) minmax(105px, 0.55fr) minmax(180px, 0.95fr) minmax(
        145px,
        0.75fr
      );
    gap: 48px;
  }

  :root {
    --casitek-shell: min(920px, calc(100vw - 48px));
  }

  .header-container {
    width: calc(100vw - 40px);
  }

  .header-nav {
    gap: 18px;
  }

  .industry-card {
    min-height: 380px;
    padding-inline: 26px;
  }

  .diagram-card {
    width: 210px;
  }
}

@media (max-width: 900px) {
  .header-nav-wrap {
    display: none;
  }

  .hero-content {
    width: min(680px, 85vw);
  }

  .industry-grid {
    grid-template-columns: 1fr;
  }

  .industry-card {
    min-height: auto;
  }

  .card-icon {
    margin-bottom: 36px;
  }

  .casitek-footer {
    padding-block: 64px;
  }

  .casitek-footer__inner {
    width: calc(100vw - 64px);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 56px 64px;
  }

  .brand-col {
    grid-column: 1 / -1;
  }
}

@media (max-width: 767px) {
  :root {
    --casitek-shell: calc(100vw - 36px);
  }

  .admin-bar #header.casitek-header {
    top: 46px !important;
  }

  .header-container {
    width: calc(100vw - 28px);
    min-height: 72px;
  }

  .header-logo svg {
    width: 32px;
    height: 32px;
  }

  .header-logo span {
    font-size: 19px !important;
  }

  .header-action {
    display: none;
  }

  .casitek-panel--hero {
    min-height: 780px;
  }

  .hero-container {
    padding-top: 70px;
  }

  .hero-content {
    width: 100%;
  }

  .hero-content h1 {
    font-size: clamp(43px, 13vw, 60px);
  }

  .hero-rating {
    align-items: flex-start;
  }

  .rating-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
  }

  .hero-scroll-cue {
    right: 15px;
    bottom: 22px;
  }

  .casitek-panel--showcase {
    height: 78svh;
    min-height: 560px;
  }

  .showcase-logo {
    width: min(76vw, 420px);
  }

  .casitek-panel--content {
    min-height: auto;
    overflow: hidden;
  }

  .section-shell {
    padding: 92px 0 70px;
  }

  .section-heading {
    margin-bottom: 38px;
  }

  .section-heading h2 {
    font-size: 48px;
  }

  .section-heading h2 small {
    display: block;
    margin-top: 8px;
    font-size: 15px;
  }

  .section-heading--split {
    display: block;
  }

  .section-summary {
    margin-top: 22px;
  }

  .industry-card {
    padding: 28px 24px;
  }

  .product-diagram-wrapper {
    height: auto;
    min-height: 0;
  }

  .diagram-lines-svg {
    display: none;
  }

  .diagram-grid {
    display: grid;
    gap: 12px;
  }

  .diagram-card,
  .diagram-card--1,
  .diagram-card--2,
  .diagram-card--3,
  .diagram-card--4,
  .diagram-card--5 {
    position: static;
    width: 100%;
    min-height: 128px;
    transform: none;
  }

  .casitek-footer {
    padding-block: 56px;
  }

  .casitek-footer__inner {
    width: calc(100vw - 36px);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .brand-col {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Dynamic About page - Figma node 11:193 */
.casitek-about-page {
  --about-ink: #191c1e;
  --about-copy: #585e6c;
  --about-orange: #f36f21;
  --about-orange-dark: #a04100;
  width: 100%;
  overflow: hidden;
  color: var(--about-ink);
  background: #fff;
  font-family: 'Plus Jakarta Sans', Arial, sans-serif;
}

.casitek-about-page h1,
.casitek-about-page h2,
.casitek-about-page h3,
.casitek-about-page p,
.casitek-about-page blockquote {
  margin-top: 0;
}

.casitek-about-shell,
.casitek-about-section {
  width: min(1200px, 100%);
  margin-inline: auto;
}

.casitek-about-hero {
  position: relative;
  width: 100%;
  height: 740px;
  display: flex;
  align-items: flex-start;
  color: #fff;
  background-image:
    linear-gradient(0deg, rgba(25, 28, 30, 1) 0%, rgba(25, 28, 30, 0.6) 50%, rgba(25, 28, 30, 0) 100%),
    var(--about-hero-image);
  background-position: center;
  background-size: cover;
}

.casitek-about-hero__content {
  padding-top: 233px;
}

.casitek-about-eyebrow {
  display: inline-flex;
  min-height: 28px;
  align-items: center;
  padding: 4px 12px;
  color: #531e00;
  background: var(--about-orange);
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.casitek-about-hero h1 {
  margin: 16px 0 8px;
  color: #fff;
  font-size: 36px;
  font-weight: 800;
  line-height: 1.25;
}

.casitek-about-hero p {
  width: 384px;
  max-width: 100%;
  margin-bottom: 40px;
  color: #e0e3e5;
  font-size: 16px;
  line-height: 24px;
}

.casitek-about-primary-button {
  display: inline-flex;
  min-width: 196px;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 16px 24px;
  color: #531e00 !important;
  background: var(--about-orange);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
  transition: background-color 0.25s ease;
}

.casitek-about-primary-button:hover {
  color: #fff !important;
  background: var(--casitek-orange-dark);
}

.casitek-about-primary-button svg,
.casitek-about-document-list svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.casitek-about-intro {
  position: relative;
  z-index: 0;
  min-height: 336px;
  margin-top: 25px;
  padding: 64px 16px;
  background: #fff;
  isolation: isolate;
}

.casitek-about-intro::before {
  content: '';
  position: absolute;
  z-index: -1;
  top: -62px;
  right: -742px;
  width: 583px;
  height: 585px;
  background: url('../images/about/about-values-decoration.svg') center / contain no-repeat;
  pointer-events: none;
}

.casitek-about-intro__content {
  min-height: 208px;
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  padding-left: 24px;
  background: #fff;
  border-left: 4px solid var(--about-orange);
}

.casitek-about-intro h2 {
  width: 100%;
  margin: 0;
  color: var(--about-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.casitek-about-intro p {
  width: 100%;
  max-width: 1140px;
  margin: 0;
  color: var(--about-copy);
  font-size: 16px;
  font-weight: 400;
  line-height: 26px;
}

.casitek-about-stats {
  width: 100%;
  display: flex;
  align-items: flex-start;
  gap: 32px;
  padding-top: 16px;
}

.casitek-about-stats > div {
  min-width: 125px;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.casitek-about-stats strong {
  color: var(--about-orange);
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.casitek-about-stats span {
  color: var(--about-copy);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  letter-spacing: 0.7px;
}

.casitek-about-brands {
  min-height: 720px;
  margin-top: 26px;
  padding: 64px 16px;
  background: rgba(242, 244, 246, 0.37);
}

.casitek-about-section-heading--center {
  margin-bottom: 40px;
  text-align: center;
}

.casitek-about-section-heading--center > span {
  display: block;
  margin-bottom: 8px;
  color: var(--about-orange);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.casitek-about-section-heading h2,
.casitek-about-values > h2,
.casitek-about-section-heading--light h2,
.casitek-about-mission h2 {
  margin-bottom: 0;
  font-size: 32px;
  font-weight: 700;
  line-height: 40px;
}

.casitek-about-brand-grid {
  width: min(1102px, 100%);
  margin-inline: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.casitek-about-brand-card {
  min-height: 230px;
  display: grid;
  grid-template-columns: 174px minmax(0, 1fr);
  gap: 16px;
  padding: 24px;
  background: #f7f9fb;
  border: 1px solid #e0c0b2;
}

.casitek-about-brand-card__image {
  width: 174px;
  height: 174px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.casitek-about-brand-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.casitek-about-brand-card__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.casitek-about-brand-card h3 {
  min-height: 32px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  color: var(--about-orange-dark);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.casitek-about-brand-card h3 span {
  color: var(--about-orange);
  font-size: 20px;
}

.casitek-about-brand-card p {
  margin-bottom: 12px;
  color: var(--about-copy);
  font-size: 16px;
  line-height: 24px;
}

.casitek-about-brand-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--about-orange);
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
  text-decoration: none;
}

.casitek-about-values {
  position: relative;
  z-index: 0;
  min-height: 574px;
  padding: 112px 16px 110px;
  isolation: isolate;
}

.casitek-about-values::before {
  content: '';
  position: absolute;
  z-index: -1;
  left: -100px;
  bottom: -273px;
  width: 583px;
  height: 585px;
  background: url('../images/about/about-values-decoration.svg') center / contain no-repeat;
  pointer-events: none;
}

.casitek-about-values > h2 {
  margin-bottom: 48px;
  text-align: center;
}

.casitek-about-value-grid {
  width: calc(100% + 17px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 47px;
}

.casitek-about-value-card {
  min-height: 252px;
  padding: 40px 28px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: #fff;
  border-radius: 10px;
  outline: 2px solid #fcdcca;
  outline-offset: -2px;
  box-shadow: 0 30px 34px rgba(232, 175, 139, 0.3);
}

.casitek-about-value-card__icon {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--about-orange);
  background: #fff3eb;
  border-radius: 8px;
}

.casitek-about-value-card__icon img {
  width: auto;
  height: auto;
  max-width: 29px;
  max-height: 29px;
  object-fit: contain;
}

.casitek-about-value-card h3 {
  margin-bottom: 8px;
  color: var(--about-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.casitek-about-value-card p {
  margin-bottom: 0;
  color: var(--about-copy);
  font-size: 16px;
  line-height: 24px;
}

.casitek-about-sectors {
  position: relative;
  z-index: 1;
  min-height: 622px;
  padding: 64px 16px;
  color: #fff;
  background: var(--about-ink);
}

.casitek-about-section-heading--light {
  margin-bottom: 40px;
}

.casitek-about-section-heading--light h2 {
  color: #fff;
  margin-bottom: 8px;
}

.casitek-about-section-heading--light p {
  margin-bottom: 0;
  color: #e0e3e5;
  font-size: 16px;
  line-height: 24px;
}

.casitek-about-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.casitek-about-sector-card {
  position: relative;
  height: 350px;
  overflow: hidden;
  color: #fff !important;
  text-decoration: none;
  background: #111;
}

.casitek-about-sector-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0) 50%);
}

.casitek-about-sector-card__image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.45s var(--casitek-ease);
}

.casitek-about-sector-card:hover .casitek-about-sector-card__image {
  transform: scale(1.035);
}

.casitek-about-sector-card__icon {
  position: absolute;
  z-index: 2;
  left: 24px;
  bottom: 68px;
  width: 24px;
  height: 24px;
  display: grid;
  place-items: center;
}

.casitek-about-sector-card__icon img {
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  display: block;
}

.casitek-about-sector-card h3 {
  position: absolute;
  z-index: 2;
  left: 24px;
  right: 24px;
  bottom: 24px;
  margin: 0;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  line-height: 32px;
}

.casitek-about-mission {
  position: relative;
  min-height: 364px;
  padding: 80px 16px;
  overflow: visible;
  color: #fff;
  background: var(--about-orange);
}

.casitek-about-mission__content {
  position: relative;
  z-index: 2;
}

.casitek-about-mission h2 {
  margin-bottom: 24px;
  color: #fff;
}

.casitek-about-mission blockquote {
  max-width: 1168px;
  margin: 0 0 24px;
  padding: 0;
  border: 0;
  color: #fff;
  font-size: 18px;
  font-style: normal;
  line-height: 29.25px;
}

.casitek-about-mission__signature {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 14px;
  font-weight: 600;
  line-height: 20px;
}

.casitek-about-mission__signature span {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.85);
}

.casitek-about-mission__decor {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 167px;
  height: 163px;
  background: url('../images/about/group-logo.svg') center / contain no-repeat;
  pointer-events: none;
}

.casitek-about-documents {
  min-height: 740px;
  padding: 64px 16px;
  background: #fff;
}

.casitek-about-documents__heading {
  min-height: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.casitek-about-documents__heading h2 {
  margin: 0;
  color: var(--about-ink);
  font-size: 24px;
  font-weight: 700;
  line-height: 32px;
}

.casitek-about-documents__heading > img {
  width: 16px;
  height: 20px;
  display: block;
}

.casitek-about-document-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.casitek-about-document-list a {
  min-height: 58px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px;
  color: var(--about-ink) !important;
  background: #f7f9fb;
  border: 1px solid #e0c0b2;
  font-size: 16px;
  line-height: 24px;
  text-decoration: none;
  transition:
    border-color 0.2s ease,
    background-color 0.2s ease;
}

.casitek-about-document-list a:hover {
  background: #fff7f1;
  border-color: var(--about-orange);
}

.casitek-about-document-list a svg {
  width: 14px;
  height: 14px;
  color: var(--about-orange-dark);
}

@media (max-width: 1100px) {
  .casitek-about-shell,
  .casitek-about-section {
    width: calc(100% - 48px);
  }

  .casitek-about-brand-card {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .casitek-about-brand-card__image {
    width: 140px;
    height: 174px;
  }

  .casitek-about-value-grid {
    width: 100%;
    gap: 24px;
  }
}

@media (max-width: 900px) {
  .casitek-about-hero {
    height: 650px;
  }

  .casitek-about-hero__content {
    padding-top: 190px;
  }

  .casitek-about-brand-grid,
  .casitek-about-sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .casitek-about-sectors {
    min-height: auto;
  }

  .casitek-about-value-grid {
    grid-template-columns: 1fr;
  }

  .casitek-about-values {
    padding-block: 80px;
  }
}

@media (max-width: 767px) {
  .page-template-template-about .casitek-main {
    padding-top: 74px;
  }

  .casitek-about-shell,
  .casitek-about-section {
    width: 100%;
  }

  .casitek-about-hero {
    height: 590px;
  }

  .casitek-about-hero__content {
    padding: 170px 20px 0;
  }

  .casitek-about-hero h1 {
    font-size: 32px;
  }

  .casitek-about-intro,
  .casitek-about-brands,
  .casitek-about-values,
  .casitek-about-sectors,
  .casitek-about-mission,
  .casitek-about-documents {
    padding-left: 20px;
    padding-right: 20px;
  }

  .casitek-about-intro {
    min-height: 0;
  }

  .casitek-about-stats {
    flex-wrap: wrap;
  }

  .casitek-about-brand-grid,
  .casitek-about-sector-grid {
    grid-template-columns: 1fr;
  }

  .casitek-about-brand-card {
    grid-template-columns: 110px minmax(0, 1fr);
    padding: 18px;
  }

  .casitek-about-brand-card__image {
    width: 110px;
    height: 140px;
  }

  .casitek-about-brand-card h3 {
    font-size: 20px;
    line-height: 27px;
  }

  .casitek-about-brand-card p {
    font-size: 14px;
    line-height: 21px;
  }

  .casitek-about-sector-card {
    height: 320px;
  }

  .casitek-about-mission {
    min-height: 0;
  }

  .casitek-about-mission__decor {
    opacity: 0.55;
  }
}

@media (max-width: 480px) {
  .casitek-about-brand-card {
    grid-template-columns: 1fr;
  }

  .casitek-about-brand-card__image {
    width: 100%;
    height: 180px;
  }
}

/* About page vertical rhythm from Figma frame 11:193. */
.page-template-template-about .casitek-about-mission {
  margin-top: 21px;
}

.page-template-template-about #footer {
  margin-top: 6px;
}

@media (max-width: 767px) {
  .page-template-template-about #main {
    padding-top: 74px;
  }
}

/* Homepage Scroll Snapping */
.home-snap {
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.home-snap section.section,
.home-snap footer.footer-wrapper {
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

/* Section 1 (Hero) snaps exactly at the top of the viewport */
.home-snap section.section:nth-of-type(1) {
  scroll-margin-top: 0px;
}

/* Section 2 (Logo C animation) - Adjust coordinates here (negative offsets padding-top) */
.home-snap section.section:nth-of-type(2) {
  scroll-margin-top: -100px;
}

/* Section 3 (Product grid) - Adjust coordinates here */
.home-snap section.section:nth-of-type(3) {
  scroll-margin-top: -100px;
}

/* Dynamic news listing - Figma node 295:3808. */
.casitek-news-page {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding-bottom: 54px;
  color: #000;
  background: #fff;
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
}

.casitek-news-shell {
  position: relative;
  z-index: 1;
  width: min(1200px, calc(100% - 80px));
  margin-inline: auto;
  padding-top: 98px;
}

.casitek-news-shell > h1 {
  margin: 0 0 20px;
  color: #000;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 32px;
  font-weight: 600;
  line-height: 42px;
}

.casitek-news-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 12px;
  row-gap: 20px;
}

.casitek-news-card {
  height: 379px;
  margin: 0 !important;
  min-width: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: 184px 195px;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
}

.casitek-news-card__image {
  display: block;
  overflow: hidden;
  color: inherit;
}

.casitek-news-card__image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.casitek-news-card:hover .casitek-news-card__image img {
  transform: scale(1.035);
}

.casitek-news-card__body {
  min-width: 0;
  padding: 9px 10px 11px;
}

.casitek-news-card__meta {
  height: 26px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.casitek-news-card__category {
  min-height: 26px;
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  color: #fff;
  background: #f36f21;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  line-height: 18px;
  white-space: nowrap;
}

.casitek-news-card__meta time {
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.6px;
  white-space: nowrap;
}

.casitek-news-card h2 {
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  margin: 8px 0 0;
  color: #000;
  font-family: "Bricolage Grotesque", "Plus Jakarta Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  letter-spacing: 0.6px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.casitek-news-card h2 a {
  color: inherit;
  text-decoration: none;
}

.casitek-news-card p {
  height: 48px;
  overflow: hidden;
  display: -webkit-box;
  margin: 12px 0 0;
  color: #000;
  font-size: 12px;
  font-weight: 400;
  line-height: 16px;
  letter-spacing: 0.6px;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.casitek-news-card__more {
  height: 21px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: #f36f21 !important;
  font-size: 14px;
  font-weight: 600;
  line-height: 21px;
  text-decoration: none;
}

.casitek-news-card__more svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.2s ease;
}

.casitek-news-card__more:hover svg {
  transform: translateX(3px);
}

.casitek-news-pagination {
  margin-top: 20px;
}

.casitek-news-pagination .page-numbers {
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.casitek-news-pagination li {
  margin: 0;
}

.casitek-news-pagination a,
.casitek-news-pagination span {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  margin: 0;
  color: #000;
  background: #fff;
  border: 1px solid #d1d1d1;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 400;
  line-height: 21px;
  text-decoration: none;
}

.casitek-news-pagination .current {
  color: #fff;
  background: #f36f21;
  border-color: #f36f21;
  font-weight: 600;
}

.casitek-news-pagination .dots {
  border-color: transparent;
}

.casitek-news-pagination svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.casitek-news-empty {
  min-height: 400px;
  margin: 0;
  color: #585e6c;
  font-size: 16px;
}

.casitek-news-page__decor {
  position: absolute;
  z-index: 0;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  pointer-events: none;
}

.casitek-news-page__decor--right {
  top: 281px;
  right: -150px;
  width: 372px;
  height: 373px;
  background-image: url("../images/news/news-decor-right.svg");
}

.casitek-news-page__decor--left {
  top: 1076px;
  left: -82px;
  width: 568px;
  height: 569px;
  background-image: url("../images/news/news-decor-left.svg");
}

.page-template-template-news #footer {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .casitek-news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .page-template-template-news #main {
    padding-top: 74px;
  }

  .casitek-news-page {
    padding-bottom: 40px;
  }

  .casitek-news-shell {
    width: calc(100% - 40px);
    padding-top: 48px;
  }

  .casitek-news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .casitek-news-pagination .page-numbers {
    gap: 6px;
  }

  .casitek-news-pagination a,
  .casitek-news-pagination span {
    width: 36px;
    height: 36px;
  }

  .casitek-news-page__decor {
    opacity: 0.35;
  }
}

@media (max-width: 549px) {
  .casitek-news-grid {
    grid-template-columns: 1fr;
  }

  .casitek-news-card {
    width: 100%;
  }
}

/* Custom Styles cho Logo Animation trích xuất từ Figma */
.casitek-logo-icon {
  position: relative;
  width: 100%;
  overflow: visible !important;
  will-change: transform, opacity;
}

.casitek-svg-c,
.casitek-svg-c-3 {
  transform-origin: 80% 20%; /* Phóng to lệch tâm về phía góc trên bên phải giống Figma */
  will-change: transform, opacity;
}

.casitek-logo-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  z-index: 1; /* Changed from -1 to 1 to render above section backgrounds */
  pointer-events: none;
  will-change: opacity;
}

.casitek-svg-c {
  z-index: 2; /* Ensure SVG is above the video */
}
