:root {
  color-scheme: light;
  --color-background: #f5f7fb;
  --color-surface: #ffffff;
  --color-surface-alt: #f0f4ff;
  --color-text: #1d2433;
  --color-muted: #5f6c85;
  --color-border: rgba(29, 36, 51, 0.08);
  --color-primary: #1c4e80;
  --color-primary-soft: rgba(40, 103, 178, 0.12);
  --color-highlight: #13273f;
  --color-hero-overlay: rgba(9, 18, 32, 0.55);
  --color-hero-surface: rgba(10, 22, 38, 0.62);
  --color-hero-border: rgba(255, 255, 255, 0.2);
  --content-max-width: 100%;
  --shadow-soft: 0 20px 45px -25px rgba(19, 39, 63, 0.6);
  --shadow-medium: 0 15px 35px -15px rgba(28, 78, 128, 0.35);
  --header-height: 80px;
  /* Product accordion timings - World Standard optimization */
  --product-accordion-ms: 500ms;
  --product-accordion-overlay-ms: 400ms;
  --product-accordion-transform-ms: 600ms;
  --product-accordion-focus-ms: 800ms;
  /* Activity card sizing (removed custom min-height) */
  font-size: 16px;
}


@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fade-in {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

#preloader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s;
}

#preloader.preloader-hidden {
  opacity: 0;
  visibility: hidden;
}

.preloader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  animation: preloaderPulse 2s infinite ease-in-out;
}

.preloader-logo-wrap {
  position: relative;
}

.preloader-logo {
  width: 240px;
  height: auto;
  opacity: 0.9;
}

.preloader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(28, 78, 128, 0.1);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(0.98); opacity: 0.8; }
}

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

html {
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
}

body.nav-open {
  /* scroll lock removed: menu is now a compact panel */
}

body.lightbox-open {
  overflow: hidden;
}

section {
  scroll-margin-top: calc(var(--header-height) + 24px);
}

/* Ensure Ürünlerimiz anchor reveals fully below fixed header */
#urunlerimiz {
  /* Anchor slightly lower so Activities background never peeks in */
  scroll-margin-top: calc(var(--header-height));
}

/* Tighter top spacing on Ürünlerimiz so all content fits in view */
#urunlerimiz.section {
  padding-top: clamp(2rem, 4vw, 3rem);
}

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

main {
  padding-top: var(--header-height);
}

/* Kurumsal sayfas: header ile corporate-subnav arasndaki boluu kaldr */
body.page-corporate main {
  padding-top: 0;
}

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

button {
  font: inherit;
  border: none;
  background: none;
  cursor: pointer;
}

.skip-link {
  position: absolute;
  top: -7rem;
  left: 50%;
  transform: translateX(-50%);
  padding: 0.75rem 1.5rem;
  background: var(--color-primary);
  color: #fff;
  border-radius: 999px;
  transition: top 0.3s ease;
  z-index: 1001;
}

.skip-link:focus {
  top: 1.2rem;
}

.container {
  width: min(1120px, 92vw);
  margin: 0 auto;
}

.page-hero {
  background: none;
  color: inherit;
  padding: clamp(1rem, 3vw, 1.6rem) 0 clamp(0.75rem, 2vw, 1.25rem);
  border-bottom: 1px solid var(--color-border);
}

.page-hero .container {
  display: block;
  max-width: var(--content-max-width);
}

.page-hero .breadcrumbs {
  color: var(--color-muted);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  font-size: 0.92rem;
}

.page-hero .breadcrumbs a {
  color: inherit;
  text-decoration: none;
}

.page-hero .breadcrumbs a:hover,
.page-hero .breadcrumbs a:focus {
  color: var(--color-primary);
}

.page-hero .eyebrow,
.page-hero h1,
.page-hero h2,
.page-hero h3 {
  color: var(--color-highlight);
}

.page-hero p {
  color: var(--color-muted);
  margin-top: 0.35rem;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: rgba(226, 235, 248, 0.75);
}

.breadcrumbs a {
  color: inherit;
}

.page-section {
  padding: clamp(4rem, 6vw, 5.5rem) 0;
}

.section {
  padding: clamp(4rem, 6vw, 6rem) 0;
}

.section.section--tight-top {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Turizm sayfası: görsel bölümünün üst boşluğunu kaldır */
#turizm-media {
  padding-top: 0;
}

.section.highlight {
  background: linear-gradient(135deg, #0b1a2b, #22476e);
  color: #e8f3ff;
}

.section.highlight .eyebrow,
.section.highlight h1,
.section.highlight h2,
.section.highlight h3,
.section.highlight p,
.section.highlight li,
.section.highlight a {
  color: #f5f9ff;
}

.section.highlight p {
  color: rgba(245, 249, 255, 0.9);
}

.section.highlight .btn.ghost {
  border-color: rgba(245, 249, 255, 0.45);
  color: #f5f9ff;
}

.section.highlight .btn.ghost:hover,
.section.highlight .btn.ghost:focus {
  background: rgba(245, 249, 255, 0.12);
  border-color: rgba(245, 249, 255, 0.65);
  color: #ffffff;
}

/* Kurumsal: Kurumsal Kimliğimiz ve Tarihçe arka plan rengi */
#baskan-mesaji.section.corporate-section,
#tarihce.section.corporate-section {
  background: var(--color-surface-alt);
}

/* Slightly larger eyebrow on Activities section heading */
.section.activities .section-heading .eyebrow {
  font-size: 1.1rem;
}

/* Nudge Activities heading slightly down (Increased) */
.section.activities .section-heading.center {
  margin-top: clamp(1.2rem, 3vw, 2rem);
  /* Increased by ~10px more */
}

/* Match Ürünlerimiz eyebrow size with Activities */
#urunlerimiz .section-heading .eyebrow {
  font-size: 1.1rem;
}

/* Nudge Ürünlerimiz heading slightly down */
#urunlerimiz .section-heading.center {
  margin-top: clamp(1rem, 2.5vw, 2rem);
}

.section.accent {
  background: var(--color-surface);
}

.section.subtle {
  background: var(--color-surface-alt);
}

/* Kurumsal: Vizyon & Misyon ba  l    alt nda kartlar alt alta gelsin */
#vizyon-ve-misyon .container.two-column {
  display: block;
}

.section-heading {
  max-width: 100%;
}

/* Kurumsal: Bazı başlıkların hemen altında alt çizgi */
#baskan-mesaji .section-heading h2,
#hakkimizda .section-heading h2,
#vizyon-ve-misyon .section-heading h2 {
  display: inline-block;
  padding-bottom: 0.4rem;
  margin-bottom: 0.9rem;
  border-bottom: 2px solid rgba(28, 78, 128, 0.24);
}

.section-heading.center {
  margin: 0 auto clamp(2rem, 4vw, 3rem);
  text-align: center;
}

.section-heading.center p {
  margin-left: auto;
  margin-right: auto;
  max-width: 100%;
}

.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}

/* Homepage eye-brow labels: make intro chips more prominent */
body.page-home .eyebrow {
  font-size: clamp(0.9rem, 1.6vw, 1rem);
}

body.page-home .section-heading .eyebrow {
  font-size: clamp(1.1rem, 1.9vw, 1.25rem);
  letter-spacing: 0.24em;
}

h1,
h2,
h3 {
  color: var(--color-highlight);
  line-height: 1.2;
  margin: 0 0 0.75rem;
}

h1 {
  font-size: clamp(2.5rem, 4vw, 3.4rem);
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(2rem, 3vw, 2.6rem);
}

h3 {
  font-size: 1.35rem;
}

p {
  margin: 0 0 1rem;
  color: var(--color-muted);
  max-width: var(--content-max-width);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  letter-spacing: 0.01em;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background 0.25s ease, color 0.25s ease;
}

.btn.primary {
  background: linear-gradient(135deg, #2a71c0, #1c4e80);
  color: #fff;
  box-shadow: var(--shadow-medium);
}

.btn.primary:hover,
.btn.primary:focus {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px -20px rgba(28, 78, 128, 0.6);
}

.btn.ghost {
  border: 1px solid rgba(28, 78, 128, 0.3);
  color: var(--color-highlight);
}

.btn.light {
  color: rgba(240, 244, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn.ghost:hover,
.btn.ghost:focus {
  background: rgba(28, 78, 128, 0.08);
  color: var(--color-highlight);
}

.btn.light:hover,
.btn.light:focus {
  background: rgba(255, 255, 255, 0.12);
  color: #f7fbff;
}

.btn.full {
  width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  width: 100%;
  background: rgba(245, 247, 251, 0.96);
  border-bottom: 1px solid rgba(18, 42, 73, 0.08);
  backdrop-filter: blur(18px);
  color: var(--color-highlight);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.site-header.scrolled {
  background: rgba(248, 250, 255, 0.98);
  border-bottom: 1px solid rgba(18, 42, 73, 0.12);
  backdrop-filter: blur(18px);
  box-shadow: 0 10px 25px -22px rgba(13, 28, 49, 0.6);
  color: var(--color-text);
}

.site-header--hero:not(.scrolled) {
  background: linear-gradient(110deg, rgba(7, 17, 30, 0.92), rgba(10, 27, 52, 0.82));
  border-bottom: 1px solid rgba(123, 164, 255, 0.28);
  backdrop-filter: blur(12px);
  color: #c7dbf8;
}

.site-header--hero:not(.scrolled) .site-nav a {
  color: #d3e4ff;
  text-shadow: 0 1px 3px rgba(5, 9, 18, 0.55);
}

.site-header--hero:not(.scrolled) .site-nav a:hover,
.site-header--hero:not(.scrolled) .site-nav a:focus {
  color: #7fd2ff;
  background: rgba(19, 158, 255, 0.18);
}

.site-header--hero:not(.scrolled) .site-nav a.accent {
  background: #7bba32;
  color: #fff;
  text-shadow: none;
}

.site-header--hero:not(.scrolled) .site-nav a.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
}

.site-header--hero:not(.scrolled) .site-nav a.accent:hover,
.site-header--hero:not(.scrolled) .site-nav a.accent:focus {
  background: #5f9e29;
}

.site-header--hero:not(.scrolled) .nav-toggle span {
  background: rgba(223, 238, 255, 0.92);
}

.site-header--hero.scrolled {
  color: var(--color-highlight);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.02em;
}

.brand-logo {
  width: 220px;
  height: 54px;
  object-fit: contain;
  display: block;
}

.brand-logo-hero {
  display: none;
}

.site-header--hero:not(.scrolled) .brand-logo-default {
  display: none;
}

.site-header--hero:not(.scrolled) .brand-logo-hero {
  display: block;
}

/* Fimar Life nav logos */
.fimarlife-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.fimarlife-logo {
  height: 34px;
  width: 125px;
  object-fit: contain;
  /* preserve original aspect ratio */
  object-position: center;
  display: block;
}

.fimarlife-logo-hero {
  display: none;
}

.site-header--hero:not(.scrolled) .fimarlife-logo-default {
  display: none;
}

.site-header--hero:not(.scrolled) .fimarlife-logo-hero {
  display: block;
}

/* Nav item only-logo padding adjustment */
.site-nav a.fimarlife-link {
  padding: 0.2rem 0.6rem;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  line-height: 0;
  min-width: 160px;
  /* keep width stable before/after scroll */
}

/* Remove green accent background for Fimarlife link */
.site-nav a.fimarlife-link:hover,
.site-nav a.fimarlife-link:focus {
  background: transparent !important;
}

.site-header--hero:not(.scrolled) .site-nav a.fimarlife-link {
  background: transparent !important;
  color: inherit;
  text-shadow: none;
}

.site-header--hero:not(.scrolled) .site-nav a.fimarlife-link:hover,
.site-header--hero:not(.scrolled) .site-nav a.fimarlife-link:focus {
  background: transparent !important;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.3rem; /* Reduced gap between header titles */
  font-weight: 500;
  flex-wrap: nowrap;
  /* keep items on one line */
}

@media (max-width: 1250px) and (min-width: 901px) {
  .site-nav {
    gap: 0.4rem;
  }

  .site-nav a {
    padding: 0.3rem 0.4rem;
    font-size: 0.85rem;
  }

  .brand-logo {
    width: 200px;
    height: 50px;
  }

  .fimarlife-logo {
    width: 120px;
    height: 32px;
  }

  .site-nav a.fimarlife-link {
    min-width: 0;
  }
}


.site-nav a {
  color: inherit;
  padding: 0.35rem 0.45rem; /* Reduced horizontal padding */
  border-radius: 999px;
  transition: background 0.25s ease, color 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.92rem;
  white-space: nowrap;
  /* prevent line breaks inside links */
  flex-shrink: 0;
  /* do not shrink causing wraps */
}

.site-nav a:hover,
.site-nav a:focus {
  color: var(--color-primary);
  background: rgba(28, 78, 128, 0.12);
}

.site-nav a.accent {
  background: #7bba32;
  color: #fff;
  box-shadow: 0 12px 30px -20px rgba(123, 186, 50, 0.75);
}

.site-nav a.accent:hover,
.site-nav a.accent:focus {
  background: #5f9e29;
}

.site-nav a.is-active {
  color: var(--color-primary);
  background: rgba(28, 78, 128, 0.12);
}

.site-nav .nav-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.site-nav .nav-item>a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  white-space: nowrap;
  /* prevent line breaks for grouped items */
  flex-shrink: 0;
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.6rem);
  left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.6rem;
  min-width: 210px;
  background: rgba(7, 18, 32, 0.96);
  border-radius: 0.75rem;
  box-shadow: 0 18px 40px -24px rgba(9, 22, 39, 0.65);
  border: 1px solid rgba(67, 120, 176, 0.2);
  z-index: 40;
  color: rgba(223, 235, 255, 0.95);
}

.nav-dropdown__link {
  display: block;
  font-size: 0.95rem;
  padding: 0.35rem 0.6rem;
  border-radius: 0.5rem;
  color: inherit;
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.nav-dropdown__link:hover,
.nav-dropdown__link:focus {
  background: rgba(11, 180, 255, 0.18);
  color: #0bd4ff;
}

.nav-item:not(.is-open) .nav-dropdown {
  display: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 26px;
  height: 2px;
  background: var(--color-highlight);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle[aria-expanded="true"] span {
  background: #fff;
}

.hero {
  position: relative;
  min-height: max(42rem, calc(100vh + var(--header-height)));
  display: grid;
  place-items: stretch;
  overflow: hidden;
  background: #0b182b;
  margin-top: calc(var(--header-height) * -1);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-slider {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  cursor: grab;
  user-select: none;
  touch-action: pan-y;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 0.9s ease, transform 1.4s ease;
  overflow: hidden;
}

.hero-slide.is-active {
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.hero-slide img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.hero-slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg,
      rgba(6, 14, 26, 0.76) 0%,
      rgba(6, 14, 26, 0.35) 55%,
      rgba(6, 14, 26, 0.72) 100%);
  pointer-events: none;
  z-index: 1;
}

.hero-slider.is-dragging {
  cursor: grabbing;
}

.hero-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: clamp(40px, 6vw, 56px);
  height: clamp(40px, 6vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.08);
  /* Semi-transparent */
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  /* Glassmorphism effect */
  color: #fff;
  border-radius: 50%;
  transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.hero-nav:hover,
.hero-nav:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.4);
  color: #fff;
}

.hero-nav:active {
  transform: translateY(-50%) scale(0.95);
  transition-duration: 0.1s;
}

.hero-nav--prev {
  left: clamp(1rem, 4vw, 3rem);
}

.hero-nav--next {
  right: clamp(1rem, 4vw, 3rem);
}

@media (max-width: 900px) {
  .hero-nav {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    /* Slightly more opaque for visibility on mobile */
  }

  .hero-nav--prev {
    left: 1rem;
  }

  .hero-nav--next {
    right: 1rem;
  }
}

.hero-caption {
  position: absolute;
  display: grid;
  gap: clamp(0.6rem, 1.6vw, 1.15rem);
  align-content: start;
  left: clamp(1.8rem, 5vw, 3.6rem);
  bottom: clamp(4.8rem, 18vw, 8.2rem);
  max-width: clamp(18rem, 44vw, 34rem);
  padding-inline: clamp(0.4rem, 1.6vw, 1rem) clamp(0.2rem, 1vw, 0.6rem);
  padding-left: clamp(2.2rem, 5.5vw, 3.2rem);
  color: #ffffff;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  z-index: 2;
  opacity: 0;
  transform: translate3d(0, 26px, 0);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

.hero-caption::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: clamp(0.8rem, 2.8vw, 1.3rem);
  margin-block: clamp(0.2rem, 1.6vw, 0.8rem);
  width: 2px;
  border-radius: 999px;
  background: linear-gradient(180deg,
      rgba(120, 180, 255, 0.95) 0%,
      rgba(48, 110, 212, 0.95) 100%);
  box-shadow: 0 0 24px rgba(76, 132, 218, 0.45);
}

.hero-caption__eyebrow {
  font-size: clamp(0.7rem, 1.6vw, 0.95rem);
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #ffffff;
}

.hero-caption__title {
  margin: 0;
  font-size: clamp(2.3rem, 6vw, 3.8rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 22px 52px rgba(4, 10, 20, 0.6);
}

.hero-caption__cta {
  justify-self: end;
  pointer-events: auto;
  margin-top: clamp(0.2rem, 1vw, 0.6rem);
  margin-inline-start: auto;
  margin-left: auto;
  border-color: rgba(245, 249, 255, 0.55);
  color: #ffffff;
  background: rgba(6, 16, 30, 0.45);
  backdrop-filter: blur(12px);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 600;
  padding-inline: clamp(1.1rem, 4vw, 1.8rem);
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hero-caption__cta:hover,
.hero-caption__cta:focus {
  border-color: rgba(245, 249, 255, 0.75);
  background: rgba(12, 28, 46, 0.75);
  transform: translateY(-2px);
}

.hero-slide.is-active .hero-caption {
  opacity: 1;
  transform: translate3d(0, 0, 0);
  pointer-events: auto;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  min-height: clamp(36rem, 70vh, 46rem);
  padding: clamp(7rem, 11vw, 9rem) 0 clamp(3rem, 7vw, 3.5rem);
  color: #f5f7fb;
  opacity: 0;
  animation: fade-up 0.9s ease 0.12s forwards;
}

.hero-copy {
  display: grid;
  gap: 1.35rem;
  max-width: min(600px, 100%);
  padding: 0;
  background: none;
  border-radius: 0;
  border: none;
  backdrop-filter: none;
  box-shadow: none;
  color: #fefeff;
  text-shadow: 0 18px 42px rgba(3, 7, 15, 0.55);
}

.hero-copy p {
  color: rgba(255, 255, 255, 0.9);
}

.hero-copy h1 {
  margin: 0;
  font-size: clamp(3rem, 7vw, 4rem);
  line-height: 1.08;
  color: #ffffff;
}

.hero-copy .button-row {
  margin-top: 1.5rem;
}

.hero .btn.ghost {
  border-color: rgba(245, 249, 255, 0.45);
  color: #f5f9ff;
}

.hero .btn.ghost:hover,
.hero .btn.ghost:focus {
  background: rgba(245, 249, 255, 0.12);
  border-color: rgba(245, 249, 255, 0.65);
  color: #ffffff;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.hero-controls {
  position: absolute;
  bottom: clamp(1.6rem, 4vw, 2.4rem);
  left: clamp(1.6rem, 5vw, 3.2rem);
  display: flex;
  gap: 0.75rem;
  z-index: 2;
}

.hero-control {
  pointer-events: auto;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(8, 16, 28, 0.6);
  color: #fff;
  display: grid;
  place-items: center;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(12px);
}

.hero-control:hover,
.hero-control:focus {
  transform: translateY(-2px);
  background: rgba(28, 78, 128, 0.75);
  border-color: rgba(255, 255, 255, 0.55);
}

.hero-control svg {
  width: 22px;
  height: 22px;
}

.hero-dots {
  position: absolute;
  bottom: clamp(1.6rem, 4vw, 2.6rem);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 0.55rem;
  z-index: 2;
}

.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.25);
  padding: 0;
  transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.hero-dot[aria-selected="true"] {
  background: #fff;
  border-color: #fff;
  transform: scale(1.2);
}

.hero-dot:hover,
.hero-dot:focus {
  border-color: rgba(255, 255, 255, 0.8);
  background: rgba(255, 255, 255, 0.6);
  transform: scale(1.1);
}

.hero-meta {
  position: relative;
  z-index: 2;
  margin-top: clamp(2.2rem, 5vw, 3.5rem);
  display: flex;
  justify-content: flex-start;
}

.hero-stats {
  list-style: none;
  margin: 0;
  padding: clamp(1.4rem, 4vw, 2rem);
  display: grid;
  gap: clamp(1.15rem, 3.5vw, 1.75rem);
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  align-items: start;
  width: min(100%, 900px);
  background: rgba(10, 22, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 24px;
  box-shadow: 0 28px 65px -35px rgba(6, 12, 20, 0.75);
  backdrop-filter: blur(18px);
}

.hero-stats li {
  display: grid;
  gap: 0.3rem;
  color: rgba(235, 243, 255, 0.92);
}

.hero-stats .value {
  font-size: 1.95rem;
  font-weight: 700;
  font-family: var(--font-roboto-mono, "Roboto Mono"), monospace;
  color: #fff;
}

.hero-stats .label {
  font-size: 0.95rem;
  color: rgba(235, 243, 255, 0.78);
}

.hero-stats.corporate-stats {
  margin: 0 auto;
  max-width: 680px;
  text-align: center;
}

.hero-stats.corporate-stats li {
  justify-items: center;
}

.section-actions {
  display: flex;
  justify-content: center;
  margin-top: clamp(2rem, 4vw, 2.8rem);
}

.btn.light {
  color: #f0f4ff;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: start;
}

.card-grid {
  display: grid;
  gap: 1.5rem;
}

.info-card {
  padding: 1.75rem;
  background: var(--color-surface);
  border-radius: 18px;
  border: 1px solid rgba(33, 56, 87, 0.08);
  box-shadow: var(--shadow-soft);
}

.info-card h3 {
  margin-bottom: 0.6rem;
}

.corporate-intro .link-pills {
  margin-top: 1.5rem;
}

.corporate-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: clamp(1.6rem, 3vw, 2.2rem);
}

.corporate-card {
  padding: 2.5rem 2rem;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(28, 78, 128, 0.08);
  box-shadow: 0 20px 40px -20px rgba(28, 78, 128, 0.15);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  /* animation removed, uses data-reveal-stagger */
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  position: relative;
  overflow: hidden;
}

.corporate-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--color-primary), #4facfe);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.corporate-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px -25px rgba(28, 78, 128, 0.25);
  border-color: rgba(28, 78, 128, 0.2);
}

.corporate-card:hover::before {
  opacity: 1;
}

.corporate-card h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-highlight);
}

.corporate-card p {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-muted);
}

/* Add icons to corporate cards based on nth-child */
.corporate-card::after {
  content: "";
  width: 48px;
  height: 48px;
  margin-top: auto;
  margin-bottom: 0.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.8;
}

/* Structure Icon */
.corporate-card:nth-child(1)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c4e80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 21h18'/%3E%3Cpath d='M5 21V7l8-4 8 4v14'/%3E%3Cpath d='M13 11v10'/%3E%3C/svg%3E");
}

/* Global Icon */
.corporate-card:nth-child(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c4e80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='10'/%3E%3Cpath d='M2 12h20'/%3E%3Cpath d='M12 2a15.3 15.3 0 0 1 4 10 15.3 15.3 0 0 1-4 10 15.3 15.3 0 0 1-4-10 15.3 15.3 0 0 1 4-10z'/%3E%3C/svg%3E");
}

/* Sustainability Icon */
.corporate-card:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c4e80' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 3.5 2 8a7 7 0 0 1-7 7l-2 3Z'/%3E%3Cpath d='M4 22v-5l2-2'/%3E%3C/svg%3E");
}

.corporate-card:nth-child(2) {
  animation-delay: 0.12s;
}

.corporate-card:nth-child(3) {
  animation-delay: 0.18s;
}

.corporate-card:nth-child(4) {
  animation-delay: 0.24s;
}

.corporate-subnav {
  background: #10243d;
  padding: clamp(1.5rem, 5vw, 2.5rem) 0;
  color: #e8f3ff;
}

/* Kurumsal sayfas?: header ile corporate-subnav birbirine yap? ? ve i erik ortal ? olsun */
body.page-corporate main {
  padding-top: var(--header-height);
  background: #10243d;
}

body.page-corporate .corporate-subnav {
  padding-top: clamp(1.3rem, 3vw, 1.8rem);
  padding-bottom: clamp(1.3rem, 3vw, 1.8rem);
}

body.page-corporate .corporate-subnav .container {
  display: flex;
  justify-content: center;
}

.corporate-subnav__nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.corporate-subnav__nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1.1rem;
  border-radius: 999px;
  background: rgba(245, 249, 255, 0.18);
  color: #f5f9ff;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.2s ease;
}

.corporate-subnav__nav a:hover,
.corporate-subnav__nav a:focus {
  background: rgba(245, 249, 255, 0.9);
  color: #143355;
  transform: translateY(-1px);
}

.corporate-section {
  background: #ffffff;
  scroll-margin-top: calc(var(--header-height) + 32px);
}

.corporate-section+.corporate-section {
  border-top: 1px solid rgba(28, 78, 128, 0.08);
}

.corporate-section.has-body .section-heading {
  max-width: min(520px, 100%);
}

.corporate-section__body {
  display: grid;
  gap: 1.2rem;
}

/* Corporate: widen text column for better line length */
.corporate-section .section-heading {
  max-width: min(1000px, 96vw);
}

/* Baskan Mesaji: paragraph should span full container width */
#baskan-mesaji .section-heading {
  max-width: 100%;
}

.corporate-timeline {
  list-style: none;
  margin: 0;
  padding: 0 0 0 1.6rem;
  display: grid;
  gap: 1rem;
  position: relative;
}

.corporate-timeline li {
  position: relative;
  padding-left: 0.6rem;
  padding-bottom: 1.5rem;
}

/* Base line segment */
.corporate-timeline li::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: -1.45rem;
  width: 2px;
  height: calc(100% + 1rem);
  background: #09d4ff;
  /* updated soft blue */
  opacity: 0.3;
}

.corporate-timeline li:last-child::after {
  display: none;
}

/* Points */
.corporate-timeline li::before {
  content: "";
  position: absolute;
  top: 0.3rem;
  left: -1.75rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: #09d4ff;
  box-shadow: 0 0 0 4px rgba(9, 212, 255, 0.1);
  z-index: 2;
  transition: all 0.3s ease;
}

/* Normal Orange for 1986 (1st) */
.corporate-timeline li:nth-child(1)::before {
  background: #ff8c00;
  box-shadow: 0 0 0 4px rgba(255, 140, 0, 0.15);
}

/* Light Orange for 1998 (2nd) */
.corporate-timeline li:nth-child(2)::before {
  background: #ffb74d;
  box-shadow: 0 0 0 4px rgba(255, 183, 77, 0.15);
}

.corporate-timeline li:nth-child(1)::after {
  background: linear-gradient(180deg, #ff8c00 0%, #ffb74d 100%);
  opacity: 0.6;
}

.corporate-timeline li:nth-child(2)::after {
  background: linear-gradient(180deg, #ffb74d 0%, #09d4ff 100%);
  opacity: 0.6;
}

.corporate-timeline__year {
  display: block;
  font-weight: 700;
  color: #09d4ff;
  margin-bottom: 0.25rem;
}

.corporate-timeline li:nth-child(1) .corporate-timeline__year {
  color: #ff8c00;
}

.corporate-timeline li:nth-child(2) .corporate-timeline__year {
  color: #ffb74d;
}

.corporate-columns {
  display: grid;
  gap: 1rem;
}

.corporate-columns article {
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
  background: rgba(28, 78, 128, 0.08);
  border: 1px solid rgba(28, 78, 128, 0.1);
}

.corporate-columns h3 {
  margin-bottom: 0.4rem;
  color: var(--color-primary);
}

.corporate-columns p {
  margin: 0;


  color: var(--color-primary);
}

.catalog-section .container {
  width: 100%;
}

.catalog-embed {
  position: relative;
  width: 100%;
  min-height: clamp(360px, 55vw, 700px);
  margin: 0 auto;
  border-radius: 18px;
  overflow: hidden;
  background: #050d1c;
  box-shadow: 0 24px 60px -32px rgba(12, 24, 42, 0.7);
}

/* Remove extra top space above the catalog section */
.catalog-section {
  padding-top: 0;
}

/* Align catalog container with brand left edge and keep symmetric margins (desktop) */
@media (min-width: 901px) {
  .catalog-section .container {
    margin-left: calc(clamp(1.8rem, 5vw, 3.6rem) + clamp(2.2rem, 5.5vw, 3.2rem));
    margin-right: calc(clamp(1.8rem, 5vw, 3.6rem) + clamp(2.2rem, 5.5vw, 3.2rem));
    width: calc(100% - ((clamp(1.8rem, 5vw, 3.6rem) + clamp(2.2rem, 5.5vw, 3.2rem)) * 2));
  }
}

.catalog-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #050d1c;
}

.catalog-actions {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center;
}

.catalog-actions .btn {
  min-width: 200px;
}

@media (max-width: 720px) {
  .catalog-embed {
    aspect-ratio: 3 / 4;
    min-height: clamp(320px, 85vw, 560px);
  }
}

.empty-state {
  text-align: center;
  padding: clamp(2rem, 6vw, 3rem);
  background: rgba(12, 28, 46, 0.08);
  border-radius: 18px;
}

.corporate-list {
  list-style: none;
  margin: 0;
  padding: 1.1rem 1.4rem;
  border-radius: 18px;
  background: rgba(28, 78, 128, 0.08);
  border: 1px solid rgba(28, 78, 128, 0.08);
  display: grid;
  gap: 0.6rem;
}

.corporate-list li {
  position: relative;
  padding-left: 1.3rem;
}

.corporate-list li::before {
  content: " ";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-primary);
  font-size: 1.1rem;
  line-height: 1;
}

.card-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--color-primary-soft);
  color: var(--color-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

#kurumsal {
  background: radial-gradient(circle at 0% 0%, rgba(28, 78, 128, 0.03) 0%, transparent 50%),
    radial-gradient(circle at 100% 100%, rgba(28, 78, 128, 0.03) 0%, transparent 50%);
  position: relative;
}

.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 1.5rem;
  font-size: 1rem;
  transition: transform 0.3s ease, color 0.3s ease;
  padding: 0.5rem 0;
}

.arrow-link::after {
  content: "→";
  font-family: system-ui, sans-serif;
  font-size: 1.1rem;
  transition: transform 0.3s ease;
}

.arrow-link:hover {
  color: var(--color-highlight);
  transform: translateX(5px);
}

.arrow-link:hover::after {
  transform: translateX(3px);
}

.link-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.link-pills.inline {
  margin-top: 1.2rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 78, 128, 0.2);
  background: rgba(28, 78, 128, 0.08);
  color: var(--color-highlight);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.pill:hover,
.pill:focus {
  background: rgba(28, 78, 128, 0.16);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

#faaliyetler .container {
  width: min(1480px, 96vw);
}

@media (max-width: 1200px) {
  body.page-home #haberler .news-slider {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

@media (max-width: 900px) {
  .service-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

.service-card {
  min-height: 400px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 2.2rem 1.8rem;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  backdrop-filter: blur(10px);
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Gradient accent line at top */
.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, #4facfe, #00f2fe);
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card h3 {
  font-size: 1.6rem;
  margin: 0;
  color: #fff;
  font-weight: 600;
  position: relative;
  z-index: 2;
}

.service-card p {
  color: rgba(232, 243, 255, 0.8);
  font-size: 1rem;
  line-height: 1.55;
  margin: 0;
  position: relative;
  z-index: 2;
}

.service-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  position: relative;
  z-index: 2;
}

.service-list li {
  position: relative;
  padding-left: 1.4rem;
  color: rgba(232, 243, 255, 0.85);
  font-size: 0.95rem;
  line-height: 1.4;
}

.service-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: #4facfe;
  font-weight: bold;
  font-size: 1.1em;
}

@media (max-width: 1200px) {
  #faaliyetler .container {
    width: min(1120px, 92vw);
  }

  .service-card {
    aspect-ratio: auto;
    min-height: 320px;
  }
}

/* Icons for cards */
.service-card::after {
  content: "";
  position: absolute;
  top: 2rem;
  right: 2rem;
  width: 80px;
  height: 80px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08;
  transition: opacity 0.4s ease, transform 0.4s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card:hover::after {
  opacity: 0.15;
  transform: scale(1.1) rotate(5deg);
}

/* Icons SVGs */
/* 1. Mining */
.service-card:nth-child(1)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20'/%3E%3Cpath d='M12 2v18'/%3E%3Cpath d='M5 20l7-14 7 14'/%3E%3C/svg%3E");
}

/* 2. Energy (Sun/Solar) */
.service-card:nth-child(2)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 1v2'/%3E%3Cpath d='M12 21v2'/%3E%3Cpath d='M4.22 4.22l1.42 1.42'/%3E%3Cpath d='M18.36 18.36l1.42 1.42'/%3E%3Cpath d='M1 12h2'/%3E%3Cpath d='M21 12h2'/%3E%3Cpath d='M4.22 19.78l1.42-1.42'/%3E%3Cpath d='M18.36 5.64l1.42-1.42'/%3E%3C/svg%3E");
}

/* 3. Petrol (Oil Drop) */
.service-card:nth-child(3)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2.69l5.66 5.66a8 8 0 1 1-11.31 0z'/%3E%3C/svg%3E");
}

/* 4. Tourism (Hotel/Building) */
.service-card:nth-child(4)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 9s0 0 0 0'/%3E%3Cpath d='M2 22h20'/%3E%3Cpath d='M14 2v20'/%3E%3Cpath d='M18 2v20'/%3E%3Cpath d='M10 2v20'/%3E%3Cpath d='M6 2v20'/%3E%3Crect x='10' y='2' width='4' height='20'/%3E%3Crect x='6' y='2' width='4' height='20'/%3E%3Cpath d='M12 6h.01'/%3E%3Cpath d='M16 6h.01'/%3E%3Cpath d='M8 6h.01'/%3E%3Cpath d='M12 10h.01'/%3E%3Cpath d='M16 10h.01'/%3E%3Cpath d='M8 10h.01'/%3E%3Cpath d='M12 14h.01'/%3E%3Cpath d='M16 14h.01'/%3E%3Cpath d='M8 14h.01'/%3E%3Cpath d='M12 18h.01'/%3E%3Cpath d='M16 18h.01'/%3E%3Cpath d='M8 18h.01'/%3E%3C/svg%3E");
}

.focus-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.focus-list li {
  padding: 1.5rem 1.75rem;
  background: var(--color-surface);
  border-radius: 18px;
  border: 1px solid rgba(28, 78, 128, 0.08);
  box-shadow: var(--shadow-soft);
}

.focus-title {
  display: block;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--color-highlight);
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.75rem;
}

.project-card {
  background: var(--color-surface);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(33, 56, 87, 0.1);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  /* animation removed, uses scroll reveal */
}

.project-card:nth-child(2) {
  animation-delay: 0.12s;
}

.project-card:nth-child(3) {
  animation-delay: 0.18s;
}

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

.project-card figcaption {
  padding: 1.5rem 1.75rem 2rem;
}

.project-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 65px -30px rgba(19, 39, 63, 0.6);
}

.section.activities {
  position: relative;
  background: radial-gradient(120% 120% at 50% 0%, rgba(28, 78, 128, 0.08), rgba(28, 78, 128, 0) 55%);
  /* Close the white gap under fixed header by pulling section up
     and compensating with equivalent top padding so content stays visible */
  margin-top: calc(var(--header-height) * -1);
  padding-top: var(--header-height);
  padding-bottom: 10rem;
}

.section.activities .container {
  width: min(1500px, 96vw);
}

@media (max-width: 1200px) {
  .section.activities .container {
    width: min(1120px, 92vw);
  }
}

.activities-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
  margin-bottom: 5rem;
}

.activity-card {
  position: relative;
  border-radius: 28px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #071120;
  box-shadow: 0 30px 70px -40px rgba(8, 20, 38, 0.75);
  overflow: hidden;
  transition: transform 0.45s ease, box-shadow 0.45s ease;
  opacity: 0;
  transform: translateY(36px);
  animation: activity-rise 0.45s cubic-bezier(0.25, 1, 0.5, 1) forwards;
  --activity-accent-rgb: 120, 170, 255;
  isolation: isolate;
  /* reset to auto height */
  min-height: auto;
}

.activity-card:nth-child(2) {
  animation-delay: 0.08s;
}

.activity-card:nth-child(3) {
  animation-delay: 0.16s;
}

.activity-card:nth-child(4) {
  animation-delay: 0.24s;
}

.activity-card::before {
  display: none;
}

.activity-card__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
  transition: transform 0.6s ease, filter 0.6s ease;
  filter: saturate(1.08) brightness(0.98);
  z-index: 0;
  pointer-events: none;
}

.activity-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(165deg,
      rgba(6, 12, 24, 0.32) 0%,
      rgba(var(--activity-accent-rgb), 0.22) 55%,
      rgba(5, 10, 20, 0.45) 100%);
  transition: background 0.45s ease, opacity 0.45s ease;
  z-index: 1;
  /* overlay above image */
}

.activity-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 90px -35px rgba(10, 24, 44, 0.78);
}

.activity-card__inner {
  position: relative;
  padding: clamp(2.35rem, 4.2vw, 3.35rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.35rem;
  text-align: center;
  z-index: 2;
  /* content above overlays */
  border-radius: 22px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(140deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0)) rgba(7, 15, 27, 0.2);
  backdrop-filter: blur(4px);
  transition: transform 0.45s ease, background 0.45s ease, border-color 0.45s ease, box-shadow 0.45s ease;
  box-shadow: 0 25px 60px -40px rgba(10, 25, 46, 0.6);
}

.activity-card:hover .activity-card__bg {
  transform: scale(1.12);
  filter: saturate(1.25) brightness(1.12);
}

.activity-card:hover::after {
  background: linear-gradient(160deg,
      rgba(6, 12, 24, 0.28) 0%,
      rgba(var(--activity-accent-rgb), 0.3) 60%,
      rgba(7, 16, 32, 0.55) 100%);
}

.activity-card:hover .activity-card__inner {
  transform: translateY(-6px);
  background: linear-gradient(150deg,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0)) rgba(9, 19, 34, 0.3);
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 30px 70px -35px rgba(11, 28, 52, 0.75);
}

/* Activities page adjustments: equal height, clear inner, black overlay */
.section.activities .activity-card {
  min-height: clamp(420px, 42vw, 560px);
  padding: clamp(2rem, 4vw, 3rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.5rem, 3vw, 2.25rem);
}

.section.activities .activity-card__inner {
  background: none !important;
  border: 0 !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
}

.section.activities .activity-card:hover .activity-card__inner {
  background: none !important;
}

.section.activities .activity-card::after {
  background: rgba(0, 0, 0, 0.45) !important;
}

.section.activities .activity-card:hover::after {
  background: rgba(0, 0, 0, 0.55) !important;
}

.section.activities .activity-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(1.25rem, 2.8vw, 2rem);
  width: 100%;
  position: relative;
  flex: 1;
  justify-content: flex-start;
}

.section.activities .activity-tags--center {
  position: static;
  transform: none;
  top: auto;
  left: auto;
  right: auto;
  width: 100%;
  justify-content: center;
  margin-top: auto;
  margin-bottom: auto;
}

.section.activities .activity-tags {
  position: static;
}

.section.activities .activity-card__titles {
  margin-bottom: auto;
}

.section.activities .activity-cta {
  position: static;
  margin-top: auto;
  display: flex;
  justify-content: center;
  width: 100%;
  bottom: auto !important;
}

/* Ensure all activity card content stays above overlay and is readable */
.section.activities .activity-card > :not(.activity-card__bg) {
  position: relative;
  z-index: 2;
  color: #ffffff;
}

.section.activities .activity-card .activity-card__titles,
.section.activities .activity-card .activity-card__titles span,
.section.activities .activity-card p,
.section.activities .activity-card .activity-tags,
.section.activities .activity-card .activity-tag,
.section.activities .activity-card .activity-tag--detail {
  color: #ffffff;
  position: relative;
  z-index: 2;
}

/* Keep centered tags and bottom CTA clearly on top */
.section.activities .activity-tags {
  z-index: 2;
}

.section.activities .activity-cta {
  z-index: 2;
}

/* Reverted overrides removed to match screenshot look (tags + CTA visible) */

.activity-card__titles {
  display: grid;
  gap: 0.45rem;
  font-weight: 700;
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  letter-spacing: -0.02em;
  color: #f7faff;
  text-transform: uppercase;
  text-shadow: 0 10px 32px rgba(4, 8, 16, 0.6);
}

.activity-card__titles span {
  position: relative;
  display: inline-flex;
  justify-content: center;
  padding: 0 0.35em 0.15em;
}

/* Removed decorative underline from activity titles (one step back) */
/* .activity-card__titles span::after and its hover state intentionally disabled */

.activity-card:hover .activity-card__titles {
  color: #ffffff;
  text-shadow: 0 14px 36px rgba(0, 0, 0, 0.8), 0 0 1px rgba(255, 255, 255, 0.7);
}

.activity-card p {
  margin: 0;
  max-width: 30ch;
  color: rgba(230, 236, 255, 0.86);
  font-size: 1rem;
  line-height: 1.7;
  text-shadow: 0 6px 18px rgba(5, 12, 22, 0.5);
  transition: color 0.35s ease;
}

.activity-card:hover p {
  color: rgba(245, 248, 255, 0.92);
}

.activity-tags {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  z-index: 1;
}

/* Centered group (e.g., Fabrika/Ocak, Termal Otel, GES/Petrol) */
.activity-tags--center {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  justify-content: center;
}

/* Bottom detail CTA container */
.activity-cta {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  justify-content: center;
  z-index: 1;
}

/* Ensure absolute bottom alignment on Activities section */
.section.activities .activity-cta {
  bottom: 0 !important;
  z-index: 2;
}

.activity-tag--detail {
  padding: 0.8rem 2.2rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  background: rgba(var(--activity-accent-rgb), 0.5);
  border-width: 1px;
}

.activity-tag--detail:hover {
  transform: scale(1.1);
  background: rgba(var(--activity-accent-rgb), 0.9);
  box-shadow: 0 0 30px rgba(var(--activity-accent-rgb), 0.6);
  border-color: #fff;
  color: #fff;
}

.activity-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.5rem;
  border-radius: 999px;
  background: rgba(var(--activity-accent-rgb), 0.35);
  color: #ffffff;
  border: 1px solid rgba(var(--activity-accent-rgb), 0.55);
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  backdrop-filter: blur(6px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.activity-tag:hover {
  background: rgba(var(--activity-accent-rgb), 0.7);
  border-color: rgba(var(--activity-accent-rgb), 1);
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(var(--activity-accent-rgb), 0.45);
}



@keyframes activity-rise {
  from {
    opacity: 0;
    transform: translateY(32px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes activity-skeleton-shimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

.communication-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.communication-card {
  padding: 2rem 1.8rem;
  background: var(--color-surface);
  border-radius: 20px;
  border: 1px solid rgba(28, 78, 128, 0.08);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  opacity: 0;
  animation: fade-up 0.9s ease forwards;
}

.communication-card h3 {
  margin: 0;
}

.communication-card p {
  margin: 0;
  flex: 1;
}

.highlight-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 3rem);
  align-items: center;
}

.highlight-block article {
  padding: 1.6rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(28, 78, 128, 0.12), rgba(28, 78, 128, 0.05));
  border: 1px solid rgba(28, 78, 128, 0.08);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  animation: fade-up 0.9s ease forwards;
}

.highlight-block article:nth-child(2) {
  animation-delay: 0.12s;
}

.highlight-block article:nth-child(3) {
  animation-delay: 0.18s;
}

.metrics {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.metrics li {
  padding: 1.3rem 1.6rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.metric-value {
  display: block;
  font-size: 2rem;
  font-family: var(--font-roboto-mono, "Roboto Mono"), monospace;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.metric-label {
  font-size: 0.95rem;
  color: rgba(202, 219, 238, 0.78);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.news-card {
  padding: 2rem 1.8rem;
  background: var(--color-surface);
  border-radius: 20px;
  border: 1px solid rgba(28, 78, 128, 0.08);
  box-shadow: var(--shadow-soft);
  position: relative;
  opacity: 0;
  animation: fade-up 0.9s ease forwards;
}

.news-card:nth-child(2) {
  animation-delay: 0.12s;
}

.news-card:nth-child(3) {
  animation-delay: 0.18s;
}

.news-card__media {
  margin-top: 1rem;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  width: 100%;
  padding-top: 100%;
  /* 1:1 ratio */
}

.news-card__media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-slider {
  display: flex;
  align-items: stretch;
  gap: 1rem;
}

.news-slider__viewport {
  overflow: hidden;
  flex: 1;
}

.news-slider__track {
  display: flex;
  transition: transform 0.4s ease;
}

.news-slider__track .news-card {
  flex: 0 0 100%;
}

.news-slider__nav {
  align-self: center;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 1.2rem;
  cursor: pointer;
}

.news-slider__nav:hover,
.news-slider__nav:focus {
  background: var(--color-primary-soft);
}

@media (min-width: 768px) {
  .news-slider__track .news-card {
    flex-basis: 50%;
    max-width: 50%;
  }
}

.gallery-grid,
.gallery-grid.wider {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: flex-start;
  align-items: stretch;
  perspective: 1500px;
  /* Added for 3D reveal effects */
}

.gallery-filter {
  display: grid;
  gap: 1.5rem;
}

.gallery-filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.filter-pill {
  padding: 0.55rem 1.4rem;
  border-radius: 999px;
  border: 1px solid rgba(28, 78, 128, 0.28);
  background: rgba(28, 78, 128, 0.08);
  color: var(--color-highlight);
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: background 0.25s ease, color 0.25s ease, border 0.25s ease,
    transform 0.25s ease;
}

.filter-pill:hover,
.filter-pill:focus {
  background: rgba(28, 78, 128, 0.16);
  border-color: rgba(28, 78, 128, 0.45);
  transform: translateY(-2px);
}

.filter-pill.is-active {
  background: linear-gradient(135deg, #2a71c0, #1c4e80);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 18px 35px -25px rgba(28, 78, 128, 0.5);
}

.gallery-empty {
  grid-column: 1 / -1;
  text-align: center;
  color: var(--color-muted);
  padding: 2rem;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(28, 78, 128, 0.12);
}

.gallery-card {
  flex: 0 0 calc(20% - 1.2rem);
  max-width: calc(20% - 1.2rem);
  width: 100%;
  display: flex;
  flex-direction: column;
  background: var(--color-surface);
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(33, 56, 87, 0.08);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  animation: fade-up 0.9s ease forwards;
}

.gallery-card[data-gallery-item] {
  cursor: zoom-in;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-card[data-gallery-item]:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 48px -28px rgba(12, 23, 38, 0.65);
}

.gallery-card[data-gallery-item]:focus-visible {
  outline: none;
  transform: translateY(-2px);
  box-shadow: 0 0 0 3px rgba(232, 243, 255, 0.7),
    0 24px 52px -28px rgba(12, 23, 38, 0.65);
}

.gallery-card:nth-child(2) {
  animation-delay: 0.08s;
}

.gallery-card:nth-child(3) {
  animation-delay: 0.16s;
}

.gallery-card:nth-child(4) {
  animation-delay: 0.24s;
}

.gallery-card:nth-child(5) {
  animation-delay: 0.32s;
}

.gallery-card:nth-child(6) {
  animation-delay: 0.4s;
}

.gallery-card img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}

.gallery-card figure {
  margin: 0;
}

/* Activity tags and CTA visible per 1main.txt styles */

/* Mermer-Maden sayfası: büyük yan yana görseller ve metin alanı */
.mm-photos {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 1.5rem);
}

.mm-photos.one {
  grid-template-columns: 1fr;
}

/* Keep Afyonkarahisar single image at the same scale as 2-column items */
.mm-photos.one .mm-photo {
  width: 100%;
  max-width: calc(50% - 0.75rem);
  /* half of container minus half the gap (gap = 1.5rem) */
  margin-left: auto;
  margin-right: auto;
}

.mm-photo img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border-radius: 22px;
  border: 1px solid rgba(33, 56, 87, 0.08);
  box-shadow: var(--shadow-soft);
}

@media (max-width: 820px) {
  .mm-photos {
    grid-template-columns: 1fr;
  }

  .mm-photos.one .mm-photo {
    max-width: 100%;
    /* full width on small screens */
  }
}

.mm-text {
  margin-top: clamp(1.25rem, 3vw, 1.75rem);
  color: #5f6c85;
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Link color for info text under sections (e.g., Silifke Fabrika) */
.mm-text a {
  color: #09d4ff;
}

.mm-text a:hover,
.mm-text a:focus {
  color: #09d4ff;
}

/* Lightbox styles are now handled in assets/css/lightbox.css and assets/css/gallery.css */

.gallery-lightbox .lightbox-nav:hover,
.gallery-lightbox .lightbox-nav:focus-visible,
.gallery-lightbox .lightbox-close:hover,
.gallery-lightbox .lightbox-close:focus-visible {
  background: rgba(232, 243, 255, 0.2);
  transform: scale(1.04);
  outline: none;
}

.gallery-lightbox .lightbox-nav:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.gallery-lightbox .lightbox-close {
  position: absolute;
  top: clamp(0.75rem, 2vw, 1rem);
  right: clamp(0.75rem, 2vw, 1rem);
}

.gallery-lightbox .lightbox-nav.prev {
  margin-right: auto;
}

.gallery-lightbox .lightbox-nav.next {
  margin-left: auto;
}

@media (max-width: 720px) {
  .gallery-lightbox .lightbox-dialog {
    flex-direction: column;
    padding-bottom: 5rem;
  }

  .gallery-lightbox .lightbox-nav.prev {
    position: absolute;
    bottom: 1.25rem;
    left: calc(50% - 3.5rem);
    margin: 0;
  }

  .gallery-lightbox .lightbox-nav.next {
    position: absolute;
    bottom: 1.25rem;
    right: calc(50% - 3.5rem);
    margin: 0;
  }

  .gallery-lightbox .lightbox-close {
    z-index: 2;
  }

  .lightbox-figure img {
    max-height: 60vh;
  }
}

.gallery-card figcaption {
  padding: 1.2rem 1.5rem 1.5rem;
  font-size: 0.95rem;
  color: var(--color-muted);
  text-align: center;
  font-weight: 600;
  line-height: 1.3;
  white-space: pre-line;
}

.product-accordion {
  display: flex;
  gap: 0.75rem;
  height: min(50vh, 480px);
  min-height: 320px;
  margin-top: 2rem;
  justify-content: center;
  /* center slabs horizontally */
  margin-left: auto;
  /* center within container */
  margin-right: auto;
  /* center within container */
}

.product-accordion__empty {
  text-align: center;
  color: var(--color-muted);
  margin: 2rem auto 0;
}

@keyframes product-slab-activate {
  0% {
    transform: translateY(0);
    filter: grayscale(0.2);
    box-shadow: 0 10px 30px -20px rgba(8, 20, 38, 0.4);
  }

  100% {
    transform: translateY(-8px);
    filter: none;
    box-shadow: 0 32px 72px -30px rgba(10, 24, 46, 0.52);
  }
}

@keyframes product-overlay-activate {
  0% {
    opacity: 0;
    transform: translateY(22px) scale(0.98);
  }

  50% {
    opacity: 1;
    transform: translateY(-6px) scale(1.02);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes product-slab-image-focus {
  0% {
    transform: scale(1.12);
    filter: grayscale(0.6) brightness(0.86) blur(0.4px);
  }

  35% {
    transform: scale(1.08);
    filter: grayscale(0.2) brightness(1.08) saturate(1.08) contrast(1.06);
  }

  70% {
    transform: scale(1.02);
    filter: brightness(1.04) saturate(1.04);
  }

  100% {
    transform: scale(1.04);
    filter: none;
  }
}

.product-slab {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(15, 47, 81, 0.12);
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.82), rgba(238, 244, 250, 0.9));
  box-shadow: 0 12px 32px -26px rgba(10, 22, 42, 0.28);
  cursor: pointer;
  flex: 0 0 68px;
  will-change: flex, transform, filter, box-shadow;
  transition:
    flex var(--product-accordion-ms) cubic-bezier(0.25, 1, 0.5, 1),
    flex-basis var(--product-accordion-ms) cubic-bezier(0.25, 1, 0.5, 1),
    flex-grow var(--product-accordion-ms) cubic-bezier(0.25, 1, 0.5, 1),
    box-shadow 0.6s ease;
  transform: translateY(0) scale(0.96);
}

.product-slab:not(.is-active) {
  filter: grayscale(0.38);
}

.product-slab.is-active {
  flex: 1 1 clamp(220px, 22vw, 280px);
  min-width: clamp(220px, 22vw, 280px);
  filter: none;
  animation: product-slab-activate var(--product-accordion-ms) cubic-bezier(0.24, 0.82, 0.12, 1) forwards;
}

.product-slab__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
  transition: transform var(--product-accordion-transform-ms) cubic-bezier(0.19, 1, 0.22, 1), filter 0.35s ease;
  transform: scale(1.12);
  z-index: 1;
}

.product-slab::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 24px;
  pointer-events: none;
  opacity: 0;
}

.product-slab+.product-slab {
  border-left: 3px solid rgba(24, 52, 84, 0.12);
}

.product-slab.is-active .product-slab__img {
  transform: scale(1.04);
}

.product-slab.is-animating {
  transition: box-shadow var(--product-accordion-focus-ms) cubic-bezier(0.23, 1, 0.32, 1);
  box-shadow: 0 40px 96px -28px rgba(10, 24, 46, 0.66);
}

.product-slab.is-animating .product-slab__img {
  transition: none;
  animation: product-slab-image-focus var(--product-accordion-focus-ms) cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.product-slab.is-animating::after {
  opacity: 1;
  box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.5);
  transition: opacity calc(var(--product-accordion-focus-ms) * 0.6) ease, box-shadow var(--product-accordion-focus-ms) ease;
}

.product-slab::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(8, 26, 46, 0.75) 0%,
      rgba(8, 26, 46, 0.45) 40%,
      rgba(8, 26, 46, 0.15) 65%,
      rgba(8, 26, 46, 0) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
  z-index: 2;
}

.product-slab.is-active::before {
  opacity: 1;
}

.product-slab__overlay {
  position: absolute;
  left: 2rem;
  bottom: 2rem;
  display: grid;
  color: #ffffff;
  gap: 0.75rem;
  z-index: 3;
  transform: translateY(18px);
  opacity: 0;
  transition: none;
}

.product-slab.is-active .product-slab__overlay {
  animation: product-overlay-activate var(--product-accordion-overlay-ms) cubic-bezier(0.23, 1, 0.32, 1) forwards 0.08s;
}

.product-slab__title {
  font-size: clamp(1.35rem, 1.2vw + 1rem, 1.8rem);
  font-weight: 700;
  color: #ffffff;
  text-shadow: 0 6px 24px rgba(8, 14, 24, 0.65);
  margin: 0;
}

.product-slab__cta {
  justify-self: flex-start;
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 900px) {
  .product-accordion {
    flex-direction: column;
    height: auto;
    min-height: 0;
    align-items: stretch;
    /* Change from center to stretch so items take full width */
    width: 100%;
  }

  .product-slab {
    width: 100%;
    min-width: 0;
  }

  /* Collapsed state for mobile: smaller height */
  .product-slab:not(.is-active) {
    flex: 0 0 100px;
    min-height: 0;
  }

  /* Expanded state for mobile: larger height */
  .product-slab.is-active {
    flex: 0 0 450px;
    min-height: 0;
  }

  .product-slab+.product-slab {
    border-left: 0;
    border-top: 3px solid rgba(24, 52, 84, 0.12);
  }

  .product-slab::before {
    background: linear-gradient(180deg,
        rgba(8, 26, 46, 0.75) 0%,
        rgba(8, 26, 46, 0.45) 40%,
        rgba(8, 26, 46, 0.15) 70%,
        rgba(8, 26, 46, 0) 100%);
  }

  .product-slab__overlay {
    left: 1.5rem;
    right: 1.5rem;
  }
}

/* Overlay styles for activity cards are defined above per 1main.txt */
/* Removed older overrides to align with 1main.txt activity card design */

.product-lightbox[hidden] {
  display: none;
}

.product-lightbox-open {
  overflow: hidden;
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1500;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), visibility 0.8s step-end;
}

.product-lightbox:not([hidden]) {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.8s cubic-bezier(0.19, 1, 0.22, 1), visibility 0s step-start;
}

.product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 10, 20, 0.82);
  backdrop-filter: blur(12px);
  opacity: 0;
  transition: opacity 1.2s ease;
}

.product-lightbox:not([hidden]) .product-lightbox__backdrop {
  opacity: 1;
}

.product-lightbox__dialog {
  position: relative;
  z-index: 1;
  width: min(calc(100vw - 3rem), 1360px);
  max-width: 1360px;
  height: min(96vh, 920px);
  max-height: 96vh;
  margin: 0 1.5rem;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 45px 85px rgba(0, 0, 0, 0.55);
  background: rgba(0, 0, 0, 0.9);
  padding: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transform: translateY(40px) scale(0.94);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-lightbox:not([hidden]) .product-lightbox__dialog {
  opacity: 1;
  transform: translateY(0) scale(1);
  transition-delay: 0.15s;
}

.product-lightbox__media {
  width: 100%;
  flex: 1;
  min-height: 0;
  height: 100%;
  background: transparent;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: 1fr;
  align-items: stretch;
  justify-items: stretch;
  gap: 0;
  padding: 0;
}

.product-lightbox__media.has-render {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-lightbox__media:not(.has-render) {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  min-height: 100%;
  padding: 0;
  flex: 1;
}

.product-lightbox__media:not(.has-render) .product-lightbox__image {
  width: auto;
  min-width: 100%;
  height: 650px;
  max-height: 80vh;
  object-fit: cover;
  margin: 0;
}

.product-lightbox__media:not(.has-render) .product-lightbox__image--render {
  display: none !important;
}

.product-lightbox__image {
  width: 100%;
  height: 100%;
  max-height: none;
  display: block;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  border: none;
  background: transparent;
  min-height: 100%;
}

.product-lightbox__image--render {
  background: transparent;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  box-shadow: none;
  border: none;
}

.product-lightbox__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0) 100%);
  padding: 4rem 1.5rem 2rem;
  pointer-events: none;
}

.product-lightbox__caption p {
  margin: 0;
  text-align: center;
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: #ffffff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.product-lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: none;
  background: rgba(14, 24, 38, 0.6);
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease;
  z-index: 20;
}

.product-lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 0, 0, 0.08);
  color: #0b1726;
  display: grid;
  place-items: center;
  z-index: 20;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.product-lightbox__nav:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
  color: var(--color-primary);
}

.product-lightbox__prev {
  left: 2rem;
  /* Ensure it sits above the backdrop/dialog if overlaps */
  z-index: 1600;
}

.product-lightbox__next {
  right: 2rem;
  z-index: 1600;
}

@media (max-width: 768px) {
  .product-lightbox__dialog {
    height: auto;
    max-height: 96vh;
  }

  .product-lightbox__media,
  .product-lightbox__media.has-render {
    grid-template-columns: 1fr;
    padding: 0;
    gap: 0;
  }

  .product-lightbox__image {
    max-height: 70vh;
  }

  .product-lightbox__media:not(.has-render) {
    padding: 0;
    height: 100%;
    min-height: 100%;
    flex: 1;
  }

  .product-lightbox__media:not(.has-render) .product-lightbox__image {
    width: 100%;
    height: 500px;
    max-height: 70vh;
    object-fit: cover;
  }

  .product-lightbox__nav {
    width: 42px;
    height: 42px;
  }

  .product-lightbox__prev {
    left: 0.5rem;
  }

  .product-lightbox__next {
    right: 0.5rem;
  }

  .product-lightbox__nav svg {
    width: 20px;
    height: 20px;
  }
}

.product-lightbox__close:hover,
.product-lightbox__close:focus {
  background: rgba(14, 24, 38, 0.8);
}

.btn.ghost.light {
  background: #dce7f7;
  color: #1c4e80;
  border-color: transparent;
}

.btn.ghost.light:hover,
.btn.ghost.light:focus {
  background: #e7effc;
  color: #163d66;
  box-shadow: 0 14px 32px -18px rgba(16, 30, 54, 0.4);
}

/* News Slider */
.news-slider-wrapper {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0 1.5rem;
}

.news-slider {
  display: flex;
  gap: 1.5rem;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: 1rem;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* Firefox */
}

.news-slider::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.news-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.2);
}

.news-card__image {
  position: relative;
  height: 160px;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card .date-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(4px);
  color: #fff;
  padding: 0.2rem 0.6rem;
  border-radius: 99px;
  font-size: 0.75rem;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-card__content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.news-card h3 {
  font-size: 1.1rem;
  margin: 0 0 0.5rem;
  color: #fff;
  line-height: 1.4;
}

.news-card p {
  color: var(--color-muted);
  font-size: 0.9rem;
  line-height: 1.5;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

.news-card .more-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--color-primary);
  margin-top: auto;
  transition: gap 0.3s ease;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.news-card .more-link::after {
  content: "→";
  transition: transform 0.3s ease;
}

.news-card .more-link:hover {
  gap: 0.75rem;
  color: #fff;
}

.news-card .more-link:hover::after {
  transform: translateX(3px);
}

.cta {
  padding: clamp(3rem, 5vw, 4rem) 0;
  background: var(--color-surface);
}

.cta-box {
  padding: clamp(3rem, 7vw, 4.5rem);
  background: linear-gradient(135deg, #1c4e80, #0b1a2b);
  color: #ffffff;
  border-radius: 32px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  box-shadow: 0 30px 80px -30px rgba(12, 23, 38, 0.6);
  position: relative;
  overflow: hidden;
}

.cta-box::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.75rem;
}

.cta-actions .btn {
  flex: 1 1 180px;
  min-width: 160px;
}

.cta h2 {
  color: #fff;
  margin-bottom: 0.75rem;
}

.cta p {
  color: rgba(245, 249, 255, 0.9);
  max-width: 460px;
}

.section-divider {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem 0;
}

.section-divider span {
  width: min(420px, 70vw);
  height: 8px;
  border-radius: 999px;
  background-image: radial-gradient(circle at center,
      rgba(28, 78, 128, 0.35) 30%,
      rgba(28, 78, 128, 0) 30%);
  background-size: 18px 8px;
  background-repeat: repeat-x;
}

.contact-block {
  gap: clamp(2rem, 5vw, 3.5rem);
}

.contact-list {
  list-style: none;
  margin: 2rem 0 0;
  padding: 0;
  display: grid;
  gap: 1.2rem;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--color-primary);
  margin-bottom: 0.2rem;
  font-weight: 600;
}

.contact-form {
  padding: 2rem;
  background: var(--color-surface);
  border-radius: 22px;
  border: 1px solid rgba(28, 78, 128, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 1.2rem;
}

.form-field {
  display: grid;
  gap: 0.4rem;
}

.form-field label {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-highlight);
}

.form-field input,
.form-field textarea {
  padding: 0.85rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(28, 78, 128, 0.18);
  background: rgba(255, 255, 255, 0.88);
  outline: none;
  transition: border 0.25s ease, box-shadow 0.25s ease;
  resize: vertical;
  font: inherit;
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(28, 78, 128, 0.15);
  background: #ffffff;
}

.contact-form {
  padding: 2.5rem;
  background: #ffffff;
  border-radius: 24px;
  border: 1px solid rgba(28, 78, 128, 0.08);
  box-shadow: 0 20px 50px -25px rgba(28, 78, 128, 0.15);
  display: grid;
  gap: 1.5rem;
}

.form-note {
  margin: 0;
  font-size: 0.8rem;
  color: rgba(95, 108, 133, 0.75);
}

.contact-section {
  background: linear-gradient(135deg, rgba(240, 244, 255, 0.92), #ffffff);
}

.quick-links {
  margin-top: clamp(2rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.quick-link-card {
  padding: 1.4rem 1.6rem;
  border-radius: 18px;
  background: var(--color-surface);
  border: 1px solid rgba(28, 78, 128, 0.08);
  box-shadow: var(--shadow-soft);
  opacity: 0;
  animation: fade-up 0.9s ease forwards;
}

.quick-link-card:nth-child(2) {
  animation-delay: 0.1s;
}

.quick-link-card:nth-child(3) {
  animation-delay: 0.2s;
}

.quick-link-card:nth-child(4) {
  animation-delay: 0.3s;
}

.quick-link-card h3 {
  margin: 0 0 0.6rem;
}

.quick-link-card p {
  margin: 0;
}

.form-feedback {
  margin: 0;
  padding-top: 0.5rem;
  font-size: 0.8rem;
  color: rgba(95, 108, 133, 0.75);
}

.form-feedback.success {
  color: #1b7f5b;
}

.form-feedback.error {
  color: #b3261e;
}

.footer-form .form-feedback:not(.success):not(.error) {
  color: rgba(233, 242, 255, 0.7);
}

.footer-form .form-feedback.success {
  color: #82e3ba;
}

.footer-form .form-feedback.error {
  color: #ffb3a8;
}

.site-footer {
  background: #071528;
  color: rgba(233, 242, 255, 0.92);
  padding: clamp(1rem, 2vw, 1.5rem) 0 0.8rem;
}

.site-footer .container {
  width: min(1440px, 96vw);
}

.site-footer p {
  color: rgba(233, 242, 255, 0.75);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 240px) 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}

.footer-brand {
  display: grid;
  gap: 0.5rem;
  max-width: 250px;
  transform: translate(0, 20px);
}

.footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
}

.footer-brand .brand img {
  max-width: 190px;
  height: auto;
}

.footer-heading {
  display: block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 0.4rem;
}

.footer-links {
  display: flex;
  gap: clamp(0.8rem, 1.5vw, 1.25rem);
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: flex-start;
}

.footer-column {
  display: grid;
  gap: 0.3rem;
}

.footer-column ul {
  list-style: disc;
  margin: 0;
  padding-left: 1.1rem;
  display: grid;
  gap: 0.45rem;
}

.footer-column li::marker {
  color: rgba(233, 242, 255, 0.55);
}

.footer-column a {
  color: rgba(233, 242, 255, 0.82);
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.footer-column a:hover,
.footer-column a:focus {
  color: #ffffff;
}

.footer-subscribe {
  display: grid;
  gap: 0.85rem;
}

.footer-form {
  display: flex;
  gap: 0.75rem;
  margin: 0;
}

.footer-form input {
  flex: 1;
  padding: 0.5rem 0.8rem;
  border-radius: 16px;
  border: 1px solid rgba(233, 242, 255, 0.28);
  background: rgba(7, 16, 28, 0.6);
  color: #fff;
}

.footer-form input::placeholder {
  color: rgba(233, 242, 255, 0.55);
}

.footer-form button {
  padding: 0.5rem 1.2rem;
  border-radius: 999px;
  background: rgba(233, 242, 255, 0.18);
  color: #fff;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease;
}

.footer-form button:hover,
.footer-form button:focus {
  background: rgba(233, 242, 255, 0.32);
  transform: translateY(-1px);
}

.footer-note {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(233, 242, 255, 0.55);
  max-width: 280px;
}

.footer-bottom {
  margin-top: 0.8rem;
  border-top: 1px solid rgba(233, 242, 255, 0.12);
  padding-top: 0.8rem;
  text-align: center;
  font-size: 0.9rem;
  color: rgba(233, 242, 255, 0.65);
}

.floating-action {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 1.3rem;
  background: #09d4ff;
  color: #fff;
  font-weight: 600;
  border-radius: 999px;
  box-shadow: 0 22px 50px -20px rgba(9, 212, 255, 0.45);
  z-index: 3;
  position: fixed;
  right: clamp(1.5rem, 4vw, 2rem);
  bottom: clamp(1.5rem, 5vw, 2.5rem);
}

.floating-action::before {
  content: ">";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.2);
}

.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;
}

@media (max-width: 1080px) {

  .service-grid,
  .activities-grid,
  .project-grid,
  .news-grid,
  .corporate-grid,
  .communication-grid,
  .quick-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid,
  .gallery-grid.wider {
    justify-content: flex-start;
  }
}

@media (max-width: 1200px) {
  .footer-links {
    display: grid;
    grid-template-columns: repeat(3, minmax(160px, 1fr));
    gap: clamp(1.6rem, 4vw, 2.6rem);
  }
}

@media (max-width: 900px) {
  .site-footer {
    padding-top: clamp(2.5rem, 8vw, 3.5rem);
    padding-bottom: 2rem;
  }

  .site-footer .container {
    width: 100%;
    padding-left: clamp(1.25rem, 5vw, 2rem);
    padding-right: clamp(1.25rem, 5vw, 2rem);
    box-sizing: border-box;
  }

  .footer-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.2rem, 4vw, 1.8rem);
  }

  .footer-brand {
    transform: none;
    margin-bottom: -0.5rem;
  }

  .footer-links {
    display: block;
    column-count: 2;
    column-gap: 2rem;
    width: 100%;
    overflow: hidden;
  }

  .footer-column {
    break-inside: avoid;
    margin-bottom: 1.25rem;
    min-width: 0;
  }

  .footer-column a {
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    display: block;
    max-width: 100%;
  }

  .footer-form {
    flex-wrap: wrap;
  }

  .footer-form button {
    flex: 0 0 auto;
  }

  .footer-subscribe {
    max-width: none;
  }
}

@media (min-width: 900px) {
  .corporate-columns {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .footer-links {
    display: block;
    column-count: 2;
    column-gap: 1.5rem;
    width: 100%;
    overflow: hidden;
  }

  .footer-form {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }

  .footer-form button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .site-header .container {
    padding: 0.9rem 1rem;
    gap: 0.75rem;
  }

  .brand {
    margin-right: auto;
    flex-shrink: 0;
  }

  .brand-logo {
    width: 165px;
    height: 44px;
  }

  [dir="rtl"] .site-header .brand {
    margin-right: 0;
    margin-left: auto;
  }

  .site-header .brand,
  .header-socials,
  .lang-switcher {
    position: relative;
    z-index: 1000;
  }

  .nav-toggle {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    padding: 0.4rem;
    border-radius: 12px;
    border: 1px solid rgba(28, 78, 128, 0.15);
    background: rgba(255, 255, 255, 0.9);
    order: 2;
    margin-left: auto;
    margin-right: 0.25rem;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 0.4rem);
    right: 0.75rem;
    left: auto;
    width: min(230px, calc(100vw - 1.5rem));
    height: auto;
    max-height: calc(100vh - 120px);
    margin: 0;
    padding: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.15rem;
    background: rgba(7, 18, 32, 0.97);
    backdrop-filter: blur(20px);
    z-index: 998;
    border-radius: 16px;
    border: 1px solid rgba(67, 120, 176, 0.25);
    box-shadow: 0 20px 60px -15px rgba(5, 12, 26, 0.75);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: scale(0.95) translateY(-8px);
    transform-origin: top right;
    transition:
      opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      visibility 0.25s step-end;
    overflow-y: auto;
  }

  .site-nav[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: scale(1) translateY(0);
    transition:
      opacity 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      transform 0.25s cubic-bezier(0.25, 0.46, 0.45, 0.94),
      visibility 0s step-start;
  }

  .site-nav a {
    font-size: 0.87rem;
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    width: 100%;
    text-align: left;
    color: #e2eafc;
    border-radius: 8px;
    transition: background 0.18s ease, color 0.18s ease;
  }

  .site-nav a:hover,
  .site-nav a:focus {
    background: rgba(11, 212, 255, 0.1);
    color: #0bd4ff;
  }

  .site-nav .nav-item {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .site-header--hero:not(.scrolled) .site-nav a {
    color: #e2eafc;
    text-shadow: none;
  }

  .site-header--hero:not(.scrolled) .site-nav a.accent,
  .site-header--hero:not(.scrolled) .site-nav a.is-active {
    background: rgba(28, 78, 128, 0.18);
    color: #e2eafc;
  }

  /* Nav toggle */
  .nav-toggle {
    z-index: 1001;
    position: relative;
    border-color: rgba(28, 78, 128, 0.2);
    background: rgba(255, 255, 255, 0.92);
    padding: 0.5rem;
  }

  .nav-toggle span {
    background: var(--color-highlight);
    transition: background 0.3s ease;
  }

  .site-header--hero:not(.scrolled) .nav-toggle span {
    background: rgba(223, 238, 255, 0.92);
  }

  .site-header--hero:not(.scrolled) .nav-toggle {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
  }

  .site-header.scrolled .nav-toggle span {
    background: var(--color-highlight);
  }

  /* Scrolled state: white box, dark X */
  .site-header.scrolled .nav-toggle[aria-expanded="true"] {
    background: #ffffff !important;
    border-color: rgba(28, 78, 128, 0.18) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
  }

  .site-header.scrolled .nav-toggle[aria-expanded="true"] span {
    background: var(--color-highlight) !important;
  }

  /* Hero (not scrolled) state: dark box, white X */
  .site-header--hero:not(.scrolled) .nav-toggle[aria-expanded="true"] {
    background: rgba(7, 18, 32, 0.85) !important;
    border-color: rgba(255, 255, 255, 0.2) !important;
  }

  .site-header--hero:not(.scrolled) .nav-toggle[aria-expanded="true"] span {
    background: #ffffff !important;
  }

  /* Active page link */
  .site-nav a.is-active {
    color: #0bd4ff !important;
    background: rgba(11, 212, 255, 0.1) !important;
    border-radius: 10px;
  }

  .site-nav a.accent {
    background: var(--color-primary);
    color: #fff !important;
    box-shadow: none;
  }

  body.nav-open .site-header {
    box-shadow: 0 4px 20px -8px rgba(9, 18, 32, 0.3);
  }

  .site-nav .nav-item {
    width: 100%;
  }

  .site-nav .nav-item.has-children {
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
  }

  .site-nav .nav-item.has-children > a {
    width: 100%;
  }

  .site-nav .nav-dropdown {
    position: static;
    width: 100%;
    min-width: 0;
    padding: 0.35rem 0 0.35rem 0.75rem;
    border-radius: 0;
    box-shadow: none;
    border: none;
    border-left: 2px solid rgba(11, 212, 255, 0.25);
    background: transparent;
    color: inherit;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0.1rem;
    margin: 0.2rem 0 0.2rem 0.5rem;
  }

  .site-nav .nav-dropdown:not([hidden]) {
    display: flex;
  }

  .nav-item.has-children > a {
    opacity: 1;
    font-size: 0.95rem;
    text-transform: none;
    letter-spacing: normal;
    padding-bottom: 0.65rem;
    font-weight: 500;
  }

  .site-nav .nav-dropdown__link {
    width: 100%;
    white-space: normal;
    color: #a8c4e8;
    text-align: left;
    font-size: 0.88rem;
    padding: 0.4rem 0.6rem;
    border-radius: 7px;
    font-weight: 400;
  }

  .site-nav .nav-dropdown__link:hover,
  .site-nav .nav-dropdown__link:focus {
    color: #0bd4ff;
    background: rgba(11, 212, 255, 0.08);
    transform: none;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .two-column,
  .highlight-block {
    grid-template-columns: 1fr;
  }

  .hero-content {
    padding: clamp(5rem, 13vw, 6.2rem) 0 clamp(2.2rem, 7vw, 3rem);
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-controls {
    left: clamp(1.2rem, 6vw, 2rem);
    bottom: clamp(1.4rem, 5vw, 2rem);
  }

  .hero-dots {
    bottom: clamp(2.6rem, 7vw, 3.2rem);
  }

  .hero-meta {
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    width: min(100%, 640px);
    text-align: center;
  }

  .gallery-card {
    flex: 0 1 240px;
    max-width: 240px;
  }

  .gallery-grid,
  .gallery-grid.wider {
    justify-content: flex-start;
  }

  .cta-box {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 100vh;
    /* Fallback */
    min-height: 100svh;
    padding-bottom: clamp(3rem, 12vw, 4rem);
  }

  main {
    padding-top: calc(var(--header-height) + 0.5rem);
  }

  .hero-caption {
    left: clamp(1.1rem, 8vw, 2.3rem);
    right: clamp(1.1rem, 8vw, 2.3rem);
    bottom: clamp(3.6rem, 24vw, 6rem);
    max-width: none;
    padding-inline: clamp(0.3rem, 3vw, 0.8rem) clamp(0.2rem, 2vw, 0.6rem);
    padding-left: clamp(1.6rem, 7vw, 2.4rem);
    gap: clamp(0.5rem, 2.8vw, 0.9rem);
  }

  .hero-caption::before {
    left: clamp(0.7rem, 4.8vw, 1rem);
    margin-block: clamp(0.15rem, 3vw, 0.5rem);
  }

  .hero-caption__eyebrow {
    font-size: clamp(0.62rem, 3.2vw, 0.8rem);
    letter-spacing: 0.18em;
    color: #ffffff;
  }

  .hero-caption__title {
    font-size: clamp(1.8rem, 8vw, 2.8rem);
  }

  .hero-caption__cta {
    padding-inline: clamp(1rem, 7vw, 1.4rem);
    letter-spacing: 0.12em;
  }

  .hero-control {
    width: 34px;
    height: 34px;
  }

  .hero-controls {
    left: 50%;
    transform: translateX(-50%);
    bottom: clamp(1rem, 8vw, 1.6rem);
  }

  .hero-dots {
    bottom: clamp(2.4rem, 10vw, 3.2rem);
  }

  .hero-meta {
    margin-top: clamp(1.8rem, 8vw, 2.6rem);
    justify-content: center;
  }

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

  .section {
    padding: clamp(2.2rem, 12vw, 3rem) 0;
  }

  .section-heading {
    max-width: none;
  }

  .section-heading.center {
    padding-inline: clamp(0.5rem, 4vw, 1.2rem);
  }

  .section-heading h2 {
    font-size: clamp(1.6rem, 7vw, 2.25rem);
  }

  .section-heading p {
    font-size: 1rem;
    line-height: 1.65;
  }

  .gallery-grid,
  .gallery-grid.wider {
    justify-content: flex-start;
    gap: 0.75rem;
  }

  .gallery-card {
    flex: 0 0 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
    min-width: 0;
  }

  .corporate-grid,
  .service-grid {
    gap: 1.25rem;
  }

  .corporate-card,
  .service-card,
  .contact-form,
  .cta-box {
    padding: clamp(1.4rem, 8vw, 2.4rem);
    border-radius: 20px;
  }

  .corporate-card h3,
  .service-card h3 {
    font-size: clamp(1.25rem, 6vw, 1.55rem);
  }

  .corporate-card p,
  .service-card p,
  .service-list li {
    font-size: 0.95rem;
  }

  .cta-actions {
    width: 100%;
    flex-direction: column;
  }

  .cta-actions .btn {
    width: 100%;
    flex: none;
  }

  .contact-section .two-column {
    gap: clamp(1.2rem, 6vw, 1.8rem);
  }

  .contact-form .btn.full {
    width: 100%;
  }

  .service-grid,
  .activities-grid,
  .project-grid,
  .news-grid,
  .footer-grid,
  .corporate-grid,
  .communication-grid,
  .quick-links {
    grid-template-columns: 1fr;
  }

  .news-slider {
    padding-inline: 0.25rem;
    scroll-padding-left: 0.25rem;
  }

  .news-card {
    flex: 0 0 calc(100% - 1.5rem);
    min-width: 0;
  }

  .news-card__image {
    height: 180px;
  }

  .news-card__content {
    padding: 1.25rem;
    align-items: flex-start;
    text-align: left;
  }

  .container {
    width: min(600px, 92vw);
  }

  .floating-action {
    display: none;
  }
}

@media (max-width: 520px) {
  body {
    font-size: 0.95rem;
  }

  .site-footer {
    padding-top: 3rem;
    padding-bottom: 2rem;
  }

  .site-footer .container {
    width: 100%;
    padding-left: 1.25rem;
    padding-right: 1.25rem;
    box-sizing: border-box;
  }

  .footer-grid {
    gap: 1rem;
  }

  .footer-links {
    display: block;
    column-count: 2;
    column-gap: 1.25rem;
    width: 100%;
    overflow: hidden;
  }

  .footer-column {
    break-inside: avoid;
    margin-bottom: 0.9rem;
    min-width: 0;
  }

  .footer-column ul {
    gap: 0.15rem;
    padding-left: 0.8rem;
  }

  .footer-column a {
    font-size: 0.8rem;
    word-break: break-word;
    overflow-wrap: break-word;
    display: block;
    max-width: 100%;
  }

  .footer-heading {
    margin-bottom: 0.15rem;
    font-size: 0.7rem;
  }

  .footer-subscribe {
    gap: 0.75rem;
  }

  .hero-caption {
    left: clamp(0.85rem, 7vw, 1.3rem);
    right: clamp(0.85rem, 7vw, 1.3rem);
    bottom: clamp(2.6rem, 28vw, 4.5rem);
    max-width: none;
    padding-inline: clamp(0.22rem, 6vw, 0.6rem) clamp(0.15rem, 4vw, 0.4rem);
    padding-left: clamp(1.4rem, 8vw, 1.8rem);
    gap: clamp(0.45rem, 4.5vw, 0.75rem);
  }

  .hero-caption::before {
    left: clamp(0.65rem, 5.8vw, 0.9rem);
    margin-block: clamp(0.1rem, 4vw, 0.45rem);
  }

  .hero-caption__eyebrow {
    font-size: clamp(0.58rem, 3.6vw, 0.72rem);
    letter-spacing: 0.14em;
    color: #ffffff;
  }

  .hero-caption__title {
    font-size: clamp(1.6rem, 9vw, 2.2rem);
  }

  .hero-caption__cta {
    padding-inline: clamp(0.85rem, 8vw, 1.2rem);
    letter-spacing: 0.1em;
  }

  .hero-control {
    width: 30px;
    height: 30px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }

  .gallery-grid {
    gap: 0.75rem;
  }

  .gallery-card {
    flex: 0 0 calc(50% - 0.375rem);
    max-width: calc(50% - 0.375rem);
    min-width: 0;
  }

  .hero-stats .value {
    font-size: 1.8rem;
  }

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

.contact-card {
  padding: 1.8rem 1.9rem;
  border-radius: 22px;
  background: var(--color-surface);
  border: 1px solid rgba(33, 56, 87, 0.08);
  box-shadow: var(--shadow-soft);
  display: grid;
  gap: 0.75rem;
  opacity: 0;
  animation: fade-up 0.9s ease forwards;
}

.contact-card:nth-child(2) {
  animation-delay: 0.12s;
}

.contact-card:nth-child(3) {
  animation-delay: 0.24s;
}

.contact-card h3 {
  margin: 0;
  color: var(--color-highlight);
}

.contact-card p {
  margin: 0;
  color: var(--color-muted);
}

@media (max-width: 720px) {
  .corporate-subnav__nav ul {
    justify-content: flex-start;
  }

  .corporate-subnav__nav a {
    width: 100%;
  }

  .corporate-section.has-body .section-heading {
    margin-bottom: 1.4rem;
  }
}





/* Align brand/logo start with hero caption line */
@media (min-width: 901px) {
  .site-header--hero>.container {
    /* Align brand with hero-caption__eyebrow left edge */
    padding-left: calc(clamp(1.8rem, 5vw, 3.6rem) + clamp(2.2rem, 5.5vw, 3.2rem));
  }
}

/* Header: make container full-width; brand flush left */
/* Header: ensure full width but safe padding on mobile/tablet */
.site-header>.container {
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(1rem, 5vw, 2rem);
  padding-right: clamp(1rem, 5vw, 2rem);
}

/* Desktop: align header brand position same as homepage on all pages */
@media (min-width: 901px) {
  .site-header>.container {
    padding-left: calc(clamp(1.8rem, 5vw, 3.6rem) + clamp(0.8rem, 2.8vw, 1.3rem));
  }
}

/* Kurumsal iletisim sayfas?: header ile corporate-subnav aras?ndaki bo?lu?u kald?r */
body.page-corporate-contact main {
  padding-top: 0;
}

body.page-corporate-contact .site-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

body.page-corporate-contact {
  background: #fff;
}

body.page-gallery main {
  padding-top: clamp(1.5rem, 3vw, 2.25rem);
}

body.page-gallery .section:first-of-type {
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

/* Desktop: center the primary nav within the header on all pages */
/* Desktop: center the primary nav within the header on all pages - REMOVED to prevent overlap */
/* Using flexbox space-between or similar instead */

@media (min-width: 901px) {
  .site-header>.container {
    gap: 2rem;
    justify-content: space-between;
  }
}

/* Strictly center the nav on large screens where it's safe to do so without overlap */
@media (min-width: 1360px) {
  .site-header>.container {
    position: relative;
    justify-content: flex-start;
    /* Reset flex justify */
  }

  .site-header .site-nav {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
  }
}

.gallery-link {
  color: var(--color-primary);
  font-weight: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

.gallery-link:hover {
  color: #09d4ff;
}



/* Homepage News Section Customization */
.news-slider {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.news-card {
  flex: 0 1 350px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.news-card:hover {
  transform: translateY(-5px);
}

.news-card__image {
  height: 200px;
  overflow: hidden;
}

.news-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__image img {
  transform: scale(1.05);
}

.news-card__content {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-grow: 1;
  gap: 1rem;
}

.news-card__content h3 {
  font-size: 1.1rem;
  margin: 0;
  color: var(--color-highlight);
  line-height: 1.4;
}

.news-card .more-link {
  font-size: 0.9rem;
  color: var(--color-primary);
  text-decoration: underline;
  font-weight: 500;
  margin-top: auto;
}

.news-card .more-link:hover {
  color: var(--color-highlight);
}

/* Fix text visibility in news cards within highlight section */
.section.highlight .news-card h3 {
  color: var(--color-highlight) !important;
}

.section.highlight .news-card {
  color: var(--color-text);
}


/* Fix visibility of 'read more' link in news cards within highlight section */
.section.highlight .news-card .more-link {
  color: var(--color-primary) !important;
}

.section.highlight .news-card .more-link:hover {
  color: var(--color-highlight) !important;
}


/* News Card Button Styling */
.news-card .news-btn {
  margin-top: auto;
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  width: 100%;
  max-width: 200px;
}

body.page-home #haberler .news-slider-wrapper {
  width: 100%;
  overflow: visible;
  position: relative;
}

body.page-home #haberler .container {
  width: min(1320px, 94vw);
}

body.page-home #haberler .news-slider {
  display: flex;
  align-items: center;
  gap: 1rem;
  overflow: hidden;
  padding: 0;
}

body.page-home #haberler .news-slider__viewport {
  overflow: hidden;
  width: 100%;
}

body.page-home #haberler .news-slider__track {
  display: flex;
  gap: 1.5rem;
  transition: transform 0.45s ease;
  will-change: transform;
}

body.page-home #haberler .news-slider__track .news-card {
  flex: 0 0 calc((100% - 3.4rem) / 3);
  min-width: 0;
  max-width: 390px;
  background: #ffffff;
  border: 1px solid #dbe5f0;
  border-radius: 18px;
  box-shadow: 0 24px 42px -34px rgba(12, 37, 68, 0.5);
  padding: 0.9rem;
  min-height: 470px;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

body.page-home #haberler .news-slider__track .news-card:hover {
  transform: translateY(-6px);
  border-color: #c8d7e8;
  box-shadow: 0 28px 46px -30px rgba(12, 37, 68, 0.55);
}

body.page-home #haberler .news-card__image {
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  background: #eef3f8;
}

body.page-home #haberler .news-card__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  padding: 1.35rem 0.85rem 0.85rem;
}

body.page-home #haberler .news-card__content h3 {
  margin: 0;
  color: #1a2f49;
  font-size: clamp(1rem, 0.45vw + 0.82rem, 1.45rem);
  line-height: 1.25;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 6.7rem;
}

body.page-home #haberler .news-card .news-btn {
  margin-top: auto;
  width: min(90%, 210px);
  max-width: 210px;
  padding: 0.78rem 1.5rem;
  border-radius: 999px;
  font-size: 1rem;
  box-shadow: 0 12px 24px -18px rgba(12, 39, 72, 0.55);
}

body.page-home #haberler .news-slider__nav {
  width: 46px;
  height: 46px;
  border-radius: 999px;
  border: 1px solid rgba(28, 78, 128, 0.28);
  background: #ffffff;
  color: var(--color-primary);
  font-size: 1.65rem;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 14px 28px -20px rgba(10, 38, 74, 0.45);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

body.page-home #haberler .news-slider__nav:hover,
body.page-home #haberler .news-slider__nav:focus {
  background: #f1f6fc;
  box-shadow: 0 16px 30px -18px rgba(10, 38, 74, 0.5);
  transform: translateY(-1px);
}

@media (max-width: 1199px) {
  body.page-home #haberler .news-slider__track .news-card {
    flex-basis: calc((100% - 1.5rem) / 2);
    max-width: 430px;
    min-height: 450px;
  }
}

/* Ensure content stretches to push button down */

/* Fix text visibility in CTA box */
.cta-box .eyebrow,
.cta-box h2,
.cta-box p {
  color: #ffffff !important;
}

.cta-box .eyebrow {
  opacity: 0.8;
}

.cta-box p {
  opacity: 0.9;
}

/* ── Language Switcher ── */
.lang-flag {
  width: 20px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  flex-shrink: 0;
}

.lang-switcher {
  position: relative;
  flex-shrink: 0;
  z-index: 50;
}

.header-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-left: auto;
  margin-right: 0.75rem;
}

.header-socials a.social-facebook {
  color: #1877F2;
}

.header-socials a.social-instagram {
  color: #E4405F;
}

.header-socials a.social-linkedin {
  color: #0A66C2;
}

.header-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  padding: 0.25rem;
  border-radius: 6px;
}

.header-socials a:hover {
  background: rgba(28, 78, 128, 0.08);
  transform: translateY(-2px);
}

.header-socials a:focus-visible {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* Brand colors are maintained even on hero header */
.site-header--hero:not(.scrolled) .header-socials a.social-facebook {
  color: #5B9AFF;
  /* slightly lighter for contrast */
}

.site-header--hero:not(.scrolled) .header-socials a.social-instagram {
  color: #F06A86;
}

.site-header--hero:not(.scrolled) .header-socials a.social-linkedin {
  color: #3B92EB;
}

.site-header--hero:not(.scrolled) .header-socials a:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.site-header--hero:not(.scrolled) .header-socials a:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

@media (max-width: 900px) {
  .header-socials {
    display: none;
  }
}

.lang-switcher--mobile {
  display: none;
}

.lang-switcher__toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.6rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: inherit;
  background: rgba(28, 78, 128, 0.08);
  border: 1px solid rgba(28, 78, 128, 0.15);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}

.lang-switcher__toggle:hover,
.lang-switcher__toggle:focus {
  background: rgba(28, 78, 128, 0.14);
  border-color: rgba(28, 78, 128, 0.3);
}

.lang-switcher__toggle svg {
  transition: transform 0.25s ease;
}

.lang-switcher.is-open .lang-switcher__toggle svg {
  transform: rotate(180deg);
}

/* Hero variant */
.site-header--hero:not(.scrolled) .lang-switcher__toggle {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  color: #d3e4ff;
}

.site-header--hero:not(.scrolled) .lang-switcher__toggle:hover,
.site-header--hero:not(.scrolled) .lang-switcher__toggle:focus {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.35);
  color: #ffffff;
}

.lang-switcher__menu {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  min-width: 120px;
  background: rgba(7, 18, 32, 0.96);
  border-radius: 0.65rem;
  box-shadow: 0 16px 36px -20px rgba(9, 22, 39, 0.65);
  border: 1px solid rgba(67, 120, 176, 0.2);
  backdrop-filter: blur(12px);
}

.lang-switcher__item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.7rem;
  border-radius: 0.45rem;
  font-size: 0.88rem;
  font-weight: 500;
  color: rgba(223, 235, 255, 0.92);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.lang-switcher__item:hover,
.lang-switcher__item:focus {
  background: rgba(11, 180, 255, 0.18);
  color: #0bd4ff;
}

.lang-switcher__item.is-active {
  background: rgba(28, 78, 128, 0.3);
  color: #7fd2ff;
}

/* ── RTL Support ── */
[dir="rtl"] body {
  direction: rtl;
  text-align: right;
}

[dir="rtl"] .site-header .container {
  flex-direction: row-reverse;
}

[dir="rtl"] .site-nav {
  flex-direction: row-reverse;
}

[dir="rtl"] .lang-switcher {
  margin-left: 0;
  margin-right: 0.8rem;
}

[dir="rtl"] .lang-switcher__menu {
  right: auto;
  left: 0;
}

[dir="rtl"] .hero-caption {
  left: auto;
  right: clamp(1.8rem, 5vw, 3.6rem);
  padding-left: clamp(0.2rem, 1vw, 0.6rem);
  padding-right: clamp(2.2rem, 5.5vw, 3.2rem);
}

[dir="rtl"] .hero-caption::before {
  left: auto;
  right: 0;
}

[dir="rtl"] .footer-grid {
  direction: rtl;
}

[dir="rtl"] .breadcrumbs {
  flex-direction: row-reverse;
}

/* Mobile lang switcher */
@media (max-width: 900px) {

  /* Hide the inline mobile lang buttons — use dropdown instead */
  .lang-switcher--mobile {
    display: none !important;
  }

  /* Show the desktop dropdown on mobile */
  .lang-switcher:not(.lang-switcher--mobile) {
    display: block;
    position: relative;
    top: auto;
    right: auto;
    margin-left: 0;
    margin-right: 0;
    order: 3;
    z-index: 1000;
  }

  .lang-switcher__menu {
    right: 0;
    min-width: 100px;
  }

  [dir="rtl"] .lang-switcher:not(.lang-switcher--mobile) {
    margin-left: 0.5rem;
    margin-right: auto;
  }

  [dir="rtl"] .lang-switcher__menu {
    right: auto;
    left: 0;
  }
}

/* =========================================================
   SCROLL REVEAL ANIMATIONS
   ========================================================= */

/* Base state: hidden & offset */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px); /* Reduced from 80px */
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Variant: slide from left */
[data-reveal="left"] {
  transform: translateX(-40px);
}

[data-reveal="right"] {
  transform: translateX(40px);
}

/* Variant: scale up */
[data-reveal="scale"] {
  transform: scale(0.85);
}

/* Variant: fade only (no movement) */
[data-reveal="fade"] {
  transform: scale(1.02);
}

/* Revealed state */
[data-reveal].is-revealed {
  opacity: 1;
  transform: translateY(0) translateX(0) scale(1);
}

/* Stagger child animations */
[data-reveal-stagger]>* {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-reveal-stagger].is-revealed>*:nth-child(1) {
  transition-delay: 0.1s;
}

[data-reveal-stagger].is-revealed>*:nth-child(2) {
  transition-delay: 0.2s;
}

[data-reveal-stagger].is-revealed>*:nth-child(3) {
  transition-delay: 0.3s;
}

[data-reveal-stagger].is-revealed>*:nth-child(4) {
  transition-delay: 0.4s;
}

[data-reveal-stagger].is-revealed>*:nth-child(5) {
  transition-delay: 0.5s;
}

[data-reveal-stagger].is-revealed>*:nth-child(6) {
  transition-delay: 0.6s;
}

[data-reveal-stagger].is-revealed>* {
  opacity: 1;
  transform: translateY(0);
}

/* Homepage Activities: reveal cards from left to right, one by one */
.page-home #faaliyetler .service-grid[data-reveal-stagger]>.service-card {
  opacity: 0;
  transform: translateX(-56px) scale(0.98);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.page-home #faaliyetler .service-grid[data-reveal-stagger].is-revealed>.service-card {
  opacity: 1;
  transform: translateX(0) scale(1);
}

@media (max-width: 900px) {
  .page-home #faaliyetler .service-grid[data-reveal-stagger]>.service-card {
    transform: translateX(-34px) scale(0.99);
  }
}

/* Special Reveal: Gallery Section - Smooth Fade Up */
.gallery-grid[data-reveal-stagger]>.gallery-card {
  opacity: 0;
  transform: translateY(30px);
  will-change: opacity, transform;
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1),
    transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (min-width: 901px) {
  .gallery-grid[data-reveal-stagger]>.gallery-card {
    transform: translateY(60px) scale(0.9) rotateX(-15deg);
    transform-origin: center bottom;
    backface-visibility: hidden;
  }
}

.gallery-grid[data-reveal-stagger].is-revealed>.gallery-card {
  opacity: 1;
  transform: translateY(0) scale(1) rotateX(0);
}

/* Special Reveal: Homepage News Cards — staggered one by one */
.news-slider .news-card {
  opacity: 0;
  transform: translateY(50px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1) var(--card-delay, 0s);
  will-change: opacity, transform;
}

.news-slider.cards-revealed .news-card {
  opacity: 1;
  transform: translateY(0);
}

/* Fallback: old data-reveal-stagger approach on news-slider */
.news-slider[data-reveal-stagger]>.news-card {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1),
    transform 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-slider[data-reveal-stagger].is-revealed>.news-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* Individual delay modifiers */
[data-reveal-delay="1"] {
  transition-delay: 0.1s;
}

[data-reveal-delay="2"] {
  transition-delay: 0.2s;
}

[data-reveal-delay="3"] {
  transition-delay: 0.3s;
}

[data-reveal-delay="4"] {
  transition-delay: 0.4s;
}

/* Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {

  [data-reveal],
  [data-reveal-stagger]>* {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ══════════════════════════════════════════════════
   HOME TIMELINE - Compact Dark Scrollable Design
   ══════════════════════════════════════════════════ */
.home-timeline-section {
  padding: 3rem 0 3.5rem;
  background: linear-gradient(135deg, #071528 0%, #0e2445 60%, #071528 100%);
  overflow: hidden;
}

.tl-heading h2 {
  color: #fff;
  margin-bottom: 0.25rem;
}

.tl-heading {
  margin-bottom: 2rem;
}

.tl-track-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scrollbar-width: thin;
  scrollbar-color: rgba(9, 212, 255, 0.3) transparent;
  padding: 0 clamp(1rem, 4vw, 3rem);
  cursor: grab;
}

.tl-track-wrap:active {
  cursor: grabbing;
}

.tl-track-wrap::-webkit-scrollbar {
  height: 4px;
}
.tl-track-wrap::-webkit-scrollbar-track {
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}
.tl-track-wrap::-webkit-scrollbar-thumb {
  background: rgba(9, 212, 255, 0.35);
  border-radius: 4px;
}

.tl-track {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  width: 100%;
  padding: 1.5rem clamp(1rem, 3vw, 2.5rem) 1.75rem;
}

.tl-line {
  position: absolute;
  top: 2.3rem;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(9, 212, 255, 0.5) 5%,
    rgba(9, 212, 255, 0.7) 50%,
    rgba(9, 212, 255, 0.5) 95%,
    transparent 100%);
  pointer-events: none;
}

.tl-item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1 1 0;
  min-width: 100px;
  max-width: 200px;
  animation: tlFadeUp 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
  animation-delay: calc(var(--i) * 0.08s);
}

@keyframes tlFadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

.tl-pin {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #09d4ff;
  border: 2.5px solid #071528;
  box-shadow: 0 0 0 3px rgba(9, 212, 255, 0.25), 0 0 14px rgba(9, 212, 255, 0.4);
  margin-bottom: 0.85rem;
  flex-shrink: 0;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  z-index: 1;
}

.tl-item:hover .tl-pin {
  transform: scale(1.35);
  box-shadow: 0 0 0 5px rgba(9, 212, 255, 0.2), 0 0 24px rgba(9, 212, 255, 0.6);
}

.tl-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(9, 212, 255, 0.18);
  border-radius: 14px;
  padding: 0.85rem 0.9rem 0.95rem;
  text-align: center;
  width: 100%;
  overflow: hidden;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.tl-item:hover .tl-card {
  background: rgba(9, 212, 255, 0.08);
  border-color: rgba(9, 212, 255, 0.45);
  transform: translateY(-4px);
}

.tl-year {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: #09d4ff;
  letter-spacing: -0.02em;
  margin-bottom: 0.4rem;
  line-height: 1;
}

.tl-text {
  font-size: 0.82rem;
  color: rgba(200, 225, 255, 0.72);
  line-height: 1.45;
  margin: 0;
  max-width: none;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
}

@media (max-width: 768px) {
  .home-timeline-section {
    padding: 2.5rem 0 3rem;
  }

  .tl-item {
    width: 190px;
    min-width: 170px;
  }

  .tl-card {
    padding: 0.85rem 0.8rem 0.95rem;
  }

  .tl-year {
    font-size: 1.3rem;
  }

  .tl-text {
    font-size: 0.82rem;
  }
}

/* ══════════════════════════════════════════════════
   HOME PRODUCTS ACCORDION
   ══════════════════════════════════════════════════ */
.home-products-section {
  background: var(--color-highlight);
  padding-block: 5rem;
}

.home-products-section .section-heading h2,
.home-products-section .section-heading p,
.home-products-section .section-heading .eyebrow {
  color: #fff;
}

.home-products-section .section-heading .eyebrow {
  color: rgba(255, 255, 255, 0.65);
}

.home-products-section .section-heading p {
  color: rgba(255, 255, 255, 0.7);
}

.home-products-section .section-actions {
  margin-top: 2.5rem;
}

.home-products-section .section-actions .btn.ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.3);
}

.home-products-section .section-actions .btn.ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.5);
}

/* Accordion container */
.home-products-accordion {
  display: flex;
  gap: 6px;
  height: 480px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.5);
}

/* Each accordion panel */
.hp-accordion-item {
  position: relative;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  color: #fff;
  transition:
    flex 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: flex;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hp-accordion-item:first-child {
  border-radius: 16px 0 0 16px;
}

.hp-accordion-item:last-child {
  border-radius: 0 16px 16px 0;
}

/* Image */
.hp-accordion-item img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Gradient overlay */
.hp-accordion-item__overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top,
      rgba(0, 0, 0, 0.45) 0%,
      rgba(0, 0, 0, 0.08) 35%,
      transparent 60%);
  z-index: 2;
  transition: background 0.5s ease;
  transform: translateZ(0);
  backface-visibility: hidden;
}

.hp-accordion-item__overlay h3 {
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  white-space: nowrap;
  color: #fff;
  opacity: 0.95;
  transition:
    transform 0.45s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s ease;
  margin: 0;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
  transform-origin: left bottom;
  will-change: transform, opacity;
}

.hp-accordion-item__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 0.5rem;
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.4s ease 0.15s,
    transform 0.4s ease 0.15s;
  color: rgba(255, 255, 255, 0.9);
}

.hp-accordion-item__btn svg {
  transition: transform 0.3s ease;
}

/* ── Active / Hover state ── */
.hp-accordion-item.is-active,
.hp-accordion-item:hover {
  flex: 5;
}

.hp-accordion-item.is-active img,
.hp-accordion-item:hover img {
  transform: scale(1.05);
}

.hp-accordion-item.is-active .hp-accordion-item__overlay h3,
.hp-accordion-item:hover .hp-accordion-item__overlay h3 {
  opacity: 1;
  transform: scale(1.14);
}

.hp-accordion-item.is-active .hp-accordion-item__btn,
.hp-accordion-item:hover .hp-accordion-item__btn {
  opacity: 1;
  transform: translateY(0);
}

.hp-accordion-item:hover .hp-accordion-item__btn svg {
  transform: translateX(3px);
}

/* ── Collapsed state label rotation ── */
.hp-accordion-item:not(.is-active):not(:hover) .hp-accordion-item__overlay {
  padding: 1rem 0.5rem;
  justify-content: center;
  align-items: center;
}

.hp-accordion-item:not(.is-active):not(:hover) .hp-accordion-item__overlay h3 {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  white-space: nowrap;
  font-size: 0.85rem;
  opacity: 0.8;
  letter-spacing: 0.08em;
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .home-products-accordion {
    flex-direction: column;
    height: auto;
    gap: 4px;
    border-radius: 12px;
  }

  .hp-accordion-item {
    height: 80px;
    flex: none !important;
    border-radius: 0 !important;
    transition: height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .hp-accordion-item:first-child {
    border-radius: 12px 12px 0 0 !important;
  }

  .hp-accordion-item:last-child {
    border-radius: 0 0 12px 12px !important;
  }

  .hp-accordion-item.is-active {
    height: 300px;
  }

  .hp-accordion-item:not(.is-active) .hp-accordion-item__overlay {
    padding: 0.75rem 1.25rem;
    justify-content: center;
    align-items: flex-start;
  }

  .hp-accordion-item:not(.is-active) .hp-accordion-item__overlay h3 {
    writing-mode: horizontal-tb !important;
    text-orientation: initial !important;
    font-size: 0.9rem !important;
  }

  .hp-accordion-item.is-active .hp-accordion-item__overlay {
    padding: 1.5rem;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .hp-accordion-item.is-active .hp-accordion-item__overlay h3 {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .home-products-section {
    padding-block: 3.5rem;
  }

  .hp-accordion-item {
    height: 64px;
  }

  .hp-accordion-item.is-active {
    height: 240px;
  }
}

@media (max-width: 700px) {
  body.page-home #haberler .news-slider {
    gap: 0.6rem;
  }

  body.page-home #haberler .news-slider__track .news-card {
    flex-basis: 100%;
    max-width: 100%;
    min-height: 430px;
    padding: 0.75rem;
  }

  body.page-home #haberler .news-card__image {
    height: 185px;
  }

  body.page-home #haberler .news-card__content {
    padding: 1.1rem 0.65rem 0.75rem;
  }

  body.page-home #haberler .news-card__content h3 {
    font-size: 1rem;
    line-height: 1.3;
    min-height: 0;
    -webkit-line-clamp: 5;
    line-clamp: 5;
  }

  body.page-home #haberler .news-slider__nav {
    width: 40px;
    height: 40px;
    font-size: 1.35rem;
  }
}

/* %% Product Comparison styles %% */
.compare-modal {
  position: fixed;
  inset: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}

.compare-modal__overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 10, 22, 0.85);
  backdrop-filter: blur(8px);
}

.compare-modal__content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  background: #091627;
  color: #fff;
  border-radius: 1.25rem;
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.8),
              0 0 0 1px rgba(255, 255, 255, 0.1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: compareFadeUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes compareFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

.compare-modal__header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.compare-modal__header h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0;
  color: #0bd4ff;
}

.compare-modal__body {
  padding: 1.5rem 2rem;
  overflow-y: auto;
}

.compare-table-wrap {
  width: 100%;
  overflow-x: auto;
  border-radius: 1rem;
  background: rgba(4, 11, 20, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 800px;
}

.compare-table th,
.compare-table td {
  padding: 1.25rem 1.5rem;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.85);
}

.compare-table th:first-child,
.compare-table td:first-child {
  text-align: left;
  font-weight: 600;
  color: #0bd4ff; /* High contrast cyan */
  width: 260px;
  position: sticky;
  left: 0;
  z-index: 2;
  background: #091627;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-table thead th {
  vertical-align: bottom;
  padding-top: 2rem;
}

.compare-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.compare-card__img {
  width: 160px;
  height: 110px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.compare-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.compare-card__name {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.compare-card__link {
  font-size: 0.85rem;
  color: #0bd4ff;
  text-decoration: none;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border: 1.5px solid #0bd4ff;
  border-radius: 8px;
  transition: all 0.2s;
}

.compare-card__link:hover {
  background: #0bd4ff;
  color: #091627;
  box-shadow: 0 0 20px rgba(11, 212, 255, 0.3);
}

.compare-table tbody tr:hover {
  background: rgba(11, 212, 255, 0.05);
}

.compare-table td:not(:first-child) {
  font-family: var(--font-heading);
  font-weight: 500;
}

@media (max-width: 900px) {
  .compare-modal { padding: 1rem; }
  .compare-modal__content { max-height: 95vh; }
  .compare-table td:first-child,
  .compare-table th:first-child { width: 180px; padding: 1rem; }
  .compare-card__img { width: 120px; height: 80px; }
}

/* Desktop zoom lock: keep header/footer visual scale closer to 100% layout */
@media (min-width: 1200px) {
  :root {
    --desktop-ui-scale: clamp(0.6667, calc(100vw / 1920px), 1);
    --header-height: calc(80px * var(--desktop-ui-scale));
  }

  .site-header .container {
    padding-top: calc(1rem * var(--desktop-ui-scale));
    padding-bottom: calc(1rem * var(--desktop-ui-scale));
  }

  .brand-logo {
    width: calc(220px * var(--desktop-ui-scale));
    height: calc(54px * var(--desktop-ui-scale));
  }

  .site-nav {
    gap: calc(0.3rem * var(--desktop-ui-scale));
  }

  .site-nav a {
    padding: calc(0.35rem * var(--desktop-ui-scale)) calc(0.45rem * var(--desktop-ui-scale));
    font-size: calc(0.92rem * var(--desktop-ui-scale));
  }

  .fimarlife-logo {
    width: calc(125px * var(--desktop-ui-scale));
    height: calc(34px * var(--desktop-ui-scale));
  }

  .site-nav a.fimarlife-link {
    padding: calc(0.2rem * var(--desktop-ui-scale)) calc(0.6rem * var(--desktop-ui-scale));
    min-width: calc(160px * var(--desktop-ui-scale));
  }

  .header-socials {
    gap: calc(0.6rem * var(--desktop-ui-scale));
    margin-right: calc(0.75rem * var(--desktop-ui-scale));
  }

  .header-socials a {
    padding: calc(0.25rem * var(--desktop-ui-scale));
    border-radius: calc(6px * var(--desktop-ui-scale));
  }

  .header-socials a svg {
    width: calc(18px * var(--desktop-ui-scale));
    height: calc(18px * var(--desktop-ui-scale));
  }

  .lang-flag {
    width: calc(20px * var(--desktop-ui-scale));
    border-radius: calc(3px * var(--desktop-ui-scale));
  }

  .lang-switcher__toggle {
    gap: calc(0.4rem * var(--desktop-ui-scale));
    padding: calc(0.35rem * var(--desktop-ui-scale)) calc(0.6rem * var(--desktop-ui-scale));
    border-radius: calc(8px * var(--desktop-ui-scale));
    font-size: calc(0.85rem * var(--desktop-ui-scale));
  }

  .lang-switcher__menu {
    top: calc(100% + calc(0.45rem * var(--desktop-ui-scale)));
    padding: calc(0.4rem * var(--desktop-ui-scale));
    min-width: calc(120px * var(--desktop-ui-scale));
    border-radius: calc(0.65rem * var(--desktop-ui-scale));
  }

  .lang-switcher__item {
    gap: calc(0.5rem * var(--desktop-ui-scale));
    padding: calc(0.45rem * var(--desktop-ui-scale)) calc(0.7rem * var(--desktop-ui-scale));
    border-radius: calc(0.45rem * var(--desktop-ui-scale));
    font-size: calc(0.88rem * var(--desktop-ui-scale));
  }

  .site-footer {
    padding-top: calc(clamp(1rem, 2vw, 1.5rem) * var(--desktop-ui-scale));
    padding-bottom: calc(0.8rem * var(--desktop-ui-scale));
  }

  .footer-grid {
    grid-template-columns: minmax(0, calc(240px * var(--desktop-ui-scale))) 1fr;
    gap: calc(clamp(1.5rem, 4vw, 3rem) * var(--desktop-ui-scale));
  }

  .footer-brand {
    gap: calc(0.5rem * var(--desktop-ui-scale));
    max-width: calc(250px * var(--desktop-ui-scale));
    transform: translate(
      0,
      calc(20px * var(--desktop-ui-scale))
    );
  }

  .footer-brand .brand {
    gap: calc(0.8rem * var(--desktop-ui-scale));
  }

  .footer-brand .brand img {
    max-width: calc(190px * var(--desktop-ui-scale));
  }

  .footer-heading {
    font-size: calc(0.78rem * var(--desktop-ui-scale));
    margin-bottom: calc(0.4rem * var(--desktop-ui-scale));
  }

  .footer-links {
    gap: calc(clamp(0.8rem, 1.5vw, 1.25rem) * var(--desktop-ui-scale));
  }

  .footer-column {
    gap: calc(0.3rem * var(--desktop-ui-scale));
  }

  .footer-column ul {
    padding-left: calc(1.1rem * var(--desktop-ui-scale));
    gap: calc(0.45rem * var(--desktop-ui-scale));
  }

  .footer-column a {
    font-size: calc(0.95rem * var(--desktop-ui-scale));
  }

  .footer-bottom {
    margin-top: calc(0.8rem * var(--desktop-ui-scale));
    padding-top: calc(0.8rem * var(--desktop-ui-scale));
    font-size: calc(0.9rem * var(--desktop-ui-scale));
  }
  
}
