/*
Theme Name: DEVPOL
Version: 1.0
*/
:root {

  --space-xs: 1rem;
  --space-sm: 2rem;
  --space-md: 4rem;
  --space-lg: 6rem;
  --space-xl: 8rem;

}

@media (max-width: 1700px) {

  .entry-content
  .wp-block-group.is-layout-constrained,
  .entry-content
  .wp-block-columns.is-layout-constrained,
  .entry-content
  .wp-block-group.alignwide,
  .entry-content
  .wp-block-columns.alignwide {
    padding-left: clamp(32px, 4vw, 80px);
    padding-right: clamp(32px, 4vw, 80px);
  }

}
body {
    font-size: 1.1rem;
}
.entry-content {
overflow-x: hidden;
}
.alignfull {
margin-left: 0 !important;
margin-right: 0 !important;
}
.section-title {
font-size: 1.15rem;
letter-spacing: .08em;
text-transform: uppercase;
color: #6b7285;
margin-bottom: 1rem;
}
.section-claim {
font-size: 2.8rem;
line-height: 1.2;
font-weight: 700;
max-width: 75%;
margin-bottom: 6rem;
}
.section-headline {
font-size: 2.6rem;
line-height: 1.25;
font-weight: 600;
//max-width: 900px;
}

.section-normal {
padding-top:6rem;
padding-bottom:6rem;
}
.section-large {
padding-top:8rem;
padding-bottom:8rem;

}
.section-hero {
padding-top:10rem;
padding-bottom:10rem;
}


button,
input,
textarea,
select {
  font-family: inherit;
}
a {
    text-decoration: none;
}


/* ==================================================
   ADMIN BAR OFFSET
================================================== */

.admin-bar header.wp-block-template-part {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar header.wp-block-template-part {
        top: 46px;
    }
}

.accent {
  color: #e55220!important;
}

/* 
   HERO SECONDARY BUTTON – SLIDE LINE
*/

.wp-block-button.is-style-outline .wp-block-button__link {
  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;
  clip-path: none;  
  padding: 14px 32px;
  color: #ffffff;
  position: relative;
  display: inline-block;
}

/* linia */
.wp-block-button.is-style-outline .wp-block-button__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: #e55220; /* brand-orange */
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover::after {
  transform: scaleX(1);
}

/* ==================================================
   HEADER BASE
================================================== */

header.wp-block-template-part {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

header.wp-block-template-part > .wp-block-group {
    padding: 24px 40px;
    background: transparent;
    transition:
        background 0.3s ease,
        padding 0.3s ease,
        box-shadow 0.3s ease;
}

/* HEADER SCROLLED */

header.wp-block-template-part.header-scrolled > .wp-block-group {
    padding: 14px 40px;
    background: #f7f8f9;
    box-shadow: 0 3px 10px rgba(0,0,0,0.05);
}

/*MENU*/
.wp-block-navigation .wp-block-navigation-item {
    align-items: center;
    background-color: inherit;
    display: flex;
    position: relative;
    padding-right: 2rem;
    font-weight: 500;
}
header.wp-block-template-part:not(.header-scrolled) .wp-block-navigation a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}
header.wp-block-template-part.header-scrolled .wp-block-navigation a {
    color: #212950 !important;
}

/* =========================
   DROPDOWN BASE
========================= */

.wp-block-navigation-item {
  position: relative;
}
/* submenu */
.wp-block-navigation__submenu-container {
  position: absolute;
  top: calc(100% + 6px)!important;
  left: 0;
  min-width: 240px;
  padding: 1rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateX(100px)!important;
  transition: all 0.25s ease;
  align-items: stretch !important;
  z-index: 9999;
}

.wp-block-navigation__submenu-container li {
  display: block !important;
  width: 100%;
  padding: 6px 0!important;
}
.wp-block-navigation__submenu-container li a:hover::after {
    content: "";
    position: absolute;
    left: 0.8rem;
    bottom: -6px;
    width: 25%;
    height: 2px;
    background: #e55220;
    transition: width 0.25s ease;
}
.wp-block-navigation__submenu-container a {
  display: block;
  padding: 8px 20px;
  font-size: 1.0rem;
  transition: background 0.2s ease;
  width: 100%;
  box-sizing: border-box;
}

/* =========================
   HERO
========================= */

header.wp-block-template-part:not(.header-scrolled)
.wp-block-navigation__submenu-container {
  background: #1B223F;
  backdrop-filter: blur(10px);
  padding: 4px 0;
  border:none;
}
header.wp-block-template-part:not(.header-scrolled)
.wp-block-navigation__submenu-container a {
  color: #ffffff !important;
}
header.wp-block-template-part:not(.header-scrolled)
.wp-block-navigation__submenu-container a:hover {
}

/* =========================
   SCROLLED
========================= */

header.wp-block-template-part.header-scrolled
.wp-block-navigation__submenu-container {
  background: #ffffff;
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
  padding: 4px 0;
  border:none;
}
header.wp-block-template-part.header-scrolled
.wp-block-navigation__submenu-container a {
  color: #212950 !important;
}
header.wp-block-template-part.header-scrolled
.wp-block-navigation__submenu-container a:hover {
}

/* =========================
   GUTENBERG ARROW
========================= */

.wp-block-navigation-submenu__toggle {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  margin-left: 6px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
}
/* SVG arrow */
.wp-block-navigation-submenu__toggle svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
  opacity: 0.9;
  transition: transform 0.2s ease;
}
/* HERO */
header.wp-block-template-part:not(.header-scrolled)
.wp-block-navigation-submenu__toggle {
  color: #ffffff;
}
/* SCROLLED */
header.wp-block-template-part.header-scrolled
.wp-block-navigation-submenu__toggle {
  color: #212950;
}
/* hover desktop */
@media (min-width: 992px) {
  .wp-block-navigation-item:hover 
  .wp-block-navigation-submenu__toggle svg {
    transform: rotate(180deg);
  }
}
/* mobile open */
.wp-block-navigation-item.is-open 
.wp-block-navigation-submenu__toggle svg {
  transform: rotate(180deg);
}

/* ==================================================
   LOGO SYSTEM
================================================== */

.logo-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}
.logo-wrapper figure {
    margin: 0;
    line-height: 0;
    float: none !important;
}
.logo-wrapper img {
    height: 32px;
    width: auto;
    transition:
        opacity 0.3s ease,
        transform 0.3s ease,
        height 0.3s ease;
}
.logo-dark img {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
}
header.wp-block-template-part.header-scrolled .logo-wrapper img {
    height: 26px;
}
header.wp-block-template-part.header-scrolled .logo-light img {
    opacity: 0;
    transform: scale(0.96);
}
header.wp-block-template-part.header-scrolled .logo-dark img {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

/* ==================================================
   NAVIGATION
================================================== */

header.wp-block-template-part:not(.header-scrolled) .wp-block-navigation a {
    color: #ffffff !important;
    transition: color 0.3s ease;
}
header.wp-block-template-part.header-scrolled .wp-block-navigation a {
    color: #212950 !important;
    font-weight: 600;
}
.wp-block-navigation a {
    position: relative;
    text-decoration: none;
}
.wp-block-navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: #e55220;
    transition: width 0.25s ease;
}
.wp-block-navigation a:hover::after {
    width: 100%;
}
.wp-block-navigation .wp-block-navigation-item__label {
    overflow-wrap: break-word;
    line-height: 1.25;
}
.wp-block-navigation__submenu-container a > span {
    font-weight: 500!important;
}

/* ==================================================
   HERO elements
================================================== */

.wp-block-cover .wp-block-cover__image-background {
    filter: grayscale(60%) contrast(135%);
}
.hero-content h1,
.hero-content p,
.hero-content .wp-block-buttons {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

/* H1 */
.hero-content.is-visible h1 {
  opacity: 1;
  transform: translateY(0);
}

/* Akapit */
.hero-content.is-visible p {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.15s;
  font-size: clamp(1.1rem, 2.7vw, 1.6rem)!important;
}

/* Przyciski */
.hero-content.is-visible .wp-block-buttons {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.3s;
}


/* =========================================
   HERO – OVERLAY FADE-IN
========================================= */

.hero-dark {
  background: #1b223f;
}
.hero-dark .wp-block-cover__background {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero-dark.is-loaded .wp-block-cover__background {
  opacity: 0.7;
}
.hero-dark img {
  opacity: 0;
  transform: scale(1.08) translateY(var(--parallax-offset, 0px));
  transition: opacity 1.4s ease;
  will-change: transform;
}
.hero-dark.is-loaded img {
  opacity: 1;
}
.hero-dark {
  overflow: hidden;
}


/* =========================================
   HERO – margin
========================================= */

.hero-content h1 {
    font-size: 5.5rem;
    margin-bottom: 7rem;
    font-weight: 700;
    line-height: 1.0;
    letter-spacing: -0.02rem;
}
.hero-cta {
    margin-top: 3rem;
}

/* ==================================================
   VERTICAL RHYTHM
================================================== */

.wp-block-heading {
    margin-bottom: 1.5rem;
}

.wp-block-heading + p {
    margin-top: 0.5rem;
    font-size: 1.15rem;
}

/* Hero → następna sekcja */
.wp-block-cover + .wp-block-group,
.wp-block-cover + .wp-block-heading {
    margin-top: 4rem;
}

@media (min-width: 1400px) {
    .wp-block-cover + .wp-block-group,
    .wp-block-cover + .wp-block-heading {
        margin-top: 6rem;
    }
}

/* =========================================
   BUTTON BRAND STYLE
========================================= */

.wp-block-button__link {
    border-radius: 0;
    padding: 14px 28px;
    font-weight: 600;
    transition: all 0.25s ease;
}

/* Primary (brand orange) */
.wp-block-button.is-style-fill .wp-block-button__link {
    background: #e55220;
    color: #ffffff;
    border: none;
}

/* Outline 
.wp-block-button.is-style-outline .wp-block-button__link {
    background: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}*/

/* ================================
   OFFSET PODSTRON (FIXED HEADER)
================================ */

:root {
    --header-height: 110px; /* dopasuj dokładnie do headera */
}

/* przestrzeń między headerem a tytułem */
body:not(.home)
.wp-site-blocks
> .wp-block-group.is-layout-constrained:first-of-type {
    padding-top: var(--header-height);
}

/* zmniejszamy nadmiarowy margines H1 */
.wp-block-post-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* ================================
   USUNIĘCIE NADMIAROWEGO PADDINGU POD TYTUŁEM
================================ */

body:not(.home)
.wp-site-blocks
> .wp-block-group.is-layout-constrained:first-of-type {
    padding-bottom: 0;
}
.wp-block-post-title {
    margin-bottom: 1rem; /* kontrolowany odstęp */
}


/* =========================================
   HOME - ABOUT
========================================= */

.home-about {
    margin-top: 8rem;
    margin-bottom: 6rem;
}
.home-about h2 {
    font-size: 3rem;
}
.home-about p {
    font-size: 1.4rem;
}
.home-about-title {
    border-bottom: 2px solid #d9dde6;
}

/* =========================================
   MODEL DZIAŁANIA
========================================= */

.home-model {
  background: #f7f8f9;
  padding: 4rem 0 7rem 0;
  max-width: 1700px;
}

.model-inner {
  max-width: 1700px;
  margin: 0 auto;
}
/*
.model-claim {
  max-width: 80%;
  margin-bottom: 6rem;
}

.model-claim p {
  font-size: 3.6rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  line-height: 1.2;
}*/

.model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 4rem;
}

.model-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.model-item p {
  color: #6b7285;
  line-height: 1.6;
}

/* Subtelny separator na desktop */

@media (min-width: 1024px) {
  .model-item:not(:last-child) {
    border-right: 2px solid #d9dde6;
    padding-right: 2rem;
  }
}

/* Tablet */

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

  .model-item {
    border-right: none;
  }
}




/* =========================================
   STATS SECTION
========================================= */


.wp-block-columns.map-stats-section {
  align-items: center;     /* pionowe wyśrodkowanie obu kolumn */
}
.map-stats-section > .wp-block-column:last-child {
  display: flex;
  align-items: center;   /* pionowe wyśrodkowanie */
}
.map-stats-section {
  min-height: 600px;
  padding: 2rem 0 6rem 0;
}

@media (max-width: 992px) {

  .map-stats-section {
    align-items: stretch;
  }

  .map-stats-section > .wp-block-column:last-child {
    justify-content: center;
  }

}

@media (max-width: 1140px) {

  .map-stats-section {
    flex-direction: column;
  }

  .map-stats-section > .wp-block-column {
    width: 100% !important;
  }

  .map-column {
    margin-bottom: 4rem;
  }

}


.map-column { order: 1; }
.stats-column { order: 2; }

/*mapa*/

.map-column {
  position: relative;
  width: 85%;
  max-width: 850px;  
  aspect-ratio: 1 / 1;   /* kluczowe */
  margin-left: auto;
  margin-right: auto;
}

.map-background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.icon-stroke {
  stroke: #e55220;
  stroke-width: 2;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
}


/* animacja ikon */

.investment {
  opacity: 0;
  transform: scale(0.85);
  transform-origin: center;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.investment.is-visible {
  opacity: 1;
  transform: scale(1);
}

.icon-fill {
  fill: #e55220;
}


.wroclaw-point {
  fill: #e55220;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.wroclaw-point.pulse {
  animation: pulse-wroclaw 1.8s ease infinite;
}

@keyframes pulse-wroclaw {
  0%   { r: 8.5; opacity: 1; }
  50%  { r: 12; opacity: 1; }
  100% { r: 8.5; opacity: 1; }
}

/* =========================================
  TABELA - LICZBY
========================================= */

.stats-column {
  width: 100%;
}

.stats-table {
  border-collapse: collapse;
  width: 100%;
}

.stats-table tr + tr {
  height: 80px; 
}

.number-cell {
  width: 60%;
  text-align: right;     
  padding-right: 2rem;   
  vertical-align: baseline;
}

.label-cell {
  width: 40%;
  line-height: 1.2;
  text-align: left;      
  vertical-align:middle;
}

/* liczby */
.number {
  font-size: 14rem;
  letter-spacing: -1.3rem;
  font-weight: 300;
  color: #e55220;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}

/* etykiety */
.label-cell {
  font-size: 1.3rem;
  color: #E55220;
  text-transform: uppercase;
}


/* =========================================
   STATS – STACK BETWEEN 1024px–1540px
========================================= */

@media (min-width: 1141px) and (max-width: 1540px) {
.map-column {
    width: 100%;
  }
}
@media (min-width: 1541px) and (max-width: 1900px) {
  .number {
    font-size: 11rem;
    letter-spacing: -1rem;
  }
}
@media (min-width: 1367px) and (max-width: 1540px) {
  .number {
    font-size: 10rem;
    letter-spacing: -1rem;
  }
}
@media (min-width: 1201px) and (max-width: 1366px) {
  .number {
    font-size: 9rem;
    letter-spacing: -1rem;
  }
}
@media (min-width: 1141px) and (max-width: 1200px) {
  .number {
    font-size: 8rem;
    letter-spacing: -1rem;
  }
}
@media (min-width: 1024px) and (max-width: 1140px) {
  .number {
    font-size: 14rem;
    letter-spacing: -1rem;
  }
}


/* =========================================
   SECTORS SECTION
========================================= */
.home-sectors {
  background: #f2f3f4;
}

.sectors-section {
  padding: 7rem 0;

}

.sectors-header {
  max-width: 80%;
  margin-bottom: 60px;
}

.sectors-header h2 {
  font-size: 3rem!important;
  position: relative;
  margin-bottom: 2.5rem;
}

.sectors-header h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #e55220;
  margin-top: 1.5rem;
}

.sectors-header p {
  color: #6b7285;
  font-size: 1.25rem;
}

/* GRID */

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

/* CARD */

.sector-card {

  position: relative;
  background: transparent; /* tło przenosimy do pseudo-elementu */
}

/* geometryczna bryła */

.sector-card::before {

  content: "";
  position: absolute;
  inset: 0;

  background: #ffffff;

clip-path: polygon(
    0 0,
    calc(100% - 30px) 0,
    100% 30px,
    100% 100%,
    30px 100%,
    0 calc(100% - 30px)
  );

  box-shadow: 0 8px 20px rgba(33,41,80,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}

/* hover */

.sector-card:hover::before {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(33,41,80,0.08);
}

/* zawartość nad bryłą */

.sector-card-inner {
  position: relative;
  z-index: 1;
  padding: 50px;
}

@media (max-width: 768px) {

  .sector-card::before {
    clip-path: polygon(
      0 0,
      calc(100% - 10px) 0,
      100% 10px,
      100% 100%,
      10px 100%,
      0 calc(100% - 10px)
    );
  }

}

/* ICON */

.sector-icon {
  margin-bottom: 24px;
}

.sector-icon img {
  width: 82px;
  height: 82px;
}

/* TYPO */

.sector-card h3 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  line-height: 1.3;
}

.sector-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sector-card li {
  margin-bottom: 4px;
  color: #4b5563;
}

/* RESPONSIVE */

@media (max-width: 1200px) {
  .sectors-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .sectors-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================
   GLOBAL BUTTON SYSTEM – CLEAN VERSION
========================================= */

.wp-block-button__link,
.wp-element-button,
.button {

  display: inline-block;
  padding: 14px 28px;

  font-weight: 500;
  text-decoration: none;

  border-radius: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

/* -----------------------------------------
   PRIMARY – Brand Orange
----------------------------------------- */

.wp-block-button.is-style-fill .wp-block-button__link,
.button-primary {

  background: #e55220;
  color: #ffffff;
  border: none;
}

/* subtelne podniesienie */
.wp-block-button.is-style-fill .wp-block-button__link:hover,
.button-primary:hover {
  transform: translateY(-2px);
}

/* -----------------------------------------
   HERO OUTLINE (tekstowy)
----------------------------------------- */

.wp-block-button.is-style-outline .wp-block-button__link {

  background: transparent;
  border: none;
  box-shadow: none;
  outline: none;

  position: relative;

  color: #ffffff;
  padding: 14px 32px;
}

/* animowana linia */

.wp-block-button.is-style-outline .wp-block-button__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 2px;
  background: #e55220;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s ease;
}

.wp-block-button.is-style-outline .wp-block-button__link:hover::after {
  transform: scaleX(1);
}

/* =========================================
   SECTORS CTA ALIGNMENT
========================================= */

.sectors-cta {
  margin-top: 4rem;
  text-align: center;
}

.sectors-cta .wp-block-button {
  display: inline-block;
}


/* =========================================
   CLIENTS + TESTIMONIALS
========================================= */

.home-clients {
  background: #f7f8f9;
  padding: 7rem 0;
}

.clients-asym {
  max-width: 1700px;
  margin: 0 auto;

  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 8rem;

  align-items: start;
}

/* =========================================
   LEFT COLUMN
========================================= */

.clients-intro {
  position: sticky;
  top: 140px;
}

.clients-intro h2 {
  font-size: 2.6rem;
  margin-bottom: 1.5rem;
}

.clients-description {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #6b7285;
  max-width: 320px;
}

.clients-divider {
  width: 48px;
  height: 2px;
  background: #e55220;
  margin: 2.5rem 0;
}

/* Lista firm */

.clients-list {
  list-style: none;
  font-weight: 500;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.clients-list li {
  font-size: 1.15rem;
  color: #212950;
  opacity: 0.72;
  transition: opacity 0.25s ease,
              transform 0.25s ease;
}

.clients-list li:hover {
  opacity: 1;
  transform: translateX(4px);
}

/* =========================================
   RIGHT COLUMN
========================================= */

.clients-testimonials {
  min-width: 0;
}

.testimonials-label {
  font-size: 1.15rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6b7285;
  margin-bottom: 2rem;
}

/* =========================================
   TESTIMONIALS
========================================= */

.testimonial-wrapper {
  position: relative;
  min-height: 500px;
}

.testimonial {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition:
    opacity 0.8s ease,
    transform 0.8s ease,
    visibility 0.8s;
  z-index: 1;
}

.testimonial.is-active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  z-index: 2;
}

/* Quote */

.testimonial-quote {
  font-size: clamp(1.8rem, 2vw, 2.0rem);
  line-height: 1.25;
  font-weight: 600;
  color: #212950;
  max-width: 90%;
  margin-bottom: 2rem;
}

/* Scope */

.testimonial-scope {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #6b7285;
  margin-bottom: 4rem;
  max-width: 85%;
}
.testimonial-scope::before {
    content: "›";
    display: inline-block;
    left: 0px;
    color: rgb(229, 82, 32);
    font-weight: 500;
    margin-right: 1rem;
    font-size: 1.8rem;
}

/* Author */

.testimonial-author {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #212950;
  margin-bottom: 0.5rem;
}

.testimonial-person {
  font-size: 1.0rem;
  color: #6b7285;
  margin: .5rem 0;
}

/* =========================================
   DOTS
========================================= */

.testimonial-nav {
  display: flex;
  gap: 12px;
  margin-top: 4rem;
}

.testimonial-dot {
  width: 12px;
  height: 12px;
  border: none;
  background: #d9dde6;
  cursor: pointer;
  transition: background 0.3s ease;
}

.testimonial-dot.is-active {
  background: #e55220;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {

  .clients-asym {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .clients-intro {
    position: relative;
    top: auto;
  }

  .testimonial-wrapper {
    min-height: 520px;
  }

}

@media (max-width: 768px) {

  .home-clients {
    padding: 5rem 0;
  }

  .clients-intro h2 {
    font-size: 2.5rem;
  }

  .testimonial-quote {
    font-size: 1.8rem;
    max-width: 100%;
  }

  .testimonial-wrapper {
    min-height: 620px;
  }

}


/* =========================================
   HOME – VIDEO SECTION
========================================= */

.home-video-section {
 background: #1b223f;
}


.home-video {
  background: #1b223f;
  color: #ffffff;
  padding: 4rem 0;
}

.video-container {
  max-width: 1500px;
  margin: 0 auto;
  text-align: center;
}

/* ==============================
   HEADER
============================== */

.video-header {
  max-width: 800px;
  margin: 0 auto 4rem auto;
}

.video-header h2 {
  font-size: 3.5rem;
  margin-bottom: 2rem;
  line-height: 1.2;
    color: #ffffff;
}

.video-header p {
  font-size: 1.25rem;
  color: rgba(255,255,255,0.75);
}

/* ==============================
   VIDEO WRAPPER
============================== */

.video-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0,0,0,0.4);
}


/* Miniatura */

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play button */

.video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  
  width: 90px;
  height: 90px;

  background: #e55220;
  color: #ffffff;

  border: none;
  font-size: 2rem;
  cursor: pointer;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: transform 0.25s ease;
}

.video-play:hover {
  transform: translate(-50%, -50%) scale(1.08);
}

/* ==============================
   CTA
============================== */

.video-cta {
  margin-top: 4rem;
}

.video-cta .wp-element-button {
  display: inline-block;
  padding: 14px 28px;
  background: #e55220;
  color: #ffffff;
  border: none;
  transition: transform 0.25s ease;
}

.video-cta .wp-element-button:hover {
  transform: translateY(-2px);
}

/* ==============================
   RESPONSIVE
============================== */

@media (max-width: 992px) {

  .home-video {
    padding: 6rem 0;
  }

  .video-header h2 {
    font-size: 2.5rem;
  }

}

@media (max-width: 768px) {

  .home-video {
    padding: 5rem 0;
  }

  .video-header {
    margin-bottom: 3rem;
  }

  .video-cta {
    margin-top: 3rem;
  }

  .video-play {
    width: 70px;
    height: 70px;
    font-size: 1.5rem;
  }

}



/* ==============================
   VIDEO NAVY OVERLAY
============================== */

.video-thumbnail {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  overflow: hidden;
}

/* overlay */

.video-thumbnail::after {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(33, 41, 80, 0.35); /* brand navy 35% */

  transition: background 0.4s ease;
  pointer-events: none;
}



/* subtelne rozjaśnienie przy hover */

.video-thumbnail:hover::after {
  background: rgba(33, 41, 80, 0.22);
}

/* =========================================
   FINAL CTA
========================================= */

.home-cta-section {
background: #ffffff;
}

.home-cta {
padding: 7rem 0;
border-top: 1px solid #e6ebf2;
background: #ffffff;
}

/* layout */
.home-cta .cta-inner {
margin: 0 auto;
display: grid;
grid-template-columns: 3fr 1fr;
gap: 3rem;
align-items: center;
}

.cta-texts {
/*max-width: 560px;*/
}

/* tytuł */

.home-cta h2 {
line-height: 1.2;
margin-bottom: 1rem;
color: #212950;
}

/* tekst */

.home-cta p {
font-size: 1.2rem;
color: #6b7285;
margin: 0;
/*max-width: 520px;*/
}

/* przycisk */

.cta-button .wp-element-button {
padding: 16px 34px;
background: #e55220;
color: #ffffff;
border: none;
text-decoration: none;
transition: all .25s ease;
/*box-shadow: 0 6px 18px rgba(229,82,32,0.25);*/
}

/* hover */

.cta-button .wp-element-button:hover {
transform: translateY(-2px);
background: #e55220;
}


/* strzałka */
.cta-button .wp-element-button::after {
content: "→";
margin-left: 10px;
transition: transform .25s ease;
display: inline-block;
}

.cta-button .wp-element-button:hover::after {
transform: translateX(4px);
}

/* tablet */

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

}

/* mobile */

@media (max-width: 768px) {
.home-cta {
padding: 6rem 0;
}
.home-cta h2 {
font-size: 2.2rem;
}

}

/* =========================================
   OFERTA – HERO DECOR
========================================= */

h1.wp-block-heading::after {
  content: "";
  display: block;
  width: 68px;
  height: 2px;
  background: #e55220;
  margin-top: 1.5rem;
}


/* =========================================
   OFERTA – WRAPPER
========================================= */

.offer-container {
  max-width: 1500px;
  margin: 0 auto;
}


/* =========================================
   GLOBAL CLAIM SYSTEM
========================================= */

.offer-claim {
  max-width: 900px;
  margin-bottom: 5rem;
}

.offer-claim p {
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: 700;
  color: #212950;
}



/* =========================================
   OFFER MODEL – TABS
========================================= */

.offer-model {
  background: #ffffff;
  padding: 7rem 0;
}

.offer-claim {
  max-width: 900px;
  margin-bottom: 5rem;
}

.offer-claim p {
  font-size: 2.2rem;
  line-height: 1.3;
  font-weight: 700;
  color: #212950;
}


.offer-model-layout {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 6rem;
  margin-top: 6rem;
}

/* LEWA */

.offer-model-tabs {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.offer-model-tab {
  background: none;
  border: none;
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: left;
  color: #6b7285;
  cursor: pointer;
  padding: 1rem 0 0 0;
  transition: color 0.3s ease;
  position: relative;
  border-bottom: 1px solid #d9dde6;
}

.offer-model-tab::after {
  content: "";
  display: block;
  width: 0%;
  height: 2px;
  background: #e55220;
  transition: width 0.3s ease;
  margin-top: 2rem;
}

.offer-model-tab.active {
  color: #212950;
}

.offer-model-tab.active::after {
  width: 60px;
}

/* PRAWA */

.offer-model-content {
  position: relative;
  /*border-right: 2px solid #d9dde6;*/
}

.offer-model-panel {
  display: none;
  animation: fadeIn 0.4s ease forwards;
}

.offer-model-panel.active {
  display: block;
}

.offer-model-panel ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.offer-model-panel li {
  padding-left: 18px;
  position: relative;
  font-size: 1.15rem;
}

.offer-model-panel li::before {
  content: "›";
  display: inline-block;
  left: 0;
  color: #e55220;
  font-weight: 500;
  margin-right: 3rem;
  font-size: 1.8rem;
}

/* Responsive */

@media (max-width: 992px) {
  .offer-model-layout {
    grid-template-columns: 1fr;
  }

  .offer-model-panel {
    position: relative;
    opacity: 1;
    transform: none;
    margin-bottom: 3rem;
  }
}


/* =========================================
   OFERTA – BLOK II (PROCES)
========================================= */

.offer-process {
  background: #F7F8F9;
  padding: 7rem 0;
}

.process-claim {
  max-width: 750px;
  margin-bottom: 6rem;
}

.process-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
}
/*
.process-grid::before {
  content: "";
  position: absolute;
  top: 2rem;
  left: 0;
  width: 100%;
  height: 1px;
  background: #d9dde6;
}
*/
.process-step h3 {
  font-size: 1.4rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.process-step p {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #6b7285;
}

.process-number {
  background: #F7F8F9;
  padding-right: 1rem;
  font-size: 2.5rem;
  color: #e55220;
}

/* Responsive */

@media (max-width: 1400px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .process-grid::before {
    content: none;
  }
}

@media (max-width: 768px) {
  .process-grid {
    grid-template-columns: 1fr;
  }

  .process-grid::before {
    content: none;
  }
}


/* =========================================
   OFERTA – ZAKRES REALIZACJI
========================================= */

.offer-scope {
  padding: 6rem 0 9rem 0;
  background: #F7F8F9;
    border-top: 1px solid #d9dde6;
}


/* intro */

.scope-intro {
  max-width: 720px;
  margin-bottom: 4rem;
}

.scope-intro h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: #212950;
}

.scope-intro p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #5e657c;
}


/* timeline container */

.scope-timeline {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin-top: 6rem;
}


/* horizontal line */

.scope-timeline::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 8px;
  width: calc(100vw - 8px);
  height: 2px;
  background: #e55220;
}

/* step */

.scope-step {
  position: relative;
  text-align: center;
  flex: 1;
}

/* dot */
.scope-dot {
  width: 16px;
  height: 16px;
  background: #F7F8F9;
  border: 2px solid #e55220;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  margin-left: 0;
}

/* label */

.scope-label {
  margin-top: 2rem;
  font-size: 1.15rem;
  color: #212950;
  font-weight: 600;
  text-align: left;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.35;
    
}
.scope-label span {
  display: block;
}

@media (max-width: 768px) {

.scope-timeline::before {
  display: none;
}

/* kontener timeline */

.scope-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 2.2rem;
  margin-left: 2rem;
  padding-left: 2.5rem;

}

/* pionowa linia */

.scope-timeline::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 7px;
  height: calc(100% + 7.5rem);
  width: 1px;
  background: #e55220;
  z-index: 0;
}

/* krok */

.scope-step {
  position: relative;
  display: flex;
  align-items: center;
  z-index: 1;
}

/* kropka */

.scope-dot {
  position: absolute;
  left: -2.5rem;
  width: 14px;
  height: 14px;
  background: #F7F8F9;
  border: 1px solid #e55220;
  border-radius: 50%;
  z-index: 2;
}

/* etykieta */

.scope-label {
  margin-left: 1rem;
  text-align: left;
  font-size: 1.15rem;
  margin-top: 0;
}
}


/* =========================================
   OFERTA – BLOK III (FUNDAMENTY)
========================================= */

.offer-foundations {
  background: #F2F3F4;
  padding: 7rem 0;
  position: relative;
}
/* subtelna linia konstrukcyjna */

.offer-foundations::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: rgba(33,41,80,0.09);
}

/* CLAIM */

.foundations-claim {
  max-width: 900px;
  margin-bottom: 10rem;
}

.foundations-claim p {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
}

/* BLOK */

.foundation-block {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 8rem;
  position: relative;
}

/* STRZAŁKA */

.foundation-arrow {
  font-size: 7rem;
  font-weight: 100;
  color: rgba(229,82,32,0.85);
  line-height: 1;
  user-select: none;
}

/* Treść */

.foundation-content {
  max-width: 520px;
}

.foundation-content h3 {
  font-size: 1.9rem;
  margin-bottom: 1.5rem;
  position: relative;
}
/*
.foundation-content h3::after {
  content: "";
  display: block;
  width: 48px;
  height: 2px;
  background: #e55220;
  margin-top: 1.2rem;
}*/

.foundation-content p {
  font-size: 1.1rem;
  line-height: 1.7;
  color: #6b7285;
}

/* Zdjęcie */

.foundation-visual img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  /*box-shadow: 0 50px 90px rgba(33,41,80,0.08);*/
}

.foundation-visual {
  position: relative;
}

.foundation-visual::before {
  content: "";
  position: absolute;
  inset: -40px;
  background-image:
    linear-gradient(#d9dde6 1px, transparent 1px),
    linear-gradient(90deg, #d9dde6 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
  z-index: 0;
}

/* Reverse */

.foundation-block--reverse .foundation-content {
  order: 3;
}
.foundation-block--reverse .foundation-visual {
  order: 2;
}


/* Responsive */

@media (max-width: 1200px) {

  .offer-foundations::before {
    display: none;
  }
  .foundation-block {
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 8rem;
  }

  .foundation-arrow {
    font-size: 3rem;
  }

}

/* =========================================
   OFERTA – SEKTORY (IMAGE VERSION)
========================================= */

.offer-sectors {
  background: #ffffff;
  padding: 8rem 0;
}

/* accordion */
.sector-item {
  border-bottom: 1px solid #d9dde6;
  transition: background 0.3s ease;
  padding: 0 2rem;
}

.sector-item:hover {
  background: #fafbfe;
}


/* toggle button */

.sector-toggle {
  width: 100%;
  background: none;
  border: none;
  padding: 2.4rem 0;
  display: grid;
  grid-template-columns: 90px 1fr 40px;
  align-items: center;
  cursor: pointer;
  transition: background 0.25s ease;
}


/* icon */

.sector-icon {
  display: flex;
  align-items: center;
}

.sector-icon img {
  width: 64px;
  height: auto;
}


/* title */

.sector-title {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  margin-left: 2rem;
  color: #212950;
  text-align: left;
  transition: transform 0.25s ease;
}
.sector-item:hover .sector-title {
  transform: translateX(4px);
}

/* plus */

.sector-plus {
  font-size: 40px;
  font-weight: 300;
  color: #e55220;
  line-height: 1;
  display: flex;
  justify-content: center;
  transition: transform 0.3s ease;
}

.sector-item:hover .sector-plus {
  transform: scale(1.15);
}

/* active state */

.sector-item.active {
  background: #F7F8F9;
}

.sector-item.active .sector-plus {
  transform: rotate(45deg);
}

/* accordion content */
.sector-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}
.sector-content ul {
  padding: 0 0 2.5rem 8rem;
  margin: 0;
  list-style: none;
}

/* list style */
.sector-content li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 10px;
  color: #5e657c;
  font-size: 0.98rem;
  line-height: 1.6;
}

.sector-content li::before {

  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 6px;
  height: 6px;
  background: #e55220;
  border-radius: 1px;
}

@media (max-width: 768px) {

.sector-toggle {
  grid-template-columns: 56px 1fr 28px;
  gap: 12px;
  padding: 1.8rem 0;
}

.sector-icon img {
  width: 42px;
}

.sector-title {
  font-size: 1.15rem;
  line-height: 1.35;
}

.sector-plus {
  font-size: 24px;
}

.sector-content li {
  font-size: 0.92rem;
  line-height: 1.55;
}

}

/* =========================================
   OFERTA – BEZPIECZEŃSTWO I STANDARDY
========================================= */

.offer-standards {
  background-color: #1b223f;
  color: #ffffff;
  padding: 7rem 0;
  position: relative;
  overflow: hidden;
}

.offer-standards::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    to bottom,
    rgba(27,34,63,0.35) 0%,
    rgba(27,34,63,0.15) 60%,
    rgba(27,34,63,0.35) 100%
  );

  z-index: 1;
}

.offer-standards::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    url("/wp-content/uploads/2026/03/devpol-safety.webp");
  background-repeat: no-repeat;
  background-position: center center;
  opacity: 0.62;
  pointer-events: none;
}

/* =========================================
   LAYOUT
========================================= */

.standards-layout {
  position: relative;
  z-index: 2;

  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 5rem;
}

/* =========================================
   LEFT COLUMN
========================================= */

.standards-main {
  max-width: 900px;
}

.standards-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.78);
  margin-top: 3rem;
  margin-bottom: 4rem;
  max-width: 80%;
}

/* =========================================
   AWARD FEATURE
========================================= */

.standards-award-feature {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 4rem;
  max-width: 90%;
}

.award-image img {
  width: 170px;
  display: block;
  box-shadow:
    0 10px 30px rgba(0,0,0,0.35);
  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.award-image:hover img {
  transform: translateY(-4px);
  opacity: 0.92;
}

.award-text {
  padding-left: 2rem;
  border-left: 1px dashed #e55220;
}

.standards-highlight {
  margin: 0;
  font-size: 1.0rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.92);
}

/* =========================================
   RIGHT COLUMN
========================================= */

.standards-certificates {
  //padding-top: 9rem;
}

.certificates-intro {
  font-size: 1.3rem;
  font-weight: 600;
  line-height: 1.4;
  color: rgba(255,255,255,0.99);
  margin-bottom: 4rem;
  max-width: 85%;
  padding-left: 2rem;
  border-left: 2px solid #e55220;
}

/* =========================================
   CERTIFICATES SLIDER
========================================= */

.certificates-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: 1rem;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color:
    rgba(255,255,255,0.2)
    transparent;
}

/* Webkit */

.certificates-slider::-webkit-scrollbar {
  height: 6px;
}

.certificates-slider::-webkit-scrollbar-track {
  background: transparent;
}

.certificates-slider::-webkit-scrollbar-thumb {
  background: rgba(255,255,255,0.18);
}

/* Card */

.certificate-card {
  flex: 0 0 auto;
  scroll-snap-align: start;
}

.certificate-card img {
  width: 200px;
  display: block;

  box-shadow:
    0 12px 32px rgba(0,0,0,0.35);

  transition:
    transform 0.35s ease,
    opacity 0.35s ease;
}

.certificate-card:hover img {
  transform: translateY(-6px);
  opacity: 0.94;
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {

  .standards-layout {
    grid-template-columns: 1fr;
    gap: 5rem;
  }

  .standards-certificates {
    padding-top: 0;
  }

}

@media (max-width: 768px) {

  .offer-standards {
    padding: 6rem 0;
  }

  .standards-award-feature {
    flex-direction: column;
    align-items: flex-start;
  }

  .award-text {
    padding-left: 0;
    padding-top: 1.5rem;

    border-left: none;
    border-top: 3px solid #e55220;
  }

  .standards-text {
    max-width: 100%;
  }

  .certificate-card img {
    width: 190px;
  }

}



/* =========================================
   OFERTA – CHECKLISTA INWESTORA
========================================= */

.offer-fit {
padding: 7rem 0;
background: #ffffff;
}

/* nagłówek */

.offer-fit h2 {
font-size: 2.2rem;
font-weight: 600;
margin-bottom: 3.5rem;
color: #212950;
}

/* lista */

.fit-checklist {
display: grid;
grid-template-columns: repeat(2, 1fr);
column-gap: 3rem;
row-gap: 1.8rem;
}

/* wiersz */

.fit-row {
display: flex;
align-items: flex-start;
gap: 18px;
padding-bottom: 1.4rem;
border-bottom: 1px solid #e6ebf2;
transition: all .25s ease;
}

/* hover */

.fit-row:hover {
border-color: #e55220;
}

/* check */

.fit-check {
width: 18px;
height: 18px;
margin-top: 4px;
border: 2px solid #e55220;
border-radius: 3px;
position: relative;
flex-shrink: 0;
}

/* znak check */

.fit-check::after {
content: "";
position: absolute;
left: 3px;
top: 0px;
width: 8px;
height: 12px;
border-right: 2px solid #e55220;
border-bottom: 2px solid #e55220;
transform: rotate(45deg);
}

/* tekst */

.fit-row p {
margin: 0;
font-size: 1.15rem;
line-height: 1.45;
color: #3d445c;
font-weight: 500;
}

/* tablet */

@media (max-width: 1024px) {
.fit-row p {
font-size: 1.25rem;
}
}

/* mobile */

@media (max-width: 640px) {
.offer-fit {
padding: 5rem 0;
}
.fit-checklist {
grid-template-columns: 1fr;
}
.fit-row p {
font-size: 1.15rem;
}
}

/* =========================================
   OFERTA – FINAL CTA
========================================= */

.offer-cta {
background: #f7f8f9;
padding: 7rem 0;
border-top: 1px solid #e6ebf2;

}

/* layout */

.offer-cta-inner {
display: grid;
grid-template-columns: 3fr 1fr;
gap: 3rem;
align-items: center;
}

/* blok tekstowy */

.offer-cta-texts {
max-width: 1140px;
}

/* tytuł */

.offer-cta-title {
font-size: 2.4rem;
line-height: 1.25;
font-weight: 600;
margin-bottom: 1.2rem;
color: #212950;
}

/* tekst */

.offer-cta-text {
font-size: 1.15rem;
line-height: 1.7;
color: #6b7285;
}

/* przycisk */

.offer-cta-button .wp-element-button {
background: #e55220;
color: #ffffff;
border: none;
padding: 16px 36px;
font-weight: 600;
text-decoration: none;
transition: all .25s ease;
}

/* hover (subtelny) */

.offer-cta-button .wp-element-button:hover {
background: #e55220;
transform: translateY(-2px);
}

.offer-cta-button .wp-element-button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(229,82,32,0.25);
}

.offer-cta-button .wp-element-button::after {
content: "→";
display: inline-block;
margin-left: 10px;
font-size: 1.1em;
transition: transform .25s ease;
}
.offer-cta-button .wp-element-button:hover::after {
transform: translateX(4px);
}

/* tablet */

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

.offer-cta-button {
margin-top: 0.5rem;
}

}

/* mobile */

@media (max-width: 768px) {

.offer-cta {
padding: 6rem 0;
}

.offer-cta-title {
font-size: 1.9rem;
}

}

/* =========================================
   COMPANY
========================================= */

.company-container {
  max-width: 1500px;
  margin: 0 auto;
}

.company-about {
margin-top:7rem;
margin-bottom:7rem;
}

.company-about-grid {
display:grid;
grid-template-columns:1fr 1fr;
gap:4rem;
margin-top:2rem;

}

.company-about-grid p {
font-size:1.2rem;
line-height:1.6;
color:#4b5563;

}

/* TABLET */

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

/* MOBILE */

@media (max-width:768px){

.company-about{
margin-top:5rem;
margin-bottom:5rem;
  }
.company-about-grid p{
font-size:1.1rem;
  }
}

.company-data {
margin-bottom:6rem;
padding-top:4rem;
border-top: 1px solid #d9dde6;
}

.company-data-grid {
display:grid;
grid-template-columns:repeat(3,1fr);
gap:2rem;
margin-top:2rem;
}

.data-label {
display:block;
font-size:.9rem;
color:#6b7285;
margin-bottom: .5rem;
border-bottom: 1px solid #d9dde6;
}

.data-value {
font-size:1.1rem;
font-weight:600;
}

.company-stats {
margin-top: 8rem;
margin-bottom: 8rem;
}

.company-competence {
margin-top: 8rem;
margin-bottom: 8rem;
}

.section-intro {
max-width: 700px;
margin-top: 1rem;
color: #6b7285;
}

.competence-grid {
display: grid;
grid-template-columns: repeat(2,1fr);
gap: 3rem;
margin-top: 3rem;
}

.competence-item h3 {
font-size: 1.4rem;
margin-bottom: .6rem;
}

.competence-item p {
color: #6b7285;
line-height: 1.6;

}

.stats-grid {
display: grid;
grid-template-columns: repeat(4,1fr);
gap: 4rem;
margin-top: 3rem;

}
.stat-item {
border-left: 2px solid #e55220;
padding-left: 1.5rem;
}

.stat-number {
font-size: 4rem;
font-weight: 700;
line-height: 1;
color: #212950;
}

.stat-label {
margin-top: .5rem;
font-size: 1.15rem;
color: #6b7285;
line-height: 1.4;
}

.company-organisation {
max-width: 1500px;
padding:7rem 0;
border-top:1px solid #e6ebf2;
}

.organisation-header {
margin-bottom:4rem;
}

.organisation-grid {
display:grid;
grid-template-columns:repeat(3,1fr);
gap:3rem;
}

.organisation-item h3 {
font-size:1.4rem;
margin-bottom:0.8rem;
}

.organisation-item p {
color:#6b7285;
line-height:1.6;
}

@media (max-width:1024px){
.organisation-grid{
grid-template-columns:1fr;
}
}

.company-safety{
background:#f7f8f9;
padding:6rem 0;
text-align:center;
}

.company-safety h2{
font-size:2.4rem;
margin-bottom:1.5rem;
}

.company-safety p{
max-width:700px;
margin:0 auto;
color:#6b7285;
line-height:1.6;
}

/* =========================================
   PROJECTS
========================================= */
/*
.projects-grid {
display:grid;
grid-template-columns:repeat(2,1fr);
gap:4rem;
}

.project-card {
background:#fff;
}

.project-link {
text-decoration:none;
color:inherit;
display:block;
}

.project-image img {
width:100%;
height:320px;
object-fit:cover;
}

.project-body {
margin-top:1rem;
}

.project-title {
font-size:1.4rem;
margin-bottom:.5rem;
}

.project-meta {
font-size:.9rem;
color:#6b7285;
display:flex;
gap:1rem;
margin-bottom:.5rem;
}

.project-scope {
color:#4b5563;
line-height:1.5;
}

@media (max-width:1024px){
.projects-grid{
grid-template-columns:1fr;
}
}
*/

/*BREADCRUMBS*/

.breadcrumbs-wrapper{
margin-bottom:20px;
}
.breadcrumbs{
font-size:0.9rem;
margin-bottom:20px;
color:#6b7285;
}
.breadcrumbs a{
color:#ffffff;
text-decoration:none;
}
.breadcrumbs a:hover{
color:#e55220;
}
.breadcrumbs span{
color:#ffffff;
margin:0 8px;
}
.breadcrumbs ol{
list-style:none;
margin:0;
padding:0;
display:flex;
gap:8px;
}
.breadcrumbs li + li::before{
content:"/";
margin:0 6px;
color:#e55220;
}

/* ukrycie breadcrumbs w edytorze */
.editor-styles-wrapper .breadcrumbs-shortcode {
display:none !important;
}


/*Projects - single*/
.project-hero-title {
    max-width: 75%;
}
.project-hero-desc {
    max-width: 50%;
    line-height: 1.35;
}
.project-metrics-group {}
.project-metrics {
    margin-bottom: 6rem;
}
.project-metrics-col {
    border-left: 2px solid #e55220;
}
.project-metrics-label {
   margin-bottom: 0;
   padding-left: 2rem;
}
.project-metrics-desc {
    margin-top: 0;
    padding-left: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.project-metrics-desc-long {
    margin: 3rem auto;
  font-size: 1.2rem;
  line-height: 1.5;
}
.project-gallery-group,
.project-yt-video-group,
.project-btn-group {
    margin-bottom: 6rem;
}
.project-btn-powrot {
    margin: 0 auto!important;
}

/*Projects - archive*/

.projects-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}
.project-card {
  padding: 0;
  background: #fff;
  margin-bottom: 3rem;
  clip-path: polygon(0 0, calc(100% - 30px) 0, 100% 30px, 100% 100%, 30px 100%, 0 calc(100% - 30px));
  box-shadow: 0 8px 20px rgba(33, 41, 80, 0.09);
}
.project-card .wp-block-columns {
  gap: 4rem;
  align-items: stretch;
}
.project-media .wp-block-post-featured-image {
  margin: 0; 
}
.project-media {
  display: flex;
}
.project-media .wp-block-post-featured-image {
  margin: 0;
  height: 100%;
  flex: 1;
  aspect-ratio: 3/2 !important;
  overflow: hidden;
  ax-height: 400px;
}
.project-media .wp-block-post-featured-image a {
  display: block;
  height: 100%;
}
.project-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.project-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-content-inner {
  padding-right: 4rem;
} 
.project-content h3 {
  margin-bottom: 1rem;
}
.project-content h3 a {
  text-decoration: none;
  color: var(--wp--preset--color--brand-navy);
  transition: color .45s ease;
}
.project-content h3 a:hover {
  color: var(--wp--preset--color--brand-orange);
  transition: color .45s ease;
}
.project-content .project-btn {
    margin-top: 2rem;
}
.project-meta {
  font-size: 1.3rem;
  color: var(--wp--preset--color--neutral-grey);
  margin-bottom: 1rem;
  opacity: .5;
}
.project-meta p {
  text-align: left;
      margin-top: 0;
}
.project-desc {
  font-size: 1.2rem;
  line-height: 1.5;
  margin-top: 4rem;
  color: var(--wp--preset--color--brand-navy);
}
.project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card:hover {
  transform: translateY(-4px);
}
.project-card:hover .project-media img {
  transform: scale(1.15);
}

/*fade-in*/

.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1700px) {
    li.realizacje .wp-block-group,
    li.realizacje .wp-block-columns {
        padding-left: 0!important;
        padding-right: 0!important;
    }
    .project-content {
     padding: 4rem 4rem 4rem 0; 
    }  
}
@media (max-width: 900px) {

  .project-card .wp-block-columns {
    flex-direction: column;
  }
  .project-content-inner {
    padding-right: 4rem;
    margin-left: 4rem;
  }
    .project-content .project-btn {
    margin: 2rem auto auto 4rem;
}
}

/*Pagination*/

.pagination {
    margin: 1rem 0 4rem 0;
    float: right;
}
.pagination .wp-block-query-pagination-numbers a {
    text-decoration: none;
    padding: .9rem 1.1rem;
    background: #ffffff;
}
.pagination a.page-numbers {
    padding: .9rem 1.1rem;
    background: #ffffff;
    color: var(--wp--preset--color--brand-orange);
}
.pagination .current {
    padding: .9rem 1.1rem;
    background: var(--wp--preset--color--brand-orange);
    color: #ffffff;
}

.pagination .wp-block-query-pagination-numbers {
    
}
.wp-block-query-pagination-previous,
.wp-block-query-pagination-next {
   text-decoration: none;
   padding: .9rem 1.1rem;
   color: var(--wp--preset--color--brand-orange);
}


/* =========================================
   NEWS
========================================= */

/*ARCHIVE*/
.news-archive-single {
    background: #ffffff;
    clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
  box-shadow: 0 8px 20px rgba(33,41,80,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}
.news-archive-title {
    font-size: 1.4rem;
    line-height: 1.25;
}
.news-archive-title {
    padding: 1rem 2rem 3rem 2rem;
}
.news-archive-date {
    padding: 1rem 2rem 0 2rem;
}
.news-archive-img {
    clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
  box-shadow: 0 8px 20px rgba(33,41,80,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}

/*SINGLE*/
.news-single-content p {
    margin-bottom: 5rem;
}
.wp-block-image {
    margin-bottom: 3rem;
}
.wp-block-image :where(figcaption) {
    margin-bottom: 1.5em;
    margin-top: .9em;
    font-size: 0.85rem;
    font-style: italic;
    border-bottom: 1px solid #d9dde6;
    padding-bottom: 1rem;
}
blockquote.wp-block-quote {
    position: relative;
    box-sizing: border-box;
    overflow-wrap: break-word;
    padding: 1rem 1rem 1rem 2rem;
    margin-bottom: 5rem;
    &:before {
		content: "”";
		font-family: Gotham, "Helvetica Neue", Helvetica, Arial, "sans-serif";
		position: absolute;
		right: 100%;
		font-size: 120px;
		line-height: 0px;
		top: 50px;
		color: #d9dde6;
	}
	&:after {
		content: '';
		display: block;
		position: absolute;
		top: 105%;
		width: 80px;
		height: 2px;
		background: #e55220;
		left: 2rem;
	}
}

.wp-block-quote p {
    margin: 0!important;
    font-style: italic;
}
.wp-block-quote p em {
    font-style: italic;
}



/*read more*/
h3.news-single-read-more-section-title {
    font-size: 1.8rem;
    margin-top: 0;
    margin-bottom: 3rem;
}
h3.news-single-read-more-section-title::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    margin-top: 1.5rem;
    background: rgb(229, 82, 32);
}
.news-single-read-more-single {
    background: #ffffff;
    clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
    box-shadow: 0 8px 20px rgba(33, 41, 80, 0.07);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    z-index: 0;
}
.news-single-read-more-img {
    clip-path: polygon(
    0 0,
    calc(100% - 20px) 0,
    100% 20px,
    100% 100%,
    20px 100%,
    0 calc(100% - 20px)
  );
  box-shadow: 0 8px 20px rgba(33,41,80,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}
.news-single-read-more-title {
    font-size: 1.4rem;
    line-height: 1.25;
}
.news-single-read-more-title {
    padding: 1rem 2rem 3rem 2rem;
}
.news-single-read-more-date {
    padding: 1rem 2rem 0 2rem;
}


/* =========================================
   JOBS
========================================= */


/*SINGLE*/
.job-meta {
  margin-bottom: 6rem;
  padding: 3rem;
  margin-top: 0;
  background: #ffffff;
    clip-path: polygon(
    0 0,
    calc(100% - 30px) 0,
    100% 30px,
    100% 100%,
    30px 100%,
    0 calc(100% - 30px)
  );
  box-shadow: 0 8px 20px rgba(33,41,80,0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}
.job-meta-col {
    border-left: 2px solid #d9dde6;
}

.job-meta-label {
    margin-bottom: 0;
    padding-left: 2rem;
}
.job-meta-desc {
    margin-top: 0;
    padding-left: 2rem;
    font-size: 1.25rem;
    font-weight: 600;
}
.job-content-label {
    font-size: 1.1rem;
    font-weight: 600;
}
.job-content {
    margin-bottom: 3rem;
}
.job-content-cols {
    
}
.job-content-col-left,
.job-content-col-right {
    padding-right: 2rem;
}

.job-content ul {
  padding-left: 20px;
}
.job-content li {
  margin-bottom: 6px;
}
.job-meta-desc p {
  margin: 0;
}

/*ARCHIVE*/
li.oferty-pracy::before {
    content: "→";
    display: block;
    left: 0px;
    color: rgb(229, 82, 32);
    font-weight: 400;
    margin-right: 3rem;
    font-size: 1.8rem;
    float: left;
} 
.job-archive-single {
    padding-bottom: 3rem;
    border-bottom: 2px solid #d9dde6;
    margin-bottom: 3rem;
    display: block;
}
.job-archive-title {
    
}
.job-archive-date {
    opacity: .5;
}
.job-archive-more-group {
    position: absolute;
    display: block!important;
} 
.job-archive-more {
    display: block;
    float: right;
    position: relative;
}

/* =========================
  JOB FORM
========================= */

.job-form-group {
     background: #ffffff;
}

.devpol-job-form h3 {
    margin-top:1rem;
    margin-bottom: 4rem;
}

.devpol-job-form h3::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: #e55220;
    margin-top: 1.5rem;
}

.devpol-job-form {
  padding: 6rem 0 6rem 0;
  margin-top: 6rem;
}

.devpol-job-form *,
.devpol-job-form *::before,
.devpol-job-form *::after {
  box-sizing: border-box;
}

/* usuwa śmieci z CF7 */
.devpol-job-form br {
  display: none;
}

/* =========================
   GRID
========================= */

.job-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  padding-bottom: 3rem;
}

.job-form-row.full {
  grid-template-columns: 1fr;
}

/* CF7 wrapper fix */
.job-form-row .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
}

/* =========================
   INPUTS
========================= */

.devpol-job-form input,
.devpol-job-form textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid #dcdfe6;
  background: #ffffff;
  font-size: 15px;
  font-family: inherit;
  transition: all 0.25s ease;
}

.devpol-job-form input:focus,
.devpol-job-form textarea:focus {
  outline: none;
  border-color: #e8491d;
  box-shadow: 0 0 0 1px #e8491d;
}

.devpol-job-form textarea {
  min-height: 140px;
  resize: vertical;
}

/* =========================
   FILE
========================= */

.job-form-file {
  display: block;
    margin-bottom: 3rem;
}

.file-label {
    display: block;
    margin-bottom: 8px;
    font-size: 1.2rem;
    font-weight: 600;
    color: #2f3a6b;
    margin: 2rem 0 1rem 0;
}

.job-form-file input[type="file"] {
  width: 100%;
  padding: 14px;
  border: 1px dashed #dcdfe6;
  background: #f9fafc;
  cursor: pointer;
}

.job-form-file input[type="file"]:hover {
  border-color: #e8491d;
}

/* =========================
   CONSENT
========================= */

.consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.5;
}

/* checkbox wrapper */
.consent-check {
  display: flex;
  align-items: flex-start;
}

/* usuwa CF7 label (śmieciowy) */
.consent-check .wpcf7-list-item-label {
  display: none !important;
}

/* checkbox */
.consent-wrapper input[type="checkbox"] {
  margin-top: 4px;
  flex-shrink: 0;
  accent-color: #e8491d;
  zoom: 1.25;
}

/* tekst */
.consent-text {
  display: block;
  flex: 1;
  font-size: .9rem;
}


/* =========================
   BUTTON
========================= */

.job-form-submit input[type="submit"] {
  background: #e55220;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 1.15rem;
  font-weight: 600;
  text-transform: none;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  max-width: 33%;
  margin: 0 auto;
}

.job-form-submit input[type="submit"]:hover {
  background: #e55220;
  transform: translateY(-2px);  
}

/* =========================
   STATES
========================= */

.wpcf7-not-valid {
  border-color: #e11d48;
}
.wpcf7 form .wpcf7-response-output {
    margin: 0rem 2rem 4rem;
    padding: 2rem 2rem;
    border: 2px solid #00a0d2;
    background: #f9fafc;
    font-size: 1.1rem;
    text-align: center!important;
    position: relative !important;
    top: -4rem;
}
.wpcf7-mail-sent-ok {
  border-color: #22c55e;
}
.job-form-file p {
    font-size: .9rem;
    color: #6b7280;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .job-form-row {
    grid-template-columns: 1fr;
  }

  .devpol-job-form {
    max-width: 100%;
  }
}


/* =========================================
   lightbox
========================================= */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 15, 30, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.35s ease, background 0.35s ease;
}
.lightbox.is-open {
  opacity: 1;
  background: rgba(10, 15, 30, 0.92);
}
.lightbox-inner {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  transform: scale(0.96);
  opacity: 0;
  transition: transform 0.35s ease, opacity 0.35s ease;
}
.lightbox.is-open .lightbox-inner {
  transform: scale(1);
  opacity: 1;
}
.lightbox img {
  width: 100%;
  height: auto;
  display: block;
  transition: opacity 0.3s ease;
  opacity: 1;
}
.lightbox img.is-fading {
  opacity: 0;
}
.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  font-size: 32px;
  color: white;
  background: #e55220;
  padding: 0 .7rem;
  border: none;
  cursor: pointer;
}
.lightbox-slider {
  overflow: hidden;
  width: 80vw;
  max-width: 1200px;
}
.lightbox-track {
  display: flex;
  transition: transform 0.4s ease;
  transform: translateX(0%);
}
.slide {
  width: 100%;
  flex-shrink: 0;
  object-fit: contain;
}
.lightbox-nav {
  position: absolute;
  inset: 0;
}
.nav-zone {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  cursor: pointer;
  z-index: 2;
}

/* gradienty */
.nav-prev {
  left: 0;
  background: linear-gradient(
    to right,
    rgba(10,15,30,0.35),
    rgba(10,15,30,0.0)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav-next {
  right: 0;
  background: linear-gradient(
    to left,
    rgba(10,15,30,0.35),
    rgba(10,15,30,0.0)
  );
  opacity: 0;
  transition: opacity 0.25s ease;
}

/* hover aktywuje */
.nav-zone:hover {
  opacity: 1;
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 38px;
  font-weight: 200;
  color: #e55220;
  pointer-events: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
  z-index: 999;
}
.nav-arrow-left { left: 20px; }
.nav-arrow-right { right: 20px; }

/* hover lewa */
.nav-prev:hover ~ .nav-arrow-left {
  transform: translateY(-50%) translateX(-6px);
}

/* hover prawa */
.nav-next:hover ~ .nav-arrow-right {
  transform: translateY(-50%) translateX(6px);
}


/* =========================
   OWZ
========================= */

.owz-download-section {
  margin-bottom: 3rem;
  padding: 3rem;
  margin-top: 0;
  background: #ffffff;
  clip-path: polygon(
    0 0,
    calc(100% - 30px) 0,
    100% 30px,
    100% 100%,
    30px 100%,
    0 calc(100% - 30px)
  );
  box-shadow: 0 8px 20px rgba(33,41,80,0.09);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: 0;
}
.owz-download-group p {
    font-size: 1.15rem;
}
.owz-download-desc {
    max-width: 60%;
    font-size: 1.15rem;
}
.owz-download-btn {
    margin: 2rem 0!important;
    min-width: 60%;
}
.owz-download-btn a {
    padding: 16px 34px;
    background: #e55220;
    color: #ffffff;
    border: none;
    text-decoration: none;
    transition: all .25s ease;
}
.owz-download-btn a:hover {
    transform: translateY(2px);
}
.owz-download-btn a::after {
    content: "↓";
    font-size: 1.2rem;
    font-weight: 500;
    margin-left: 10px;
    transition: transform .25s ease;
    display: inline-block;
}
.owz-download-meta {
    opacity: .5;
}
.owz-download-col-right p {
    padding-left: 2rem;
}
.owz-download-col-right p::after {
    content: "";
    display: block;
    width: 48px;
    height: 2px;
    background: #e55220;
    margin-top: 1.5rem;
}
.owz-contact-group {
   padding: 3rem 0;
   background: #F7F8F9;
   border-top: 2px solid #d9dde6; 
}
.owz-contact-btn .wp-element-button:hover {
background: #e55220;
transform: translateY(-2px);
}

.owz-contact-btn .wp-element-button:focus {
outline: none;
box-shadow: 0 0 0 3px rgba(229,82,32,0.25);
}

.owz-contact-btn .wp-element-button::after {
content: "→";
display: inline-block;
margin-left: 10px;
font-size: 1.1em;
transition: transform .25s ease;
}



/* =========================
   CONTACT
========================= */
.section-contact {
   margin-bottom: 6rem;
}
.section-contact h2 {
   font-size: 1.8rem;
   margin-top: 0;
}
.contact-form h2::after {
    content: "";
    display: block;
    width: 42px;
    height: 2px;
    background: #e55220;
    margin-top: 1.5rem;
}
.contact-grid {
  gap: 64px;
  align-items: start;
}

.contact-details {
  max-width: 420px;
  font-size: 1.15rem;
}
.contact-details a {
  color: inherit;
  text-decoration: none;
}
.contact-details a:hover {
  color: #e55220;
}
.contact-link {
    background: #ffffff;
    padding: 1rem;
    box-shadow: 0 8px 20px rgba(33, 41, 80, 0.02);
}


/* ========================================
   CONTACT FORM
======================================== */

.contact-form {
  background: #ffffff;
  padding: 3rem;

  clip-path: polygon(
    0 0,
    calc(100% - 30px) 0,
    100% 30px,
    100% 100%,
    30px 100%,
    0 calc(100% - 30px)
  );

  box-shadow: 0 8px 20px rgba(33, 41, 80, 0.09);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;

  z-index: 0;
}


/* ========================================
   TYPOGRAPHY
======================================== */

.contact-form h2 {
  font-size: 2rem;
  margin-top: 0;
  margin-bottom: 3rem;
}


/* ========================================
   RESET
======================================== */

.contact-form *,
.contact-form *::before,
.contact-form *::after {
  box-sizing: border-box;
}


/* ========================================
   TOGGLE / RADIO
======================================== */

.form-toggle {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 2rem;
}

.wpcf7-form-control.wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-toggle .wpcf7-list-item {
  display: flex;
  align-items: center;

  margin: 0;
  padding: 1rem 1.25rem;

  border: 1px solid #dcdfe6;
  background: #ffffff;

  transition:
    border-color 0.25s ease,
    background 0.25s ease;
}

.form-toggle .wpcf7-list-item:hover {
  border-color: #e8491d;
}

.form-toggle .wpcf7-list-item label {
  display: flex;
  align-items: center;
  gap: 10px;

  cursor: pointer;
  width: 100%;
}

.form-toggle .wpcf7-list-item-label::before,
.form-toggle .wpcf7-list-item-label::after {
  content: none;
}

.form-toggle input[type="radio"] {
  transform: scale(1.15);
  margin: 0;
}

.form-toggle input[type="radio"]:focus,
.form-toggle input[type="radio"]:focus-visible {
  outline: none;
  box-shadow: none;
}

.wpcf7-form-control.wpcf7-radio .wpcf7-list-item:has(input[type="radio"]:checked) {
  border-color: #1f2d5a;
  background: rgba(31, 45, 90, 0.04);
}


/* ========================================
   FORM LAYOUT
======================================== */

.contact-form-row {
  display: grid;
  gap: 1rem;
  width: 100%;
}

.contact-form-row.full {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.contact-form-row .wpcf7-form-control-wrap {
  display: block;
  width: 100%;
  margin: 0.5rem 0;
}

.form-common {
  margin-bottom: 2rem;
}

.form-investor,
.form-contractor,
.form-partner {
  margin-bottom: 2rem;
}


/* ========================================
   INPUTS
======================================== */

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"],
.contact-form textarea {
  width: 100%;

  padding: 16px 18px;

  border: 1px solid #dcdfe6;
  background: #ffffff;

  font-size: 15px;
  font-family: inherit;
  line-height: 1.5;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #e8491d;
  box-shadow: 0 0 0 1px #e8491d;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #8a8f99;
}

.contact-form textarea {
  min-height: 160px;
  resize: vertical;
}

.form-partner textarea {
  min-height: 220px;
}


/* ========================================
   CONSENT
======================================== */

.contact-form .consent-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 12px;

  margin-bottom: 1rem;
}

.contact-form .consent-check {
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-form .consent-text {
  margin: .8rem 0;
  font-size: 14px;
  line-height: 1.6;
  color: #5d6470;
}

.contact-form .consent-text a {
  color: #1f2d5a;
  text-decoration: underline;
}


/* ========================================
   SUBMIT
======================================== */

.job-form-submit input[type="submit"] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 16px 36px;
  border: none;
  background: #e55220;
  color: #ffffff;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.03em;
  cursor: pointer;
  font-weight: 600;
  text-decoration: none;
  transition: all .25s ease;
}

.job-form-submit input[type="submit"]:hover {
  opacity: 0.92;
}


/* ========================================
   VALIDATION / MESSAGES
======================================== */

.wpcf7-not-valid-tip {
  margin-top: 8px;
  font-size: 13px;
}

.wpcf7-response-output {
  margin: 2rem 0 0 !important;
  padding: 1rem 1.25rem !important;
}

.wpcf7-spinner {
  display: none;
}


/* ========================================
   MAP
======================================== */

.section-map iframe {
  width: 100%;
  height: 450px;
  display: block;
}


/* ========================================
   GRID
======================================== */

@media (min-width: 768px) {

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 2rem;
  }
}


/* ========================================
   RESPONSIVE
======================================== */

@media (max-width: 768px) {

  .contact-form {
    padding: 2rem 1.5rem;

    clip-path: polygon(
      0 0,
      calc(100% - 18px) 0,
      100% 18px,
      100% 100%,
      18px 100%,
      0 calc(100% - 18px)
    );
  }

  .contact-form h2 {
    font-size: 1.6rem;
    margin-bottom: 2rem;
  }

  .form-toggle,
  .wpcf7-form-control.wpcf7-radio {
    flex-direction: column;
    gap: 12px;
  }

  .form-toggle .wpcf7-list-item {
    width: 100%;
  }

  .contact-form-row {
    grid-template-columns: 1fr !important;
  }

  .contact-form-row.full {
    flex-direction: column;
  }

  .contact-form input[type="text"],
  .contact-form input[type="email"],
  .contact-form input[type="tel"],
  .contact-form textarea {
    font-size: 16px;
  }

  .contact-form textarea {
    min-height: 180px;
  }

  .form-partner textarea {
    min-height: 220px;
  }

  .job-form-submit input[type="submit"] {
    width: 100%;
  }

  .section-map iframe {
    height: 320px;
  }
}


/* =========================================
   FOOTER
========================================= */

.site-footer {
  position: relative;

  background: #212950;
  color: rgba(255,255,255,0.78);

  overflow: hidden;
}

/* subtle engineering background */

.site-footer::before {
  content: "";

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to right,
      rgba(255,255,255,0.03) 1px,
      transparent 1px
    );

  background-size: 220px 100%;

  opacity: 0.22;

  pointer-events: none;
}

/* =========================================
   FOOTER MAIN
========================================= */

.footer-main {
  position: relative;
  z-index: 2;

  max-width: 1700px;

  margin: 0 auto;
  padding:
    6rem
    clamp(32px, 4vw, 80px)
    5rem;

  display: grid;

  grid-template-columns:
    1.5fr
    0.9fr
    1fr
    0.9fr;

  gap: 5rem;
}

/* =========================================
   BRAND
========================================= */

.footer-brand {
  max-width: 420px;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 2rem;
}

.footer-logo img {
  width: 180px;
  height: auto;
  display: block;
}

.footer-claim {
  font-size: 1.05rem;
  line-height: 1.8;

  color: rgba(255,255,255,0.72);

  max-width: 360px;
}

/* =========================================
   FOOTER COLUMNS
========================================= */

.footer-column {
  position: relative;
}

/* subtle separator */

.footer-column::before {
  content: "";

  position: absolute;

  top: 0;
  left: -2.5rem;

  width: 1px;
  height: 100%;

  background:
    linear-gradient(
      to bottom,
      transparent,
      rgba(255,255,255,0.08),
      transparent
    );
}

.footer-column h3 {
  font-size: 0.85rem;

  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;

  color: rgba(255,255,255,0.45);

  margin-bottom: 2rem;
}

/* =========================================
   MENU
========================================= */

.footer-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu li {
  margin-bottom: 1rem;
}

.footer-menu a {
  color: rgba(255,255,255,0.82);

  text-decoration: none;

  transition:
    color 0.25s ease,
    transform 0.25s ease;
}

.footer-menu a:hover {
  color: #ffffff;
}

/* =========================================
   DATA / CONTACT
========================================= */

.footer-company-data p,
.footer-contact p {
  margin:
    0
    0
    1.4rem;

  line-height: 1.8;

  color: rgba(255,255,255,0.72);
}

.footer-contact a {
  color: rgba(255,255,255,0.82);

  text-decoration: none;

  transition: color 0.25s ease;
}

.footer-contact a:hover {
  color: #ffffff;
}

/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
  position: relative;
  z-index: 2;

  max-width: 1700px;

  margin: 0 auto;

  padding:
    1.8rem
    clamp(32px, 4vw, 80px);

  border-top:
    1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;

  font-size: 0.82rem;

  color: rgba(255,255,255,0.45);
}

.footer-bottom-right {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-bottom a {
  color: rgba(255,255,255,0.55);

  text-decoration: none;

  transition: color 0.25s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-divider {
  width: 1px;
  height: 12px;

  background: rgba(255,255,255,0.18);
}

/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 1200px) {

  .footer-main {
    grid-template-columns:
      1fr
      1fr;

    gap: 4rem;
  }

  .footer-column::before {
    display: none;
  }

}

@media (max-width: 768px) {

  .footer-main {
    grid-template-columns: 1fr;

    padding-top: 5rem;
    padding-bottom: 4rem;
  }

  .footer-brand {
    max-width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;

    gap: 1rem;
  }

  .footer-bottom-right {
    flex-wrap: wrap;
  }

}


/* ---------------------------------
   TYPOGRAPHY FLUID SCALE
--------------------------------- */


.section-claim {
  font-size: clamp(1.6rem, 5vw, 3rem);
}
.section-headline {
  font-size: clamp(1.6rem, 4vw, 2.6rem);
}
h1.wp-block-heading {
  font-size: clamp(2.4rem, 6vw, 4.6rem) !important;
}
.home-about h2,.sectors-header h2, h2.section-headline {
  font-size: clamp(1.8rem, 4vw, 3rem) !important;
}
h2.section-title, .testimonials-label {
    font-size: clamp(.8rem, 2vw, 1.15rem);
}
.home-about p {
  font-size: clamp(1.05rem, 3vw, 1.4rem);
}
.testimonial-quote {
    font-size: clamp(1.25rem, 3vw, 1.8rem);
}
.cta-texts {
    font-size: clamp(1.6rem, 2.5vw, 2.6rem) !important;
}
.wp-block-post-title {
    font-size: clamp(1.2rem, 2.5vw, 2.4rem) !important;
}
.project-desc, .project-hero-desc {
    font-size: clamp(1rem, 2vw, 2.0rem) !important;
}
.cta-button .wp-element-button, .wp-block-button.is-style-outline .wp-block-button__link {
     font-size: clamp(.9rem, 2vw, 1.2rem) !important;
    }
/* ---------------------------------
   HERO
--------------------------------- */

.hero-content h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
  line-height: 1.05;
}

.hero-content p {
  font-size: clamp(1.4rem, 3vw, 2rem)!important;
}

/* ---------------------------------
   STATS
--------------------------------- */

.number {
  font-size: clamp(4rem, 16vw, 12rem);
  letter-spacing: clamp(-0.4rem, -1vw, -1.3rem);
}
.label-cell {
    font-size: clamp(.8rem, 2vw, 1.6rem)!important;
}

@media (min-width: 1367px) {
 .hero-paragraph {
    max-width: 50%!important;
    }
}
@media (max-width: 1366px) {

  .footer-main {
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
  }

}

@media (max-width: 1024px) {

  .home-about {
    gap: 2rem;
  }

}

@media (max-width: 768px) {

  .footer-main {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

}

@media (max-width: 768px) {

  .hero-cta {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .hero-cta .wp-block-button {
    width: 100%;
  }

  .hero-cta .wp-block-button__link {
    width: 100%;
    text-align: center;
  }

}
@media (max-width: 480px) {

    .hero-content h1 {
    margin-bottom: 4rem;
}
    .project-content {
     padding: 0 2rem 2rem 0;
    }
    .project-content-inner {
        padding-right: 2rem;
        margin-left: 2rem;
    }
    .project-content .project-btn {
        margin: 2rem auto auto 2rem;
    }
    .project-card .wp-block-columns {
    gap: 2rem;
    align-items: stretch;
}
    .project-desc {
    margin-top: 2rem;
}
    .project-hero-desc {
     max-width: 90%;
     }
    .number-cell {
    width: 50%;
    text-align: right;
    padding-right: 1rem;
    vertical-align: baseline;
}
    .label-cell {
    width: 50%;
    line-height: 1.2;
    text-align: left;
    vertical-align: middle;
}
    .cta-button .wp-element-button {
        padding: 16px 16px;} 
    
    .clients-list li {
    font-size: 1.0rem;
}
        .home-cta h2 {
        font-size: 1.4rem;
    }
    .model-item h3 {
    font-size: clamp(1.15rem, 2vw, 1.4rem);
}

}








