/* =============================================
   LUPEM — Electrical & Mechanical Engineering
   ============================================= */

:root {
  --color-bg: #ffffff;
  --color-bg-soft: #f8f9fa;
  --color-bg-dark: #150810;
  --color-surface: rgba(255, 255, 255, 0.9);
  --color-border: rgba(148, 163, 184, 0.28);

  --color-text: #1a0f12;
  --color-text-muted: #6b5a60;
  --color-text-light: #9a858c;

  --color-primary: #9B1B30;
  --color-primary-dark: #7A1526;
  --color-logo: #5c101c;

  --font-sans: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-serif: 'Instrument Serif', Georgia, serif;
  --font-display: 'Poppins', 'Plus Jakarta Sans', system-ui, sans-serif;
  --display-title-size: clamp(1.75rem, 4.2vw, 2.75rem);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 2px 8px rgba(21, 8, 16, 0.04);
  --shadow-md: 0 8px 32px rgba(21, 8, 16, 0.08);

  --header-height: 76px;
  --container: 1200px;
  --transition: 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  --page-loader-reveal-buffer: 400ms;
  --page-loader-fallback-duration: 2400ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  background: var(--color-bg);
  overflow-x: hidden;
}

body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: transparent;
  -webkit-font-smoothing: antialiased;
  position: relative;
}

html.is-loading,
body.is-loading {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

body.is-loading {
  position: fixed;
  inset: 0;
  width: 100%;
  touch-action: none;
}

/* ---- Page loader ---- */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(ellipse 85% 55% at 50% 38%, rgba(155, 27, 48, 0.2) 0%, transparent 58%),
    radial-gradient(circle at 18% 82%, rgba(155, 27, 48, 0.1) 0%, transparent 42%),
    radial-gradient(circle at 82% 18%, rgba(232, 160, 176, 0.07) 0%, transparent 38%),
    #12070c;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.page-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 35%, rgba(0, 0, 0, 0.35) 100%);
  pointer-events: none;
}

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

.page-loader__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.page-loader__brand-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.page-loader__brand {
  display: flex;
  margin: 0;
  font-family: var(--font-sans);
  font-size: clamp(3.25rem, 14vw, 6rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3em;
  text-indent: 0.3em;
}

.page-loader__line {
  display: block;
  width: 0;
  height: 2px;
  border-radius: var(--radius-full);
  background: linear-gradient(90deg, transparent 0%, #E8A0B0 18%, #9B1B30 50%, #E8A0B0 82%, transparent 100%);
}

.page-loader__letter {
  display: inline-block;
  opacity: 0;
  transform: translateY(42px) scale(0.84) rotateX(26deg);
  transform-origin: 50% 100%;
  filter: blur(12px);
  background: linear-gradient(160deg, #ffffff 0%, #F5D0DA 48%, #E8A0B0 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.page-loader--play .page-loader__line {
  animation: page-loader-line 0.95s cubic-bezier(0.22, 1, 0.36, 1) 1.02s forwards;
}

.page-loader--play .page-loader__letter {
  animation: page-loader-letter 0.88s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.page-loader--play .page-loader__letter:nth-child(1) { animation-delay: 0.08s; }
.page-loader--play .page-loader__letter:nth-child(2) { animation-delay: 0.19s; }
.page-loader--play .page-loader__letter:nth-child(3) { animation-delay: 0.30s; }
.page-loader--play .page-loader__letter:nth-child(4) { animation-delay: 0.41s; }
.page-loader--play .page-loader__letter:nth-child(5) { animation-delay: 0.52s; }

.page-loader--settled .page-loader__letter {
  animation: none !important;
  opacity: 1;
  transform: none;
  filter: none;
}

.page-loader--settled .page-loader__line {
  animation: none !important;
  width: min(300px, 74vw);
}

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

@keyframes page-loader-letter {
  0% {
    opacity: 0;
    transform: translateY(42px) scale(0.84) rotateX(26deg);
    filter: blur(12px);
  }

  58% {
    opacity: 1;
    transform: translateY(-5px) scale(1.04) rotateX(0deg);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1) rotateX(0deg);
    filter: blur(0);
  }
}

@keyframes page-loader-line {
  to {
    width: min(300px, 74vw);
  }
}

/* ---- Site background ---- */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.site-bg__base {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #ffffff 0%, #fafbfc 50%, #f4f6f8 100%);
}

.site-bg__glow {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.site-bg__glow--1 {
  width: min(560px, 75vw);
  height: min(560px, 75vw);
  top: -4%;
  right: -8%;
  background: rgba(155, 27, 48, 0.08);
  filter: blur(90px);
}

.site-bg__glow--2 {
  width: min(480px, 65vw);
  height: min(480px, 65vw);
  bottom: 8%;
  left: -8%;
  background: rgba(155, 27, 48, 0.06);
  filter: blur(80px);
}

.site-bg__glow--3 {
  width: min(420px, 58vw);
  height: min(420px, 58vw);
  top: 42%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(155, 27, 48, 0.05);
  filter: blur(100px);
}

.section,
.hero,
.services,
.about,
.faq,
.contact {
  background: transparent;
}

main {
  position: relative;
  background: transparent;
}

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

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

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, #B91C3C 100%);
  color: #fff;
  border-color: transparent;
  box-shadow: none;
}

.btn--primary:hover {
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, #8B1538 100%);
  transform: translateY(-2px);
  box-shadow: none;
}

.btn--outline {
  background: var(--color-surface);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: var(--color-text);
  border-color: var(--color-border);
}

.btn--outline:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-2px);
}

.btn--lg {
  padding: 14px 28px;
  font-size: 1rem;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.header--scrolled:not(.header--on-dark) {
  background: rgba(255, 255, 255, 0.92);
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}

.header.header--on-dark {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom-color: transparent;
  box-shadow: none;
}

.header.header--on-dark.header--scrolled {
  background: rgba(21, 8, 16, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom-color: rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.18);
}

.header.header--on-dark:not(.header--scrolled) .nav__link {
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.45);
}

.brand {
  display: inline-flex;
  align-items: center;
  color: var(--color-text);
}

.header .brand__logo {
  display: block;
  height: clamp(1.75rem, 3.2vw, 2.25rem);
  width: auto;
  max-width: min(170px, 40vw);
}

.header .brand__logo--on-dark {
  display: none;
}

.header.header--on-dark .brand__logo--on-light {
  display: none;
}

.header.header--on-dark .brand__logo--on-dark {
  display: block;
}

.header.header--on-dark .btn--primary.header__cta:hover {
  background: rgba(255, 255, 255, 0.92);
  color: var(--color-primary-dark);
  box-shadow: none;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.header.header--on-dark .nav__list {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.header.header--on-dark .nav__link {
  color: rgba(255, 255, 255, 0.82);
}

.header.header--on-dark .nav__link:hover,
.header.header--on-dark .nav__link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.header.header--on-dark .nav__link.is-active {
  font-weight: 600;
}

.header.header--on-dark .menu-toggle span {
  background: #fff;
}

.header.header--on-dark .lang-switch {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
}

.header.header--on-dark .lang-switch__btn {
  color: rgba(255, 255, 255, 0.75);
}

.header.header--on-dark .lang-switch__btn:hover {
  color: #fff;
}

.header.header--on-dark .lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  box-shadow: none;
}

.header.header--on-dark .btn--primary.header__cta {
  background: #fff;
  color: var(--color-primary-dark);
  border-color: #fff;
  box-shadow: none;
}

.nav__list {
  display: flex;
  gap: 4px;
  padding: 5px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.nav__link {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text-muted);
  transition: all var(--transition);
  padding: 9px 18px;
  border-radius: var(--radius-full);
}

.nav__link:hover,
.nav__link.is-active {
  color: var(--color-text);
  background: rgba(255, 255, 255, 0.9);
}

.nav__link.is-active {
  color: var(--color-primary-dark);
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch {
  display: flex;
  padding: 4px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-full);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.lang-switch__btn {
  min-width: 40px;
  padding: 7px 12px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition);
}

.lang-switch__btn:hover {
  color: var(--color-text);
}

.lang-switch__btn.is-active {
  background: rgba(255, 255, 255, 0.95);
  color: var(--color-primary-dark);
  box-shadow: var(--shadow-sm);
}

.header__cta {
  display: none;
}

.header:not(.header--on-dark) .btn--primary.header__cta {
  background: var(--color-logo);
  border-color: var(--color-logo);
  color: #fff;
}

.header:not(.header--on-dark) .btn--primary.header__cta:hover {
  background: #4a0d16;
  border-color: #4a0d16;
  color: #fff;
}

.menu-toggle {
  --menu-line: 2px;
  --menu-gap: 6px;
  --menu-shift: calc(var(--menu-line) + var(--menu-gap));
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: var(--menu-gap);
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: var(--menu-line);
  margin: 0;
  padding: 0;
  background: var(--color-text);
  border-radius: 1px;
  transform-origin: center;
  transition:
    transform 0.28s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.2s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(var(--menu-shift)) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(calc(-1 * var(--menu-shift))) rotate(-45deg);
}

/* ---- Hero ---- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + 48px) 0 80px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #150810;
}

.hero__bg picture {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  transform: scale(1.12);
  transform-origin: center center;
}

.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(21, 8, 16, 0.55) 0%, rgba(21, 8, 16, 0.25) 38%, rgba(21, 8, 16, 0.72) 100%),
    radial-gradient(ellipse 90% 70% at 50% 42%, rgba(21, 8, 16, 0.72) 0%, transparent 68%);
  z-index: 0;
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 920px;
  text-align: center;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__badge,
.hero__title,
.hero__desc,
.hero__actions,
.hero__stats {
  opacity: 0;
  transform: translateY(28px);
}

html:not(.is-loading) .hero__bg picture {
  animation: hero-bg-in 1.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html:not(.is-loading) .hero__badge,
html:not(.is-loading) .hero__title,
html:not(.is-loading) .hero__desc,
html:not(.is-loading) .hero__actions,
html:not(.is-loading) .hero__stats {
  animation: hero-copy-in 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

html:not(.is-loading) .hero__badge { animation-delay: 0.12s; }
html:not(.is-loading) .hero__title { animation-delay: 0.26s; }
html:not(.is-loading) .hero__desc { animation-delay: 0.4s; }
html:not(.is-loading) .hero__actions { animation-delay: 0.54s; }
html:not(.is-loading) .hero__stats { animation-delay: 0.68s; }

@keyframes hero-bg-in {
  from {
    opacity: 0.4;
    transform: scale(1.12);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes hero-copy-in {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero__badge {
  display: inline-block;
  font-size: clamp(0.8125rem, 1.6vw, 0.9375rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #F0C4CE;
  padding: 10px 20px;
  margin-bottom: 28px;
  line-height: 1.4;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.hero__title {
  font-size: clamp(3.25rem, 7.5vw, 5.5rem);
  font-weight: 700;
  line-height: 1.02;
  letter-spacing: -0.045em;
  margin-bottom: 32px;
  color: #fff;
  text-shadow: 0 2px 28px rgba(0, 0, 0, 0.45);
}

.hero__title em {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  color: #F0C4CE;
}

.hero__desc {
  font-size: clamp(1.125rem, 2.2vw, 1.375rem);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.88);
  max-width: 640px;
  margin: 0 auto 40px;
  line-height: 1.75;
  text-shadow: 0 1px 16px rgba(0, 0, 0, 0.4);
}

.hero__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 56px;
}

.hero .btn--lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.hero .btn--outline {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero .btn--outline:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.65);
}

.hero__stats {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: center;
  padding-top: 8px;
  border-top: none;
  width: 100%;
  max-width: 720px;
}

.hero .stat {
  flex: 1;
  min-width: 140px;
  padding: 22px 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius-md);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: background var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.hero .stat:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.28);
}

.hero .stat__value {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
  background: linear-gradient(135deg, #ffffff 0%, #E8A0B0 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .stat__label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.72);
}

/* ---- Sections ---- */
.section {
  padding: 100px 0;
}

.section__header {
  text-align: center;
  max-width: 600px;
  margin: 0 auto 64px;
}

.section__tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-primary-dark);
  background: rgba(155, 27, 48, 0.08);
  border: 1px solid rgba(155, 27, 48, 0.15);
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}

.section__desc {
  font-size: 1.0625rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ---- Services ---- */
.services {
  position: relative;
  padding-bottom: 0;
}

.services__header--on-dark .section__tag {
  color: rgba(255, 255, 255, 0.88);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.18);
}

.services__header--on-dark .section__desc {
  color: rgba(255, 255, 255, 0.72);
}

.services__featured {
  margin-bottom: 0;
}

.services__featured-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.services__featured-tab {
  padding: 10px 22px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-full);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
  transition: background var(--transition), border-color var(--transition), color var(--transition);
}

.services__featured-tab:hover,
.services__featured-tab.is-active {
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.service-showcase--bg {
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #1a1218;
}

.service-showcase--featured {
  min-height: auto;
  width: 100%;
  aspect-ratio: 3509 / 2480;
  margin: 0;
  padding: 48px 0;
}

.service-showcase--featured .service-showcase__bg--landscape {
  inset: 0;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: none;
  opacity: 0;
  transition: opacity 0.45s ease;
}

.service-showcase--featured .service-showcase__bg--landscape.is-active {
  opacity: 1;
}

.service-showcase--featured .service-showcase__bg--landscape img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: none;
}

.service-showcase__bg picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.service-showcase__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a1218;
}

.service-showcase__bg img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.service-showcase--bg .service-showcase__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(21, 8, 16, 0.62) 0%, rgba(21, 8, 16, 0.42) 45%, rgba(21, 8, 16, 0.78) 100%),
    radial-gradient(ellipse 85% 65% at 50% 50%, rgba(21, 8, 16, 0.55) 0%, transparent 70%);
}

.service-showcase--bg .service-showcase__inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: none;
  width: 100%;
  margin-left: 0;
  margin-right: 0;
  padding-left: clamp(16px, 4vw, 40px);
  padding-right: 24px;
}

.service-showcase--bg .services__featured-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 920px;
}

.service-showcase--bg .services__header {
  margin: 0 0 28px;
  text-align: center;
  width: 100%;
}

.service-showcase--bg .services__featured-tabs {
  justify-content: center;
  width: 100%;
  margin-bottom: 22px;
  flex-wrap: nowrap;
  gap: 10px;
}

.service-showcase--bg .services__featured-tab {
  white-space: nowrap;
}

.service-showcase--bg .service-showcase__content {
  width: 100%;
  max-width: 780px;
  text-align: center;
  padding: 28px 32px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: rgba(21, 8, 16, 0.45);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-xl);
  box-shadow: 0 12px 48px rgba(0, 0, 0, 0.28);
}

.service-showcase__content--on-dark .service-showcase__title {
  color: #fff;
  text-shadow: none;
}

.service-showcase__content--on-dark .service-showcase__desc {
  color: rgba(255, 255, 255, 0.92);
  max-width: none;
  margin-inline: auto;
  text-shadow: none;
}

.service-showcase__content--on-dark .service-showcase__list {
  justify-content: center;
}

.service-showcase__content--on-dark .service-showcase__list li {
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.service-showcase__title {
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  color: var(--color-bg-dark);
}

.service-showcase__desc {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  max-width: 52ch;
}

.service-showcase__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  list-style: none;
}

.service-showcase__list li {
  padding: 7px 14px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--color-text);
  background: var(--color-bg-soft);
  border: 1px solid rgba(148, 163, 184, 0.14);
  border-radius: var(--radius-full);
}

.service-showcase__list li::before {
  display: none;
}

.services__mobile {
  display: none;
}

.services__mobile-header {
  margin-bottom: 40px;
}

.services__mobile-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.service-card {
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(155, 27, 48, 0.1);
  border-radius: var(--radius-xl);
  transform: translateZ(0);
  box-shadow:
    0 1px 2px rgba(21, 8, 16, 0.04),
    0 16px 40px rgba(21, 8, 16, 0.07);
}

.service-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  background: #1a1218;
}

.service-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  background:
    linear-gradient(to top, rgba(21, 8, 16, 0.78) 0%, rgba(21, 8, 16, 0.22) 52%, rgba(21, 8, 16, 0.38) 100%),
    radial-gradient(ellipse 90% 70% at 50% 100%, rgba(155, 27, 48, 0.22) 0%, transparent 68%);
  pointer-events: none;
}

.service-card__media picture,
.service-card__media img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
}

.service-card__media img {
  object-fit: cover;
  object-position: center;
}

.service-card__media--placeholder {
  background: linear-gradient(160deg, #150810 0%, #2d1018 50%, #4a1525 100%);
}

.service-card__body {
  padding: 24px 22px 28px;
}

.service-card__title {
  margin: 0 0 12px;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #5c101c;
}

.service-card__desc {
  margin: 0 0 16px;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--color-text-muted);
}

.service-card__list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card__list li {
  padding: 6px 12px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #5c101c;
  background: #f4f1f2;
  border: 1px solid rgba(92, 16, 28, 0.14);
  border-radius: var(--radius-full);
}

/* ---- About ---- */
.about__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.about__content {
  display: flex;
  flex-direction: column;
  gap: 64px;
  width: 100%;
}

.about__block {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.4fr);
  column-gap: 72px;
  align-items: start;
  width: 100%;
}

.about__block + .about__block {
  padding-top: 64px;
  border-top: 1px solid rgba(92, 16, 28, 0.12);
}

.about__title,
.faq__title,
.contact__form-tag {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  padding-bottom: 24px;
  font-family: var(--font-display);
  font-style: normal;
  font-weight: 600;
  font-size: var(--display-title-size);
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-transform: uppercase;
  color: #5c101c;
  text-align: center;
  text-wrap: balance;
  border-bottom: 1px solid rgba(92, 16, 28, 0.12);
}

.about__title {
  text-align: left;
  margin-bottom: 0;
  align-self: start;
  position: sticky;
  top: calc(var(--header-height) + 28px);
  padding-top: 8px;
}

.about__copy {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.about__text {
  font-size: 1rem;
  color: var(--color-text);
  line-height: 1.85;
  margin: 0;
}

.about__text--lead {
  font-size: 1.0625rem;
}

.about__word {
  opacity: 0.22;
}

.about__word.is-in {
  opacity: 1;
  transition: opacity 0.12s linear;
}

.faq.section {
  padding-top: 72px;
}

/* ---- FAQ ---- */
.faq__inner {
  max-width: 1120px;
  margin: 0 auto;
}

.faq__shell {
  display: grid;
  grid-template-columns: minmax(220px, 0.78fr) minmax(0, 1.4fr);
  column-gap: 72px;
  row-gap: 0;
  width: 100%;
  padding: 0;
  background: none;
  border: none;
  border-radius: 0;
  box-shadow: none;
  align-items: start;
}

.faq__header {
  grid-column: 1;
  grid-row: 1 / span 2;
  text-align: left;
  padding: 8px 0 0;
  margin: 0;
  border: none;
  position: sticky;
  top: calc(var(--header-height) + 28px);
}

.faq__title {
  text-align: left;
  margin-bottom: 16px;
  padding-bottom: 16px;
}

.faq__subtitle {
  margin: 0;
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #5c101c;
}

.faq__desc {
  max-width: 34ch;
  margin: 16px 0 0;
  font-size: 1rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.faq__list {
  grid-column: 2;
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(92, 16, 28, 0.12);
}

.faq__item {
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(92, 16, 28, 0.12);
  border-radius: 0;
  box-shadow: none;
  overflow: hidden;
}

.faq__item:last-child {
  border-bottom: 1px solid rgba(92, 16, 28, 0.12);
}

.faq__question-wrap {
  margin: 0;
}

.faq__question {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  font-family: inherit;
  font-size: 1.0625rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  color: var(--color-text);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: color 0.2s ease;
}

.faq__question:hover,
.faq__item.is-open .faq__question {
  color: #5c101c;
}

.faq__index {
  flex-shrink: 0;
  width: 2em;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  font-variant-numeric: tabular-nums;
  color: rgba(92, 16, 28, 0.4);
  transition: color 0.2s ease;
}

.faq__item.is-open .faq__index {
  color: #5c101c;
}

.faq__question-text {
  flex: 1;
  min-width: 0;
}

.faq__icon {
  position: relative;
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(92, 16, 28, 0.14);
  background: rgba(92, 16, 28, 0.04);
  color: #5c101c;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.faq__item.is-open .faq__icon {
  background: #5c101c;
  border-color: #5c101c;
  color: #fff;
}

.faq__icon::before,
.faq__icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 12px;
  height: 1.5px;
  background: currentColor;
  border-radius: 999px;
  transform: translate(-50%, -50%);
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq__item.is-open .faq__icon::after {
  transform: translate(-50%, -50%) rotate(90deg) scaleX(0);
  opacity: 0;
}

.faq__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.faq__item.is-open .faq__answer {
  grid-template-rows: 1fr;
}

.faq__answer[hidden] {
  display: none;
}

.faq__item.is-open .faq__answer[hidden] {
  display: grid;
}

.faq__answer-inner {
  overflow: hidden;
}

.faq__answer-inner p {
  margin: 0;
  padding: 0 0 22px 3.15em;
  font-size: 0.96875rem;
  line-height: 1.8;
  color: var(--color-text-muted);
}

.faq__cta {
  grid-column: 2;
  margin: 0;
  padding-top: 24px;
  text-align: left;
  font-size: 0.96875rem;
  color: var(--color-text-muted);
  border-top: none;
}

.faq__cta a {
  margin-left: 6px;
  font-weight: 600;
  color: #5c101c;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.faq__cta a:hover {
  color: #7A1526;
}

@media (prefers-reduced-motion: reduce) {
  .faq__answer {
    transition: none;
  }

  .faq__icon::before,
  .faq__icon::after {
    transition: none;
  }
}

/* ---- Contact + footer close ---- */
.site-end {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #150810 0%, #2d1018 50%, #4a1525 100%);
  color: #fff;
}

.site-end::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: min(520px, 80vw);
  height: min(520px, 80vw);
  border-radius: 50%;
  background: rgba(155, 27, 48, 0.25);
  filter: blur(80px);
  bottom: -80px;
  right: -120px;
  pointer-events: none;
  animation: site-end-glow 32s ease-in-out infinite;
}

@keyframes site-end-glow {
  0% {
    transform: translate(0, 0) scale(1);
  }
  40% {
    transform: translate(-14%, -10%) scale(1.08);
  }
  70% {
    transform: translate(8%, -16%) scale(0.96);
  }
  100% {
    transform: translate(0, 0) scale(1);
  }
}

.contact {
  position: relative;
  z-index: 1;
  padding: 100px 0 48px;
}

.contact__wrapper {
  position: relative;
  width: 100%;
}

.contact__shell {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  border-radius: 0;
  overflow: visible;
  box-shadow: none;
  border: none;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.services__featured.reveal.is-visible {
  transition-delay: 0ms;
}

.reveal:not(.is-visible) {
  transition-delay: 0ms !important;
}

@media (max-width: 768px) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .site-bg__glow {
    display: none;
  }

  .header {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(255, 255, 255, 0.96);
  }

  .header.header--on-dark {
    background: transparent;
  }

  .header.header--on-dark.header--scrolled {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    background: rgba(21, 8, 16, 0.92);
  }

  .service-card {
    box-shadow: 0 8px 24px rgba(21, 8, 16, 0.06);
  }

  .service-card__media::after {
    background: linear-gradient(to top, rgba(21, 8, 16, 0.72) 0%, rgba(21, 8, 16, 0.18) 55%, rgba(21, 8, 16, 0.28) 100%);
  }

  .faq__shell,
  .contact__form-panel {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .lang-switch,
  .nav__list {
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .page-loader__letter {
    animation: none;
    opacity: 1;
    transform: none;
    filter: none;
  }

  .page-loader__brand-wrap {
    animation: none;
  }

  .page-loader__line {
    animation: none;
    width: min(300px, 74vw);
  }

  .page-loader {
    transition: none;
  }

  .site-end::after {
    animation: none;
  }

  .social-btn {
    transform: none;
    transition: none;
  }

  .about__word {
    opacity: 1;
    transition: none;
  }

  .hero__bg picture,
  .hero__badge,
  .hero__title,
  .hero__desc,
  .hero__actions,
  .hero__stats {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

.contact__brand {
  --contact-brand-gap: 32px;
  --contact-logo-gap: 20px;
  --contact-channels-gap: 12px;
  position: relative;
  padding: 48px 28px;
  background: none;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--contact-brand-gap);
  justify-content: center;
  overflow: visible;
}

.contact__wordmark {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--contact-logo-gap);
  width: 100%;
}

.contact__brand-logo {
  display: block;
  width: min(240px, 78%);
  height: auto;
}

.contact__wordmark-tagline {
  font-size: clamp(0.875rem, 1.5vw, 1rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact__desc {
  position: relative;
  font-size: 0.9375rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.75;
  text-align: center;
  margin: 0;
  max-width: 360px;
}

.contact__social {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: 100%;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 16px 6px 6px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  text-decoration: none;
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.social-btn__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(155, 27, 48, 0.38);
}

.social-btn img {
  display: block;
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.social-btn__label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.social-btn:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.social-btn:focus-visible {
  outline: 2px solid rgba(232, 160, 176, 0.75);
  outline-offset: 3px;
}

.contact__channels {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--contact-channels-gap);
  width: 100%;
  padding: 8px 12px;
  box-sizing: border-box;
  overflow: visible;
}

.contact__channel {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  transform-origin: center;
  transition: transform var(--transition);
  text-decoration: none;
  color: inherit;
  cursor: default;
}

.contact__channel:hover {
  transform: scale(1.03);
}

.contact__channel-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: rgba(155, 27, 48, 0.25);
  color: #E8A0B0;
  border-radius: 10px;
  flex-shrink: 0;
}

.contact__channel-icon img,
.contact__channel-icon svg {
  display: block;
  width: 18px;
  height: 18px;
}

.contact__channel-icon img {
  filter: brightness(0) saturate(100%) invert(84%) sepia(10%) saturate(900%) hue-rotate(290deg) brightness(103%) contrast(92%);
}

.contact__channel-icon svg {
  color: #E8A0B0;
}

.contact__channel-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.contact__channel-text strong {
  font-size: 0.6875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.45);
}

.contact__channel-text span {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
}

.contact__hours {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.contact__channel-text .contact__hours-time {
  color: rgba(255, 255, 255, 0.72);
}

.contact__form-panel {
  padding: 48px 44px;
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact__form-header {
  text-align: center;
  margin-bottom: 20px;
}

.contact__form-tag {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.14);
}

.contact__form-title {
  margin: 0;
  font-size: clamp(0.875rem, 1.6vw, 1rem);
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  text-align: center;
}

.contact__form-subtitle {
  max-width: 560px;
  margin: 20px auto 0;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.62);
  text-align: center;
}

.contact__form {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  color-scheme: dark;
}

.contact__gotcha {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact__submit-wrap {
  margin-top: 18px;
  padding: 0;
  border: none;
  background: none;
}

.contact__submit {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  cursor: pointer;
  overflow: visible;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: none;
  color: #fff;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.contact__submit-content {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  min-height: 56px;
  padding: 16px 24px;
  box-sizing: border-box;
}

.contact__submit-label {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 6.75em;
  min-height: 1.35em;
}

.contact__submit-text {
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: #fff;
  text-align: center;
  line-height: 1.35;
  opacity: 1;
  transition: opacity 0.35s ease;
}

.contact__submit-text.is-fading {
  opacity: 0;
}

.contact__submit-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 0;
  background: none;
  border: none;
  color: #fff;
  flex-shrink: 0;
}

.contact__submit-arrow,
.contact__submit-check {
  transition:
    opacity 0.36s ease,
    transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact__submit-check {
  position: absolute;
  opacity: 0;
  transform: scale(0.45) rotate(-12deg);
}

.contact__submit:hover {
  background: rgba(255, 255, 255, 0.11);
  border-color: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
}

.contact__submit:hover .contact__submit-icon {
  background: none;
}

.contact__submit:active {
  background: rgba(255, 255, 255, 0.08);
}

.contact__submit:focus-visible {
  outline: 2px solid rgba(232, 160, 176, 0.75);
  outline-offset: 3px;
  box-shadow: none;
}

.contact__submit:disabled {
  cursor: not-allowed;
  transform: none;
}

/* İleri: ok çıkar → tik gelir */
.contact__submit--success:not(.contact__submit--leaving) .contact__submit-arrow {
  opacity: 0;
  transform: translateX(8px) scale(0.5);
  transition-delay: 0s, 0s;
}

.contact__submit--success:not(.contact__submit--leaving) .contact__submit-check {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.14s, 0.14s;
}

.contact__submit--success:not(.contact__submit--leaving) .contact__submit-icon {
  background: none;
  transform: none;
}

/* Geri: tik çıkar → ok gelir (aynı zamanlama) */
.contact__submit--success.contact__submit--leaving .contact__submit-check {
  opacity: 0;
  transform: scale(0.45) rotate(10deg);
  transition-delay: 0s, 0s;
}

.contact__submit--success.contact__submit--leaving .contact__submit-arrow {
  opacity: 1;
  transform: none;
  transition-delay: 0.14s, 0.14s;
}

.contact__submit--success.contact__submit--leaving .contact__submit-icon {
  background: none;
  transform: none;
}

/* Her iki yönde aynı pop efekti */
.contact__submit--pulse .contact__submit-icon {
  animation: contact-submit-glow 0.55s ease;
}

.contact__submit--success:hover,
.contact__submit--leaving:hover {
  transform: none;
}

.contact__submit--success:hover .contact__submit-icon,
.contact__submit--leaving:hover .contact__submit-icon {
  transform: none;
}

@keyframes contact-submit-glow {
  0% { opacity: 0.7; }
  50% { opacity: 1; }
  100% { opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .contact__submit-text,
  .contact__submit-arrow,
  .contact__submit-check,
  .contact__submit-icon {
    transition: none;
  }

  .contact__submit--pulse .contact__submit-icon {
    animation: none;
  }
}

.contact .form-group input,
.contact .form-group select,
.contact .form-group textarea {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1.5px solid rgba(255, 255, 255, 0.16);
  border-radius: 10px;
  padding: 13px 16px;
  resize: none;
  transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
}

.contact .form-group input::placeholder,
.contact .form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.42);
}

.contact .form-group select {
  color: #fff;
}

.contact .form-group select option {
  color: #1a0f12;
  background: #fff;
}

.contact .form-group input:focus,
.contact .form-group select:focus,
.contact .form-group textarea:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(232, 160, 176, 0.7);
  box-shadow: 0 0 0 4px rgba(155, 27, 48, 0.28);
}

.contact .form-group label {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 20px;
}

.contact .form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-bottom: 12px;
}

.contact .form-group__top {
  margin-bottom: 0;
}

.contact .form-row {
  gap: 12px;
  margin-bottom: 12px;
  align-items: start;
}

.contact .form-row .form-group {
  margin-bottom: 0;
}

.form-group__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.form-group__top label {
  margin-bottom: 0;
}

.form-group__counter {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-light);
  flex-shrink: 0;
}

.contact .form-group__counter {
  color: rgba(255, 255, 255, 0.42);
}

.contact .form-group__counter.is-limit {
  color: #E8A0B0;
}

.form-group__counter.is-limit {
  color: var(--color-primary);
  font-weight: 600;
}

.form-group label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--color-text);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  color: var(--color-text);
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(155, 27, 48, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.contact .form-group__error {
  margin-top: 0;
  min-height: 1.25em;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  color: #E8A0B0;
}

.form-group__error {
  margin-top: 4px;
  min-height: 1.25em;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.25;
  color: var(--color-primary);
}

/* hidden olsa bile tek satır yer kaplasın — form yüksekliği zıplamasın */
.form-group__error[hidden] {
  display: block !important;
  visibility: hidden;
}

.form-group input.is-invalid,
.form-group select.is-invalid,
.form-group textarea.is-invalid {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(155, 27, 48, 0.12);
}

.form-group input.is-invalid:focus,
.form-group select.is-invalid:focus,
.form-group textarea.is-invalid:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(155, 27, 48, 0.18);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* ---- Footer ---- */
.footer {
  position: relative;
  z-index: 1;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  padding: 0 0 40px;
  border-top: none;
}

.footer__inner {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 32px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer__links {
  display: flex;
  gap: 48px;
}

.footer__col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.footer__col ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}

.footer__col a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.62);
  transition: color var(--transition);
}

.footer__col a:hover {
  color: #fff;
}

.footer__copy {
  margin: 0;
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.4);
  white-space: nowrap;
}

/* ---- Responsive ---- */
@media (min-width: 900px) {
  .header__cta {
    display: inline-flex;
  }
}

@media (max-width: 1024px) {
  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .about__content {
    gap: 40px;
  }

  .about__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .about__block + .about__block {
    padding-top: 40px;
  }

  .about__title,
  .faq__title,
  .contact__form-tag {
    margin-bottom: 20px;
    padding-bottom: 20px;
    letter-spacing: 0.06em;
  }

  .about__title {
    margin-bottom: 0;
    text-align: center;
    position: static;
    padding-top: 0;
  }

  .about__copy {
    width: 100%;
    max-width: 640px;
  }

  .faq__shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    padding: 0;
  }

  .faq__header {
    position: static;
    grid-row: auto;
    width: 100%;
    max-width: 640px;
    text-align: center;
    padding: 0 0 8px;
  }

  .faq__title {
    text-align: center;
  }

  .faq__desc {
    margin: 16px auto 0;
    max-width: 42ch;
  }

  .faq__list,
  .faq__cta {
    grid-column: auto;
    width: 100%;
    max-width: 640px;
  }

  .faq__cta {
    text-align: center;
  }

  .faq__subtitle {
    letter-spacing: 0.12em;
  }

  .contact__form-title {
    letter-spacing: 0.12em;
  }

  .faq__desc {
    margin-top: 16px;
  }

  .faq__cta {
    padding-top: 22px;
  }

  .faq__question {
    padding: 18px 0;
    font-size: 0.96875rem;
  }

  .faq__answer-inner p {
    padding: 0 0 18px 3.15em;
  }

  .contact__shell {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .contact__brand {
    padding: 36px 28px;
  }

  .contact__form-panel {
    padding: 36px 28px;
  }

  .footer__inner {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    text-align: center;
  }

  .footer__links {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .footer__col ul {
    justify-content: center;
  }
}

@media (orientation: landscape) and (max-height: 540px) {
  .about__content,
  .faq__shell {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .about__block {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 100%;
    max-width: 640px;
  }

  .about__block + .about__block {
    padding-top: 24px;
  }

  .about__title {
    text-align: center;
    position: static;
    padding-top: 0;
  }

  .about__copy {
    width: 100%;
    max-width: 640px;
  }

  .faq.section {
    padding-top: 40px;
    padding-bottom: 48px;
  }

  .faq__header {
    position: static;
    width: 100%;
    max-width: 640px;
    text-align: center;
  }

  .faq__title {
    text-align: center;
  }

  .faq__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .faq__list,
  .faq__cta {
    grid-column: auto;
    width: 100%;
    max-width: 640px;
  }

  .faq__cta {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .header.header--on-dark .nav {
    background: rgba(21, 8, 16, 0.96);
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }

  .header.header--on-dark .nav__list {
    background: transparent;
    border: none;
    padding: 0;
  }

  .header.header--on-dark .nav__link {
    color: rgba(255, 255, 255, 0.88);
  }

  .header.header--on-dark .nav__link:hover,
  .header.header--on-dark .nav__link.is-active {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    padding: 24px;
    transform: translateY(-120%);
    opacity: 0;
    transition: all var(--transition);
    pointer-events: none;
  }

  .nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav__list {
    flex-direction: column;
    gap: 8px;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 0;
    backdrop-filter: none;
  }

  .nav__link {
    padding: 12px 16px;
    border-radius: var(--radius-md);
  }

  .nav__link:hover,
  .nav__link.is-active {
    background: rgba(155, 27, 48, 0.08);
    box-shadow: none;
  }

  .menu-toggle {
    display: flex;
  }

  .services__featured {
    display: none;
  }

  .services__mobile {
    display: block;
  }

  .services.section {
    padding-top: 64px;
    padding-bottom: 0;
  }

  .faq.section {
    padding-top: 56px;
  }

  .services__mobile-header {
    margin-bottom: 32px;
    text-align: center;
  }

  .services__mobile-header .section__tag {
    color: #5c101c;
    background: #f4f1f2;
    border-color: rgba(92, 16, 28, 0.14);
  }

  .service-card {
    background: #ffffff;
    border-color: rgba(92, 16, 28, 0.1);
  }

  .service-card__body {
    padding: 20px 18px 24px;
    text-align: center;
  }

  .service-card__list {
    justify-content: center;
  }

  .service-showcase--featured {
    aspect-ratio: unset;
    min-height: auto;
    padding: 48px 0 56px;
  }

  .service-showcase--bg .service-showcase__inner {
    padding-left: 16px;
    padding-right: 16px;
  }

  .service-showcase--bg .services__header {
    margin-bottom: 20px;
  }

  .service-showcase--bg .services__header .section__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
  }

  .service-showcase--bg .services__featured-tabs {
    flex-wrap: wrap;
    justify-content: center;
    overflow-x: visible;
    gap: 8px;
    margin-bottom: 18px;
  }

  .service-showcase--bg .services__featured-tab {
    padding: 8px 14px;
    font-size: 0.8125rem;
  }

  .service-showcase--bg .service-showcase__content {
    padding: 22px 18px;
  }

  .service-showcase__title {
    font-size: 1.25rem;
    margin-bottom: 12px;
  }

  .service-showcase__desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 18px;
  }

  .service-showcase__list {
    gap: 8px;
  }

  .service-showcase__list li {
    font-size: 0.75rem;
    padding: 6px 12px;
  }

  .hero .stat {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .contact__form-panel {
    padding: 28px 20px;
  }

  .contact__brand {
    padding: 28px 20px;
  }

  .contact__social {
    flex-direction: column;
    align-items: stretch;
    max-width: 280px;
    margin-inline: auto;
  }

  .social-btn {
    width: 100%;
  }

  .hero__stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero__bg img {
    object-position: center 38%;
    transform: scale(1.2);
  }

  .hero__overlay {
    background:
      linear-gradient(to bottom, rgba(21, 8, 16, 0.72) 0%, rgba(21, 8, 16, 0.48) 40%, rgba(21, 8, 16, 0.84) 100%),
      radial-gradient(ellipse 100% 80% at 50% 36%, rgba(21, 8, 16, 0.82) 0%, transparent 68%);
  }

}
