:root {
  --bg: #07101a;
  --bg-alt: #122034;
  --panel: rgba(18, 27, 41, 0.8);
  --panel-strong: rgba(22, 34, 52, 0.96);
  --panel-soft: rgba(255, 255, 255, 0.05);
  --border: rgba(165, 205, 255, 0.22);
  --text: #f4f8ff;
  --muted: #9aa6ba;
  --steel: #d7dce5;
  --blue: #3897ff;
  --blue-soft: #97d1ff;
  --blue-deep: #1566cf;
  --spark: #ff7a00;
  --spark-soft: #ffab4d;
  --success: #22c55e;
  --shadow-lg: 0 28px 90px rgba(0, 0, 0, 0.35);
  --shadow-md: 0 14px 45px rgba(0, 0, 0, 0.24);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --radius-sm: 14px;
  --container: min(1180px, calc(100vw - 32px));
  --header-height: 86px;
  --transition: 260ms ease;
}

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

html {
  scroll-behavior: smooth;
  background-color: #06101a;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background-color: #06101a;
  background:
    radial-gradient(circle at top left, rgba(56, 151, 255, 0.26), transparent 36%),
    radial-gradient(circle at 50% 0%, rgba(126, 196, 255, 0.16), transparent 40%),
    radial-gradient(circle at 22% 78%, rgba(255, 122, 0, 0.12), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(145deg, #06101a 0%, #0b1726 52%, #07101a 100%);
  background-size: auto, auto, auto, 96px 96px, 96px 96px, auto;
  min-height: 100vh;
  overflow-x: hidden;
  opacity: 0;
  transition: opacity 400ms ease;
}

body.is-ready {
  opacity: 1;
}

body.is-exiting {
  opacity: 0;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  border: 0;
  background: none;
  color: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.page-shell {
  position: relative;
}

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: calc(var(--scroll-progress, 0) * 100%);
  height: 4px;
  z-index: 260;
  background: linear-gradient(90deg, var(--spark), var(--blue));
  box-shadow: 0 0 24px rgba(29, 125, 255, 0.55);
}

body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  inset: 0;
  z-index: 400;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(56, 151, 255, 0.26), transparent 36%),
    radial-gradient(circle at 50% 0%, rgba(126, 196, 255, 0.16), transparent 40%),
    linear-gradient(145deg, rgba(6, 16, 26, 0.98) 0%, rgba(11, 23, 38, 0.98) 52%, rgba(7, 16, 26, 0.98) 100%);
  transition: opacity 420ms ease, visibility 420ms ease;
}

.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader__inner {
  display: grid;
  gap: 18px;
  justify-items: center;
}

.page-loader__logo {
  width: min(240px, 58vw);
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.35));
}

.page-loader__bar {
  width: min(280px, 72vw);
  height: 8px;
  padding: 2px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.page-loader__bar span {
  display: block;
  width: calc(var(--loader-progress, 0.18) * 100%);
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--spark), var(--blue));
  box-shadow: 0 0 14px rgba(56, 151, 255, 0.45);
  transition: width 180ms ease;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 120;
  background: rgba(6, 10, 16, 0.96);
  border-bottom: 1px solid rgba(140, 180, 255, 0.12);
  transform: translateY(0);
  transition: transform 240ms ease, background 240ms ease, border-color 240ms ease;
}

body[data-scroll-direction="down"] .site-header {
  transform: translateY(-100%);
}

body.menu-open .site-header,
body[data-scroll-direction="up"] .site-header {
  transform: translateY(0);
}

.header-inner,
.section-shell,
.footer-inner {
  width: var(--container);
  margin: 0 auto;
}

.header-inner {
  min-height: var(--header-height);
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.brand img {
  width: 72px;
  height: 48px;
  object-fit: cover;
  border-radius: 14px;
  box-shadow: var(--shadow-md);
}

.brand-copy strong {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: 1.45rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-copy span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
}

.menu-toggle {
  display: none;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.menu-toggle span {
  position: relative;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 999px;
  transition: transform var(--transition), top var(--transition), opacity var(--transition);
}

.menu-toggle span::before {
  top: -6px;
}

.menu-toggle span::after {
  top: 6px;
}

body.menu-open .menu-toggle span {
  background: transparent;
}

body.menu-open .menu-toggle span::before {
  top: 0;
  transform: rotate(45deg);
}

body.menu-open .menu-toggle span::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-nav {
  min-width: 0;
  justify-self: stretch;
}

.site-nav ul {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-end;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 12px;
  border-radius: 999px;
  color: var(--muted);
  white-space: nowrap;
  transition: color var(--transition), background var(--transition), transform var(--transition);
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.language-switch button {
  min-width: 44px;
  min-height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: background var(--transition), color var(--transition);
}

.language-switch button.is-active {
  background: linear-gradient(135deg, rgba(255, 122, 0, 0.14), rgba(29, 125, 255, 0.28));
  color: var(--text);
}

.cta-button,
.ghost-button,
.chip-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 22px;
  border-radius: 999px;
  font-weight: 800;
  letter-spacing: 0.01em;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition), background var(--transition);
}

.cta-button::after,
.ghost-button::after {
  content: "\2197";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  font-size: 0.84rem;
  line-height: 1;
}

.cta-button {
  color: var(--text);
  background: linear-gradient(135deg, #49a3ff, #2a77df);
  box-shadow: 0 14px 34px rgba(56, 151, 255, 0.34);
}

.cta-button::after {
  background: rgba(255, 255, 255, 0.16);
}

.cta-button:hover,
.ghost-button:hover,
.chip-link:hover,
.media-tile:hover,
.feature-card:hover,
.service-card:hover,
.article-card:hover,
.contact-card:hover,
.donation-card:hover {
  transform: translateY(-4px);
}

.ghost-button {
  border: 1px solid var(--border);
  color: var(--text);
  background: rgba(255, 255, 255, 0.03);
}

.ghost-button::after {
  background: rgba(29, 125, 255, 0.14);
  color: var(--blue-soft);
}

.chip-link {
  min-height: 44px;
  padding-inline: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
}

.hero,
.page-hero {
  position: relative;
  padding: clamp(90px, 12vw, 130px) 0 72px;
}

.service-hero-layout {
  align-items: center;
}

.hero-grid,
.split-section,
.contact-layout,
.footer-grid,
.cta-strip,
.donation-grid {
  display: grid;
  gap: 28px;
}

.hero-grid {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
}

.page-home .hero-grid {
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  align-items: center;
}

.page-home .hero-copy {
  align-self: center;
}

.page-home .hero-panel {
  order: 0;
  align-self: center;
  padding: 22px;
}

.page-home .hero-panel .media-slider {
  overflow: hidden;
}

.page-home .hero-panel .media-tile {
  min-height: clamp(360px, 36vw, 470px);
}

.page-home .hero-panel .media-caption {
  font-size: 1rem;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(29, 125, 255, 0.08);
  border: 1px solid rgba(29, 125, 255, 0.18);
  color: var(--blue-soft);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--spark), var(--blue));
  box-shadow: 0 0 12px rgba(255, 122, 0, 0.75);
}

h1,
h2,
h3,
.display-title {
  margin: 0;
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

h1,
.display-title {
  font-size: clamp(3rem, 7vw, 5.8rem);
  line-height: 0.95;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 0.98;
}

h3 {
  font-size: 1.35rem;
}

.copy-lead,
.copy-body,
.section-lead,
.article-excerpt,
.faq-answer p,
.contact-meta,
.footer-note,
.section-intro,
.stat-card span,
.feature-card p,
.service-card p,
.article-card p,
.contact-card p,
.donation-copy p,
.page-badge,
.map-copy p {
  color: var(--muted);
  line-height: 1.7;
}

.hero-copy h1,
.page-hero h1 {
  max-width: 12ch;
  margin-bottom: 20px;
}

.copy-lead {
  max-width: 66ch;
  font-size: 1.08rem;
}

.hero-actions,
.section-actions,
.contact-actions,
.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.stats-grid,
.features-grid,
.services-grid,
.articles-grid,
.gallery-grid,
.contact-cards {
  display: grid;
  gap: 20px;
}

.stats-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 32px;
}

.stat-card,
.feature-card,
.service-card,
.article-card,
.contact-card,
.faq-item,
.map-copy,
.form-shell,
.donation-card,
.footer-box,
.hero-panel,
.visual-shell,
.gallery-intro,
.cta-panel {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.stat-card,
.feature-card,
.service-card,
.article-card,
.contact-card,
.map-copy,
.faq-item,
.form-shell,
.donation-card,
.footer-box,
.cta-panel {
  padding: 24px;
}

.stat-card::before,
.feature-card::before,
.service-card::before,
.article-card::before,
.contact-card::before,
.map-copy::before,
.faq-item::before,
.form-shell::before,
.donation-card::before,
.footer-box::before,
.cta-panel::before,
.visual-shell::before,
.hero-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.stat-card strong,
.feature-card strong,
.service-card strong,
.article-card strong,
.contact-card strong {
  display: block;
  margin-bottom: 10px;
  color: var(--steel);
  font-size: 1.12rem;
}

.stat-card strong,
.faq-question strong {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.stat-card strong::before,
.faq-question strong::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 0.85rem;
  line-height: 1;
  background: rgba(29, 125, 255, 0.12);
  color: var(--blue-soft);
  flex: 0 0 auto;
}

.stat-card strong::before {
  content: "\2726";
}

.faq-question strong::before {
  content: "\003F";
}

.hero-panel {
  padding: 22px;
}

.hero-panel::after,
.visual-shell::after {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: calc(var(--radius-lg) - 10px);
  border: 1px solid rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-panel::before {
  background: radial-gradient(circle at top right, rgba(29, 125, 255, 0.18), transparent 34%);
}

.visual-shell {
  padding: 18px;
}

.visual-badge {
  position: absolute;
  top: 28px;
  right: 28px;
  z-index: 2;
  padding: 11px 14px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(7, 11, 18, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.media-slider {
  position: relative;
  overflow: hidden;
  border-radius: calc(var(--radius-lg) - 6px);
}

.slider-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 100%;
  transition: transform 500ms cubic-bezier(0.22, 1, 0.36, 1);
}

.media-tile {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(29, 125, 255, 0.08), rgba(255, 122, 0, 0.05));
  transition: transform var(--transition), border-color var(--transition);
}

.media-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-tile::after,
.donation-media::after,
.gallery-item::after,
.map-preview::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 8, 18, 0.82) 100%);
}

.media-caption,
.gallery-caption,
.donation-caption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 1;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  font-weight: 700;
}

.media-caption span,
.gallery-caption span,
.donation-caption span {
  max-width: 22ch;
}

.slider-control {
  position: absolute;
  top: 18px;
  z-index: 3;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(7, 11, 18, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.slider-control.prev {
  left: 18px;
}

.slider-control.next {
  right: 18px;
}

.section {
  padding: 34px 0 88px;
}

.section-header {
  display: grid;
  gap: 14px;
  max-width: 780px;
  margin-bottom: 28px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.page-badge {
  display: inline-flex;
  width: fit-content;
  padding: 10px 15px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.split-section {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
}

.split-section.reverse .split-copy {
  order: 2;
}

.split-section.reverse .split-visual {
  order: 1;
}

.split-copy {
  display: grid;
  gap: 18px;
}

.split-copy .copy-body {
  max-width: 62ch;
}

.feature-list,
.contact-list,
.footer-links,
.mini-list {
  display: grid;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li,
.contact-list li,
.mini-list li {
  position: relative;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

.feature-list li::before,
.contact-list li::before,
.mini-list li::before {
  content: "";
  position: absolute;
  top: 11px;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--spark), var(--blue));
}

.features-grid,
.services-grid,
.articles-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.services-grid {
  margin-top: 20px;
}

.page-services .services-grid {
  grid-template-columns: 1fr;
}

.page-services .service-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
  gap: 22px;
  align-items: center;
}

.service-card-body {
  display: grid;
  gap: 10px;
}

.service-card-media {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  padding: 0;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(29, 125, 255, 0.08), rgba(255, 122, 0, 0.05));
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.service-card-media:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

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

.service-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 8, 18, 0.82) 100%);
}

.service-hero-media {
  min-height: 420px;
}

.page-hero-media {
  min-height: 420px;
}

.service-card .service-tag,
.article-card .article-meta,
.contact-card .contact-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-bottom: 14px;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-soft);
  background: rgba(29, 125, 255, 0.08);
  border: 1px solid rgba(29, 125, 255, 0.15);
}

.service-card .service-tag::before,
.article-card .article-meta::before,
.contact-card .contact-label::before {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  font-size: 0.7rem;
  line-height: 1;
  background: rgba(255, 255, 255, 0.1);
  content: "\2726";
}

.article-card .article-meta {
  color: var(--spark-soft);
  background: rgba(255, 122, 0, 0.08);
  border-color: rgba(255, 122, 0, 0.16);
}

.article-card .article-meta::before {
  content: "\270E";
}

.contact-card:nth-child(1) .contact-label::before {
  content: "\260E";
}

.contact-card:nth-child(2) .contact-label::before {
  content: "\25CC";
}

.contact-card:nth-child(3) .contact-label::before {
  content: "\2709";
}

.contact-card:nth-child(4) .contact-label::before {
  content: "\2316";
}

.gallery-intro {
  padding: 24px;
  margin-bottom: 20px;
}

.gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.gallery-item {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  padding: 0;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: var(--shadow-md);
}

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

.faq-grid {
  display: grid;
  gap: 16px;
}

.faq-item-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: 22px;
  align-items: start;
}

.faq-copy {
  min-width: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  text-align: left;
}

.faq-question strong {
  font-size: 1.04rem;
}

.faq-icon {
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: var(--blue-soft);
  background: rgba(29, 125, 255, 0.08);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition), margin-top var(--transition);
}

.faq-answer > div {
  overflow: hidden;
}

.faq-media {
  position: relative;
  overflow: hidden;
  min-height: 220px;
  padding: 0;
  border-radius: calc(var(--radius-lg) - 8px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(145deg, rgba(29, 125, 255, 0.08), rgba(255, 122, 0, 0.05));
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.faq-media:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.faq-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.faq-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 42%, rgba(2, 8, 18, 0.82) 100%);
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
  margin-top: 16px;
}

.faq-item.is-open .faq-icon {
  color: var(--spark-soft);
  background: rgba(255, 122, 0, 0.08);
}

.contact-layout {
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  align-items: start;
}

.contact-primary {
  display: grid;
  gap: 28px;
}

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

.contact-map-frame iframe {
  min-height: 420px;
}

.map-stack {
  display: grid;
  gap: 20px;
}

.map-preview,
.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.map-preview {
  display: block;
  min-height: 280px;
}

.map-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-frame iframe {
  display: block;
  width: 100%;
  min-height: 320px;
  border: 0;
}

.form-shell {
  display: grid;
  gap: 16px;
}

.input-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.field {
  display: grid;
  gap: 8px;
}

.field label {
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 15px 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  outline: none;
  transition: border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(29, 125, 255, 0.45);
  box-shadow: 0 0 0 4px rgba(29, 125, 255, 0.12);
}

.form-note {
  font-size: 0.92rem;
  color: var(--muted);
}

.form-status {
  min-height: 24px;
  color: var(--blue-soft);
  font-weight: 700;
}

.cta-strip {
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
}

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

.donation-card {
  display: flex;
  flex-direction: column;
  padding: 0;
  border: 1px solid rgba(120, 170, 235, 0.28);
  background: linear-gradient(180deg, rgba(16, 27, 42, 0.98), rgba(8, 15, 24, 0.98));
}

.donation-media {
  position: relative;
  overflow: hidden;
  min-height: 300px;
  border-radius: calc(var(--radius-lg) - 1px) calc(var(--radius-lg) - 1px) 0 0;
  border-bottom: 1px solid rgba(120, 170, 235, 0.18);
}

.donation-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.donation-copy {
  display: grid;
  gap: 16px;
  padding: 26px 28px 28px;
  background: linear-gradient(180deg, rgba(11, 18, 29, 0.98), rgba(8, 14, 23, 0.98));
}

.donation-copy strong {
  display: block;
  margin-bottom: 0;
  font-size: clamp(1.7rem, 2vw, 2.1rem);
  line-height: 1.05;
  color: var(--text);
  font-family: "Oswald", sans-serif;
  letter-spacing: 0.02em;
  text-transform: none;
}

.donation-copy p {
  margin: 0;
  max-width: 26ch;
  font-size: 1rem;
  line-height: 1.55;
  color: #b8c5d8;
}

.donation-cta {
  width: 100%;
  justify-content: center;
  min-height: 62px;
  padding-inline: 26px;
  font-size: 1.02rem;
  border: 1px solid rgba(151, 209, 255, 0.24);
  background: linear-gradient(135deg, #54adff, #2f7ee0);
  box-shadow: 0 18px 38px rgba(56, 151, 255, 0.24);
}

.donation-cta::after {
  display: none;
}

.site-footer {
  padding: 0 0 38px;
}

.footer-grid {
  grid-template-columns: 1.1fr 0.7fr 0.9fr;
}

.footer-box {
  min-height: 100%;
}

.footer-links a,
.contact-card a,
.footer-box a,
.map-copy a {
  color: var(--steel);
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-links a::before {
  content: "\203A";
  color: var(--blue-soft);
  font-size: 1rem;
  line-height: 1;
}

.footer-links a:hover,
.contact-card a:hover,
.footer-box a:hover,
.map-copy a:hover {
  color: var(--blue-soft);
}

.footer-bottom {
  width: var(--container);
  margin: 18px auto 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 0.92rem;
}

.floating-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 110;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  padding: 0 18px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.94), rgba(10, 117, 60, 0.94));
  color: white;
  box-shadow: 0 22px 48px rgba(0, 0, 0, 0.32);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.floating-whatsapp svg {
  flex: 0 0 auto;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: none;
  place-items: center;
  padding: 24px;
  background: rgba(3, 5, 10, 0.94);
}

.lightbox.is-open {
  display: grid;
}

.lightbox-figure {
  position: relative;
  width: min(1100px, calc(100vw - 48px));
  max-height: calc(100vh - 80px);
  display: grid;
  gap: 14px;
}

.lightbox-image {
  width: 100%;
  max-height: calc(100vh - 150px);
  object-fit: contain;
  border-radius: 18px;
}

.lightbox-caption {
  text-align: center;
  color: var(--muted);
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.lightbox-close {
  top: 20px;
  right: 20px;
}

.lightbox-arrow.prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-arrow.next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 650ms ease, transform 650ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

.delay-1 {
  transition-delay: 100ms;
}

.delay-2 {
  transition-delay: 180ms;
}

.delay-3 {
  transition-delay: 260ms;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.process-card {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 14px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.process-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), transparent 40%);
  pointer-events: none;
}

.process-step {
  position: relative;
  z-index: 1;
  display: inline-flex;
  width: fit-content;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(29, 125, 255, 0.08);
  border: 1px solid rgba(29, 125, 255, 0.16);
  color: var(--blue-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.process-icon {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 20px;
  background: rgba(29, 125, 255, 0.12);
  color: var(--blue-soft);
  box-shadow: inset 0 0 0 1px rgba(29, 125, 255, 0.14);
}

.process-card:nth-child(2) .process-icon {
  background: rgba(255, 122, 0, 0.12);
  color: var(--spark-soft);
  box-shadow: inset 0 0 0 1px rgba(255, 122, 0, 0.14);
}

.process-card:nth-child(3) .process-icon {
  background: rgba(255, 255, 255, 0.09);
  color: var(--steel);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.process-icon svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
  fill: none;
  stroke-width: 1.85;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.process-card h3,
.process-card p {
  position: relative;
  z-index: 1;
}

.process-card h3 {
  font-size: 1.32rem;
}

.process-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.cta-button::after,
.ghost-button::after {
  content: none;
  display: none;
}

.stat-card strong::before,
.faq-question strong::before,
.service-card .service-tag::before,
.article-card .article-meta::before,
.contact-card .contact-label::before,
.contact-card:nth-child(1) .contact-label::before,
.contact-card:nth-child(2) .contact-label::before,
.contact-card:nth-child(3) .contact-label::before,
.contact-card:nth-child(4) .contact-label::before,
.footer-links a::before {
  content: "";
}

.builder-main {
  padding: 36px 0 88px;
}

.builder-page-content {
  width: var(--container);
  margin: 0 auto;
}

.builder-page-content > *:first-child {
  margin-top: 0;
}

.builder-page-content > *:last-child {
  margin-bottom: 0;
}

.builder-page-content .wp-block-group,
.builder-page-content .wp-block-columns,
.builder-page-content .wp-block-cover,
.builder-page-content .wp-block-media-text,
.builder-page-content .wp-block-image,
.builder-page-content .wp-block-heading,
.builder-page-content .wp-block-paragraph,
.builder-page-content .wp-block-buttons,
.builder-page-content .wp-block-list,
.builder-page-content .wp-block-quote,
.builder-page-content .wp-block-spacer {
  margin-top: 0;
  margin-bottom: 24px;
}

.builder-page-content .alignwide {
  width: min(1320px, calc(100vw - 48px));
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.builder-page-content .alignfull {
  width: 100vw;
  max-width: none;
  margin-left: 50%;
  transform: translateX(-50%);
}

.builder-main-elementor {
  padding: 0 0 88px;
}

.builder-main-elementor .elementor-section.elementor-section-boxed > .elementor-container,
.builder-main-elementor .elementor-widget-wrap,
.builder-main-elementor .elementor-column-gap-default > .elementor-column > .elementor-element-populated {
  max-width: 100%;
}
@media (max-width: 1100px) {
  .page-home .hero-panel .media-tile {
    min-height: 320px;
  }

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

  .header-inner {
    gap: 16px;
  }

  .site-nav ul {
    gap: 4px;
  }

  .site-nav a {
    padding-inline: 10px;
    font-size: 0.92rem;
  }

  .header-actions {
    gap: 8px;
  }

  .language-switch button {
    min-width: 40px;
    padding-inline: 12px;
  }

  .header-actions .cta-button {
    min-height: 48px;
    padding-inline: 18px;
  }

  .hero-grid,
  .split-section,
  .contact-layout,
  .cta-strip,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .services-grid,
  .articles-grid,
  .features-grid,
  .gallery-grid,
  .contact-cards,
  .donation-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-services .service-card {
    grid-template-columns: minmax(0, 1fr) 280px;
  }
}

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

  .page-home .hero-grid {
    grid-template-columns: 1fr;
  }

  .page-home .hero-panel {
    order: 0;
  }

  .page-home .hero-panel .media-tile {
    min-height: 300px;
  }

  .builder-page-content .alignwide,
  .builder-page-content .alignfull {
    width: auto;
    max-width: none;
    margin-left: 0;
    transform: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-inner {
    grid-template-columns: auto auto auto;
    justify-content: space-between;
  }

  .site-nav {
    position: fixed;
    top: calc(var(--header-height) + 12px);
    left: 16px;
    right: 16px;
    padding: 20px;
    border-radius: 24px;
    background: rgba(7, 11, 18, 0.99);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-14px);
    transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
  }

  body.menu-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    justify-content: flex-start;
    padding-inline: 18px;
  }

  .header-actions .cta-button {
    display: none;
  }

  .stats-grid,
  .gallery-grid,
  .services-grid,
  .articles-grid,
  .features-grid,
  .contact-cards,
  .donation-grid,
  .input-grid {
    grid-template-columns: 1fr;
  }

  .page-services .service-card {
    grid-template-columns: 1fr;
  }

  .faq-item-grid {
    grid-template-columns: 1fr;
  }

  .faq-media {
    min-height: 240px;
  }

  .service-card-media,
  .service-hero-media,
  .page-hero-media {
    min-height: 260px;
  }
}

@media (max-width: 640px) {
  .page-home .hero-panel .media-tile {
    min-height: 260px;
  }

  body {
    transform: none;
  }

  .hero,
  .page-hero {
    padding-top: 72px;
  }

  .header-inner,
  .section-shell,
  .footer-inner,
  .footer-bottom {
    width: min(calc(100vw - 24px), 1180px);
  }

  .brand-copy span {
    display: none;
  }

  .hero-copy h1,
  .page-hero h1 {
    max-width: none;
  }

  .stat-card,
  .feature-card,
  .service-card,
  .article-card,
  .contact-card,
  .faq-item,
  .map-copy,
  .form-shell,
  .donation-card,
  .footer-box,
  .cta-panel {
    padding: 20px;
  }

  .floating-whatsapp {
    right: 12px;
    left: 12px;
    justify-content: center;
  }

  .lightbox {
    padding: 12px;
  }

  .lightbox-arrow {
    display: none;
  }
}

/* v6 layout refinements */
.page-home .hero-grid {
  grid-template-columns: minmax(0, 0.98fr) minmax(0, 1.02fr);
  align-items: start;
}

.page-home .hero-copy {
  align-self: start;
}

.page-home .hero-panel {
  align-self: start;
  margin-top: clamp(44px, 4vw, 62px);
}

.page-home .hero-panel-single {
  overflow: visible;
}

.hero-single-media {
  min-height: clamp(520px, 46vw, 720px);
}

.hero-single-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.page-home .stats-grid {
  grid-template-columns: repeat(3, minmax(210px, 1fr));
  gap: 18px;
  width: min(100%, 920px);
}

.home-quality-track .quality-card {
  display: grid;
  gap: 14px;
  align-content: start;
}

.quality-copy {
  display: none;
}

.quality-copy strong {
  display: block;
  margin-bottom: 8px;
  color: var(--steel);
  font-size: 1.06rem;
}

.quality-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

@media (max-width: 1100px) {
  .page-home .hero-panel {
    margin-top: 40px;
  }

  .home-quality-slider .slider-control {
    display: none;
  }

  .home-quality-slider .slider-track {
    grid-auto-flow: row;
    grid-auto-columns: unset;
    gap: 22px;
    transform: none !important;
  }

  .quality-copy {
    display: block;
  }
}

@media (max-width: 920px) {
  .page-home .hero-panel {
    margin-top: 0;
  }

  .page-home .stats-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .home-quality-slider .media-caption {
    position: static;
    left: auto;
    right: auto;
    padding: 14px 0 0;
  }

  .home-quality-slider .media-tile::after {
    display: none;
  }
}

.page-home .stats-grid {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 24px;
  width: min(100%, 1100px);
  margin: 32px auto 0;
  align-items: stretch;
}

.page-home .stat-card {
  min-height: 320px;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
}

.page-home .stat-card strong {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 72px;
  width: 100%;
  text-align: center;
}

.page-home .stat-card span {
  display: block;
  width: 100%;
  max-width: 16ch;
  margin: 0 auto;
}

@media (max-width: 920px) {
  .page-home .stats-grid {
    grid-template-columns: 1fr;
    width: 100%;
  }

  .page-home .stat-card {
    min-height: unset;
  }

  .page-home .stat-card strong {
    min-height: unset;
  }

  .page-home .stat-card span {
    max-width: none;
  }
}

/* v6.1 homepage and fallback updates */
.page-home .hero-grid {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  align-items: start;
}

.page-home .hero-panel {
  order: -1;
  margin-top: 0;
  align-self: start;
}

.page-home .hero-copy {
  position: relative;
  z-index: 1;
}

.page-home .hero-panel-single {
  overflow: hidden;
}

.page-home .hero-single-media {
  min-height: clamp(420px, 40vw, 640px);
}

.page-home .stats-grid {
  width: 100%;
  max-width: none;
  margin-top: 28px;
}

.page-home .stat-card {
  justify-content: flex-start;
}

.page-home .stat-card span {
  max-width: none;
}

.article-card__link {
  color: inherit;
  text-decoration: none;
}

.article-card__link:hover,
.article-card__link:focus-visible {
  color: var(--blue-soft);
}

.about-success-visual {
  overflow: visible;
}

.experience-badge {
  position: absolute;
  top: -18px;
  left: -18px;
  z-index: 4;
  display: grid;
  place-items: center;
  gap: 4px;
  width: 132px;
  height: 132px;
  padding: 18px;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.14), transparent 42%),
    linear-gradient(145deg, rgba(6, 16, 26, 0.96), rgba(15, 33, 56, 0.96));
  border: 1px solid rgba(151, 209, 255, 0.22);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.experience-badge strong {
  display: block;
  color: var(--text);
  font-family: "Oswald", sans-serif;
  font-size: 2.7rem;
  line-height: 0.9;
  letter-spacing: 0.03em;
}

.experience-badge span {
  display: block;
  max-width: 10ch;
  color: var(--blue-soft);
  font-size: 0.72rem;
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.page-home .hero-copy {
  padding-bottom: 12px;
}

.page-home .home-stats-grid {
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  justify-content: center;
  width: min(100%, 1120px);
  margin: 38px auto 0;
}

.page-home .home-stats-grid .stat-card {
  justify-content: center;
}

.section-weld-motion {
  padding-top: 0;
  padding-bottom: 18px;
}

.weld-motion {
  --weld-progress: 0;
  --weld-spark-progress: 0;
  position: relative;
  min-height: 180px;
  overflow: visible;
  background: none;
  border: 0;
  box-shadow: none;
}

.weld-motion__svg {
  position: relative;
  display: block;
  width: min(660px, 72vw);
  height: 180px;
  margin-left: 0;
  overflow: visible;
}

.weld-motion__gun {
  transform-box: fill-box;
  transform-origin: 26% 72%;
  transform: rotate(calc(var(--weld-progress) * 16deg));
  transition: transform 120ms linear;
}

.weld-motion__gun-handle {
  fill: rgba(151, 209, 255, 0.05);
  stroke: rgba(151, 209, 255, 0.12);
  stroke-width: 2.2;
}

.weld-motion__gun-grip {
  fill: rgba(255, 255, 255, 0.022);
}

.weld-motion__gun-neck {
  fill: none;
  stroke: rgba(255, 255, 255, 0.13);
  stroke-width: 11;
  stroke-linecap: round;
}

.weld-motion__gun-trigger,
.weld-motion__gun-accent {
  fill: rgba(255, 122, 0, 0.14);
}

.weld-motion__gun-nozzle {
  fill: rgba(255, 255, 255, 0.05);
  stroke: rgba(255, 255, 255, 0.14);
  stroke-width: 1.8;
}

.weld-motion__gun .weld-motion__tip {
  fill: rgba(255, 171, 77, 0.9);
  stroke: rgba(255, 171, 77, 0.65);
  stroke-width: 3;
}

.weld-motion__spark-core,
.weld-motion__spark-rays,
.weld-motion__spark-particles {
  opacity: calc(var(--weld-spark-progress) * 0.95);
  transition: opacity 180ms ease;
}

.weld-motion__spark-core {
  transform-origin: 432px 83px;
  transform: scale(calc(0.64 + (var(--weld-spark-progress) * 0.58)));
}

.weld-motion__spark-rays line {
  stroke: rgba(255, 171, 77, 0.82);
  stroke-width: 2.3;
  stroke-linecap: round;
}

.weld-motion__spark-particles circle {
  fill: rgba(255, 171, 77, 0.88);
  transform: translateX(calc(var(--weld-spark-progress) * 18px));
}

.articles-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 28px;
  align-items: start;
}

.articles-feed {
  display: grid;
  gap: 20px;
}

.articles-feed .article-card {
  min-height: 100%;
}

.articles-card-cta {
  margin-top: 18px;
}

.articles-sidebar {
  position: sticky;
  top: calc(var(--header-height) + 20px);
}

.articles-sidebar__box,
.articles-hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.025));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-md);
}

.articles-hero-panel {
  min-height: 100%;
  align-content: center;
}

.articles-hero-panel__count {
  color: var(--text);
  font-family: "Oswald", sans-serif;
  font-size: clamp(3rem, 7vw, 4.8rem);
  line-height: 0.9;
  letter-spacing: 0.04em;
}

.articles-hero-panel strong {
  color: var(--blue-soft);
  font-size: 1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.articles-hero-panel p,
.articles-sidebar__empty,
.articles-sidebar__list span {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.articles-sidebar__list {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.articles-sidebar__list li {
  display: grid;
  gap: 4px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.articles-sidebar__list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.articles-sidebar__list a {
  color: var(--steel);
  font-weight: 700;
  line-height: 1.5;
}

.articles-sidebar__list a:hover,
.articles-sidebar__list a:focus-visible {
  color: var(--blue-soft);
}

.articles-pagination ul {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 8px 0 0;
  padding: 0;
  list-style: none;
}

.articles-pagination a,
.articles-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 46px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--muted);
  font-weight: 800;
}

.articles-pagination .current,
.articles-pagination a:hover {
  color: var(--text);
  background: rgba(29, 125, 255, 0.12);
  border-color: rgba(29, 125, 255, 0.24);
}

.gallery-showcase {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 22px;
  align-items: stretch;
}

.gallery-page-minimal__section {
  padding-top: 46px;
}

.gallery-showcase--minimal {
  align-items: stretch;
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 120px;
  gap: 22px;
}

.gallery-masonry__item {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.03);
  transition: transform var(--transition), filter var(--transition);
}

.gallery-masonry__item:hover {
  transform: translateY(-4px);
  filter: brightness(1.05);
}

.gallery-masonry__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-masonry__glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 16, 26, 0.02), rgba(7, 16, 26, 0.16));
  pointer-events: none;
}

.gallery-masonry__item:nth-child(6n + 1) {
  grid-column: span 2;
  grid-row: span 4;
}

.gallery-masonry__item:nth-child(6n + 2) {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-masonry__item:nth-child(6n + 3),
.gallery-masonry__item:nth-child(6n + 4) {
  grid-column: span 1;
  grid-row: span 2;
}

.gallery-masonry__item:nth-child(6n + 5),
.gallery-masonry__item:nth-child(6n) {
  grid-column: span 2;
  grid-row: span 3;
}

.gallery-showcase__hero,
.gallery-showcase__feature,
.gallery-showcase__small {
  position: relative;
  overflow: hidden;
  padding: 0;
  border-radius: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.04);
  box-shadow: none;
  transition: transform var(--transition), opacity var(--transition), filter var(--transition);
}

.gallery-showcase__hero:hover,
.gallery-showcase__feature:hover,
.gallery-showcase__small:hover {
  transform: translateY(-4px);
  filter: brightness(1.04);
}

.gallery-showcase__hero {
  min-height: 770px;
}

.gallery-showcase__stack {
  display: grid;
  gap: 22px;
}

.gallery-showcase__feature {
  min-height: 376px;
}

.gallery-showcase__pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.gallery-showcase__small {
  min-height: 372px;
}

.gallery-showcase__hero img,
.gallery-showcase__feature img,
.gallery-showcase__small img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-showcase__hero img {
  object-position: center;
}

.gallery-showcase__feature img {
  object-position: center;
}

.gallery-showcase__feature-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(201, 91, 26, 0.76), rgba(201, 91, 26, 0.76)),
    linear-gradient(180deg, rgba(7, 16, 26, 0.12), rgba(7, 16, 26, 0.2));
  mix-blend-mode: screen;
}

.gallery-showcase__feature-mark,
.gallery-showcase__feature-mark::before {
  position: absolute;
  top: 28px;
  right: 34px;
  width: 44px;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  content: "";
}

.gallery-showcase__feature-mark::before {
  top: 0;
  right: 0;
  transform: rotate(90deg);
  transform-origin: center;
}

.gallery-showcase__caption {
  position: absolute;
  left: 26px;
  bottom: 26px;
  z-index: 2;
}

.gallery-showcase__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(7, 11, 18, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gallery-showcase__tag::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--spark), var(--blue));
}

.gallery-support {
  margin-top: 28px;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  padding-top: 10px;
}

.gallery-support__copy {
  display: grid;
  gap: 12px;
  max-width: 62ch;
}

.gallery-support__copy h3 {
  font-size: clamp(1.5rem, 2vw, 2rem);
}

.gallery-support__copy p {
  margin: 0;
}

@media (max-width: 920px) {
  .page-home .hero-grid {
    grid-template-columns: 1fr;
  }

  .page-home .hero-panel {
    order: -1;
  }

  .page-home .hero-single-media {
    min-height: 260px;
  }

  .page-home .stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .page-home .stat-card {
    min-height: unset;
    padding: 22px 18px;
    text-align: left;
    align-items: flex-start;
  }

  .page-home .stat-card strong {
    justify-content: flex-start;
    min-height: unset;
    text-align: left;
  }

  .page-home .stat-card span {
    margin: 0;
  }

  .experience-badge {
    top: 14px;
    left: 14px;
    width: 108px;
    height: 108px;
    padding: 14px;
  }

  .experience-badge strong {
    font-size: 2.2rem;
  }

  .experience-badge span {
    font-size: 0.62rem;
  }

  .section-weld-motion {
    padding-bottom: 24px;
  }

  .weld-motion {
    min-height: 132px;
  }

  .weld-motion__svg {
    width: min(480px, 82vw);
    height: 132px;
  }

  .articles-layout {
    grid-template-columns: 1fr;
  }

  .articles-sidebar {
    position: static;
  }

  .gallery-showcase {
    grid-template-columns: 1fr;
  }

  .gallery-page-minimal__section {
    padding-top: 20px;
  }

  .gallery-masonry {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 110px;
    gap: 16px;
  }

  .gallery-masonry__item:nth-child(6n + 1),
  .gallery-masonry__item:nth-child(6n + 2),
  .gallery-masonry__item:nth-child(6n + 5),
  .gallery-masonry__item:nth-child(6n) {
    grid-column: span 2;
  }

  .gallery-masonry__item:nth-child(6n + 3),
  .gallery-masonry__item:nth-child(6n + 4) {
    grid-column: span 1;
  }

  .gallery-showcase__hero {
    min-height: 420px;
  }

  .gallery-showcase__feature {
    min-height: 240px;
  }

  .gallery-showcase__pair {
    grid-template-columns: 1fr;
  }

  .gallery-showcase__small {
    min-height: 240px;
  }

  .gallery-support {
    flex-direction: column;
    align-items: start;
  }
}

@media (max-width: 640px) {
  .gallery-masonry {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
  }

  .gallery-masonry__item,
  .gallery-masonry__item:nth-child(6n + 1),
  .gallery-masonry__item:nth-child(6n + 2),
  .gallery-masonry__item:nth-child(6n + 3),
  .gallery-masonry__item:nth-child(6n + 4),
  .gallery-masonry__item:nth-child(6n + 5),
  .gallery-masonry__item:nth-child(6n) {
    grid-column: span 1;
    grid-row: span 1;
    min-height: 240px;
  }
}
