/*
Theme Name: Burghgraefkoeltechniek
Author: Marc Specht
Version: 1.1
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: burghgraefkoeltechniek
Tags: custom-background, custom-logo, custom-menu, featured-images, translation-ready
*/

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixPlain.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixItalic.otf") format("opentype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixLight.otf") format("opentype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixLightItalic.otf") format("opentype");
  font-weight: 300;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixSemiLight.otf") format("opentype");
  font-weight: 350;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixSemiLightItalic.otf") format("opentype");
  font-weight: 350;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixSemiBold.otf") format("opentype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixSemiBoldItalic.otf") format("opentype");
  font-weight: 600;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixBoldItalic.otf") format("opentype");
  font-weight: 700;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixExtraBold.otf") format("opentype");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixExtraBoldItalic.otf") format("opentype");
  font-weight: 800;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixBlack.otf") format("opentype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "TheMix";
  src: url("fonts/TheMixBlackItalic.otf") format("opentype");
  font-weight: 900;
  font-style: italic;
  font-display: swap;
}

:root {
  --bg: #f4f4f4;
  --ink: #88898a;
  --muted: #7b7c7d;
  --accent: #1c2067;
  --accent-2: #d9000d;
  --card: #ffffff;
  --header-height: 88px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "TheMix", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
}

a {
  color: var(--accent);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--accent-2);
  text-decoration: underline;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--header-height);
  padding: 0;
  background: #ffffff;
  border-bottom: none;
}

.site-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.25rem 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
}

.site-logo img {
  max-height: 60px;
  width: auto;
  display: block;
}

.footer-col .site-logo img {
  max-height: none;
  width: 100%;
  height: auto;
}

.site-title {
  font-size: 1.5rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.nav-primary {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-end;
  align-self: stretch;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  align-items: flex-end;
}

.nav-list li {
  position: relative;
}

.nav-list .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  padding: 0.75rem 0;
  margin: 0.5rem 0 0;
  list-style: none;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.12);
  display: none;
  z-index: 1200;
}

.nav-list li:hover > .sub-menu,
.nav-list li:focus-within > .sub-menu {
  display: block;
}

.nav-list .sub-menu li {
  width: 100%;
}

.nav-list .sub-menu a {
  display: block;
  padding: 0.6rem 1.25rem;
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  color: var(--muted);
  font-weight: 600;
  border-bottom: none;
}

.nav-list .sub-menu a:hover,
.nav-list .sub-menu a:focus {
  color: var(--accent);
  background: rgba(28, 32, 103, 0.08);
  text-decoration: none;
}

.nav-list li {
  margin: 0;
}

.nav-primary a {
  font-family: "TheMix", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-transform: none;
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid transparent;
  color: var(--ink);
  font-weight: 700;
}

.nav-primary a:hover,
.nav-primary a:focus {
  border-color: var(--accent);
  text-decoration: none;
}

.nav-primary .current-menu-item > a,
.nav-primary .current_page_item > a,
.nav-primary .current-menu-ancestor > a,
.nav-primary .current_page_ancestor > a {
  border-color: var(--accent);
  text-decoration: none;
}

.site-main {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  gap: 2rem;
}

.site-main.homepage {
  max-width: 100%;
  padding: 0 0 4rem;
  display: block;
}

.site-main.service-single {
  max-width: 100%;
  padding: 0 0 4rem;
  display: block;
}

.site-main.project-single {
  max-width: 100%;
  padding: 0 0 4rem;
  display: block;
}

.site-main.project-archive {
  max-width: 100%;
  padding: 0 0 4rem;
  display: block;
}

.site-main.page-single {
  max-width: 100%;
  padding: 0 0 4rem;
  display: block;
}

.site-main.error-404 {
  max-width: 100%;
  padding: calc(var(--header-height) + 3rem) 1.5rem 4rem;
  display: block;
}

.error-404-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
}

.error-404-actions {
  margin-top: 1.5rem;
}

.site-main.contact-page {
  max-width: 100%;
  padding: 0 0 4rem;
  display: block;
}

.archive-project-title {
  margin-top: 0;
}

.project-archive .home-section {
  padding-top: calc(var(--header-height) + 3rem) !important;
}

.home-hero {
  margin-top: 0;
}

.hero-image {
  width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: cover;
}

.service-hero .hero-image, .home-secondary-hero .hero-image {
  max-height: 70vh;
  height: 70vh;
}

.hero-placeholder {
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(120deg, #e6e6e6 0%, #f4f4f4 50%, #dcdcdc 100%);
  color: var(--ink);
}

.hero {
  position: relative;
}

.parallax-hero {
  overflow: hidden;
}

.parallax-hero .hero-image {
  transform: translate3d(0, 0, 0) scale(1.08);
  will-change: transform;
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
}

.hero-content .entry {
  max-width: 720px;
  background: transparent;
  box-shadow: none;
  color: #ffffff;
  text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.hero-logo {
  max-width: 72px;
  margin: 0 auto 1rem;
}

.hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.homepage .content-area {
  max-width: 980px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 0;
}

.home-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.services-section {
  position: relative;
  margin-top: 0;
  padding-top: 0;
  padding-bottom: 0;
  z-index: 2;
}

.section-title {
  font-size: clamp(1.5rem, 2.5vw, 2.2rem);
  margin: 0 0 1.5rem;
  letter-spacing: 0.02em;
}

.section-title-large {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  margin: 0;
}

.home-mid-title {
  text-align: center;
}

.home-section.home-mid-title {
  padding-top: 2.5rem;
  padding-bottom: 2.5rem;
}

.projects-section .section-title,
.projects-title-style {
  color: var(--accent);
  font-style: italic;
  text-align: center;
  padding: 1rem 0 1rem 0;
}

.services-grid,
.projects-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.services-grid {
  transform: translateY(-50%);
}

.services-related .services-grid {
  transform: none;
}

.service-card,
.project-card a {
  background: var(--card);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: block;
  color: inherit;
  position: relative;
}

.service-card:hover,
.service-card:focus,
.project-card a:hover,
.project-card a:focus {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px rgba(31, 28, 24, 0.16);
  text-decoration: none;
}

.service-card-media,
.project-card-media {
  background: #f0f0f0;
  min-height: 180px;
  height: 200px;
}

.service-card-media img,
.project-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card-placeholder,
.project-card-placeholder {
  min-height: 180px;
  background: linear-gradient(135deg, #e0e0e0, #f7f7f7);
}

.service-card-body {
  padding: 1.5rem;
}

.service-card-title {
  margin: 0;
  font-size: 1.1rem;
}

.service-card-footer {
  padding: 1rem 1.5rem 1.5rem;
  font-weight: 600;
  color: var(--accent);
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  justify-content: center;
  width: 100%;
}

.service-card-link::after {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12h12.6l-4.6-4.6 1.4-1.4 7 7-7 7-1.4-1.4 4.6-4.6H5z'/></svg>") no-repeat center / contain;
}

.service-hero {
  margin-top: var(--header-height);
}

.project-hero {
  margin-top: var(--header-height);
}

.project-hero .hero-image {
  max-height: 40vh;
  height: 40vh;
}

.page-hero {
  margin-top: var(--header-height);
  max-height: 55vh;
}

.project-hero-title {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 6vw;
  color: #ffffff;
  text-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  text-align: center;
}

.project-hero-title h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.6rem);
}

.service-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.service-content-inner {
  background: #ffffff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.12);
}

.service-title {
  margin-top: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.service-body {
  margin-top: 1.5rem;
  color: var(--ink);
}

.services-related {
  padding-top: 2rem;
}

.project-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.project-content-inner {
  background: #ffffff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.12);
}

.page-title {
  max-width: 980px;
  margin: 0 auto;
  padding: 5rem 1.5rem 3rem 1.5rem
}

.page-content {
  max-width: 980px;
  margin: 0 auto;
  padding: 3rem 1.5rem 2rem;
}

.contact-hero {
  padding: calc(var(--header-height) + 3rem) 1.5rem 3rem;
}

.contact-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.contact-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 2.5rem;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.12);
}

.contact-title {
  margin: 0;
  font-size: clamp(2rem, 4vw, 3rem);
}

.contact-company {
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.contact-address {
  margin-top: 0;
  white-space: pre-line;
}

.contact-details {
  display: grid;
  gap: 0.75rem;
}

.contact-detail {
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.contact-detail::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
}

.contact-address::before {
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2C8.7 2 6 4.7 6 8c0 4.4 6 12 6 12s6-7.6 6-12c0-3.3-2.7-6-6-6zm0 8.2c-1.2 0-2.2-1-2.2-2.2S10.8 5.8 12 5.8s2.2 1 2.2 2.2S13.2 10.2 12 10.2z'/></svg>") no-repeat center / contain;
}

.contact-phone::before {
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M6.6 10.2c1.4 2.8 3.6 5 6.4 6.4l2.1-2.1c.3-.3.7-.4 1.1-.3 1.2.4 2.6.7 4 .7.6 0 1 .4 1 1V20c0 .6-.4 1-1 1C10.9 21 3 13.1 3 3c0-.6.4-1 1-1h3.1c.6 0 1 .4 1 1 0 1.4.2 2.7.7 4 .1.4 0 .8-.3 1.1L6.6 10.2z'/></svg>") no-repeat center / contain;
}

.contact-email::before {
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M20 4H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4-8 5-8-5V6l8 5 8-5v2z'/></svg>") no-repeat center / contain;
}

.contact-content {
  margin-top: 1.5rem;
  color: var(--ink);
}

.contact-map {
  border-radius: 18px;
  overflow: hidden;
  min-height: 360px;
  position: relative;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.12);
}

.contact-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
  position: absolute;
}

@media (max-width: 900px) {
  .contact-hero-inner {
    grid-template-columns: 1fr;
  }
}

.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
  font-weight: 600;
}

.project-meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.project-meta-item::before {
  content: "";
  width: 18px;
  height: 18px;
  display: inline-block;
  background: currentColor;
}

.project-meta-location::before {
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M12 2C8.7 2 6 4.7 6 8c0 4.4 6 12 6 12s6-7.6 6-12c0-3.3-2.7-6-6-6zm0 8.2c-1.2 0-2.2-1-2.2-2.2S10.8 5.8 12 5.8s2.2 1 2.2 2.2S13.2 10.2 12 10.2z'/></svg>") no-repeat center / contain;
}

.project-meta-service::before {
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M21 7h-4V3h-2v4H9V3H7v4H3v2h4v4H3v2h4v4h2v-4h6v4h2v-4h4v-2h-4V9h4zm-6 6H9V9h6v4z'/></svg>") no-repeat center / contain;
}

.project-gallery {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.project-gallery-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.project-gallery-item {
  padding: 0;
  border: none;
  background: none;
  cursor: pointer;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.12);
}

.project-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.project-lightbox {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 2000;
}

.project-lightbox.is-open {
  display: block;
}

.project-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.project-lightbox-content {
  position: absolute;
  inset: 7% 6%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-lightbox-image {
  max-width: 100%;
  max-height: 86vh;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.35s ease, transform 0.35s ease;
  position: relative;
  z-index: 1;
}

.project-lightbox-image.is-loading {
  opacity: 0;
  transform: scale(0.98);
}

.project-lightbox-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 1.8rem;
  background: rgba(255, 255, 255, 0.9);
  color: #1b1b1b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.project-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.9);
  color: #1b1b1b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.project-lightbox-nav.prev {
  left: 2rem;
}

.project-lightbox-nav.next {
  right: 2rem;
}

.lightbox-open {
  overflow: hidden;
}

.home-highlight {
  margin: 0;
  background: var(--accent-2);
  color: #ffffff;
  overflow: visible;
}

@media (min-width: 900px) {
  .home-highlight {
    margin: -5rem 0 0 0;
  }
}

.home-highlight + .home-section {
  padding-top: 0;
}

.home-highlight + .home-section.home-mid-title {
  padding-top: 2.5rem;
}

.home-highlight-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 4rem;
  align-items: center;
}

.home-highlight-text {
  display: grid;
  gap: 1.25rem;
}

.home-highlight-text p {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.7;
}

.home-highlight-title {
  margin: 0;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  color: #ffffff;
}

.home-highlight-text .button {
  justify-self: flex-start;
  display: inline-flex;
}

.home-highlight .button {
  background: #ffffff;
  color: var(--accent);
}

.home-highlight .button:hover,
.home-highlight .button:focus {
  background: #e6e9ff;
  color: var(--accent);
}

.home-highlight-media img,
.highlight-placeholder {
  width: 100%;
  border-radius: 16px;
  display: block;
}

.home-highlight-media {
  overflow: visible;
}

.home-highlight-media img {
  object-fit: cover;
}

.highlight-placeholder {
  min-height: 220px;
  background: rgba(255, 255, 255, 0.25);
}

.home-secondary-hero {
  margin: 0;
}

.home-secondary-hero .hero-content {
  justify-content: flex-end;
  align-items: flex-end;
  padding: 3rem 6vw;
  text-align: right;
}

.home-secondary-hero .button {
  background: var(--accent);
  color: #ffffff;
}

.home-secondary-hero .button:hover,
.home-secondary-hero .button:focus {
  background: #141852;
  color: #ffffff;
}

.projects-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.project-card-title {
  padding: 1.1rem 1.5rem 1.5rem;
  display: grid;
  gap: 0.35rem;
  color: var(--ink);
}

.projects-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

.project-card-title-main {
  font-weight: 600;
}

.project-card-title-sub {
  color: var(--accent);
  font-weight: 600;
}

.project-card a::after {
  content: "";
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  width: 18px;
  height: 18px;
  background: var(--accent);
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12h12.6l-4.6-4.6 1.4-1.4 7 7-7 7-1.4-1.4 4.6-4.6H5z'/></svg>") no-repeat center / contain;
}

.companies-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  align-items: center;
}

.companies-section {
  background: #ffffff;
  max-width: 100%;
  padding: 0;
}

.companies-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.companies-cta {
  margin-top: 2rem;
  display: flex;
  justify-content: flex-end;
}

.companies-cta-section {
  padding-top: 0;
}

.project-gallery-field {
  display: grid;
  gap: 1rem;
}

.project-gallery-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.project-gallery-thumbs {
  display: grid;
  gap: 0.75rem;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
}

.project-gallery-thumb {
  position: relative;
}

.project-gallery-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  cursor: pointer;
  line-height: 1;
}

.project-gallery-thumb img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.project-related {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem 3rem;
}

.projects-cta-section {
  padding-top: 0;
}

.company-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  text-align: center;
  box-shadow: none;
}

.company-card img {
  max-height: 60px;
  width: auto;
  display: inline-block;
}

.company-name {
  font-weight: 600;
}

.content-area {
  display: grid;
  gap: 2rem;
}

.entry {
  background: var(--card);
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 18px 40px rgba(31, 28, 24, 0.12);
}

.entry-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}

.entry-meta {
  color: var(--muted);
  font-size: 0.95rem;
}

.entry-content {
  margin-top: 1.25rem;
}

.site-footer {
  background: #ffffff;
  color: var(--ink);
  padding: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

.site-footer a {
  color: var(--accent);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
  padding: 2.5rem 1.5rem;
}

.footer-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  align-items: start;
  gap: 2rem;
}

.footer-col .widget {
  margin: 0;
}

.footer-col {
  word-break: break-word;
  overflow-wrap: anywhere;
}

.footer-title,
.footer-col .widget-title {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}

.footer-menu li {
  margin: 0;
}

.footer-meta {
  font-family: "TheMix", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  text-transform: uppercase;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  margin-top: 1rem;
}

.sidebar {
  padding: 1.5rem;
  background: #ffffff;
  border-radius: 12px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

button,
.button,
input[type="submit"],
input[type="button"] {
  background: var(--accent);
  color: #ffffff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-family: "TheMix", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.site-main.homepage .button {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.site-main.homepage .button::after {
  content: "→";
}


button:hover,
button:focus,
.button:hover,
.button:focus,
input[type="submit"]:hover,
input[type="submit"]:focus,
input[type="button"]:hover,
input[type="button"]:focus {
  background: #141852;
}

@media (min-width: 900px) {
  .site-main {
    grid-template-columns: minmax(0, 2.2fr) minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  :root {
    --header-height: 132px;
  }

  .site-header-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    gap: 0.75rem;
  }

  .services-section {
    margin-top: 0;
  }

  .services-grid {
    transform: translateY(-15%);
  }

  .home-highlight-inner {
    grid-template-columns: 1fr;
  }
}
.project-lightbox-close:hover,
.project-lightbox-close:focus,
.project-lightbox-nav:hover,
.project-lightbox-nav:focus {
  background: rgba(255, 255, 255, 0.9);
  color: #1b1b1b;
}

.home-hero {
  margin-top: 0;
}

.home-slider {
  position: relative;
  overflow: hidden;
}

.home-slider-track {
  position: relative;
  min-height: 80vh;
}

.home-slider-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease-in-out, visibility 0.7s ease-in-out;
}

.home-slider-slide.is-active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.home-slider-slide .hero-image {
  width: 100%;
  height: 80vh;
  max-height: none;
  object-fit: cover;
}

.home-slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  padding: 0;
  transform: translateY(-50%);
  border-radius: 50%;
  background: rgba(28, 32, 103, 0.8);
  color: #ffffff;
  font-size: 2rem;
  line-height: 1;
}

.home-slider-arrow-prev {
  left: 1.5rem;
}

.home-slider-arrow-next {
  right: 1.5rem;
}
.home-slider-dots {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  transform: none;
}

.home-slider-dot {
  width: 13px;
  height: 13px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.home-slider-dot.is-active,
.home-slider-dot:hover,
.home-slider-dot:focus {
  background: #ffffff;
  transform: scale(1.12);
}

.hero-image {
  width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: cover;
}