/* Articles section */
* {
  scroll-behavior: smooth;
}

::-webkit-scrollbar {
  width: 7px;              /* szerokość pionowego paska */
  height: 7px;             /* wysokość poziomego */
}

::-webkit-scrollbar-track {
  background: #ffffff;      /* kolor tła toru przewijania */
}

::-webkit-scrollbar-thumb {
  background-color: #0091AD; /* kolor uchwytu */
  border-radius: 5px;        /* zaokrąglenie */
  border: 2px solid #f0f0f0; /* żeby wyglądał na wciśnięty */
}

::-webkit-scrollbar-thumb:hover {
  background-color: #007a92; /* ciemniejszy przy hoverze */
}

/* --- Dla Firefoxa --- */
* {
  scrollbar-width: thin;               /* cieńszy pasek */
  scrollbar-color: #0091AD #ffffff;    /* kolor uchwytu i tła */
}

.articles-section {  padding: 56px 0 48px; }
.articles-container { margin: 0 auto; padding: 0 24px; }
.articles-heading { text-align: center; font-size: 4.0rem; font-weight: 800; color: var(--color-text, #111826); margin-bottom: 48px; }
.articles-grid { display: grid; gap: 24px; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; }
.article-card {
  background: var(--color-white, #FFFFFF);
  border-radius: 12px;
  hyphens: 600px;

  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
  cursor: pointer;
}.article-card:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(0,0,0,0.10); }
.article-media {
  position: relative;
  display: block;
  width: 100%;
  height: 200px;
  overflow: hidden;
}

.article-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.article-hover {
  opacity: 0;
  transition: .3s;
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: var(--nav-active);
}
.article-hover .article-plus {
  position: absolute;
  height: auto;
  width: 15%;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.article-hover:hover {
  display: block;
  opacity: 1;
}
.article-body {
  height: 220px;
  position: relative;
  padding: 18px;
  display: grid;
  gap: 10px;
}
.article-title { color: var(--color-text, #111826); font-weight: 700; font-size: 1.8rem; line-height: 1.35; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;  }
.article-title:hover { color: var(--color-accent, #14B8A6); }
.article-lead {
  color: var(--color-text-muted, #d5d7db);
  font-size: 1.45rem;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}.article-meta-row {
  display: flex;
  align-items: center;
}
.reaction {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--color-accent, #14B8A6);
  font-weight: 600;
  font-size: 1.35rem;
}

.reaction-icon {
  width: 24px;
  height: 24px;
  display: inline-grid;
  place-items: center;
}
.articles-cta { display: flex; justify-content: center; margin-top: 28px; }
.btn-articles {
  background: var(--main);
  color: #fff;
  border-radius: 9999px;
  padding: 12px 160px !important;
  font-weight: 700;
  text-decoration: none;
  transition: .3s;
  box-shadow: 0 4px 14px rgba(20, 184, 166, 0.25);
}
.btn-articles:hover {
  background: var(--nav-active);
  color: black;
}.btn-articles:focus { outline: 2px solid rgba(20,184,166,0.45);  }

@media (max-width: 1199px) {
  .articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
  .articles-grid { grid-template-columns: 1fr; }
}

/* Articles hero for articles.html */
.articles-hero { position: relative; min-height: 510px; background: #000; color: #fff; }
.articles-hero-media { position: absolute; inset: 0; background-image: url('../images/articlesHero.png'); background-size: cover; background-position: center; filter: none; }
.articles-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.55), rgba(0,0,0,0.2) 70%, rgba(0,0,0,0)); }
.articles-hero-inner { position: relative; height: 100%; display: flex; align-items: flex-end; padding-bottom: 48px; }
.articles-hero-titlewrap { display: flex; align-items: flex-end; gap: 16px; margin-left: 64px; }
.articles-hero h1 { font-size: 4.2rem; font-weight: 900; color: #fff; }
.articles-hero-sub { margin-top: 6px; font-size: 1.9rem; color: rgba(255,255,255,0.9); }
.accent-bar { width: 4px; height: 64px; background: #fff; border-radius: 2px; }

@media (max-width: 1199px) { .articles-hero { min-height: 240px; } .articles-hero h1 { font-size: 3.2rem; } }
@media (max-width: 767px)   { .articles-hero { min-height: 180px; } .articles-hero h1 { font-size: 2.4rem; } .articles-hero-titlewrap { margin-left: 24px; } }

/* Footer layout */
.footer-grid { display: grid; grid-template-columns: 1fr 2fr 1fr; align-items: center; gap: 32px; padding: 36px 16px; min-height: 220px; }
.footer-logo { display: flex; align-items: center; padding-top: 20px;}
.footer-logo img {
  width: 90px;
}
.footer-center { text-align: center; }
.footer-copy { color: rgba(255,255,255,0.9); font-size: 1.3rem; }
.footer-links { display: inline-flex; gap: 12px; align-items: center; margin-top: 8px; }
.footer-link { color: #FFFFFF; text-decoration: none; font-size: 1.3rem; }
.footer-link:hover { color: rgba(255,255,255,0.85); text-decoration: underline; }
.footer-link:focus { outline: 2px solid #FFFFFF; outline-offset: 2px; }

@media (max-width: 767px) {
  .footer-grid { grid-template-columns: 1fr; text-align: center; gap: 16px; padding: 28px 16px; }
  .footer-logo { justify-content: center; }
}
/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html,
body,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ul,
ol,
li,
main,
header,
figure,
blockquote {
  margin: 0;
  padding: 0;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
button,
input,
select,
textarea {
   transition: .3s;
  font: inherit;
}

/* Base */
html {
  font-size: 62.5%;
}
body {
font-family: "Montserrat", sans-serif;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #0f172a; /* slate-900 */
  background: white; /* slate-50 */
}

::root {
  --brand: #1d4ed8; /* blue-700 */
  --brand-600: #2563eb;
  --accent: #f59e0b; /* amber-500 */
  --text: #0f172a;
  --muted: #475569; /* slate-600 */
  --border: #e2e8f0; /* slate-200 */
  --bg-elev: #ffffff;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 6px 24px rgba(2, 6, 23, 0.08);
}
.contact-icon {
  width: 30px;
}
.contact-icon img {
  width: 100%;
}
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.link {
  color: var(--brand);
  text-decoration: none;
}
.link:hover {
  text-decoration: underline;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  line-height: 1;
  border-radius: 10px;
  padding: 14px 18px;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  font-weight: 600;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover {
  background: var(--brand-600);
}
.btn-secondary {
  background: #fff;
  color: var(--text);
  border-color: var(--border);
}
.btn-secondary:hover {
  background-color: white;
  color: var(--main);
  border-color: #cbd5e1;
}

/* Header */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-around;
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--main);;
  color: #fff;
  border-bottom: none;
  height: 104px;
}
.header-inner {
  display: flex;
  width: 1200px;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  justify-self: left;
  font-size: 1.8rem;
}
.logo-text strong {
  font-weight: 900;
}
.logo-dot {
  color: #ffd200;
}
.primary-nav {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-sep {
  width: 1px;
  height: 20px;
  background: #ffd200;
  display: inline-block;
}
.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 300;
  padding: 8px 10px;
  font-size: 1.6rem;
}
.nav-link:hover {
  text-decoration: underline;
}
    .nav-link.active {
      border-left: 2px solid var(--nav-active);
    }
.contact-link {
  color: #fff;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

/* Hamburger */
.hamburger { display: none; position: relative; width: 44px; height: 44px; border: 0; background: transparent; padding: 8px; border-radius: 8px; cursor: pointer; }
.hamburger:focus { outline: 2px solid #FFFFFF; outline-offset: 2px; }
.hamburger-box { display: inline-block; position: relative; width: 24px; height: 18px; }
.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after { position: absolute; width: 24px; height: 2px; background: #fff; left: 0; transition: transform .2s ease, opacity .2s ease; border-radius: 2px; }
.hamburger-inner { top: 8px; }
.hamburger-inner::before { content: ""; top: -8px; }
.hamburger-inner::after { content: ""; top: 8px; }
.hamburger.is-active .hamburger-inner { transform: rotate(45deg); }
.hamburger.is-active .hamburger-inner::before { transform: translateY(8px) rotate(90deg); }
.hamburger.is-active .hamburger-inner::after { transform: translateY(-8px) rotate(90deg); }

/* Mobile nav behavior */
@media (max-width: 768px) {
  .header-inner { width: 100%; }
  .hamburger { display: inline-block; }
    .primary-nav {
      position: absolute;
      top: 104px;
      left: 0;
      right: 0;
      background: var(--main);
      display: grid;
      gap: 0;
      padding: 0 16px;
      border-top: 1px solid rgba(255, 255, 255, 0.2);
      max-height: 0;
      overflow: hidden;
      transition: max-height .25s ease;
    }
  
    .primary-nav .nav-sep {
      display: none;
    }
  
    .primary-nav .nav-link {
      padding: 14px 0;
      border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }
  
    .primary-nav.open {
      max-height: 260px;
    }
  
    .contact-link {
      display: none;
    }
}

/* Hero */
.hero {
  position: relative;
  top: -5px;
  isolation: isolate;
  height: 515px;
  color: #eaf6f8;
}

.hero-data {
  text-align: center;
  height: 320px;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
}
.hero-img {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-img-a {
  background-image: 
    linear-gradient(to left, #F0C00000 0%, #f0c0002f 50%),
    url('../images/stary.avif');
}
.hero-img-art {
   background-image: 
    linear-gradient(to left, #09090700 0%, #0808086a 50%),
    url('../images/articlesHero.png');
}
.hero-img-art1 {
   background-image: 
    linear-gradient(to left, #09090700 0%, #080808d1 90%),
    url('../images/artBg.png');
}
.hero-img-art2 {
   background-image: 
    linear-gradient(to left, #09090700 0%, #080808d1 90%),
    url('../articles/arti1Bg.jpg');
}
.hero-img-art3 {
   background-image: 
    linear-gradient(to left, #09090700 0%, #080808d1 90%),
    url('../articles/arti2Bg.jpg');
}
.hero-img-art4 {
   background-image: 
    linear-gradient(to left, #09090700 0%, #080808d1 90%),
    url('../articles/arti3Bg.jpg');
}
.hero-img-b {
  background-image: 
    linear-gradient(to left, #F0C00000 0%, #f0c0002f 50%),
    url('../images/nowy.avif');
  /* angled reveal */
  clip-path: polygon(
    var(--splitx, 50%) 0, 
    100% 0, 
    100% 100%, 
    calc(var(--splitx, 50%) - 160px) 100%
  );
  will-change: clip-path;
}


.hero-divider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.9);
  clip-path: polygon(calc(var(--splitx, 50%) - 1px) 0, calc(var(--splitx, 50%) + 1px) 0, calc(var(--splitx, 50%) - 161px) 100%, calc(var(--splitx, 50%) - 159px) 100%);
  pointer-events: none;
}


.hero::before {
  content: "";
  position: absolute;
  inset: 0 50% 0 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55),
    rgba(0, 0, 0, 0.15) 70%,
    rgba(0, 0, 0, 0)
  );
  z-index: -1;
}

.hero-flex {
  display: flex;
}
.hero-flex-1 {
  background-color: white;
  border-radius: 20px;
  height: 180px;
  width: 4px;
  margin-right: 12px;
}
.hero-flex-1-art {
  height: 90px;
}
.hero-inner {
  position: relative;
  left: 8%;
   max-width: 900px;
  padding: 64px 40px 56px;
  margin: 5px !important;

}
.hero-inner-art {
  max-width: 1400px;
  top: 50%;
  transform: translateY(-50%);
}
.hero-title {
  font-size: 8rem;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: -0.02em;
  color: #fff;
  
}
.hero-title-art {
  text-align: justify;
  max-width: 900px;
  width: 40vw;
  font-size: 3.6rem;
  font-weight: 700;
}
.hero-subtitle {
  margin-top: 12px;
  max-width: 500px;
  color: #cbd5e1;
}
.hero-cta {
  margin-top: 10%;
}
.hero-cta .btn {
  background: var(--main);
  color: #fff;
  font-size: 2.5rem;
  font-weight: 700;
  border-radius: 40px;
  padding: 16px 120px;
  border: none;
  transition: .3s;
  box-shadow: -2px 5px 5px rgb(41, 37, 37);
}
.hero-cta .btn:hover {
background-color: white;
  color: var(--main);
  border-color: #cbd5e1;
}

/* Shared form controls */

input[type="checkbox"] {
  position: relative;
   -webkit-appearance: none;
  appearance: none;
  background-color: #ffffff;
  border: 1px solid rgba(128, 128, 128, 0.521);
  border-radius: 5px;
  width: 50px ; 
  height: 50px;
  cursor: pointer;
}

input[type="checkbox"]:checked {
  background-color: var(--main);
}

input[type="checkbox"]:checked:after {
  content: "✔";
  color: white;
    font-size: 14pt;
  position: absolute;
  left: 2px;
  top: -3px;
}



.search-form {
  margin-top: 28px;
}

.rect-left {
  position: absolute;
  left: 0%;
  transform: translateX(-80%);
}
.form-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}
.form-grid.two-col {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.form-field {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 48%;
  padding-bottom: 30px;
}
.form-field.full {
  grid-column: 1 / -1;
}
.form-field span {
  font-size: 1.35rem;
  padding-left: 6px;
  margin-left: 30px;
  border-left: 2px solid var(--main);
  color: #0f172a;
  font-weight: 400;
}
.form-field input,
.form-field select,
.inline-search input {
  width: 100%;
  background: #fff;
  border: 1px solid #73737340;
  border-radius: 30px;
  padding: 12px 32px;
  color: var(--text);


}
.form-field select {
  padding: 5px 32px;
  border-radius: 10px;
  color: var( --color-text-muted);
}
.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: #bfdbfe;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.form-field input::placeholder,
.inline-search input::placeholder {
  color: #94a3b8;
}

/* Option groups (radios/checkboxes) */
.option-group {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  border: none;
  border-radius: 8px;
  padding: 14px 0;
}
.option-group.inline {
  grid-template-columns: 1fr;
}
.option-group.full {
  grid-column: 1 / -1;
  padding: 0;
  border: none;
  background: transparent;
}
.option-group legend {
  grid-column: 1 / -1;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 6px;
  color: #0f172a;
}
.first-legend {
   margin-bottom: 16px;
}
.first-legend legend{
  font-size: 2.5rem;
}
.option {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
}
.option input {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.08);
  accent-color: var(--brand);
}
.option span {
  color: var(--color-text-muted);
  font-weight: 300;
  width: 120px;
}
.option-col {
  flex-direction: column;
}

/* Consents */
.consents {
  grid-column: 1 / -1;
}
.consents summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  color: #000;
}
.consents[open] .caret {
  transform: rotate(90deg);
  display: inline-block;
}
.consents-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

/* Submit */
.submit-row {
  display: flex;
  justify-content: left;
  margin-top: 8px;
}
.btn-submit {
  background: var(--main);
  color: #fff;
  font-weight: 700;
  border-radius: 24px;
  padding: 14px 24px;
  border: none;
  width: 330px;
  transition: .3s;
}
.btn-submit:hover {
  background: var(--nav-active);
  color: black;
}

/* Aside visuals */
.form-layout {
  position: relative;
  width: 100%;
}
.form-card {
  width: 100%;
  margin: 0 auto 0 0;
}
.form-aside {
  position: absolute;
  right: -120px;
  top: 300px;
  width: 700px;
  height: 800px;
  display: grid;
  gap: 12px;
  overflow: hidden;
  align-content: start;
}
.trapez {
  position: absolute;
  top: 15%;
  right: 0;
  width: 70%;

}
.hand-figure {
  width: 105%;
  right: -9%;
  top: 9%;
  transform: rotate(16deg);
  position: absolute;
  transform-origin: center;
  margin: 0;
  z-index: 1;
}

.aside-box {
  position: absolute;
  top: 38%;
  width: 40%;
  right: 10%;
  color: #eaf6f8;
  padding: 16px;
  border-radius: 12px;
}
.aside-box .t-accent {
  color: #ffffff;
  font-weight: 800;
}

/* Feature band */
.feature-band {
  position: relative;
  top: -10px;
  background: var(--main);
  color: #ffffff;
  padding: 36px 0;
}
.features-grid {
  display: flex;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  align-items: start;
}
.feature {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}
.feature-icon {
  width: 100px;
  display: grid;
  place-items: center;
  border: 2px solid #00a8b8;
  border-radius: 999px;
  position: relative;
}
.border-circle {
  position: absolute;
  width: 112%;
  height: 112%;
  pointer-events: none;
  border-radius: 100%;
  border: 3px solid white;
}
.feature-icon img {
  width: 100%;
  pointer-events: none;
  position: relative;
  z-index: 2;
}
.feature-text h3 {
  text-align: center;
  padding: 10px;
  font-size: 2.6rem;
  color: #ffffff;
  font-weight: 800;
}
.feature-text p {
  font-size: 1.5rem;
  color: #e0e0e0;
  text-align: justify;
}

/* Form section two-column */
.form-flex {
  display: flex;
}
.flex-col {
  flex-direction: column;
}
.form-row {
  display: flex;
  justify-content: space-between;
}
.form-row-close {
  display: flex;
  flex-wrap: wrap;
  align-items: self-start;
  justify-content: flex-start;
}
.form-section {
  padding: 40px 0;
}
.form-layout {
  display: flex;
  flex-direction: column;
  align-items: start;
}
.form-card {
  border: none;
  border-radius: 16px;
  box-shadow: none;
  padding: 0;
}
.form-title {
  font-size: 3rem;
  margin-bottom: 12px;
  color: #000;
  font-weight: 700;
  text-align: center;
}

/* Diagonal promo */
.promo-diagonal {
  position: relative;
  width: 100%;
  max-width: 1620px;
  color: #eaf6f8;
  margin: 32px auto;
}

.promo-inner {
  position: relative;
  width: 120%;
  gap: 24px;
  max-width: 100000px;
  align-items: center;
  padding: 48px 0;
  left: -6%;
}
.promo-inner img {
  width: 100%;
}
.promo-media {
  aspect-ratio: 1 / 1;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
  border: 10px solid #ffd166;
}
.promo-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.promo-content {
  position: absolute;
  right: 20%;
  width: 30%;
  top: 50%;
}
.promo-content h2 {
  font-size: 7rem;
  transform: rotate(-6deg);
  margin-bottom: 20px;
}
.promo-content p {
  font-size: 2rem;
    transform: rotate(-6deg);
}

/* Sections */
.section {
  padding: 48px 0;
}
.section-compact {
  padding: 32px 0;
}
.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}
.section-head h2,
.section-head h1 {
  font-size: 2.2rem;
  letter-spacing: -0.01em;
}

/* Cards */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.card {
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.card-media {
  display: block;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background: #e2e8f0;
}
.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-body {
  padding: 14px 14px 16px;
}
.card-title {
  display: inline-block;
  color: var(--text);
  text-decoration: none;
  font-size: 1.6rem;
  font-weight: 600;
  line-height: 1.35;
}
.card-title:hover {
  color: var(--brand);
}
.card-meta {
  margin-top: 6px;
  color: var(--muted);
  font-size: 1.3rem;
}

/* Pagination */
.pagination {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}
.page-link {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  text-decoration: none;
  color: var(--text);
}
.page-link:hover {
  background: #f8fafc;
}
.page-link.current {
  background: #eff6ff;
  color: var(--brand);
  border-color: #bfdbfe;
}
.page-link.disabled {
  opacity: 0.5;
  pointer-events: none;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--main);
  color: #eaf6f8;
  margin-top: 36px;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
}
.footer-nav {
  display: flex;
  gap: 16px;
}

/* Article */
.article-hero { position: relative; background: #000; height:510px;color: #fff; }
.article-hero-media { position: absolute; inset: 0; }
.article-hero-media img { width: 100%; height: 320px; object-fit: cover; object-position: center; display: block; }
.article-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.55)); }
.article-hero-inner { position: relative; height: 100%; display: flex; align-items: flex-end; padding: 0 0 32px 64px; }
.article-hero h1 { font-size: 4.0rem; font-weight: 900; color: #fff; }
.article-hero-lead { margin-top: 6px; font-size: 1.9rem; color: rgba(255,255,255,0.9); }
.article-meta { margin-top: 6px; color: rgba(255,255,255,0.85); }

.article-body {
    max-width: 760px;
  margin: 24px auto;
  color: var(--color-text, #111826);
  line-height: 1.65;
  padding: 0 16px;
}
.article-page-body {
  max-width: 760px;
  margin: 24px auto;
  color: var(--color-text, #111826);
  line-height: 1.65;
  padding: 0 16px;



}


.article-page-body .lead {
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--color-text-muted);
}

.article-base-img {
  position: relative;
  width: 100%;
  margin: 70px 0;
}


.article-page-body p { 
  margin: 12px 0; 
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--article-txt);
}
.article-page-body h2 {
  font-size: 4rem;
  margin: 32px 0 12px;
  font-weight: 500;
}
.article-page-body ul li,
.article-page-body ol li {
    margin: 12px 0; 
  font-size: 1.4rem;
  font-weight: 300;
  color: var(--article-txt);
}
strong {
  font-weight: 500 !important;
}
.article-page-body h3 {
  font-size: 1.9rem;
  color: #2c2a2a;
  margin: 16px 0 8px;
  font-weight: 800;

}.article-page-body ul { margin: 8px 0 8px 18px; }
.article-page-body li { margin: 6px 0; }
.article-page-body .article-figure { margin: 24px 0; }
.article-page-body .article-figure img { width: 100%; height: auto; border-radius: 10px; display: block; }
.article-page-body .article-figure figcaption { margin-top: 6px; color: #6B7280; font-size: 1.3rem; }
.article-page-body blockquote { margin: 20px 0; padding: 12px 16px; background: #f1f5f9; border-left: 4px solid var(--color-accent, #14B8A6); border-radius: 8px; color: #0f172a; }
.article-page-body hr { border: none; border-top: 1px solid var(--border); margin: 24px 0; }
.article-nav { display: flex; align-items: center; }
.article-nav .spacer { flex: 1; }

.logo-mark {
  width: 90px;
}

.hero-title-art--small {
  font-weight: 100;
  color: #dcd7d7;
}

@media (max-width:1570px) {
  .promo-content {
    top: 39%;
  }
   .promo-content  p {
    font-size: 1.7rem;
   }

      .promo-content  h2 {
    font-size: 6rem;
   }
}

@media (max-width: 1199px) {
  .article-hero-media img { height: 220px; }
  .article-hero h1 { font-size: 3.2rem; }
  .rect-left {
    display: none;
  }
  .hero-cta {
    text-align: center;
  }
  .hero-subtitle {
    color: white;
    
  }
  .promo-inner {
    display: none;
  }
  .hero-cta .btn{
    font-size: 1.5rem;
  }
  .hero-title {
    text-align: center;
    font-size: 3rem;
  }
  .hero-flex-1 {
    display: none;
  }
  .hero-inner {
    top: 50%;
    transform: translateY(-50%);
    text-align: justify;
  }
}
@media (max-width: 1100px) {
  .hero-title-art { 
    width: 80vw;

    max-width: 100vw;
  }
  .form-aside {
    opacity: 0;
    display: none;
    pointer-events: none;
  }
}
@media (max-width: 767px) {
  .article-hero-media img { height: 160px; }
  .article-hero h1 { font-size: 2.4rem; }
  .article-hero-inner { padding-left: 16px; padding-bottom: 20px; }
}

/* Responsive */
@media (max-width: 1024px) {
  .card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .features-grid {
    flex-direction: column;
  }
  .form-layout {
    grid-template-columns: 1fr;
  }
  .form-card {
    width: 90%;
  }
  .form-aside {
    position: static;
    width: 100%;
  }
  .promo-inner {
    grid-template-columns: 1fr;
  }
  .option-col {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 100%;
  } 
  .option-group {
    flex-wrap: wrap;
  }
  .btn-secondary {
    padding: 20px 20px !important;
  }
  .btn-articles {
    padding: 16px 50px !important;
  }
  .hero-inner {
    max-width: 300px;
  }
  .form-row {
    flex-direction: column;
  }
  .form-field {
    width: 90%;
  }
  .feature {
    max-width: 100vw;
  }
  .feature-band {
    max-width: 100vw;
  }
}

@media (max-width: 640px) {
  .article-page-body {
    padding: 0 10vw;
  }
  .header-inner {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }
  .site-header {
    padding-top: 20px;
  }
  .primary-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
  .hero-flex {
    width: 100%;
  }
  .hero-inner {
    max-width: 350px;
    width: 100%;
    padding: 36px 0 28px;
    color: white;
  }
  .hero-title {
    font-size: 2.8rem !important;
    text-align: justify;
  }
  .section-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }
  .form-grid,
  .form-grid.two-col {
    grid-template-columns: 1fr;
  }
  .option-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .option-group.inline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .form-card {
    width: 100%;
  }
  .form-aside {
    display: none;
  }


.form-field input:required:invalid,
.form-field select:required:invalid {
  border: 2px solid #e63946;
}

.form-field input:required:valid,
.form-field select:required:valid {
  border: 2px solid #2a9d8f;
}

.form-field span::after {
  content: " *";
  color: #e63946;
}



input:focus, select:focus {
  outline: none;
  border-color: #457b9d;
  box-shadow: 0 0 5px rgba(69, 123, 157, 0.5);
}


  .footer-inner {
    flex-direction: column;
    gap: 8px;
    padding: 12px 0;
  }
}

/* Ensure hamburger menu behavior wins (mobile + tablet) */
@media (max-width: 1024px) {
  .hamburger { display: inline-block; }
  .contact-link { display: none; }
  .primary-nav {
    position: absolute;
    top: 104px;
    left: 0;
    right: 0;

    display: grid;
    gap: 0;
    padding: 0px 16px;
    border-top: 1px solid rgba(255,255,255,0.2);
    max-height: 0;
    overflow: hidden;
    transition: max-height .25s ease;
    z-index: 20;
  }
  .primary-nav .nav-sep { display: none; }
    .primary-nav .nav-link {
      padding: 14px 10px;
    }

  .primary-nav.open { max-height: 400px; }
  .hero-center-img {
    opacity: 0;
  }
}



.error-msg {
  color: var(--error);
  font-size: 0.85rem;
  margin-top: 4px;
  display: block;
}

input.error, select.error {
  border: 2px solid var(--error);
  background-color: #ffecec;
}
sup {
  color: var(--error);
}

.divider-icon {
  position: absolute;
  z-index: 5000;
}

.hero-center-img {
  position: absolute;
  top: 50%;
  left:var(--splitx, 50%);
  transform: translate(-150%, -50%);
  width: 80px;
  height: 80px;
  z-index: 5;
}