/* Spor Masoru — Athletic theme */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

/* Hero lead can be toggled */
.hero__lead[hidden] { display: none !important; }

body {
  margin: 0;
  font-family: var(--font-body) !important;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  background-image:
    radial-gradient(ellipse 80% 50% at 10% -10%, rgba(184, 242, 74, 0.08), transparent 50%),
    radial-gradient(ellipse 60% 40% at 100% 0%, rgba(46, 230, 166, 0.06), transparent 45%),
    linear-gradient(180deg, #0A0E12 0%, #0D1218 100%);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); text-decoration: none; transition: color .25s var(--ease), opacity .25s var(--ease); }
a:hover { color: var(--accent-2); }
h1, h2, h3, h4, h5 {
  font-family: var(--font-display) !important;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
  color: var(--text);
}
p { margin: 0 0 1em; color: var(--muted); }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* —— Header —— */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  height: var(--header-h);
  background: rgba(10, 14, 18, 0.72);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background .35s var(--ease), border-color .35s var(--ease), height .35s var(--ease);
}
.site-header.is-scrolled {
  background: rgba(10, 14, 18, 0.92);
  border-bottom-color: var(--line);
  height: 68px;
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
  height: 100%;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text) !important;
  flex-shrink: 0;
}
.brand img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  padding: 10px;
  z-index: 1002;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--text);
  transition: transform .3s var(--ease), opacity .3s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.site-nav {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-left: auto;
}
.site-nav__list {
  display: flex;
  align-items: center;
  gap: 4px;
}
.site-nav__list > li { position: relative; }
.site-nav__list > li > a,
.nav-parent {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  color: var(--muted);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: inherit;
  cursor: pointer;
}
.site-nav__list > li > a:hover,
.site-nav__list > li > a.is-active,
.nav-parent:hover,
.nav-parent.is-active {
  color: var(--text);
}
.site-nav__list > li > a.is-active,
.nav-parent.is-active {
  color: var(--accent);
}
.nav-parent .fa {
  font-size: 0.75rem;
  opacity: 0.7;
}
.nav-mobile-cta { display: none; }
.nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 998;
  background: rgba(0,0,0,0.55);
  border: 0;
  padding: 0;
  cursor: pointer;
}
.nav-backdrop.is-visible { display: block; }

.has-dropdown .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  padding: 8px 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.is-open .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 10px 16px;
  color: var(--muted);
  font-size: 0.9rem;
}
.dropdown a:hover { color: var(--accent); background: rgba(184,242,74,0.06); }
.lang-switch { display: flex; gap: 8px; }
.lang-switch a {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  padding: 4px 8px;
  border-radius: var(--radius);
}
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  padding: 12px 18px;
  background: var(--accent);
  color: #0A0E12 !important;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: var(--radius);
  letter-spacing: 0.01em;
}
.header-cta:hover {
  background: var(--accent-2);
  color: #0A0E12 !important;
}

/* —— Hero —— */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  background: var(--bg);
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1s var(--ease);
  pointer-events: none;
}
.hero__slide.is-active {
  opacity: 1;
  pointer-events: auto;
  z-index: 1;
}
.hero__media {
  position: absolute;
  inset: 0;
}
.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: heroKen 18s ease-in-out infinite alternate;
}
.hero__slide.is-active .hero__media img { animation-play-state: running; }
@keyframes heroKen {
  from { transform: scale(1.04) translate(0, 0); }
  to { transform: scale(1.1) translate(-1.5%, -1%); }
}
.hero__shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(10,14,18,0.92) 0%, rgba(10,14,18,0.55) 45%, rgba(10,14,18,0.35) 100%),
    linear-gradient(0deg, rgba(10,14,18,0.85) 0%, transparent 40%);
  z-index: 2;
}
.hero__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: calc(100vh - var(--header-h));
  min-height: calc(100svh - var(--header-h));
  max-width: 1180px;
  margin: 0 auto;
  padding: 48px 20px 72px;
}
.hero__brand {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: var(--text);
  margin: 0 0 20px;
  max-width: 12ch;
  opacity: 0;
  transform: translateY(24px);
  animation: riseIn .9s var(--ease) .15s forwards;
}
.hero__title {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 2.5vw, 1.75rem);
  font-weight: 600;
  color: var(--accent);
  margin: 0 0 12px;
  max-width: 28ch;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn .9s var(--ease) .3s forwards;
}
.hero__lead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 36ch;
  margin: 0 0 28px;
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn .9s var(--ease) .45s forwards;
}
.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  align-self: flex-start;
  padding: 14px 28px;
  background: var(--accent);
  color: #0A0E12 !important;
  font-weight: 700;
  font-family: var(--font-display);
  font-size: 0.95rem;
  border-radius: var(--radius);
  opacity: 0;
  transform: translateY(20px);
  animation: riseIn .9s var(--ease) .55s forwards;
}
.hero__cta:hover { background: #fff; color: #0A0E12 !important; }
.hero__nav {
  position: absolute;
  z-index: 4;
  bottom: 28px;
  right: 20px;
  display: flex;
  gap: 8px;
}
.hero__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.4);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background .3s, border-color .3s;
}
.hero__dot.is-active {
  background: var(--accent);
  border-color: var(--accent);
}
@keyframes riseIn {
  to { opacity: 1; transform: translateY(0); }
}

/* —— Sections —— */
.section {
  padding: 88px 0;
}
.section--surface {
  background: var(--surface);
  background-image: linear-gradient(180deg, rgba(184,242,74,0.03), transparent 30%);
}
.section__head {
  margin-bottom: 48px;
  max-width: 36rem;
}
.section__head--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}
.section__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  margin-bottom: 12px;
}
.section__desc { margin: 0; font-size: 1.05rem; }

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Services grid */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.service-item a { color: inherit; display: block; }
.service-item__media {
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 4/3;
  background: var(--surface-2);
}
.service-item__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.service-item:hover .service-item__media img { transform: scale(1.06); }
.service-item h3 {
  font-size: 1.25rem;
  margin-bottom: 8px;
  transition: color .25s;
}
.service-item:hover h3 { color: var(--accent); }
.service-item p { margin: 0; font-size: 0.95rem; }

/* Product / project strip */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.product-link {
  display: block;
  color: inherit;
  position: relative;
  overflow: hidden;
}
.product-link__media {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--surface-2);
}
.product-link__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .6s var(--ease), filter .6s;
  filter: brightness(0.85);
}
.product-link:hover .product-link__media img {
  transform: scale(1.05);
  filter: brightness(1);
}
.product-link__title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 0 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
}
.product-link__title i { color: var(--accent); font-size: 0.85rem; }

/* Blog grid — 3 yan yana */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.blog-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.blog-card__media {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 18px;
}
.blog-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s var(--ease);
}
.blog-card:hover .blog-card__media img { transform: scale(1.05); }
.blog-card__body { flex: 1; display: flex; flex-direction: column; }
.blog-card h3 {
  font-size: 1.15rem;
  margin: 0 0 10px;
  line-height: 1.3;
}
.blog-card h3 a { color: var(--text); }
.blog-card h3 a:hover { color: var(--accent); }
.blog-card p {
  font-size: 0.92rem;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.blog-meta {
  font-size: 0.8rem;
  color: var(--muted);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  margin-top: auto;
}
.blog-meta i { color: var(--accent); margin-right: 4px; }

/* legacy row (iç sayfalar) */
.blog-list { display: flex; flex-direction: column; gap: 28px; }
.blog-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 20px;
  align-items: start;
}
.blog-row__media {
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}
.blog-row__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-row h4 { font-size: 1.1rem; margin-bottom: 6px; }
.blog-row h4 a { color: var(--text); }
.blog-row h4 a:hover { color: var(--accent); }
.blog-row p { font-size: 0.9rem; margin-bottom: 8px; }

.split-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 56px;
  align-items: start;
}

.testimonial {
  padding: 8px 0 0;
  border-top: none;
  text-align: center;
}
.testimonial__quote {
  font-size: 1.15rem;
  color: var(--text);
  line-height: 1.55;
  margin: 0 0 24px;
  font-weight: 500;
}
.testimonial__quote::before {
  content: '"';
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  color: var(--accent);
  margin-bottom: 8px;
}
.testimonial__person {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.testimonial__person img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--accent);
}
.testimonial__person strong {
  display: block;
  color: var(--text);
  font-family: var(--font-display);
}
.testimonial__person span {
  font-size: 0.85rem;
  color: var(--muted);
}
.testimonial-slider { position: relative; }
.testimonial-slide { display: none; }
.testimonial-slide.is-active { display: block; animation: fadeSoft .5s var(--ease); }
@keyframes fadeSoft {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* References */
.ref-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 14px;
  margin-top: 40px;
  align-items: stretch;
}
.ref-item {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 96px;
  padding: 18px 20px;
  background: #EEF1F4;
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,0.04);
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(10,14,18,0.04);
}
.ref-item img {
  max-height: 52px;
  max-width: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 1;
  filter: none;
  /* Beyaz logoların zeminini aydınlık kutuya karıştırır */
  mix-blend-mode: multiply;
  transition: transform .3s var(--ease);
}
@supports not (mix-blend-mode: multiply) {
  .ref-item img { mix-blend-mode: normal; }
}
.ref-item:hover img {
  transform: scale(1.04);
}
/* —— Page banner —— */
.page-banner {
  padding: 72px 0 48px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(184,242,74,0.07), transparent 50%),
    var(--surface);
}
.page-banner h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0;
}
.page-banner p { margin: 12px 0 0; max-width: 40ch; }

/* Content area */
.page-content { padding: 64px 0 88px; }
.content-prose {
  max-width: 720px;
  color: var(--muted);
}
.content-prose h1, .content-prose h2, .content-prose h3 { color: var(--text); }
.content-prose img { margin: 1.5em 0; border-radius: var(--radius); }
.content-prose a { text-decoration: underline; text-underline-offset: 3px; }

.list-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.gallery-grid a {
  display: block;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s var(--ease);
}
.gallery-grid a:hover img { transform: scale(1.05); }

.detail-layout {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 48px;
  align-items: start;
}
.detail-media {
  overflow: hidden;
  background: var(--surface-2);
  margin-bottom: 24px;
}
.detail-media img { width: 100%; height: auto; }
.side-list { display: flex; flex-direction: column; gap: 12px; }
.side-list a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-weight: 600;
}
.side-list a:hover { color: var(--accent); }

/* Forms */
.form-panel { max-width: 560px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}
.form-control,
.form-panel input[type="text"],
.form-panel input[type="email"],
.form-panel input[type="tel"],
.form-panel textarea,
.form-panel select {
  width: 100%;
  padding: 14px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
  transition: border-color .25s;
}
.form-panel textarea { min-height: 140px; resize: vertical; }
.form-control:focus,
.form-panel input:focus,
.form-panel textarea:focus {
  border-color: var(--accent);
}
.btn-primary,
.btn-genel {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  background: var(--accent);
  color: #0A0E12 !important;
  font-weight: 700;
  font-family: var(--font-display);
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
  transition: background .25s, transform .2s;
}
.btn-primary:hover,
.btn-genel:hover {
  background: var(--accent-2);
  color: #0A0E12 !important;
}
.map-embed {
  margin-top: 40px;
  border: 1px solid var(--line);
  overflow: hidden;
  min-height: 320px;
}
.map-embed iframe { width: 100%; height: 360px; border: 0; display: block; }

.contact-meta {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
}
.contact-meta p {
  margin: 0;
  color: var(--text);
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.contact-meta i { color: var(--accent); margin-top: 4px; }

/* —— Footer —— */
.site-footer {
  padding: 0;
  background: #06080B;
  border-top: 1px solid var(--line);
  margin-top: 0;
}
.footer-cta {
  background:
    linear-gradient(90deg, rgba(184,242,74,0.12), transparent 55%),
    #0B1016;
  border-bottom: 1px solid var(--line);
}
.footer-cta__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 20px;
  flex-wrap: wrap;
}
.footer-cta__text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}
.footer-cta__text strong {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--text);
  letter-spacing: -0.02em;
}
.footer-cta__text span {
  color: var(--muted);
  font-size: 0.95rem;
}
.footer-cta__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-cta__btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: var(--accent);
  color: #0A0E12 !important;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: var(--radius);
}
.footer-cta__btn:hover {
  background: #fff;
  color: #0A0E12 !important;
}
.footer-cta__btn--ghost {
  background: transparent;
  color: var(--text) !important;
  border: 1px solid var(--line);
}
.footer-cta__btn--ghost:hover {
  border-color: var(--accent);
  color: var(--accent) !important;
  background: transparent;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.9fr 1.1fr 1.15fr;
  gap: 40px 32px;
  padding: 56px 0 48px;
}
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text) !important;
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}
.footer-logo img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}
.footer-about {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 32ch;
}
.site-footer h4 {
  font-family: var(--font-display) !important;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 22px;
  font-weight: 700;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links a {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 500;
}
.footer-links a:hover { color: var(--text); }

.footer-posts {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-post {
  display: block;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
  color: inherit;
}
.footer-post:last-child { border-bottom: none; padding-bottom: 0; }
.footer-post__title {
  display: block;
  color: var(--text);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.4;
  margin-bottom: 4px;
}
.footer-post:hover .footer-post__title { color: var(--accent); }
.footer-post__meta {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
}
.footer-empty {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-contact {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
}
.footer-contact i {
  color: var(--accent);
  width: 18px;
  margin-top: 3px;
  flex-shrink: 0;
  text-align: center;
}
.footer-contact a {
  color: var(--muted);
}
.footer-contact a:hover { color: var(--accent); }
.footer-map-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 22px;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent) !important;
}
.footer-map-link:hover { color: var(--accent-2) !important; }

.footer-bottom {
  border-top: 1px solid var(--line);
  background: #04060A;
  padding: 0;
  text-align: left;
}
.footer-bottom__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 18px 20px;
}
.footer-copy,
.footer-legal {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.footer-copy__sep { margin: 0 6px; opacity: 0.5; }
.footer-legal a {
  color: var(--muted);
  font-weight: 600;
}
.footer-legal a:hover { color: var(--accent); }

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}
.footer-social a:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(184,242,74,0.06);
}

/* Mobile contact bar */
.mContact {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 900;
  height: 56px;
}
.mContact a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
}
.mContact .tl { background: #1a5cff; }
.mContact .wp { background: #128C7E; }
.mContact img { width: 22px; height: 22px; }

/* Utility */
.text-center { text-align: center; }
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  border: 0;
}

/* Bootstrap leftovers softened for dark theme */
.navbar, .navbar-default { display: none !important; }
.carousel-control { display: none; }

.content-prose::after {
  content: '';
  display: table;
  clear: both;
}
.gallery-video-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--surface-2);
  cursor: default;
}
.gallery-video-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
}
.gallery-video-embed {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(10,14,18,0.9);
  padding: 12px;
}
.gallery-video-embed[hidden] { display: none !important; }
.gallery-video-item:hover .gallery-video-embed[hidden] {
  display: flex !important;
}
.gallery-video-embed iframe {
  max-width: 100%;
  max-height: 100%;
}

/* —— Responsive —— */
@media (max-width: 992px) {
  .service-grid,
  .product-grid,
  .list-grid,
  .gallery-grid,
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .split-grid,
  .detail-layout,
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px 28px; }
  .footer-col--brand { grid-column: 1 / -1; }
  .header-cta span { display: none; }
  .header-cta { padding: 12px 14px; }
}
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .site-header,
  .site-header.is-scrolled { height: var(--header-h); }
  .site-header__inner { gap: 12px; }
  .header-cta { display: none !important; }
  .nav-toggle { display: flex; margin-left: auto; }
  .brand__name { font-size: 1rem; max-width: 42vw; overflow: hidden; text-overflow: ellipsis; }

  .site-nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    margin: 0;
    padding: 12px 20px 100px;
    background: #0A0E12;
    border-top: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform .35s var(--ease), visibility .35s;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 1001;
    pointer-events: none;
    visibility: hidden;
  }
  .site-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
    visibility: visible;
  }
  .site-nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
  }
  .site-nav__list > li > a,
  .nav-parent {
    width: 100%;
    justify-content: space-between;
    padding: 16px 0;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--line);
    text-transform: none;
    letter-spacing: 0;
    color: var(--text);
  }
  .has-dropdown .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    border: none;
    background: transparent;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s var(--ease), padding .25s;
  }
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    max-height: 0;
    padding: 0;
    opacity: 1;
    visibility: visible;
  }
  .has-dropdown.is-open .dropdown {
    max-height: 320px;
    padding: 0 0 8px 8px;
  }
  .has-dropdown .dropdown a {
    padding: 12px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
  }
  .nav-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 28px;
    padding: 14px 20px;
    background: var(--accent);
    color: #0A0E12 !important;
    font-weight: 700;
    border-radius: var(--radius);
  }
  .ref-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .ref-item { min-height: 80px; padding: 14px; }
  .ref-item img { max-height: 40px; }

  .service-grid,
  .product-grid,
  .list-grid,
  .gallery-grid,
  .footer-grid,
  .blog-grid { grid-template-columns: 1fr; }
  .footer-col--brand { grid-column: auto; }
  .footer-cta__inner { padding: 24px 20px; }
  .footer-grid { padding: 40px 0 36px; }
  .footer-bottom__inner { flex-direction: column; align-items: flex-start; }
  .blog-row { grid-template-columns: 100px 1fr; }
  .hero__content { padding-bottom: 100px; }
  .hero__brand { font-size: clamp(2.4rem, 12vw, 3.5rem); }
  .mContact { display: flex; }
  body { padding-bottom: 56px; }
  body.nav-open { overflow: hidden; }
  body.nav-open .mContact { display: none; }
  .section { padding: 64px 0; }
  .page-banner { padding: 48px 0 32px; }
}
