:root {
  --primary-color: #7c815d;
  --primary-color-rgb: 124, 129, 93;
  --secondary-color: #a39c72;
  --secondary-color-rgb: 163, 156, 114;
  --heading-font-color: #242422;
  --body-font-color: #505050;
  --body-font: "Poppins", Helvetica, Arial, sans-serif;
  --heading-font: "Poppins", Helvetica, Arial, sans-serif;
  --bg-light: #f5f5f0;
  --bg-grey: #eeeeee;
  --bg-dark-1: #2e473d;
  --bg-dark-1-rgb: 46, 71, 61;
  --bg-dark-2: #24372f;
  --bg-dark-3: #1b2a24;
  --container-max-width: 1240px;
  --radius: 18px;
  --radius-sm: 10px;
  --rounded-1: var(--radius);
  --btn-rounded: var(--radius-sm);
  --header-h: 88px;
}

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

html { scroll-behavior: auto; }

body {
  margin: 0;
  font-family: var(--body-font);
  font-size: 15.5px;
  font-weight: 300;
  line-height: 30px;
  color: var(--body-font-color);
  background: #fff;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5 { font-family: var(--heading-font); color: var(--heading-font-color); margin: 0 0 16px; }
h1 { font-size: clamp(36px, 5vw, 64px); line-height: 1.1; letter-spacing: -0.025em; font-weight: 700; }
h2 { font-size: clamp(28px, 3.4vw, 45px); line-height: 1.125; letter-spacing: -0.025em; font-weight: 700; margin-bottom: 25px; }
h3 { font-size: 26px; line-height: 1.5; font-weight: 600; }
p { margin: 0 0 18px; }
.container { width: min(calc(100% - 40px), var(--container-max-width)); margin-inline: auto; }

.kicker {
  color: var(--primary-color);
  font-size: 0.75em;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.accent { color: var(--primary-color); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 30px;
  border-radius: 18px;
  font-family: var(--body-font);
  font-size: 16px;
  font-weight: 700;
  border: 0;
  cursor: pointer;
  transition: 0.25s ease;
  line-height: 1.5;
  position: relative;
}

.fx-slide {
  overflow: hidden;
  vertical-align: middle;
}
.fx-slide span {
  display: inline-block;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.fx-slide::after {
  content: attr(data-hover);
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(160%);
  text-align: center;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}
.fx-slide:hover span { transform: translateY(-160%); }
.fx-slide:hover::after { transform: translateY(-50%); }

.btn-primary {
  background: var(--primary-color);
  color: #fff;
}
.btn-primary:hover { background: #6a6f4f; color: #fff; }

.btn-line {
  background: transparent;
  color: var(--heading-font-color);
  border: 1px solid rgba(30, 30, 30, 0.25);
}
.btn-line:hover { border-color: var(--primary-color); color: var(--primary-color); }

.btn-white { background: #fff; color: var(--heading-font-color); }
.btn-white:hover { background: var(--bg-light); }
.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 18px 8px 14px;
  font-size: 14px;
  border-radius: 18px;
}
.header-cta .cta-icon {
  display: inline-flex;
  flex: 0 0 auto;
  width: 15px;
  height: 15px;
  position: relative;
  z-index: 2;
  transform: none !important;
}
.header-cta .cta-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}
.header-cta.fx-slide::after {
  left: 30px;
  text-align: left;
  padding-right: 14px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 12px 0 0;
  background: transparent;
  height: var(--header-h);
}
.header-bar {
  display: grid;
  grid-template-columns: 158px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 8px 20px 8px 28px;
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  border: 1px solid rgba(36, 36, 34, 0.06);
  border-radius: 18px;
  box-shadow: 0 10px 36px rgba(46, 71, 61, 0.07);
  transition: box-shadow 0.25s, background 0.25s;
}
.site-header.is-scrolled .header-bar {
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 14px 40px rgba(46, 71, 61, 0.12);
}

.logo { display: flex; align-items: center; }
.logo img { width: 131px; height: auto; display: block; }
.site-header .logo {
  position: relative;
  overflow: hidden;
  perspective: 640px;
}
.site-header .logo img {
  display: block;
  position: relative;
  z-index: 0;
  transform-origin: center center;
  transform-style: preserve-3d;
  backface-visibility: visible;
  animation: logo-3d-turn 15s cubic-bezier(0.45, 0.05, 0.2, 1) infinite;
  will-change: transform;
}
.site-header .logo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    105deg,
    transparent 0%,
    transparent 38%,
    rgba(255, 255, 255, 0.15) 45%,
    rgba(255, 255, 255, 0.95) 50%,
    rgba(255, 248, 220, 0.75) 54%,
    transparent 62%,
    transparent 100%
  );
  background-size: 220% 100%;
  background-position: 120% 0;
  -webkit-mask-image: url("/assets/img/logo.png");
  mask-image: url("/assets/img/logo.png");
  -webkit-mask-size: 131px auto;
  mask-size: 131px auto;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: left center;
  mask-position: left center;
  animation: logo-light-pass 18s ease-in-out infinite;
}
@keyframes logo-3d-turn {
  0%, 8% { transform: rotateY(0deg); }
  22% { transform: rotateY(360deg); }
  22.01%, 100% { transform: rotateY(360deg); }
}
@keyframes logo-light-pass {
  0%, 8% { background-position: 120% 0; opacity: 0; }
  12% { opacity: 1; }
  55% { background-position: -40% 0; opacity: 1; }
  62%, 100% { background-position: -40% 0; opacity: 0; }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.header-mail {
  font-size: 13px;
  font-weight: 600;
  color: var(--body-font-color);
  white-space: nowrap;
}
.header-mail:hover { color: var(--primary-color); }
/* Katalog = same pill CTA as Teklif Alın; kept visible on narrow screens */

.nav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: 0;
}
.nav-list > li { position: relative; flex: 0 0 auto; }
.nav-list > li > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--heading-font-color);
  white-space: nowrap;
  border-radius: 18px;
  position: relative;
  transition: color 0.2s, background 0.2s;
}
.nav-list > li > a::after {
  content: "";
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 5px;
  height: 1.5px;
  background: var(--primary-color);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.22s ease;
}
.nav-list > li.active > a,
.nav-list > li > a:hover { color: var(--primary-color); background: rgba(var(--primary-color-rgb), 0.08); }
.nav-list > li.active > a::after,
.nav-list > li > a:hover::after { transform: scaleX(1); }

.caret {
  width: 6px;
  height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  opacity: 0.7;
}

.sub {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translate(-50%, 8px);
  min-width: 248px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(36, 36, 34, 0.06);
  border-radius: 18px;
  padding: 10px;
  box-shadow: 0 22px 50px rgba(36, 36, 34, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: 0.2s;
}
.has-sub:hover .sub { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.sub a {
  display: block;
  padding: 9px 14px;
  font-size: 13.5px;
  font-weight: 500;
  border-radius: 18px;
}
.sub a:hover { color: var(--primary-color); background: rgba(var(--primary-color-rgb), 0.08); }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 18px;
  background: rgba(var(--primary-color-rgb), 0.1);
  padding: 11px;
}
.nav-toggle span {
  display: block;
  height: 1.5px;
  background: var(--heading-font-color);
  margin: 5px 0;
  border-radius: 18px;
}

/* Hero */
.hero {
  padding: 0 0 40px;
}
.hero-visual {
  position: relative;
  min-height: min(88vh, 860px);
  width: 100%;
  overflow: hidden;
  background: #1b2a24;
}
.hero-bg {
  position: absolute;
  inset: -20% 0;
  background: #1b2a24 center/cover no-repeat;
  will-change: transform;
}
.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 245, 240, 0.92) 0%, rgba(245, 245, 240, 0.55) 48%, rgba(245, 245, 240, 0.08) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  min-height: inherit;
  display: flex;
  align-items: center;
}
.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 820px;
  padding: 110px 0 160px;
}
.hero-copy h1 {
  margin-bottom: 20px;
  font-size: clamp(28px, 4.2vw, 52px);
  white-space: nowrap;
}
.hero-copy .lead { font-size: 16px; max-width: 520px; }

.quote-card {
  position: absolute;
  right: max(24px, calc((100vw - var(--container-max-width)) / 2));
  bottom: 48px;
  z-index: 3;
  width: min(380px, calc(100% - 48px));
  background: #fff;
  border-radius: 18px;
  padding: 28px 28px 22px;
  box-shadow: 0 20px 50px rgba(36, 36, 34, 0.1);
}
.quote-mark {
  width: 42px;
  height: 42px;
  border-radius: 18px;
  background: var(--primary-color);
  color: #fff;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
}
.quote-card p { font-weight: 400; color: var(--heading-font-color); }
.quote-card cite { font-style: normal; font-weight: 600; font-size: 14px; color: var(--heading-font-color); }

.stats-bar {
  position: relative;
  z-index: 4;
  width: min(calc(100% - 40px), var(--container-max-width));
  margin: -64px auto 0;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 22px 56px rgba(36, 36, 34, 0.1);
  padding: 36px 20px 32px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  width: 100%;
}
.stat {
  text-align: center;
  border-right: 1px solid rgba(36, 36, 34, 0.08);
  padding: 0 10px;
}
.stat:last-child { border-right: 0; }
.stat strong {
  font-size: clamp(34px, 4vw, 48px);
  line-height: 1;
  font-weight: 700;
  color: var(--heading-font-color);
}
.stat > span {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 700;
  color: var(--primary-color);
  margin-left: 2px;
}
.stat p {
  margin: 10px 0 0;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--body-font-color);
}

.ticker {
  overflow: hidden;
  background: var(--bg-dark-1);
  color: #fff;
  padding: 16px 0;
  margin-top: 40px;
}
.ticker-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: ticker 38s linear infinite;
}
.ticker span {
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 13px;
  white-space: nowrap;
}
.ticker span::before {
  content: "✦ ";
  color: var(--secondary-color);
}
@keyframes ticker { to { transform: translateX(-50%); } }

#hizmetler,
#cozumler,
section[id] { scroll-margin-top: calc(var(--header-h) + 16px); }

/* Sections */
.section { padding: 90px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 50px; }
.section-head.left { text-align: left; margin-left: 0; }

.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-light);
  border-radius: 18px;
  padding: 36px 32px;
  transition: 0.25s;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(46, 71, 61, 0.08); }
.card-ico {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(var(--primary-color-rgb), 0.12);
  color: var(--primary-color);
  display: grid;
  place-items: center;
  margin-bottom: 22px;
}
.ico { width: 26px; height: 26px; }
.card h3 { font-size: 22px; }

/* Inner pages — uygulama / ilgili alanlar denser */
.section-uygulama { padding: 52px 0 60px; }
.section-uygulama .section-head { margin-bottom: 28px; }
.section-uygulama .section-head .kicker { margin-bottom: 10px; }
.section-uygulama .cards-3 { gap: 14px; }
.section-uygulama .card { padding: 22px 20px; border-radius: 18px; }
.section-uygulama .card-ico {
  width: 46px;
  height: 46px;
  border-radius: 18px;
  margin-bottom: 14px;
}
.section-uygulama .card-ico .ico { width: 22px; height: 22px; }
.section-uygulama .card h3 { font-size: 18px; margin-bottom: 6px; }
.section-uygulama .card p { font-size: 14px; margin-bottom: 8px; }
.section-uygulama .more { margin-top: 4px; font-size: 14px; }
.more {
  display: inline-block;
  margin-top: 8px;
  font-weight: 600;
  color: var(--primary-color);
}

/* Homepage — sektörel çözümler mosaic */
.section-cozumler {
  padding: 64px 0 72px;
  background:
    radial-gradient(ellipse 70% 50% at 10% 0%, rgba(var(--primary-color-rgb), 0.08), transparent 55%),
    linear-gradient(180deg, #f0efe8 0%, var(--bg-light) 100%);
}
.sol-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}
.sol-head .kicker { margin-bottom: 10px; }
.sol-head h2 {
  margin: 0;
  font-size: clamp(26px, 3.2vw, 36px);
  max-width: 14ch;
  line-height: 1.15;
}
.sol-mosaic {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(112px, 14vw);
  gap: 10px;
}
.sol-tile {
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  border-radius: 18px;
  min-height: 112px;
  color: #fff;
  text-decoration: none;
  isolation: isolate;
}
.sol-tile--lg { grid-column: span 3; grid-row: span 2; }
.sol-tile--md { grid-column: span 3; grid-row: span 2; }
.sol-tile:not(.sol-tile--lg):not(.sol-tile--md) { grid-column: span 2; }
.sol-tile-bg {
  position: absolute;
  inset: 0;
  background: var(--sol-img) center / cover no-repeat;
  transform: scale(1.04);
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: -2;
}
.sol-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 25%, rgba(27, 42, 36, 0.78) 100%);
  z-index: -1;
  transition: background 0.35s ease;
}
.sol-tile-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 16px 18px;
}
.sol-tile-name {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  line-height: 1.25;
}
.sol-tile--lg .sol-tile-name,
.sol-tile--md .sol-tile-name { font-size: 22px; }
.sol-tile-go {
  flex: 0 0 auto;
  width: 32px;
  height: 32px;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: grid;
  place-items: center;
  font-size: 14px;
  transition: transform 0.35s ease, background 0.35s ease, border-color 0.35s ease;
}
.sol-tile:hover .sol-tile-bg { transform: scale(1.12); }
.sol-tile:hover::after {
  background: linear-gradient(180deg, transparent 10%, rgba(46, 71, 61, 0.88) 100%);
}
.sol-tile:hover .sol-tile-go {
  background: #fff;
  color: var(--bg-dark-1);
  border-color: #fff;
  transform: translateX(3px);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
.media-round {
  border-radius: 18px;
  overflow: hidden;
  min-height: 460px;
  background: #ddd center/cover no-repeat;
}

.steps { display: grid; gap: 22px; margin-top: 28px; }
.step { display: grid; grid-template-columns: 48px 1fr; gap: 16px; }
.step-n {
  width: 48px;
  height: 48px;
  border-radius: 18px;
  background: var(--primary-color);
  color: #fff;
  font-weight: 700;
  display: grid;
  place-items: center;
}
.step h3 { font-size: 18px; margin-bottom: 4px; }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.why {
  background: #fff;
  border: 1px solid rgba(30, 30, 30, 0.06);
  border-radius: 18px;
  padding: 28px 22px;
}
.why h3 { font-size: 18px; }

.bg-soft { background: var(--bg-light); }
.bg-dark {
  background: var(--bg-dark-1);
  color: rgba(255, 255, 255, 0.8);
}
.bg-dark h2, .bg-dark h3 { color: #fff; }
.bg-dark .kicker { color: var(--secondary-color); }

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.project {
  border-radius: 18px;
  overflow: hidden;
  min-height: 280px;
  background: #24372f center/cover no-repeat;
  position: relative;
  display: flex;
  align-items: flex-end;
}
.project::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 30%, rgba(27, 42, 36, 0.78));
}
.project span {
  position: relative;
  z-index: 1;
  color: #fff;
  font-weight: 600;
  padding: 24px;
}

.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-track {
  display: flex;
  gap: 48px;
  align-items: center;
  width: max-content;
  animation: slide 40s linear infinite;
}
.logo-track img {
  height: 42px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(1);
  opacity: 0.7;
}
@keyframes slide { to { transform: translateX(-50%); } }

.faq-item {
  background: #fff;
  border-radius: 18px;
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-item button {
  width: 100%;
  text-align: left;
  background: none;
  border: 0;
  padding: 20px 24px;
  font: 600 16px/1.5 var(--heading-font);
  color: var(--heading-font-color);
  cursor: pointer;
}
.faq-item .ans { display: none; padding: 0 24px 20px; }
.faq-item.is-open .ans { display: block; }

.page-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 56px 0;
  overflow: hidden;
}
.page-hero-bg {
  position: absolute;
  inset: -16% 0;
  background: var(--hero) center/cover no-repeat;
  will-change: transform;
}
.page-hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(245, 245, 240, 0.94), rgba(245, 245, 240, 0.55) 70%, rgba(245, 245, 240, 0.15));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { max-width: 720px; }

.rich { max-width: 820px; }
.rich ul { margin: 0 0 20px 18px; list-style: disc; }
.rich li { margin-bottom: 8px; }

.ref-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ref-card {
  background: var(--bg-light);
  border-radius: 18px;
  padding: 0 0 22px;
  overflow: hidden;
}
.ref-card h3 { font-size: 18px; padding: 18px 22px 0; }
.ref-card p { padding: 0 22px; }
.ref-photos { margin-bottom: 4px; }
.ref-cover {
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: #ddd;
  cursor: zoom-in;
}
.ref-cover img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}
.ref-thumbs {
  display: flex;
  gap: 6px;
  padding: 8px 10px 0;
  overflow-x: auto;
}
.ref-thumb {
  flex: 0 0 52px;
  width: 52px;
  height: 40px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
  cursor: pointer;
}
.ref-thumb.is-active { border-color: var(--primary-color); }
.ref-thumb img { width: 100%; height: 100%; object-fit: cover; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  background: rgba(27, 42, 36, 0.92);
  display: grid;
  place-items: center;
  padding: 48px 72px 72px;
}
.lightbox[hidden] { display: none; }
.lightbox img {
  max-width: min(1100px, 100%);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 18px;
}
.lightbox-cap {
  position: absolute;
  bottom: 22px;
  left: 0;
  right: 0;
  text-align: center;
  color: #fff;
  font-weight: 600;
  margin: 0;
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  font-size: 28px;
  cursor: pointer;
}
.lightbox-close { top: 18px; right: 18px; }
.lightbox-prev { left: 16px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 16px; top: 50%; transform: translateY(-50%); }

.form {
  display: grid;
  gap: 16px;
  background: #fff;
  border-radius: 18px;
  padding: 36px;
  box-shadow: 0 16px 40px rgba(36, 36, 34, 0.06);
  position: relative;
}
.form label { font-weight: 600; font-size: 14px; color: var(--heading-font-color); }
.form input,
.form textarea {
  width: 100%;
  border: 1px solid #ddd;
  border-radius: 18px;
  padding: 12px 16px;
  font: 400 15px/1.5 var(--body-font);
}
.form input:focus,
.form textarea:focus {
  outline: 0;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(var(--primary-color-rgb), 0.25);
}
.form-result { font-weight: 600; }
.form-result.ok { color: var(--primary-color); }
.form-result.err { color: #b42318; }
.form-captcha input { max-width: 140px; }
.hp-field {
  position: absolute;
  left: -10000px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.values { display: flex; flex-wrap: wrap; gap: 10px; }
.values span {
  background: rgba(var(--primary-color-rgb), 0.12);
  color: var(--bg-dark-1);
  border-radius: 18px;
  padding: 8px 16px;
  font-weight: 600;
  font-size: 14px;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 18px;
  font-size: 13px;
  color: rgba(36, 36, 34, 0.55);
}
.breadcrumbs a { color: rgba(36, 36, 34, 0.7); }
.breadcrumbs a:hover { color: var(--primary-color); }
.breadcrumbs span[aria-hidden] { opacity: 0.5; }

.site-footer {
  background: var(--bg-dark-1);
  color: rgba(255, 255, 255, 0.78);
  padding: 48px 0 0;
  font-size: 14px;
  line-height: 1.5;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 1fr 1.05fr;
  gap: 28px 36px;
  align-items: start;
  padding-bottom: 28px;
}
.site-footer h2 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 14px;
}
.site-footer a:hover { color: var(--secondary-color); }
.footer-brand .logo-light img {
  width: auto;
  height: 42px;
}
.footer-brand p {
  max-width: 280px;
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.7);
}
.footer-nav ul,
.footer-contact {
  margin: 0;
  padding: 0;
  list-style: none;
}
.footer-nav li { margin-bottom: 7px; }
.footer-nav a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.78);
}
.footer-more {
  color: var(--secondary-color) !important;
  font-weight: 500;
}
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-start;
}
.footer-address {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.7);
}
.footer-contact > a:not(.btn) {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.85);
}
.footer-cta {
  margin-top: 10px;
  padding: 10px 16px;
  font-size: 13px;
}
.social { display: flex; gap: 8px; margin-top: 16px; }
.social a {
  width: 34px;
  height: 34px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  display: grid;
  place-items: center;
  font-size: 11px;
  font-weight: 700;
  color: #fff;
}
.footer-ig {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 16px 20px;
  align-items: center;
  padding: 18px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-ig-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 120px;
}
.footer-ig-meta a {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
}
.footer-ig-meta span {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}
.footer-ig-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 72px));
  gap: 8px;
  justify-content: end;
}
.footer-ig-grid a {
  display: block;
  width: 72px;
  height: 72px;
  overflow: hidden;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.06);
}
.footer-ig-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}
.footer-ig-grid a:hover img { transform: scale(1.06); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 14px 0;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.5);
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer-bottom p { margin: 0; }
.footer-tag { color: rgba(255, 255, 255, 0.4); }

.to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 46px;
  height: 46px;
  border-radius: 18px;
  border: 0;
  background: var(--primary-color);
  color: #fff;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
}
.to-top.is-visible { opacity: 1; pointer-events: auto; }

@media (max-width: 1280px) {
  .header-mail { display: none; }
  .header-cta--katalog { display: inline-flex; }
}
@media (max-width: 1200px) {
  .header-cta:not(.header-cta--katalog) { display: none; }
}

@media (max-width: 1100px) {
  .cards-3, .why-grid, .project-grid, .ref-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px 24px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-ig {
    grid-template-columns: 1fr;
    justify-items: start;
  }
  .footer-ig-grid {
    grid-template-columns: repeat(6, minmax(0, 64px));
    justify-content: start;
  }
  .footer-ig-grid a { width: 64px; height: 64px; }
  .sol-head { flex-direction: column; align-items: flex-start; }
  .sol-mosaic {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(120px, 28vw);
  }
  .sol-tile--lg,
  .sol-tile--md,
  .sol-tile:not(.sol-tile--lg):not(.sol-tile--md) {
    grid-column: span 1;
    grid-row: span 1;
  }
  .sol-tile--lg { grid-column: span 2; }
  .sol-tile--lg .sol-tile-name,
  .sol-tile--md .sol-tile-name { font-size: 18px; }
  .grid-2 { grid-template-columns: 1fr; }
}

@media (max-width: 980px) {
  .header-cta:not(.header-cta--katalog),
  .header-mail { display: none; }
  .header-cta--katalog { display: inline-flex; }
  .nav-toggle { display: block; }
  .header-bar {
    border-radius: 18px;
    grid-template-columns: 1fr auto;
    padding: 8px 18px 8px 26px;
  }
  .nav {
    position: fixed;
    inset: calc(var(--header-h) + 4px) 20px auto 20px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    padding: 16px;
    border-radius: 18px;
    border: 1px solid rgba(36, 36, 34, 0.06);
    box-shadow: 0 20px 50px rgba(36, 36, 34, 0.12);
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: 0.25s;
    max-height: calc(100vh - 110px);
    overflow: auto;
  }
  .nav.is-open { transform: none; opacity: 1; visibility: visible; }
  .nav-list { flex-direction: column; align-items: stretch; flex-wrap: wrap; }
  .nav-list > li > a { border-radius: 18px; }
  .nav-list > li > a::after { display: none; }
  .sub { position: static; box-shadow: none; display: none; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 0 10px; background: none; }
  .has-sub.is-open .sub { display: block; }
  .hero-copy { padding: 70px 0 180px; }
  .quote-card { right: 16px; left: 16px; width: auto; }
}

/* Preloader */
#de-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  background: #f5f5f0;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}
#de-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
body.is-loading { overflow: hidden; }

.lds-roller {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 40px 40px;
}
.lds-roller div::after {
  content: "";
  display: block;
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 18px;
  background: var(--primary-color);
  margin: -4px 0 0 -4px;
}
.lds-roller div:nth-child(1) { animation-delay: -0.036s; }
.lds-roller div:nth-child(1)::after { top: 63px; left: 63px; }
.lds-roller div:nth-child(2) { animation-delay: -0.072s; }
.lds-roller div:nth-child(2)::after { top: 68px; left: 56px; }
.lds-roller div:nth-child(3) { animation-delay: -0.108s; }
.lds-roller div:nth-child(3)::after { top: 71px; left: 48px; }
.lds-roller div:nth-child(4) { animation-delay: -0.144s; }
.lds-roller div:nth-child(4)::after { top: 72px; left: 40px; }
.lds-roller div:nth-child(5) { animation-delay: -0.18s; }
.lds-roller div:nth-child(5)::after { top: 71px; left: 32px; }
.lds-roller div:nth-child(6) { animation-delay: -0.216s; }
.lds-roller div:nth-child(6)::after { top: 68px; left: 24px; }
.lds-roller div:nth-child(7) { animation-delay: -0.252s; }
.lds-roller div:nth-child(7)::after { top: 63px; left: 17px; }
.lds-roller div:nth-child(8) { animation-delay: -0.288s; }
.lds-roller div:nth-child(8)::after { top: 56px; left: 12px; }
@keyframes lds-roller {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Scroll reveal — Renovast-style wow */
.wow {
  opacity: 0;
  visibility: hidden;
}
.wow.animated {
  opacity: 1;
  visibility: visible;
  animation-duration: 1.15s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: both;
}
.wow.fadeIn.animated { animation-name: fadeIn; }
.wow.fadeInRight.animated { animation-name: fadeInRight; }
.wow.fadeInLeft.animated { animation-name: fadeInLeft; }
.wow.fadeInUp.animated { animation-name: fadeInUp; }
.wow.fadeInDown.animated { animation-name: fadeInDown; }
.wow.scaleIn.animated { animation-name: scaleIn; }
.wow.rotateIn.animated { animation-name: rotateIn; }

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes fadeInRight {
  from { opacity: 0; transform: translate3d(90px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInLeft {
  from { opacity: 0; transform: translate3d(-90px, 0, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translate3d(0, 72px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes fadeInDown {
  from { opacity: 0; transform: translate3d(0, -40px, 0); }
  to { opacity: 1; transform: none; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.82); }
  to { opacity: 1; transform: none; }
}
@keyframes rotateIn {
  from { opacity: 0; transform: rotate(-12deg) scale(0.9); }
  to { opacity: 1; transform: none; }
}

/* StPageFlip catalog */
.section-catalog { padding: 56px 0 72px; }
.flipbook {
  --fb-bg: #15241f;
  max-width: 100%;
  margin: 0 auto;
}
.fb-toolbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 16px;
}
.fb-toolbar button {
  width: 44px;
  height: 44px;
  border-radius: 18px;
  border: 1px solid rgba(36, 36, 34, 0.16);
  background: #fff;
  color: var(--heading-font-color);
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: 0.2s ease;
}
.fb-toolbar button:hover:not(:disabled) {
  border-color: var(--primary-color);
  color: var(--primary-color);
}
.fb-toolbar button:disabled { opacity: 0.35; cursor: default; }
.fb-label {
  min-width: 90px;
  text-align: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--body-font-color);
}
.fb-stage {
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(255,255,255,0.07), transparent 70%),
    var(--fb-bg);
  border-radius: 18px;
  padding: 24px 16px 32px;
  box-shadow: 0 28px 70px rgba(21, 36, 31, 0.45);
  display: flex;
  justify-content: center;
  overflow: hidden;
  width: 100%;
}
.fb-book {
  margin: 0 auto;
  width: 100%;
}
.fb-book .stf__parent,
.fb-book .stf__wrapper {
  margin: 0 auto;
}
.fb-book canvas,
.fb-book img {
  max-width: none;
}
.fb-thumbs {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 16px 4px 4px;
  scrollbar-width: thin;
}
.fb-thumbs button {
  flex: 0 0 auto;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 18px;
  background: none;
  cursor: pointer;
  opacity: 0.65;
  transition: 0.2s ease;
}
.fb-thumbs button.is-active,
.fb-thumbs button:hover {
  opacity: 1;
  border-color: var(--primary-color);
}
.fb-thumbs img {
  display: block;
  width: 72px;
  height: 40px;
  object-fit: cover;
  border-radius: 18px;
  background: #ddd;
}
.fb-hint {
  margin: 14px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--body-font-color);
  opacity: 0.75;
}
.flipbook--compact .fb-stage { padding: 18px 12px 24px; }

.section-map { padding: 0 0 72px; }
.map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(36, 36, 34, 0.08);
  box-shadow: 0 18px 48px rgba(46, 71, 61, 0.1);
  background: #e8e8e4;
  min-height: 380px;
}
.map-frame iframe {
  display: block;
  width: 100%;
  height: 420px;
  border: 0;
}
.map-directions {
  position: absolute;
  right: 18px;
  bottom: 18px;
  z-index: 2;
  box-shadow: 0 10px 28px rgba(36, 36, 34, 0.22);
}

@media (max-width: 780px) {
  .fb-stage { padding: 16px 12px 22px; }
  .fb-hint { display: none; }
  .flipbook { max-width: 100%; }
}

@media (max-width: 700px) {
  .cards-3, .why-grid, .project-grid, .ref-grid, .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-ig-grid {
    grid-template-columns: repeat(3, minmax(0, 72px));
  }
  .footer-bottom .container { flex-direction: column; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(36, 36, 34, 0.08); padding: 16px 8px; }
  .stat:nth-child(n+3) { border-bottom: 0; }
  .header-inner { grid-template-columns: 1fr auto; }
  .hero-copy h1 { white-space: normal; }
}

/* Radius: büyük yüzeyler 18px, kısa kontroller 10px (görsel eşitlik)
   Kısa butonda 18px ≈ hap; kartta 18px hafif köşe — bu yüzden iki kademe */
:where(
  .header-bar,
  .sub,
  .nav,
  .card,
  .media-round,
  .quote-card,
  .form,
  .form input,
  .form textarea,
  .page-hero-bg,
  .sol-tile,
  .sol-mosaic,
  .project-card,
  .ref-card,
  .fb-stage,
  .map-frame,
  .footer-ig-grid a,
  .values span,
  .why-item,
  .stat,
  .step
) {
  border-radius: var(--radius) !important;
}
:where(
  .btn,
  .header-cta,
  .nav-list > li > a,
  .sub a,
  .nav-toggle,
  .card-ico,
  .social a,
  .fb-toolbar button,
  .fb-thumbs button,
  .fb-thumbs img,
  .to-top,
  .lightbox button,
  .form-captcha input
) {
  border-radius: var(--radius-sm) !important;
}
