﻿:root {
  --bg: #efefef;
  --panel: #e7e7e7;
  --panel-soft: #ececec;
  --text: #080808;
  --muted: #8f9194;
  --line: #dedede;
  --white: #f8f8f8;
  --radius-xl: 26px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --site: 1320px;
  --ease: 320ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", "Segoe UI", sans-serif;
  line-height: 1.45;
}

body.is-loading {
  overflow: hidden;
}

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 3200;
  background: linear-gradient(180deg, #efefef 0%, #ece8df 100%);
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity 420ms ease, visibility 0ms linear 420ms;
}

.site-loader.is-leaving {
  opacity: 0;
  visibility: hidden;
}

.site-loader-inner {
  width: min(440px, 86vw);
  display: grid;
  justify-items: center;
  gap: 0.95rem;
}

.site-loader-logo {
  width: clamp(180px, 36vw, 280px);
  height: auto;
}

.site-loader-track {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(185, 154, 91, 0.22);
  overflow: hidden;
}

.site-loader-fill {
  display: block;
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #b99a5b 0%, #d8c3a5 100%);
  animation: loaderFill 1300ms cubic-bezier(0.2, 0.65, 0.3, 1) forwards;
}

.site-loader-phone {
  font-size: clamp(0.92rem, 2.2vw, 1.05rem);
  letter-spacing: 0.18em;
  color: #4e4a44;
  font-weight: 700;
}

@keyframes loaderFill {
  from {
    width: 0%;
  }
  to {
    width: 100%;
  }
}

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

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

figure {
  margin: 0;
}

p,
small {
  color: var(--muted);
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  transition: background-color var(--ease), border-color var(--ease), box-shadow var(--ease), backdrop-filter var(--ease);
  border-bottom: 1px solid #e3e3e3;
  background: rgba(239, 239, 239, 0.9);
  backdrop-filter: blur(8px);
}

.site-header.is-scrolled {
  background: rgba(239, 239, 239, 0.94);
  border-color: #dddddd;
}

.header-row {
  width: 94vw;
  max-width: var(--site);
  margin-left: auto;
  margin-right: auto;
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  line-height: 1;
}

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

.header-nav {
  display: flex;
  align-items: center;
  gap: 1.3rem;
}

.nav-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 1.35rem;
}

.nav-list a {
  color: #8a8f95;
  font-weight: 500;
  font-size: 1.01rem;
}

.nav-list a.is-active,
.nav-list a:hover {
  color: #0d0d0d;
}

.btn {
  border: 0;
  border-radius: 999px;
  font-size: 1.02rem;
  font-weight: 700;
  padding: 0.62rem 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.btn-primary {
  background: #050505;
  color: #fff;
}

.btn-soft {
  background: #dfdfdf;
  color: #0d0d0d;
  border-radius: 999px;
  padding: 0.62rem 1.1rem;
  font-weight: 700;
}

.btn-secondary {
  background: #dfdfdf;
  color: #101010;
  border: 1px solid #d1d1d1;
}

.scroll-top {
  position: fixed;
  right: clamp(14px, 2vw, 28px);
  bottom: clamp(14px, 2.4vw, 30px);
  z-index: 1200;
  min-width: 124px;
  height: 46px;
  border: 1px solid #d4d4d4;
  border-radius: 999px;
  background: rgba(239, 239, 239, 0.95);
  color: #141414;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.16);
  opacity: 0;
  transform: translateY(24px) scale(0.96);
  pointer-events: none;
  transition: opacity 420ms ease, transform 420ms ease, border-color var(--ease), background-color var(--ease);
}

.scroll-top.is-ready {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.scroll-top:hover {
  border-color: #b99a5b;
  background: #f3ece1;
}

.scroll-top-icon {
  position: relative;
  width: 22px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.scroll-top .piece {
  position: absolute;
  display: block;
  background: #161616;
  opacity: 0;
  transform: translateY(10px) scale(0.6) rotate(var(--piece-rotate, 0deg));
}

.scroll-top .piece-left,
.scroll-top .piece-right {
  width: 8px;
  height: 2px;
  top: 6px;
}

.scroll-top .piece-left {
  left: 1px;
  --piece-rotate: -42deg;
}

.scroll-top .piece-right {
  right: 1px;
  --piece-rotate: 42deg;
}

.scroll-top .piece-center {
  width: 2px;
  height: 10px;
  top: 3px;
}

.scroll-top.is-ready .piece-left {
  animation: topPieceIn 560ms cubic-bezier(0.18, 0.74, 0.3, 1) 140ms forwards;
}

.scroll-top.is-ready .piece-center {
  animation: topPieceIn 560ms cubic-bezier(0.18, 0.74, 0.3, 1) 230ms forwards;
}

.scroll-top.is-ready .piece-right {
  animation: topPieceIn 560ms cubic-bezier(0.18, 0.74, 0.3, 1) 320ms forwards;
}

@keyframes topPieceIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.6) rotate(var(--piece-rotate, 0deg));
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1) rotate(var(--piece-rotate, 0deg));
  }
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid #cfcfcf;
  border-radius: 50%;
  background: transparent;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

.mobile-toggle span {
  width: 18px;
  height: 1.5px;
  background: #222;
}

.section {
  padding: 2.3rem 0;
}

.container {
  width: 94vw;
  max-width: var(--site);
  margin-left: auto;
  margin-right: auto;
}

.hero {
  position: relative;
  min-height: min(100vh, 920px);
  padding-top: clamp(7.8rem, 12vh, 10rem);
  padding-bottom: clamp(4rem, 8vh, 6rem);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero-center {
  position: relative;
  z-index: 3;
  text-align: center;
  display: grid;
  gap: 1rem;
  justify-items: center;
  transition: transform 520ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.shape-row {
  display: inline-flex;
  align-items: center;
  gap: 0.28rem;
}

.shape {
  display: inline-block;
  width: 22px;
  height: 22px;
  background: #0d0d0d;
}

.shape.square {
  border-radius: 3px;
}

.shape.circle {
  border-radius: 50%;
}

.shape.triangle {
  width: 0;
  height: 0;
  border-left: 12px solid transparent;
  border-right: 12px solid transparent;
  border-bottom: 22px solid #0d0d0d;
  background: transparent;
}

.hero h1 {
  font-size: clamp(2.25rem, 5.6vw, 4.05rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #f6f3ef;
}

.hero-sub {
  font-size: clamp(1.85rem, 4.8vw, 3.4rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  color: #d2d5da;
  line-height: 1.04;
}

.hero-actions {
  display: flex;
  gap: 0.7rem;
  align-items: center;
  justify-content: center;
  margin-top: 0.6rem;
}

.hero .shape {
  background: #efe2cc;
}

.hero .shape.triangle {
  border-bottom-color: #efe2cc;
}

.hero .btn-primary {
  background: #f3eee6;
  color: #141414;
}

.hero .btn-soft {
  background: rgba(255, 255, 255, 0.2);
  color: #f8f7f4;
  border: 1px solid rgba(255, 255, 255, 0.38);
}

.media-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--panel);
  border: 1px solid #e5e5e5;
  position: relative;
}

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-frame[data-zoomable="project"] {
  cursor: zoom-in;
}

.media-frame[data-zoomable="project"] img {
  transition: transform 720ms cubic-bezier(0.2, 0.65, 0.3, 1), filter 720ms ease;
  will-change: transform;
}

.media-frame[data-zoomable="project"]:hover img,
.media-frame[data-zoomable="project"]:focus-visible img {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.03);
}

.hero-slider {
  isolation: isolate;
  transition: opacity 620ms cubic-bezier(0.2, 0.65, 0.3, 1), transform 620ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.hero-visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  border: 0;
  border-radius: 0;
  background: #0f141c;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(11, 14, 18, 0.56) 0%, rgba(11, 14, 18, 0.45) 32%, rgba(11, 14, 18, 0.64) 100%),
    radial-gradient(circle at 30% 28%, rgba(185, 154, 91, 0.16) 0%, rgba(185, 154, 91, 0) 55%);
  transition: opacity 520ms ease;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transform: scale(1);
  transition: opacity 1200ms ease;
  will-change: transform, opacity;
}

.hero-slide.is-active {
  opacity: 1;
  animation: heroCinematicZoom 8s ease-in-out forwards;
}

@keyframes heroCinematicZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

.hero-video-layer {
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  pointer-events: none;
  transform: scale(1.03);
  transition: opacity 680ms cubic-bezier(0.2, 0.65, 0.3, 1), transform 680ms cubic-bezier(0.2, 0.65, 0.3, 1);
}

.hero-video-main {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(10, 12, 16, 0.52) 0%, rgba(10, 12, 16, 0.34) 36%, rgba(10, 12, 16, 0.6) 100%),
    radial-gradient(circle at 24% 18%, rgba(185, 154, 91, 0.22) 0%, rgba(185, 154, 91, 0) 60%);
}

.hero-video-controls {
  position: absolute;
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 4vw, 2rem);
  z-index: 4;
  display: grid;
  gap: 0.62rem;
  justify-items: end;
}

.hero-video-tabs {
  display: inline-flex;
  gap: 0.4rem;
  background: rgba(12, 12, 14, 0.42);
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 999px;
  padding: 0.3rem;
}

.hero-video-tab {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(22, 22, 24, 0.5);
  color: #f6f6f6;
  font-weight: 700;
  cursor: pointer;
  transition: transform var(--ease), background-color var(--ease), border-color var(--ease);
}

.hero-video-tab.is-active {
  background: #f3eee6;
  color: #161616;
  border-color: #f3eee6;
  transform: scale(1.05);
}

.hero-video-preview {
  width: min(240px, 44vw);
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 14px;
  overflow: hidden;
  background: rgba(18, 18, 20, 0.52);
  color: #faf8f5;
  cursor: pointer;
  display: grid;
  gap: 0;
  padding: 0;
}

.hero-video-preview video {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  opacity: 0.95;
}

.hero-video-preview-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  padding: 0.52rem 0.66rem;
  text-align: left;
}

.hero-back-btn {
  background: rgba(247, 244, 239, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-fullscreen-btn {
  background: rgba(247, 244, 239, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.5);
}

.hero-fullscreen-btn.is-active {
  background: #111;
  color: #f6f6f6;
  border-color: rgba(255, 255, 255, 0.64);
}

.hero.is-video-mode .hero-slider {
  opacity: 0;
  transform: scale(1.05);
}

.hero.is-video-mode .hero-overlay {
  opacity: 0;
}

.hero.is-video-mode .hero-video-layer {
  opacity: 1;
  pointer-events: auto;
  transform: scale(1);
}

.hero.is-video-mode .hero-center {
  transform: translateY(16vh);
}

.media-frame.is-fallback img {
  display: none;
}

.media-frame.is-fallback::before {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--panel);
}

.media-frame.is-fallback::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 210px;
  height: 52px;
  transform: translate(-50%, -50%);
  background:
    linear-gradient(#f3f3f3, #f3f3f3) left center / 64px 64px no-repeat,
    radial-gradient(circle, #f3f3f3 0 33px, transparent 34px) center center / 78px 78px no-repeat,
    linear-gradient(60deg, transparent 50%, #f3f3f3 51%) right center / 68px 64px no-repeat;
}

.giant-frame {
  height: clamp(300px, 48vw, 680px);
}

.narrow {
  max-width: 620px;
  margin-left: 0;
  margin-right: auto;
}

.narrow h2 {
  font-size: clamp(2rem, 4.2vw, 3.05rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
}

.intro-full {
  width: 100%;
  max-width: 100%;
  margin-left: 0;
  margin-right: auto;
}

.intro-full h2 {
  max-width: 1100px;
  font-size: clamp(2rem, 3.8vw, 3.1rem);
  line-height: 1.1;
  letter-spacing: -0.032em;
}

.intro-full .section-sub {
  max-width: 980px;
}

.section-sub {
  margin-top: 0.45rem;
  font-size: clamp(1.15rem, 2.7vw, 1.65rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.stack-lg {
  display: grid;
  gap: 2rem;
}

.projects-flow {
  padding-top: 1rem;
}

.project-flow-item {
  display: grid;
  gap: 0.95rem;
}

.project-flow-copy {
  max-width: 520px;
  margin-left: 0;
  margin-right: auto;
}

.project-flow-copy h3 {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.project-flow-copy h3 small {
  font-size: 0.55em;
  color: #404040;
}

.project-flow-copy p {
  margin-top: 0.5rem;
  font-size: 1.03rem;
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.value-box {
  background: transparent;
  border-radius: 0;
  padding: 0;
  min-height: auto;
  display: block;
  text-align: left;
}

.shape-holder {
  width: 100%;
  min-height: 120px;
  display: grid;
  align-items: center;
  justify-items: center;
  border-radius: 18px;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-color: #dedede;
}

.shape-holder .shape {
  background: #f3f3f3;
}

.shape-holder .shape.triangle {
  border-bottom-color: #f3f3f3;
}

.value-box-uzmanlik .shape-holder {
  background-image: url("../images/ana-sayfa/uzmanlik.png");
}

.value-box-seckin-malzeme .shape-holder {
  background-image: url("../images/ana-sayfa/seckin-malzeme.png");
}

.value-box-kurumsallik .shape-holder {
  background-image: url("../images/ana-sayfa/kurumsallik.png");
}

.value-box[class*="value-box-"] .shape-holder .shape {
  opacity: 0;
}

.value-top {
  font-size: 0.95rem;
  margin-top: 0.7rem;
  margin-bottom: 0.15rem;
}

.value-box h3 {
  font-size: 2rem;
  letter-spacing: -0.03em;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  text-align: center;
}

.stats-section {
  padding-top: 1rem;
}

.stats-row strong {
  display: block;
  font-size: clamp(3rem, 7vw, 5rem);
  letter-spacing: -0.05em;
  line-height: 1;
}

.stats-row span {
  color: #8d8f92;
  font-size: clamp(1.05rem, 2.6vw, 1.8rem);
  font-weight: 600;
}

.feature-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.feature-item h3 {
  margin-top: 0.85rem;
  font-size: 2rem;
  letter-spacing: -0.035em;
}

.feature-item p {
  margin-top: 0.45rem;
  font-size: 1rem;
}

.feature-frame {
  height: 310px;
}

.split-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.3rem;
  align-items: center;
}

.split-feature {
  padding-top: 1rem;
}

.tall-frame {
  height: 420px;
}

.split-block h3 {
  font-size: 3rem;
  letter-spacing: -0.04em;
}

.split-block p {
  margin-top: 0.45rem;
  font-size: 1.06rem;
}

.news-title {
  font-size: clamp(2.1rem, 4.5vw, 3.4rem);
  letter-spacing: -0.04em;
}

.news-list {
  margin-top: 1.6rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem 2rem;
}

.news-line {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 1rem;
  align-items: center;
}

.news-line .thumb {
  width: 100px;
  height: 100px;
  border-radius: 12px;
  background: var(--panel);
}

.news-line h3 {
  font-size: 1.6rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
}

.news-line p {
  margin-top: 0.25rem;
  font-size: 0.98rem;
}

.cta-section {
  padding-top: 3.4rem;
}

.cta-wrap {
  border-top: 1px solid var(--line);
  text-align: center;
  padding-top: 3.8rem;
}

.cta-wrap h2 {
  font-size: clamp(2.2rem, 4.8vw, 4rem);
  letter-spacing: -0.04em;
  line-height: 1.06;
}

.cta-wrap h2 span {
  color: #8f9194;
}

.mini-form {
  width: min(430px, 100%);
  margin: 1.3rem auto 0;
  display: grid;
  gap: 0.6rem;
}

.mini-form input {
  border: 0;
  border-radius: 12px;
  background: #e2e2e2;
  color: #202020;
  padding: 0.88rem 0.95rem;
  font: inherit;
}

.mini-form button {
  width: 100%;
  padding: 0.85rem 1rem;
}

.highlight-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  align-items: end;
}

.floating-copy {
  max-width: 360px;
  padding-left: 3.2rem;
}

.floating-copy.right {
  padding-left: 0;
  margin-left: auto;
}

.floating-copy h3 {
  font-size: 3rem;
  letter-spacing: -0.04em;
}

.floating-copy p {
  margin-top: 0.45rem;
  font-size: 1.05rem;
}

.site-footer {
  padding: 3.1rem 0 3.4rem;
  background: linear-gradient(180deg, #ece8df 0%, #e7e2d8 100%);
  border-top: 1px solid #d8c3a5;
}

.footer-grid {
  border: 1px solid #d8c3a5;
  background: rgba(247, 244, 239, 0.78);
  border-radius: 24px;
  padding: 1.8rem 1.8rem;
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 1.2rem;
}

.footer-mark {
  display: flex;
  align-items: flex-start;
}

.footer-grid h4 {
  font-size: 1.28rem;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
  color: #171615;
}

.footer-grid a {
  display: block;
  color: #61656a;
  margin-bottom: 0.34rem;
  font-size: 1rem;
  font-weight: 600;
  transition: color var(--ease), transform var(--ease), background-color var(--ease), border-color var(--ease);
}

.footer-grid a:hover {
  color: #0d0d0d;
}

.footer-social-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.58rem;
  margin-top: 0.8rem;
}

.social-btn {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  border-radius: 999px;
  border: 1px solid #b99a5b;
  background: #f2eee6;
  color: #171717 !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  line-height: 1;
  padding: 0.54rem 0.95rem;
  margin-bottom: 0 !important;
}

.social-btn::before {
  content: "↗";
  font-size: 0.78rem;
  transform: translateY(-1px);
}

.social-btn:hover {
  background: #e9dfcf;
  border-color: #9f844f;
  color: #111 !important;
  transform: translateY(-1px);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 520ms ease, transform 520ms ease;
  transition-delay: var(--delay, 0ms);
}

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

/* Legacy page support: keeps all secondary pages aligned with the same system */
.brand-logo {
  width: clamp(168px, 18vw, 228px);
  height: 46px;
  border-radius: 0;
  overflow: visible;
  background: transparent;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0;
}

.brand-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.footer-brand .brand-logo {
  background: transparent;
  border: 0;
}

.page-hero {
  padding-top: 7.4rem;
}

.page-hero-inner,
.panel,
.cta-banner,
.contact-card,
.info-chip,
.gallery-placeholder {
  background: var(--panel-soft);
  border: 1px solid #e1e1e1;
  border-radius: var(--radius-lg);
}

.page-hero-inner,
.panel,
.cta-banner {
  padding: 1.3rem;
}

.eyebrow {
  display: inline-block;
  color: #7f8084;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.lead {
  font-size: 1.08rem;
  color: var(--muted);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  align-items: center;
}

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

.card-grid.cols-2 {
  grid-template-columns: repeat(2, 1fr);
}

.card-grid.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.project-card,
.feature-card,
.news-card,
.value-card,
.stat-card {
  border-radius: var(--radius-lg);
  border: 1px solid #e1e1e1;
  background: var(--panel-soft);
  overflow: hidden;
}

.card-body {
  padding: 1rem;
}

.card-body h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
}

.card-meta {
  display: inline-block;
  color: #8b8f93;
  font-size: 0.82rem;
  margin-bottom: 0.35rem;
}

.badge {
  display: inline-block;
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  color: #717378;
  padding: 0.28rem 0.62rem;
  font-size: 0.74rem;
  margin-bottom: 0.45rem;
}

.btn-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: #1a1a1a;
  font-weight: 700;
}

.list-check {
  margin-top: 0.7rem;
  display: grid;
  gap: 0.45rem;
}

.list-check li {
  position: relative;
  padding-left: 1rem;
}

.list-check li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9b9b9b;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.9rem;
}

.stat-card {
  text-align: center;
  padding: 1rem;
}

.stat-value {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.filter-btn {
  border-radius: 999px;
  border: 1px solid #cfcfcf;
  background: #ececec;
  color: #4f5054;
  padding: 0.5rem 0.85rem;
}

.filter-btn.is-active,
.filter-btn:hover {
  background: #dcdcdc;
  color: #101010;
}

.project-card.is-hidden {
  display: none;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.7rem;
}

.info-chip {
  padding: 0.8rem;
}

.info-chip strong {
  display: block;
  color: #55585d;
  font-size: 0.75rem;
  text-transform: uppercase;
  margin-bottom: 0.28rem;
}

.gallery-placeholder {
  padding: 1.5rem 1rem;
  text-align: center;
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-grid {
  display: grid;
  gap: 0.65rem;
}

.form-grid input,
.form-grid textarea,
.form-grid select {
  width: 100%;
  border: 1px solid #d4d4d4;
  border-radius: 10px;
  background: #f1f1f1;
  color: #1a1a1a;
  padding: 0.75rem 0.85rem;
  font: inherit;
}

.form-status {
  min-height: 1.2rem;
  color: #676b71;
}

.contact-cards {
  display: grid;
  gap: 0.65rem;
}

.contact-card {
  padding: 0.9rem;
}

.map-placeholder {
  border: 1px dashed #cfcfcf;
  border-radius: 12px;
  min-height: 160px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 1rem;
  background: #e8e8e8;
}

.footer-title {
  color: #252525;
  font-weight: 700;
  margin-bottom: 0.45rem;
}

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

.footer-links a,
.footer-links span {
  color: #7e8085;
}

.footer-bottom {
  border-top: 1px solid #cfb886;
  margin-top: 1rem;
  padding-top: 0.9rem;
  color: #676b6f;
}

.dynamic-card-image {
  height: 220px;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  border-width: 0 0 1px;
}

.text-toggle {
  border: 0;
  background: transparent;
  padding: 0;
  margin-top: 0.45rem;
  color: #1a1a1a;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-page {
  min-height: 100vh;
  background:
    linear-gradient(180deg, rgba(239, 239, 239, 0.96) 0%, rgba(232, 226, 216, 0.96) 100%),
    radial-gradient(circle at 20% 12%, rgba(185, 154, 91, 0.18), transparent 34%);
}

.admin-main {
  min-height: 100vh;
}

.admin-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 2rem;
}

.admin-login-card {
  position: relative;
  overflow: hidden;
  width: min(430px, 100%);
  border: 1px solid #d8c3a5;
  border-radius: 22px;
  background: rgba(247, 244, 239, 0.88);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.13);
  padding: clamp(1.35rem, 4vw, 2rem);
}

.admin-login-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #b99a5b, #d8c3a5, #ff4b00);
}

.admin-login-mark {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background:
    linear-gradient(135deg, #ff4b00 0 48%, transparent 48%),
    linear-gradient(135deg, transparent 0 40%, #252523 40%);
  display: inline-block;
  margin-bottom: 1rem;
}

.admin-login-logo {
  width: min(245px, 70vw);
  margin-bottom: 1.2rem;
}

.admin-login-card h1,
.admin-topbar h1,
.admin-section-head h2 {
  letter-spacing: 0;
}

.admin-login-card h1 {
  font-size: 2.1rem;
  line-height: 1.08;
}

.admin-login-copy {
  max-width: 330px;
  margin-top: 0.45rem;
  font-weight: 700;
}

.admin-form {
  display: grid;
  gap: 0.85rem;
  margin-top: 1rem;
}

.admin-form label {
  color: #4c4d50;
  font-size: 0.9rem;
  font-weight: 800;
}

.admin-form input,
.admin-form textarea,
.admin-form select {
  width: 100%;
  margin-top: 0.35rem;
  border: 1px solid #d5d1c9;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.72);
  color: #161616;
  padding: 0.82rem 0.9rem;
  font: inherit;
  outline: 0;
  transition: border-color var(--ease), box-shadow var(--ease), background-color var(--ease);
}

.admin-form input:focus,
.admin-form textarea:focus,
.admin-form select:focus {
  border-color: #b99a5b;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(185, 154, 91, 0.14);
}

.admin-form textarea {
  resize: vertical;
}

.admin-hint {
  display: block;
  margin-top: 0.35rem;
  color: #7e8085;
  font-size: 0.82rem;
  font-weight: 700;
}

.admin-form-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.7rem;
  align-items: center;
}

.admin-status {
  min-height: 1.2rem;
  color: #6d6252;
  font-size: 0.9rem;
  font-weight: 700;
}

.admin-status.is-error {
  color: #9c2f22;
}

.admin-shell {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px 1fr;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid #d8c3a5;
  background: linear-gradient(180deg, rgba(236, 232, 223, 0.96), rgba(231, 226, 216, 0.96));
  padding: 1.1rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.admin-brand img {
  width: 210px;
}

.admin-nav {
  display: grid;
  gap: 0.55rem;
}

.admin-tab {
  border: 1px solid transparent;
  border-radius: 10px;
  background: transparent;
  color: #55585d;
  padding: 0.8rem 0.9rem;
  text-align: left;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-tab.is-active,
.admin-tab:hover {
  border-color: rgba(185, 154, 91, 0.45);
  background: rgba(247, 244, 239, 0.72);
  color: #111;
}

.admin-sidebar-actions {
  margin-top: auto;
  display: grid;
  gap: 0.65rem;
}

.admin-content {
  padding: clamp(1rem, 3vw, 2rem);
}

.admin-topbar,
.admin-section {
  border: 1px solid #e1ded6;
  border-radius: 18px;
  background: rgba(247, 244, 239, 0.62);
}

.admin-topbar {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.admin-topbar-side {
  display: grid;
  justify-items: end;
  gap: 0.8rem;
  max-width: 430px;
}

.admin-topbar h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.05;
}

.admin-topbar > p {
  max-width: 380px;
}

.admin-user-card {
  width: fit-content;
  min-width: 190px;
  border: 1px solid rgba(185, 154, 91, 0.42);
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(216, 195, 165, 0.2));
  box-shadow: 0 14px 34px rgba(21, 21, 21, 0.08);
  padding: 0.58rem 0.9rem;
}

.admin-user-card span {
  display: block;
  color: #80786e;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.admin-user-card strong {
  display: block;
  color: #151515;
  font-size: 0.98rem;
}

.admin-section {
  display: none;
  padding: 1.25rem;
}

.admin-section.is-active {
  display: block;
}

.admin-section-head {
  margin-bottom: 1rem;
}

.admin-section-head h2 {
  font-size: 1.8rem;
}

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

.admin-wide {
  grid-column: 1 / -1;
}

.admin-list {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.admin-list-item {
  border: 1px solid #ded8cc;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.55);
  padding: 0.85rem;
  display: grid;
  grid-template-columns: 74px 1fr auto;
  gap: 0.85rem;
  align-items: center;
}

.admin-list-item img {
  width: 74px;
  height: 62px;
  border-radius: 10px;
  object-fit: cover;
  background: #e7e7e7;
}

.admin-list-item h3 {
  font-size: 1.05rem;
}

.admin-list-item p {
  font-size: 0.88rem;
}

.admin-list-actions {
  display: flex;
  gap: 0.45rem;
  align-items: center;
}

.admin-delete,
.admin-edit {
  border: 1px solid #d6c4a5;
  border-radius: 999px;
  background: #f4efe7;
  color: #171615;
  padding: 0.52rem 0.8rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-edit {
  background: #171615;
  border-color: #171615;
  color: #f7f4ef;
}

.admin-empty {
  color: #777a7f;
  font-weight: 700;
}

.admin-security-card {
  border: 1px solid rgba(185, 154, 91, 0.34);
  border-radius: 16px;
  background:
    linear-gradient(135deg, rgba(247, 244, 239, 0.92), rgba(216, 195, 165, 0.2)),
    radial-gradient(circle at 100% 0%, rgba(255, 75, 0, 0.12), transparent 34%);
  box-shadow: 0 20px 50px rgba(21, 21, 21, 0.08);
  padding: clamp(1rem, 2vw, 1.35rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.admin-security-card h3 {
  margin-top: 0.2rem;
  color: #151515;
  font-size: clamp(1.6rem, 3vw, 2.25rem);
}

.admin-security-card p:last-child {
  max-width: 520px;
}

.admin-password-form {
  margin-top: 1rem;
  border: 1px solid #ded8cc;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.58);
  padding: 1rem;
}

.project-detail-hero {
  padding-bottom: 3.5rem;
}

.detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: clamp(1rem, 3vw, 2rem);
  align-items: stretch;
}

.detail-main-image {
  min-height: 480px;
  height: 100%;
}

.detail-panel {
  border: 1px solid #dedede;
  border-radius: var(--radius-xl);
  background: rgba(247, 244, 239, 0.72);
  padding: clamp(1.2rem, 3vw, 2rem);
  display: grid;
  gap: 1rem;
  align-content: center;
}

.detail-panel h2 {
  font-size: clamp(2rem, 4vw, 3.3rem);
  line-height: 1;
}

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

.detail-info-grid span {
  border: 1px solid #ded8cc;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.55);
  color: #666a70;
  padding: 0.8rem;
  font-weight: 800;
}

.detail-info-grid strong {
  display: block;
  color: #101010;
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  margin-bottom: 0.22rem;
  text-transform: uppercase;
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.detail-gallery-image {
  aspect-ratio: 4 / 3;
}

.lightbox-open {
  overflow: hidden;
}

.lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(9, 10, 12, 0.84);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 240ms ease;
  display: grid;
  place-items: center;
  padding: 2.8rem 1rem;
}

.lightbox-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  position: relative;
  width: min(96vw, 1400px);
  max-height: 90vh;
}

.lightbox-image {
  width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
  background: #111;
}

.lightbox-close {
  position: absolute;
  top: -0.8rem;
  right: -0.25rem;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(20, 20, 20, 0.78);
  color: #fff;
  font-size: 1.45rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: rgba(36, 36, 36, 0.95);
}

@media (max-width: 980px) {
  .nav-list a,
  .btn,
  .project-flow-copy p,
  .news-line p,
  .footer-grid a,
  .floating-copy p,
  .split-block p {
    font-size: 0.95rem;
  }

  .brand {
    font-size: 1.35rem;
  }

  .brand-logo {
    width: clamp(150px, 30vw, 196px);
    height: 42px;
    padding: 5px 9px;
  }

  .project-flow-copy h3,
  .value-box h3,
  .feature-item h3,
  .news-line h3 {
    font-size: 1.45rem;
  }

  .split-block h3,
  .floating-copy h3 {
    font-size: 2rem;
  }

  .split,
  .contact-layout,
  .detail-layout {
    grid-template-columns: 1fr;
  }

  .detail-main-image {
    min-height: 360px;
  }

  .card-grid.cols-2,
  .card-grid.cols-3,
  .info-grid,
  .stats {
    grid-template-columns: 1fr 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
  }

  .admin-sidebar {
    position: static;
    height: auto;
    border-right: 0;
    border-bottom: 1px solid #d8c3a5;
  }

  .admin-nav,
  .admin-sidebar-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .admin-nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .admin-topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-topbar-side {
    justify-items: start;
    max-width: 100%;
  }

  .admin-security-card {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 860px) {
  .mobile-toggle {
    display: inline-flex;
  }

  .header-nav {
    position: absolute;
    top: 74px;
    right: 4vw;
    width: min(320px, 90vw);
    display: flex;
    border-radius: 18px;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(236, 232, 223, 0.97) 0%, rgba(231, 226, 216, 0.97) 100%);
    border: 1px solid #d8c3a5;
    box-shadow: 0 18px 34px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(8px);
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-10px) scale(0.98);
    transform-origin: top right;
    transition: opacity 240ms ease, transform 280ms cubic-bezier(0.2, 0.65, 0.3, 1), visibility 0ms linear 280ms;
  }

  .header-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0) scale(1);
    transition: opacity 260ms ease, transform 320ms cubic-bezier(0.2, 0.65, 0.3, 1), visibility 0ms;
  }

  .nav-list {
    flex-direction: column;
    gap: 0.7rem;
  }

  .nav-list a {
    color: #2f2d2a;
    border-radius: 10px;
    padding: 0.42rem 0.55rem;
    transition: background-color var(--ease), color var(--ease);
  }

  .nav-list a:hover,
  .nav-list a.is-active {
    background: rgba(185, 154, 91, 0.15);
    color: #111;
  }

  .header-nav .btn-primary {
    margin-top: 0.35rem;
    background: #171615;
    color: #f7f4ef;
  }

  .hero {
    min-height: 82vh;
    padding-top: 7.3rem;
    padding-bottom: 3.4rem;
  }

  .hero-actions {
    flex-direction: column;
    width: min(280px, 100%);
  }

  .btn,
  .btn-soft {
    width: 100%;
  }

  .values-grid,
  .stats-row,
  .feature-row,
  .split-block,
  .news-list,
  .highlight-grid,
  .footer-grid,
  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .card-grid.cols-2,
  .card-grid.cols-3,
  .info-grid,
  .stats {
    grid-template-columns: 1fr;
  }

  .admin-login {
    padding: 1rem;
  }

  .admin-grid-form,
  .admin-nav,
  .admin-sidebar-actions,
  .admin-form-actions {
    grid-template-columns: 1fr;
  }

  .admin-list-item {
    grid-template-columns: 64px 1fr;
  }

  .admin-list-actions,
  .admin-list-item .admin-delete,
  .admin-list-item .admin-edit {
    grid-column: 1 / -1;
    width: 100%;
  }

  .admin-list-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .detail-info-grid {
    grid-template-columns: 1fr;
  }

  .news-line {
    grid-template-columns: 78px 1fr;
  }

  .news-line .thumb {
    width: 78px;
    height: 78px;
  }

  .floating-copy,
  .floating-copy.right {
    max-width: none;
    margin: 0;
    padding: 0;
  }

  .footer-grid h4 {
    font-size: 1.2rem;
  }

  .footer-grid a {
    font-size: 1rem;
  }

  .footer-grid {
    padding: 1.15rem;
    border-radius: 18px;
  }

  .footer-social-buttons {
    margin-top: 0.6rem;
  }

  .social-btn {
    width: 100%;
    justify-content: center;
  }

  .brand-logo {
    width: 136px;
    height: 36px;
    border-radius: 10px;
    padding: 4px 7px;
  }

  .scroll-top {
    min-width: 108px;
    height: 42px;
    font-size: 0.76rem;
    right: 12px;
    bottom: 12px;
  }

  .hero-slide.is-active {
    animation-name: heroCinematicZoomMobile;
  }

  .hero-video-controls {
    left: 0.9rem;
    right: 0.9rem;
    bottom: 0.9rem;
    justify-items: stretch;
  }

  .hero.is-video-mode .hero-center {
    transform: translateY(-12vh);
    gap: 0.52rem;
  }

  .hero.is-video-mode .hero-actions {
    display: none;
  }

  .hero.is-video-mode h1 {
    font-size: clamp(1.9rem, 8.3vw, 2.55rem);
  }

  .hero.is-video-mode .hero-sub {
    font-size: clamp(1.35rem, 6.8vw, 2rem);
  }

  .hero-video-tabs {
    justify-self: end;
  }

  .hero-video-preview {
    width: min(72vw, 280px);
    justify-self: end;
  }

  .hero-back-btn {
    width: min(220px, 70vw);
    justify-self: end;
  }

  .hero-fullscreen-btn {
    width: min(220px, 70vw);
    justify-self: end;
  }

  .lightbox-dialog {
    width: 95vw;
  }

  .lightbox-close {
    top: -0.65rem;
    right: -0.15rem;
    width: 40px;
    height: 40px;
  }
}

@keyframes heroCinematicZoomMobile {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.04);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .hero-slide {
    transition: none !important;
    animation: none !important;
    transform: none !important;
  }

  .scroll-top .piece {
    opacity: 1 !important;
    animation: none !important;
    transform: translateY(0) scale(1) rotate(var(--piece-rotate, 0deg)) !important;
  }

  .site-loader-fill {
    animation: none !important;
    width: 100% !important;
  }
}

