:root {
  --alser-navy: #001f4b;
  --alser-blue: #003479;
  --alser-sky: #3a6ab9;
  --alser-ink: #0b1220;
  --alser-muted: #5b6b82;
  --alser-line: rgba(0, 31, 75, 0.12);
  --alser-paper: #f4f7fb;
  --alser-white: #ffffff;
  --font-display: "Outfit", sans-serif;
  --font-body: "Manrope", sans-serif;
  --header-h: 4.5rem;
  --radius: 1.25rem;
  --shadow: 0 18px 50px rgba(0, 31, 75, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--alser-ink);
  background: var(--alser-white);
  line-height: 1.65;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1250;
  min-height: var(--header-h);
  padding: 0 clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 30px rgba(0, 31, 75, 0.08);
  transition: box-shadow 0.35s ease;
}

.site-header.is-mega-open {
  z-index: 1100;
}

.header-bar {
  min-height: var(--header-h);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1rem;
}

.brand-mark {
  display: flex;
  align-items: center;
  justify-self: start;
  gap: 0.75rem;
  color: var(--alser-navy);
}

.brand-mark img {
  height: clamp(32px, 8vw, 42px);
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.15rem;
}

.nav-item {
  position: relative;
}

.main-nav-link {
  appearance: none;
  border: 0;
  background: transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--alser-navy);
  padding: 0.55rem 0.8rem;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}

.main-nav-link:hover,
.main-nav-link.is-open {
  background: rgba(58, 106, 185, 0.12);
  color: var(--alser-blue);
}

.header-right {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 0.55rem;
}

.menu-toggle {
  width: 2.75rem;
  height: 2.75rem;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 31, 75, 0.06);
  color: var(--alser-navy);
  display: none;
  place-items: center;
  cursor: pointer;
  padding: 0;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 1.35rem;
  height: 2px;
  background: currentColor;
  position: relative;
  transition: transform 0.25s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.menu-toggle span::before { top: -6px; }
.menu-toggle span::after { top: 6px; }

.menu-toggle.is-open span {
  background: transparent;
}

.menu-toggle.is-open span::before {
  top: 0;
  transform: rotate(45deg);
}

.menu-toggle.is-open span::after {
  top: 0;
  transform: rotate(-45deg);
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: var(--alser-sky);
  color: var(--alser-white);
  font-weight: 700;
  font-size: 0.88rem;
  white-space: nowrap;
  transition: transform 0.2s ease, background 0.2s ease;
}

.header-cta:hover {
  background: var(--alser-blue);
  transform: translateY(-1px);
}

.header-cta--panel {
  background: transparent;
  color: var(--alser-navy);
  border: 1.5px solid rgba(0, 52, 121, 0.28);
}

.header-cta--panel:hover {
  background: var(--alser-paper);
  color: var(--alser-navy);
  border-color: var(--alser-sky);
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 12, 30, 0.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 1150;
}

.nav-backdrop.is-open,
.nav-backdrop.is-mega-open {
  opacity: 1;
  pointer-events: auto;
}

.mega-dropdown {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: calc(100% - 0.15rem);
  z-index: 2;
  width: min(760px, calc(100vw - 1.5rem));
  padding: 0;
}

.mega-dropdown-inner {
  width: 100%;
  margin: 0;
  background: var(--alser-white);
  color: var(--alser-ink);
  border-radius: 1rem;
  box-shadow: 0 18px 50px rgba(0, 31, 75, 0.18);
  border: 1px solid var(--alser-line);
  padding: 0.85rem;
}

.mega-board-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.7rem;
  padding: 0 0.15rem;
}

.mega-kicker {
  margin: 0;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--alser-sky);
  font-weight: 700;
}

.mega-board-head h2 {
  margin: 0.1rem 0 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  color: var(--alser-navy);
}

.mega-all {
  color: var(--alser-sky);
  font-weight: 700;
  font-size: 0.88rem;
}

.mega-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.45rem;
}

.mega-grid--services {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-grid--4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mega-dropdown--products {
  width: min(760px, calc(100vw - 1.5rem));
}

.product-intro {
  max-width: 52rem;
}

.product-intro p {
  color: var(--alser-muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.mega-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  align-items: center;
  gap: 0.65rem;
  border: 1px solid var(--alser-line);
  border-radius: 0.75rem;
  overflow: hidden;
  background: #fff;
  padding: 0.35rem 0.55rem 0.35rem 0.35rem;
  transition: border-color 0.2s ease, background 0.2s ease;
  position: relative;
  z-index: 1;
  pointer-events: auto;
}

.mega-card:hover {
  border-color: rgba(58, 106, 185, 0.4);
  background: var(--alser-paper);
  transform: none;
  box-shadow: none;
}

.mega-card .media-slot {
  border-radius: 0.55rem;
  border: 1px solid var(--alser-line);
  aspect-ratio: 1 / 1;
  min-height: 64px;
}

.mega-card .media-slot__title,
.mega-card .media-slot__file {
  display: none;
}

.mega-card .media-slot__icon {
  width: 1.2rem;
  height: 1.2rem;
  margin: 0;
}

.mega-card-body {
  padding: 0.15rem 0.15rem 0.15rem 0;
  display: grid;
  gap: 0.1rem;
}

.mega-card-body strong {
  font-family: var(--font-display);
  color: var(--alser-navy);
  font-size: 0.92rem;
  line-height: 1.25;
}

.mega-card-body span {
  color: var(--alser-muted);
  font-size: 0.78rem;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.mobile-nav {
  display: none;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  color: var(--alser-white);
  background:
    linear-gradient(180deg, rgba(0, 31, 75, 0.35) 0%, rgba(0, 31, 75, 0.82) 70%, rgba(0, 31, 75, 0.95) 100%),
    radial-gradient(circle at 70% 30%, rgba(58, 106, 185, 0.35), transparent 45%),
    linear-gradient(135deg, #001f4b 0%, #003479 48%, #0a2a5c 100%);
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-media .media-slot {
  height: 100%;
  border-radius: 0;
  margin: 0;
}

.hero-media .media-slot.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 31, 75, 0.35) 0%, rgba(0, 31, 75, 0.82) 70%, rgba(0, 31, 75, 0.95) 100%);
}

.hero-media .media-slot.is-empty {
  background: transparent;
}

.hero-media .media-slot.is-empty .media-slot__placeholder {
  display: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 60% 40%, black, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto 7rem;
  padding-top: 8rem;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 1.25rem;
}

.hero-kicker::before {
  content: "";
  width: 2rem;
  height: 2px;
  background: var(--alser-sky);
}

.hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 4.6rem);
  line-height: 1.05;
  margin: 0 0 1rem;
  max-width: 14ch;
}

.hero p {
  max-width: 38rem;
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.86);
  margin: 0 0 1.75rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.9rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--alser-sky);
  color: var(--alser-white);
}

.btn-primary:hover {
  background: #4d7cc7;
}

.btn-ghost {
  background: transparent;
  color: var(--alser-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
  background: var(--alser-navy);
  color: var(--alser-white);
}

.wave-bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100% !important;
  max-width: none;
  height: 90px;
  display: block;
  color: var(--alser-white);
  pointer-events: none;
  line-height: 0;
  overflow: hidden;
}

.section {
  padding: clamp(4rem, 8vw, 7rem) 0;
}

.section-muted {
  background: var(--alser-paper);
}

.container-narrow {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.section-label {
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--alser-sky);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.15;
  color: var(--alser-navy);
  margin: 0 0 1rem;
}

.section-lead {
  max-width: 42rem;
  color: var(--alser-muted);
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
}

.chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 2rem 0 0;
}

.chip {
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid var(--alser-line);
  background: var(--alser-white);
  color: var(--alser-blue);
  font-weight: 600;
  font-size: 0.92rem;
}

.service-grid,
.product-grid,
.stat-grid {
  display: grid;
  gap: 1.25rem;
}

.service-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.stat-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.service-card,
.product-card {
  background: var(--alser-white);
  border: 1px solid var(--alser-line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.service-card:hover,
.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(58, 106, 185, 0.35);
}

.service-card h3,
.product-card h3 {
  font-family: var(--font-display);
  color: var(--alser-navy);
  margin: 0 0 0.6rem;
  font-size: 1.35rem;
}

.service-card p,
.product-card p {
  margin: 0;
  color: var(--alser-muted);
}

.card-link {
  display: inline-flex;
  margin-top: 1.1rem;
  color: var(--alser-sky);
  font-weight: 700;
}

.stat-card {
  text-align: left;
  padding: 1.25rem 0;
}

.stat-card strong {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--alser-navy);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.stat-card span {
  color: var(--alser-muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.cta-band {
  background:
    linear-gradient(135deg, var(--alser-navy), var(--alser-blue) 55%, #2457a0);
  color: var(--alser-white);
  border-radius: calc(var(--radius) + 0.35rem);
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.cta-band h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin: 0 0 0.5rem;
}

.cta-band p {
  margin: 0;
  max-width: 34rem;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero {
  padding: calc(var(--header-h) + 3.5rem) 0 3rem;
  background:
    linear-gradient(180deg, rgba(0, 31, 75, 0.92), rgba(0, 52, 121, 0.88)),
    linear-gradient(135deg, #001f4b, #003479);
  color: var(--alser-white);
  position: relative;
}

.page-hero .container-narrow h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  margin: 0 0 0.75rem;
}

.page-hero p {
  margin: 0;
  max-width: 40rem;
  color: rgba(255, 255, 255, 0.84);
}

.page-hero .wave-bottom {
  height: 70px;
}

.prose {
  max-width: 48rem;
}

.prose p {
  color: var(--alser-muted);
  font-size: 1.05rem;
}

.product-list {
  display: grid;
  gap: 0.75rem;
}

.product-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.15rem;
  border: 1px solid var(--alser-line);
  border-radius: 0.9rem;
  background: var(--alser-white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.product-list a:hover {
  border-color: var(--alser-sky);
  transform: translateX(4px);
}

.product-list strong {
  color: var(--alser-navy);
}

.product-list span {
  color: var(--alser-sky);
  font-weight: 700;
  font-size: 0.9rem;
  white-space: nowrap;
}

.form-card {
  background: var(--alser-white);
  border: 1px solid var(--alser-line);
  border-radius: var(--radius);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.form-grid .full {
  grid-column: 1 / -1;
}

.form-field label {
  display: block;
  font-weight: 700;
  color: var(--alser-navy);
  margin-bottom: 0.35rem;
  font-size: 0.92rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--alser-line);
  border-radius: 0.75rem;
  padding: 0.8rem 0.95rem;
  font: inherit;
  color: var(--alser-ink);
  background: #fff;
}

.form-field textarea {
  min-height: 140px;
  resize: vertical;
}

.form-field .text-danger {
  color: #b42318;
  font-size: 0.85rem;
}

.alert-success {
  background: #e8f6ef;
  color: #0f5132;
  border: 1px solid #b7e4c7;
  border-radius: 0.85rem;
  padding: 0.9rem 1rem;
  margin-bottom: 1rem;
}

.contact-panel {
  display: grid;
  gap: 1rem;
}

.contact-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--alser-line);
}

.contact-item strong {
  display: block;
  color: var(--alser-navy);
  margin-bottom: 0.25rem;
}

.site-footer {
  background: var(--alser-navy);
  color: rgba(255, 255, 255, 0.82);
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.5rem;
}

.geo-line {
  margin-top: 1rem !important;
  font-size: 0.92rem !important;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.72) !important;
}

.lead-copy {
  font-size: 1.08rem;
  color: var(--alser-muted);
  line-height: 1.75;
}

.service-detail {
  display: grid;
  grid-template-columns: 1.35fr 0.75fr;
  gap: 2rem;
  align-items: start;
}

.service-detail .prose h2 {
  font-family: var(--font-display);
  color: var(--alser-navy);
  font-size: 1.45rem;
  margin: 2rem 0 0.85rem;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.7rem;
}

.check-list li {
  position: relative;
  padding-left: 1.55rem;
  color: var(--alser-muted);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.65rem;
  height: 0.65rem;
  border-radius: 50%;
  background: var(--alser-sky);
}

.step-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.85rem;
}

.step-list li {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85rem;
  align-items: start;
}

.step-list span {
  width: 1.85rem;
  height: 1.85rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--alser-navy);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
}

.step-list p {
  margin: 0.2rem 0 0;
  color: var(--alser-muted);
}

.service-aside .sticky-card {
  position: sticky;
  top: 5.5rem;
}

.service-aside h3 {
  font-family: var(--font-display);
  color: var(--alser-navy);
  margin: 0 0 0.6rem;
  font-size: 1.25rem;
}

.service-aside p {
  color: var(--alser-muted);
  margin: 0 0 1rem;
}

.aside-actions {
  display: grid;
  gap: 0.65rem;
}

.aside-phone {
  text-align: center;
  font-weight: 800;
  color: var(--alser-navy);
  padding: 0.4rem 0;
}

.aside-meta {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--alser-line);
}

.aside-meta strong {
  display: block;
  color: var(--alser-navy);
  margin-bottom: 0.25rem;
}

.aside-meta span {
  color: var(--alser-muted);
  font-size: 0.92rem;
}

.faq-list {
  display: grid;
  gap: 0.75rem;
  max-width: 48rem;
}

.faq-item {
  border: 1px solid var(--alser-line);
  border-radius: 0.9rem;
  background: var(--alser-white);
  padding: 0.85rem 1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  color: var(--alser-navy);
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  margin: 0.75rem 0 0.25rem;
  color: var(--alser-muted);
}

.client-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.client-grid--home {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.client-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 0.85rem;
  background: #fff;
  border: 1px solid var(--alser-line);
  border-radius: 0.9rem;
  text-align: center;
  min-height: 100%;
}

.client-card.is-collapsed {
  display: none;
}

.client-card h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.35;
  color: var(--alser-navy);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.client-card .media-slot--logo,
.client-card .media-slot--logo.has-image,
.client-card .media-slot--logo.is-empty,
.media-slot--logo,
.media-slot--logo.has-image,
.media-slot--logo.is-empty {
  aspect-ratio: 1 / 1;
  border-radius: 0.65rem;
  border: 1px solid var(--alser-line);
  border-style: solid;
  background: #fff;
}

.client-card .media-slot--logo img,
.media-slot--logo img {
  object-fit: contain;
  object-position: center;
  padding: 0.75rem;
  background: #fff;
}

.client-card .media-slot__title,
.client-card .media-slot__file {
  display: none;
}

.client-card .media-slot__icon {
  width: 1.35rem;
  height: 1.35rem;
  margin: 0;
}

.client-load-wrap {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

.reference-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.reference-card {
  background: var(--alser-white);
  border: 1px solid var(--alser-line);
  border-radius: var(--radius);
  padding: 1.35rem;
  box-shadow: var(--shadow);
}

.reference-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.reference-sector {
  display: inline-flex;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: rgba(58, 106, 185, 0.12);
  color: var(--alser-blue);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.reference-year {
  color: var(--alser-muted);
  font-size: 0.85rem;
  font-weight: 600;
}

.reference-card h3 {
  font-family: var(--font-display);
  color: var(--alser-navy);
  margin: 0 0 0.4rem;
  font-size: 1.15rem;
  line-height: 1.3;
}

.reference-location {
  color: var(--alser-sky);
  font-weight: 700;
  font-size: 0.92rem;
  margin: 0 0 0.65rem !important;
}

.reference-card p {
  margin: 0;
  color: var(--alser-muted);
}

.reference-scope {
  display: block;
  margin-top: 0.9rem;
  color: var(--alser-navy);
  font-size: 0.9rem;
}

.media-slot {
  position: relative;
  display: block;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 0.2rem);
  background:
    linear-gradient(135deg, rgba(0, 31, 75, 0.06), rgba(58, 106, 185, 0.12)),
    repeating-linear-gradient(
      -45deg,
      transparent,
      transparent 8px,
      rgba(0, 31, 75, 0.03) 8px,
      rgba(0, 31, 75, 0.03) 16px
    );
  border: 1px dashed rgba(0, 52, 121, 0.22);
}

.media-slot--1x1 { aspect-ratio: 1 / 1; }
.media-slot--4x3 { aspect-ratio: 4 / 3; }
.media-slot--4x5 { aspect-ratio: 4 / 5; }
.media-slot--16x10 { aspect-ratio: 16 / 10; }
.media-slot--16x9 { aspect-ratio: 16 / 9; }
.media-slot--21x9 { aspect-ratio: 21 / 9; }

.media-slot.has-image {
  border-style: solid;
  border-color: var(--alser-line);
  background: #0b1220;
}

.media-slot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.media-slot__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 1rem;
  text-align: center;
  color: var(--alser-blue);
}

.media-slot__icon {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 0.55rem;
  border: 2px solid rgba(58, 106, 185, 0.45);
  margin-bottom: 0.25rem;
  position: relative;
}

.media-slot__icon::before {
  content: "";
  position: absolute;
  inset: 0.45rem;
  border-radius: 50%;
  border: 2px solid rgba(58, 106, 185, 0.45);
}

.media-slot__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.95rem;
}

.media-slot__file {
  font-size: 0.78rem;
  color: var(--alser-muted);
  word-break: break-all;
  max-width: 90%;
}

.about-split {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
  align-items: start;
}

.about-aside {
  display: grid;
  gap: 1rem;
}

.about-visual-section {
  padding: 0 0 3.5rem;
}

.about-visual-section .media-slot.about-visual {
  width: 100%;
  min-height: clamp(260px, 38vw, 480px);
  border-radius: 1rem;
}

.service-card--media,
.product-card--media,
.reference-card--media {
  padding: 0;
  overflow: hidden;
}

.service-card--media .media-slot,
.product-card--media .media-slot,
.reference-card--media .media-slot {
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  border-top: 0;
}

.card-body {
  padding: 1.25rem 1.35rem 1.45rem;
}

.card-body h3 {
  margin-top: 0;
}

.site-footer h4 {
  font-family: var(--font-display);
  color: var(--alser-white);
  margin: 0 0 1rem;
}

.site-footer a {
  display: block;
  padding: 0.25rem 0;
  color: rgba(255, 255, 255, 0.78);
}

.site-footer a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.two-col {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 2rem;
  align-items: start;
}

@media (max-width: 1024px) {
  .service-grid,
  .product-grid,
  .reference-grid,
  .client-grid,
  .client-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-split {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-grid,
  .mega-grid--4 {
    grid-template-columns: 1fr;
  }

  .mega-grid--services {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .main-nav {
    display: none;
  }

  .menu-toggle {
    display: grid;
  }

  .mega-dropdown {
    display: none !important;
  }

  .mobile-nav {
    display: block;
    position: fixed;
    top: calc(var(--header-h) + 0.35rem);
    left: 0.75rem;
    right: 0.75rem;
    z-index: 1200;
    background: #fff;
    border-radius: 1.1rem;
    border: 1px solid var(--alser-line);
    box-shadow: 0 20px 50px rgba(0, 31, 75, 0.18);
    padding: 0.75rem;
    max-height: min(78vh, calc(100dvh - var(--header-h) - 1rem));
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .mobile-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-nav nav {
    display: grid;
    gap: 0.2rem;
  }

  .mobile-nav a,
  .mobile-nav summary {
    display: block;
    padding: 0.8rem 0.85rem;
    border-radius: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--alser-navy);
    cursor: pointer;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav summary::after {
    content: "+";
    float: right;
    font-weight: 700;
    color: var(--alser-sky);
  }

  .mobile-nav details[open] > summary::after {
    content: "−";
  }

  .mobile-nav a:hover,
  .mobile-nav summary:hover {
    background: var(--alser-paper);
  }

  .mobile-nav-group {
    display: grid;
    gap: 0.15rem;
    margin: 0.15rem 0;
    border-radius: 0.75rem;
  }

  .mobile-nav-group-title {
    font-weight: 700;
    color: var(--alser-navy) !important;
  }

  .mobile-nav-board {
    margin: 0.15rem 0.2rem 0.45rem;
    padding: 0.55rem;
    border-radius: 0.9rem;
    background: linear-gradient(180deg, #f5f8fc 0%, #eef3fa 100%);
    border: 1px solid rgba(0, 31, 75, 0.08);
  }

  .mobile-nav-all {
    display: inline-flex !important;
    align-items: center;
    padding: 0.35rem 0.45rem !important;
    margin-bottom: 0.35rem;
    font-size: 0.82rem !important;
    font-weight: 700 !important;
    color: var(--alser-sky) !important;
    background: transparent !important;
  }

  .mobile-nav-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem;
  }

  .mobile-nav-card {
    display: grid !important;
    grid-template-rows: auto 1fr;
    gap: 0.4rem;
    padding: 0.4rem !important;
    border-radius: 0.8rem !important;
    background: #fff !important;
    border: 1px solid rgba(0, 31, 75, 0.08);
    box-shadow: 0 4px 14px rgba(0, 31, 75, 0.05);
    color: var(--alser-navy) !important;
    min-height: 0;
    transition: border-color 0.2s ease, transform 0.2s ease;
  }

  .mobile-nav-card:hover,
  .mobile-nav-card:active {
    background: #fff !important;
    border-color: rgba(58, 106, 185, 0.35);
    transform: translateY(-1px);
  }

  .mobile-nav-card .media-slot {
    border-radius: 0.55rem;
    border: 1px solid var(--alser-line);
    aspect-ratio: 16 / 10;
    min-height: 0;
    margin: 0;
  }

  .mobile-nav-card .media-slot__title,
  .mobile-nav-card .media-slot__file {
    display: none;
  }

  .mobile-nav-card .media-slot__icon {
    width: 1.15rem;
    height: 1.15rem;
    margin: 0;
  }

  .mobile-nav-card-text {
    display: block;
    padding: 0 0.1rem 0.15rem;
  }

  .mobile-nav-card-text strong {
    display: block;
    font-family: var(--font-display);
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--alser-navy);
  }

  .mobile-nav-cta {
    background: var(--alser-navy) !important;
    color: #fff !important;
    text-align: center;
    margin-top: 0.35rem;
  }

  .mobile-nav-cta--panel {
    background: #fff !important;
    color: var(--alser-navy) !important;
    border: 1.5px solid rgba(0, 52, 121, 0.2);
  }
}

@media (max-width: 768px) {
  :root {
    --header-h: 4rem;
  }

  .site-header {
    padding: 0 0.9rem;
  }

  .header-cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.8rem;
  }

  .header-cta span {
    display: none;
  }

  .mega-grid,
  .mega-grid--4 {
    grid-template-columns: 1fr 1fr;
  }

  .hero {
    min-height: auto;
    padding-top: var(--header-h);
  }

  .hero-inner {
    width: min(1120px, calc(100% - 1.5rem));
    margin: 0 auto 4.5rem;
    padding-top: 3.5rem;
  }

  .hero h1 {
    font-size: clamp(1.9rem, 9vw, 2.6rem);
    max-width: none;
  }

  .hero p {
    font-size: 0.98rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .wave-bottom {
    height: 56px;
  }

  .section {
    padding: 3.25rem 0;
  }

  .container-narrow {
    width: min(1120px, calc(100% - 1.5rem));
  }

  .section-title {
    font-size: clamp(1.55rem, 7vw, 2.1rem);
  }

  .section-lead {
    margin-bottom: 1.75rem;
    font-size: 1rem;
  }

  .service-grid,
  .product-grid,
  .reference-grid,
  .stat-grid,
  .footer-grid,
  .two-col,
  .form-grid,
  .service-detail,
  .about-split {
    grid-template-columns: 1fr;
  }

  .client-grid,
  .client-grid--home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .service-aside .sticky-card {
    position: static;
  }

  .chip-row {
    gap: 0.5rem;
  }

  .chip {
    font-size: 0.84rem;
    padding: 0.45rem 0.8rem;
  }

  .cta-band {
    padding: 1.5rem;
  }

  .cta-band .hero-actions {
    width: 100%;
  }

  .page-hero {
    padding: calc(var(--header-h) + 2rem) 0 2.25rem;
  }

  .page-hero .wave-bottom {
    height: 48px;
  }

  .footer-bottom {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .mega-grid,
  .mega-grid--4 {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .brand-mark img {
    height: 28px;
  }

  .menu-toggle {
    width: 2.4rem;
    height: 2.4rem;
  }

  .stat-card strong {
    font-size: 1.7rem;
  }
}

/* —— TS 13905 / F-Gaz belge kartı —— */
.product-card--featured {
  grid-column: 1 / -1;
  border: 1px solid rgba(0, 31, 75, 0.18);
  background:
    linear-gradient(135deg, rgba(0, 95, 160, 0.08), rgba(255, 255, 255, 0.95) 45%),
    #fff;
  box-shadow: 0 14px 40px rgba(0, 31, 75, 0.08);
}

.doc-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
  padding: 0.28rem 0.7rem;
  border-radius: 999px;
  background: var(--alser-navy);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

html {
  scroll-behavior: smooth;
}

#ts13905:target {
  outline: 2px solid var(--alser-blue);
  outline-offset: 4px;
}

/* —— Kalıcı F-Gaz floating butonu —— */
.fgaz-float {
  position: fixed;
  left: 1rem;
  bottom: 1.1rem;
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  max-width: min(18.5rem, calc(100vw - 2rem));
}

.fgaz-float__fab {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 0;
  cursor: pointer;
  color: #fff;
  background: linear-gradient(135deg, #003a7a, #0072bc 70%);
  padding: 0.72rem 1rem 0.72rem 0.78rem;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(0, 58, 122, 0.38);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
  animation: fgaz-pulse 2.6s ease-in-out infinite;
}

.fgaz-float__fab:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 32px rgba(0, 58, 122, 0.45);
}

.fgaz-float__fab-icon {
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
}

.fgaz-float__panel {
  width: 100%;
  background: #fff;
  color: var(--alser-navy);
  border-radius: 1rem;
  padding: 1rem 1rem 1.05rem;
  box-shadow: 0 16px 40px rgba(0, 31, 75, 0.22);
  border: 1px solid rgba(0, 31, 75, 0.1);
  animation: fgaz-rise 0.28s ease;
}

.fgaz-float__panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.45rem;
}

.fgaz-float__panel-head strong {
  font-family: var(--font-display);
  font-size: 1rem;
}

.fgaz-float__close {
  border: 0;
  background: rgba(0, 31, 75, 0.08);
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.15rem;
  line-height: 1;
  color: var(--alser-navy);
}

.fgaz-float__panel p {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.45;
  color: #334155;
}

.fgaz-float__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.65rem 0.9rem;
  border-radius: 0.7rem;
  background: var(--alser-navy);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}

.fgaz-float__cta:hover {
  background: #003a7a;
}

@keyframes fgaz-pulse {
  0%, 100% { box-shadow: 0 10px 28px rgba(0, 58, 122, 0.38); }
  50% { box-shadow: 0 10px 28px rgba(0, 58, 122, 0.38), 0 0 0 10px rgba(0, 114, 188, 0.12); }
}

@keyframes fgaz-rise {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Ana sayfa F-Gaz popup —— */
.fgaz-modal[hidden] {
  display: none !important;
}

.fgaz-modal {
  position: fixed;
  inset: 0;
  z-index: 1400;
  display: grid;
  place-items: center;
  padding: 1rem;
}

.fgaz-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 20, 45, 0.55);
  backdrop-filter: blur(2px);
}

.fgaz-modal__dialog {
  position: relative;
  z-index: 1;
  width: min(32rem, 100%);
  background:
    linear-gradient(160deg, #f4f8ff 0%, #fff 42%),
    #fff;
  border-radius: 1.15rem;
  padding: 1.6rem 1.5rem 1.4rem;
  box-shadow: 0 24px 60px rgba(0, 20, 45, 0.35);
  border: 1px solid rgba(0, 31, 75, 0.1);
  animation: fgaz-rise 0.35s ease;
}

.fgaz-modal__x {
  position: absolute;
  top: 0.75rem;
  right: 0.85rem;
  border: 0;
  background: rgba(0, 31, 75, 0.07);
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
  color: var(--alser-navy);
}

.fgaz-modal__kicker {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0072bc;
  margin-bottom: 0.45rem;
}

.fgaz-modal__dialog h2 {
  font-family: var(--font-display);
  color: var(--alser-navy);
  font-size: clamp(1.25rem, 2.5vw, 1.55rem);
  margin: 0 0 0.75rem;
  line-height: 1.25;
  padding-right: 1.5rem;
}

.fgaz-modal__dialog > p {
  margin: 0 0 0.9rem;
  color: #334155;
  line-height: 1.55;
  font-size: 0.95rem;
}

.fgaz-modal__list {
  margin: 0 0 1.15rem;
  padding-left: 1.15rem;
  color: var(--alser-navy);
  font-size: 0.92rem;
  line-height: 1.55;
}

.fgaz-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.fgaz-modal__ghost {
  color: var(--alser-navy) !important;
  border-color: rgba(0, 31, 75, 0.2) !important;
}

@media (max-width: 640px) {
  .fgaz-float {
    left: 0.75rem;
    bottom: 0.85rem;
  }

  .fgaz-float__fab-text {
    font-size: 0.84rem;
  }

  .product-card--featured {
    grid-column: auto;
  }
}
